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

How to install the OpenFoam in the cluster. Please help me!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2009, 14:19
Default How to install the OpenFoam in the cluster. Please help me!
  #1
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 8
flying is on a distinguished road


Hey foamers:


I hope all of you are fine. But I am really depressed by setting up openfoam in the cluster.


There is gcc4.4.1 and openmpi 1.3.3 in the cluster.


I should use all of the complier in the cluster. I am not allowed to use any complier in the thirdparty when the code is run in multi-nodes.


So, I need to compile the openfoam with the compile in cluster.


I have to set up in my home directory by myself.



First question, Are gcc 4.4.1 and openmpi 1.3.3 enough for compile openfoam 1.5?
Second question, if it is enough , how do I do it?


I have changed the complier option and mpi setting up option. As follows


# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# WM_COMPILER_INST = OpenFOAM | System
#
WM_COMPILER_INST=OpenFOAM (Orginal)
WM_COMPILER_INST=System (changed)

case "$WM_MPLIB" in
OPENMPI)
mpi_version=openmpi-1.2.6
# export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version
#
export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version (orginal)
# export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS (orginal

export MPI_ARCH_PATH=/opt/openmpi/1.3.3/gcc-4.4.1 (changed)


It could compile. But there is some error information as follows:



Note: ignore spurious warnings about missing mpicxx.h headers
+ wmake libso mpi
Making dependency list for source file OPwrite.C
could not open file ompi/mpi/cxx/pmpicxx.h for source file OPwrite.C
could not open file ompi/mpi/cxx/constants.h for source file OPwrite.C
could not open file ompi/mpi/cxx/functions.h for source file OPwrite.C
could not open file ompi/mpi/cxx/datatype.h for source file OPwrite.C
could not open file ompi/mpi/cxx/exception.h for source file Opwrite.C



Who would like to give me some idea about it?


Thanks and best wishes!
flying is offline   Reply With Quote

Old   November 25, 2009, 05:54
Default
  #2
Member
 
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 51
Rep Power: 8
francescomarra is on a distinguished road
Dear flying,

it is difficult for me to help you. I was able to install OpenFOAM 1.6.x on my cluster based on the Rocks distribution. I chosen to adopt the compiler and mpi distributed in OpenFOAM/Third_party.
I think you should mention the OS which is running on your cluster.

Regards,

Franco
francescomarra is offline   Reply With Quote

Old   November 25, 2009, 06:08
Default
  #3
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 8
flying is on a distinguished road
There are so many thanks for your reply. At least I know how other person has done it.
OS: Linux version 2.6.27.22

By the way, what is Rocks distribution?
flying is offline   Reply With Quote

Old   November 25, 2009, 06:30
Default
  #4
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 8
flying is on a distinguished road
OS should be Debian 4.0 "etch"
flying is offline   Reply With Quote

Old   November 25, 2009, 06:50
Default
  #5
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 8
flying is on a distinguished road
There are other questions. Please give me an answer.

How did you set up the openfoam?
Did you install them in every node or only in one node?
Did you only set up in the root account or in th user account?
flying is offline   Reply With Quote

Old   November 27, 2009, 03:51
Default
  #6
Senior Member
 
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 176
Rep Power: 8
markusrehm is on a distinguished road
Hello Flying,

it is not easy to give general answers because it depends very much on you environment. For example, how are the nodes connected to the master and how is the storage attached?

So you should first install OpenFoam as a user in the home-space. Once this runs well you can make it available for all users in a system directory.


Regards, Markus.
markusrehm is offline   Reply With Quote

Old   November 27, 2009, 04:00
Default
  #7
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 8
flying is on a distinguished road
Hello Markus:

Thanks so much for your reply. I will keep to try it.

Best wishes!
flying 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
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
How to run Openfoam in a cluster after I install it xiuying OpenFOAM Installation 5 May 5, 2008 12:54


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