|
[Sponsors] |
November 28, 2016, 07:18 |
Error in running in parallel
|
#1 |
New Member
Dennis
Join Date: Oct 2016
Posts: 11
Rep Power: 10 |
Hello!
Currently I'm trying to run a simulation of simpleFoam in parallel, but I'm running into an error for which I haven't found a solution and it's been stalling my progress for some time now. It would be really great if you could indicate where the problem lies. The relevant steps I have followed up to the error: 1. Transform .unv file to polymesh. The mesh checks out and looks good in paraView. 2. Decompose the solution setup into a number (I used 4 in this case) processors, which went without problems. 3. Run simpleFoam in parallel using "mpirun -np 4 simpleFoam -parallel" After running the command in step 3 the error shows up 4 times: Code:
--> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 79. Does anybody have a clue where this could come from? Thank you. Dennis |
|
November 28, 2016, 07:27 |
|
#2 |
New Member
Dennis
Join Date: Oct 2016
Posts: 11
Rep Power: 10 |
Probably useful:
-When running icoFoam or simpleFoam there doesn't seem to be a problem. - I'm using the latest version of OpenFOAM on windows 7, downloaded from http://www.cfdsupport.com/openfoam-for-windows.htm Also When trying to run the same (both cavity decomposed and my case) on CAELinux, the cavity runs both with and without MPIRUN without error. Doing exactly the same with my smpleFoam case gives the following error: Code:
--> FOAM FATAL IO ERROR: Attempt to return dictionary entry as a primitive file: /opt/openfoam211/tutorials/DN25/system/fvSolution::relaxationFactors::equations from line 60 to line 61. From function ITstream& primitiveEntry::stream() const in file db/dictionary/dictionaryEntry/dictionaryEntry.C at line 82. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::IOerror::abort() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 Foam::dictionaryEntry::stream() const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #3 Foam::solution::read(Foam::dictionary const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #4 Foam::solution::solution(Foam::objectRegistry const&, Foam::fileName const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #5 Foam::fvMesh::fvMesh(Foam::IOobject const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #6 in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/simpleFoam" #7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #8 |
|
November 29, 2016, 04:08 |
|
#3 |
New Member
Dennis
Join Date: Oct 2016
Posts: 11
Rep Power: 10 |
Found the answer: apparently the windows version from CFD support uses the mpiexec.exe package instead of mpirun.
http://www.cfd-online.com/Forums/ope...llel-case.html |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error while running in parallel using openmpi on local mc 6 processors | suryawanshi_nitin | OpenFOAM | 10 | February 22, 2017 22:33 |
Running mapFields with Parallel Source and Parallel Target | RDanks | OpenFOAM Pre-Processing | 4 | August 2, 2016 06:24 |
running OpenFoam in parallel | vishwa | OpenFOAM Running, Solving & CFD | 22 | August 2, 2015 09:53 |
Unconsistent parallel jobs running time | arnaud6 | OpenFOAM Running, Solving & CFD | 4 | February 10, 2015 13:42 |
Problems running in parallel - missing controlDict | Argen | OpenFOAM Running, Solving & CFD | 4 | June 7, 2012 04:50 |