|
[Sponsors] |
[OpenFOAM.org] CentOS 7 with Open-MPI versions 4.0.0 and 1.6.5 to compile with OpenFOAM 4.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 21, 2019, 10:09 |
CentOS 7 with Open-MPI versions 4.0.0 and 1.6.5 to compile with OpenFOAM 4.1
|
#1 |
Senior Member
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 8 |
What is the outcome of this? I would really appreciate any help.
I have a similar issue on CentOS 7 with openmpi versions 4.0.0 and 1.6.5 to compile OpenFoam4.1. Here I described what I did to get rid of the missing ptscotch.H file but this does not help me to use OpenFoam. Segmentation fault with mpi I attached my log.make file like you suggested in this thread: v1606+ Compilation error - ptscotch.h not found I also had a look at: ThirdParty-3.0.x My mpiexec and gcc seem good enough. Code:
mpiexec --version mpiexec (OpenRTE) 4.0.0 gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL [Moderator note: Moved this line of conversation out of the thread v1606+ Compilation error - ptscotch.h not found ] Last edited by wyldckat; February 27, 2019 at 19:38. Reason: see "Moderator note:" |
|
February 24, 2019, 19:31 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Open-MPI 4.0.0 is way too recent to be using it with the old versions of OpenFOAM 4.1 and Scotch 6.0.3.
So please first confirm if you were able to build with Open-MPI 1.6.5 or whichever version that comes with CentOS 7.
__________________
|
|
February 26, 2019, 07:19 |
|
#3 |
Senior Member
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 8 |
Hi Bruno,
thank you for the suggestion. I am able to build OF4.1 on CentOS 7 with the following Open-MPI Versions: 1.6.5 1.10.7 2.1.5 3.1.3 I cannot build it with 4.0.0. I have not tried other versions. I was not able to determine the original version that comes with CentOS 7. There is a problem with OF4.1 built by 3.1.3. Cases which usually run are now crashing. Code:
[27] --> FOAM FATAL IO ERROR: [27] wrong token type - expected Scalar, found on line 0 the word 'nan' [27] file: myPATH/processor27/system/data.solverPerformance.p at line 0. [27] From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&) [27] in file lnInclude/Scalar.C at line 93. [27] FOAM parallel run exiting Since I do not like running OF build by 3.1.3 and run with 4.0.0 I will use OF4.1 compiled and run (sourced) with Open-MPI 1.10.7. Last edited by lukasf; February 27, 2019 at 02:35. Reason: 1.6.5, 2.1.5 are working as well |
|
February 26, 2019, 19:31 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answers:
|
|
February 27, 2019, 02:40 |
|
#5 |
Senior Member
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 8 |
Hi Bruno,
your post made me try to compile OF4.1 with open-MPI 1.6.5 again. I was able to compile it with the versions 1.6.5 1.10.7 2.1.5 3.1.3 Hence 1.6.5 is working. I probably sourced the wrong path when I tried to compile OF4.1 with 1.6.5 and 2.1.5. Thanks! |
|
October 22, 2020, 22:49 |
|
#6 |
New Member
Prakriti
Join Date: Jun 2018
Posts: 6
Rep Power: 8 |
Hi Lukas,
Could you tell me how you compiled OpenFOAM with your locally compiled OpenMPI on the cluster? I've been trying to do the same without much success (anymore). |
|
October 23, 2020, 04:04 |
|
#7 |
Senior Member
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 8 |
Hi,
which OpenFOAM version on which operating system are we talking about? Which OpenMPI Versions are available on your system? Lukas |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] MPI compiling and version mismatch | pki | OpenFOAM Installation | 7 | June 15, 2015 17:21 |