I am trying to run sailfish using the OpenCL backend, but my efforts are failing with the following error:
~/sailfish_mj/sailfish/examples$ python cylinder.py --gpus=1
[ 834 INFO Master/asus-minipc] Machine master starting with PID 5875 at 2016-06-12 14:29:48 UTC
[ 834 INFO Master/asus-minipc] Simulation started with: cylinder.py --gpus=1
[ 840 INFO Master/asus-minipc] Sailfish version: 2fb2de2f26e192cecc4a5b0d48466f11b90beb04
[ 840 INFO Master/asus-minipc] Handling subdomains: [0]
[ 840 INFO Master/asus-minipc] Subdomain -> GPU map: {0: 1}
[ 841 INFO Master/asus-minipc] Selected backend: opencl
[ 844 INFO Subdomain/0] SubdomainRunner starting with PID 5880
Process Subdomain/0:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/~/sailfish_mj/sailfish/sailfish/master.py", line 49, in _start_subdomain_runner
backend = backend_class(config, gpu_id)
File "/home/~/sailfish_mj/sailfish/sailfish/backend_opencl.py", line 55, in __init__
devices = [devices[gpu_id]]
IndexError: list index out of range
I am able to run pyopencl examples so I am somewhat confident that pyopencl is functioning well, but I am unable to run any sailfish applications as they all halt with the "IndexError: list index out of range" error.
Anyone have any suggestions?