761
questions
0
votes
1
answer
26
views
Running multiple ICCs on one dataframe in R
I'm trying to calculate multiple ICCs from a data frame created in R. The data frame contains over 2500 observations from 122 different persons. I need an ICC calculated for each person.
Creating a ...
2
votes
0
answers
87
views
IntelMPI incorrectly scattering data
I am working on an MPI application where I divide a global domain (of float values) into multiple tiles and distribute these across different ranks using subarrays and Scatterv for distribution.
While ...
0
votes
0
answers
76
views
Intel classic compiler reports non-unit strided load in simple assignment
Consider the following loop, where I initialize an (aligned) array of complex numbers and would like to default-initialize them. I want to make use of SIMD for the sake of speedup:
constexpr auto ...
0
votes
0
answers
235
views
How can I compile C/C++ with intel compilers for use on AMD Epyc 2 series processors? (In the most generic way)
I have a piece of software that is compiled with the intel mpiicc and mpiicpc compilers. I am running it on a cluster which has compute nodes with both Intel and AMD processors. It works fine on the ...
0
votes
0
answers
23
views
Finding the repeatability of a behaviour
I want to compute linear model based repeatability of a behaviour using intraclass correlation coefficient (the proportion of the total variance accounted for by the interindividual differences).
...
0
votes
0
answers
26
views
ICC profile buffer addition to JPG buffer
I have a txt file with icc profile data. Also I have image which is not having icc profile. I am able to extract EXIF information for the image.
Now how can I apply ICC profile to image loaded in ...
1
vote
1
answer
457
views
Intel DPC++ 2024 compiled binary missing sycl7.dll and pi_win_proxy_loader.dll
I'm using the Intel(R) oneAPI DPC++ Compiler 2024 compiler to build my C++ code in Visual Studio:
The version I downloaded is:
When I run my app from within Visual Studio, it works. However, the ...
0
votes
0
answers
315
views
How to use the Intel C++ Compiler with CMake in Visual Studio
Visual Studio provides an "Open Folder" workflow for CMake. So far I've been using the default MSVC compiler but I wanted to switch to using the Intel C++ Compiler. To do this, I found this ...
0
votes
0
answers
141
views
Is it possible for a project to change the Platform tools from the Intel c++ compiler to the v143 build tools In VS2022?
In VS2022,Is it possible for a project to change the Platform tools from the Intel c++ compiler to the v143 build tools with no modification or modification as less as possible,
and build the ...
1
vote
3
answers
747
views
How to use 'icc' if i only installed the latest Intel HPC toolkit?
I want to use 'icc' not 'icx', but it seems that 'icc' has been fully replaced by 'icx' in the Intel HPC toolkit.
I found a method but i can't use it:
wget apt.repos.intel.com/intel-gpg-keys/…
apt-key ...
0
votes
0
answers
32
views
icpx: error: cannot specify -o when generating multiple output files
I can't seem to specify -xRAPTORLAKE to the intel compiler when also using nvcc.
nvcc -ccbin icpx -Xcompiler -xRAPTORLAKE -o exe_filename source_filename.cu
icpx: error: cannot specify -o when ...
0
votes
1
answer
192
views
Illustrating different ICC values
I'd like to illustrate ICC. I'd love to create a plot where one can see, that with a higher ICC more of the variability in a dependent variable can be attributed to the groups.
I've stumble across ...
0
votes
0
answers
212
views
r error: "Error in mkRespMod(fr, REML = REMLpass) : response must be numeric"
I am new to R and trying to use the psych package to run an ICC to compute emotion differentiation. I am getting the following error:
Error in mkRespMod(fr, REML = REMLpass) : response must be ...
3
votes
0
answers
260
views
OpenMP - Weird Result in Combination of parallel and SIMD namespaces
I have a C++ project which uses OpenMP, and in some place in the code I have #pragma omp simd nested inside #pragma omp parallel. There was a consistent crash in the code which happened only in multi-...
1
vote
2
answers
533
views
How to perform fast software binning of an image in C++?
I am trying to perform fast binning of a 2D image (stored in row-major order in 1D array).
The image is 12 bit, Thus, I have used the uint16_t data type.
What binning means is if done 2x2, then 2 ...
0
votes
1
answer
1k
views
How to install older versions of Intel c++ compiler using apt
I want to install Intel C++ compiler version 17, 18, 19 using apt package management tool.
I searched on the official Intel website, but i can't find how to install older versions.
There are ...
0
votes
0
answers
143
views
CLion on Windows has problem with intrinsics defined as a macro
When using Intel compiler, CLion complains that _mm_extract_epi64 may be undeclared or unknown (still compilation is successful). On the other hand CLion doesn't complain on some other intrinsics ...
0
votes
1
answer
51
views
How can I get icpc to tell me which files it uses for linking?
I'm linking some compiled code with icpc, e.g.:
icpc -o my_executable f1.o /path/to/f2.a -lfoo -lbar
I want icpc to tell me exactly which files it uses for the linking - which .a, .o and .so* and ...
0
votes
2
answers
211
views
What compiler commands can be used to make GCC and ICC compile programs as fast as each other? [closed]
enter image description here
Code
asm diff
I dont really understand what optimization this is, all I know is that it's really fast and I've tried many commands in the manual to no avail. Can anyone ...
0
votes
1
answer
72
views
SSE divrem memory store requirements
I'm searching for information on the divrem intrinsic sequences and their memory requirements (for the store).
These folks (check SSE and SVML to see the intel intrinsics doc) :
__m128i ...
1
vote
0
answers
72
views
Compiler produce slower program although I gave information
In my knowledge, giving information(like using restrict, static on function, __builtin_expect(), etc) to compiler makes program better or equal. However, this works opposite to what was expected.
This ...
1
vote
1
answer
484
views
R can't find icc to compile packages
I've compiled R-mkl package in Arch Linux using the Intel OneAPI compilers. But I cannot install packages from inside R, since it cannot find icc. The path in order to bash find the executables is ...
1
vote
0
answers
28
views
is there a gcc alternative to icc's -ax flag [duplicate]
I know icc/icpc can compile and optimize for multiple architectures using the -ax flag (ex -axsavx,sse2 compiles for both avx and sse2 extensions)
Is there something similar to that with gcc/g++?
1
vote
1
answer
317
views
Why do I get "error: reference to 'align_val_t' is ambiguous" with Intel's C++ 2022 compiler when using std::inplace_merge?
When I try to compile this with the Intel C++ Compiler 2022 toolset for Visual Studio 2022:
#include <algorithm>
int main()
{
int x = 0;
std::inplace_merge(&x, &x, &x);
}
I ...
1
vote
1
answer
219
views
Undo -Werror for a particular warning
I use -Werror ... -Wno-unknown-pragmas compiler flags (cause I don't need unknown pragmas to cause an error).
However, this silences all unknown pragma warnings.
Is there a way to produce -Wunknown-...
-1
votes
2
answers
343
views
Unable to build GROMACS with icc compiler
I am trying to build GROMACS with icc compiler but it is throwing error I have provided the error below.
": internal error: 0_76
compilation aborted for /global/scratch/groups/hpcperf/...
0
votes
1
answer
157
views
Tidying data for calculation of ICC
I want to compute the IRR for a dataset with two raters (ICC2, Two-way-random-effects model).
I wanted to use the ICC function from the psych-package but wonder how I need to restructure my data to ...
0
votes
0
answers
401
views
Intel Compiler Openmp SIMD AVX512 performance problem
I am learning the openmp simd part and wrote a small program to test the performance of simd.
System is centos7.The cpu I am using is Intel(R) Xeon(R) Gold 6258R CPU @ 2.70GHz, which I believe ...
2
votes
0
answers
308
views
Can the next-generation intel compiler add code-paths for multiple instruction sets?
The Intel Classic Compiler had a compilation flag -ax which I'd use to generate additional code paths for multiple instructions sets, such as AVX512, which was very convenient as I'd only build and ...
8
votes
1
answer
1k
views
Fast floating point model broken on next-generation intel compiler
Description
I'm trying to switch over from using the classic intel compiler from the Intel OneAPI toolkit to the next-generation DPC/C++ compiler, but the default behaviour for handling floating point ...
0
votes
0
answers
452
views
Is it possible to compile with -qopt-zmm-usage=high and set only one method to -qopt-zmm-usage=low. Disable Z register in one loop
Using the intel compiler to compile a class, e.g. MyClass.h MyClass.cpp
Using the following compiler flags
-O3 -qopt-zmm-usage=high
If the intel compiler heuristics are found to be incorrect for one ...
1
vote
2
answers
151
views
Possible causes for icc (2019) with -O3 -march=native on Xeon Gold 6126 producing slower exe than -O3 -xCORE-AVX512?
The purpose of the question is to ask about possible causes regarding the program's behaviour as a function of icc 2019's compilation flags, considering two phenomena and the information provided in ...
0
votes
1
answer
217
views
_mm512_mask_i32logather_pd not available for GNU compiler
I have a codebase which contains AVX512 intrinsic instructions and was build using intel compiler. I am trying to run the same thing using GNU compiler. While compiling the code with -mavx512f flag ...
5
votes
1
answer
109
views
Parallel algorithm to make three-layered independent operations with nontrivial indexing vectorizable using icc
The current example shows an execution of N=10 independent operations inside a three-layered loop, but unfortunately the intel compiler autovectorization computes the cost at loop level, and when ...
0
votes
0
answers
97
views
Is the following the correct (best) way to perform a vectorized accumulation?
The question is about if the correct code (here only summing V1,V2, potentially having N~10 elements, which are not memory contiguous and have a relevant length each of 3) is the best-performant way ...
1
vote
1
answer
798
views
Does icc -xCORE-AVX2 force the non-utilisation of AVX512 instructions on Xeon Gold if -O3 is on?
As per the title,
Will programs compiled with the intel compiler under
icc -O3 -xCORE-AVX2 program.cpp
Generate AVX512 instructions on a Xeon Gold 61XX?
Our assembler analysis doesn't seem to find one,...
2
votes
1
answer
88
views
Will intel -03 convert pairs of __m256d instructions into __m512d
Will a code written for a 256 vectorization register will be compiled to use 512 instructions using the (2019) intel compiler with O3 level of optimization?
e.g. will operations on two __m256d objects ...
1
vote
1
answer
385
views
ICC compile options for evaluating macros in GDB while debugging
I would like to evaluate and print the macro while debugging using GDB. While the GDB documentation has steps to do that by compiling using -g3 flag in gcc compiler, I am using Intel Icc compiler. ...
1
vote
0
answers
187
views
Different % of CPU usage of two equivalent run of a OpenMP program on same cluster node
A C++ OpenMP program compiled with intel compiler is submitted on a cluster node using SLURM job scheduler with two different parameters on two different directories. The number of threads is 20 for ...
2
votes
1
answer
93
views
Struggling to build a portable code to generate a file in any operating system using C
I'm trying to build a C portable code (for Windows, MacOS and Linux) that creates an output .txt file to receive the results of a numerical simulation.
Summarizing, the code takes the name of the file ...
0
votes
1
answer
97
views
does mkl_vml_serv_threader in the gprofile means MKL is not running sequentially
We're running an application that's in the process of being MKL BLAS enhaced. We've been told not to hyperthread.
In order for multithreaded (so-called parallel?) version to not be considered during ...
0
votes
1
answer
80
views
Force creation of method on intel compiler with optimization level 3
Working on a +95% C++ 11 code (the rest is C) that is generally used compiled w/ optimization level 3 we profiled it and found a really time-consuming method.
Toy code:
myClass::mainMethod()
{
// ...
0
votes
0
answers
131
views
no speedup using openmp simd and different result between icc and gcc [duplicate]
I am new to Openmp and now trying to use Openmp + SIMD intrinsics to speedup my program, but the result is far from expectation.
/* program:simd.c */
#include<stdio.h>
#include<stdlib.h>
...
1
vote
1
answer
306
views
icc cannot compile a simple test program with macos because of incorrect configuration
I have a very simple test program which does not actually do anything:
#include <iostream>
int main() { }
Compiling this with the following command gives me a very long error message:
icpc ...
0
votes
0
answers
126
views
How to get the diagnostics message from the number with Intel C Compiler
I have a project which is compiled with Intel C Compiler v15 and uses Makefile to do that. My target is to compile this project with gcc.
While doing that i observed in Makefile, -we277 -we147 -we 117 ...
3
votes
0
answers
463
views
Using multiple pragma on same for-loop for auto-vectorization on GCC and ICC
When there is a simple loop running on simple arrays,
for(int i=0;i<16;i++)
{
a[i]=b[i]+c[i];
}
GCC and ICC behave differently with pragmas. So I experimented with pragmas and observed that ...
0
votes
1
answer
1k
views
I cannot find compilervars.sh after installing Intel Compiler
I have installed intel compiler on my Ubuntu 18.04 machine through the following link: https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#dpcpp-cpp
I ...
3
votes
1
answer
236
views
icpc error in compiling over-aligned dynamic allocated variables
I am trying to compile a code in C++, that uses over-aligned variables. If I try to compile the following code (a MWE)
#include <new>
#include <iostream>
int main()
{
alignas(32) ...
2
votes
1
answer
96
views
Faulty benchmark, puzzling assembly
Assembly novice here. I've written a benchmark to measure the floating-point performance of a machine in computing a transposed matrix-tensor product.
Given my machine with 32GiB RAM (bandwidth ~37GiB/...
0
votes
2
answers
2k
views
What exactly is the -xhost flag?
I am having trouble understanding the purpose of the -xhost flag used with icc.
On the intel website, it states:
xHost, QxHost
Tells the compiler to generate instructions for the
highest instruction ...