Dear community,
Slide 92 of the OpenMPI Sc'14 slides describes the simple migration from
mpif.h to use mpi in a Fortran application code.
However the description is not correct.
In a Fortran routine, the use-stmts (if there are) must come before (!) any
other stmts,
i.e. you cannot place the implicit none before the use mpif90 .
Correct is only this:
subroutine foo --> subroutine foo
include 'mpif.h' use mpi
implicit none implicit none
integer a, ... integer a, ...
However (for the developers of the mpi-module), you can (and should!!) employ
the implicit none -stmt inside the mpi-module itself:
module mpi
implicit none
integer MPI_...
contains
...
end module mpi
Greetings
Michael Rachner
-----Ursprüngliche Nachricht-----
Von: users [mailto:[email protected]] Im Auftrag von Jeff Squyres
(jsquyres)
Gesendet: Donnerstag, 20. November 2014 16:48
An: Open MPI User's List; Open MPI Developers List
Betreff: [OMPI users] Open MPI SC'14 BOF slides
For those of you who weren't able to be at the SC'14 BOF yesterday -- and even
for those of you who were there and wanted to be able to read the slides in a
little more detail (and get the links from the slides) -- I have posted them
here:
http://www.open-mpi.org/papers/sc-2014/
Enjoy!
--
Jeff Squyres
[email protected]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/
_______________________________________________
users mailing list
[email protected]
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post:
http://www.open-mpi.org/community/lists/users/2014/11/25849.php