To install the ExodusII library, insert the following commands in your command-line terminal (be root user for system wide installation):
tar xvzf exodusii-bin-*.tar.gz
The latter steps will unpack the binary package of ExodusII into /opt/packages/exodusii. If you do not like the location, you may change it to whatever you like, just remember to also adjust the “CMake” variables accordingly (see below).
To use ExodusII support in Hermes2d or 3d: - clone the Hermes repo (if you haven’t done so yet), and in your “CMake.vars” file (found in your Hermes directory) add the following lines (AFTER you are done installing BOTH [ExodusII and NetCDF] packages):
SET(WITH_EXODUSII YES) SET(EXODUSII_ROOT /opt/packages/exodusii) SET(NETCDF_ROOT /opt/packages/netcdf)
After you are done adding these lines to your “CMake.vars” file, go back to your command-line terminal and type:
cmake . make
Congratulations (assuming everything worked out) you just installed the ExodusII library!