CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

parallel fortran code

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   October 22, 2008, 17:18
Default parallel fortran code
Posts: n/a
Sponsored Links
Hi all,

Can some one guide me to parallelize a fortran sequential code?

  Reply With Quote
Sponsored Links

Old   October 23, 2008, 07:15
Default Re: parallel fortran code
Posts: n/a
Please try to give some details and be specific about what you want. F90/95 have some parallel intrinsics, but you'll probably want to use OpenMP if you're interested in shared-memory parallelism. (Some compilers can even figure some limited cases out automatically.) Annotating for parallelism with OpenMP is normally very easy, profile to see what takes time and annotate those loops. Depending on the memory requirements of the work-load, shared memory parallelism could give you no speedup or nearly optimal speedup for a few processors.

For larger scale or memory-limited workloads, you'll want to use distributed memory which means MPI (though perhaps using a library like PETSc). If want to do this, now would be a very good time to consider a major redesign of your program (though you should be able to reuse core parts like flux computations).
  Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Discontinuous Galerkin schemes -- fortran source code diedro Main CFD Forum 3 March 12, 2011 11:20
is there any parallel code for the famous Lid Driven Cavity flow? gholamghar Main CFD Forum 0 August 1, 2010 01:55
fortran code problem ztdep Main CFD Forum 5 September 8, 2009 04:22
Fortran 90 faster than C/C++ B. R. Guirguis Main CFD Forum 48 March 6, 2006 14:49
Speeding my Fortran Code S Main CFD Forum 11 March 31, 2005 14:50

Sponsored Links

All times are GMT -4. The time now is 22:50.