Skip to content

Instantly share code, notes, and snippets.

@ibarraespinosa
Created December 8, 2018 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibarraespinosa/a098c379dcc3d1dca4fac2662594af3c to your computer and use it in GitHub Desktop.
Save ibarraespinosa/a098c379dcc3d1dca4fac2662594af3c to your computer and use it in GitHub Desktop.
$ cat test_nc.f90
program test_nc
use netcdf
implicit none
integer :: ncid, nc_err
nc_err = nf90_open('test.nc', nf90_nowrite, ncid)
nc_err = nf90_close(ncid)
end program test_nc
$ gfortran test_nc.f90 -o test_nc `nf-config --fflags --flibs`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment