Recipe: Fortran program as OPeNDAP client: Difference between revisions
Line 117: | Line 117: | ||
For a typical NetCDF-4 installation, the above code, <code>g5nr_reader.f90</code> can be compiled and linked to the NetCDF-4 library via | For a typical NetCDF-4 installation, the above code, <code>g5nr_reader.f90</code> can be compiled and linked to the NetCDF-4 library via | ||
gfortran -o g5nr_reader.x `nf-config --fflags` g5nr_reader.f90 `nf-config --flibs` | gfortran -o g5nr_reader.x `nf-config --fflags` g5nr_reader.f90 `nf-config --flibs` | ||
creating the executable <code>g5nr_reader.x</code>. | creating the executable <code>g5nr_reader.x</code>. |