|
[Sponsors] |
Openmpi SU2 simple parallel install gives problem in iterations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 4, 2020, 15:54 |
Openmpi SU2 simple parallel install gives problem in iterations
|
#1 |
New Member
Join Date: Jul 2020
Posts: 22
Rep Power: 6 |
Hello everyone
I use ubuntu 18.04 LTS. I download SU2 linux 7.0.5 Blackbird for parallel computation. I have written necessary paths in my .bashrc. For serial it works fine. For parallel it gives the following parallel_openmpi_problem.png I have read some comments but it states error due to SU2 compilation. However, for simple install we have no compilation process as stated here https://su2code.github.io/docs_v7/SU2-Linux-MacOS/ . It works with MPICH fine but If I use OPENMPI it gives same iteration numbers as in parallel_openmpi_problem.png Thanks in advance |
|
July 4, 2020, 19:18 |
|
#2 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13 |
That usually happens when the version of mpi used to run the code is different from the one used to compile it.
Generally it is not a very good idea to have two mpi distributions visible at the same time, if possible pick either mpich or openmpi. |
|
July 4, 2020, 19:32 |
openmpi
|
#3 | |
New Member
Join Date: Jul 2020
Posts: 22
Rep Power: 6 |
Quote:
I have just installed openmpi no MPICH is installed on my PC. |
||
July 5, 2020, 09:01 |
Uninstall openmpi and install previous version does not work
|
#4 | |
New Member
Join Date: Jul 2020
Posts: 22
Rep Power: 6 |
Quote:
I have changed my openmpi version by uninstalling new and replacing with the old one. Here is my openmpi version openmpi_version.png I tell step by step what I have done after changing openmpi version 1.Again my serial SU2 works fine but in parallel (it is simple installed not built in source) it gives parallel_computation_error.png I think it is not about SU2 it is all about openmpi issue. Because I have 4 processors and I can run only 2 of them with mpirun. If I try to run it gives this again parallel_computation_error.png 2. I install mpi4py. Then I can run all 4 processors but they all give this after_installing_mpi4py.png How can I solve this openmpi issue again I do not think it is nothing with SU2 ? |
||
July 6, 2020, 06:38 |
|
#5 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13 |
Maybe you have 2 physical cores with hyperthreading? In which case you see 4 cores but for computationally intensive tasks you should use only 2.
Usually OpenMPI detects the number of physical cores and complains if you try to use more. |
|
July 6, 2020, 06:54 |
|
#6 |
New Member
Join Date: Jul 2020
Posts: 22
Rep Power: 6 |
After installing mpi4py I can run 4 cores however problem occurs related to repetitive iterations as I stated my last shared picture.
Last edited by steadyman; July 7, 2020 at 03:05. |
|
July 13, 2021, 04:08 |
|
#7 |
Member
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 12 |
Hello Steadyman,
1Year has passed since your last post...did you find a solution? I am experiencing the same "repetitive iterations" problem for more than 1 core calculation with Ubuntu. Kazu |
|
February 11, 2022, 14:04 |
Mpich
|
#8 | |
New Member
Join Date: Jul 2020
Posts: 22
Rep Power: 6 |
Quote:
I left using opnmpi and I will start use MPICH to solve this problem. Best |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Suppress twoPhaseEulerFoam energy | AlmostSurelyRob | OpenFOAM Running, Solving & CFD | 33 | September 25, 2018 18:45 |
chtMultiRegionSimpleFoam turbulent case | Aditya Patil | OpenFOAM Running, Solving & CFD | 6 | April 24, 2017 23:13 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 14:38 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |