CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Unable to launch parafoam &

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2018, 12:12
Default Unable to launch parafoam &
  #1
New Member
 
Lim Boon How
Join Date: Aug 2018
Posts: 1
Rep Power: 0
boonhow is on a distinguished road
Hi everyone,


I am new to OpenFOAM and am going through the tutorial to learn about CFD



Would anyone be able to advise why I am unable to launch parafoam and open up the parafoam window? Currently I am using Virtual Box to run Ubuntu 16.04. I have checked that I have the latest parafoam, gcc and g++.



I followed the tutorial from the website https://cfd.direct/openfoam/user-guide/v6-cavity/

and encountered the following problem when i run parafoam &


bash-4.2$ paraFoam &
[1] 1135
bash-4.2$ Created temporary 'cavity.OpenFOAM'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-boon'
--------------------------------------------------------------------------
It looks like opal_init failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during opal_init; some of which are due to configuration or
environment problems. This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

opal_shmem_base_select failed
--> Returned value -1 instead of OPAL_SUCCESS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems. This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

opal_init failed
--> Returned value Error (-1) instead of ORTE_SUCCESbash-4.2$ paraFoam &
[1] 1135
bash-4.2$ Created temporary 'cavity.OpenFOAM'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-boon'
--------------------------------------------------------------------------
It looks like opal_init failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during opal_init; some of which are due to configuration or
environment problems. This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

opal_shmem_base_select failed
--> Returned value -1 instead of OPAL_SUCCESS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems. This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

opal_init failed
--> Returned value Error (-1) instead of ORTE_SUCCESS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems. This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):

ompi_mpi_init: ompi_rte_init failed
--> Returned "Error" (-1) instead of "Success" (0)
--------------------------------------------------------------------------
*** An error occurred in MPI_Init
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
*** and potentially your MPI job)
[8437a05a32ed:1137] Local abort before MPI_INIT completed successfully; not able to aggregate error messages, and not able to guarantee that all other processes were killed!

[1]+ Done paraFoam
S


Below are further information which i think may be useful to identify the problem,


bash-4.2$ which mpirun
/opt/OpenFOAM/ThirdParty-v1806/platforms/linux64Gcc/openmpi-1.10.4/bin/mpirun



bash-4.2$ mpirun --help
--------------------------------------------------------------------------
It looks like opal_init failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during opal_init; some of which are due to configuration or
environment problems. This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

opal_shmem_base_select failed
--> Returned value -1 instead of OPAL_SUCCESS







Many thanks in advance for the help!
boonhow is offline   Reply With Quote

Old   August 13, 2018, 08:32
Default
  #2
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
I encounter the same problem . I think there is something wrong with this docker image.
lin is offline   Reply With Quote

Old   August 17, 2018, 10:14
Default
  #3
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11
pgh is on a distinguished road
Hi,
See this
https://develop.openfoam.com/Develop.../971#note_7569
pgh is offline   Reply With Quote

Old   December 3, 2020, 07:21
Default
  #4
New Member
 
Ferenc Safranyik
Join Date: Dec 2020
Posts: 5
Rep Power: 5
safranyikf is on a distinguished road
I have exactly the same issue, but I do not understand what should I do. Can anybody give me more detailed suggestion?


Thanks in advance, Feri
safranyikf is offline   Reply With Quote

Old   March 23, 2022, 08:11
Default
  #5
New Member
 
Lionel GAMET
Join Date: Nov 2013
Location: Lyon
Posts: 20
Rep Power: 12
x86_64leon is on a distinguished road
Quote:
Originally Posted by safranyikf View Post
I have exactly the same issue, but I do not understand what should I do. Can anybody give me more detailed suggestion?


Thanks in advance, Feri



I also encountered the same issue ... using Paraview 5.10.1. How can we know where Paraview is getting his openmpi from ? Could this be due to conflicting versions of openmpi ?

Thanks in advance !!
x86_64leon is offline   Reply With Quote

Old   March 23, 2022, 09:09
Default
  #6
New Member
 
Lionel GAMET
Join Date: Nov 2013
Location: Lyon
Posts: 20
Rep Power: 12
x86_64leon is on a distinguished road
Quote:
Originally Posted by x86_64leon View Post
I also encountered the same issue ... using Paraview 5.10.1. How can we know where Paraview is getting his openmpi from ? Could this be due to conflicting versions of openmpi ?

Thanks in advance !!



Finally found the solution !!

I would like to share it here.

It consists in adding a LD_PRELOAD in front of the command paraview.

I did it through an alias :



alias paraview="LD_PRELOAD=$OPAL_LIBDIR/libmpi.so [path to paraview]/bin/paraview"


OPAL_LIBDIR is the openmpi installation directory containing openmpi shared libraries
x86_64leon is offline   Reply With Quote

Reply

Tags
parafoam problem


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
Fluent Parallelization Problem After AC Power Dropped pawl Hardware 5 November 13, 2016 07:08
How to make a code parallel? Bruno Machado Fluent UDF and Scheme Programming 15 May 27, 2016 10:18
[OpenFOAM] OpenFoam (Ubuntu): paraFoam via Xming+PuTTY raketenmaid ParaView 4 February 5, 2013 06:20
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, cfdproject OpenFOAM Meshing & Mesh Conversion 0 April 14, 2009 16:45
[OpenFOAM] ParaFoam does not launch lawrencelkl ParaView 7 July 20, 2008 10:32


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