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

need help with installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2013, 07:54
Default need help with installation
  #1
New Member
 
pratap
Join Date: Nov 2013
Posts: 21
Rep Power: 12
cfdsat is on a distinguished road
Hello,

I have installed openfoam211 in a cluster with red hat linux os. Now I created a user directory and copied that icoFoam application, renamed it and changed to Make/file and started compiling. I got the following errors. Does anyone has any clue what is going on. The error message is attached in a txt file.
Attached Files
File Type: txt error.txt (16.8 KB, 6 views)
cfdsat is offline   Reply With Quote

Old   November 22, 2013, 08:13
Default
  #2
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Heilbronn
Posts: 183
Blog Entries: 1
Rep Power: 15
Linse is on a distinguished road
Dear Pratap,

unfortunately to me the error message is not really comprehensive.
It seems as if there was some missing dependencies, but with my basic knowledge there is no certainty in that assumption.

But maybe it was one of the typical mistakes that causes the problem?
- make a wclean in the source directory of the solver before compiling
- make sure your compile goal in Make/options is $FOAM_USER_APPBIN instead of $FOAM_APPBIN

Maybe one of these already is sufficient to solve the problem?

Please let us know after you try so we know if others have to look for the solution...
Linse is offline   Reply With Quote

Old   November 22, 2013, 08:56
Default
  #3
New Member
 
pratap
Join Date: Nov 2013
Posts: 21
Rep Power: 12
cfdsat is on a distinguished road
Hello Linsen,

I have already tried wclean and wmake and have FOAM_USER_APPBIN, but still it does not work.

I am sure dependencies are not missing, since openfoam is working fine only when i compile my user applications then there is a problem.

Could it be caused by compiler version. Please let me know.
cfdsat is offline   Reply With Quote

Old   November 22, 2013, 17:45
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Greetings to all!

@cfdsat: Regarding the GCC version, use this command:
Code:
gcc --version
And check against the compatibility matrix available here: http://openfoamwiki.net/index.php/In...ibility_Matrix

Which RHEL version are you using on the cluster?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 28, 2013, 16:13
Default
  #5
New Member
 
pratap
Join Date: Nov 2013
Posts: 21
Rep Power: 12
cfdsat is on a distinguished road
Hello Bruno,

The gcc version is 4.1.2 and red hat version is Red Hat enterprises Linux server release 5.8.

Looking at the compatability website, I need higher version of gcc probably 4.5 version. But One thing I am not sure why gcc matters only when I am trying to compile user applications. Since I had no problem in the openfoam installation.

Please let me know in the meanwhile i will ask system admin to install higher gcc version.
cfdsat is offline   Reply With Quote

Old   November 29, 2013, 14:58
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 cfdsat,

Since it's RHEL 5.8, I'm guessing that they built OpenFOAM 2.1.1 with GCC 4.4.something. Try this:
Code:
gcc44 --version
g++44 --version
If those two commands work and give the version of GCC 4.4, then that was likely the version that was used.

I'm also guessing here that if the previous commands give a good output, then the proper OpenFOAM environment set-up scripts aren't installed in the cluster.
But it all depends on how exactly they installed OpenFOAM in the cluster.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
OpenFOAM 2.2.2 source pack installation on Xubuntu 13.10 zordiack OpenFOAM Installation 1 October 26, 2013 14:08
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
Installation problems indy OpenFOAM Installation 7 April 3, 2009 10:40
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Installation problems shellbell1999 OpenFOAM Installation 9 April 6, 2006 14:29


All times are GMT -4. The time now is 06:12.