Recipe: Fortran program as OPeNDAP client: Difference between revisions
Line 250: | Line 250: | ||
gfortran -o g5nr_reader_dap.x `nf-config --fflags` g5nr_reader_dap.f90 `nf-config --flibs` | gfortran -o g5nr_reader_dap.x `nf-config --fflags` g5nr_reader_dap.f90 `nf-config --flibs` | ||
creating the executable g5nr_reader.x. | creating the executable | ||
g5nr_reader.x. | |||
NOTE: | NOTE: | ||
You can use your favorite Fortran compiler instead of gfortran. | # You can use your favorite Fortran compiler instead of gfortran. | ||
If the NetCDF-4 library was built with parallel I/O support, you will need to use mpif90 to link, even if your code does not use the MPI library. | # If the NetCDF-4 library was built with parallel I/O support, you will need to use mpif90 to link, even if your code does not use the MPI library. | ||
===== Run ===== | ===== Run ===== |