The use of --gpu-bind=closest may not work for all codes. For those codes, "manual" binding may be the only reliable method if they relying OpenMP or OpenACC pragma's for moving data from/to host to/from GPU and attempting to use GPU-to-GPU enabled MPI communication. Some codes, like {{OpenMM}}, also make use of the runtime environment variables and require explicitly setting ROCR_VISIBLE_DEVICES Code Block |
---|
language | bash |
---|
theme | Emacs |
---|
title | Setting visible devices manually |
---|
| export ROCR_VISIBLE_DEVICES=0,1 # selects the first two GCDS on GPU 1. |
|