CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation of OF141dev on redhatEL 64bits problems with Allmake (http://www.cfd-online.com/Forums/openfoam-installation/57389-installation-of141dev-redhatel-64bits-problems-allmake.html)

young April 30, 2008 08:02

when doing Allmake with OpenFO
 
when doing Allmake with OpenFOAM-1.4.1-dev ,problems come out in direcory application!

someone gonna help me ,please!
oceans of thanks

mirko April 30, 2008 10:54

I am in the process of doing t
 
I am in the process of doing the same install on 64-bit RHEL5. Quick summary: The binary distribution does not work because of libraries mismatch between SuSe (on which OF is developped) and RH.

You have several options on how to proceed
I managed to do a build using the instructions posted by Hrvoje. See the following post for the link:

http://www.cfd-online.com/cgi-bin/Op...2235#POST22235

Couple of comments regarding his instructions:

The svn command to check out the distribution is at the end of the file

You can skip the dx software package -- I was not able to compile it. Some people use it instead of paraview. Because of this, the build procedure will report a whole bunch of errors because the package is missing, but I believe that you can disregard them.

You can remove OpenFOAM's links to dx (and thereby remove those errors) by removing the dxFoamExec directory -- look for dxFoamExec directory in the ~/OF/OF-1.4.1 tree.
(http://www.cfd-online.com/cgi-bin/Op...2358#POST22358)

(I am only at my first week with OF, and much of the above is knowledge of others -- trying to spread the credit, not the blame).

Mirko

young April 30, 2008 21:55

sorry for replying later,but n
 
sorry for replying later,but now is the morning time in China!
Thanks very much;
i'll try later!!!

I'm using the solver turbDyMFoam to calculate the force of a submarine doing some swaying motions;and I want to write some Open Boundry Conditiona(such as Orlanski ...)
Could you give me some advices on this?

PS: A nice day to everybody!
PS2: In China, today is the May Day-a nation-wide festival, and every Chinese is on vacation!Wish you enjoy it!

young May 1, 2008 00:42

bad news . It doesn't work .
 
bad news .
It doesn't work .
the errors also exist in the directory applications/ ;
for example ,in solvers/../turbDyMFoam:
errors are :

Making dependency list for source file turbDyMFoam.C
SOURCE=turbDyMFoam.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/dynamicFvMesh/lnInclude -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/dynamicMesh/lnInclude -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/meshTools/lnInclude -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/turbulenceModels -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/turbDyMFoam.o
/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude/readPISOControl s.H: In function 鈥*nt main(int, char**)鈥?
/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude/readPISOControl s.H:3: warning: unused variable 鈥榥Corr鈥?/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude/r eadTimeControls.H:40: warning: unused variable 鈥榤axCo鈥?g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/dynamicFvMesh/lnInclude -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/dynamicMesh/lnInclude -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/meshTools/lnInclude -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/turbulenceModels -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC Make/linux64GccDPOpt/turbDyMFoam.o -L/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linux64GccDPOpt \
-ldynamicFvMesh -ldynamicMesh -lmeshTools -lincompressibleTurbulenceModels -lincompressibleTransportModels -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linux64GccDPOpt/turbDyMFo am
/usr/bin/ld: warning: libPstream.so, needed by /home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linux64GccDPOpt/libOpenFOAM.so, not found (try using -rpath or -rpath-link)
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZN4Foam7Pstream7sca tterIdEEv RKNS_4ListINS0_11commsStructEEERT_+0x45): In function `void Foam::Pstream::scatter<double>(Foam::List<foam::ps tream::commsstruct> const&, double&)':
: undefined reference to `Foam::IPstream::read(int, char*, long)'
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZN4Foam7Pstream7sca tterIdEEv RKNS_4ListINS0_11commsStructEEERT_+0x71): In function `void Foam::Pstream::scatter<double>(Foam::List<foam::ps tream::commsstruct> const&, double&)':
: undefined reference to `Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifPstream::write(int, char const*, long, bool)'
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZN4Foam7Pstream6gat herIdNS_5 maxOpIdEEEEvRKNS_4ListINS0_11commsStructEEERT_RKT0 _+0x68): In function `void Foam::Pstream::gather<double,> >(Foam::List<foam::pstream::commsstruct> const&, double&, Foam::maxOp<double> const&)':
: undefined reference to `Foam::IPstream::read(int, char*, long)'
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZN4Foam7Pstream6gat herIdNS_5 maxOpIdEEEEvRKNS_4ListINS0_11commsStructEEERT_RKT0 _+0x99): In function `void Foam::Pstream::gather<double,> >(Foam::List<foam::pstream::commsstruct> const&, double&, Foam::maxOp<double> const&)':
: undefined reference to `Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifPstream::write(int, char const*, long, bool)'
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZN4Foam7Pstream7sca tterIbEEv RKNS_4ListINS0_11commsStructEEERT_+0x45): In function `void Foam::Pstream::scatter<bool>(Foam::List<foam::pstr eam::commsstruct> const&, bool&)':
: undefined reference to `Foam::IPstream::read(int, char*, long)'
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZN4Foam7Pstream7sca tterIbEEv RKNS_4ListINS0_11commsStructEEERT_+0x74): In function `void Foam::Pstream::scatter<bool>(Foam::List<foam::pstr eam::commsstruct> const&, bool&)':
: undefined reference to `Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifPstream::write(int, char const*, long, bool)'
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZN4Foam7Pstream6gat herIbNS_5 andOpIbEEEEvRKNS_4ListINS0_11commsStructEEERT_RKT0 _+0x62): In function `void Foam::Pstream::gather<bool,> >(Foam::List<foam::pstream::commsstruct> const&, bool&, Foam::andOp<bool> const&)':
: undefined reference to `Foam::IPstream::read(int, char*, long)'
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZN4Foam7Pstream6gat herIbNS_5 andOpIbEEEEvRKNS_4ListINS0_11commsStructEEERT_RKT0 _+0x9d): In function `void Foam::Pstream::gather<bool,> >(Foam::List<foam::pstream::commsstruct> const&, bool&, Foam::andOp<bool> const&)':
: undefined reference to `Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifPstream::write(int, char const*, long, bool)'
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZN4Foam3sumIdNS_13f vsPatchFi eldENS_11surfaceMeshEEENS_11dimensionedIT_EERKNS_1 4GeometricFieldIS4_T0_T1_EE+0x 57): In function `Foam::dimensioned<double> Foam::sum<double,>(Foam::GeometricField<double,> const&)':
: undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&)'
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZNK4Foam16Dimension edFieldId NS_7volMeshEE15weightedAverageERKS2_+0x92): In function `Foam::DimensionedField<double,>::weightedAverage( Foam::DimensionedField<double, > const&) const':
: undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&)'
Make/linux64GccDPOpt/turbDyMFoam.o(.gnu.linkonce.t._ZNK4Foam16Dimension edFieldId NS_7volMeshEE15weightedAverageERKS2_+0x10e): In function `Foam::DimensionedField<double,>::weightedAverage( Foam::DimensionedField<double, > const&) const':
: undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&)'
/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linux64GccDPOpt/libdynamicMesh.so: undefined reference to `Foam::IPstream::IPstream(int, int, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber)'
/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `vtable for Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifPstream'
/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::exit(int)'
/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::addValidParOptions(Foam::HashTable <foam::string,>&)'
/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::init(int&, char**&)'
/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::abort()'
/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linux64GccDPOpt/libdynamicMesh.so: undefined reference to `Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifPstream::~OPstream()'
collect2: ld returned 1 exit status
make: *** [/home/ylc/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linux64GccDPOpt/turbDyMF oam] Error 1


Why??

if you can slove , please help me ,oceans of thanks!!!


All times are GMT -4. The time now is 08:23.