-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b725f03
commit 928cec3
Showing
4 changed files
with
40 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
#SBATCH --job-name=vsc-gpu-tunnel | ||
#SBATCH --ntasks=1 | ||
#SBATCH --gres=gpu:1 | ||
#SBATCH --partition=gpuq | ||
#SBATCH --mem=300G | ||
#SBATCH --time=120:00:00 | ||
#SBATCH --output=/home/%u/tmp/errout/jrocker/vsc-gpu-tunnel.job.%j | ||
# customize --output path as appropriate (to a directory readable only by the user!) | ||
|
||
source ~/tools/anaconda3/bin/activate | ||
MACHINENAME=$(uuidgen | cut -d"-" -f1) | ||
|
||
echo $MACHINENAME | ||
# code tunnel --random-name --no-sleep --accept-server-license-terms | ||
|
||
code tunnel user login --provider github && code tunnel --name ${MACHINENAME} --no-sleep --accept-server-license-terms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
#SBATCH --job-name=vsc-tunnel | ||
#SBATCH --signal=USR2 | ||
#SBATCH --ntasks=1 | ||
#SBATCH --cpus-per-task=50 | ||
#SBATCH --mem=100G | ||
#SBATCH --time=1080:00:00 | ||
#SBATCH --output=/home/%u/tmp/errout/jrocker/vsc-tunnel.job.%j | ||
# customize --output path as appropriate (to a directory readable only by the user!) | ||
|
||
source ~/tools/anaconda3/bin/activate | ||
MACHINENAME=$(uuidgen | cut -d"-" -f1) | ||
|
||
echo $MACHINENAME | ||
# code tunnel --random-name --no-sleep --accept-server-license-terms | ||
|
||
code tunnel user login --provider github && code tunnel --name ${MACHINENAME} --no-sleep --accept-server-license-terms |
This file was deleted.
Oops, something went wrong.