#!/bin/bash# General notes######################## Script to set up the environment for tests on this platform. Must export# the following environment variables:# # DARSHAN_CC: command to compile C programs# DARSHAN_CXX: command to compile C++ programs# DARSHAN_F90: command to compile Fortran90 programs# DARSHAN_F77: command to compile Fortran77 programs# DARSHAN_RUNJOB: command to execute a job and wait for its completion# This script may load optional modules (as in a Cray PE), set LD_PRELOAD# variables (as in a dynamically linked environment), or generate mpicc# wrappers (as in a statically linked environment).# Notes specific to this platform (cray-module-alcf)######################### Use Cray's default compiler wrappers and load the module associated with# this darshan install## RUNJOB is responsible for submitting a cobalt job, waiting for its# completion, and checking its return statusexport DARSHAN_CC=ccexport DARSHAN_CXX=CCexport DARSHAN_F77=ftnexport DARSHAN_F90=ftnexport DARSHAN_RUNJOB="cray-module-alcf/runjob.sh"module load $DARSHAN_PATH/share/craype-2.x/modulefiles/