- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to make pyopencl call "get_platforms()" on qsub.
On jupyter I run the below commands:
pip install --user pyopencl
import pyopencl as cl
platform = cl.get_platforms()
When I run the above I see error "LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR".
How to select a GPU and able to successfully run the above, can I know please.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
Could you please let us know whether you are trying these commands from login node?
We are able to run these commands from compute node without any error. If you are trying out from login node you will face the error.
You have to be in compute node to perform your tasks. You could reach an interactive compute node by using the below command, once you are connected to DevCloud.
qsub -I
You can request the node with GPU on the DevCloud using the below command.
qsub -I -l nodes=1:gpu:ppn=2 -d .
Hope this helps, if you are still facing the issue please let us know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please give us an update? Is your issue resolved?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation. We would discontinue monitoring this issue, please raise a new thread if you have further issues.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page