|
[Sponsors] |
March 26, 2017, 00:33 |
MPI+OpenMP SU2-5.0.0
|
#1 |
New Member
WANG,Hao
Join Date: Sep 2016
Location: Xi'an China
Posts: 19
Rep Power: 9 |
Hello everyone,
I'll read a paper http://web.stanford.edu/~economon/do...-2015-1949.pdf about maximizing parallelism. I noticed that SU2-5.0 surpports hybridization to MPI+OpenMP. The author found that for a specified case the best performance is obtained for 6 MPI ranks (with 8 OMP threads attached to each rank). But i don't know how to set the hybridization settings, for example, excuting SU2_CFD in 6 MPI ranks (with 8 OMP threads attached to each rank). The command for parallelization of SU2 is "mpirun -n 6 SU2_CFD config.cfg" or "parallel_computation.py -n 6 -f config.cfg" ,and there is nothing to do with the hybridization settings, or it is automatic internal SU2 ? Could anyone help me with this? Thank you very much! By the way, I have made some attempts on a cluster (the job-submittal environment is slurm): #!/bin/bash export OMP_NUM_THREADS=6 yhrun -N 1 -n 2 -c 6 -p debug SU2_CFD opt_crm.cfg where 'N' is the number of nodes (there are 12 physical cores), 'n' is the number of ranks, 'c' is the number of threads. But it seems that SU2_CFD runs on only 2 cores. I also tried: #!/bin/bash export OMP_NUM_THREADS=6 yhrun -n 2 -c 6 -p debug finite_differences.py -n 12 -f opt_crm.cfg then SU2 returns this message "srun: error: Unable to create job step: More processors requested than permitted" ps: When i built the code with: ./configure --prefix=/vol6/home/zhhan/wh/SU-5TEST CXXFLAGS="-O3" --enable-mpi make -j 12 It returns many warnings like: "Gklib/csr.c(1574):warning #161: unrecognized #pragma #pragma omp parallel if (rowptr[nrows] >OMPMINOPS)" Last edited by Haowang; March 27, 2017 at 04:00. Reason: adding new information |
|
March 27, 2017, 05:24 |
|
#2 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10 |
Hi Haowang,
SU2 currently does not support hybrid parallelization using MPI+OpenMP. The modifications regarding this in the linked paper were done in a special version of the code. Tim |
|
March 27, 2017, 05:32 |
|
#3 |
New Member
WANG,Hao
Join Date: Sep 2016
Location: Xi'an China
Posts: 19
Rep Power: 9 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why not SU2 use OpenMP or MKL? | codezy | SU2 | 1 | April 3, 2014 20:13 |
SU2 compilation with MPI option | vinz | SU2 Installation | 5 | March 7, 2013 03:02 |
Sgimpi | pere | OpenFOAM | 27 | September 24, 2011 07:57 |
Error using LaunderGibsonRSTM on SGI ALTIX 4700 | jaswi | OpenFOAM | 2 | April 29, 2008 10:54 |
Is Testsuite on the way or not | lakeat | OpenFOAM Installation | 6 | April 28, 2008 11:12 |