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

Installation of OF141dev on redhatEL 64bits problems with Allmake

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2008, 08:02
Default when doing Allmake with OpenFO
  #1
New Member
 
Yang Luchun
Join Date: Mar 2009
Posts: 10
Rep Power: 17
young is on a distinguished road
when doing Allmake with OpenFOAM-1.4.1-dev ,problems come out in direcory application!

someone gonna help me ,please!
oceans of thanks
young is offline   Reply With Quote

Old   April 30, 2008, 10:54
Default I am in the process of doing t
  #2
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
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
mirko is offline   Reply With Quote

Old   April 30, 2008, 21:55
Default sorry for replying later,but n
  #3
New Member
 
Yang Luchun
Join Date: Mar 2009
Posts: 10
Rep Power: 17
young is on a distinguished road
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 is offline   Reply With Quote

Old   May 1, 2008, 00:42
Default bad news . It doesn't work .
  #4
New Member
 
Yang Luchun
Join Date: Mar 2009
Posts: 10
Rep Power: 17
young is on a distinguished road
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:Pstream::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:Pstream::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:Pstream::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:Pstream::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:Pstream'
/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:Pstream::~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!!!
young 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation problems indy OpenFOAM Installation 7 April 3, 2009 09:40
Installation problems ianz8802 OpenFOAM Installation 37 January 30, 2009 13:20
OF141dev installation Woes chegdan OpenFOAM Installation 13 July 18, 2008 17:16
Installation Problems honcho OpenFOAM Installation 0 January 14, 2008 10:48
Problems with installation jonititan OpenFOAM Installation 4 November 6, 2005 04:16


All times are GMT -4. The time now is 20:27.