llama.cpp icon indicating copy to clipboard operation
llama.cpp copied to clipboard

Unable to build llama.cpp on Intel DevCloud

Open AlexFierro9 opened this issue 1 year ago • 3 comments

Executed the following commands, unable to get build sucessfully:

mkdir -p build cd build\n cmake .. -DLLAMA_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx

Getting this error image

AlexFierro9 avatar Feb 10 '24 12:02 AlexFierro9

Install OneAPI and run "source /opt/intel/oneapi/setvars.sh" beforehand, but this is not an issue

rhernandez-uthealth avatar Feb 14 '24 21:02 rhernandez-uthealth

Retraced the steps, still not working

AlexFierro9 avatar Feb 16 '24 12:02 AlexFierro9

hi @AlexFierro9 sorry for the late. can you paste the output of source /opt/intel/oneapi/setvars.sh

there should be MKL listed, otherwise you might not install MKL correctly

hengyume@mlp-618:~$ source /opt/intel/oneapi/setvars.sh

:: initializing oneAPI environment ...
   -bash: BASH_VERSION = 5.2.15(1)-release
   args: Using "$@" for setvars.sh arguments:
:: advisor -- latest
:: ccl -- latest
:: compiler -- latest
:: dal -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dnnl -- latest
:: dpcpp-ct -- latest
:: dpl -- latest
:: ipp -- latest
:: ippcp -- latest
:: mkl -- latest              // This line
:: mpi -- latest
:: tbb -- latest
:: vtune -- latest
:: oneAPI environment initialized ::

airMeng avatar Feb 21 '24 11:02 airMeng

@AlexFierro9

  1. Could you check if the oneAPI be enabled correctly? run: source /opt/intel/oneapi/setvars.sh

  2. If yes, please check mkl is present in log. Like: mkl -- latest

  3. If no, I guess you should use submit task method to compute node to compile the code in Intel DevCloud. The login node maybe is not install oneAPI. I guess you are working on login node.

NeoZhangJianyu avatar Mar 06 '24 01:03 NeoZhangJianyu

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Apr 20 '24 01:04 github-actions[bot]