How to install the OpenFoam in the cluster. Please help me!
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)
case "$WM_MPLIB" in
# 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!
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.
There are so many thanks for your reply. At least I know how other person has done it.
OS: Linux version 126.96.36.199
By the way, what is Rocks distribution?
OS should be Debian 4.0 "etch"
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?
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.
Thanks so much for your reply. I will keep to try it.
|All times are GMT -4. The time now is 07:49.|