|May 30, 2010, 07:15||
Join Date: Apr 2010
Location: Sydney Aus
Posts: 4Rep Power: 8
I just have a simple question. I have got a code written in Fortran in serial. The maximum matrix size that I can go to is about 2 mil (in 3D). I wish to run more due to the huge size of the problem.
I have been looking around for some MPI tutorials and I still do not know what to do. Are there any better tutorials particularly suited for CFD applications?
I am thinking along the following lines:
1. breaking up my domain to different processors
2. each processor will solve one domain (or mesh) and
3. every processor will communicate with each other to update variable values
From what i know, MPI will help me. But im not sure how or where to start.
Thanks in advance.
|June 2, 2010, 14:31||
Join Date: Apr 2009
Posts: 17Rep Power: 9
Check out the IBM red book. It might be useful for you.
|June 4, 2010, 08:15||
Join Date: Nov 2009
Posts: 411Rep Power: 11
A simple approach will be to directly parallelize your serial code using OpenMP (check the official site for some good tutorials). Also if you want to be able to use more then 2GB of RAM per application you will need to 64 bits operating system (Windows or Linux both will do as long as you have the 64 bits version and ... plenty of RAM).
Also, the Fortran compiler you use will make a huge difference: Intel Fortran fast, gfortran will do (and it is free) ...
|June 9, 2010, 08:12||
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 36Rep Power: 9
try these tutorials and lectures notes form the University of Edinburgh. Their material is excellent for starting with MPI.
While OpenMP seems tempting in the beginning, MPI is definitely the way to go for high performance computing. In the long run, using MPI will definitely pay off.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Script to Run Parallel Jobs in Rocks Cluster||asaha||OpenFOAM Running, Solving & CFD||12||July 4, 2012 22:51|
|HP MPI warning...Distributed parallel processing||Peter||CFX||10||May 14, 2011 06:17|
|IcoFoam parallel woes||msrinath80||OpenFOAM Running, Solving & CFD||9||July 22, 2007 02:58|
|PROBLEM IN PARALLEL PROGRAMMING WITH MPI||Niavarani||Main CFD Forum||1||April 20, 2004 06:51|
|Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22||Amitava Majumdar||Main CFD Forum||0||January 5, 1999 13:00|