Running in Parallel¶
If you have installed your supported depletion code with support for shared or distributed memory parallelism (typically via OpenMP or MPI, respectively) support, then you can take advantage of that parallelism in SaltProc as well.
Distributed-Memory Parallelism¶
SaltProc provides the mpi_args parameter in the input file to
give users flexible access to programs like mpiexec
. mpi_args
is a list
of strings that is appended to the subprocess call for each depletion step.
For example, if we are using mpiexec
, and want to do a distributed-memory run on
two nodes, then in our input file, we should have the following parameter:
"mpi_args": ["mpiexec", "-n", "2"]