error while running mpirun command in openfoam
I am getting following error message while running mpirun command on a server
Code:
It looks like opal_init failed for some reason; your parallel process is Note: I installed OF-3.0.1 on the server from source code |
Quick answer/question: Have you managed to solve this problem? I only saw your post today.
If not yet, the problem is likely because the wrong MPI toolbox is being used, specifically the mpirun version being used. If you Google for the following sentence: Code:
site:cfd-online.com "wyldckat" "OPAL_SUCCESS" |
Quote:
Sorry for the late reply. I tried my best to rectify the situation with the help of the forum but unable to solve the problem. mpirun version used is openmpi-1.10.0. OF version-3.0.1 and OS on cluster is CentOS 6.7. I have compressed installed OF and thirdParty folders and am sending you the google drive link to that file in a PM. Please have a look at my problem. I request you to please help me as soon as you can (I have to run cases for my thesis and not much time left!!). Eagerly waiting for your reply. Thanks & Regards Tarun |
Hi Tarun,
Many thanks for sharing your whole installation! I've tested it in a VM with CentOS 6.8 and was able to reproduce the problem. Furthermore, I've finally figured out how to solve the problem. If you run the following command before trying to run mpirun: Code:
export OPAL_LIBDIR=$OPAL_PREFIX/lib64/ If this solves the problem, then:
Curiously enough, I had spotted this issue back in 2013: https://www.cfd-online.com/Forums/op...tml#post457794 Best regards, Bruno |
Thank you Bruno !
On one machine I had problem, solution you described, but on another machine I'm getting way different problem... I want to use same case but I'm getting error message. Code:
mpirun has detected an attempt to run as root. every time I want to launch OpenFOAM I gave to call ./startOpenFOAM command. after this I cant use any mpirun commands. My workflow is showed below Code:
0. gmsh file.geo -3 -o file.msh |
mpirun not found
Hey
I am a beginner user of OpenFOAM yet. I am trying to run the snappyHexMesh in parallel, but this error comes out: $ mpirun -np 4 snappyHeymesh -overwrite -parallel -bash: mpirun: command not found If anyone can give me advise how to run it in parallel or what is the issue, i will appreciate. Thanks |
Seriously?? are you really using 'snappyHeymesh' instead of 'SnappyHexMesh' ??
|
mpirun has attempted to run as root.
Hi,
I too got this problem in my ubuntu machine. Any one have solution? I have installed openfoam-1812 using docker in my ubuntu. I am getting this problem. Thanks in advanc Quote:
|
Hi,
I got the same error while running in parallel. Have anybody found a solution for this problem? Thanks in advanced. |
All times are GMT -4. The time now is 08:41. |