Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
doku:multimpi [2019/03/12 12:52] jzdoku:multimpi [2019/03/12 12:53] jz
Line 3: Line 3:
 Sample job script to run two MPI tasks within one job script concurrently: Sample job script to run two MPI tasks within one job script concurrently:
  
-== With srun: ==+=== With srun: ===
 <code> <code>
 #!/bin/bash #!/bin/bash
Line 25: Line 25:
 </code> </code>
  
-== With mpirun (Intel MPI): ==+=== With mpirun (Intel MPI): ===
  
 <code> <code>
Line 49: Line 49:
  
 You can download the C code example here: {{ :doku:hello_world.c |hello_world.c}} You can download the C code example here: {{ :doku:hello_world.c |hello_world.c}}
 +
 Compile it e.g. with: Compile it e.g. with:
  
Line 54: Line 55:
 # module load intel/18 intel-mpi/2018 # module load intel/18 intel-mpi/2018
 # mpiicc -lhwloc hello_world.c -o hello_world_intelmpi2018 # mpiicc -lhwloc hello_world.c -o hello_world_intelmpi2018
-<code>+</code>
  
  
  • doku/multimpi.txt
  • Last modified: 2023/03/14 12:53
  • by goldenberg