SimGrid

SimGrid is a toolkit that provides core functionalities for the simulation of distributed applications in heterogeneous distributed environments. The specific goal of the project is to facilitate research in the area of parallel and distributed large scale systems, such as Grids, P2P systems and clouds. Its use cases encompass heuristic evaluation, application prototyping or even real application development and tuning.

Version installée

Use module avail simgrid to view the installed versions.

Availables modes

SMPI : disponible dans la version 3.10
Java : off

Utilisation

  • Load Simgrid

Choose the version to use:

$ module load simgrid/3.11
  • Compilation
$ gcc messources.c -o monExec -I$SIMGRID_HOME/include -L$SIMGRID_HOME/lib -lsimgrid

Or for SMPI

$ smpicc mpi_program.c -o monExec -I$SIMGRID_HOME/include -L$SIMGRID_HOME/lib -lsimgrid
  • Execution

Below an example of SGE script to use:

simgrid.sge
#!/bin/bash -l
 
#$ -o $JOB_NAME.o$JOB_ID
#$ -N job_simgrid_2h_seq
 
#$ -l h_vmem=4G  ## ajuster la memoire 
 
module load simgrid/3.11
 
./monapplicationSimgrid arguments
 
### Or for SMPI
 
smpirun params applications args

Submit to SGE

$ qsub simgrid.sge

Liens