#!/bin/bash


basedir=$(dirname "$0")

mpidir="$basedir/openmpi-4.1.4_intel2022_gcc-11.4.0"
exe="$basedir/bin/arion2.75_openmpi-4.1.4"
export MPI_ROOT="$mpidir"
export LD_LIBRARY_PATH="$basedir/lib:$mpidir/lib:$LD_LIBRARY_PATH"
export OPAL_PREFIX="$mpidir"

source "$basedir/arion_setup.sh" "$basedir"

export OPENBLAS_NUM_THREADS=1

"$exe" $@ 

