CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] Problem with GLIBCXX when installing OpenFOAM using ICC compiler

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2016, 05:23
Default Problem with GLIBCXX when installing OpenFOAM using ICC compiler
  #1
New Member
 
Huynh Thien Loc
Join Date: Sep 2015
Posts: 5
Rep Power: 7
huynhthienloc is on a distinguished road
Dear Foamers,

I am trying to install OpenFOAM in the cluster with following specs:
Code:
[nnvan@aadl FL35_14]$ uname -a
Linux aadl 2.6.32-573.el6.x86_64 #1 SMP Wed Jul 1 18:23:37 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
[nnvan@aadl FL35_14]$ module avail
--------------------------------------- /appl/modulefiles --------------------------------
mpi/openmpi-1.8.4-intel2015
And the make.log using recommended settings on with minor change of openmpi is attached below.
HTML Code:
https://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-2.2.2/CentOS_SL_RHEL
Thanks to Bruno's help, I changed to ICC compiler and successfully install OF222
Code:
module load mpi/openmpi-1.8.4-intel2015; source  $HOME/OpenFOAM/OpenFOAM-2.2.2/etc/bashrc WM_NCOMPPROCS=4  WM_COMPILER=Icc WM_MPLIB=SYSTEMOPENMPI
But I can't run any command as the error of GLIBCXX not found pops up.
Code:
[nnvan@aadl FL35_14]$ blockMesh
blockMesh: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by blockMesh)
blockMesh: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/nnvan/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64IccDPOpt/lib/libblockMesh.so)
blockMesh: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/nnvan/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64IccDPOpt/lib/libmeshTools.so)
The make.log of the installation using ICC compiler is also attached below. I appreciate any help from your part.

Best regards,
Loc
Attached Files
File Type: zip make_ICC.zip (6.3 KB, 2 views)
File Type: zip make_GCC.zip (7.3 KB, 1 views)
huynhthienloc is offline   Reply With Quote

Old   May 1, 2016, 19:43
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,958
Blog Entries: 45
Rep Power: 122
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Loc,

Sorry for the late reply, but only now did I manage to take a quick look into this... and I was hoping for anyone else to help you sooner, but that didn't happen

Something is wrong or missing in the machine you're using. Because this message is consistently showing up in both log files:
Code:
/appl/compiler/gcc-5.2/libexec/gcc/x86_64-unknown-linux-gnu/5.2.0/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
This means that there are more modules that need to be loaded in order for GCC to be properly used.
Please check with the cluster administrators on how to fix this issue, given that GCC 5.2 is being used, but bits and pieces are still missing, namely the MPC library.
This should also be related to the problem with GLIBCXX, given that even though ICC was used with success, it apparently refers to the same libraries that GCC 5.2 is using, but which are missing.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 2, 2016, 01:12
Default
  #3
New Member
 
Huynh Thien Loc
Join Date: Sep 2015
Posts: 5
Rep Power: 7
huynhthienloc is on a distinguished road
Dear Mr. Bruno,

Thank you very much for the reply, I've been really worried that there are no solution for this problem.
It is a very useful information, again, thank you a lot!
I will revert to you again when the problem is fixed.

Best regards,
Loc
huynhthienloc is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 09:51
Problem Installing OpenFOAM at Ubuntu Maralady OpenFOAM Installation 1 August 25, 2013 19:22
Problem on installing Openfoam on 64bit sgi station gregjunqua OpenFOAM Installation 4 October 12, 2011 17:28
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43


All times are GMT -4. The time now is 17:05.