Software Archive
Read-only legacy content
17060 Discussions

errors when running a program using _Cilk

TK
Beginner
912 Views

I mostly have in my program _Cilk_shared for structs, global variables, and functions. When I run my program I get the following errors:

HOST--ERROR:myoiScifGetRecvID: Call recv() Header Failed! for source: 1, errno = 104

HOST--ERROR:myoiScifSend: Call send() Failed! errno = 104

HOST--ERROR:myoiSend: Fail to send message!

HOST--ERROR:_myoiWatchdogDaemon: could not send to target: 1

offload error: process on device 0 was terminated by signal 11 (SIGSEGV)

Other times when I run my program I get the following kind of lines (a lot of them) followed by the above HOST--ERROR lines:

CARD--ERROR:1 myoiPageFaultHandler: 0x5827ec0 Out of Range!

...

CARD--ERROR:1 _myiPageFaultHandler: 0x5827ec0 switch to default signal handle

...

My icc -V prints as follows:

Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel (R) 64, Version 13.1.1.163 Build 20130313

Why do I get these errors? Thanks.

0 Kudos
4 Replies
Frances_R_Intel
Employee
912 Views

If I understand you correctly, sometimes when you run your program you see the CARD-ERROR messages and sometimes you do not see them but you always see the HOST-ERROR messages? What is different between the two runs?

Also - are you using _Offload_shared_malloc to allocate your memory? are you trying to use STL?

0 Kudos
TK
Beginner
912 Views

I just run ./a.out, sometimes it gives the CARD--ERROR+HOST--ERROR, and sometimes it gives only HOST--ERROR messages.

Yes, I am using the _Offload_shared_malloc to allocate the memory. Thanks.

0 Kudos
TK
Beginner
912 Views

I forgot to allocate one of the arrays of struct using _Offload_shared_malloc, it was doing it with malloc. Changed that and it worked fine. Thanks.

0 Kudos
Frances_R_Intel
Employee
912 Views

I'm glad it's working now. 

0 Kudos
Reply