Issue with running CP2K on multi-GPU node

Andreas Glöss andreas... at gmail.com
Mon Nov 17 15:01:59 UTC 2014


Hi Abhishek,

There is a much easier way than modifying the code - just specify which GPU 
is visible to the program by setting the environment variable 
CUDA_VISIBLE_DEVICES.

eg. (bash-syntax):

export CUDA_VISIBLE_DEVICES=0,3
... then start your calculation ...
unset CUDA_VISIBLE_DEVICES

would "hide" GPU 2 and 3 ("C"-counting).

Regards,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20141117/5eebcd77/attachment.htm>


More information about the CP2K-user mailing list