mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-26 15:43:23 +00:00
New scripts
This commit is contained in:
1 parent
0d80eeb545
commit
bb5c16b97f
3 files changed
+39
-17
No files matched your search
@@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
lrank=$SLURM_LOCALID
|
||||
lgpu=(0 1 2 3 7 6 5 4)
|
||||
|
||||
export ROCR_VISIBLE_DEVICES=$SLURM_LOCALID
|
||||
export ROCR_VISIBLE_DEVICES=${lgpu[$lrank]}
|
||||
|
||||
echo "`hostname` - $lrank device=$ROCR_VISIBLE_DEVICES binding=$BINDING"
|
||||
echo "`hostname` - $lrank device=$ROCR_VISIBLE_DEVICES "
|
||||
|
||||
$*
|
||||
|
||||
|
||||
Reference in new issue
Block a user