View Issue Details

IDProjectCategoryView StatusLast Update
0003520OpenFOAMBugpublic2020-07-15 08:45
Reportercaodai Assigned Towill  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformX86_64OSUbuntu 18.04OS Version18.04
Summary0003520: wmake applications/solvers report undefined reference to some function
DescriptionHi all,
        I am installing OpenFoam-7 without MPI. I have installed ThirdParty-7 without ParaView. I go to the OpenFoam-7 directory and run Allwmake. Everything is OK before wmake all application/solvers. When it run wmake solvers, it report some functions undefined. Here is the log.
Allwmake /root/openfoam/OpenFOAM-7
make: Nothing to be done for 'all'.

========================================
Start ThirdParty Allwmake
========================================

========================================
Build MPI libraries if required

========================================
Build Scotch decomposition library scotch_6.0.6
    /root/openfoam/ThirdParty-7/platforms/linux64GccDPInt32/scotch_6.0.6
    scotch header in /root/openfoam/ThirdParty-7/platforms/linux64GccDPInt32/scotch_6.0.6/include
    scotch libs in /root/openfoam/ThirdParty-7/platforms/linux64GccDPInt32/lib

========================================
Build Metis decomposition
    optional component Metis was not found

========================================
Done ThirdParty Allwmake
========================================

Allwmake src
same version as previous build
Allwmake src/Pstream
wmake dummy
Allwmake libo src/OSspecific/POSIX
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=/root/openfoam/ThirdParty-7/platforms/linux64GccDPInt32/scotch_6.0.6
wmake scotchDecomp
Allwmake src/parallel/decompose/metisDecomp
    using METIS_ARCH_PATH=/root/openfoam/ThirdParty-7/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
