|
[Sponsors] |
August 3, 2018, 12:12 |
Unable to launch parafoam &
|
#1 |
New Member
Lim Boon How
Join Date: Aug 2018
Posts: 1
Rep Power: 0 |
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! |
|
August 13, 2018, 08:32 |
|
#2 |
Senior Member
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17 |
I encounter the same problem . I think there is something wrong with this docker image.
|
|
August 17, 2018, 10:14 |
|
#3 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
||
December 3, 2020, 07:21 |
|
#4 |
New Member
Ferenc Safranyik
Join Date: Dec 2020
Posts: 5
Rep Power: 5 |
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 |
|
March 23, 2022, 08:11 |
|
#5 | |
New Member
Lionel GAMET
Join Date: Nov 2013
Location: Lyon
Posts: 20
Rep Power: 12 |
Quote:
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 !! |
||
March 23, 2022, 09:09 |
|
#6 | |
New Member
Lionel GAMET
Join Date: Nov 2013
Location: Lyon
Posts: 20
Rep Power: 12 |
Quote:
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 |
||
Tags |
parafoam problem |
|
|
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 |