View Issue Details

IDProjectCategoryView StatusLast Update
0003174OpenFOAMBugpublic2019-02-20 17:10
Reporterrstan Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0003174: OpenFOAM 4.0 Compilation Error
DescriptionI am trying to compile OpenFOAM 4.0 on my school's cluster (CentOS 7) using the commands below:

module purge
module load intel/icc/2017.4 gnu7/7.2.0 openmpi3/3.0.0
wget -O - http://dl.openfoam.org/source/4-0 | tar xvz
wget -O - http://dl.openfoam.org/third-party/4-0 | tar xvz
mv OpenFOAM-4.x-version-4.0 OpenFOAM-4.0
mv ThirdParty-4.x-version-4.0 ThirdParty-4.0
cp -r /opt/ohpc/pub/thirdparty/libs/boost/src/boost_1_55_0 ~/OpenFOAM/ThirdParty-4.0/boost-system
(edit ~/OpenFOAM/OpenFOAM-4.0/etc/bashrc & change to Icc and SYSTEMOPENMPI)
export MPI_ROOT=/opt/ohpc/pub/mpi/openmpi3-gnu7/3.0.0
source ~/OpenFOAM/OpenFOAM-4.0/etc/bashrc
foamSystemCheck
foam
export WM_NCOMPPROCS=10
./Allwmake

These steps were provided to me by the cluster director and all seemed to go well as it compiled for multiple hours.

The last two lines of the compilation read (screen shots included):

"ld: skipping incompatible /lib/libgcc_s.so.1 when searching for libgcc_s.so.1
make: *** [mesh] Error 2"

And a few lines before that:

"remark #11074: Inlining inhibited by limit max-size
remark #11074: Inlining inhibited by limit max-total-size
remark #11076: To get full report use -qopt-report=4 -qopt-report-phase ipo"

I haven't found anything useful online about this so I decided to report a new issue. I apologize in advance if there are readily available diagnoses/solutions on the web. I am not a CS-guy and so do not understand a lot of what I have read.
TagsNo tags attached.

Activities

rstan

2019-02-20 17:04

reporter  

henry

2019-02-20 17:10

manager   ~0010311

Upgrade to the latest release: OpenFOAM-6

Issue History

Date Modified Username Field Change
2019-02-20 17:04 rstan New Issue
2019-02-20 17:04 rstan File Added: Screen Shot 2019-02-20 at 8.46.27 AM.png
2019-02-20 17:04 rstan File Added: Screen Shot 2019-02-20 at 8.45.34 AM.png
2019-02-20 17:10 henry Assigned To => henry
2019-02-20 17:10 henry Status new => closed
2019-02-20 17:10 henry Resolution open => no change required
2019-02-20 17:10 henry Note Added: 0010311