Allwmake src/TurbulenceModels
wmake turbulenceModels
wmake incompressible
wmake compressible
wmake radiationModels
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 rigidBodyState
wmake semiPermeableBaffle
wmake atmosphericModels
wmake waves
Allwmake applications
wmake solvers
wmake basic
make[1]: Entering directory '/root/openfoam/OpenFOAM-7/applications/solvers/basic'
wmake laplacianFoam
make[2]: Entering directory '/root/openfoam/OpenFOAM-7/applications/solvers/basic/laplacianFoam'
g++ -std=c++11 -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/root/openfoam/OpenFOAM-7/src/finiteVolume/lnInclude -I/root/openfoam/OpenFOAM-7/src/meshTools/lnInclude -IlnInclude -I. -I/root/openfoam/OpenFOAM-7/src/OpenFOAM/lnInclude -I/root/openfoam/OpenFOAM-7/src/OSspecific/POSIX/lnInclude -fPIC -fuse-ld=bfd -Xlinker --add-needed -Xlinker --no-as-needed /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o -L/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib \
    -lfiniteVolume -lfvOptions -lmeshTools -lOpenFOAM -ldl \
     -lm -o /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/bin/laplacianFoam
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libtriSurface.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libsampling.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libturbulenceModels.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libcompressibleTurbulenceModels.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libsurfMesh.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libfileFormats.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libPstream.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so, not found (try using -rpath or -rpath-link)
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()':
(.text._ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv[_ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv]+0x1f0): undefined reference to `Foam::UPstream::nRequests()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()':
(.text._ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv[_ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv]+0x1f4): undefined reference to `Foam::UPstream::nRequests()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()':
(.text._ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv[_ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv]+0x37c): undefined reference to `Foam::UPstream::waitRequests(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()':
(.text._ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv[_ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv]+0x384): undefined reference to `Foam::UPstream::waitRequests(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::addValidParOptions(Foam::HashTable<Foam::string, Foam::word, Foam::string::hash>&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::faceTriangulation::faceTriangulation(Foam::Field<Foam::Vector<double> > const&, Foam::face const&, Foam::Vector<double> const&, bool)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::movePoints(Foam::Field<Foam::Vector<double> > const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::reduce(Foam::Vector2D<double>&, Foam::sumOp<Foam::Vector2D<double> > const&, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::OBJstream::write(Foam::line<Foam::Vector<double>, Foam::Vector<double> const&> const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::fileName const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::compressibleTurbulenceModel'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UPstream::finishedRequest(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::writeHeader(Foam::Ostream&, Foam::word const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::init(int&, char**&, bool)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::DimensionedField<double, Foam::triSurfacePointGeoMesh>::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::abort()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::fileName const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::meshToMesh::meshToMesh(Foam::polyMesh const&, Foam::polyMesh const&, Foam::meshToMesh::interpolationMethod const&, bool)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::geometricSurfacePatch::operator==(Foam::geometricSurfacePatch const&) const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::writePoints(Foam::Ostream&, Foam::Field<Foam::Vector<double> > const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::basicThermo::dictName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::resetRequests(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::compressibleTurbulenceModel::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::allocatePstreamCommunicator(int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::edgeOwner() const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::solidThermo'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::geometricSurfacePatch::geometricSurfacePatch()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::reduce(double&, Foam::minOp<double> const&, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UIPstream::UIPstream(int, Foam::PstreamBuffers&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UIPstream::UIPstream(Foam::UPstream::commsTypes, int, Foam::DynamicList<char, 0u, 2u, 1u>&, int&, int, int, bool, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::labelledTri> const&, Foam::List<Foam::geometricSurfacePatch> const&, Foam::Field<Foam::Vector<double> > const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::triSurface const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::meshToMesh'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::exit(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::~triSurface()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::solidThermo::New(Foam::fvMesh const&, Foam::word const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `typeinfo for Foam::triSurface'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::triSurface const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::labelledTri>&, Foam::List<Foam::geometricSurfacePatch> const&, Foam::Field<Foam::Vector<double> >&, bool)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::clearOut()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UIPstream::read(Foam::UPstream::commsTypes, int, char*, long, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::DimensionedField<int, Foam::triSurfaceGeoMesh>::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::OBJstream::~OBJstream()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::STARCDCore()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::freePstreamCommunicator(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::fluidThermo::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::scalePoints(double)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::turbulenceModel'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::scatter(char const*, Foam::UList<int> const&, Foam::UList<int> const&, char*, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::operator=(Foam::triSurface&&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::gather(char const*, int, char*, Foam::UList<int> const&, Foam::UList<int> const&, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::NASCore::parseNASCoord(Foam::string const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::readHeader(Foam::IFstream&, Foam::word const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::OBJstream::write(Foam::Vector<double> const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::solidThermo::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::subsetMesh(Foam::List<bool> const&, Foam::List<int>&, Foam::List<int>&) const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::meshToMesh::interpolationMethodNames_'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::basicThermo::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::basicThermo'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::DimensionedField<double, Foam::triSurfaceGeoMesh>::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::turbulenceModel::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UOPstream::write(Foam::UPstream::commsTypes, int, char const*, long, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::readPoints(Foam::IFstream&, Foam::Field<Foam::Vector<double> >&, Foam::List<int>&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::OBJstream::OBJstream(Foam::fileName const&, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::sumReduce(double&, int&, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::~triSurface()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::UPstream::allToAll(Foam::UList<int> const&, Foam::UList<int>&, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::fluidThermo'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::operator=(Foam::triSurface const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::sortedEdgeFaces() const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::coordSet::coordSet(Foam::word const&, Foam::word const&, Foam::List<Foam::Vector<double> > const&, Foam::List<double> const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::labelledTri> const&, Foam::Field<Foam::Vector<double> > const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::turbulenceModel::propertiesName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::write(Foam::fileName const&, bool) const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UPstream::waitRequest(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::markZones(Foam::List<bool> const&, Foam::List<int>&) const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::NASCore::NASCore()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::vtkUnstructuredReader::vtkUnstructuredReader(Foam::objectRegistry const&, Foam::ISstream&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::writeStats(Foam::Ostream&) const'
collect2: error: ld returned 1 exit status
/root/openfoam/OpenFOAM-7/wmake/makefiles/general:140: recipe for target '/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/bin/laplacianFoam' failed
make[2]: *** [/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/bin/laplacianFoam] Error 1
make[2]: Leaving directory '/root/openfoam/OpenFOAM-7/applications/solvers/basic/laplacianFoam'
/root/openfoam/OpenFOAM-7/wmake/makefiles/apps:39: recipe for target 'laplacianFoam' failed
make[1]: *** [laplacianFoam] Error 2
make[1]: Leaving directory '/root/openfoam/OpenFOAM-7/applications/solvers/basic'
/root/openfoam/OpenFOAM-7/wmake/makefiles/apps:39: recipe for target 'basic' failed
make: *** [basic] Error 2
TagsNo tags attached.

Activities

caodai

2020-07-09 07:36

reporter  

make.out (21,906 bytes)   
Allwmake /root/openfoam/OpenFOAM-7
make: Nothing to be done for 'all'.

========================================
Start ThirdParty Allwmake
========================================

========================================
Build MPI libraries if required

========================================
Build Scotch decomposition library scotch_6.0.6
    /root/openfoam/ThirdParty-7/platforms/linux64GccDPInt32/scotch_6.0.6
    scotch header in /root/openfoam/ThirdParty-7/platforms/linux64GccDPInt32/scotch_6.0.6/include
    scotch libs   in /root/openfoam/ThirdParty-7/platforms/linux64GccDPInt32/lib

========================================
Build Metis decomposition
    optional component Metis was not found

========================================
Done ThirdParty Allwmake
========================================

Allwmake src
same version as previous build
Allwmake src/Pstream
wmake dummy
Allwmake libo src/OSspecific/POSIX
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=/root/openfoam/ThirdParty-7/platforms/linux64GccDPInt32/scotch_6.0.6
wmake scotchDecomp
Allwmake src/parallel/decompose/metisDecomp
    using METIS_ARCH_PATH=/root/openfoam/ThirdParty-7/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
Allwmake src/TurbulenceModels
wmake turbulenceModels
wmake incompressible
wmake compressible
wmake radiationModels
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 rigidBodyState
wmake semiPermeableBaffle
wmake atmosphericModels
wmake waves
Allwmake applications
wmake solvers
wmake basic
make[1]: Entering directory '/root/openfoam/OpenFOAM-7/applications/solvers/basic'
wmake laplacianFoam
make[2]: Entering directory '/root/openfoam/OpenFOAM-7/applications/solvers/basic/laplacianFoam'
g++ -std=c++11  -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/root/openfoam/OpenFOAM-7/src/finiteVolume/lnInclude -I/root/openfoam/OpenFOAM-7/src/meshTools/lnInclude -IlnInclude -I. -I/root/openfoam/OpenFOAM-7/src/OpenFOAM/lnInclude -I/root/openfoam/OpenFOAM-7/src/OSspecific/POSIX/lnInclude   -fPIC -fuse-ld=bfd -Xlinker --add-needed -Xlinker --no-as-needed /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o -L/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib \
    -lfiniteVolume -lfvOptions -lmeshTools -lOpenFOAM -ldl  \
     -lm -o /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/bin/laplacianFoam
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libtriSurface.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libsampling.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libturbulenceModels.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libcompressibleTurbulenceModels.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libsurfMesh.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libfileFormats.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so, not found (try using -rpath or -rpath-link)
/usr/sz/swgcc710-tools-5A-75/usr/bin/../lib/gcc/sw_64sw2-unknown-linux-gnu/7.1.0/../../../../sw_64sw2-unknown-linux-gnu/bin/ld.bfd: warning: libPstream.so, needed by /root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so, not found (try using -rpath or -rpath-link)
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()':
(.text._ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv[_ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv]+0x1f0): undefined reference to `Foam::UPstream::nRequests()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()':
(.text._ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv[_ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv]+0x1f4): undefined reference to `Foam::UPstream::nRequests()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()':
(.text._ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv[_ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv]+0x37c): undefined reference to `Foam::UPstream::waitRequests(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/laplacianFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()':
(.text._ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv[_ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE8Boundary8evaluateEv]+0x384): undefined reference to `Foam::UPstream::waitRequests(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::addValidParOptions(Foam::HashTable<Foam::string, Foam::word, Foam::string::hash>&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::faceTriangulation::faceTriangulation(Foam::Field<Foam::Vector<double> > const&, Foam::face const&, Foam::Vector<double> const&, bool)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::movePoints(Foam::Field<Foam::Vector<double> > const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::reduce(Foam::Vector2D<double>&, Foam::sumOp<Foam::Vector2D<double> > const&, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::OBJstream::write(Foam::line<Foam::Vector<double>, Foam::Vector<double> const&> const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::fileName const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::compressibleTurbulenceModel'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UPstream::finishedRequest(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::writeHeader(Foam::Ostream&, Foam::word const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::init(int&, char**&, bool)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::DimensionedField<double, Foam::triSurfacePointGeoMesh>::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::abort()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::fileName const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::meshToMesh::meshToMesh(Foam::polyMesh const&, Foam::polyMesh const&, Foam::meshToMesh::interpolationMethod const&, bool)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::geometricSurfacePatch::operator==(Foam::geometricSurfacePatch const&) const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::writePoints(Foam::Ostream&, Foam::Field<Foam::Vector<double> > const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::basicThermo::dictName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::resetRequests(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::compressibleTurbulenceModel::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::allocatePstreamCommunicator(int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::edgeOwner() const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::solidThermo'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::geometricSurfacePatch::geometricSurfacePatch()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::reduce(double&, Foam::minOp<double> const&, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UIPstream::UIPstream(int, Foam::PstreamBuffers&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UIPstream::UIPstream(Foam::UPstream::commsTypes, int, Foam::DynamicList<char, 0u, 2u, 1u>&, int&, int, int, bool, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::labelledTri> const&, Foam::List<Foam::geometricSurfacePatch> const&, Foam::Field<Foam::Vector<double> > const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::triSurface const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::meshToMesh'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::exit(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::~triSurface()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::solidThermo::New(Foam::fvMesh const&, Foam::word const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `typeinfo for Foam::triSurface'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::triSurface const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::labelledTri>&, Foam::List<Foam::geometricSurfacePatch> const&, Foam::Field<Foam::Vector<double> >&, bool)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::clearOut()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UIPstream::read(Foam::UPstream::commsTypes, int, char*, long, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::DimensionedField<int, Foam::triSurfaceGeoMesh>::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::OBJstream::~OBJstream()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::STARCDCore()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::freePstreamCommunicator(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::fluidThermo::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::scalePoints(double)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::turbulenceModel'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::scatter(char const*, Foam::UList<int> const&, Foam::UList<int> const&, char*, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::operator=(Foam::triSurface&&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::gather(char const*, int, char*, Foam::UList<int> const&, Foam::UList<int> const&, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::NASCore::parseNASCoord(Foam::string const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::readHeader(Foam::IFstream&, Foam::word const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::OBJstream::write(Foam::Vector<double> const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::solidThermo::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::subsetMesh(Foam::List<bool> const&, Foam::List<int>&, Foam::List<int>&) const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::meshToMesh::interpolationMethodNames_'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::basicThermo::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::basicThermo'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::DimensionedField<double, Foam::triSurfaceGeoMesh>::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::turbulenceModel::typeName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UOPstream::write(Foam::UPstream::commsTypes, int, char const*, long, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::STARCDCore::readPoints(Foam::IFstream&, Foam::Field<Foam::Vector<double> >&, Foam::List<int>&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::OBJstream::OBJstream(Foam::fileName const&, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::sumReduce(double&, int&, int, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::~triSurface()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::UPstream::allToAll(Foam::UList<int> const&, Foam::UList<int>&, int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `typeinfo for Foam::fluidThermo'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::operator=(Foam::triSurface const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::sortedEdgeFaces() const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::coordSet::coordSet(Foam::word const&, Foam::word const&, Foam::List<Foam::Vector<double> > const&, Foam::List<double> const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::labelledTri> const&, Foam::Field<Foam::Vector<double> > const&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so: undefined reference to `Foam::turbulenceModel::propertiesName'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::write(Foam::fileName const&, bool) const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::UPstream::waitRequest(int)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::markZones(Foam::List<bool> const&, Foam::List<int>&) const'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::fileFormats::NASCore::NASCore()'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::vtkUnstructuredReader::vtkUnstructuredReader(Foam::objectRegistry const&, Foam::ISstream&)'
/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::writeStats(Foam::Ostream&) const'
collect2: error: ld returned 1 exit status
/root/openfoam/OpenFOAM-7/wmake/makefiles/general:140: recipe for target '/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/bin/laplacianFoam' failed
make[2]: *** [/root/openfoam/OpenFOAM-7/platforms/linux64GccDPInt32Opt/bin/laplacianFoam] Error 1
make[2]: Leaving directory '/root/openfoam/OpenFOAM-7/applications/solvers/basic/laplacianFoam'
/root/openfoam/OpenFOAM-7/wmake/makefiles/apps:39: recipe for target 'laplacianFoam' failed
make[1]: *** [laplacianFoam] Error 2
make[1]: Leaving directory '/root/openfoam/OpenFOAM-7/applications/solvers/basic'
/root/openfoam/OpenFOAM-7/wmake/makefiles/apps:39: recipe for target 'basic' failed
make: *** [basic] Error 2
make.out (21,906 bytes)   

will

2020-07-14 17:05

manager   ~0011424

I can't figure out how you are getting link errors like that. What changes have you made to the setup in order to compile without MPI (e.g., what is your WM_MPLIB setting?).

caodai

2020-07-15 00:55

reporter   ~0011425

Hi,Will,
     I have resolved the problem by compiling manually. Thanks for your reply.

Issue History

Date Modified Username Field Change
2020-07-09 07:36 caodai New Issue
2020-07-09 07:36 caodai File Added: make.out
2020-07-14 17:05 will Note Added: 0011424
2020-07-15 00:55 caodai Note Added: 0011425
2020-07-15 08:45 will Assigned To => will
2020-07-15 08:45 will Status new => closed
2020-07-15 08:45 will Resolution open => unable to reproduce