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

Help: Serial code to parallel but even slower

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 13, 2008, 04:51
Default Help: Serial code to parallel but even slower
  #1
Zonexo
Guest
 
Posts: n/a
Hi,

I've a serial 2D CFD code. As my grid size requirement increases, the simulation takes longer. Also, memory requirement becomes a problem. Grid size 've reached 1200x1200. Going higher is not possible due to memory problem.

Currently, I'm using the PETSc solver which is a parallel MPI solver, to solve the momentum and poisson eqn.

I tried to convert my code to a parallel one but after restructuring and enabling the parallel mode of the solver, I found that it is much slower, although the answer is correct.

I wonder what I should do to check what's wrong. Btw, is a grid size of 1200x1200 suitable for parallel run of 4 processors? I read that if grid is too small, it may be inefficient.

Thank you.
  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
DPM parallel is not working but serial is working johnwinter FLUENT 1 March 27, 2012 02:01
Self implemented code is not running in parallel michi OpenFOAM Running, Solving & CFD 2 November 6, 2008 05:09
Parallel convergence worse than serial! Michael B FLUENT 3 December 9, 2006 21:46
Problems with MFIX code and Parallel Processing. Fernando Pio Main CFD Forum 4 August 29, 2006 14:33
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56


All times are GMT -4. The time now is 16:28.