Issue 86995
Summary [OpenMP RT] omp_for_schedule_runtime.c test assert hit
Labels new issue
Assignees
Reporter mikaoP
    This test fails if it is run with `KMP_BLOCKTIME=0`. In order to reproduce it I ran `ninja check-openmp`, then find the compiled file and manually run:
```
export LD_LIBRARY_PATH=/path/to/build/runtimes/runtimes-bins/openmp/runtime/src:$LD_LIBRARY_PATH
export KMP_BLOCKTIME=0
while (env OMP_SCHEDULE=static_steal,14 /path/to/build/runtimes/runtimes-bins/openmp/runtime/test/worksharing/for/Output/omp_for_schedule_runtime.c.tmp 2 14); do date; done
```
The command in the while is executed by lit, but this way is faster to reproduce.
The assert is:
```
Assertion failure at kmp_dispatch.cpp(1617): vnew.p.ub * (UT)chunk <= trip.
OMP: Error #13: Assertion failure at kmp_dispatch.cpp(1617).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://github.com/llvm/llvm-project/issues/.
```
which is located in https://github.com/llvm/llvm-project/blob/main/openmp/runtime/src/kmp_dispatch.cpp#L1617
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to