[mpich-discuss] mpifort wrapper compiler?

Jeff Squyres (jsquyres) jsquyres at cisco.com
Fri Dec 6 08:31:54 CST 2013


On Dec 6, 2013, at 9:16 AM, Jeff Hammond <jeff.science at gmail.com> wrote:

>      integer JeffSquyresIsUnfortunatelyRightSometimes

LOL!

> The IBM XLF compiler can compile any valid Fortran code by specifying
> the language requested explicitly with a flag.  I suppose I can just
> do the following:
> 
> alias mpif77='mpifort -gimme-f77'
> alias mpif90='mpifort -gimme-f90'
> alias mpif95='mpifort -gimme-f95'
> alias mpif03='mpifort -gimme-f03'
> alias mpif08='mpifort -gimme-f08'
> 
> I just find this annoying since it adds a previously unnecessary step
> to users' workflow and breaks backwards compatibility for anyone that
> relies upon their MPI implementation to provide mpif77.

A fair point.

Heh, but you could look at this as your MPI implementation gently prodding you to stop using ancient Fortran dialects.  ;-)  (yes, I know, I know... it's just a joke)

However, keep in mind that OMPI (and MPICH) only have mpif77 and mpif90 -- not mpif95, mpif03, or mpif08.  

Just to be clear: are you saying that, for example, on IBM platforms, MPICH's mpif77 and mpif90 enforce F77 and F90 language compliance?

-- 
Jeff Squyres
jsquyres at cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/




More information about the discuss mailing list