Tristan created page: OpenmpLpnhe authored by Tristan Beau's avatar Tristan Beau
...@@ -37,17 +37,20 @@ SOFTDIR=$HOME/soft ...@@ -37,17 +37,20 @@ SOFTDIR=$HOME/soft
``` ```
Exemple de lignes d'options de compilation (à adapter en fonction des besoins bien sûr) : Exemple de lignes d'options de compilation (à adapter en fonction des besoins bien sûr) :
* OpenMP - GNU : * OpenMP - GNU :
```bash ```bash
g++ `root-config --libs --cflags ` -I$LIBMEMTK/inc -L$LIBMEMTK/lib/$ARCH_TYPE g++ `root-config --libs --cflags ` -I$LIBMEMTK/inc -L$LIBMEMTK/lib/$ARCH_TYPE
-lMEM -lEG -fopenmp go_openmp.cxx -lMEM -lEG -fopenmp go_openmp.cxx
``` ```
* MPI - GNU : * MPI - GNU :
```bash ```bash
module load openmpi module load openmpi
mpicxx `root-config --libs --cflags ` -I$LIBMEMTK/inc -L$LIBMEMTK/lib/$ARCH_T mpicxx `root-config --libs --cflags ` -I$LIBMEMTK/inc -L$LIBMEMTK/lib/$ARCH_T
YPE -lMEM -lEG go_mpi.cxx YPE -lMEM -lEG go_mpi.cxx
``` ```
* MPI - Intel * MPI - Intel :
```bash ```bash
module load intel-compilers-13 module load intel-compilers-13
module load mpt module load mpt
... ...
......