Make sure rank/nprocs is set for serial runs

This commit is contained in:
Paul Romano 2018-04-24 15:45:21 -05:00
parent 1a77f8afee
commit 279562c32a

View file

@ -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;