Download zip Select Archive Format
Name Last Update history
File empty ..
File txt Makefile Loading commit data...
File txt README Loading commit data...
File txt pi_matlab.m Loading commit data...
File txt pi_mpi.c Loading commit data...
File txt pi_omp.c Loading commit data...
File txt pi_ser.c Loading commit data...
File txt pi_task.c Loading commit data...

README

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