Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

Resource temporarily unavailable

$
0
0

Hi Guys,

I am trying to install and use OpenCL on my local cluster, of which the node have a CPU and 3 MIC cards. I have installed it successfully and running clinfo will return the right information (as expected). However, when running a simple example, e.g., vector addition, only device0 can run and return normally. The other two devices (device1 and device2) can create context, kernels normally, but hangs after that.

When strack the program, it gives the following message. Do anybody have an idea of the reasons?

-----------------------------------------------------------------------------
clone(child_stack=0x7f2552bfcfd0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f2552bfd9d0, tls=0x7f2552bfd700, child_tidptr=0x7f2552bfd9d0) = 7981
futex(0x7f255bfeb618, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f255bfeb618, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7f255bfeb618, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f255bfeb644, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7f255bfeb618, 94) = 3
futex(0x7f255bfeb618, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f255bfeb644, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7f255bfeb618, 100) = 3
futex(0x7f255bfeb618, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f255d734e80, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
brk(0x295a000) = 0x295a000
futex(0x7f255d734e80, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f255bfeb644, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7f255bfeb618, 106) = 3
futex(0x7f255bfeb644, FUTEX_WAIT_PRIVATE, 110, NULL
-----------------------------------------------------------------------------

Jianbin


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>