#!/usr/bin/env bash

source /project/project_465000527/perf_tools/extrae/extrae_user_fx/etc/extrae.sh

export LD_PRELOAD=${EXTRAE_HOME}/lib/libmpitracef.so
export EXTRAE_CONFIG_FILE="extrae.xml"
export EXTRAE_SKIP_AUTO_LIBRARY_INITIALIZE=1

echo "Extrae ENABLED!"

$*
