============= 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