|
[Sponsors] |
December 23, 2014, 08:42 |
SU2_PRT & Metis Not Functioning Properly
|
#1 |
New Member
Lean ("Eric") Fang
Join Date: Jul 2013
Location: USTC, Hefei, P.R.C.
Posts: 15
Rep Power: 13 |
Hello everyone,
I was following the "Turbulent ONERA M6" tutorial, and when I ran the python script for parallel computation, I noticed that it was actually running in serial simultaneously on 4 cores.
The SU2 installed is version 3.25 built from source in Ubuntu_14.10 with MPI, TecIO, Metis and CGNS using g++, and the configuration setting was: CXXFLAGS="-g -O3" CFLAGS="-g -O3" ./configure --enable-tecio --with-metis-cppflags="-D_FILE_OFFSET_BITS=64 -DNDEBUG -DNDEBUG2 -DHAVE_EXECINFO_H -DHAVE_GETLINE" --with-MPI=/usr/bin/mpicxx --with-CGNS-include=/usr/local/include --with-CGNS-lib=/usr/local/lib Attached is a .txt file written from the terminal to explain the problem I encountered. It contains the output after I typed parallel_computation.py -f inv_NACA0012.cfg -n 4. I set the total iteration number to 5 for illustration purpose. After a close examination of the txt file, it appears that SU2_PRT was running simultaneously on 4 cores without partitioning the mesh. It just read the configuration and mesh then exited. I fear that I might set the configuration wrong when I built SU2 from source and the Metis was not installed properly. Any input will be appreciated! Eric log.txt Updates: Problem Solved! Well I just figured it out that the reason behind this issue is that I installed both OpenMPI and MPICH. SU2 was built with MPICH and the python script used mpiexec/mpirun of OpenMPI to run it, hence this problem occurred. Deleting OpenMPI did the trick. Last edited by ericthefatguy; December 23, 2014 at 11:03. Reason: Problem Solved! |
|
January 1, 2015, 20:04 |
|
#2 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Hi,
Thanks for your post, by the way, we are working on a ParMetis implementation... it will be available very soon (hopefully in SciTech 2015, release v3.4) Thanks for using SU2, Francisco Palacios SU2 lead developer |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
metis decompose OpenFoam 2.0.0 | sebastianweiper | OpenFOAM Installation | 11 | December 29, 2020 12:59 |
[mesh manipulation] decomposePar of directMapped Patches with metis | chegdan | OpenFOAM Meshing & Mesh Conversion | 6 | November 2, 2012 06:48 |
Metis on OF 2.0.0 | pere | OpenFOAM Running, Solving & CFD | 0 | February 29, 2012 07:28 |
How to partition EDGES by using METIS | Lupocci | Main CFD Forum | 0 | August 18, 2010 18:43 |
Node numbering at interface in MeTiS. | mehul | CFX | 0 | December 19, 2006 11:22 |