mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-29 04:23:48 -06:00
Merge pull request #2422 from blattms/fix-2406-without-mpi
Only compile FieldPropsDataHandle if MPI was found
This commit is contained in:
commit
1b03b040a3
@ -26,6 +26,7 @@
|
||||
#ifndef FIELDPROPS_DATAHANDLE_HPP
|
||||
#define FIELDPROPS_DATAHANDLE_HPP
|
||||
|
||||
#if HAVE_MPI
|
||||
#include <opm/simulators/utils/ParallelEclipseState.hpp>
|
||||
#include <opm/simulators/utils/ParallelRestart.hpp>
|
||||
#include <dune/grid/common/datahandleif.hh>
|
||||
@ -198,4 +199,6 @@ private:
|
||||
};
|
||||
|
||||
} // end namespace Opm
|
||||
#endif // HAVE_MPI
|
||||
#endif // FIELDPROPS_DATAHANDLE_HPP
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user