CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] Mpirun issue centOS 8

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2021, 13:34
Default Mpirun issue centOS 8
  #1
Senior Member
 
Franco
Join Date: Nov 2019
Location: Compiègne, France
Posts: 129
Rep Power: 7
otaolafr is on a distinguished road
hello,
I am trying to install OF V2012 in a centOS 7 and 8 machines, without luck.

in centOS7 got this error:
Code:
Target: /usr/lib/openfoam/openfoam2006/platforms/linux64GccDPInt32Opt/lib/openmpi-system
Source: /usr/lib64/openmpi/lib/openfoam2006
No system mpi lib: /usr/lib64/openmpi/lib/openfoam2006
... not updating
but in the centOS 8 did not presented any error.
in my ubuntu/WSL machine (windos 10 with ubuntu over windows sub system)
OF2012 installed the mpirun version 4.0.3. but in centOS 8 I still have 3.2.1.
OF works correctly with the exception to the parallel application that I have an error like the following (log snappyHexMesh parallel).
and I face the same error message in centOS7

any help or someone that faced the same issue and have any recomendation would be greatfull.

Code:
--> FOAM FATAL ERROR: (openfoam-2012 patch=210414)
attempt to run parallel on 1 processor

    From static bool Foam::UPstream::init(int&, char**&, bool)
    in file UPstream.C at line 289.

FOAM aborting



--> FOAM FATAL ERROR: (openfoam-2012 patch=210414)
attempt to run parallel on 1 processor

    From static bool Foam::UPstream::init(int&, char**&, bool)
    in file UPstream.C at line 289.

FOAM aborting

#0  #0  Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&) at ??:?
 at ??:?
#1  Foam::error::exitOrAbort(int, bool)#1  Foam::error::exitOrAbort(int, bool) at ??:?
#2  Foam::UPstream::init(int&, char**&, bool) at ??:?
#2  Foam::UPstream::init(int&, char**&, bool) at ??:?
#3  Foam::argList::argList(int&, char**&, bool, bool, bool) at ??:?
#3  Foam::argList::argList(int&, char**&, bool, bool, bool) at ??:?
#4   at ??:?
#4  ?? at ??:?
#5  __libc_start_main at ??:?
#5  __libc_start_main in /usr/lib64/libc.so.6
#6   in /usr/lib64/libc.so.6
#6  ?? at ??:?
[simplex:297835] *** Process received signal ***
[simplex:297835] Signal: Aborted (6)
[simplex:297835] Signal code:  (-6)
[simplex:297835] [ 0] /usr/lib64/libpthread.so.0(+0x12b20)[0x7f219f7beb20]
[simplex:297835] [ 1] /usr/lib64/libc.so.6(gsignal+0x10f)[0x7f219f4207ff]
[simplex:297835] [ 2] /usr/lib64/libc.so.6(abort+0x127)[0x7f219f40ac35]
[simplex:297835] [ 3] /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error11exitOrAbortEib+0x296)[0x7f21a088c5c6]
[simplex:297835] [ 4] /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/sys-openmpi/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x19f9)[0x7f219f1de299]
[simplex:297835] [ 5]  at ??:?
[simplex:297834] *** Process received signal ***
[simplex:297834] Signal: Aborted (6)
[simplex:297834] Signal code:  (-6)
[simplex:297834] [ 0] /usr/lib64/libpthread.so.0(+0x12b20)[0x7f71ebcbab20]
[simplex:297834] [ 1] /usr/lib64/libc.so.6(gsignal+0x10f)[0x7f71eb91c7ff]
[simplex:297834] [ 2] /usr/lib64/libc.so.6(abort+0x127)[0x7f71eb906c35]
[simplex:297834] [ 3] /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error11exitOrAbortEib+0x296)[0x7f71ecd885c6]
[simplex:297834] [ 4] /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/sys-openmpi/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x19f9)[0x7f71eb6da299]
[simplex:297834] [ 5] /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x97d)[0x7f21a08b236d]
[simplex:297835] [ 6] snappyHexMesh[0x4203b2]
[simplex:297835] [ 7] /usr/lib64/libc.so.6(__libc_start_main+0xf3)[0x7f219f40c7b3]
[simplex:297835] [ 8] snappyHexMesh[0x42651e]
[simplex:297835] *** End of error message ***
/usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x97d)[0x7f71ecdae36d]
[simplex:297834] [ 6] snappyHexMesh[0x4203b2]
[simplex:297834] [ 7] /usr/lib64/libc.so.6(__libc_start_main+0xf3)[0x7f71eb9087b3]
[simplex:297834] [ 8] snappyHexMesh[0x42651e]
[simplex:297834] *** End of error message ***

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 297834 RUNNING AT simplex
=   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
otaolafr is offline   Reply With Quote

Old   June 23, 2021, 12:49
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Might need to check that your mpi environment modules are properly setup.
olesen is offline   Reply With Quote

Old   June 23, 2021, 13:52
Default
  #3
Senior Member
 
Franco
Join Date: Nov 2019
Location: Compiègne, France
Posts: 129
Rep Power: 7
otaolafr is on a distinguished road
Quote:
Originally Posted by olesen View Post
Might need to check that your mpi environment modules are properly setup.
hello,
thanks for the answer,
as mpi did not work correctly even after adding its source, we finished to compile OF directly.
otaolafr is offline   Reply With Quote

Reply

Tags
centos 8, centos7, mpirun


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mpirun hangup.. can anyone help how to fix mpirun issues. prameelar OpenFOAM 12 February 16, 2022 17:23
[OpenFOAM.org] OpenFOAM 3.01 on Centos 5.11 - MPI Issue vmgbritt OpenFOAM Installation 4 September 15, 2016 15:42
[Other] CentOS 6.7 - Paraview - X Error: BadDrawable Vyssion OpenFOAM Installation 2 May 1, 2016 18:55
Convergence issue in natural convection problem chrisf90 FLUENT 5 March 5, 2016 09:30
Meshing related issue in Flow EFD appu FloEFD, FloWorks & FloTHERM 1 May 22, 2011 09:27


All times are GMT -4. The time now is 17:14.