CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

SU2_PRT & Metis Not Functioning Properly

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2014, 07:42
Unhappy SU2_PRT & Metis Not Functioning Properly
  #1
New Member
 
ericthefatguy's Avatar
 
Lean ("Eric") Fang
Join Date: Jul 2013
Location: USTC, Hefei, P.R.C.
Posts: 15
Rep Power: 12
ericthefatguy is on a distinguished road
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 10:03. Reason: Problem Solved!
ericthefatguy is offline   Reply With Quote

Old   January 1, 2015, 19:04
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
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
fpalacios is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
metis decompose OpenFoam 2.0.0 sebastianweiper OpenFOAM Installation 11 December 29, 2020 11:59
[mesh manipulation] decomposePar of directMapped Patches with metis chegdan OpenFOAM Meshing & Mesh Conversion 6 November 2, 2012 05:48
Metis on OF 2.0.0 pere OpenFOAM Running, Solving & CFD 0 February 29, 2012 06:28
How to partition EDGES by using METIS Lupocci Main CFD Forum 0 August 18, 2010 17:43
Node numbering at interface in MeTiS. mehul CFX 0 December 19, 2006 10:22


All times are GMT -4. The time now is 02:30.