rsnt_translations
56,437
edits
No edit summary |
No edit summary |
||
Line 129: | Line 129: | ||
GPU id will be calculated by slot id {%} minus 1. {#} is the job id, starting from 1. | GPU id will be calculated by slot id {%} minus 1. {#} is the job id, starting from 1. | ||
Le fichier params.input devrait contenir les paramètres sur des lignes distinctes, comme suit : | |||
<pre> | <pre> | ||
code1.py | code1.py | ||
Line 139: | Line 138: | ||
</pre> | </pre> | ||
With this method, users can run multiple codes in one submission. In this case, GNU Parallel will run a maximum of 4 jobs at a time. It will launch the next job when one job is finished. CUDA_VISIBLE_DEVICES is used to force using only 1 GPU for each code. | With this method, users can run multiple codes in one submission. In this case, GNU Parallel will run a maximum of 4 jobs at a time. It will launch the next job when one job is finished. CUDA_VISIBLE_DEVICES is used to force using only 1 GPU for each code. | ||