#!/bin/bash
# -----------------------------------------------------------------------------
#
# Common user defined environment variable for running performance tool scripts.
#
# -----------------------------------------------------------------------------
# Licensed Materials - Property of IBM
# 5724-S84
# (C) Copyright IBM Corp. 2007,2007 All Rights Reserved
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with
# IBM Corp.
#

if [ ! "$SDK_ROOT" ] ; then
  export SDK_ROOT=""
fi
if [ ! "$SDK_PROTOTYPE_ROOT" ] ; then
  export SDK_PROTOTYPE_ROOT=/opt/cell/sdk/prototype
fi

# PERF_DATA_ROOT - Base location for all output data files to be written to.
export PERF_DATA_ROOT=$SCRATCH/perfData

# The following four optional environment variables allow you to identify the 
# locations of the host and accellerator pieces of your hybrid application 
# so we can appropriately add them to the appropriate path.
# 
# This allows you to point to alternative versions of your executables which you
# may be using to work with the tools (ex/ if you've compiled a version of your
# application with trace enable then when running the trace lauching tool you 
# would want to make sure the traced version of you executables were place at the 
# front of the various paths).

export HOST_APP_PATH=
export HOST_APP_LD_LIBRARY_PATH=
export ACCEL_APP_PATH=
export ACCEL_APP_LD_LIBRARY_PATH=

return 0 # successful completion
1
