Skip to content

CI building GEOS requires libFluidFlow #4014

@jafranc

Description

@jafranc

While it was option out to save time with -DGEOS_ENABLE_FLUIDFLOW=OFF in building GEOS-dependent CI, the option is inefficient now and binary is linked anyway to libFluidFlow, so it has been turned on temporary in CI.

[ 98%] Building CXX object pygeosx/CMakeFiles/pygeosx.dir/pygeosx.cpp.o
[ 99%] Linking CXX shared library ../lib/pygeosx.so
[100%] Linking CXX executable bin/geosx
/opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: lib/libphysicsSolversBase.so: undefined reference to `typeinfo for geos::FlowSolverBase'
/opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: lib/libphysicsSolversBase.so: undefined reference to `geos::FlowSolverBase::initializeState(geos::DomainPartition&)'
/opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: lib/libphysicsSolversBase.so: undefined reference to `typeinfo for geos::CompositionalMultiphaseBase'
/opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: lib/libphysicsSolversBase.so: undefined reference to `geos::CompositionalMultiphaseBase::saveConvergedState(geos::ElementSubRegionBase&) const'
/opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: lib/libphysicsSolversBase.so: undefined reference to `geos::CompositionalMultiphaseBase::updateFluidState(geos::ElementSubRegionBase&) const'

introduced by 510dc76 in FieldApplicator class

to reproduce on geosx/ubuntu22.04:340-929:

 python3 scripts/config-build.py \
          -hc /spack-generated.cmake \
          -bt Release \
          -bp ../build_test \
          -DENABLE_HYPRE=ON \
          -DENABLE_PYGEOSX=ON \
          -DENABLE_ATS=OFF \
          -DENABLE_BENCHMARKS=OFF \
          -DENABLE_DOCS=OFF \
          -DENABLE_DOXYGEN=OFF \
          -DENABLE_MATHPRESSO=OFF \
          -DENABLE_PVTPackage=OFF \
          -DENABLE_TRILINOS=OFF \
          -DENABLE_UNCRUSTIFY=OFF \
          -DENABLE_XML_UPDATES=OFF \
          -DENABLE_YAPF=OFF \
          -DGEOS_ENABLE_TESTS=OFF \
          -DGEOS_ENABLE_CONTACT=OFF \
          -DGEOS_ENABLE_FLUIDFLOW=OFF \ ## here
          -DGEOS_ENABLE_INDUCEDSEISMICITY=OFF \
          -DGEOS_ENABLE_MULTIPHYSICS=OFF \
          -DGEOS_ENABLE_SIMPLEPDE=OFF \
          -DGEOS_ENABLE_SOLIDMECHANICS=OFF \
          -DGEOS_ENABLE_SURFACEGENERATION=OFF \
          -DGEOS_PYTHON_PACKAGES_BRANCH=main
make -j8 geosx

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions