OPM / opm-common

Common components for OPM, in particular build system (cmake).
http://www.opm-project.org
GNU General Public License v3.0
33 stars 111 forks source link

Compiled PyPI packages for macOS and Windows? #2810

Open sindre-nistad opened 3 years ago

sindre-nistad commented 3 years ago

Hi, I tried installing the opm Python package, but it wasn't found on macOS. I noticed there are only precompiled binaries for linux, and no source distribution. Would it be possible to create binaries (wheels) for macOS and Windows and/or include a source distribution, os that other platforms may compile it from source?

I tried compiling it manually, but ran into some problems.

joakim-hove commented 2 years ago

Disclaimer: the python packages do not see as much love and care as they should; that is unfortunate since "everyone" agrees having good Python packages is a good thing - but time is limited and so on.

I noticed there are only precompiled binaries for linux,

Yes - that is the case. If people contribute binary wheels for macOS that is all the rage, but it not something we will do as we speak. opm-common as a whole does not build on Windows (I think ...) although the necessary changes are probably very small.

and no source distribution

Well - I guess that is possible, but again competance and time ....

I tried compiling it manually, but ran into some problems.

Please provide more details here - this we should be able to assist you with.

alfbr commented 2 years ago

opm-common as a whole does not build on Windows (I think ...) although the necessary changes are probably very small.

True, but these days there is WSL (windows subsystem for linux), which installs/compiles all repo's including opm-simulators and python-bindings natively on windows. Hence, the need for explicitly supporting the microsoft compiler toolchain is debatable.

sindre-nistad commented 2 years ago

Thanks for getting back to me, The first issue I was having was that the option -fopenmp in the generated setup.py caused the compilation to fail; it was unable to find OpenMP, and I was unable to figure out how I could specify it (the path from brew --prefix libomp).

for reference, the commands I ran:

brew install boost libomp

git clone git@github.com:OPM/opm-common.git
cd opm-common

cmake \
    -DPYTHON_EXECUTABLE=$(which python) \
    -DOPM_ENABLE_PYTHON=ON \
    -DBOOST_INCLUDEDIR=$(brew --prefix boost)/include \
    -DBOOST_LIBRARYDIR=$(brew --prefix boost)/lib \
    .

make -j 4

This failed with clang: error: unsupported option '-fopenmp'

