|
[Sponsors] |
Parallel run: bool ipstream::init attempt to run parallel on 1 processor |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 10, 2017, 04:17 |
Parallel run: bool ipstream::init attempt to run parallel on 1 processor
|
#1 |
New Member
Sarah Leenknegt
Join Date: Aug 2015
Posts: 14
Rep Power: 11 |
Dear all,
We are having trouble running OpenFOAM 3+ cases in parallel. When running: mpiexec -np 2 buoyantboussinesqsimplefoam.exe -parallel (on Windows 7 and 10), we get: --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor This happens in a newly set up case, but also in old cases which were running fine with OpenFOAM 3+ about a month ago. So we don't believe the case is set up or decomposed incorrectly. We have two theories: - something got messed up by a windows update - we have since then installed FDS, and this messed up the mpiexec for openFOAM I am by far no IT-expert, so I don't know it these are even viable theories? Any ideas on what to read or what to try? I found an old thread that may help, but don't know how to translate the bashrc to Windows: OF 2.0.1 parallel running problems Thanks! Sarah |
|
January 11, 2017, 03:45 |
|
#2 |
New Member
Sarah Leenknegt
Join Date: Aug 2015
Posts: 14
Rep Power: 11 |
Dear all
As an answer to my own question, we found the problem: Using "where mpiexec" in the cmd-window, there were indeed two different mpiexec.exe's installed: FDS and Microsoft HPC Pack. The one from FDS has priority, but OpenFOAM needs the other one. Solution: run the mpiexec with the full path. There is probably a more elegant solution, but this one works. :-) Cheers, Sarah |
|
January 11, 2017, 04:24 |
|
#3 | |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
Quote:
Code:
alias of240="blabla && PATH='path-to-directory-containing-the-desired-mpiexec:'$PATH" Disadvantage: if other duplicate commands appear in those two directories (the two containing the two different mpiexec's), preference for a different command might suddenly be given to the one you didn't want, but this scenario is not very likely. |
||
Tags |
mpi error, parallel calculation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar no field transfert | Jeanp | OpenFOAM Pre-Processing | 3 | June 18, 2022 13:01 |
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library | aylalisa | OpenFOAM Installation | 23 | June 15, 2015 15:49 |
foam-extend_3.1 decompose and pyfoam warning | shipman | OpenFOAM | 3 | July 24, 2014 09:14 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |