ENRICO can be configured and compiled in an arbitrary build directory. However, at configure time, you must point to
the location of the Nek5000 input deck using the -DUSR_LOC
flag. Here is a sample workflow, for the compiling the
tests/singlerod/short/
case:
- Create and enter a build directory anywhere. For example:
$ mkdir tests/singlerod/short/build
$ cd tests/singlerod/short/build
- Enter the build directory and run CMake, using
USR_LOC
to specify the location of the Nek5000 input deck:
$ CC=mpicc CXX=mpicxx FC=mpif90 cmake -DUSR_LOC=../ ../../../../`
- Make it:
$ make -j4 enrico
In a given case directory, you may also compile coupled and single-physics libraries without a driver. The available targets are:
enrico
: The ENRICO executablelibopenmc
: The OpenMC librarylibnek5000
: The Nek5000 library
Nek5000 provides several utilities for working with mesh data. These may be compiled using the following targets:
genmap
: The Nek5000 tool for mesh partitioning (generates a .map file)genbox
: The Nek5000 tool for generating a simple box mesh (generates a .box file)