aprilnovak / enrico

ENRICO: Exascale Nuclear Reactor Investigative COde

Home Page:https://enrico-docs.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ENRICO: Exascale Nuclear Reactor Investigative COde

License Travis CI build status (Linux)

General Compilation

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:

  1. Create and enter a build directory anywhere. For example:
  $ mkdir tests/singlerod/short/build
  $ cd tests/singlerod/short/build
  1. 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=../ ../../../../`
  1. Make it:
  $ make -j4 enrico

Library Targets

In a given case directory, you may also compile coupled and single-physics libraries without a driver. The available targets are:

  • enrico: The ENRICO executable
  • libopenmc: The OpenMC library
  • libnek5000: The Nek5000 library

Nek5000 Utilities

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)

About

ENRICO: Exascale Nuclear Reactor Investigative COde

https://enrico-docs.readthedocs.io

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 92.5%Language:Python 3.8%Language:CMake 2.2%Language:Shell 0.8%Language:Fortran 0.5%Language:Makefile 0.1%