diff --git a/src/comm.h b/src/comm.h index 608099227beadcd43e7b9100a534a5d7e32c68eb..4303d71628790017a365b3ea05025450427eff69 100644 --- a/src/comm.h +++ b/src/comm.h @@ -133,12 +133,13 @@ class Comm : protected Pointers { int otherflag; // 1 if this partition dependent on another int other_style; // style of dependency - enum{MULTIPLE}; int other_procgrid[3]; // proc layout of another partition int other_coregrid[3]; // core layout of another partition int ncores; // # of cores per node int coregrid[3]; // 3d grid of cores within a node int user_coregrid[3]; // user request for cores in each dim + public: + enum{MULTIPLE}; }; } diff --git a/src/procmap.cpp b/src/procmap.cpp index 71f63276dbb218fb29a192071dec9f7b7892bc4f..9d1ed83e7382a75dd418b311f6ad9bc10c0ca8a0 100644 --- a/src/procmap.cpp +++ b/src/procmap.cpp @@ -17,6 +17,7 @@ #include "procmap.h" #include "universe.h" +#include "comm.h" #include "domain.h" #include "math_extra.h" #include "memory.h"