-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Fabrice Normandin <[email protected]>
- Loading branch information
Showing
8 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
tests/integration/test_code_command/test_code_beluga__salloc_.txt
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,11 @@ | ||
Checking disk quota on $HOME... | ||
Disk usage: X / LIMIT GiB and X / LIMIT files | ||
Installing VSCode extensions that are on the local machine on beluga in the background. | ||
(beluga) $ cd $SCRATCH && salloc --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code | ||
Waiting for job JOB_ID to start. | ||
(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
|
||
The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice). | ||
(beluga) $ scancel JOB_ID | ||
Ended session on 'COMPUTE_NODE' |
16 changes: 16 additions & 0 deletions
16
tests/integration/test_code_command/test_code_beluga__sbatch_.txt
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,16 @@ | ||
Checking disk quota on $HOME... | ||
Disk usage: X / LIMIT GiB and X / LIMIT files | ||
Installing VSCode extensions that are on the local machine on beluga in the background. | ||
(beluga) $ cd $SCRATCH && sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code --wrap | ||
'srun sleep 7d' | ||
JOB_ID | ||
|
||
(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
|
||
The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice). | ||
This allocation is persistent and is still active. | ||
To reconnect to this job, run the following: | ||
mila code $HOME/bob --cluster beluga --job JOB_ID | ||
To kill this allocation: | ||
ssh beluga scancel JOB_ID |
10 changes: 10 additions & 0 deletions
10
tests/integration/test_code_command/test_code_cedar__salloc_.txt
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,10 @@ | ||
Checking disk quota on $HOME... | ||
Disk usage: X / LIMIT GiB and X / LIMIT files | ||
(cedar) $ cd $SCRATCH && salloc --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code | ||
Waiting for job JOB_ID to start. | ||
(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
|
||
The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice). | ||
(cedar) $ scancel JOB_ID | ||
Ended session on 'COMPUTE_NODE' |
15 changes: 15 additions & 0 deletions
15
tests/integration/test_code_command/test_code_cedar__sbatch_.txt
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,15 @@ | ||
Checking disk quota on $HOME... | ||
Disk usage: X / LIMIT GiB and X / LIMIT files | ||
(cedar) $ cd $SCRATCH && sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code --wrap | ||
'srun sleep 7d' | ||
JOB_ID | ||
|
||
(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
|
||
The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice). | ||
This allocation is persistent and is still active. | ||
To reconnect to this job, run the following: | ||
mila code $HOME/bob --cluster cedar --job JOB_ID | ||
To kill this allocation: | ||
ssh cedar scancel JOB_ID |
10 changes: 10 additions & 0 deletions
10
tests/integration/test_code_command/test_code_graham__salloc_.txt
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,10 @@ | ||
Checking disk quota on $HOME... | ||
Installing VSCode extensions that are on the local machine on graham in the background. | ||
(graham) $ cd $SCRATCH && salloc --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code | ||
Waiting for job JOB_ID to start. | ||
(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
|
||
The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice). | ||
(graham) $ scancel JOB_ID | ||
Ended session on 'COMPUTE_NODE' |
15 changes: 15 additions & 0 deletions
15
tests/integration/test_code_command/test_code_graham__sbatch_.txt
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,15 @@ | ||
Checking disk quota on $HOME... | ||
Installing VSCode extensions that are on the local machine on graham in the background. | ||
(graham) $ cd $SCRATCH && sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code --wrap | ||
'srun sleep 7d' | ||
JOB_ID | ||
|
||
(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
|
||
The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice). | ||
This allocation is persistent and is still active. | ||
To reconnect to this job, run the following: | ||
mila code $HOME/bob --cluster graham --job JOB_ID | ||
To kill this allocation: | ||
ssh graham scancel JOB_ID |
10 changes: 10 additions & 0 deletions
10
tests/integration/test_code_command/test_code_mila__salloc_.txt
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,10 @@ | ||
Checking disk quota on $HOME... | ||
Disk usage: X / LIMIT GiB and X / LIMIT files | ||
(mila) $ salloc --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code | ||
Waiting for job JOB_ID to start. | ||
(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
|
||
The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice). | ||
(mila) $ scancel JOB_ID | ||
Ended session on 'COMPUTE_NODE' |
14 changes: 14 additions & 0 deletions
14
tests/integration/test_code_command/test_code_mila__sbatch_.txt
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,14 @@ | ||
Checking disk quota on $HOME... | ||
Disk usage: X / LIMIT GiB and X / LIMIT files | ||
(mila) $ sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code --wrap 'srun sleep 7d' | ||
JOB_ID | ||
|
||
(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob | ||
|
||
The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice). | ||
This allocation is persistent and is still active. | ||
To reconnect to this job, run the following: | ||
mila code $HOME/bob --job JOB_ID | ||
To kill this allocation: | ||
ssh mila scancel JOB_ID |