[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #IQL-963023]: Building netcdf on BlueGene/P system



Annette,

The -fno-underscoring is an option understood by gfortran, but not
gcc.  The Fortran 77 interface is actually C code, compiled by gcc, so
functions such as nf_open are unaffected by options to gfortran.  The
Fortran-90 interface, on the other hand, is Fortran-90 code (that)
calls the Fortran-77 code), so it should be affected by the
-fno-underscoring option.  So nf90_open, for example should not have a
trailing underscore.

From your question, it sounds like you *do* want the trailing
"_" on externals for Fortran, so I'm not sure why you are specifying
-fno-underscoring, which would not append an underscore.  If you
really need the underscore for compatibility with another library,
you should not specify the -fno-underscoring option in F90FLAGS or
FFLAGS.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: IQL-963023
Department: Support netCDF
Priority: Normal
Status: Closed