How to install ExoduxII and NetCDF libraries
(necessary to real Cubit files in Hermes)
For system-wide installation do (as a root):
1) cd /
2)
wget http://spilka.math.unr.edu/~andrsd/exodusii-bin-amd64-4.81.tar.gz
wget http://spilka.math.unr.edu/~andrsd/netcdf-bin-amd64-4.0.1.tar.gz
3)
tar xvzf exodusii-bin-amd64-4.81.tar.gz
tar xvzf netcdf-bin-amd64-4.0.1.tar.gz
4)
rm exodusii-bin-amd64-4.81.tar.gz
rm netcdf-bin-amd64-4.0.1.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).
They might work on other 64 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).