[mpich-discuss] mpich2-1.0.7 file mpif.h and fortran compiler g95

Anthony Chan chan at mcs.anl.gov
Fri Oct 10 15:05:16 CDT 2008


I don't see mpif.h has any "blanket" SAVE statement (assume I don't
misinterpret what a "blanket" SAVE is).  To help us understand the issue,
can you send us a simple fortran MPI program that illustrates the need
of such a construct in mpif.h ?

Thanks,
A.Chan

----- "cornelis broeders" <cornelis.broeders at web.de> wrote:

> Hello,
> I encountered the error message "SAVE statement at (1) follows blanket
> SAVE statement"  during installation of the huge package mcnpx. After
> some efforts I found that this message is generally issued by g95 (and
> gfortran?) if a program with a previous "save" statement includes a
> file, like mpif.h, containing  "save var" statements. Putting the SAVE
> statements of mpif.h in an exclude construct "#ifndef G95  ... #endif
> solved my problem. I propose to include such kind of patch for g95 in
> future releases of mpich2. Could somebody comment on this proposal?
> Best regards,  
> 
> 
> 
> C.H.M. Broeders,       http://www.cornelis-broeders.de




More information about the mpich-discuss mailing list