CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   I need help for parallalising of fortran code (http://www.cfd-online.com/Forums/main/6210-i-need-help-parallalising-fortran-code.html)

Mahibooswami June 6, 2003 07:41

I need help for parallalising of fortran code
 
Hi, Every one,

I am working on DNS of Diffusion Flames, presently i have a code which is in Fortran 77, I want parallalise this code, can any body suggest how to do parallalisation, where can i get help(books or online material etc) about parallalising the code. I will be very happy if any body gives this information.

Thankyou Mahiboob

prasat June 6, 2003 08:50

Re: I need help for parallalising of fortran code
 
I think if you serach in forum you will get much infomation

hall June 7, 2003 21:29

Re: I need help for parallalising of fortran code
 
wow big job I think

Depend on the computer source and what kind of parallel method you want to use. If you want to implement message transfer scheme like MPI and PVM, I think you need hard work. If it is a shared memory thing, then it is easy.

Sebastien Perron June 10, 2003 08:34

Re: I need help for parallalising of fortran code
 
If you have access to a multi-processor computer with shared-memory, it will be mush easier to use openmp to parallize it (see http://www.openmp.org/ ). If you are stuck with a distributed memory system (such as a linux cluster), well I suggest using MPI instead of PVM. It is the most widely used. But it will not be straitforward job. (see http://www-unix.mcs.anl.gov/mpi/mpich/ and http://www-unix.mcs.anl.gov/petsc/petsc-2/ )

BTW: if you code is explicit, getting it to run in parallel will be much easier.


Levi June 11, 2003 01:40

Re: I need help for parallalising of fortran code
 
Why you, Sebastien, don't recommend to use, e.g., High Performance Fortran (HPF) which is easy for studying in comparison with MPI and which yields almost the same results for CFD?

Sebastien Perron June 11, 2003 07:54

Re: I need help for parallalising of fortran code
 
OpenMP is as easy as HPF and is portable across all platforms. It is also an industry standard.

But, HPF would also be a good choice. I recommended OpenMP first because I am more familiar with it.



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