Ceci est une ancienne révision du document !
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.
Modes disponibles
SMPI : disponible dans la version 3.10 Java : off
Utilisation
- Chargement du module
Choisir la version de votre choix
$ module load simgrid/3.11
- Compilation
$ gcc messources.c -o monExec-I$SIMGRID_HOME/include -L$SIMGRID_HOME/lib -lsimgrid
Ou
$ smpicc mpi_program.c -o monExec -I$SIMGRID_HOME/include -L$SIMGRID_HOME/lib -lsimgrid
- Exécution
Utiliser un script sge (application sequentielle)
- 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 ### OU pour SMPI smpirun params applications args
submit to SGE
$ qsub simgrid.sge