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

Install OpenFoam on Redhat server

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 25, 2010, 02:27
Default Install OpenFoam on Redhat server
  #1
New Member
 
Maolong LIU
Join Date: Apr 2010
Location: Japan
Posts: 28
Rep Power: 7
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, 02:31
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
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 live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   May 25, 2010, 02:38
Default
  #3
New Member
 
Maolong LIU
Join Date: Apr 2010
Location: Japan
Posts: 28
Rep Power: 7
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, 02:41
Default
  #4
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
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 live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   May 25, 2010, 02:47
Default
  #5
New Member
 
Maolong LIU
Join Date: Apr 2010
Location: Japan
Posts: 28
Rep Power: 7
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18: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 00:48
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


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