Full output from `make -j4`
``` Scanning dependencies of target genkw [ 0%] Built target datafiles [ 0%] Updating version information [ 0%] Built target copy_python [ 0%] Built target update-version [ 0%] Building CXX object CMakeFiles/genkw.dir/src/opm/json/JsonObject.cpp.o [ 0%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Deck/DeckTree.cpp.o [ 0%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Parser/createDefaultKeywordList.cpp.o [ 0%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Deck/UDAValue.cpp.o [ 0%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Deck/DeckValue.cpp.o [ 1%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Deck/Deck.cpp.o [ 1%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Deck/DeckItem.cpp.o [ 1%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Deck/DeckKeyword.cpp.o [ 1%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Deck/DeckRecord.cpp.o [ 1%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Deck/DeckOutput.cpp.o [ 1%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Generator/KeywordGenerator.cpp.o [ 2%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Generator/KeywordLoader.cpp.o [ 2%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Parser/ErrorGuard.cpp.o [ 2%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Parser/ParseContext.cpp.o [ 2%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Parser/ParserEnums.cpp.o [ 2%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Parser/ParserItem.cpp.o [ 2%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Parser/ParserKeyword.cpp.o [ 2%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Parser/ParserRecord.cpp.o [ 3%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Parser/raw/RawKeyword.cpp.o [ 3%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Parser/raw/RawRecord.cpp.o [ 3%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Parser/raw/StarToken.cpp.o [ 3%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Units/Dimension.cpp.o [ 3%] Building CXX object CMakeFiles/genkw.dir/src/opm/parser/eclipse/Units/UnitSystem.cpp.o [ 3%] Building CXX object CMakeFiles/genkw.dir/src/opm/common/utility/OpmInputError.cpp.o [ 3%] Building CXX object CMakeFiles/genkw.dir/src/opm/common/OpmLog/OpmLog.cpp.o [ 4%] Building CXX object CMakeFiles/genkw.dir/src/opm/common/OpmLog/Logger.cpp.o [ 4%] Building CXX object CMakeFiles/genkw.dir/src/opm/common/OpmLog/StreamLog.cpp.o [ 4%] Building CXX object CMakeFiles/genkw.dir/src/opm/common/OpmLog/LogBackend.cpp.o [ 4%] Building CXX object CMakeFiles/genkw.dir/src/opm/common/OpmLog/LogUtil.cpp.o [ 4%] Building C object CMakeFiles/genkw.dir/external/cjson/cJSON.c.o [ 4%] Linking CXX executable bin/genkw [ 4%] Built target genkw [ 4%] Generating tmp_gen/ParserKeywords/A.cpp, tmp_gen/ParserKeywords/B.cpp, tmp_gen/ParserKeywords/C.cpp, tmp_gen/ParserKeywords/D.cpp, tmp_gen/ParserKeywords/E.cpp, tmp_gen/ParserKeywords/F.cpp, tmp_gen/ParserKeywords/G.cpp, tmp_gen/ParserKeywords/H.cpp, tmp_gen/ParserKeywords/I.cpp, tmp_gen/ParserKeywords/J.cpp, tmp_gen/ParserKeywords/K.cpp, tmp_gen/ParserKeywords/L.cpp, tmp_gen/ParserKeywords/M.cpp, tmp_gen/ParserKeywords/N.cpp, tmp_gen/ParserKeywords/O.cpp, tmp_gen/ParserKeywords/P.cpp, tmp_gen/ParserKeywords/Q.cpp, tmp_gen/ParserKeywords/R.cpp, tmp_gen/ParserKeywords/S.cpp, tmp_gen/ParserKeywords/T.cpp, tmp_gen/ParserKeywords/U.cpp, tmp_gen/ParserKeywords/V.cpp, tmp_gen/ParserKeywords/W.cpp, tmp_gen/ParserKeywords/X.cpp, tmp_gen/ParserKeywords/Y.cpp, tmp_gen/ParserKeywords/Z.cpp, tmp_gen/ParserInit.cpp, tmp_gen/TestKeywords.cpp, tmp_gen/builtin_pybind11.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/A.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/B.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/C.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/D.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/E.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/F.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/G.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/H.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/I.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/J.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/K.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/L.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/M.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/N.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/O.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/P.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/Q.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/R.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/S.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/T.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/U.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/V.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/W.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/X.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/Y.cpp Updated source file written to /Users/***/opm-common/tmp_gen/ParserKeywords/Z.cpp Updated init file written to /Users/***/opm-common/tmp_gen/ParserInit.cpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/A.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/B.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/C.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/D.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/E.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/F.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/G.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/H.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/I.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/J.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/K.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/L.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/M.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/N.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/O.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/P.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/Q.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/R.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/S.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/T.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/U.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/V.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/W.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/X.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/Y.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/Z.hpp Updated header file written to /Users/***/opm-common/tmp_gen/include/opm/parser/eclipse/Parser/ParserKeywords/Builtin.hpp Writing file: /Users/***/opm-common/tmp_gen/builtin_pybind11.cpp Updated source file written to /Users/***/opm-common/tmp_gen/builtin_pybind11.cpp [ 4%] Generating ParserKeywords/A.cpp, ParserKeywords/B.cpp, ParserKeywords/C.cpp, ParserKeywords/D.cpp, ParserKeywords/E.cpp, ParserKeywords/F.cpp, ParserKeywords/G.cpp, ParserKeywords/H.cpp, ParserKeywords/I.cpp, ParserKeywords/J.cpp, ParserKeywords/K.cpp, ParserKeywords/L.cpp, ParserKeywords/M.cpp, ParserKeywords/N.cpp, ParserKeywords/O.cpp, ParserKeywords/P.cpp, ParserKeywords/Q.cpp, ParserKeywords/R.cpp, ParserKeywords/S.cpp, ParserKeywords/T.cpp, ParserKeywords/U.cpp, ParserKeywords/V.cpp, ParserKeywords/W.cpp, ParserKeywords/X.cpp, ParserKeywords/Y.cpp, ParserKeywords/Z.cpp, TestKeywords.cpp, ParserInit.cpp, python/cxx/builtin_pybind11.cpp Scanning dependencies of target opmcommon [ 4%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/X.cpp.o [ 4%] Building CXX object CMakeFiles/opmcommon.dir/python/cxx/builtin_pybind11.cpp.o [ 4%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/Y.cpp.o [ 4%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/Z.cpp.o [ 5%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/V.cpp.o [ 5%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/W.cpp.o [ 5%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/U.cpp.o [ 5%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/T.cpp.o [ 5%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/S.cpp.o [ 5%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/R.cpp.o [ 6%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/Q.cpp.o [ 6%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/P.cpp.o [ 6%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/O.cpp.o [ 6%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/N.cpp.o [ 6%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/M.cpp.o [ 6%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/L.cpp.o [ 6%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/K.cpp.o [ 7%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/J.cpp.o [ 7%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/I.cpp.o [ 7%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/H.cpp.o [ 7%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/G.cpp.o [ 7%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/F.cpp.o [ 7%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/E.cpp.o [ 8%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/D.cpp.o [ 8%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/C.cpp.o [ 8%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/B.cpp.o [ 8%] Building CXX object CMakeFiles/opmcommon.dir/ParserKeywords/A.cpp.o [ 8%] Building CXX object CMakeFiles/opmcommon.dir/ParserInit.cpp.o [ 8%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/OpmLog/CounterLog.cpp.o [ 8%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/OpmLog/EclipsePRTLog.cpp.o [ 9%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/OpmLog/LogBackend.cpp.o [ 9%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/OpmLog/Logger.cpp.o [ 9%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/OpmLog/LogUtil.cpp.o [ 9%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/OpmLog/KeywordLocation.cpp.o [ 9%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/OpmLog/InfoLogger.cpp.o [ 9%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/OpmLog/OpmLog.cpp.o [ 9%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/OpmLog/StreamLog.cpp.o [ 10%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/OpmLog/TimerLog.cpp.o [ 10%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/utility/ActiveGridCells.cpp.o [ 10%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/utility/FileSystem.cpp.o [ 10%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/utility/numeric/MonotCubicInterpolator.cpp.o [ 10%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/utility/OpmInputError.cpp.o [ 10%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/utility/parameters/Parameter.cpp.o [ 11%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/utility/parameters/ParameterGroup.cpp.o [ 11%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/utility/parameters/ParameterTools.cpp.o [ 11%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/utility/numeric/calculateCellVol.cpp.o [ 11%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/common/utility/TimeService.cpp.o [ 11%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/SummaryNode.cpp.o [ 11%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/json/JsonObject.cpp.o [ 11%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/Deck.cpp.o [ 12%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/DeckTree.cpp.o [ 12%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/FileDeck.cpp.o [ 12%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/DeckItem.cpp.o [ 12%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/DeckValue.cpp.o [ 12%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/DeckKeyword.cpp.o [ 12%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/DeckRecord.cpp.o [ 12%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/DeckOutput.cpp.o [ 13%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/DeckSection.cpp.o [ 13%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/ImportContainer.cpp.o [ 13%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Deck/UDAValue.cpp.o [ 13%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Python/Python.cpp.o [ 13%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/PyAction.cpp.o [ 13%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Aquifer/AquiferConfig.cpp.o [ 14%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Aquifer/AquiferCT.cpp.o [ 14%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Aquifer/Aquifetp.cpp.o [ 14%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Aquifer/Aquancon.cpp.o [ 14%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Aquifer/AquiferHelpers.cpp.o [ 14%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Aquifer/NumericalAquifer/NumericalAquiferCell.cpp.o [ 14%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Aquifer/NumericalAquifer/NumericalAquiferConnection.cpp.o [ 14%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Aquifer/NumericalAquifer/SingleNumericalAquifer.cpp.o [ 15%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Aquifer/NumericalAquifer/NumericalAquifers.cpp.o [ 15%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/checkDeck.cpp.o [ 15%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/EclipseConfig.cpp.o [ 15%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/EclipseState.cpp.o [ 15%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/EndpointScaling.cpp.o [ 15%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/FieldProps.cpp.o [ 16%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/FieldPropsManager.cpp.o [ 16%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/Box.cpp.o [ 16%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/BoxManager.cpp.o [ 16%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/EclipseGrid.cpp.o [ 16%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/FaceDir.cpp.o [ 16%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/FaultCollection.cpp.o [ 16%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/Fault.cpp.o [ 17%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/FaultFace.cpp.o [ 17%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/GridDims.cpp.o [ 17%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/MapAxes.cpp.o [ 17%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/MULTREGTScanner.cpp.o [ 17%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/NNC.cpp.o [ 17%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/Operate.cpp.o [ 17%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/PinchMode.cpp.o [ 18%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/SatfuncPropertyInitializers.cpp.o [ 18%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/setKeywordBox.cpp.o [ 18%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/TranCalculator.cpp.o [ 18%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Grid/TransMult.cpp.o [ 18%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/InitConfig/Equil.cpp.o [ 18%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/InitConfig/FoamConfig.cpp.o [ 19%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/InitConfig/InitConfig.cpp.o [ 19%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/IOConfig/IOConfig.cpp.o [ 19%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Runspec.cpp.o [ 19%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/TracerConfig.cpp.o [ 19%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/MICPpara.cpp.o [ 19%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/ActionAST.cpp.o [ 19%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/ActionContext.cpp.o [ 20%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/ActionResult.cpp.o [ 20%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/Actdims.cpp.o [ 20%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/Actions.cpp.o [ 20%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/ActionX.cpp.o [ 20%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/ActionParser.cpp.o [ 20%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/ActionValue.cpp.o [ 21%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/ASTNode.cpp.o [ 21%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/Condition.cpp.o [ 21%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/Enums.cpp.o [ 21%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Action/State.cpp.o [ 21%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/ArrayDimChecker.cpp.o [ 21%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/CompletedCells.cpp.o [ 21%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/eval_uda.cpp.o [ 22%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Events.cpp.o [ 22%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/GasLiftOpt.cpp.o [ 22%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Group/GPMaint.cpp.o [ 22%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Group/Group.cpp.o [ 22%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRate.cpp.o [ 22%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRateConfig.cpp.o [ 22%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRateModel.cpp.o [ 23%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Group/GConSale.cpp.o [ 23%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Group/GConSump.cpp.o [ 23%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Group/GTNode.cpp.o [ 23%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/KeywordHandlers.cpp.o [ 23%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/MessageLimits.cpp.o [ 23%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/MSW/icd.cpp.o [ 24%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/MSW/Compsegs.cpp.o [ 24%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/MSW/Segment.cpp.o [ 24%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/MSW/WellSegments.cpp.o [ 24%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/MSW/AICD.cpp.o [ 24%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/MSW/SICD.cpp.o [ 24%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/MSW/Valve.cpp.o [ 24%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Network/Balance.cpp.o [ 25%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Network/Branch.cpp.o [ 25%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Network/ExtNetwork.cpp.o [ 25%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Network/Node.cpp.o [ 25%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/OilVaporizationProperties.cpp.o [ 25%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/RFTConfig.cpp.o [ 25%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/RPTConfig.cpp.o [ 25%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/RSTConfig.cpp.o [ 26%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Schedule.cpp.o [ 26%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/ScheduleDeck.cpp.o [ 26%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/ScheduleGrid.cpp.o [ 26%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/ScheduleState.cpp.o [ 26%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/ScheduleTypes.cpp.o [ 26%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/SummaryState.cpp.o [ 27%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Tuning.cpp.o [ 27%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/WriteRestartFileEvents.cpp.o [ 27%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/Connection.cpp.o [ 27%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/injection.cpp.o [ 27%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/PAvg.cpp.o [ 27%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/PAvgCalculator.cpp.o [ 27%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/PAvgCalculatorCollection.cpp.o [ 28%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/Well.cpp.o [ 28%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellConnections.cpp.o [ 28%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/NameOrder.cpp.o [ 28%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellMatcher.cpp.o [ 28%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WList.cpp.o [ 28%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WListManager.cpp.o [ 29%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellEconProductionLimits.cpp.o [ 29%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellFoamProperties.cpp.o [ 29%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellInjectionProperties.cpp.o [ 29%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellMICPProperties.cpp.o [ 29%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellPolymerProperties.cpp.o [ 29%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellBrineProperties.cpp.o [ 29%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellTracerProperties.cpp.o [ 30%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellProductionProperties.cpp.o [ 30%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellTestConfig.cpp.o [ 30%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/Well/WellTestState.cpp.o [ 30%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/SimulationConfig/BCConfig.cpp.o [ 30%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/SimulationConfig/RockConfig.cpp.o [ 30%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/SimulationConfig/SimulationConfig.cpp.o [ 30%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/SimulationConfig/ThresholdPressure.cpp.o [ 31%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/SummaryConfig/SummaryConfig.cpp.o [ 31%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/Aqudims.cpp.o [ 31%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/ColumnSchema.cpp.o [ 31%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/DenT.cpp.o [ 31%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/Eqldims.cpp.o [ 31%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/JFunc.cpp.o [ 32%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/PvtxTable.cpp.o [ 32%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/Regdims.cpp.o [ 32%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/SimpleTable.cpp.o [ 32%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/PolyInjTables.cpp.o [ 32%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/StandardCond.cpp.o [ 32%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/TableColumn.cpp.o [ 32%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/TableContainer.cpp.o [ 33%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/TableIndex.cpp.o [ 33%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/TLMixpar.cpp.o [ 33%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/TableManager.cpp.o [ 33%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/TableSchema.cpp.o [ 33%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/Tables.cpp.o [ 33%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/Rock2dTable.cpp.o [ 33%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/Rock2dtrTable.cpp.o [ 34%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/PvtwsaltTable.cpp.o [ 34%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/BrineDensityTable.cpp.o [ 34%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/RwgsaltTable.cpp.o [ 34%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/SolventDensityTable.cpp.o [ 34%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Tables/Tabdims.cpp.o [ 34%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQASTNode.cpp.o [ 35%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQParams.cpp.o [ 35%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQParser.cpp.o [ 35%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQSet.cpp.o [ 35%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQActive.cpp.o [ 35%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQAssign.cpp.o [ 35%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQDefine.cpp.o [ 35%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQEnums.cpp.o [ 36%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQToken.cpp.o [ 36%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQConfig.cpp.o [ 36%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQContext.cpp.o [ 36%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQFunction.cpp.o [ 36%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQFunctionTable.cpp.o [ 36%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQInput.cpp.o [ 37%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQState.cpp.o [ 37%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/VFPInjTable.cpp.o [ 37%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/EclipseState/Schedule/VFPProdTable.cpp.o [ 37%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Parser/ErrorGuard.cpp.o [ 37%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Parser/ParseContext.cpp.o [ 37%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Parser/Parser.cpp.o [ 37%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Parser/ParserEnums.cpp.o [ 38%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Parser/ParserItem.cpp.o [ 38%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Parser/ParserKeyword.cpp.o [ 38%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Parser/ParserRecord.cpp.o [ 38%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Parser/raw/RawKeyword.cpp.o [ 38%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Parser/raw/RawRecord.cpp.o [ 38%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Parser/raw/StarToken.cpp.o [ 38%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Units/Dimension.cpp.o [ 39%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Units/UnitSystem.cpp.o [ 39%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/parser/eclipse/Utility/Functional.cpp.o [ 39%] Building C object CMakeFiles/opmcommon.dir/external/cjson/cJSON.c.o [ 39%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/EclFile.cpp.o [ 39%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/EclOutput.cpp.o [ 39%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/EclUtil.cpp.o [ 40%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/EGrid.cpp.o [ 40%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/EInit.cpp.o [ 40%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/ERft.cpp.o [ 40%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/ERst.cpp.o [ 40%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/ERsm.cpp.o [ 40%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/ESmry.cpp.o [ 40%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/ExtESmry.cpp.o [ 41%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/ESmry_write_rsm.cpp.o [ 41%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/OutputStream.cpp.o [ 41%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/ExtSmryOutput.cpp.o [ 41%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/RestartFileView.cpp.o [ 41%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/rst/action.cpp.o [ 41%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/rst/aquifer.cpp.o [ 41%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/rst/connection.cpp.o [ 42%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/rst/group.cpp.o [ 42%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/rst/header.cpp.o [ 42%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/rst/udq.cpp.o [ 42%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/rst/segment.cpp.o [ 42%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/rst/state.cpp.o [ 42%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/io/eclipse/rst/well.cpp.o [ 43%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/ActiveIndexByColumns.cpp.o [ 43%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/AggregateActionxData.cpp.o [ 43%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/AggregateAquiferData.cpp.o [ 43%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/AggregateConnectionData.cpp.o [ 43%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/AggregateGroupData.cpp.o [ 43%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/AggregateNetworkData.cpp.o [ 43%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/AggregateMSWData.cpp.o [ 44%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/AggregateUDQData.cpp.o [ 44%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/AggregateWellData.cpp.o [ 44%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/AggregateWListData.cpp.o [ 44%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/CreateActionRSTDims.cpp.o [ 44%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/CreateDoubHead.cpp.o [ 44%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/CreateInteHead.cpp.o [ 45%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/CreateLogiHead.cpp.o [ 45%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/CreateUdqDims.cpp.o [ 45%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/DoubHEAD.cpp.o [ 45%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/EclipseGridInspector.cpp.o [ 45%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/EclipseIO.cpp.o [ 45%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/InteHEAD.cpp.o [ 45%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/LinearisedOutputTable.cpp.o [ 46%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/LoadRestart.cpp.o [ 46%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/LogiHEAD.cpp.o [ 46%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/RestartIO.cpp.o [ 46%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/Inplace.cpp.o [ 46%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/Summary.cpp.o [ 46%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/Tables.cpp.o [ 46%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/UDQDims.cpp.o [ 47%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/RegionCache.cpp.o [ 47%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/WriteInit.cpp.o [ 47%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/RestartValue.cpp.o [ 47%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/WriteRFT.cpp.o [ 47%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/WriteRPT.cpp.o [ 47%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/eclipse/report/WELSPECS.cpp.o [ 48%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/data/Aquifer.cpp.o [ 48%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/output/data/Solution.cpp.o [ 48%] Building CXX object CMakeFiles/opmcommon.dir/src/opm/utility/EModel.cpp.o [ 48%] Linking CXX static library lib/libopmcommon.a /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libopmcommon.a(Y.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libopmcommon.a(X.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libopmcommon.a(Y.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libopmcommon.a(X.cpp.o) has no symbols [ 48%] Built target opmcommon Scanning dependencies of target test_EInit Scanning dependencies of target test_ERst Scanning dependencies of target test_ExtESmry [ 48%] Building python bindings at python/opm/libopmcommon_python.cpython-38-darwin.so [ 48%] Building CXX object CMakeFiles/test_EInit.dir/tests/test_EInit.cpp.o [ 48%] Building CXX object CMakeFiles/test_ERst.dir/tests/test_ERst.cpp.o [ 48%] Building CXX object CMakeFiles/test_ExtESmry.dir/tests/test_ExtESmry.cpp.o NOTE: please install ccache for faster compilation of python bindings. /Users/***//venv/lib/python3.8/site-packages/setuptools/dist.py:484: UserWarning: Normalizing '2022.04' to '2022.4' warnings.warn(tmpl.format(**locals())) running build running build_py running egg_info writing opm.egg-info/PKG-INFO writing dependency_links to opm.egg-info/dependency_links.txt writing top-level names to opm.egg-info/top_level.txt writing manifest file 'opm.egg-info/SOURCES.txt' running build_ext building 'opm.libopmcommon_python' extension clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -UNDEBUG -I/Users/***/opm-common/python/pybind11/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -I/Users/***/opm-common -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/cjson -I/Users/***/opm-common/include -I/Users/***/opm-common -I/usr/local/include -I/usr/local/opt/boost/include -I/Users/***//venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cxx/unit_system.cpp -o build/temp.macosx-10.14-x86_64-3.8/cxx/unit_system.o -std=c++17 -fopenmp -DFMT_HEADER_ONLY clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' error: command 'clang' failed with exit status 1 make[2]: *** [python/opm/libopmcommon_python.cpython-38-darwin.so] Error 1 make[1]: *** [CMakeFiles/opmcommon_python.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /Users/***/opm-common/tests/test_EInit.cpp:24: In file included from /usr/local/opt/boost/include/boost/test/unit_test.hpp:18: In file included from /usr/local/opt/boost/include/boost/test/test_tools.hpp:46: /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:107:17: warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare] return left == right; ~~~~ ^ ~~~~~ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:130:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl' requested here return equal_impl( left, right ); ^ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:145:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::call_impl' requested here return call_impl( left, right, left_is_array() ); ^ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:92:50: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::operator()' requested here BOOST_PP_REPEAT( BOOST_TEST_MAX_PREDICATE_ARITY, IMPL_FRWD, _ ) ^ /usr/local/opt/boost/include/boost/preprocessor/repetition/repeat.hpp:30:26: note: expanded from macro 'BOOST_PP_REPEAT' # define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4)) ^ /usr/local/opt/boost/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT' # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b) ^ /usr/local/opt/boost/include/boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I' # define BOOST_PP_CAT_I(a, b) a ## b ^ :169:1: note: expanded from here BOOST_PP_REPEAT_1 ^ /Users/***/opm-common/tests/test_EInit.cpp:239:5: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::check_frwd' requested here BOOST_CHECK_EQUAL(fipnum_global.size(), 30); ^ /usr/local/opt/boost/include/boost/test/tools/old/interface.hpp:154:45: note: expanded from macro 'BOOST_CHECK_EQUAL' #define BOOST_CHECK_EQUAL( L, R ) BOOST_TEST_TOOL_IMPL( 0, \ ^ /usr/local/opt/boost/include/boost/test/tools/old/interface.hpp:67:47: note: expanded from macro 'BOOST_TEST_TOOL_IMPL' BOOST_PP_IF( frwd_type, report_assertion, check_frwd ) ( \ ^ In file included from /Users/***/opm-common/tests/test_ExtESmry.cpp:26: In file included from /usr/local/opt/boost/include/boost/test/unit_test.hpp:18: In file included from /usr/local/opt/boost/include/boost/test/test_tools.hpp:46: /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:107:17: warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare] return left == right; ~~~~ ^ ~~~~~ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:130:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl' requested here return equal_impl( left, right ); ^ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:145:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::call_impl' requested here return call_impl( left, right, left_is_array() ); ^ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:92:50: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::operator()' requested here BOOST_PP_REPEAT( BOOST_TEST_MAX_PREDICATE_ARITY, IMPL_FRWD, _ ) ^ /usr/local/opt/boost/include/boost/preprocessor/repetition/repeat.hpp:30:26: note: expanded from macro 'BOOST_PP_REPEAT' # define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4)) ^ /usr/local/opt/boost/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT' # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b) ^ /usr/local/opt/boost/include/boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I' # define BOOST_PP_CAT_I(a, b) a ## b ^ :107:1: note: expanded from here BOOST_PP_REPEAT_1 ^ /Users/***/opm-common/tests/test_ExtESmry.cpp:167:5: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::check_frwd' requested here BOOST_CHECK_EQUAL(ntsteps, 123); ^ /usr/local/opt/boost/include/boost/test/tools/old/interface.hpp:154:45: note: expanded from macro 'BOOST_CHECK_EQUAL' #define BOOST_CHECK_EQUAL( L, R ) BOOST_TEST_TOOL_IMPL( 0, \ ^ /usr/local/opt/boost/include/boost/test/tools/old/interface.hpp:67:47: note: expanded from macro 'BOOST_TEST_TOOL_IMPL' BOOST_PP_IF( frwd_type, report_assertion, check_frwd ) ( \ ^ 1 warning generated. [ 49%] Linking CXX executable bin/test_ExtESmry [ 49%] Built target test_ExtESmry 1 warning generated. [ 49%] Linking CXX executable bin/test_EInit [ 49%] Built target test_EInit [ 49%] Linking CXX executable bin/test_ERst [ 49%] Built target test_ERst make: *** [all] Error 2 ```

