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

cornelis.broeders at web.de cornelis.broeders at web.de
Fri Oct 10 11:47:33 CDT 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cornelis Broeders.vcf
Type: text/x-vcard
Size: 279 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20081010/c8415255/attachment.vcf>


More information about the mpich-discuss mailing list