Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

OpenCL setup problem

Tommi_T_
New Contributor I
384 Views

Hi

I've installed latest drivers for mic and opencl-1.2-3.0.67279 but even simplest openCL test program (capsbasic) does not work, it just hangs when it tries to open device. I'm out of ideas what to try next.

 strace  ./capsbasic Intel
....

open("/dev/mic/scif", O_RDWR)           = 7
fcntl(7, F_SETFD, FD_CLOEXEC)           = 0
ioctl(7, 0xc0087303, 0x7fff5a2bda20)    = 0
futex(0x7ff8888139d0, FUTEX_WAIT, 9749, NULL) = 0
close(6)                                = 0
ioctl(5, 0xc0087303, 0x7fff5a2bdae0)    = -1 ECONNREFUSED (Connection refused)
nanosleep({0, 10000000}, NULL)          = 0
ioctl(5, 0xc0087303, 0x7fff5a2bdae0)    = -1 ECONNREFUSED (Connection refused)
nanosleep({0, 20000000}, NULL)          = 0

/opt/intel/mic/bin/miccheck -t ofed-func

miccheck 2.1.6720-13, created 14:49:30 Apr 30 2013
Copyright 2011-2013 Intel Corporation  All rights reserved

MIC 0 Test 1 Test MIC OFED functionality on device : OK
MIC 0 Test 1> scif0 and mlx4_0 connectivity confirmed.
Status: OK.

0 Kudos
1 Reply
Sumedh_N_Intel
Employee
384 Views

I don't quite know what's going wrong in your case, but I remember seeing a thread on the forums with a similar error message . http://software.intel.com/en-us/forums/topic/386577

According to this thread, the developer used a customized user management for the coprocessors and hence was missing the `micuser` during the mpssd and ofed-mic initialization. They also noted that the application would hang if they used an offloaded code or an OpenCL code. Are you doing something similar?

0 Kudos
Reply