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

[OpenFOAM.com] OpenFOAM 4.1 with GCC-8.3.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2022, 17:34
Default OpenFOAM 4.1 with GCC-8.3.0
  #1
New Member
 
Salar
Join Date: Apr 2013
Location: USA
Posts: 9
Rep Power: 13
salar is on a distinguished road
Hi everyone,

I need to install OpenFOAM 4.1 with GCC-8.3.0 in our cluster (Centos 7). I made some modification as mentioned in:

https://github.com/OpenFOAM/OpenFOAM...80f406a23d3004

Everything works fine but when It wmake the solvers it shows the following linkage error:

/scratch/user/A/OpenFOAM/OpenFOAM-4.1/applications/solvers/basic/laplacianFoam
g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/scratch/user/A/OpenFOAM/OpenFOAM-4.1/src/finiteVolume/lnInclude -I/scratch/user/A/OpenFOAM/OpenFOAM-4.1/src/meshTools/lnInclude -IlnInclude -I. -I/scratch/user/A/OpenFOAM/OpenFOAM-4.1/src/OpenFOAM/lnInclude -I/scratch/user/A/OpenFOAM/OpenFOAM-4.1/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --no-as-needed /scratch/user/A/OpenFOAM/OpenFOAM-4.1/platforms/linux64Gcc83DPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o -L/scratch/user/A/OpenFOAM/OpenFOAM-4.1/platforms/linux64Gcc83DPInt32Opt/lib \
-lfiniteVolume -lmeshTools -lOpenFOAM -ldl \
-lm -o /scratch/user/A/OpenFOAM/OpenFOAM-4.1/platforms/linux64Gcc83DPInt32Opt/bin/laplacianFoam
/scratch/user/A/OpenFOAM/OpenFOAM-4.1/platforms/linux64Gcc83DPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o:laplacianFoam.C:function Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate(): error: undefined reference to 'Foam::UPstream::nRequests()'
/scratch/user/A/OpenFOAM/OpenFOAM-4.1/platforms/linux64Gcc83DPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o:laplacianFoam.C:function Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate(): error: undefined reference to 'Foam::UPstream::waitRequests(int)'
/scratch/user/A/OpenFOAM/OpenFOAM-4.1/platforms/linux64Gcc83DPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o:laplacianFoam.C:function void Foam::mapDistributeBase::distribute<double, Foam::noOp>(Foam::UPstream::commsTypes, Foam::List<Foam::Pair<int> > const&, int, Foam::List<Foam::List<int> > const&, bool, Foam::List<Foam::List<int> > const&, bool, Foam::List<double>&, Foam::noOp const&, int): error: undefined reference to 'Foam::UPstream::nRequests()'

Thank you for your comments on this error.

Best,
Salar
salar is offline   Reply With Quote

Reply


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.com] Can gcc changed with source ing different openfoam version etc/bashrc caoxuxiang OpenFOAM Installation 2 December 16, 2021 03:41
OpenFoam in docker (gcc 6) vs. OpenFoam natively compiled (gcc 8.1.1) Anouk OpenFOAM Running, Solving & CFD 0 September 17, 2018 09:02
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 06:40
OpenFOAM 4.1 packaged for GNU Guix pg22 OpenFOAM Announcements from Other Sources 0 October 5, 2017 08:57
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 04:19


All times are GMT -4. The time now is 00:16.