I am trying to run several systems in OpenMM 7.0 using the OpenCL platform on a GTX 1080 in ubuntu 16.0.4. The CUDA platform works perfectly well. This workstation has nvidia drivers version 396.54.
After successfully constructing a system and a simulation, the same error is always given by OpenCL when doing anything to the simulation, such as obtaining the system energy, setting the velocities, or minimization.
The error is lead with:
and ends with:OpenCL internal error: CL_OUT_OF_RESOURCES error executing CL_COMMAND_READ_BUFFER on GeForce GTX 1080 (Device 0).
The systems have two somewhat unique featues:Exception: Error downloading array interactionCount: clEnqueueReadBuffer (-5)
They use the OpenMM Monte Carlo Barostat
They use a custom force to implement a Force-Switch on nonbonded interactions.
Any ideas about the cause?
Thank you!
George