|
[Sponsors] |
How to install the OpenFoam in the cluster. Please help me! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 24, 2009, 14:19 |
How to install the OpenFoam in the cluster. Please help me!
|
#1 |
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17 |
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! |
|
November 25, 2009, 05:54 |
|
#2 |
Member
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 69
Rep Power: 17 |
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 |
|
November 25, 2009, 06:08 |
|
#3 |
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17 |
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? |
|
November 25, 2009, 06:30 |
|
#4 |
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17 |
OS should be Debian 4.0 "etch"
|
|
November 25, 2009, 06:50 |
|
#5 |
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17 |
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? |
|
November 27, 2009, 03:51 |
|
#6 |
Senior Member
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17 |
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. |
|
November 27, 2009, 04:00 |
|
#7 |
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17 |
Hello Markus:
Thanks so much for your reply. I will keep to try it. Best wishes! |
|
|
|
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 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 |
How to run Openfoam in a cluster after I install it | xiuying | OpenFOAM Installation | 5 | May 5, 2008 13:54 |