[mpich-discuss] Error when compiling with mpif90

Anthony Chan chan at mcs.anl.gov
Fri Feb 11 14:32:01 CST 2011



----- Original Message -----

> not /usr/bin/mpif90, which gives a different error message about not
> supporting fortran.
> 
> The output from using show is:
> 
> /usr/local/bin/gfortran -c bla.f -mcmodel=large
> -I/usr/local/mpich2/include
> -L/usr/local/mpich2/lib -cpp -I/usr/local/mpich2/include
> -I/usr/local/mpich2/include

I am not familiar with Mac, but AFAIK, mpich2's mpif90 does not add
"-cpp" or "-mcmodel".  How did you configure mpich2 ?  Can you send us
the configure and make outputs ?  I would like to make sure that
your mpich2 build is OK.

A.Chan

> 
> And just to repeat, the compiler error messages are below.
> 
> /var/folders/zz/zzzivhrRnAmviuee++2ZO++-7KU/-Tmp-//ccsWDdv3.s:23533:junk
> `@PLTOFF' after expression
> /var/folders/zz/zzzivhrRnAmviuee++2ZO++-7KU/-Tmp-//ccsWDdv3.s:23537:junk
> `@GOTOFF' after expression
> 


More information about the mpich-discuss mailing list