mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Make sure rank/nprocs is set for serial runs
This commit is contained in:
parent
1a77f8afee
commit
279562c32a
1 changed files with 2 additions and 2 deletions
|
|
@ -3,8 +3,8 @@
|
|||
namespace openmc {
|
||||
namespace mpi {
|
||||
|
||||
int rank;
|
||||
int n_procs;
|
||||
int rank {0};
|
||||
int n_procs {1};
|
||||
|
||||
#ifdef OPENMC_MPI
|
||||
MPI_Comm intracomm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue