|
[Sponsors] |
[OpenFOAM.org] mpirun not working in paralleö with OpenMPI |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 14, 2012, 05:48 |
mpirun not working in paralleö with OpenMPI
|
#1 |
Member
Pekka Pasanen
Join Date: Feb 2012
Location: Finland
Posts: 87
Rep Power: 14 |
I'm having a lot of trouble getting mpirun to work in parallel with OpenFOAM 2.1.0. I compiled it from Thirdparty-2.1.0 with Allwmake and it compiled without errors. I then managed to run decomposePar on my case nicely but when i try to invoke mpirun according to user guide it gives me the following error:
$mpirun -np 2 buoyantBoussinesqSimpleFoam -parallel --> FOAM FATAL ERROR: Trying to use the dummy Pstream library. This dummy library cannot be used in parallel mode From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 37. FOAM exiting --> FOAM FATAL ERROR: Trying to use the dummy Pstream library. This dummy library cannot be used in parallel mode From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 37. FOAM exiting -------------------------------------------------------------------------- mpirun noticed that the job aborted, but has no info as to the process that caused that situation. -------------------------------------------------------------------------- It also gives the same error message with Test-parallel. mpirun seems to be working otherwise, just not with the -parallel option. For example i can run following without any problems: $mpirun -np 2 Test-parallel I'm totally stuck with this problem, which seems to be somehow related to Pstream library. I haven't made modifications to files in Thirdparty-2.1.0 or in OpenFOAM installation. There seems to be others with the same errors, but no solutions that i could find. Any help is very much appreciated, as my case could really use more than one core. |
|
Tags |
openmpi |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MPIrun Problem with FoamJob Workaround | kaszt | OpenFOAM Running, Solving & CFD | 3 | October 4, 2018 12:55 |
using mpirun | EmadTandis | OpenFOAM Running, Solving & CFD | 1 | December 4, 2016 14:29 |
[OpenFOAM.org] "Host key verification failed". upgrades to OpenMPI with OpenFoam 2.3.1 | derekm | OpenFOAM Installation | 0 | January 6, 2016 06:54 |
[OpenFOAM.org] OpenMPI Installation with OpenFOAM 3.0 | JCollins | OpenFOAM Installation | 4 | December 29, 2015 10:35 |
OpenMPI fails cluster run with an orphaned IP Address | svg | OpenFOAM Running, Solving & CFD | 0 | January 28, 2014 03:41 |