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

Re: 20050309: g95 switches for netCDF



Unidata Support <address@hidden> writes:

> ------- Forwarded Message
>
>
> The following switches work for to build netCDF 3.6+ on x86 with the g95 
> fortran compiler:
>
> export CC='gcc'
> export CXX='g++'
> export CPPFLAGS='-DNDEBUG -DpgiFortran'
> export CFLAGS='-O -g'
> export FC='g95'
> export F90='g95'
> export FFLAGS='-O -g -fno-second-underscore'
> export F90FLAGS='-O -g -fno-second-underscore'
>
> while the following switches work for me on x86_64:
>
> export CC='gcc'
> export CXX='g++'
> export CPPFLAGS='-DNDEBUG -DpgiFortran'
> export CFLAGS='-O -fPIC -m64'
> export FC='g95'
> export F90='g95'
> export FFLAGS='-O -g -fno-second-underscore'
> export F90FLAGS='-O -g -fno-second-underscore'
>
> I hope you will add these notes to future versions of the INSTALL
> documentation to promote use of the g95 compiler.
>
> Thanks,
> Charlie
> -- 
> Charlie Zender, address@hidden, (949) 824-2987, Department of Earth
> System Science, University of California, Irvine CA 92697-3100
>
> --
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.
>
> ------- End of Forwarded Message
>
>

Thanks Charlie,

I've put those on our web page, and I'll try to bring the netCDF
configure script up to speed with them before our next release.

Thanks,

Ed
-- 
Ed Hartnett  -- address@hidden