Back

Minisymposium Presentation

MPI and Modern Fortran: Better Together

Wednesday, June 5, 2024
9:00
-
9:30
CEST
Climate, Weather and Earth Sciences
Climate, Weather and Earth Sciences
Climate, Weather and Earth Sciences
Chemistry and Materials
Chemistry and Materials
Chemistry and Materials
Computer Science and Applied Mathematics
Computer Science and Applied Mathematics
Computer Science and Applied Mathematics
Humanities and Social Sciences
Humanities and Social Sciences
Humanities and Social Sciences
Engineering
Engineering
Engineering
Life Sciences
Life Sciences
Life Sciences
Physics
Physics
Physics

Presenter

Jeff
Hammond
-
NVIDIA Inc.

Jeff Hammond is a principal software engineer at NVIDIA. His life goal is to make programming supercomputers easier and more effective for scientists.

Description

This talk will describe the right way to use MPI in Fortran. The MPI Fortran 2008 bindings offer type safety and are the only standard-compliant method for using MPI in Fortran. I will show how and why to use MPI_F08. One challenge is imperfect implementations of MPI Fortran support. I will show how this is solved using Vapaa, a standalone implementation of MPI_F08. I will also show how to make Fortran code more efficient with wrappers that eliminate the need for redundanent arguments, i.e. count and type can be inferred from Fortran arrays. Finally, I will talk about the current activities of the MPI Forum as they relate to Fortran.

Authors