forked from yang-song/score_sde_pytorch
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update tensorboard helper so it can pick up lots of dirs based on input
and add a version for JASMIN
- Loading branch information
1 parent
0e96d5d
commit 80ab5f3
Showing
2 changed files
with
14 additions
and
2 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,12 @@ | ||
#!/usr/bin/bash | ||
# run tensorboard on a login node on a random port | ||
|
||
set -euo pipefail | ||
|
||
runs_dir=$1 | ||
host=${2:-sci2.jasmin} | ||
|
||
port=$(shuf -i 6000-9999 -n 1) | ||
echo "Using port ${port} on ${host}" | ||
|
||
ssh -t -L ${port}:localhost:${port} ${host} "~/mambaforge/envs/mv-mlde/bin/tensorboard --port=${port} --logdir=/gws/nopw/j04/bris_climdyn/henrya/jasmin-active/workdirs/${runs_dir}" |