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

OF211: ThirdParty and /src compiled, but not /applications...

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By vkrastev

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2012, 09:57
Default OF211: ThirdParty and /src compiled, but not /applications...
  #1
Senior Member
 
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20
vkrastev is on a distinguished road
Hi all,
I'm trying to compile OF211 locally on a cluster (in my case the only way to do it appears to be the definition of a customized module containing all the proper environment variables settings). I was successful in compiling the ThirdParty stuff and all the /src folder, but when compilation switched to the /applications folder I got the following kind of errors:

Code:
Making dependency list for source file icoFoam.C
SOURCE=icoFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64Gcc44DPOpt/icoFoam.o
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/src/finiteVolume/lnInclude/readPISOControls.H: In function ‘int main(int, char**)’:
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/src/finiteVolume/lnInclude/readPISOControls.H:3: warning: unused variable ‘nOuterCorr’
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/src/finiteVolume/lnInclude/readPISOControls.H:12: warning: unused variable ‘momentumPredictor’
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/src/finiteVolume/lnInclude/readPISOControls.H:15: warning: unused variable ‘transonic’
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed Make/linux64Gcc44DPOpt/icoFoam.o -L/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib \
         -lfiniteVolume -lOpenFOAM -ldl   -lm -o /work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/bin/icoFoam
