Using NetCDF on Juropatest
- Loading NetCDF Module
module load intel-para netCDF-Fortran/4.4.2 or module load intel netCDF-Fortran/4.4.2
- Compilerversions loaded by intel-para (21.05.2015):
- gcc-Version 4.9.2 (GCC)
- icc version 15.0.2 (gcc version 4.9.0 compatibility)
- ifort version 15.0.2
- If the netcdf module is loaded, "ncdump" and "ncgen" can be used and compilation of programs using netcdf is possible (without specifying any library or include path).
- Compile Fortran program with NetCDF:
ifort -o progname progname.f90 -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz