Opened 10 years ago

Closed 8 years ago

#43597 closed defect (fixed)

openmpi uses deprecated fortran wrappers / should use mpifort

Reported by: platipodium (Carsten Lemmen) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: fortran, wrapper, mpif90, mpifort Cc: platipodium (Carsten Lemmen)
Port: openmpi

Description

mpifort is a new name for the Fortran wrapper compiler that debuted in Open MPI v1.7.

It supports compiling all versions of Fortran, and utilizing all MPI Fortran interfaces (mpif.h, use mpi, and use mpi_f08). There is no need to distinguish between "Fortran 77" (which hasn't existed for 30+ years) or "Fortran 90" -- just use mpifort to compile all your Fortran MPI applications and don't worry about what dialect it is, nor which MPI Fortran interface it uses.

Other MPI implementations will also soon support a wrapper compiler named mpifort, so hopefully we can move the whole world to this simpler wrapper compiler name, and elminiate the use of mpif77 and mpif90.

Specifically: mpif77 and mpif90 are deprecated as of Open MPI v1.7. Although mpif77 and mpif90 still exist in Open MPI v1.7 for legacy reasons, they will likely be removed in some (undetermined) future release. It is in your interest to convert to mpifort now."

Reference: http://www.open-mpi.org/faq/?category=mpi-apps#mpifort-vs-mpif77-and-mpif90

Classified as defect, as 3rd party software relies on existence of mpifort wrapper with Open MPI v1.7 and better.

Change History (3)

comment:1 Changed 10 years ago by platipodium (Carsten Lemmen)

Cc: carsten@… added

Cc Me!

comment:2 Changed 10 years ago by seanfarley (Sean Farley)

I guess when mpich implements this, we can easily change things at once in the mpi port group. I don't know what else to do besides wait.

comment:3 Changed 8 years ago by dstrubbe (David Strubbe)

Resolution: fixed
Status: newclosed

mpifort was added generally in r122477.

Note: See TracTickets for help on using tickets.