|
[Sponsors] |
May 3, 2017, 11:38 |
Installing OpenFOAM-2.3.x
|
#1 | ||
New Member
Masoumeh Gharaati
Join Date: Apr 2017
Posts: 19
Rep Power: 9 |
Dear all
I 'm trying to instal OpenFOAM-2.3.x on Ubuntu 16 according to this link. "http://www.tfd.chalmers.se/~hani/wikis/haniWiki/index.php?title=Install_Ubuntu_14.04_LTS,_OpenFOAM-2.3.x,_foam-extend-3.1_etc._on_your_own_laptop&oldid=47 " After entering the following command Quote:
Quote:
|
|||
May 27, 2017, 07:57 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: To fix that problem, see this post: Problems installing OpenFOAM 2.4.0 on Fedora 23 - post #3
|
|
June 2, 2017, 14:24 |
|
#3 | |
New Member
Masoumeh Gharaati
Join Date: Apr 2017
Posts: 19
Rep Power: 9 |
Quote:
Thanks for your help. |
||
April 21, 2018, 13:05 |
|
#4 |
Member
Fatih Ertinaz
Join Date: Feb 2011
Location: Istanbul
Posts: 64
Rep Power: 15 |
Hey there Bruno
================================================= Never mind. Running from scratch after a wclean all seems to solve the issues! ================================================= I am trying to install OF-2.4.0 on a GPU Cluster with Power 8 CPUs. OS is Ubuntu 16.04. Allwmake fails at the exact same step as above mentioned, however since I applied your fix I don't have any undefined references to flex (currently using version 2.6.0). I am wondering if you can make any suggestions. Please see log below: Code:
+ wmake libso phaseCompressibleTurbulenceModels make[2]: Entering directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels' '/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libphaseCompressibleTurbulenceModels.so' is up to date. make[2]: Leaving directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels' + wmake make[2]: Entering directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/multiphase/twoPhaseEulerFoam' g++ -m64 -mcpu=power8 -DlinuxPPC64le -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/$WM_PROJECT_DIR/src/transportModels/compressible/lnInclude -I/$WM_PROJECT_DIR/src/thermophysicalModels/basic/lnInclude -I/$WM_PROJECT_DIR/src/finiteVolume/lnInclude -I/$WM_PROJECT_DIR/src/transportModels/incompressible/lnInclude -I/$WM_PROJECT_DIR/src/TurbulenceModels/turbulenceModels/lnInclude -I/$WM_PROJECT_DIR/src/TurbulenceModels/compressible/lnInclude -I/$WM_PROJECT_DIR/src/TurbulenceModels/phaseCompressible/lnInclude -IphaseCompressibleTurbulenceModels/lnInclude -IinterfacialModels/lnInclude -ItwoPhaseSystem/lnInclude -I/$WM_PROJECT_DIR/src/finiteVolume/lnInclude -I/$WM_PROJECT_DIR/src/fvOptions/lnInclude -I/$WM_PROJECT_DIR/src/meshTools/lnInclude -I/$WM_PROJECT_DIR/src/sampling/lnInclude -IlnInclude -I. -I/$WM_PROJECT_DIR/src/OpenFOAM/lnInclude -I/$WM_PROJECT_DIR/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linuxPPC64leGccDPOpt/twoPhaseEulerFoam.o -L/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib \ -lfluidThermophysicalModels -lspecie -lturbulenceModels -lcompressibleTurbulenceModels -lphaseCompressibleTurbulenceModels -lincompressibleTransportModels -lcompressibleTwoPhaseSystem -lcompressibleEulerianInterfacialModels -lfiniteVolume -lfvOptions -lmeshTools -lsampling -lOpenFOAM -ldl -lm -o /$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/bin/twoPhaseEulerFoam /$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libcompressibleTwoPhaseSystem.so: undefined reference to `Foam::TurbulenceModel<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>, Foam::compressibleTurbulenceModel, Foam::phaseModel>::dictionaryConstructorTablePtr_' /$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libcompressibleTwoPhaseSystem.so: undefined reference to `Foam::turbulenceModel::propertiesName' collect2: error: ld returned 1 exit status /$WM_PROJECT_DIR/wmake/Makefile:149: recipe for target '/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/bin/twoPhaseEulerFoam' failed make[2]: *** [/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/bin/twoPhaseEulerFoam] Error 1 make[2]: Leaving directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/multiphase/twoPhaseEulerFoam' /$WM_PROJECT_DIR/wmake/MakefileApps:39: recipe for target 'twoPhaseEulerFoam' failed make[1]: *** [twoPhaseEulerFoam] Error 2 make[1]: Target 'application' not remade because of errors. make[1]: Leaving directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/multiphase' /$WM_PROJECT_DIR/wmake/MakefileApps:39: recipe for target 'multiphase' failed make: *** [multiphase] Error 2 make[1]: Entering directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/stressAnalysis' make[2]: Entering directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/stressAnalysis/solidDisplacementFoam' make[2]: '/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/bin/solidDisplacementFoam' is up to date. make[2]: Leaving directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/stressAnalysis/solidDisplacementFoam' make[2]: Entering directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam' make[2]: '/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/bin/solidEquilibriumDisplacementFoam' is up to date. make[2]: Leaving directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam' make[1]: Leaving directory '/gpfs/home/$WM_PROJECT_DIR/applications/solvers/stressAnalysis' make: Target 'application' not remade because of errors. Code:
1395:Make/linuxPPC64leGccDPOpt/R.o:(.toc+0x1e8): undefined reference to `Foam::incompressible::turbulenceModel::typeName' 1396:Make/linuxPPC64leGccDPOpt/R.o:(.toc+0x200): undefined reference to `Foam::compressible::turbulenceModel::typeName' 1397:Make/linuxPPC64leGccDPOpt/R.o:(.toc+0x208): undefined reference to `typeinfo for Foam::compressible::turbulenceModel' Code:
1843:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libSLGThermo.so: undefined reference to `Foam::solidMixtureProperties::New(Foam::dictionary const&)' 1858:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libDPMTurbulenceModels.so: undefined reference to `Foam::incompressibleTurbulenceModel::mu() const' 1859:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libDPMTurbulenceModels.so: undefined reference to `Foam::incompressibleTurbulenceModel::mut() const' 1860:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libDPMTurbulenceModels.so: undefined reference to `typeinfo for Foam::incompressibleTurbulenceModel' 1861:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libDPMTurbulenceModels.so: undefined reference to `Foam::incompressibleTurbulenceModel::mut(int) const' 1862:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libDPMTurbulenceModels.so: undefined reference to `Foam::incompressibleTurbulenceModel::muEff() const' 1863:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libDPMTurbulenceModels.so: undefined reference to `vtable for Foam::incompressibleTurbulenceModel' Code:
1995:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libSLGThermo.so: undefined reference to `Foam::solidMixtureProperties::New(Foam::dictionary const&)' 2023:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libinterfaceProperties.so: undefined reference to `typeinfo for Foam::alphaContactAngleFvPatchScalarField' 2024:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libinterfaceProperties.so: undefined reference to `Foam::alphaContactAngleFvPatchScalarField::typeName' 2033:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libinterfaceProperties.so: undefined reference to `typeinfo for Foam::alphaContactAngleFvPatchScalarField' 2034:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libinterfaceProperties.so: undefined reference to `Foam::alphaContactAngleFvPatchScalarField::typeName' 2146:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libcompressibleTwoPhaseSystem.so: undefined reference to `Foam::TurbulenceModel<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>, Foam::compressibleTurbulenceModel, Foam::phaseModel>::dictionaryConstructorTablePtr_' 2147:/$WM_PROJECT_DIR/platforms/linuxPPC64leGccDPOpt/lib/libcompressibleTwoPhaseSystem.so: undefined reference to `Foam::turbulenceModel::propertiesName' Last edited by fertinaz; April 22, 2018 at 02:41. |
|
Tags |
openfoam 2.3.x |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Basic questions about OpenFOAM cluster running and installing | Fauster | OpenFOAM Installation | 0 | May 25, 2018 16:00 |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 21, 2016 12:50 |
[OpenFOAM.org] Problems installing OpenFOAM 2.3.0 on Ubuntu 12.04 | arieljeds | OpenFOAM Installation | 6 | August 19, 2015 08:39 |
[OpenFOAM.org] -bash: fluentMeshToFoam: command not found, after installing OpenFoam 2.3.x on Mac | jundong | OpenFOAM Installation | 1 | July 1, 2015 14:31 |