MPIRUN(1) | MPIRUN(1) |
mpi_program [-nodes=nodes,scoreoptions] args...
The second form of the command, without mpirun, is the native SCore method of starting a program.
mpirun -np 32 ft.A.32
Run it again with the mpi_zerocopy=on option:
mpirun -np 32 -score mpi_zerocopy=on ft.A.32
Now you decide that you want all subsequent runs of MPI programs to use the mpi_zerocopy=on option, so you place it in the environment by appending it to the SCORE_OPTIONS environment variable. This is very handy if you have a script which uses mpirun internally (such as a benchmarking script) and you want to add special SCore options without modifying the script to handle them.
export SCORE_OPTIONS=$SCORE_OPTIONS,mpi_zerocopy=on
mpirun -np 32 ft.A.32
If you have an SMP cluster and you want to try it with two processes per host. Since you already specified mpi_zerocopy=on in the environment, it will run with two processes per host (a total of 16 hosts) and mpi_zerocopy will be enabled.
mpirun -np 16x2 ft.A.32