-
Notifications
You must be signed in to change notification settings - Fork 47
Exodus and NetCDF HowTo
How to install ExoduxII and NetCDF libraries
(necessary to read Cubit files in Hermes) For system-wide installation do (as a root):
- cd /
64 bit: wget http://hpfem.org/downloads/exodusii-bin-amd64-4.81.tar.gz wget http://hpfem.org/downloads/netcdf-bin-amd64-4.0.1.tar.gz
32 bit: wget http://hpfem.org/downloads/exodusii-bin-i686-4.81.tar.gz wget http://hpfem.org/downloads/netcdf-bin-i686-4.0.1.tar.gz
- tar xvzf exodusii-bin-.tar.gz tar xvzf netcdf-bin-.tar.gz
- rm exodusii-bin-.tar.gz rm netcdf-bin-.tar.gz
This will unpack binary packages of netcdf and exodusii in to /opt/packages/netcdf and /opt/packages/exodusii, respectively. If you do not like the location you can change it to whatever you like, but you need to adjust the CMake variables accordingly see below).
To use exodusii support in Hermes2D:
-
clone the repo (is you have done it yet)
-
in CMake.vars, say: SET(WITH_EXODUSII YES) SET(EXODUSII_ROOT /opt/packages/exodusii) SET(NETCDF_ROOT /opt/packages/netcdf)
cmake . make
Note: the binary packages were prepared on Ubuntu 9.10 (64 bit and 32 bit). They might work on other 64 and 32 bit machines, but we did not test that. However, you can always build these packages by yourself if you are on a different architecture (both are available for free).