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

Install OpenFoam on Redhat server

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2010, 03:27
Default Install OpenFoam on Redhat server
  #1
Member
 
Maolong LIU
Join Date: Apr 2010
Location: USA
Posts: 31
Rep Power: 16
maolongliu is on a distinguished road
Hi, I was try to install OpenFOAM 1.6.x on the Reahat server. There is some difficuities during compiling, so I was think if it is possible to move the one I have compiled on my own Fedora server to this Redhat server.

I use the pack toos in the OpenFOAM bin fold, and copy to the new machine, unpack, but there is a error message, like this
"ELF files OS ABI invalid"
But when I download the packed files of OPenFOAM 1.6, unpack, and it works. So I don't know why my packed files did not work.
Can any one help me?
Thanks.
maolongliu is offline   Reply With Quote

Old   May 25, 2010, 03:31
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
What version of Red Hat?

Using Red Hat is a pain (at least I find it painful compared to SUSE/openSUSE). The easy way to have a working version of OpenFOAM on RHEL is to
  • Use the ThirdParty package provided by OpenCFD.
  • Recompile from source (take the source from the git repository, since they contain many fixes).
  • Pay attention that the directory "ThirdParty-1.6" must be renamed to "ThirdParty-1.6.x" if you use the source from git instead than the one from the website.
You probably don't need to compile paraview on a server, so you avoid some trouble.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   May 25, 2010, 03:38
Default
  #3
Member
 
Maolong LIU
Join Date: Apr 2010
Location: USA
Posts: 31
Rep Power: 16
maolongliu is on a distinguished road
Red Hat 5.3.
Yeah, I don't need paraView on it.
As it is a very important server, I need the permission to install or update some new parts, like git.
So I was thinking to move the one on the Fedora server to this server.

Quote:
Originally Posted by alberto View Post
What version of Red Hat?

Using Red Hat is a pain (at least I find it painful compared to SUSE/openSUSE). The easy way to have a working version of OpenFOAM on RHEL is to
  • Use the ThirdParty package provided by OpenCFD.
  • Recompile from source (take the source from the git repository, since they contain many fixes).
  • Pay attention that the directory "ThirdParty-1.6" must be renamed to "ThirdParty-1.6.x" if you use the source from git instead than the one from the website.
You probably don't need to compile paraview on a server, so you avoid some trouble.

Best,
maolongliu is offline   Reply With Quote

Old   May 25, 2010, 03:41
Default
  #4
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
To simply get the source code, you can use git on your workstation, and copy it on the server.

If you use the whole third-party package, with gcc, cmake and so on, you can also build OF on your machine, create a tar.gz, move it to the RH server and it's done.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   May 25, 2010, 03:47
Default
  #5
Member
 
Maolong LIU
Join Date: Apr 2010
Location: USA
Posts: 31
Rep Power: 16
maolongliu is on a distinguished road
Thanks. I will try again.
I compiled OpenOFAM 1.6.x on my own workstation with system GCC, etc. And then copy to Red Hat server, there are some error.
You think this is the problem?
I will try use gcc of the ThirdParty fold.

Quote:
Originally Posted by alberto View Post
To simply get the source code, you can use git on your workstation, and copy it on the server.

If you use the whole third-party package, with gcc, cmake and so on, you can also build OF on your machine, create a tar.gz, move it to the RH server and it's done.

Best,
maolongliu 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
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
install openfoam 1.6 on opensuse 11.0 andresbh OpenFOAM Installation 8 September 30, 2009 01:48
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 12:32
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 14:35.