Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faced issue while building particle-diffusion code #2241

Open
sobintho opened this issue Mar 21, 2024 · 2 comments
Open

Faced issue while building particle-diffusion code #2241

sobintho opened this issue Mar 21, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sobintho
Copy link

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 sobintho added the bug Something isn't working label Mar 21, 2024
@sobintho
Copy link
Author

Any updates ?

1 similar comment
@sobintho
Copy link
Author

sobintho commented Apr 2, 2024

Any updates ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant