#!/bin/bash VER="IOR-2.10.1.ornl.13" if [[ $HOSTNAME == zaza* || $HOSTNAME == fizz* ]] then #Change next line to specify MPI location for generic linux systems export MPI_ROOT=/scratch/swh13/sw/openmpi-1.2.4-gnu export PATH=${MPI_ROOT}/bin:$PATH export LD_LIBRARY_PATH=${MPI_ROOT}/lib:$LD_LIBRARY_PATH export MANPATH=${MPI_ROOT}/lib:$MANPATH fi if [[ $HOSTNAME == jaguar* || $HOSTNAME == rizzo2* ]] then #Cray XT systems, ala NCCS style, the module takes care of MPI location module switch PrgEnv-pgi PrgEnv-gnu fi gmake clean if [[ $HOSTNAME == zaza* || $HOSTNAME == fizz* ]] then gmake CC=mpicc some | tee -a build.log cd ./tests #change the next line to where IOR test files will be written,read export IODIR=/scratch/swh13/test_files_x #remove/create directory if required/desired rm -fr $IODIR mkdir $IODIR ./run_script.zaza | tee run.log fi if [[ $HOSTNAME == jaguar* || $HOSTNAME == rizzo* ]] then gmake CC=cc some | tee -a build.log cd ./tests fi if [[ $HOSTNAME == jaguar* ]] then #change the next line to where IOR test files will be written,read export IODIR=/lustre/scr144/swh13/test_files_x #remove/create directory if required/desired rm -fr $IODIR mkdir $IODIR qsub ./run_script.cnl fi if [[ $HOSTNAME == rizzo2 ]] then #change the next line to where IOR test files will be written,read export IODIR=/lustre/spider/scratch/swh13/test_files_x #remove/create directory if required/desired rm -fr $IODIR mkdir $IODIR qsub ./run_script.rizzo2 fi