Skip to content

Commit

Permalink
Add KT's patches:
Browse files Browse the repository at this point in the history
+ Remove unneeded -e $logfile.
+ Add QoS flag for access queue.
  • Loading branch information
RyanWollaeger committed Jul 6, 2017
1 parent 355fae6 commit c7cea8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions regression/scripts/release_toss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ scratchdir=`selectscratchdir`
avail_queues=`sacctmgr -np list assoc user=$LOGNAME | sed -e 's/.*|\(.*dev.*\|.*access.*\)|.*/\1/' | sed -e 's/|.*//'`

case $avail_queues in
*access*) access_queue="-A access" ;;
*access*) access_queue="-A access --qos=access" ;;
*dev*) access_queue="--qos=dev" ;;
esac

Expand Down Expand Up @@ -178,7 +178,6 @@ for env in $environments; do
export steps="config build test"
cmd="sbatch -J release_draco $access_queue -t 1:00:00 -N 1 \
-o $source_prefix/logs/release-$buildflavor-$version.log \
-e $source_prefix/logs/release-$buildflavor-$version.log \
$script_dir/release_toss2.msub"
echo -e "\nConfigure, Build and Test $buildflavor-$version version of $package."
echo "$cmd"
Expand Down

0 comments on commit c7cea8c

Please sign in to comment.