|
[Sponsors] |
[OpenFOAM.com] OF1806+ compiles, but fails in parallel with INTEL MPI |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 17, 2020, 18:51 |
OF1806+ compiles, but fails in parallel with INTEL MPI
|
#1 |
Member
Lisandro Maders
Join Date: Feb 2013
Posts: 98
Rep Power: 13 |
Hello,
I am trying to compile OpenFOAM 1806+ with the following setup:
I will attach the output log from Allwmake - a few Paraview libraries didn't compile but I am fine with that. After compilation apparently successfull, I try to run any tutorial in parallel and it fails. I attached a failed snappyHexMesh.log as example as well. The step-by-step I have done to compile INTEL MPI was:
After sourcing it, I checked the output of which mpirun --version, and it was pointing to the INTEL MPI (good). I checked the output of which mpicc --version, and it was pointing to gcc-8.4.0 (good). I run some tutorials in parallel - all of them crashed. Some important info: the output of ldd $(which snappyHexMesh) shows to me that there are 2 mpi libraries set: libmpi.so.20 => /usr/lib/x86_64-linux-gnu/libmpi.so.20 (0x00007f2ef5dfc000) libmpi.so.12 => /home/lmaders/intel/compilers_and_libraries_2020.1.217/linux/mpi/intel64/lib/release/libmpi.so.12 (0x00007f2ef4c79000) I think it should be only setting the intel one here. If this is probably the issue, how can I ensure the OF solvers are sourcing/setting only the INTEL MPI? Hopefully I have been clear enough. Thanks in advance Lisandro |
|
June 18, 2020, 18:43 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Hi,
- I would either go for an older IntelMPI version down to OF1806, or a newer OpenFOAM version up to IMPI-2019. Is there any chance for that?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
June 19, 2020, 02:34 |
|
#3 | ||
New Member
Tu Can
Join Date: Jul 2017
Location: China
Posts: 16
Rep Power: 9 |
Quote:
Quote:
Just a guess. Is _foamAddPath add path recursively? the libmpi.so.12 is under "lib/release" and you add "lib". Seems likes OpenFOAM missing some .so. |
|||
June 19, 2020, 17:59 |
|
#4 |
Member
Lisandro Maders
Join Date: Feb 2013
Posts: 98
Rep Power: 13 |
That was it! I thought it would look for it recursivelly inside "lib" (shouldn't it be recursive?)
I explicitly set the release path and worked.. Thanks! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
MPI parallel meet problems | jiaojiao | OpenFOAM | 1 | May 10, 2016 03:30 |
Parallel Problem of CFX 14.5.7 on a Intel Xeon 2690V2 computer with Win7 x64 OS | BruceWen | Hardware | 0 | April 30, 2014 00:48 |
PROBLEM IN PARALLEL PROGRAMMING WITH MPI | Niavarani | Main CFD Forum | 1 | April 20, 2004 07:51 |
MPI and parallel computation | Wang | Main CFD Forum | 7 | April 15, 2004 12:25 |