/usr/bin/ld: warning: libtriSurface.so, needed by /work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libmeshTools.so, needed by /work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libPstream.so, needed by /work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libOpenFOAM.so, not found (try using -rpath or -rpath-link)
Make/linux64Gcc44DPOpt/icoFoam.o: In function `main':
icoFoam.C:(.text+0x320f): undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&, int)'
icoFoam.C:(.text+0x3282): undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&, int)'
Make/linux64Gcc44DPOpt/icoFoam.o: In function `void Foam::reduce<double, Foam::maxOp<double> >(Foam::List<Foam::UPstream::commsStruct> const&, double&, Foam::maxOp<double> const&, int)':
icoFoam.C:(.text._ZN4Foam6reduceIdNS_5maxOpIdEEEEvRKNS_4ListINS_8UPstream11commsStructEEERT_RKT0_i[void Foam::reduce<double, Foam::maxOp<double> >(Foam::List<Foam::UPstream::commsStruct> const&, double&, Foam::maxOp<double> const&, int)]+0x80): undefined reference to `Foam::UIPstream::read(Foam::UPstream::commsTypes, int, char*, long, int)'
icoFoam.C:(.text._ZN4Foam6reduceIdNS_5maxOpIdEEEEvRKNS_4ListINS_8UPstream11commsStructEEERT_RKT0_i[void Foam::reduce<double, Foam::maxOp<double> >(Foam::List<Foam::UPstream::commsStruct> const&, double&, Foam::maxOp<double> const&, int)]+0xb7): undefined reference to `Foam::UOPstream::write(Foam::UPstream::commsTypes, int, char const*, long, int)'
icoFoam.C:(.text._ZN4Foam6reduceIdNS_5maxOpIdEEEEvRKNS_4ListINS_8UPstream11commsStructEEERT_RKT0_i[void Foam::reduce<double, Foam::maxOp<double> >(Foam::List<Foam::UPstream::commsStruct> const&, double&, Foam::maxOp<double> const&, int)]+0x103): undefined reference to `Foam::UIPstream::read(Foam::UPstream::commsTypes, int, char*, long, int)'
icoFoam.C:(.text._ZN4Foam6reduceIdNS_5maxOpIdEEEEvRKNS_4ListINS_8UPstream11commsStructEEERT_RKT0_i[void Foam::reduce<double, Foam::maxOp<double> >(Foam::List<Foam::UPstream::commsStruct> const&, double&, Foam::maxOp<double> const&, int)]+0x138): undefined reference to `Foam::UOPstream::write(Foam::UPstream::commsTypes, int, char const*, long, int)'
Make/linux64Gcc44DPOpt/icoFoam.o: In function `void Foam::reduce<bool, Foam::andOp<bool> >(Foam::List<Foam::UPstream::commsStruct> const&, bool&, Foam::andOp<bool> const&, int)':
icoFoam.C:(.text._ZN4Foam6reduceIbNS_5andOpIbEEEEvRKNS_4ListINS_8UPstream11commsStructEEERT_RKT0_i[void Foam::reduce<bool, Foam::andOp<bool> >(Foam::List<Foam::UPstream::commsStruct> const&, bool&, Foam::andOp<bool> const&, int)]+0x79): undefined reference to `Foam::UIPstream::read(Foam::UPstream::commsTypes, int, char*, long, int)'
icoFoam.C:(.text._ZN4Foam6reduceIbNS_5andOpIbEEEEvRKNS_4ListINS_8UPstream11commsStructEEERT_RKT0_i[void Foam::reduce<bool, Foam::andOp<bool> >(Foam::List<Foam::UPstream::commsStruct> const&, bool&, Foam::andOp<bool> const&, int)]+0xb5): undefined reference to `Foam::UOPstream::write(Foam::UPstream::commsTypes, int, char const*, long, int)'
icoFoam.C:(.text._ZN4Foam6reduceIbNS_5andOpIbEEEEvRKNS_4ListINS_8UPstream11commsStructEEERT_RKT0_i[void Foam::reduce<bool, Foam::andOp<bool> >(Foam::List<Foam::UPstream::commsStruct> const&, bool&, Foam::andOp<bool> const&, int)]+0x101): undefined reference to `Foam::UIPstream::read(Foam::UPstream::commsTypes, int, char*, long, int)'
icoFoam.C:(.text._ZN4Foam6reduceIbNS_5andOpIbEEEEvRKNS_4ListINS_8UPstream11commsStructEEERT_RKT0_i[void Foam::reduce<bool, Foam::andOp<bool> >(Foam::List<Foam::UPstream::commsStruct> const&, bool&, Foam::andOp<bool> const&, int)]+0x139): undefined reference to `Foam::UOPstream::write(Foam::UPstream::commsTypes, int, char const*, long, int)'
Make/linux64Gcc44DPOpt/icoFoam.o: In function `Foam::DimensionedField<double, Foam::volMesh>::weightedAverage(Foam::DimensionedField<double, Foam::volMesh> const&) const':
icoFoam.C:(.text._ZNK4Foam16DimensionedFieldIdNS_7volMeshEE15weightedAverageERKS2_[Foam::DimensionedField<double, Foam::volMesh>::weightedAverage(Foam::DimensionedField<double, Foam::volMesh> const&) const]+0xb1): undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&, int)'
icoFoam.C:(.text._ZNK4Foam16DimensionedFieldIdNS_7volMeshEE15weightedAverageERKS2_[Foam::DimensionedField<double, Foam::volMesh>::weightedAverage(Foam::DimensionedField<double, Foam::volMesh> const&) const]+0x157): undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&, int)'
Make/linux64Gcc44DPOpt/icoFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::evaluate()':
icoFoam.C:(.text._ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE22GeometricBoundaryField8evaluateEv[Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::evaluate()]+0x40): undefined reference to `Foam::UPstream::nRequests()'
icoFoam.C:(.text._ZN4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEE22GeometricBoundaryField8evaluateEv[Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::evaluate()]+0x2f1): undefined reference to `Foam::UPstream::waitRequests(int)'
Make/linux64Gcc44DPOpt/icoFoam.o: In function `Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::evaluate()':
icoFoam.C:(.text._ZN4Foam14GeometricFieldINS_6VectorIdEENS_12fvPatchFieldENS_7volMeshEE22GeometricBoundaryField8evaluateEv[Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::evaluate()]+0x3e): undefined reference to `Foam::UPstream::nRequests()'
icoFoam.C:(.text._ZN4Foam14GeometricFieldINS_6VectorIdEENS_12fvPatchFieldENS_7volMeshEE22GeometricBoundaryField8evaluateEv[Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::evaluate()]+0x2f1): undefined reference to `Foam::UPstream::waitRequests(int)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::NamedEnum<Foam::mappedPatchBase::sampleMode, 4>::names'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::pointToPointPlanarInterpolation::findTime(Foam::List<Foam::instant> const&, int, double, int&, int&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::coordinateSystem::~coordinateSystem()'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cellSet::~cellSet()'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cellDistFuncs::cellDistFuncs(Foam::polyMesh const&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cellDistFuncs::correctBoundaryFaceCells(Foam::HashSet<int, Foam::Hash<int> > const&, Foam::Field<double>&, Foam::Map<int>&) const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libOpenFOAM.so: undefined reference to `Foam::UIPstream::UIPstream(Foam::UPstream::commsTypes, int, Foam::DynamicList<char, 0u, 2u, 1u>&, int&, int, bool, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `vtable for Foam::cyclicAMILduInterfaceField'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::calcMapping() const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `typeinfo for Foam::mappedPatchBase'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `typeinfo for Foam::cyclicAMILduInterfaceField'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::faceSet::~faceSet()'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::calcAMI() const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::faceSet::faceSet(Foam::polyMesh const&, Foam::word const&, int, Foam::IOobject::writeOption)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cyclicAMILduInterfaceField::~cyclicAMILduInterfaceField()'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::samplePoints() const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::abort()'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::pointToPointPlanarInterpolation::timeNames(Foam::List<Foam::instant> const&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::faceSet::faceSet(Foam::polyMesh const&, Foam::word const&, Foam::HashSet<int, Foam::Hash<int> > const&, Foam::IOobject::writeOption)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cellSet::cellSet(Foam::polyMesh const&, Foam::word const&, Foam::IOobject::readOption, Foam::IOobject::writeOption)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::patchWave::patchWave(Foam::polyMesh const&, Foam::HashSet<int, Foam::Hash<int> > const&, bool)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cellDistFuncs::getPointNeighbours(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, int, Foam::List<int>&) const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `typeinfo for Foam::cyclicAMILduInterface'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cyclicAMIPolyPatch::AMI() const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::operator<<(Foam::Ostream&, Foam::wallPoint const&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::init(int&, char**&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::sampleMesh() const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::UIPstream::UIPstream(int, Foam::PstreamBuffers&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cyclicAMIPolyPatch::typeName'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::~mappedPatchBase()'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::mappedPatchBase(Foam::polyPatch const&, Foam::dictionary const&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::mappedPatchBase(Foam::polyPatch const&, Foam::mappedPatchBase const&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::samplePolyPatch() const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cellDistFuncs::maxPatchSize(Foam::HashSet<int, Foam::Hash<int> > const&) const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cellDistFuncs::correctBoundaryPointCells(Foam::HashSet<int, Foam::Hash<int> > const&, Foam::Field<double>&, Foam::Map<int>&) const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::typeName'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `typeinfo for Foam::cyclicAMIPolyPatch'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cellDistFuncs::sumPatchSize(Foam::HashSet<int, Foam::Hash<int> > const&) const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cyclicAMILduInterface::~cyclicAMILduInterface()'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::addValidParOptions(Foam::HashTable<Foam::string, Foam::word, Foam::string::hash>&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::exit(int)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cellDistFuncs::smallestDist(Foam::Vector<double> const&, Foam::polyPatch const&, int, Foam::List<int> const&, int&) const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::coordinateSystem::writeDict(Foam::Ostream&, bool) const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::mappedPatchBase(Foam::polyPatch const&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::patchWave::~patchWave()'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::operator>>(Foam::Istream&, Foam::wallPoint&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::mappedPatchBase::write(Foam::Ostream&) const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cellDistFuncs::cellDistFuncs(Foam::polyMesh const&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::coordinateSystem::coordinateSystem(Foam::dictionary const&, Foam::objectRegistry const&)'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::cyclicAMILduInterfaceField::transformCoupleField(Foam::Field<double>&, unsigned char) const'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::FaceCellWaveName::debug'
/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::pointToPointPlanarInterpolation::pointToPointPlanarInterpolation(Foam::Field<Foam::Vector<double> > const&, Foam::Field<Foam::Vector<double> > const&, double)'
collect2: ld returned 1 exit status
make: *** [/work/alh/vesselin/OpenFOAM////OpenFOAM-2.1.1/platforms/linux64Gcc44DPOpt/bin/icoFoam] Error 1
I'm trying to understand what is going on, but still I cannot find a remedy for this. Can someobody please give me a hint?

Thank you in advance

V.

PS-I've already successfully compiled OF-1.7.1 on the same system and with a similar procedure.
vkrastev is offline   Reply With Quote

Old   October 15, 2012, 12:21
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick question: which Linux distribution and version are you using?

If my guess is right and it's CentOS/SL/RHEL 5.x, then try these instructions: http://openfoamwiki.net/index.php/In...HEL#CentOS_5.8
__________________
wyldckat is offline   Reply With Quote

Old   October 15, 2012, 12:42
Default
  #3
Senior Member
 
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20
vkrastev is on a distinguished road
Hi Bruno,
and thanks for the quick answer. The clusters' distro is Scientific Linux release 5.8 (Boron), while the available system compiler is gcc 4.4.3. I'll check your link and see if I can figure it out.

Regards

V.
vkrastev is offline   Reply With Quote

Old   October 15, 2012, 13:02
Default
  #4
Senior Member
 
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20
vkrastev is on a distinguished road
Ok, I've just taken a look at the link and there's one big problem: interacting as a root administrator is absolutely out of question for me (this is an HPC facility on which I have access only as a user)...Any other suggestions? I don't know if it could be useful, but in the attachment you can find the modulefile which I have used till now for OF211 (just ignore the comments in italian).

Thank you once again

V.

PS-I don't need to have Paraview compiled.
Attached Files
File Type: txt myopenfoam6.txt (7.2 KB, 29 views)
vkrastev is offline   Reply With Quote

Old   October 15, 2012, 17:23
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Vesselin,

Wow, a fully module based environment...

By what I read in the file attached, you don't need root permissions. But you're missing several environment variables. I would say that some of the most critical are these four lines that seem to be missing:
Code:
prepend-path LD_LIBRARY_PATH $::env(WM_PROJECT_DIR)/platforms/$::env(WM_OPTIONS)/lib/dummy
prepend-path LD_LIBRARY_PATH $::env(WM_PROJECT_DIR)/platforms/$::env(WM_OPTIONS)/lib
prepend-path LD_LIBRARY_PATH $::env(WM_PROJECT_DIR)/platforms/$::env(WM_OPTIONS)/lib/openmpi-$::env(mpiversion)
prepend-path LD_LIBRARY_PATH $::env(FOAM_EXT_LIBBIN)
The list above isn't complete, so for more ideas about what's missing, I suggest that you check the files "etc/cshrc" and "etc/config/settings.csh", which are also available here:
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 15, 2012, 18:37
Default
  #6
Senior Member
 
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20
vkrastev is on a distinguished road
Hi Bruno,
thank you very much, tomorrow I'll check carefully the environmental variables and see if the situation gets better! About the modules, well when I talked to the cluster administrators about maintaining a "my own" OF version on their machine they just told me that this is the only way to load customized executables/softwares: actually it works pretty fine with OF-1.7.1 and I'm sure it will also with OF-211!

Thank you once again, I will keep you in touch

V.
vkrastev is offline   Reply With Quote

Old   October 18, 2012, 13:05
Default
  #7
Senior Member
 
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20
vkrastev is on a distinguished road
Hi Bruno,

apparently now the whole code is correctly compiled and up and running (I've launched different solvers and it' seems all ok). It was achieved just by adding the following three lines (from the four you posted above) in the modulefile:

Code:
prepend-path LD_LIBRARY_PATH $::env(WM_PROJECT_DIR)/platforms/$::env(WM_OPTIONS)/lib/dummy
prepend-path LD_LIBRARY_PATH $::env(WM_PROJECT_DIR)/platforms/$::env(WM_OPTIONS)/lib
prepend-path LD_LIBRARY_PATH $::env(FOAM_EXT_LIBBIN)
Anyway, thanks once again

Regards

V.
vkrastev is offline   Reply With Quote

Old   October 18, 2012, 15:55
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Vesselin,

Mmm... I'm guessing that with only those 3 lines, you will not be able to run OpenFOAM in parallel... this was why I pointed out for you to look at "settings.csh"

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 18, 2012, 16:53
Default
  #9
Senior Member
 
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20
vkrastev is on a distinguished road
Hi bruno,

I'm happy to say that your guess is wrong the solvers work perfectly in parallel, and I think that this can be a consequence of the following two lines in the modulefile:

Code:
setenv MPI_ARCH_PATH   /caspur/shared/sw/devel/openmpi/1.4.3/gnu/4.4.3
setenv OPAL_PREFIX /caspur/shared/sw/devel/openmpi/1.4.3/gnu/4.4.3
Btw, I'll post here if i find any other problems during my runs on this machine.

Best regards

V.
wyldckat likes this.
vkrastev 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



All times are GMT -4. The time now is 03:18.