Intel® oneAPI Base Toolkit
Support for core tools and libraries to build and deploy high-performance data-centric applications
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
242 Discussions

Core dumped when executing sample named 'vector-add' with oneAPI

Rui__Chen
Beginner
235 Views

fisrt , I installed oneAPI Base toolkits (beta) successful ,step is :

  • run command : tar -zxvf l_BaseKit_b_2021.1.3.085_offline.tar.gz 
  • edit file ' silent.cfg ' ,set the 'ACCEPT_EULA' to 'accept'
  • launch the installation with command : sudo ./install.sh --silent ./silent.cfg 

second, I configure the CPU and FPGA system

  • run setvars.sh for enviroment with command : source /opt/intel/inteloneapi/setvars.sh 

finally, I am ready to run sample

  • download the Code Samples from github: https://github.com/intel/BaseKit-code-samples ;
  • cd ~/BaseKit-code-samples-master/DPC++Compiler/vector-add
  • make clean
  • make all
  • make run   but not succeed ,the error information is : segmentation fault(core dumped)

please help me 

thanks a lot

0 Kudos
2 Replies
Kaleem_A_Intel
Employee
235 Views

Hi Rui,

Thanks for reaching out to us.

We are working on this issue and will get back to you.

 

Kaleem

Sushma_P_Intel
Employee
235 Views

Hello Rui,

We executed the vector addition program from the samples and it worked fine without any segmentation fault. 

 Share your environment details and any information which helps us in debugging the issue. 

 

Regards,

Sushma.

Reply