Skip to content

Commit

Permalink
fix: bug fix ... if ISBIOWULF then dont check for helix
Browse files Browse the repository at this point in the history
  • Loading branch information
kopardev committed Feb 28, 2024
1 parent 77391ca commit c2680cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/redirect
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ TOOLNAME=$(basename "$SCRIPTNAME")

# find out if you are running on biowulf or frce
nbiowulf=$(scontrol show config 2>/dev/null | grep -i -c biowulf)
if [[ "$nbiowulf" > 0 ]];then ISBIOWULF=true; else ISBIOWULF=false;fi
if [[ $nbiowulf -gt 0 ]];then ISBIOWULF=true; else ISBIOWULF=false;fi
nfrce=$(scontrol show config 2>/dev/null | grep -i -c fsitgl)
if [[ "$nfrce" > 0 ]];then ISFRCE=true; else ISFRCE=false;fi
if [[ $nfrce -gt 0 ]];then ISFRCE=true; else ISFRCE=false;fi
if [[ $ISBIOWULF == false ]];then
if [[ "$HOSTNAME" == "helix.nih.gov" ]];then ISBIOWULF=true; else ISBIOWULF=false;fi
fi

# load conda
run=1
Expand Down

0 comments on commit c2680cf

Please sign in to comment.