[mpich-discuss] mpifort wrapper compiler?

Jeff Squyres (jsquyres) jsquyres at cisco.com
Fri Dec 6 09:25:15 CST 2013


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

> On Blue Gene:
> 
> #!/bin/bash
> echo "mpixlf77 points to bgxlf, which assumes fixed source form and
> thus will not compile Fortran 90+ programs i.e. free source form."
> for n in 90 95 2003 2008; do
>  echo "mpixlf$n points bgxlf$n, which assumes free source form and
> will likely fail to compile syntax incompatible with Fortran $n"
> done

Is this MPICH, or IBM MPI?

When I install MPICH 3.x on my Linux commodity cluster, I only see mpif77 and mpif90.  Does MPICH do something different when installed on a BG system?

> By default, XLF does not enforce strict language compliance, but it
> will enforce a wide range of syntax requirements that cause user codes
> to fail to compile.  I recall more than one case where Fortran 2003
> and 2008 differ just slightly and users have to use the compiler
> associated with precisely the language that they are trying to use.

Fair enough.  

But I'm trying to determine if MPICH really has mpif03 and mpif08, or whether you were using IBM's MPI, or whether you used MPICH's "mpif90" with some appropriate flag to force a particular syntax/dialect.

-- 
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