Skip Nav

Executing Multiple Serial Command Lines
within an MPI Job

The run_mpic command is available on Lightning, Predator, Spirit, and the Utility Server. It 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 for more details.