llama.cpp
llama.cpp copied to clipboard
Unable to build llama.cpp on Intel DevCloud
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
Install OneAPI and run "source /opt/intel/oneapi/setvars.sh" beforehand, but this is not an issue
Retraced the steps, still not working
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 ::
@AlexFierro9
-
Could you check if the oneAPI be enabled correctly? run:
source /opt/intel/oneapi/setvars.sh
-
If yes, please check mkl is present in log. Like: mkl -- latest
-
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.
This issue was closed because it has been inactive for 14 days since being marked as stale.