Merge pull request #2422 from blattms/fix-2406-without-mpi

Only compile FieldPropsDataHandle if MPI was found
This commit is contained in:
Markus Blatt 2020-03-06 14:03:12 +01:00 committed by GitHub
commit 1b03b040a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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