diff --git a/ebos/ecloutputblackoilmodule.hh b/ebos/ecloutputblackoilmodule.hh index d09bca67e..05b389b83 100644 --- a/ebos/ecloutputblackoilmodule.hh +++ b/ebos/ecloutputblackoilmodule.hh @@ -36,16 +36,10 @@ #include -#if HAVE_ECL_INPUT #include #include -#endif - -#if HAVE_ECL_OUTPUT #include #include -#endif - #include #include diff --git a/ebos/eclwriter.hh b/ebos/eclwriter.hh index 3ec9bc0d4..86c0c378c 100644 --- a/ebos/eclwriter.hh +++ b/ebos/eclwriter.hh @@ -35,11 +35,8 @@ #include #include -#if HAVE_ECL_OUTPUT #include #include -#endif - #include #include @@ -135,16 +132,12 @@ public: void writeInit() { -#if !HAVE_ECL_OUTPUT - throw std::runtime_error("Eclipse output support not available in opm-common, unable to write ECL output!"); -#else if (collectToIORank_.isIORank()) { std::map > integerVectors; if (collectToIORank_.isParallel()) integerVectors.emplace("MPI_RANK", collectToIORank_.globalRanks()); eclIO_->writeInitial(computeTrans_(), integerVectors, exportNncStructure_()); } -#endif } /*! @@ -152,10 +145,6 @@ public: */ void writeOutput(bool isSubStep) { - -#if !HAVE_ECL_INPUT - throw std::runtime_error("Unit support not available in opm-common."); -#endif Scalar curTime = simulator_.time() + simulator_.timeStepSize(); Scalar totalSolverTime = simulator_.executionTimer().realTimeElapsed(); Scalar nextStepSize = simulator_.problem().nextTimeStepSize();