Hi,
nvc++ (25.1) aborts with a signal 11 on an invalid openmp source code
The execution line is :
/opt/nvidia/hpc_sdk/Linux_x86_64/25.1/compilers/bin/nvc++ -mp=gpu -O3 essai.cpp -o essai
aborts with the message:
nvc++-Fatal-/opt/nvidia/hpc_sdk/Linux_x86_64/25.1/compilers/bin/tools/nvcpfe TERMINATED by signal 11
My following code should not contain the “collapse(2)”
#include <cstdio>
#include <algorithm>
int main(void)
{
int n = 3;
#pragma omp target teams distribute parallel for simd collapse(2)
for (int i = 0; i < 20000; i++)
for (int k = 0; k < std::min(i, n); k++)
{
}
return 0;
}
It will be fine to report the line of the error.
Mickaël