|
[Sponsors] |
December 8, 2021, 14:20 |
Problems with running in parallel
|
#1 |
New Member
Miguel Martinez Valero
Join Date: Dec 2021
Posts: 2
Rep Power: 0 |
Hello!
I have just installed OpenFOAM8 in my workstation, by following the steps indicated in the official website. However, when I try to perform a computation in parallel I obtain the following error after typing this: $ mpirun -np 4 pimpleFoam -parallel | tee log --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function static bool Foam::UPstream::init(int&, char**&, bool) in file UPstream.C at line 112. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function static bool Foam::UPstream::init(int&, char**&, bool) in file UPstream.C at line 112. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #2 Foam::UPstream::init(int&, char**&, bool) at ??:? #3 Foam::argList::argList(int&, char**&, bool, bool, bool) --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function static bool Foam::UPstream::init(int&, char**&, bool) in file UPstream.C at line 112. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #4 at ??:? #2 Foam::UPstream::init(int&, char**&, bool) at ??:? #1 Foam::error::abort()? at ??:? #3 Foam::argList::argList(int&, char**&, bool, bool, bool) in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" #5 __libc_start_main at ??:? #2 Foam::UPstream::init(int&, char**&, bool) in "/lib/x86_64-linux-gnu/libc.so.6" #6 at ??:? #4 ? at ??:? #3 Foam::argList::argList(int&, char**&, bool, bool, bool)? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" [fld-stage-2:68972] *** Process received signal *** [fld-stage-2:68972] Signal: Aborted (6) [fld-stage-2:68972] Signal code: (-6) [fld-stage-2:68972] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f72ef613210] [fld-stage-2:68972] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f72ef61318b] [fld-stage-2:68972] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f72ef5f2859] [fld-stage-2:68972] [ 3] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x205)[0x7f72efe4b535] [fld-stage-2:68972] [ 4] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x219 )[0x7f72ef5c1de9] [fld-stage-2:68972] [ 5] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x885)[0x7f72efe63e65] [fld-stage-2:68972] [ 6] pimpleFoam(+0x2bc4f)[0x55fe6b89fc4f] [fld-stage-2:68972] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f72ef5f40b3] [fld-stage-2:68972] [ 8] pimpleFoam(+0x313fe)[0x55fe6b8a53fe] [fld-stage-2:68972] *** End of error message *** in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" #5 __libc_start_main --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function static bool Foam::UPstream::init(int&, char**&, bool) in file UPstream.C at line 112. FOAM aborting in "/lib/x86_64-linux-gnu/libc.so.6" #6 #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #4 ?? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" #5 __libc_start_main in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" [fld-stage-2:68970] *** Process received signal *** [fld-stage-2:68970] Signal: Aborted (6) [fld-stage-2:68970] Signal code: (-6) [fld-stage-2:68970] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f454aff7210] [fld-stage-2:68970] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f454aff718b] [fld-stage-2:68970] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f454afd6859] [fld-stage-2:68970] [ 3] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x205)[0x7f454b82f535] [fld-stage-2:68970] [ 4] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x219 )[0x7f454afa5de9] [fld-stage-2:68970] [ 5] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x885)[0x7f454b847e65] [fld-stage-2:68970] [ 6] pimpleFoam(+0x2bc4f)[0x5631f18ebc4f] [fld-stage-2:68970] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f454afd80b3] [fld-stage-2:68970] [ 8] pimpleFoam(+0x313fe)[0x5631f18f13fe] [fld-stage-2:68970] *** End of error message *** at ??:? #1 Foam::error::abort() in "/lib/x86_64-linux-gnu/libc.so.6" #6 ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" [fld-stage-2:68969] *** Process received signal *** [fld-stage-2:68969] Signal: Aborted (6) [fld-stage-2:68969] Signal code: (-6) [fld-stage-2:68969] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f391c13d210] [fld-stage-2:68969] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f391c13d18b] [fld-stage-2:68969] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f391c11c859] [fld-stage-2:68969] [ 3] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x205)[0x7f391c975535] [fld-stage-2:68969] [ 4] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x219 )[0x7f391c0ebde9] [fld-stage-2:68969] [ 5] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x885)[0x7f391c98de65] [fld-stage-2:68969] [ 6] pimpleFoam(+0x2bc4f)[0x563c8f8b8c4f] [fld-stage-2:68969] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f391c11e0b3] [fld-stage-2:68969] [ 8] pimpleFoam(+0x313fe)[0x563c8f8be3fe] [fld-stage-2:68969] *** End of error message *** at ??:? #2 Foam::UPstream::init(int&, char**&, bool) at ??:? #3 Foam::argList::argList(int&, char**&, bool, bool, bool) at ??:? #4 ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" #5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #6 ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" [fld-stage-2:68971] *** Process received signal *** [fld-stage-2:68971] Signal: Aborted (6) [fld-stage-2:68971] Signal code: (-6) [fld-stage-2:68971] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7fc6205f1210] [fld-stage-2:68971] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fc6205f118b] [fld-stage-2:68971] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fc6205d0859] [fld-stage-2:68971] [ 3] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x205)[0x7fc620e29535] [fld-stage-2:68971] [ 4] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x219 )[0x7fc62059fde9] [fld-stage-2:68971] [ 5] /opt/openfoam8/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x885)[0x7fc620e41e65] [fld-stage-2:68971] [ 6] pimpleFoam(+0x2bc4f)[0x565113304c4f] [fld-stage-2:68971] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fc6205d20b3] [fld-stage-2:68971] [ 8] pimpleFoam(+0x313fe)[0x56511330a3fe] [fld-stage-2:68971] *** End of error message *** ================================================== ================================= = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES = PID 68969 RUNNING AT fld-stage-2 = EXIT CODE: 134 = CLEANING UP REMAINING PROCESSES = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES ================================================== ================================= YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Aborted (signal 6) This typically refers to a problem with your application. Please see the FAQ page for debugging suggestions Could any of you give me any tips about what is going on? I'm quite new with OpenFOAM, but the error has nothing to do with the solvers (I can run a simulation with only one processor in all the solvers) and, definitively, I know how to use the file decomposePardict. Maybe a problem with the installation somewhere? Thank you so much in advance! |
|
December 9, 2021, 03:28 |
|
#2 |
Senior Member
Join Date: Oct 2011
Posts: 242
Rep Power: 17 |
Hello,
I know nothing about openfoam. It sounds like a problem in mpi environment variables. Do you have various MPI installed on your system ? Like openmpi + mpich ? Does the mpirun used to launch your program match the MPI version used to compile the code ? |
|
December 9, 2021, 08:15 |
|
#3 |
Senior Member
Join Date: May 2012
Posts: 551
Rep Power: 16 |
Have you decomposed the problem into parts (4 in your case) or do you just try to run it in parallel directly?
|
|
December 10, 2021, 05:31 |
|
#4 | |
New Member
Miguel Martinez Valero
Join Date: Dec 2021
Posts: 2
Rep Power: 0 |
Quote:
I have realized that the mpirun that I was employing to launch the program was 3.3.2 and the MPI version is 4.0.3. Thank you so much for your reply! |
||
July 1, 2022, 08:10 |
|
#5 |
New Member
Jelle Lagerweij
Join Date: Jul 2022
Posts: 21
Rep Power: 4 |
I have the same error message and after checking ( mpirun --version) returned 3.3.2 as well. How do I check my MPI version to compare it with and how do I resolve this issue?
|
|
July 12, 2022, 05:05 |
|
#6 |
New Member
Join Date: May 2022
Posts: 3
Rep Power: 4 |
||
July 12, 2022, 07:29 |
|
#7 |
New Member
Jelle Lagerweij
Join Date: Jul 2022
Posts: 21
Rep Power: 4 |
For me the solution was really pragmatic. As I run my computation on a small server, we created a new ubuntu install with only openFoam on it.
With the clean ubuntu (22.04 LTS) and by just following the openFoam install guide exactly step for step, https://openfoam.org/download/9-ubuntu/. Now it runs perfectly. I do not know if this solution works for your situation, but it is a quite simple one. With kind regards, Jelle |
|
July 12, 2022, 08:04 |
How do you run a Selenium test in parallel?
|
#8 |
New Member
barus brown
Join Date: Jul 2022
Posts: 1
Rep Power: 0 |
Step 1: Install Java. Selenium software comes as a jar file. ...
Step 2: Selenium Installation. The next step is to download Selenium. ... Step 3: Eclipse Installation. To install the Eclipse IDE, go to the following link and download the eclipse tool. ... Step 4: TestNG Installation. ... Step 5: Parallel Execution of Test Scripts. more info about original and imported products here : https://barusgolden.com/ |
|
October 13, 2022, 08:30 |
|
#9 |
New Member
Qiuxiao Wang
Join Date: Mar 2022
Posts: 11
Rep Power: 4 |
I faced the same problem , do you solved this problem?
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems running a customized solver in parallel | RaghavendraRohith | OpenFOAM Programming & Development | 3 | April 30, 2018 17:44 |
Running CFX parallel distributed Under linux system with loadleveler queuing system | ahmadbakri | CFX | 1 | December 21, 2014 04:19 |
parallel running | student666 | OpenFOAM Running, Solving & CFD | 7 | May 21, 2014 14:55 |
FV patch problems when running pisoFoam in parallel | chrisb | OpenFOAM Programming & Development | 2 | March 21, 2011 05:06 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 09:38 |