CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How to partition cartesian grid for MPI in fortran

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 16, 2008, 01:11
Default How to partition cartesian grid for MPI in fortran
  #1
CF
Guest
 
Posts: n/a
Hi,

I'm programming in fortran and I'm trying to use a parallel solver known as Hypre, which is a library written in C. I'm working with cartesian grid and I wonder how I should partition my grid to run in parallel.

Which is the best option for a cartesian grid of size_x*size_y, asuming to be divided to 4 grids? :

1. 4 (size_x/4)*size_y grids

2. 4 size_x*(size_y/4) grids

3. 4 (size_x/2)*(size_y/2) grids

Is there some clear advantage of 1 over the other?

Thanks

  Reply With Quote

 


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
grid generation and transferring it into Fortran code HaKu Main CFD Forum 1 April 28, 2011 02:11
Grid generation code in Fortran artemiss1984 Main CFD Forum 3 February 23, 2011 01:19
Framing PPE for complex geometry over cartesian grid ravikant Main CFD Forum 0 January 9, 2010 12:45
moving cylinder in a cartesian grid yusun Main CFD Forum 1 July 1, 2009 03:48
Cartesian Grid Harish FLUENT 0 January 3, 2006 00:09


All times are GMT -4. The time now is 12:39.