I suspect that he really wants to do something this:

sbatch -n12 ../wrapper_skript.sh
  OR
salloc -n12 ../wrapper_skript.sh

wrapper_skript.sh:
#setup
srun ./my_mpi_app
#cleanup

Quoting Tibor Pausz <[email protected]>:

Dear all,

i want to start a programm via a wrapper script. If I try this, MPI does
not work correct. Is their any solution to this problem?

example:
srun -n 12 -l ../wrapper_skript.sh

wrapper_skript.sh:
#setup
./my_mpi_app
#cleanup

Best regards,
Tibor




Reply via email to