Blame view

lab1/README 637 Bytes
6a98a5afa   kmazouzi   lab1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  =============
  MESOCENTRE FC
  =============
  
  -------------------------LAB 1----------------------------
  
  Compute PI with numerical integration (Trapezoidal rule) of:
  
         / 1
        |    4
        |   --------- dx
        |    1 + x^2
        / 0
  
  Provided solution
  -----------------
  - pi_ser    :  serial version
  - pi_task   :  parallel array task version
  - pi_omp    :  parallel OpenMP version
  - pi_mpi    :  parallel MPI version
  - pi_matlab : Matlab version
  
  Howto?
  ------
  1- use Make to compile 
  2- submit jobs using SGE
  3- For matlab example :
  
  module load matlab
  matlab -nojvm -nodisplay  -nosplash -r 'Pi_matlab(100000000);exit'
  
  
  HF