OpenMPToolsInterface / LLVM-openmp

This is a stale repository and only there for the commit history. All development moved over to the llvm-project repository! Was: LLVM OpenMP runtime with experimental changes for OMPT (Preview of TR7 features in *_tr branches)
Other
16 stars 13 forks source link

[OMPD] The LLVM OMP runtime uses the wrong OMPD environment variable #52

Open jdelsign opened 5 years ago

jdelsign commented 5 years ago

The LLVM OMP runtime uses the environment variable "OMP_OMPD=on" to activate full OpenMP debugging. See: https://github.com/OpenMPToolsInterface/LLVM-openmp/blob/ompd-devices/runtime/src/ompd-specific.cpp#L69

The OpenMP v5.0 spec requires "OMP_DEBUG=enabled" or "OMP_DEBUG=disabled" with other values resulting in implementation defined behavior.