User Tools

Site Tools


Enabling NetCDF support for the serial version of VH-1 on Ubuntu

(tested on Ubuntu 14.04 LTS)

You will need to install the packages libnetcdf-dev and possibly also netcdf-bin. After that, there should be a file called netcdf.mod in /usr/include/. You will need to point Fortran to the right directories by changing the appropriate lines in the makefile:

F90 = gfortran 
FFLAGS = -c -O3 -I/usr/local/include -I/usr/include
LDR=	gfortran              
LIBS=  -L/usr/local/lib -lnetcdff -lnetcdf

ncview is also available in the Ubuntu sources, so just install it from there.

hydrocode_netcdf.txt · Last modified: 2014/06/02 21:38 by bartl