Linux with MPICH

<< Click to Display Table of Contents >>

Navigation:  Workflow for a CONVERGE CFD Simulation > Running CONVERGE on Linux > Commands for Running CONVERGE on Linux >

Linux with MPICH

The most basic way to start CONVERGE in parallel is

 

mpirun -n <number of processes> converge-mpich-<Rocky version>

 

For example, to start a job on four processing cores on a Rocky 8 system, you would type

 

mpirun -n 4 converge-mpich-el8

 

In practice, however, a few things should be added to the mpirun command line to make it more practical. To write the output to a file and start the job in the background using a Rocky 9 system, use

 

mpirun -n 4 converge-mpich-el9 < /dev/null > logfile.out &

 

The redirect of the /dev/null is recommended by MPICH to avoid some warnings that would otherwise be sent to stdout.