Problems running OpenFOAM 2.3 in parallel
Dear all,
Since I installed OpenFOAM 2.3 I've not been able to use it in parallel. I don't know why. It's been working perfectly for years with the previous versions and this one is giving me headache with two different machines. I am using Ubuntu 12.04, and I get the following error as soon as I try to run in parallel (this exemple is with Allrun in motorbike tutorial, but it's the same for every solver): Quote:
Regarding the setup I used the source files and compiled everything. After few times I managed to get no compilation errors but I am not able to run the cases in parallel yet. Thanks for your help Vincent |
Greetings Vincent,
Which installation instructions did you follow? Because according to the output you've provided, the problem is that the shell environment is configured to using the custom Open-MPI 1.6.5 that comes with OpenFOAM's ThirdParty package, but it's instead using the "libmpi.so" library present in your system, which is not compatible. Best regards, Bruno |
Possibly on the same topic, does OF-2.3.0 have a higher requirement of some kind for the version of OpenMPI?
Currently I have an installation of OF-2.3.0 on the cluster I work with, and for values of $NSLOTS less than or equal to 14, everything works perfectly. When I try and run with more then 14 processors, I get errors like: Code:
qrsh_starter: executing child process (null) failed: No such file or directory FOAM_MPI = openmpi-system and WM_MPLIB = SYSTEMOPENMPI With both 14 and 80 processors, the mpirun command is used via a qsub'd script (Sun Grid Engine) I'm further confused about the number 14. The cluster contains a collection of nodes, each with two 8-core processors, ie, 16 processing cores per node. Consequently, a limit of 16 would make me think I have problems communicating between nodes (although I have password-less ssh connections), but 14 seems a little peculiar. Edit: Pretty sure this is actually due to memory limits - the amount of memory I requested was slightly higher than the mem/proc available, so only 14 of the 16 cores could be used, since 14 * mem/proc was all of the memory on the node. So I guess this isn't curious at all, just when I ask for a 15th processor, it requires a second node. It's been a little while since I tried, but I'm pretty sure under OF-2.2.2 I had 32 cores working without issue. Best, Christian |
Quote:
Thanks for your reply. Actually, I would like to run my system mpirun, which is the one I normally used with the previous versions of OpenFOAM. But even explicitely calling the system mpirun (/usr/bin/mpirun -np 6 snappyHexMesh -parallel) I get a similar error: Code:
Regarding, the instructions I tried to follow the ones I found on openfoam.com: http://www.openfoam.org/download/source.php What do you suggest to fix this setup? Some more information, this is my LD_LIBRARY_PATH: Code:
echo $LD_LIBRARY_PATH |
Greetings to all!
@Christian: If I read your post correctly, you figured out that the problem was that more memory was need than there was available on the 1st node. Therefore, mystery solved :) @Vincent: If you followed the instructions from http://www.openfoam.org/download/source.php - and did not modify the setting in the variable "WM_MPLIB" to "SYSTEMOPENMPI", in the file "$HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc", then you have a conflict of settings, because you've built OpenFOAM with the custom Open-MPI and then you're trying to use the system's Open-MPI, which is likely incompatible. To know which mpirun it's being used, run: Code:
which mpirun Code:
source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc Bruno |
Hello wyldckat, I have a similar issue, thread:
https://www.cfd-online.com/Forums/op...imulation.html It would be very nice if you could check it out and see whether you can help me to get rid of the bug. Thanks in advance! |
Problems running OpenFOAM 2.3 in parallel
I am trying to run OpenFOAM while sharing the resources between two computers. I included the hostfile but am getting the following error:
Code:
[vm2:26669] *** Process received signal *** PS: I am using OpenFOAM v1812: Code:
$echo $WM_MPLIB |
I figured out what was wrong. In the host file I was using this format:
Code:
user@ip cpu=N Code:
ip cpu=N |
All times are GMT -4. The time now is 01:21. |