Hope you are doing well.
Can you kindly help me understand why my Fortran OpenACC code could not detect a Tesla K40c GPU and a Geforce GTX Titan X at the same time? (They are both on the same desktop/pc - running windows 10)
I understand that the flags to run OpenACC code on both is -ta=tesla:cc35 and -ta=tesla:cc50 respectively. However, I had the Titan X working well with my code and cc50, but when I run with cc35, the K40c is not even visible when I try to search for it with openacc functions.
Is it possible that I cannot run a single code that can make use of both GPUs (or even making use of Multi-GPU) depending on user choice? I would like to let the person who executes to choose between them.
I had a workaround, that is hefty. I downloaded these two drivers by NVIDIA:
- 416.16-desktop-win10-64bit-international-whql (for the Titan X)
- 398.75-tesla-desktop-win10-64bit-international (for the K40c)
When I install one of them, I am able to run my OpenACC code with the respective GPU.
Could you kindly inform me of the problem here?
Thank you for your time