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

[OpenFOAM.org] Openfoam 2112 build fails with aocc and clang

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2022, 04:53
Default Openfoam 2112 build fails with aocc and clang
  #1
New Member
 
NainaPatil
Join Date: Feb 2022
Posts: 2
Rep Power: 0
NainaPatil is on a distinguished road
I have built OpenFOAM 2106 successfully with aocc 3.2 and earlier versions. But OpenFOAM 2112 completes the build with the following error- This also fails with LLVM Clang

ld.lld: error: undefined symbol: typeinfo for Foam::regionModels::regionFaModel
referenced by MPPICInterFoam.C
v2112/build/linux64AmdDPInt32Opt/applications/solvers/multiphase/MPPICInterFoam/MPPICInterFoam.ovoid Foam::SurfaceFilmModel<Foam::KinematicCloud<Foam:: Cloud<Foam::KinematicParcel<Foam:article> > > >::inject<Foam::KinematicCloud<Foam::Cloud<Foam::K inematicParcel<Foam:article> > > >(Foam::KinematicCloud<Foam::Cloud<Foam::Kinematic Parcel<Foam:article> > >&))
referenced by MPPICInterFoam.C
v2112/build/linux64AmdDPInt32Opt/applications/solvers/multiphase/MPPICInterFoam/MPPICInterFoam.ovoid Foam::SurfaceFilmModel<Foam::KinematicCloud<Foam:: Cloud<Foam::KinematicParcel<Foam:article> > > >::inject<Foam::KinematicCloud<Foam::Cloud<Foam::K inematicParcel<Foam:article> > > >(Foam::KinematicCloud<Foam::Cloud<Foam::Kinematic Parcel<Foam:article> > >&))
>>> referenced by MPPICInterFoam.C

System Details
Server- AMD Epyc 7763
OS- Cent OS 8.3
OpenMPI-4.1.1

Kindly help in resolving this
NainaPatil is offline   Reply With Quote

Old   April 22, 2022, 01:10
Default Openfoam 2112 build issue with "WM_COMPILER=Amd" option
  #2
New Member
 
NainaPatil
Join Date: Feb 2022
Posts: 2
Rep Power: 0
NainaPatil is on a distinguished road
Hello Team,

Is there any update on this issue ? currently we have found a workaround for the issue by linking "-lregionFaModels" in OpenFOAMROOT/wmake/rules/Amd/General/link-c++.

But do we have any official fix for this ? when is it expected ?
NainaPatil is offline   Reply With Quote

Old   April 22, 2022, 14:59
Default
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by NainaPatil View Post
Hello Team,

Is there any update on this issue ? currently we have found a workaround for the issue by linking "-lregionFaModels" in OpenFOAMROOT/wmake/rules/Amd/General/link-c++.

But do we have any official fix for this ? when is it expected ?

Reading the forum is a bit of hit and miss for tracking any issues. Thanks for opening a regular issue (https://develop.openfoam.com/Develop.../-/issues/2449) now working on it.
olesen 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] OpenFOAMv1806 with amd aocc 1.2 / 1.3 compiler cfdx OpenFOAM Installation 10 February 27, 2019 05:59


All times are GMT -4. The time now is 23:51.