CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Parallel processing problem (http://www.cfd-online.com/Forums/openfoam-solving/103586-parallel-processing-problem.html)

newbie29 June 21, 2012 02:14

Parallel processing problem
 
Hello,


I started to use OpenFOAM about four weeks ago. I run OF on my private computer which got a Pentium quad core processor. I'm using openSUSE 12.1 and I have installed the newest OF version 2.1.1. When I start a calculation I can see trough out my system monitor that only one processor is working at 100% all the others are almost at 0%. Now I want to speed up my calculations and want to use at least 2 cores (preferable all 4 cores). I have copied the dam break tutorial and did the following commands (exactly like it says in the last entry here: http://www.cfd-online.com/Forums/ope...-parallel.html )

blockMesh
cp 0/alpha1.org 0/alpha1
setFields
decomposePar
mpirun -np 4 interFoam -parallel

I did'n t touch anything else at all. Everything seems to work fine until it comes to the last command. If I type in mpirun -np 4 interFoam -parallel I get the following error message:

sysop@PWIS12604:~/Documents/damBreak> mpirun -n 4 interFoam -parallel
[PWIS12604:05089] [[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file runtime/orte_init.c at line 125
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems. This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

orte_ess_base_select failed
--> Returned value Not found (-13) instead of ORTE_SUCCESS
--------------------------------------------------------------------------
[PWIS12604:05089] [[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file orterun.c at line 543
Does anyone know what that means? Does anyone have any idea how to fix that? I have searched a lot but I couldn't find any helpful information. I would greatly appreciate any suggestions.




Also I typed in mpirun -h which gave me the following output:
sysop@PWIS12604:~/Documents/damBreak> mpirun -h
mpirun (Open MPI) 1.4.3

Usage: mpirun [OPTION]... [PROGRAM]...
Start the given program using Open RTE

-am <arg0> Aggregate MCA parameter set file list
--app <arg0> Provide an appfile; ignore all other command line
options
-bind-to-board|--bind-to-board
Whether to bind processes to specific boards
(meaningless on 1 board/node)
-bind-to-core|--bind-to-core

So I assume that I have a proper mpi version installed. What am I doing wrong? Do I forget something really important I have to do? Do I need any further files to run a parallel calculation?


Thanks a lot, best regards

newbie29 June 22, 2012 04:23

Hello


in case someone has the same problem and is concerned about the solution. I was able to fix the problem. Previously I have only installed the normal OpenMPI package. Apparently that was not enough. I have also installed the OpenMPI-devel package. Since I installed that package the calculation started and everything works just fine.


All times are GMT -4. The time now is 21:02.