User Tools

Site Tools


hydrocode_netcdf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hydrocode_netcdf [2014/06/02 21:38] (current)
bartl created
Line 1: Line 1:
 +====== 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:
 +<code bash>
 +F90 = gfortran ​
 +FFLAGS = -c -O3 -I/​usr/​local/​include -I/​usr/​include
 +LDR= gfortran ​             ​
 +LDRFLAGS= ​             ​
 +LIBS=  -L/​usr/​local/​lib -lnetcdff -lnetcdf
 +</​code>​
 +
 +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