2.1.5. Linux environment

To ensure optimal OpenMP performance and sufficient OpenMP stack size:

export OMP_PLACES=numa_domains         # or "cores"
export OMP_PROC_BIND=close
export OMP_STACKSIZE=30m

To include the utilities/python/ directory in the Python search path:

export DISPATCH=${HOME}/codes/dispatch
export PYTHONPATH=${DISPATCH}/utilities/python:${PYTHONPATH}

To set compile options, add an options.mkf, either in $(TOP) or in the specific experiments directory, containing for example (cf. config/Makefile)

COMPILER=gcc           # default compiler
SEPARATE_CPUS=y        # separate build dir for each CPU=
SEPARATE_BUILDS=y      # separate build dir for each SOLVER=
SEPARATE_COMPILERS=y   # separate build dir for each COMPILER=