IndexError: list index out of range

29 views
Skip to first unread message

Peter Michalski

unread,
Apr 27, 2020, 4:32:35 PM4/27/20
to sailfish-cfd
Hello,

I am trying to run examples (no CUDA GPU) but keep encountering the same error, I have tried restarting my box (which solved this issue for another user in 2016 - https://groups.google.com/forum/#!searchin/sailfish-cfd/index$20out$20of$20range%7Csort:date/sailfish-cfd/A69KwBYE59A/KLUWDiBJBAAJ ). Any thoughts on how to fix this?


peter@peter-VirtualBox:~/
sailfish/examples$ python2.7 ./sphere_3d.py
[  1162  INFO Master/peter-VirtualBox] Machine master starting with PID 1886 at 2020-04-27 17:31:43 UTC
[  1162  INFO Master/peter-VirtualBox] Simulation started with: ./sphere_3d.py
[  1167  INFO Master/peter-VirtualBox] Sailfish version: b7140c580e1f4cb406dde947c8d8d5a8a6b2d79e
[  1168  INFO Master/peter-VirtualBox] Handling subdomains: [0]
[  1168  INFO Master/peter-VirtualBox] Subdomain -> GPU map: {0: 0}
[  1169  INFO Master/peter-VirtualBox] Selected backend: opencl
[  1173  INFO Subdomain/0] SubdomainRunner starting with PID 1891
Process Subdomain/0:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/home/peter/sailfish/sailfish/master.py", line 49, in _start_subdomain_runner
    backend = backend_class(config, gpu_id)
  File "/home/peter/sailfish/sailfish/backend_opencl.py", line 55, in __init__
    devices = [devices[gpu_id]]
IndexError: list index out of range



Marcin Kostur

unread,
Apr 28, 2020, 2:43:28 AM4/28/20
to sailfi...@googlegroups.com
Hi,

Well, we did not update opencl backend for many years. 
CUDA is the only way to go for now. 

the best
Marcin

--

---
You received this message because you are subscribed to the Google Groups "sailfish-cfd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sailfish-cfd...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sailfish-cfd/85217ce2-ae49-40f2-ac6a-fae92c9c0ad3%40googlegroups.com.


--
Pełnomocnik Rektora
ds. zastosowania nowoczesnych komputerowych
metod kształcenia dla regionalnych
kadr innowacyjnej gospodarki
tel. +48 32 3497 612

http://icse.us.edu.pl
---------------------------

Peter Michalski

unread,
Apr 28, 2020, 8:31:53 AM4/28/20
to sailfish-cfd
Okay, thank you for your response.
To unsubscribe from this group and stop receiving emails from it, send an email to sailfi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages