Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:utiliser_le_systeme_batch_ge_depuis_le_centre_de_calcul [2019/05/31 15:18]
Quentin LE BOULC'H
en:utiliser_le_systeme_batch_ge_depuis_le_centre_de_calcul [2019/06/18 16:03] (current)
Quentin LE BOULC'H [Parallel jobs]
Line 721: Line 721:
 -l os=cl7 -pe openmpi <​number_of_cores>​ -q <​QueueName>  ​ -l os=cl7 -pe openmpi <​number_of_cores>​ -q <​QueueName>  ​
 </​code>​ </​code>​
-And include in your script:\\+And include in your script ​(for OpenMPI 2.1.1 for instance):\\
 <​code>​ <​code>​
- ​source /usr/local/shared/bin/openmpi_env.sh+ ​source /pbs/software/centos-7-x86_64/openmpi/ccenv.sh 2.1.1
  
  ​mpiexec -n $NSLOTS phello  ​mpiexec -n $NSLOTS phello
Line 737: Line 737:
 And include in your script:\\ And include in your script:\\
 <​code>​ <​code>​
-export MPICH_HOME=/usr/lib64/mpich +source ​/pbs/software/centos-7-x86_64/mpich2/ccenv.sh 3.2 
-export PATH=${MPICH_HOME}/bin:​${PATH} +mpiexec -iface ib0 -np $NSLOTS phello ​
-export MANPATH=${MPICH_HOME}/man:​${MANPATH} +
-MPIEXEC="/​usr/​lib64/​mpich/​bin/​mpiexec+
-${MPIEXEC} ​-iface ib0 -np $NSLOTS phello ​+
 </​code>​ </​code>​
 Compilation your code with: Compilation your code with:
  • en/utiliser_le_systeme_batch_ge_depuis_le_centre_de_calcul.txt
  • Last modified: 2019/06/18 16:03
  • by Quentin LE BOULC'H