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).
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.