Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and GDB*

Unable to build vector-add sample


when I followed the instructions to build vector-add sample, the following errors were reported:


clang++: error: unable to execute command: Bus error
/home/u36828/tmp/vector-add-d648e8.o: file not recognized: File truncated
clang++: error: clang-offload-wrapper command failed due to signal (use -v to see invocation)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Intel(R) oneAPI DPC++ Compiler 2021.1-beta03 (2019.10.0.1106)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/intel/inteloneapi/compiler/latest/linux/bin
clang++: note: diagnostic msg: PLEASE submit a bug report to and include the crash backtrace, preprocessed source, and associated run script.
clang++: note: diagnostic msg: Error generating preprocessed source(s).
make: *** [main] Error 254


How to deal with this problem? Thank you very much.


0 Kudos
1 Reply

Hi Yuming,

Thanks for reaching out to us.

This is a known Issue for specific nodes on devcloud. The issue is already reported to the concerned team and they are working on it. For now, you may try resubmitting the job again and you may get correct results. If the issue still persists please attach the .eXXXX and .oXXXX files.

Please add "hostname" command in your script file before submitting the job. It will help us with more information about the node name on which your code is executed. 




0 Kudos