Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parallel Fortran

Status
Not open for further replies.

Renardp

Technical User
May 26, 2007
8
CA
Hello,

I want to devlop a Fortran CFD code for a multicore machine, could someone recomand me a good tutorial in MPI or OpenMP (I'm not sure what is the best choice for my problem).

Thanks
 
With a multiprocessor machine, you should be writing the code in vector notation [like A(B:X,C:Y), for instance]wherever possible. This was certainly true of the Crays (I took a class years ago) and should also be true of more modern architectures.
If your computer has a compiler designed to optimize code for the architecture of your computer (it should), this lets the compiler optimize the calculations to best use the processors available to you. Read your system's Fortran documentation for more details.


Pat O'Connell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top