Use this tag to ask questions about the overall oneAPI programming model which provides unified developer tools that can be used across multiple hardware platforms, including a range of performance libraries spanning several workload domains. The libraries include functions custom-coded for each target architecture so the same function call delivers optimized performance across supported architectures.
Questions tagged [intel-oneapi]
220 questions
0
votes
1 answer
Problem using MKL Trust Region EXAMPLE_EX_NLSQP_F90_X in Fortran
I am using the example provided EXAMPLE_EX_NLSQP_F90_X.f90 in the folder of Intel oneAPI Math Kernel Library directory. This compile successfully, but when I run it in debug mode, the result of dtrnlsp_init in line 108 is TR_INVALID_OPTION.
Can you…
0
votes
0 answers
Find the optimal combination of setting values for `number of processes` and `OMP_NUM_THREADS` in a particular computing task
The testing environment is Ubuntu 20.04.3 LTS installed on a machine with dual Intel Xeon E5-2699 v4 and Supermicro X10DAi motherboard. I try to compile and test VASP.6.3.0 with recent/latest Intel oneAPI base and hpc toolkits.
The test commands are…

Hongyi Zhao
- 77
- 1
- 6
0
votes
2 answers
Fail to compile oneAPI examples
I installed oneAPI tools and tried to compile the example project, vector-add
make all
dpcpp -O2 -g -std=c++17 -o vector-add-buffers src/vector-add-buffers.cpp
In file included from src/vector-add-buffers.cpp:22:
In file included from…
0
votes
1 answer
oneApi 2021.4 xilink: : error : Assertion failed (shared/driver/drvutils.c line 312)
Using newly installed oneAPI 2021.4 + VisualStudio 16.11.3.
Create new project - Console App -
#include
int main() {std::cout << "Hello World!\n";}
After rebuilding I get:
Rebuild started...
1>------ Rebuild All started: Project:…

Paul_Strling
- 13
- 2
0
votes
1 answer
How to build HDF5 using Intel compiler?
I am trying to compile hdf5-1.8.22 using Intel oneAPI Base Toolkit/HPC Toolkit 2022.1. The configuration without Intel oneAPI was performed with the following command:
CC=$DIR/mpich/bin/mpicc FC=$DIR/mpich/bin/mpif90 CXX=$DIR/mpich/bin/mpicxx…

k4k
- 31
- 1
- 4
0
votes
1 answer
ifort: error #10037: could not find 'link' in Visual Studio
I have tried to run a Fortran code (.FOR) using Visual Studio 2019 and installed Intel OneAPI basic toolkits.
when I run a Fortran code I receive "ifort: error #10037: could not find 'link'". Does anyone know the solution?
Thanks.
0
votes
1 answer
Sublime Text 3 intel oneAPI Fortran build system
Has anyone figured out how to write the build system for the oneAPI Fortran compiler?
Previously, i was using Parallel Studio XE ifort, and i managed to get it working using the solution here:
{
"cmd": ["cmd", "/e:on", "/v:on", "/k",…

ghylander
- 136
- 8
0
votes
1 answer
Declaring Half precision floating point memory in SYCL
I would like to know and understand how can one declare half-precision buffers and pointers in SYCL namely in the following ways -
Via the buffer class.
Using malloc_device() function.
Also, suppose I have an existing fp32 matrix / array on the…

Atharva Dubey
- 832
- 1
- 8
- 25
0
votes
1 answer
Cannot find libspirv-nvptx64--nvidiacl.bc when used intel clang++ to build binary for nvidia cuda GPU
I used below command to build binary for nvidia GPU:
clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda simple-sycl-app.cpp -o simple-sycl-app-cuda
But got below error message:
clang++: error: cannot find 'libspirv-nvptx64--nvidiacl.bc'; provide…

cctv
- 1
0
votes
1 answer
How can I fix the compling error on oneAPI code
I am trying oneAPI from Intel office website: https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/programming-interface/example-compilation.html
I have completed step 1 “oneAPI Development Environment Setup”…

alephchang
- 3
- 1
0
votes
1 answer
OneAPI - MKL Libraries
I need to prepare a build environment which allows to compile binaries with the mkl libraries: libmkl_core.so, ...
I initially used the installation instructions from oneapi webpage.
The mkl installation installed the following libraries:
However…

Jonathan
- 552
- 1
- 4
- 10
0
votes
0 answers
Compiling GROMACS with Intel oneapi icc/icpc has undefined feenableexcept/fedisableexcept
I am posting here since I don't think GROMACS is going to know my issue. I have MacOS Big Sur and download Intel C/C++ compiler because it is supposed to make this program faster. I can compile with clang and GNU gcc but not Intel. The cmake…

Brian Wiley
- 485
- 2
- 11
- 21
0
votes
1 answer
How can I "cache" the effects of Intel OneAPI setvars?
Intel's OneAPI distribution (which includes many components such as ICC) has a script named setvars.sh, which checks for the presence of various stuff, then runs components' individual scripts for setting environment variables. It takes over a…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
0 answers
Illegal Instruction Error when adding 8 bit integers using SIMD intrinsics
I have a function that goes as follows -
void dxy_SIMD(uchar* img_ptr, uchar* dxy_ptr, size_t M, size_t N){
for (size_t i = 1; i < M - 1; i++)
{
for (size_t j = 1; j < N; j += 32)
{
auto idx_before = (i -…

Atharva Dubey
- 832
- 1
- 8
- 25
0
votes
1 answer
Getting the IntelOneAPI to work in Windows 10
I have successfully installed the offline Intel OneAPI base package in my Windows 10 machine. I cose the custom installation and picked only the following to install;
Intel® oneAPI Data Analytics Library.
Intel® oneAPI Deep Neural Network…

Anoban Karunananthan
- 80
- 2
- 12