Install OpenFOAM v1906 on a cluster with CentOS/RHEL 7
Hey guys
I am trying to install the openFOAM on the university cluster and i have been following this link for reference. https://www.openfoam.com/download/install-source.php and every thing seems right until i run the command: foamInstallationTest and this is the error message displayed saying 'icoFoam not installed: (i apologize for the bad formatting of the post, it is actually my first post) Code:
Thank you very much in advance!!!!:):):):) |
Quick question: In that page you provided, it gives a link to the Build page: https://www.openfoam.com/code/build-guide.php - did you follow the instructions given on that page?
|
Quote:
Hello Bruno Thanks for replying. Yes i follow everything on the build page and when i try the command 'foamSystemCheck' it says the following: Code:
bash: foamSystemCheck: command not found... Code:
bash: mpicc: command not found... So i am not sure what is the cause of the problem Thank you very much !!! |
Quick answers:
|
Hello Bruno
Thank you for your reply ! When i tried your suggestion, i found out that my university's cluster does not have 'openmpi-x86_64' available, so i loaded a one of existing openmpi which is 'openmpi/1.10.7-mlx' then i tried to compile the openFOAM with ./Allwmake and i get the following warning: Code:
/home/zzha518/ny81/zzha518/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so: undefined reference to `MPI_Finalize' By the looks of error message, i am not sure if it is to do with the openmpi that i did not use the right one or something else i am not doing correctly. So the Openmpis that is available in the cluster is as follows: Code:
openmpi/1.10.3-gcc4-mlx And i am so sorry if i am asking very obvious questions, but i have zero experience in doing jobs in cluster previously. Thank your very much for your patience! :):) |
Quick answer: The commands you should execute are as follows:
Code:
module load openmpi/1.10.7-mlx Then check what error messages you get. If you only get the error about "no completion added", then Open-MPI should be ready to be used with OpenFOAM. If so far so good, then run: Code:
foam However, if sourcing OpenFOAM's "etc/bashrc" file gave the error about mpicc or some other error, then run: Code:
echo $MPI_ARCH_PATH |
Hi Bruno
Thanks for replying! When i load the openmpi and source the bashrc, there was nothing happening in the command window so i waited for a hour or two and found out there was still nothing. and i can not type any command either except ctrl+C to terminate the process. Code:
[zzha518@monarch-login1 ~]$ source /home/zzha518/ny81/zzha518/OpenFOAM/OpenFOAM-v1906/etc/bashrc I am not sure if it is suppose to take that long to source the bashrc or anything has gone wrong again? But the following is the what i get when i call the $MPI_ARCH_PATH Code:
[zzha518@monarch-login1 ~]$ echo $MPI_ARCH_PATH Code:
[zzha518@monarch-login1 ~]$ ls -l $MPI_ARCH_PATH Code:
[zzha518@monarch-login1 ~]$ ls -l $MPI_ARCH_PATH/include Regards |
Hi Bruno
It seems that it was the server to have a technical issue from my last post to not respond. And this is what i get when i run the process again when the cluster is normal again. So when i try to load the openmpi-1.10.7 i give the following message: Code:
[zzha518@monarch-login2 ~]$ module load openmpi/1.10.7-1.mlx So i changed to another openmpi (openmpi/1.10.3-gcc5). then i source the bashrc and get the following: Code:
[zzha518@monarch-login2 ~]$ module load openmpi/1.10.3-gcc5 Any suggesting on where should i proceed next? Thank you very much!! :):):) Regards |
All times are GMT -4. The time now is 16:09. |