Installing OpenFOAM 1.7.0 on openSUSE and CentOS 5.5
Quote:
I also had the similar problem as follows: lnInclude/Switch.H:140: note: candidates are: Foam::Switch::Switch(int) lnInclude/Switch.H:134: note: Foam::Switch::Switch(bool) lnInclude/Switch.H:62: note: Foam::Switch::Switch(const Foam::Switch&) make: *** [Make/linux64GccDPOpt/argList.o] Error 1 + wmake libso lagrangian/basic wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file passiveParticle/passiveParticleCloud.C Making dependency list for source file indexedParticle/indexedParticleCloud.C I am installing OF 1.7.0 in OpenSuse. I used the same source package to install it on my PC and that is successful. But when I did it on another machine, the error appears, and lots of the following appears: /usr/bin/ld: cannot find -lfiniteVolume Does anybody know how to solve it? best regards, H |
Hi Bruno,
When I compiled OF170, the following errors appear, and they are as follows(This is the first error in the compilation process): ....... + WM_OPTIONS=linux64GccDPOptOPENMPI + wmake libso mpi '/users/hz283/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/openmpi-1.4.1/libPstream.so' is up to date. + wmake libo OSspecific/POSIX '/users/hz283/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libOSspecific.o' is up to date. + wmake libso OpenFOAM SOURCE=global/global.Cver ; sed -e 's/VERSION_STRING/1.7.0/' -e 's/BUILD_STRING/1.7.0-21131bcbd876/' $SOURCE > Make/linux64GccDPOpt/global.C; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/users/hz283/OpenFOAM/ThirdParty-1.7.0/zlib-1.2.3 -IlnInclude -I. -I/users/hz283/OpenFOAM/OpenFOAM-1.7.0/src/OpenFOAM/lnInclude -I/users/hz283/OpenFOAM/OpenFOAM-1.7.0/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPOpt/global.C -o Make/linux64GccDPOpt/global.o SOURCE=global/argList/argList.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/users/hz283/OpenFOAM/ThirdParty-1.7.0/zlib-1.2.3 -IlnInclude -I. -I/users/hz283/OpenFOAM/OpenFOAM-1.7.0/src/OpenFOAM/lnInclude -I/users/hz283/OpenFOAM/OpenFOAM-1.7.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/argList.o lnInclude/dictionaryTemplates.C: In member function ‘T Foam::dictionary::lookupOrDefault(const Foam::word&, const T&, bool, bool) const [with T = Foam::Switch]’: global/argList/argList.C:396: instantiated from here lnInclude/dictionaryTemplates.C:44: error: call of overloaded ‘Switch(Foam::pTraits<Foam::Switch>)’ is ambiguous lnInclude/Switch.H:140: note: candidates are: Foam::Switch::Switch(int) lnInclude/Switch.H:134: note: Foam::Switch::Switch(bool) lnInclude/Switch.H:62: note: Foam::Switch::Switch(const Foam::Switch&) make: *** [Make/linux64GccDPOpt/argList.o] Error 1 + wmake libso lagrangian/basic '/users/hz283/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/liblagrangian.so' is up to date. + wmake libso triSurface '/users/hz283/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libtriSurface.so' is up to date. + wmake libso edgeMesh '/users/hz283/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libedgeMesh.so' is up to date. + wmake libso surfMesh '/users/hz283/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libsurfMesh.so' is up to date. + decompositionMethods/AllwmakeLnInclude + wmakeLnInclude decompositionMethods + wmakeLnInclude metisDecomp + wmakeLnInclude parMetisDecomp + wmakeLnInclude scotchDecomp + dummyThirdParty/Allwmake + wmake libso scotchDecomp ....... The linux kernal version is 2.6.18-194.17.1.el5. Thank you very much for your help. best , H |
Hi H,
Quote:
In the same machine where I had tested fireFoam 1.6-1.0 and OpenFOAM 1.7.0, I've also tested with success with OpenFOAM 1.7.1. Therefore, I think it's safe for you to install OpenFOAM 1.7.1, but 1.7.0 should also work with the instructions from the link above. As for openSUSE, which version do you have installed? 12.2, 12.1, 11.4, or older!? Run this command to know which version you've got: Code:
cat /etc/SuSE-release Bruno PS: I've moved your questions to a new thread. |
All times are GMT -4. The time now is 00:09. |