44 | | * Get the latest netcdf release ([http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf.tar.gz netcdf-3.6.2] from Unidata. |
| 44 | * Get the latest netcdf stable release ([http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf.tar.gz netcdf-3.6.2] from Unidata. |
| 45 | * Open a Cygwin shell and type the following commands to correctly build and install netcdf and netcdf-90 interface on your system. |
| 46 | |
| 47 | ''$ CC=gcc FC=gfortran F90=gfortran F77=gfortran CPPFLAGS=-DpgiFortran ./configure --prefix=/usr/local/netcdf/gfortran'' (All in one line) |
| 48 | |
| 49 | ''$ make'' |
| 50 | |
| 51 | ''$ make check'' |
| 52 | |
| 53 | ''$ make install'' (This will install netcdf in path you've provided with --prefix during configure) |
| 54 | |