|
[Sponsors] |
[OpenFOAM.org] Not found many .so files when installing OpenFOAM 6 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 7, 2020, 20:12 |
Not found many .so files when installing OpenFOAM 6
|
#1 |
New Member
Jun Leng
Join Date: Nov 2020
Posts: 2
Rep Power: 0 |
Hi everyone,
I met a strange problem when I installed OpenFOAM 6 following the official website. It showed that many .so files were not found even they were already ~/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib. Can anybody help me? Thanks very much! The errors are as follows: [lengjun@localhost OpenFOAM-6]$ ./Allwmake Allwmake /home/lengjun/OpenFOAM/OpenFOAM-6 make: Nothing to be done for 'all'. ======================================== Start ThirdParty Allwmake ======================================== ======================================== Build MPI libraries if required ======================================== Build Scotch decomposition library scotch_6.0.6 /home/lengjun/OpenFOAM/ThirdParty-6/platforms/linux64GccDPInt32/scotch_6.0.6 scotch header in /home/lengjun/OpenFOAM/ThirdParty-6/platforms/linux64GccDPInt32/scotch_6.0.6/include scotch libs in /home/lengjun/OpenFOAM/ThirdParty-6/platforms/linux64GccDPInt32/lib ======================================== Build PTScotch decomposition library scotch_6.0.6 (uses MPI) /home/lengjun/OpenFOAM/ThirdParty-6/platforms/linux64GccDPInt32/scotch_6.0.6 ptscotch header in /home/lengjun/OpenFOAM/ThirdParty-6/platforms/linux64GccDPInt32/scotch_6.0.6/include/openmpi-system ptscotch libs in /home/lengjun/OpenFOAM/ThirdParty-6/platforms/linux64GccDPInt32/lib/openmpi-system ======================================== Build Metis decomposition optional component Metis was not found ======================================== Build CGAL optional component was not found ======================================== Done ThirdParty Allwmake ======================================== Allwmake src no git description found Allwmake src/Pstream wmake dummy wmake mpi Allwmake libo src/OSspecific/POSIX found <sys/inotify.h> -- enabling inotify for file monitoring. wmake libo . wmake OpenFOAM wmake fileFormats wmake surfMesh wmake triSurface wmake meshTools Allwmake src/dummyThirdParty wmake scotchDecomp wmake ptscotchDecomp wmake metisDecomp wmake MGridGen wmake finiteVolume wmake lagrangian/basic wmake lagrangian/distributionModels wmake genericPatchFields wmake conversion wmake mesh/extrudeModel wmake dynamicMesh wmake sampling wmake dynamicFvMesh wmake topoChangerFvMesh Allwmake src/parallel Allwmake src/parallel/decompose using SCOTCH_ARCH_PATH=/home/lengjun/OpenFOAM/ThirdParty-6/platforms/linux64GccDPInt32/scotch_6.0.6 wmake scotchDecomp wmake ptscotchDecomp wmake ptscotchDecomp Allwmake src/parallel/decompose/metisDecomp using METIS_ARCH_PATH=/home/lengjun/OpenFOAM/ThirdParty-6/platforms/linux64GccDPInt32/metis-5.1.0 wmake decompositionMethods wmake decompose Allwmake src/parallel/reconstruct wmake reconstruct wmake distributed wmake ODE wmake randomProcesses Allwmake src/transportModels wmake twoPhaseMixture wmake interfaceProperties wmake twoPhaseProperties wmake incompressible wmake compressible wmake immiscibleIncompressibleTwoPhaseMixture Allwmake src/thermophysicalModels wmake specie wmake solidSpecie wmake thermophysicalProperties wmake basic wmake reactionThermo wmake laminarFlameSpeed wmake chemistryModel wmake barotropicCompressibilityModel wmake SLGThermo wmake solidThermo wmake solidChemistryModel wmake radiation Allwmake src/TurbulenceModels wmake turbulenceModels wmake incompressible wmake compressible wmake combustionModels Allwmake src/regionModels wmake regionModel wmake pyrolysisModels wmake surfaceFilmModels wmake surfaceFilmModels/derivedFvPatchFields/wallFunctions wmake thermalBaffleModels wmake regionCoupling Allwmake src/lagrangian wmake distributionModels wmake basic wmake solidParticle wmake intermediate wmake turbulence wmake spray wmake DSMC wmake coalCombustion Allwmake src/lagrangian/molecularDynamics wmake potential wmake molecularMeasurements wmake molecule Allwmake src/mesh wmake snappyHexMesh wmake blockMesh wmake extrudeModel Allwmake src/renumber skipping zoltanRenumber wmake renumberMethods Allwmake src/fvAgglomerationMethods wmake pairPatchAgglomeration wmake fvMotionSolver wmake engine wmake fvOptions wmake regionCoupled Allwmake src/functionObjects wmake field wmake forces wmake lagrangian wmake utilities wmake solvers wmake sixDoFRigidBodyMotion wmake sixDoFRigidBodyState wmake rigidBodyDynamics wmake rigidBodyMeshMotion wmake waves wmake semiPermeableBaffle wmake atmosphericModels Allwmake applications wmake solvers wmake basic make[1]: Entering directory '/home/lengjun/OpenFOAM/OpenFOAM-6/applications/solvers/basic' wmake laplacianFoam make[2]: Entering directory '/home/lengjun/OpenFOAM/OpenFOAM-6/applications/solvers/basic/laplacianFoam' g++ -std=c++11 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/home/lengjun/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude -I/home/lengjun/OpenFOAM/OpenFOAM-6/src/meshTools/lnInclude -IlnInclude -I. -I/home/lengjun/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/lengjun/OpenFOAM/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o -L/home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib \ -lfiniteVolume -lfvOptions -lmeshTools -lOpenFOAM -ldl \ -lm -o /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/bin/laplacianFoam /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libtriSurface.so, needed by /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so, not found (try using -rpath or -rpath-link) /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libsampling.so, needed by /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so, not found (try using -rpath or -rpath-link) /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libturbulenceModels.so, needed by /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so, not found (try using -rpath or -rpath-link) /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libcompressibleTurbulenceModels.so, needed by /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so, not found (try using -rpath or -rpath-link) /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libsurfMesh.so, needed by /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so, not found (try using -rpath or -rpath-link) /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libfileFormats.so, needed by /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so, not found (try using -rpath or -rpath-link) /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libPstream.so, needed by /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so, not found (try using -rpath or -rpath-link) /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()': laplacianFoam.C.text._ZN4Foam14GeometricFieldIdN S_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv[_ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7vo lMeshEE8Boundary8evaluateEv]+0x159): undefined reference to `Foam::UPstream::nRequests()' laplacianFoam.C.text._ZN4Foam14GeometricFieldIdN S_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv[_ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7vo lMeshEE8Boundary8evaluateEv]+0x280): undefined reference to `Foam::UPstream::waitRequests(int)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o: In 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)': laplacianFoam.C.text._ZN4Foam17mapDistributeBase 10distributeIdNS_4noOpEEEvNS_8UPstream10commsTypes ERKNS_4ListINS_4PairIiEEEEiRKNS5_INS5_IiEEEEbSE_bR NS5_IT_EERKT0_i[_ZN4Foam17mapDistributeBase10distributeIdNS_4noOpE EEvNS_8UPstream10commsTypesERKNS_4ListINS_4PairIiE EEEiRKNS5_INS5_IiEEEEbSE_bRNS5_IT_EERKT0_i]+0x521): undefined reference to `Foam::UPstream::nRequests()' laplacianFoam.C.text._ZN4Foam17mapDistributeBase 10distributeIdNS_4noOpEEEvNS_8UPstream10commsTypes ERKNS_4ListINS_4PairIiEEEEiRKNS5_INS5_IiEEEEbSE_bR NS5_IT_EERKT0_i[_ZN4Foam17mapDistributeBase10distributeIdNS_4noOpE EEvNS_8UPstream10commsTypesERKNS_4ListINS_4PairIiE EEEiRKNS5_INS5_IiEEEEbSE_bRNS5_IT_EERKT0_i]+0x646): undefined reference to `Foam::UIPstream::read(Foam::UPstream::commsTypes, int, char*, long, int, int)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::freePstreamCommunicator(int)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `pthread_create' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::fluidThermo::typeName' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface()' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UPstream::finishedRequest(int)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::scalePoints(double)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::scatter(char const*, Foam::UList<int> const&, Foam::UList<int> const&, char*, int, int)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::writePoints(Foam:: Ostream&, Foam::Field<Foam::Vector<double> > const&)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::meshToMesh::meshToMesh(Foam:olyMesh const&, Foam:olyMesh const&, Foam::meshToMesh::interpolationMethod const&, bool)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam:imensionedField<double, Foam::triSurfacePointGeoMesh>::typeName' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::gather(char const*, int, char*, Foam::UList<int> const&, Foam::UList<int> const&, int)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::readHeader(Foam::I Fstream&, Foam::word const&)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::init(int&, char**&, bool)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::OBJstream::write(Foam::Vector<double> const&)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::NASCore:arseNASCoord(Foam::s tring const&)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::fileName const&)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::abort()' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::geometricSurfacePatch:perator==(Foam::geo metricSurfacePatch const&) const' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam:imensionedField<double, Foam::triSurfaceGeoMesh>::typeName' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::subsetMesh(Foam::List<bool> const&, Foam::List<int>&, Foam::List<int>&) const' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::meshToMesh::interpolationMethodNames_' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::basicThermo::typeName' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::readPoints(Foam::I Fstream&, Foam::Field<Foam::Vector<double> >&, Foam::List<int>&)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::basicThermo::dictName' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::resetRequests(int)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::basicThermo' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::compressibleTurbulenceModel::typeName' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::allocatePstreamCommunicator(int, int)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::edgeOwner() const' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::OBJstream::OBJstream(Foam::fileName const&, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::lab elledTri> const&, /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::triSurface const&)' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::markZones(Foam::List<bool> const&, Foam::List<int>&) const' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::NASCore::NASCore()' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::writeStats(Foam::Ostream&) const' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::clearOut()' /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::compressibleTurbulenceModel' collect2: error: ld returned 1 exit status make[2]: *** [/home/lengjun/OpenFOAM/OpenFOAM-6/wmake/makefiles/general:142: /home/lengjun/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/bin/laplacianFoam] Error 1 make[2]: Leaving directory '/home/lengjun/OpenFOAM/OpenFOAM-6/applications/solvers/basic/laplacianFoam' make[1]: *** [/home/lengjun/OpenFOAM/OpenFOAM-6/wmake/makefiles/apps:39: laplacianFoam] Error 2 make[1]: Leaving directory '/home/lengjun/OpenFOAM/OpenFOAM-6/applications/solvers/basic' make: *** [/home/lengjun/OpenFOAM/OpenFOAM-6/wmake/makefiles/apps:39: basic] Error 2 [lengjun@localhost OpenFOAM-6]$ system information: centOS 7 gcc version 8.3.1 mpirun (Open MPI) 4.0.5 |
|
November 8, 2020, 01:25 |
|
#2 |
New Member
Jun Leng
Join Date: Nov 2020
Posts: 2
Rep Power: 0 |
Sorry, everyone. I fixed it. My LD_LIBRARY_PATH was wrong.Thanks.
|
|
December 12, 2022, 22:08 |
|
#3 |
New Member
Jonathan
Join Date: Sep 2022
Posts: 6
Rep Power: 4 |
||
Tags |
installation of openfoam, openfoam 6 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Installing on Ubuntu 18.04 | samiam1000 | OpenFOAM Installation | 11 | April 27, 2020 00:01 |
[OpenFOAM.org] Paraview not found when installing OpenFoam to Ubuntu 14.04 | tabsquare | OpenFOAM Installation | 75 | December 30, 2017 11:21 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 08:48 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 13:43 |