|
[Sponsors] |
Problem with running foam-extend 4.0 in parallel in Ubuntu 18.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 22, 2019, 04:07 |
Problem with running foam-extend 4.0 in parallel in Ubuntu 18.04
|
#1 |
Senior Member
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11 |
1- Running a solver under foam-extend 4.0 on Ubuntu 18.04 returns this error:
Code:
mpirun -np <N> <solver> -parallel -------------------------------------------------------------------------- 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 -------------------------------------------------------------------------- Code:
# WM_MPLIB = SYSTEMOPENMPI | OPENMPI | MPICH | MPICH-GM | HPMPI | GAMMA | MPI | QSMPI | MVAPICH2 : ${WM_MPLIB:=OPENMPI}; export WM_MPLIB Code:
# WM_MPLIB = SYSTEMOPENMPI | OPENMPI | MPICH | MPICH-GM | HPMPI | GAMMA | MPI | QSMPI | MVAPICH2 : ${WM_MPLIB:=SYSTEMOPENMPI}; export WM_MPLIB Code:
error while loading shared libraries: libmpi.so.1 Code:
Note: ignore spurious warnings about missing mpicxx.h headers What do you think can help? Does re-cloning from github and re-installing help? |
|
September 22, 2019, 11:36 |
|
#2 |
New Member
Join Date: Sep 2019
Posts: 17
Rep Power: 7 |
I recently had a bunch of problems installing Foam-Extend 4.0. Eventually, adding this line to my ~/.bashrc file fixed them.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/mpi/gcc/openmpi/lib64/ |
|
September 23, 2019, 02:26 |
|
#3 | |
Senior Member
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11 |
Quote:
Can you mention what does this directory include? Can you post 'ls' command output? I don't have this directory. The most similar one is Code:
/usr/lib/x86_64-linux-gnu/openmpi/lib Code:
libmca_common_libfabric.so libompitrace.so.20.10.0 libmca_common_libfabric.so.20.10.0 libopen-pal.so libmca_common_sm.so libopen-pal.so.20.10.1 libmca_common_sm.so.20.10.1 libopen-rte.so libmca_common_verbs.so libopen-rte.so.20.10.1 libmca_common_verbs.so.20.10.0 liboshmem.so libmpi_cxx.so liboshmem.so.20.10.1 libmpi_cxx.so.20.10.0 mpi_ext.mod libmpi_java.so mpi_f08_callbacks.mod libmpi_java.so.20.10.0 mpi_f08_ext.mod libmpi_mpifh.so mpi_f08_interfaces_callbacks.mod libmpi_mpifh.so.20.11.0 mpi_f08_interfaces.mod libmpi.so mpi_f08.mod libmpi.so.20.10.1 mpi_f08_types.mod libmpi_usempif08.so mpi.mod libmpi_usempif08.so.20.10.0 openmpi libmpi_usempi_ignore_tkr.so pkgconfig libmpi_usempi_ignore_tkr.so.20.10.0 pmpi_f08_interfaces.mod libompitrace.so |
||
September 23, 2019, 03:23 |
|
#4 |
Senior Member
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11 |
I also went thru these steps:
1- The method mentioned here; The problem was not solved. 2- The first method mentioned here; The problem was not solved. 3- In the directory of Code:
/home/lian/foam/foam-extend-4.0/ThirdParty Code:
uninstallPackage openmpi-1.8.8 $1 Code:
./AllClean.stage2 ./AllMake.stage2 4- I tried to do this solution. But, there is this problem regarding foam-extend-4.0 5- I did not understand the 2nd method that @wyldckat has mentioned here. |
|
September 27, 2019, 10:16 |
|
#5 | |
Senior Member
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11 |
Quote:
Using 'tar -c' command on my laptop where I had compiled foam extend before, I generated a compressed version of foam-extend 4.0 (Here is more information to do it). Then, using ' tar -x ' I extracted it on a node. I did so in order to save time of re-compiling. But, actually it was the origin of the problem. I just removed and re-compiled foam-extend 4.0 and after that, it works fine. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Failed Starting Thread 0" | ebringley | OpenFOAM Running, Solving & CFD | 2 | April 26, 2019 06:45 |
Possible Memory problem with foam extend 4.0 | HenrikJohansson | OpenFOAM Running, Solving & CFD | 1 | April 19, 2018 09:07 |
error with reactingFoam | BakedAlmonds | OpenFOAM Running, Solving & CFD | 4 | June 22, 2016 03:21 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |