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

Difference of Microsoft MPI and "parallel_computation.py" code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2020, 16:28
Default Difference of Microsoft MPI and "parallel_computation.py" code
  #1
New Member
 
Join Date: Mar 2016
Posts: 3
Rep Power: 10
Shbz is on a distinguished road
Hello

I am planning to conduct parallel simulations with SU2.

As explained in SU2 website, I downloaded the Microsoft MPI and used the command "mpiexec -n NP SU2_CFD name.cfg" for parallel computation. It used the "parMETIS" substructure in order to divide domain into groups for parallel computations. Then it worked well and conducted a simulation faster than sequential one.

However, there is another python code in SU2 called "parallel_computation.py".
What is this code for? If we have ability of Microsoft MPI, then, is this python code is necessary/unnecessary for parallel computations? Is it valid for earlier versions of SU2 only? I am a bit confused about that issue .

Kindly regards
Shbz is offline   Reply With Quote

Old   January 3, 2021, 10:15
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
That script was for convenience in the days when you needed to run SU2_SOL after SU2_CFD to get post processing files, and it also tries to automate the task of determining which mpi launcher (mpirun mpiexec) should be used.
In summary, you don't need it.
pcg is offline   Reply With Quote

Reply

Tags
mpi, node, parallel, processor


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
Fortran->Assembly : How to remove redundant non-vectorized code? aerosayan Main CFD Forum 6 November 20, 2020 06:37
the code difference Yanming Ding OpenFOAM 2 June 5, 2013 05:44
finite difference code esikhatar Main CFD Forum 0 April 9, 2011 15:05
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 16:56
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 09:10


All times are GMT -4. The time now is 10:57.