If I remove -fopenmp from setup.py (e.g. sed -i '' s/-fopenmp//g python/setup.py), and then run make -j4 again, I get another error

fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Full output after removing `-fopenmp` from `setup.py`
``` [ 0%] Built target datafiles [ 0%] Updating version information [ 4%] Built target genkw [ 4%] Built target copy_python [ 4%] Built target update-version [ 48%] Built target opmcommon [ 48%] Building python bindings at python/opm/libopmcommon_python.cpython-38-darwin.so [ 48%] Built target test_EInit [ 48%] Built target test_ERst [ 49%] Built target test_ExtESmry Scanning dependencies of target test_EclIO Scanning dependencies of target test_EclFilesComparator Scanning dependencies of target rewriteEclFile [ 49%] Building CXX object CMakeFiles/rewriteEclFile.dir/test_util/rewriteEclFile.cpp.o [ 49%] Building CXX object CMakeFiles/test_EclIO.dir/tests/test_EclIO.cpp.o [ 49%] Building CXX object CMakeFiles/test_EclFilesComparator.dir/tests/test_EclFilesComparator.cpp.o NOTE: please install ccache for faster compilation of python bindings. /Users/***//venv/lib/python3.8/site-packages/setuptools/dist.py:484: UserWarning: Normalizing '2022.04' to '2022.4' warnings.warn(tmpl.format(**locals())) running build running build_py running egg_info writing opm.egg-info/PKG-INFO writing dependency_links to opm.egg-info/dependency_links.txt writing top-level names to opm.egg-info/top_level.txt writing manifest file 'opm.egg-info/SOURCES.txt' running build_ext [ 49%] Linking CXX executable bin/rewriteEclFile building 'opm.libopmcommon_python' extension clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -UNDEBUG -I/Users/***/opm-common/python/pybind11/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -I/Users/***/opm-common -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/cjson -I/Users/***/opm-common/include -I/Users/***/opm-common -I/usr/local/include -I/usr/local/opt/boost/include -I/Users/***//venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cxx/unit_system.cpp -o build/temp.macosx-10.14-x86_64-3.8/cxx/unit_system.o -std=c++17 -DFMT_HEADER_ONLY [ 49%] Built target rewriteEclFile [ 49%] Building CXX object CMakeFiles/test_EclFilesComparator.dir/test_util/EclFilesComparator.cpp.o Scanning dependencies of target summary [ 49%] Building CXX object CMakeFiles/summary.dir/test_util/summary.cpp.o [ 49%] Linking CXX executable bin/test_EclFilesComparator [ 49%] Built target test_EclFilesComparator Scanning dependencies of target AquiferTests [ 49%] Building CXX object CMakeFiles/AquiferTests.dir/tests/parser/AquiferTests.cpp.o [ 49%] Linking CXX executable bin/summary [ 49%] Linking CXX executable bin/test_EclIO [ 49%] Built target summary [ 49%] Built target test_EclIO Scanning dependencies of target compareECL Scanning dependencies of target mocksim [ 49%] Building CXX object CMakeFiles/mocksim.dir/msim/src/msim.cpp.o [ 49%] Building CXX object CMakeFiles/compareECL.dir/test_util/EclFilesComparator.cpp.o [ 49%] Building CXX object CMakeFiles/compareECL.dir/test_util/EclRegressionTest.cpp.o In file included from /Users/***/opm-common/tests/parser/AquiferTests.cpp:20: In file included from /usr/local/opt/boost/include/boost/test/unit_test.hpp:18: In file included from /usr/local/opt/boost/include/boost/test/test_tools.hpp:46: /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:107:17: warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare] return left == right; ~~~~ ^ ~~~~~ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:130:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl' requested here return equal_impl( left, right ); ^ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:145:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::call_impl' requested here return call_impl( left, right, left_is_array() ); ^ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:92:50: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::operator()' requested here BOOST_PP_REPEAT( BOOST_TEST_MAX_PREDICATE_ARITY, IMPL_FRWD, _ ) ^ /usr/local/opt/boost/include/boost/preprocessor/repetition/repeat.hpp:30:26: note: expanded from macro 'BOOST_PP_REPEAT' # define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4)) ^ /usr/local/opt/boost/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT' # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b) ^ /usr/local/opt/boost/include/boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I' # define BOOST_PP_CAT_I(a, b) a ## b ^ :67:1: note: expanded from here BOOST_PP_REPEAT_1 ^ /Users/***/opm-common/tests/parser/AquiferTests.cpp:740:9: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::check_frwd' requested here BOOST_CHECK_EQUAL(c1->global_index, 0); ^ /usr/local/opt/boost/include/boost/test/tools/old/interface.hpp:154:45: note: expanded from macro 'BOOST_CHECK_EQUAL' #define BOOST_CHECK_EQUAL( L, R ) BOOST_TEST_TOOL_IMPL( 0, \ ^ /usr/local/opt/boost/include/boost/test/tools/old/interface.hpp:67:47: note: expanded from macro 'BOOST_TEST_TOOL_IMPL' BOOST_PP_IF( frwd_type, report_assertion, check_frwd ) ( \ ^ 1 warning generated. [ 49%] Linking CXX executable bin/AquiferTests [ 49%] Built target AquiferTests [ 49%] Building CXX object CMakeFiles/compareECL.dir/test_util/compareECL.cpp.o Scanning dependencies of target test_SummaryNode clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -UNDEBUG -I/Users/***/opm-common/python/pybind11/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -I/Users/***/opm-common -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/cjson -I/Users/***/opm-common/include -I/Users/***/opm-common -I/usr/local/include -I/usr/local/opt/boost/include -I/Users/***//venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cxx/connection.cpp -o build/temp.macosx-10.14-x86_64-3.8/cxx/connection.o -std=c++17 -DFMT_HEADER_ONLY [ 49%] Building CXX object CMakeFiles/test_SummaryNode.dir/tests/test_SummaryNode.cpp.o [ 49%] Linking CXX executable bin/compareECL [ 49%] Built target compareECL Scanning dependencies of target test_Wells [ 49%] Building CXX object CMakeFiles/test_Wells.dir/tests/test_Wells.cpp.o [ 49%] Linking CXX static library lib/libmocksim.a [ 49%] Built target mocksim Scanning dependencies of target test_Tables [ 49%] Linking CXX executable bin/test_SummaryNode [ 49%] Built target test_SummaryNode [ 49%] Building CXX object CMakeFiles/test_Tables.dir/tests/test_Tables.cpp.o Scanning dependencies of target test_Summary_Group [ 49%] Building CXX object CMakeFiles/test_Summary_Group.dir/tests/test_Summary_Group.cpp.o [ 49%] Linking CXX executable bin/test_Wells [ 49%] Built target test_Wells Scanning dependencies of target EclipseGridCreateFromDeck [ 49%] Building CXX object CMakeFiles/EclipseGridCreateFromDeck.dir/tests/parser/integration/EclipseGridCreateFromDeck.cpp.o [ 49%] Linking CXX executable bin/test_Tables [ 49%] Built target test_Tables Scanning dependencies of target test_Summary [ 49%] Building CXX object CMakeFiles/test_Summary.dir/tests/test_Summary.cpp.o [ 49%] Linking CXX executable bin/EclipseGridCreateFromDeck [ 50%] Linking CXX executable bin/test_Summary_Group [ 50%] Built target EclipseGridCreateFromDeck Scanning dependencies of target test_Inplace clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -UNDEBUG -I/Users/***/opm-common/python/pybind11/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -I/Users/***/opm-common -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/cjson -I/Users/***/opm-common/include -I/Users/***/opm-common -I/usr/local/include -I/usr/local/opt/boost/include -I/Users/***//venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cxx/converters.cpp -o build/temp.macosx-10.14-x86_64-3.8/cxx/converters.o -std=c++17 -DFMT_HEADER_ONLY [ 50%] Built target test_Summary_Group Scanning dependencies of target test_Serializer [ 50%] Building CXX object CMakeFiles/test_Inplace.dir/tests/test_Inplace.cpp.o [ 50%] Building CXX object CMakeFiles/test_Serializer.dir/tests/test_Serializer.cpp.o cxx/converters.cpp:19:12: warning: local variable 'output' will be copied despite being returned by name [-Wreturn-std-move] return output; ^~~~~~ cxx/converters.cpp:19:12: note: call 'std::move' explicitly to avoid copying return output; ^~~~~~ std::move(output) In file included from /Users/***/opm-common/tests/test_Inplace.cpp:21: In file included from /usr/local/opt/boost/include/boost/test/unit_test.hpp:18: In file included from /usr/local/opt/boost/include/boost/test/test_tools.hpp:46: /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:107:17: warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare] return left == right; ~~~~ ^ ~~~~~ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:130:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl' requested here return equal_impl( left, right ); ^ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:145:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::call_impl' requested here return call_impl( left, right, left_is_array() ); ^ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:92:50: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::operator()' requested here BOOST_PP_REPEAT( BOOST_TEST_MAX_PREDICATE_ARITY, IMPL_FRWD, _ ) ^ /usr/local/opt/boost/include/boost/preprocessor/repetition/repeat.hpp:30:26: note: expanded from macro 'BOOST_PP_REPEAT' # define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4)) ^ /usr/local/opt/boost/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT' # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b) ^ /usr/local/opt/boost/include/boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I' # define BOOST_PP_CAT_I(a, b) a ## b ^ :67:1: note: expanded from here BOOST_PP_REPEAT_1 ^ /Users/***/opm-common/tests/test_Inplace.cpp:51:5: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::check_frwd' requested here BOOST_CHECK_EQUAL( oip.max_region(), 6); ^ /usr/local/opt/boost/include/boost/test/tools/old/interface.hpp:154:45: note: expanded from macro 'BOOST_CHECK_EQUAL' #define BOOST_CHECK_EQUAL( L, R ) BOOST_TEST_TOOL_IMPL( 0, \ ^ /usr/local/opt/boost/include/boost/test/tools/old/interface.hpp:67:47: note: expanded from macro 'BOOST_TEST_TOOL_IMPL' BOOST_PP_IF( frwd_type, report_assertion, check_frwd ) ( \ ^ 1 warning generated. [ 50%] Linking CXX executable bin/test_Inplace [ 50%] Built target test_Inplace Scanning dependencies of target TableColumnTests [ 50%] Linking CXX executable bin/test_Serializer [ 50%] Building CXX object CMakeFiles/TableColumnTests.dir/tests/parser/TableColumnTests.cpp.o [ 50%] Built target test_Serializer Scanning dependencies of target test_EclRegressionTest [ 51%] Building CXX object CMakeFiles/test_EclRegressionTest.dir/tests/test_EclRegressionTest.cpp.o 1 warning generated. cxx/converters.cpp:19:12: warning: local variable 'output' will be copied despite being returned by name [-Wreturn-std-move] return output; ^~~~~~ cxx/converters.cpp:19:12: note: call 'std::move' explicitly to avoid copying return output; ^~~~~~ std::move(output) [ 51%] Linking CXX executable bin/TableColumnTests [ 51%] Built target TableColumnTests [ 51%] Building CXX object CMakeFiles/test_EclRegressionTest.dir/test_util/EclFilesComparator.cpp.o Scanning dependencies of target test_rst [ 51%] Building CXX object CMakeFiles/test_rst.dir/tests/test_rst.cpp.o 1 warning generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -UNDEBUG -I/Users/***/opm-common/python/pybind11/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -I/Users/***/opm-common -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/cjson -I/Users/***/opm-common/include -I/Users/***/opm-common -I/usr/local/include -I/usr/local/opt/boost/include -I/Users/***//venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cxx/deck.cpp -o build/temp.macosx-10.14-x86_64-3.8/cxx/deck.o -std=c++17 -DFMT_HEADER_ONLY [ 51%] Building CXX object CMakeFiles/test_EclRegressionTest.dir/test_util/EclRegressionTest.cpp.o [ 51%] Linking CXX executable bin/test_rst [ 51%] Built target test_rst Scanning dependencies of target test_regionCache [ 51%] Building CXX object CMakeFiles/test_regionCache.dir/tests/test_regionCache.cpp.o [ 51%] Linking CXX executable bin/test_EclRegressionTest [ 51%] Built target test_EclRegressionTest Scanning dependencies of target test_OutputStream [ 51%] Building CXX object CMakeFiles/test_OutputStream.dir/tests/test_OutputStream.cpp.o [ 51%] Linking CXX executable bin/test_Summary [ 51%] Built target test_Summary Scanning dependencies of target test_LogiHEAD [ 51%] Building CXX object CMakeFiles/test_LogiHEAD.dir/tests/test_LogiHEAD.cpp.o [ 51%] Linking CXX executable bin/test_regionCache [ 51%] Built target test_regionCache Scanning dependencies of target test_LinearisedOutputTable [ 51%] Building CXX object CMakeFiles/test_LinearisedOutputTable.dir/tests/test_LinearisedOutputTable.cpp.o [ 51%] Linking CXX executable bin/test_LogiHEAD [ 51%] Built target test_LogiHEAD Scanning dependencies of target test_InteHEAD clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -UNDEBUG -I/Users/***/opm-common/python/pybind11/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -I/Users/***/opm-common -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/cjson -I/Users/***/opm-common/include -I/Users/***/opm-common -I/usr/local/include -I/usr/local/opt/boost/include -I/Users/***//venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cxx/deck_keyword.cpp -o build/temp.macosx-10.14-x86_64-3.8/cxx/deck_keyword.o -std=c++17 -DFMT_HEADER_ONLY [ 51%] Building CXX object CMakeFiles/test_InteHEAD.dir/tests/test_InteHEAD.cpp.o [ 51%] Linking CXX executable bin/test_LinearisedOutputTable [ 51%] Built target test_LinearisedOutputTable Scanning dependencies of target test_EclipseIO [ 51%] Linking CXX executable bin/test_OutputStream [ 51%] Built target test_OutputStream [ 51%] Building CXX object CMakeFiles/test_EclipseIO.dir/tests/test_EclipseIO.cpp.o Scanning dependencies of target test_data_GuideRateValue [ 52%] Building CXX object CMakeFiles/test_data_GuideRateValue.dir/tests/test_data_GuideRateValue.cpp.o [ 52%] Linking CXX executable bin/test_data_GuideRateValue [ 52%] Built target test_data_GuideRateValue Scanning dependencies of target TestKeywords [ 52%] Building CXX object CMakeFiles/TestKeywords.dir/TestKeywords.cpp.o [ 52%] Linking CXX executable bin/test_EclipseIO [ 52%] Built target test_EclipseIO Scanning dependencies of target test_AggregateConnectionData [ 52%] Building CXX object CMakeFiles/test_AggregateConnectionData.dir/tests/test_AggregateConnectionData.cpp.o [ 52%] Linking CXX executable bin/test_InteHEAD [ 52%] Built target test_InteHEAD Scanning dependencies of target PYACTION [ 52%] Building CXX object CMakeFiles/PYACTION.dir/tests/parser/PYACTION.cpp.o [ 53%] Linking CXX executable bin/TestKeywords [ 53%] Built target TestKeywords Scanning dependencies of target test_AggregateWellData [ 53%] Building CXX object CMakeFiles/test_AggregateWellData.dir/tests/test_AggregateWellData.cpp.o [ 53%] Linking CXX executable bin/PYACTION [ 53%] Built target PYACTION Scanning dependencies of target test_AggregateActionxData [ 54%] Building CXX object CMakeFiles/test_AggregateActionxData.dir/tests/test_AggregateActionxData.cpp.o [ 54%] Linking CXX executable bin/test_AggregateConnectionData clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -UNDEBUG -I/Users/***/opm-common/python/pybind11/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -I/Users/***/opm-common -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/cjson -I/Users/***/opm-common/include -I/Users/***/opm-common -I/usr/local/include -I/usr/local/opt/boost/include -I/Users/***//venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cxx/eclipse_io.cpp -o build/temp.macosx-10.14-x86_64-3.8/cxx/eclipse_io.o -std=c++17 -DFMT_HEADER_ONLY [ 54%] Built target test_AggregateConnectionData Scanning dependencies of target IOConfigIntegrationTest [ 54%] Building CXX object CMakeFiles/IOConfigIntegrationTest.dir/tests/parser/integration/IOConfigIntegrationTest.cpp.o In file included from cxx/eclipse_io.cpp:11: /Users/***/opm-common/opm/io/eclipse/ESmry.hpp:78:56: error: 'path' is unavailable: introduced in macOS 10.15 void write_rsm_file(std::optional = std::nullopt) const; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:11: /Users/***/opm-common/opm/io/eclipse/ESmry.hpp:83:22: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path inputFileName; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:11: /Users/***/opm-common/opm/io/eclipse/ESmry.hpp:113:81: error: 'path' is unavailable: introduced in macOS 10.15 std::vector checkForMultipleResultFiles(const std::filesystem::path& rootN, bool formatted) const; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:11: /Users/***/opm-common/opm/io/eclipse/ESmry.hpp:116:40: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path& pathRst, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:11: /Users/***/opm-common/opm/io/eclipse/ESmry.hpp:117:40: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path& rootN) const; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:11: /Users/***/opm-common/opm/io/eclipse/ESmry.hpp:119:49: error: 'path' is unavailable: introduced in macOS 10.15 void updatePathAndRootName(std::filesystem::path& dir, std::filesystem::path& rootN) const; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:11: /Users/***/opm-common/opm/io/eclipse/ESmry.hpp:119:77: error: 'path' is unavailable: introduced in macOS 10.15 void updatePathAndRootName(std::filesystem::path& dir, std::filesystem::path& rootN) const; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:1: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/pybind11.h:49: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/detail/../attr.h:13: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/cast.h:13: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/detail/../pytypes.h:12: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/detail/common.h:144: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_set:391: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__node_handle:15: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/optional:602:5: error: static_assert failed due to requirement 'is_destructible_v' "instantiation of optional with a non-destructible type is ill-formed" static_assert(is_destructible_v, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/***/opm-common/opm/io/eclipse/ESmry.hpp:78:62: note: in instantiation of template class 'std::optional' requested here void write_rsm_file(std::optional = std::nullopt) const; ^ In file included from cxx/eclipse_io.cpp:12: /Users/***/opm-common/opm/io/eclipse/ExtESmry.hpp:72:22: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path m_inputFileName; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:12: /Users/***/opm-common/opm/io/eclipse/ExtESmry.hpp:73:34: error: 'path' is unavailable: introduced in macOS 10.15 std::vector m_lodsmry_files; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:12: /Users/***/opm-common/opm/io/eclipse/ExtESmry.hpp:97:42: error: 'path' is unavailable: introduced in macOS 10.15 uint64_t open_esmry(std::filesystem::path& inputFileName, LodsmryHeadType& lodsmry_head); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:12: /Users/***/opm-common/opm/io/eclipse/ExtESmry.hpp:99:49: error: 'path' is unavailable: introduced in macOS 10.15 void updatePathAndRootName(std::filesystem::path& dir, std::filesystem::path& rootN); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:12: /Users/***/opm-common/opm/io/eclipse/ExtESmry.hpp:99:77: error: 'path' is unavailable: introduced in macOS 10.15 void updatePathAndRootName(std::filesystem::path& dir, std::filesystem::path& rootN); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ In file included from cxx/eclipse_io.cpp:13: /Users/***/opm-common/opm/io/eclipse/EGrid.hpp:74:22: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path inputFileName, initFileName; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ cxx/eclipse_io.cpp:37:26: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path m_inputFileName(filename); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:902:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ cxx/eclipse_io.cpp:37:31: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path m_inputFileName(filename); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:941:3: note: 'path' has been explicitly marked unavailable here path(const _Source& __src, format = format::auto_format) { ^ cxx/eclipse_io.cpp:37:31: error: '~path' is unavailable: introduced in macOS 10.15 std::filesystem::path m_inputFileName(filename); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:961:3: note: '~path' has been explicitly marked unavailable here ~path() = default; ^ cxx/eclipse_io.cpp:39:29: error: 'extension' is unavailable: introduced in macOS 10.15 if (m_inputFileName.extension() == ".SMSPEC"){ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:1310:34: note: 'extension' has been explicitly marked unavailable here _LIBCPP_INLINE_VISIBILITY path extension() const { ^ cxx/eclipse_io.cpp:39:29: error: '~path' is unavailable: introduced in macOS 10.15 if (m_inputFileName.extension() == ".SMSPEC"){ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:961:3: note: '~path' has been explicitly marked unavailable here ~path() = default; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. error: command 'clang' failed with exit status 1 make[2]: *** [python/opm/libopmcommon_python.cpython-38-darwin.so] Error 1 make[1]: *** [CMakeFiles/opmcommon_python.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /Users/***/opm-common/tests/test_AggregateActionxData.cpp:3: In file included from /usr/local/opt/boost/include/boost/test/unit_test.hpp:18: In file included from /usr/local/opt/boost/include/boost/test/test_tools.hpp:46: /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:107:17: warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare] return left == right; ~~~~ ^ ~~~~~ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:130:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl' requested here return equal_impl( left, right ); ^ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:145:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::call_impl' requested here return call_impl( left, right, left_is_array() ); ^ /usr/local/opt/boost/include/boost/test/tools/old/impl.hpp:92:50: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::operator()' requested here BOOST_PP_REPEAT( BOOST_TEST_MAX_PREDICATE_ARITY, IMPL_FRWD, _ ) ^ /usr/local/opt/boost/include/boost/preprocessor/repetition/repeat.hpp:30:26: note: expanded from macro 'BOOST_PP_REPEAT' # define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4)) ^ /usr/local/opt/boost/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT' # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b) ^ /usr/local/opt/boost/include/boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I' # define BOOST_PP_CAT_I(a, b) a ## b ^ :67:1: note: expanded from here BOOST_PP_REPEAT_1 ^ /Users/***/opm-common/tests/test_AggregateActionxData.cpp:1010:13: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::check_frwd' requested here BOOST_CHECK_EQUAL(rst_state.actions[0].conditions.size(), 3); ^ /usr/local/opt/boost/include/boost/test/tools/old/interface.hpp:154:45: note: expanded from macro 'BOOST_CHECK_EQUAL' #define BOOST_CHECK_EQUAL( L, R ) BOOST_TEST_TOOL_IMPL( 0, \ ^ /usr/local/opt/boost/include/boost/test/tools/old/interface.hpp:67:47: note: expanded from macro 'BOOST_TEST_TOOL_IMPL' BOOST_PP_IF( frwd_type, report_assertion, check_frwd ) ( \ ^ [ 54%] Linking CXX executable bin/IOConfigIntegrationTest [ 54%] Linking CXX executable bin/test_AggregateWellData [ 54%] Built target IOConfigIntegrationTest [ 54%] Built target test_AggregateWellData 1 warning generated. [ 54%] Linking CXX executable bin/test_AggregateActionxData [ 54%] Built target test_AggregateActionxData make: *** [all] Error 2 ```

The logs are slightly redacted, to hide some paths

atgeirr commented 2 years ago

About the OpenMP issue. For some reason, Apple disables -fopenmp in the clang they provide. There are workarounds, but they may vary with version.

sindre-nistad commented 2 years ago

If I try running the generated setup-build.sh script, I get this error message

/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string.h:60:15: fatal error: 'string.h' file not found
#include_next <string.h>
              ^~~~~~~~~~
1 error generated.

After searching a git, I found that that problem can be solved by including -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk "somewhere". By adding that path, prepending it with /usr/include (or the result from xcrun --show-sdk-path) to include_dirs in setup.py, I get another error again;

Trying to install with additional path
``` cp: /Users/***/opm-common/python and /Users/***/opm-common/python are identical (not copied). NOTE: please install ccache for faster compilation of python bindings. /Users/***//venv/lib/python3.8/site-packages/setuptools/dist.py:484: UserWarning: Normalizing '2022.04' to '2022.4' warnings.warn(tmpl.format(**locals())) running build running build_py running egg_info writing opm.egg-info/PKG-INFO writing dependency_links to opm.egg-info/dependency_links.txt writing top-level names to opm.egg-info/top_level.txt writing manifest file 'opm.egg-info/SOURCES.txt' running build_ext building 'opm.libopmcommon_python' extension /Library/Developer/CommandLineTools/usr/bin/c++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -UNDEBUG -I/Users/***/opm-common/python/pybind11/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Users/***/opm-common -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/fmtlib/include -I/Users/***/opm-common/external/cjson -I/Users/***/opm-common/include -I/Users/***/opm-common -I/usr/local/include -I/usr/local/opt/boost/include -I/Users/***//venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cxx/unit_system.cpp -o build/temp.macosx-10.14-x86_64-3.8/cxx/unit_system.o -std=c++17 -DFMT_HEADER_ONLY In file included from cxx/unit_system.cpp:3: In file included from cxx/export.hpp:4: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/pybind11.h:49: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/attr.h:13: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/cast.h:13: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/pytypes.h:12: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/detail/common.h:144: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:366: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:18: /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:321:9: error: no member named 'signbit' in the global namespace using ::signbit; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:322:9: error: no member named 'fpclassify' in the global namespace using ::fpclassify; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:323:9: error: no member named 'isfinite' in the global namespace using ::isfinite; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:324:9: error: no member named 'isinf' in the global namespace using ::isinf; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:325:9: error: no member named 'isnan' in the global namespace using ::isnan; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:326:9: error: no member named 'isnormal' in the global namespace using ::isnormal; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:327:7: error: no member named 'isgreater' in the global namespace; did you mean '::std::greater'? using ::isgreater; ^~ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:738:29: note: '::std::greater' declared here struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool> ^ In file included from cxx/unit_system.cpp:3: In file included from cxx/export.hpp:4: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/pybind11.h:49: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/attr.h:13: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/cast.h:13: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/pytypes.h:12: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/detail/common.h:144: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:366: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:18: /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:328:7: error: no member named 'isgreaterequal' in the global namespace; did you mean '::std::greater_equal'? using ::isgreaterequal; ^~ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:767:29: note: '::std::greater_equal' declared here struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool> ^ In file included from cxx/unit_system.cpp:3: In file included from cxx/export.hpp:4: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/pybind11.h:49: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/attr.h:13: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/cast.h:13: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/pytypes.h:12: In file included from /Users/***/opm-common/python/pybind11/include/pybind11/detail/common.h:144: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:366: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:18: /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:329:9: error: no member named 'isless' in the global namespace using ::isless; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:330:9: error: no member named 'islessequal' in the global namespace using ::islessequal; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:331:9: error: no member named 'islessgreater' in the global namespace using ::islessgreater; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:332:9: error: no member named 'isunordered' in the global namespace using ::isunordered; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:333:9: error: no member named 'isunordered' in the global namespace using ::isunordered; ~~^ 13 errors generated. error: command '/Library/Developer/CommandLineTools/usr/bin/c++' failed with exit status 1 ```
sindre-nistad commented 2 years ago

Thanks, I am using macOS Monterey (12.0.1)

joakim-hove commented 2 years ago

OK - this was a lot of error messages. Before we go further with the Python. Please check and verify that you can build the c++ library. Many of the warnings are for them tests - for a start I would configure cmake to build without tests.

The error messages you report seem to come from pybind11 itself - a bit surprising?

sindre-nistad commented 2 years ago

I tried compiled the library itself, and that seemed to work;

mkdir release.build
cd release.build
cmake ..
make -j4

Most of the test cases seemed to work as expected, but some of them failed.