Fortran Useful and Extensive MPI tutorial/notes in FORTRAN

  • Thread starter Thread starter sketos
  • Start date Start date
  • Tags Tags
    Fortran
AI Thread Summary
A new user of MPI in Fortran seeks extensive tutorials or textbooks to enhance their understanding of the subject, particularly for processing large N-Body simulations. They reference a tutorial from Lawrence Livermore National Laboratory but find it lacking in examples. The discussion highlights the importance of being fluent in Fortran, as the challenge lies in parallelizing computations rather than using MPI itself. Recommendations include a book that, while focused on C, includes Fortran 77 code, and another by Bisseling that simplifies parallel programming through the BSP model, offering insights into using MPI primitives. The conversation emphasizes the need for comprehensive resources to effectively learn MPI in the context of Fortran programming.
sketos
Messages
55
Reaction score
0
Hello Everyone,

I am a new user of MPI in fortran ( i have used fortran for an adequate time ) and I want to make myself familiar with the subject. Has anyone you stumbled upon a useful tutorial in MPI for fortran but simultaneously extensive ?

Or maybe someone has used a textbook that turned out to be useful in that topic?
 
Technology news on Phys.org
How about this one?

https://computing.llnl.gov/tutorials/mpi/
 
this is one the best i could find online, but still doesn't cover many examples. I will have to post process a quite huge N-Body simulation and i assume i need to go deeper into the subject ...
 
You mean, you already looked into the links at bottom of the Wikipedia entry, too?
50-page pdf
150-page pdf

Then, there is also OpenMPI
 
Are you well versed in parallel computing?
Using MPI should be the easy part if you are 'fluent' in fortran, the hard part is parallelizing your computation/algorithm.

I'm not really aware of books focused on the MPI library.
This one is written in C but also has the code in fortran 77
https://www.amazon.com/dp/1558603395/?tag=pfamazon01-20

For another approach I can recommend the book by Bisseling.
It is mostly focused on the BSP-model which makes parallel programming quite easy even for me (I only had a course in C and some experience with simple monte carlo simulations before I started the book).
An appendix also explains how you can program in the BSP style using MPI primitives.
 
  • Like
Likes sketos
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.

Similar threads

Replies
17
Views
6K
Replies
1
Views
3K
Replies
16
Views
3K
Replies
22
Views
4K
Replies
12
Views
7K
Replies
1
Views
1K
Replies
12
Views
3K
Back
Top