NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] Win 7 Fortran netCDF

Il 6/25/2013 12:51 PM, Derek Goring ha scritto:
Ahaaaa............

/usr/bin/gfortran TestnetCDF.f90 -lnetcdff -o TestnetCDF

worked!!
I suspect that's because on my Windows path I have:
c:\strawberry\bin
in which there is a gfortran.exe.

How can I over-ride this within cygwin?
Not that that matters now.  I can simply use the prefix /usr/bin/ to
force it to use the cygwin gfortran
Thank you very much for your help Marco.

Cheers
Derek

redefine the PATH variable or check if you are modifying
the cygwin shell path by accident.

Usually "/usr/bin" came before everything else in cygwin PATH

Regards
Marco




  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: