mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only compile FieldPropsDataHandle if MPI was found
This commit is contained in:
parent
1f00870660
commit
4baa1ba038
@ -26,6 +26,7 @@
|
|||||||
#ifndef FIELDPROPS_DATAHANDLE_HPP
|
#ifndef FIELDPROPS_DATAHANDLE_HPP
|
||||||
#define FIELDPROPS_DATAHANDLE_HPP
|
#define FIELDPROPS_DATAHANDLE_HPP
|
||||||
|
|
||||||
|
#if HAVE_MPI
|
||||||
#include <opm/simulators/utils/ParallelEclipseState.hpp>
|
#include <opm/simulators/utils/ParallelEclipseState.hpp>
|
||||||
#include <opm/simulators/utils/ParallelRestart.hpp>
|
#include <opm/simulators/utils/ParallelRestart.hpp>
|
||||||
#include <dune/grid/common/datahandleif.hh>
|
#include <dune/grid/common/datahandleif.hh>
|
||||||
@ -198,4 +199,6 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
} // end namespace Opm
|
} // end namespace Opm
|
||||||
|
#endif // HAVE_MPI
|
||||||
#endif // FIELDPROPS_DATAHANDLE_HPP
|
#endif // FIELDPROPS_DATAHANDLE_HPP
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user