HOPR supports Linux-based systems only requires a x86_64 compliant platform and has been tested on the following platforms:
- Ubuntu 12.04 or newer
- Linux Mint 17 or newer
- SUSE Linux Enterprise Server 11 SP3 and newer
HOPR requires a C and a Fortran 2003 compliant compiler, compilers tested with HOPR include
- GNU Compiler Collection 4.6 or newer
- Intel C/Fortran Compiler 12 or newer (recommended)
- CRAY Compiler Environment 8.1 or newer
HOPR furthermore requires CMake 3.0+ as a build system.
The following libraries are required, if not mentioned otherwise, including their development headers:
- libc6
- zlib
- BLAS/LAPACK (or compatible, e.g. ATLAS, MKL)
- Python 2.7 or newer (optional)
If not present on your system, HOPR will automatically download and compile these libraries
- HDF5 (versions <1.10 need to be compiled with Fortran2003)
- CGNS
HOPR supports CMake as a build system, which should be available on most systems. The previously available custom Makefile suport has been removed. For compiling HOPR, create a new sub-directory, e.g. "build" . Inside that directory execute
CC= FC= ccmake ../
Here you can specify library paths and options. If no
preinstallied libraries for HDF5 and CGNS are found these
libraries will be downloaded and built automatically.
Press to configure and to create the Makefiles.
Finally compile HOPR by typing make
.
In case you want to use a precompiled HDF5 or CGNS version
on your system, set the option BUILD_HDF5=<empty>
, then
the path to HDF5 can be specified by the environment variable
$HDF5_DIR
if HDF5 has been built with CMake or $HDF5_ROOT
if built using Automake. Note that $HDF5_DIR
should contain
the path to the CMake subdirectory of HDF5,
i.e. $HDF5_ROOT/share/cmake/hdf5 .
After compiling, you can test HOPR by going to the
tutorials
directory and running the script executeall.sh
,
which will run HOPR for all tutorial cases. For further
information check the HOPR website.