Skip Nav

Executing Multiple Serial Command Lines
Within an MPI Job

The run_mpic script takes multiple serial command lines and executes them within an MPI job.

Example: Run the script "run_mpic" including the number of cores and the name of the data file.
run_mpic 4 parallel.dat

Remarks: parallel.dat should contain all the commands and arguments that will be executed. See the documentation at $SAMPLES_HOME/Parallel_Environment/mpic on Spirit for more details.