|
[Sponsors] |
[OpenFOAM.org] Openfoam 2112 build fails with aocc and clang |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 8, 2022, 04:53 |
Openfoam 2112 build fails with aocc and clang
|
#1 |
New Member
NainaPatil
Join Date: Feb 2022
Posts: 2
Rep Power: 0 |
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 |
|
April 22, 2022, 01:10 |
Openfoam 2112 build issue with "WM_COMPILER=Amd" option
|
#2 |
New Member
NainaPatil
Join Date: Feb 2022
Posts: 2
Rep Power: 0 |
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 ? |
|
April 22, 2022, 14:59 |
|
#3 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
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. |
||
|
|
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 |