Child pages
  • Hyak_netcdf_gfortran
Skip to end of metadata
Go to start of metadata

If you have a program myprogram.f90 which uses netcdf then below are compiling instructions for gfortran on ikt.hyak.

module load netcdf_fortran+c_4.4.3-gcc_4.4.7

gfortran myrprogram.f90  -o myprogram -I/sw/netcdf-fortran+c-4 .4.3_gcc-4.4.7/include -L/sw/netcdf-fortran+c-4.4.3_gcc-4.4.7/lib -lnetcdf -lnetcdff

 

On mox.hyak use "module avail" to find the appropriate netcdf module and modify above instructions appropriately.

  • No labels