CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   decomposing a grid in parallel (https://www.cfd-online.com/Forums/su2/128882-decomposing-grid-parallel.html)

deeps January 23, 2014 08:09

decomposing a grid in parallel
 
Dear All,

If we want to run a simulation in parallel, we can do so in SU2 using the following :

parallel_computation.py -f file -p np

How about only partitioning a grid file in parallel? Lets say I have a 21M grid and I want to decompose it in 40 parts using 20 processors. Due to the large size of the file if I attempt doing this on a single processor, it would not run due to memory issues. Also, I tried:

mpirun -n 40 SU2_DDC file_name

but it still does the partitioning using 1 processor. (Although it shows 40 processors being used but entire memory is used only for 1 processor)

Is there a way of partitioning grids in parallel using n processors ? This would help in dealing with large grid sizes.

Thanks and regards,
Deepanshu.

rktchip January 28, 2014 15:32

SU2_DDC only works serially, although it can be called through mpirun as you show in order to carry a common interface. Parallel decomposition requires development to use a library called parmetis, in case anyone is interested in making this work!

deeps January 29, 2014 01:01

decomposing a grid in parallel
 
Dear Trent,

Thank you for your reply.

Is there any way to decompose large grids? Are there any variable settings that would help to partition large grids.

Regards,
Deepanshu.


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