oneAPI-samples icon indicating copy to clipboard operation
oneAPI-samples copied to clipboard

Faced issue while building particle-diffusion code

Open sobintho opened this issue 1 year ago • 2 comments

Summary

Provide a short summary of the issue. Sections below provide guidance on what factors are considered important to reproduce an issue.

Version

Report oneAPI Toolkit version and oneAPI Sample version or hash.

Faced issue while building particle diffusion code

root@ubuntu-server:/home/gta/oneAPI-samples/DirectProgramming/C++SYCL/StructuredGrids/particle-diffusion/build# make [ 25%] Building CXX object src/CMakeFiles/motionsim.exe.dir/utils.cpp.o In file included from /home/gta/oneAPI-samples/DirectProgramming/C++SYCL/StructuredGrids/particle-diffusion/src/utils.cpp:11: /home/gta/oneAPI-samples/DirectProgramming/C++SYCL/StructuredGrids/particle-diffusion/src/motionsim.hpp:37:10: fatal error: 'mkl.h' file not found #include <mkl.h> ^~~~~~~ 1 error generated. make[2]: *** [src/CMakeFiles/motionsim.exe.dir/build.make:76: src/CMakeFiles/motionsim.exe.dir/utils.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:99: src/CMakeFiles/motionsim.exe.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

Environment

Provide OS information and hardware information if applicable.

Ubuntu

Steps to reproduce

Please check that the issue is reproducible with the latest revision on master. Include all the steps to reproduce the issue.

Installed oneapi

root@ubuntu-server:/home/gta/oneAPI-samples/DirectProgramming/C++SYCL/StructuredGrids/particle-diffusion/build# source /opt/intel/oneapi/setvars.sh --force

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

Went inside this folder /home/gta/oneAPI-samples/DirectProgramming/C++SYCL/StructuredGrids/particle-diffusion/build cmake .. make

Getting error

root@ubuntu-server:/home/gta/oneAPI-samples/DirectProgramming/C++SYCL/StructuredGrids/particle-diffusion/build# make [ 25%] Building CXX object src/CMakeFiles/motionsim.exe.dir/utils.cpp.o In file included from /home/gta/oneAPI-samples/DirectProgramming/C++SYCL/StructuredGrids/particle-diffusion/src/utils.cpp:11: /home/gta/oneAPI-samples/DirectProgramming/C++SYCL/StructuredGrids/particle-diffusion/src/motionsim.hpp:37:10: fatal error: 'mkl.h' file not found #include <mkl.h> ^~~~~~~ 1 error generated. make[2]: *** [src/CMakeFiles/motionsim.exe.dir/build.make:76: src/CMakeFiles/motionsim.exe.dir/utils.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:99: src/CMakeFiles/motionsim.exe.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

sobintho avatar Mar 21 '24 04:03 sobintho

Any updates ?

sobintho avatar Mar 26 '24 02:03 sobintho

Any updates ?

sobintho avatar Apr 02 '24 05:04 sobintho