initialize.sh 179 Bytes
Newer Older
j.knedlik's avatar
j.knedlik committed
1
2
3
4
5
6
7
8
9
10
mpic++ -o mpitest.exe -x c++ - << EOF
#include <mpi.h>
int main(int argc, char **argv)
{
  MPI_Init(NULL,NULL);
  MPI_Finalize();
  return 0;
}
EOF
srun -n 2 -- $PWD/mpitest.exe