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
$ wget https://github.com/seqeralabs/tower-cli/releases/download/v0.8.0/tw-linux-x86_64 | |
$ mv tw-* tw | |
$ chmod +x ./tw | |
$ sudo mv tw /usr/local/bin/ |
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
''' | |
{ | |
"user": { | |
"id": 4610, | |
"userName": "fred", | |
"email": "frederick.sanger@seqera.io", | |
"firstName": null, | |
"lastName": null, | |
... | |
"lastAccess": "2023-07-10T13:06:01Z", |
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
''' | |
$ curl -X GET "https://api.tower.nf/user-info" \ | |
-H "Accept: application/json" \ | |
-H "Authorization: Bearer <your token>" \ | |
| jq |
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
$ qrsub -pe mpi 112 -l hgpu=4 -d 1:0:0 | |
$ qsub -ar <id> -pe mpi 4 -par 4 -l hgpu=4 gpu_mpi_job.sh |
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
$ qsub -l gpu=1 cudajob.py |
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
$ qsub -binding linear:1 -l gpu=1 cudajob.py |
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
[root@master]# qconf -me host1 | |
hostname host1 | |
load_scaling NONE | |
complex_values m_mem_free=815.000000M, gpu=4\ | |
(gpu0[cuda_id=0,device=/dev/nvidia0] \ | |
gpu1[cuda_id=1,device=/dev/nvidia1]\ | |
gpu2[cuda_id=2,device=/dev/nvidia2]\ | |
gpu3[cuda_id=3,device=/dev/nvidia3]) | |
complex_values gpu=4\ | |
(gpu0:SCCCCccccScccccccc \ |
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
[root@master]# qconf -mconf host1 | |
cgroup_params cgroup_path=/sys/fs/cgroup \ | |
devices=/dev/nvidia[0-3] |
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
[root@master]# qconf -mconf global | |
.. | |
qmaster_params none | |
execd_params KEEP_ACTIVE=ERROR UGE_DCGM_PORT=5555 \ | |
SET_CUDA_VISIBLE_DEVICES=true | |
reporting_params accounting=true reporting=false \ | |
flush_time=00:00:15 joblog=false sharelog=00:00:00 | |
finished_jobs 0 | |
.. |
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
$ qsub -l gpu=”2(V100)[affinity=2]” volta_gpu_job.sh |