Skip to content

Commit

Permalink
fixing bug with resume!
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoch committed Aug 16, 2018
1 parent b842340 commit d7396d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resume.sh
Expand Up @@ -10,7 +10,10 @@ then
fi
source params.sh

NAME="${1}"

# The user is required to specify port

echo "ssh ${RESOURCE} squeue --name=$NAME --user=$USERNAME -o "%N" -h"
MACHINE=`ssh ${RESOURCE} squeue --name=$NAME --user=$USERNAME -o "%N" -h`
ssh -L $PORT:localhost:$PORT ${RESOURCE} ssh -L $PORT:localhost:$PORT -N $MACHINE &

0 comments on commit d7396d3

Please sign in to comment.