cmake configuration completed with no error, but got errors in make stage. Log files are attached. Thanks for your help.
Configuration.log (10.1 KB)
make.log (2.4 KB)
[lux@fdgs00-ws build]$ make
[ 2%] Built target fmtlib-static
-- Found Git: /usr/bin/git (found version "1.8.3.1")
-- Revision status: v3.1.2-303-g2aa8ac8
[ 2%] Built target GitRevision
[ 3%] Building CXX object CMakeFiles/preciceCore.dir/Unity/unity_cplscheme_cxx.cxx.o
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/stl_algo.h(4337): error: no instance of function template "std::_Mem_fn<_Res _Class::*>::operator() [with _Res=precice::cplscheme::CouplingScheme *() noexcept, _Class=std::__shared_ptr<precice::cplscheme::CouplingScheme, __gnu_cxx::_S_atomic>]" matches the argument list
argument types are: (const precice::cplscheme::PtrCouplingScheme)
object type is: std::_Mem_fn<precice::cplscheme::CouplingScheme *(std::__shared_ptr<precice::cplscheme::CouplingScheme, __gnu_cxx::_S_atomic>::*)() const noexcept>
*__result = __unary_op(*__first);
^
/opt/rh/devtoolset-9/root/usr/include/c++/9/functional(135): note #3327-D: candidate function template "std::_Mem_fn_base<_MemObjPtr, false>::operator() [with _MemObjPtr=precice::cplscheme::CouplingScheme *(std::__shared_ptr<precice::cplscheme::CouplingScheme, __gnu_cxx::_S_atomic>::*)() const noexcept]" failed deduction
operator()(_Tp&& __obj) const
^
detected during instantiation of "_OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation) [with _IIter=__gnu_cxx::__normal_iterator<const precice::cplscheme::PtrCouplingScheme *, std::vector<precice::cplscheme::PtrCouplingScheme, std::allocator<precice::cplscheme::PtrCouplingScheme>>>, _OIter=__gnu_cxx::__normal_iterator<precice::cplscheme::CouplingScheme **, std::vector<precice::cplscheme::CouplingScheme *, std::allocator<precice::cplscheme::CouplingScheme *>>>, _UnaryOperation=std::_Mem_fn<precice::cplscheme::CouplingScheme *(std::__shared_ptr<precice::cplscheme::CouplingScheme, __gnu_cxx::_S_atomic>::*)() const noexcept>]" at line 478 of /scratcha-fdgs/lux/OpenFOAM/lux-v2106/platforms/precice-3.2.0/src/cplscheme/CompositionalCouplingScheme.cpp
1 error detected in the compilation of "/scratcha-fdgs/lux/OpenFOAM/lux-v2106/platforms/precice-3.2.0/build/CMakeFiles/preciceCore.dir/Unity/unity_cplscheme_cxx.cxx".
make[2]: *** [CMakeFiles/preciceCore.dir/build.make:146: CMakeFiles/preciceCore.dir/Unity/unity_cplscheme_cxx.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:170: CMakeFiles/preciceCore.dir/all] Error 2
make: *** [Makefile:166: all] Error 2