error while using wmake - undefined reference to .. GLIBCXX_3.4.21
1 Attachment(s)
Hello, everyone!
I am a newbie experiencing problems while installing a custom solver reactingCanteraFoam on a system (CentOS Linux release 7.6.1810 (Core) , IntelOne API 2021.4.0, OpenFOAM.org v7). I would be thankful for any help! What i've done: 1) I downloaded solver from https://github.com/ZhangYanTJU/reactingCanteraFoam This solver solver calls Cantera to update T psi mu alpha D in OpenFOAM 2) I installed libcantera in a dedicated environment as it is stated on cantera.org. (I installed version 2.5.1 because it is written that this solver has been tested with this version): conda create --name ct-dev conda install--channel cantera/label/dev libcantera-devel=2.5.1 conda activate ct-dev conda install make cmake scons pkg-config 3) Changed Make/options: -I/home4/pstorage2/mian1/.conda/envs/ct-dev/include /home4/pstorage2/mian1/.conda/envs/ct-dev/lib/libcantera_shared.so 4) run wmake: I've got a lot of errors like this: /home4/pstorage2/mian1/.conda/envs/ct-dev/lib/libcantera_shared.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned long) const GLIBCXX_3.4.21' see full log in attach. It seems to me, that wmake is looking at wrong compiler settings or smth like this. Any suggestions how to fix it? Thanks in advance, Dmitry |
All times are GMT -4. The time now is 20:57. |