|
[Sponsors] |
[OpenFOAM.org] error while using wmake - undefined reference to .. GLIBCXX_3.4.21 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 28, 2023, 11:18 |
error while using wmake - undefined reference to .. GLIBCXX_3.4.21
|
#1 |
New Member
Dmitry
Join Date: Sep 2020
Location: Moscow, RU
Posts: 16
Rep Power: 6 |
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 |
|
Tags |
centos 7, glibcxx_3.4.21, wmake |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) | toolpost | OpenFOAM Installation | 15 | September 21, 2012 10:38 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
OpenFoam 1.6-ext - RPM build errors | preibie | OpenFOAM | 12 | September 8, 2011 04:12 |
Installing OpenFOAM-1.5-dev on a cluster | ZKM | OpenFOAM Installation | 4 | December 25, 2010 16:59 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 01:34 |