Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

kmp_set_warnings_off

AndrewC
New Contributor I
420 Views
The latest 12.1 (Build 20120130) compiler release has removed the API kmp_set_warnings_off() from OMP without fixing the issue described below.

http://software.intel.com/en-us/articles/bogus-openmp-kmp_affinity-warnings-on-non-intel-processor-h...

This is rather annoying as it requires us to set KMP_AFFINITY=disabled on AMD to avoid errors being dumped to stderr.
0 Kudos
3 Replies
Vladimir_P_Intel2
420 Views
Hi vasci_intel,
We'll check what have happened with this API. And what is a new API to disable warnings.
thanks
--Vladimir
Andrey_C_Intel1
Employee
420 Views
We are working on the issue with warningsdescribed in the mentioned link.

As to kmp_set_warnings_off(), this routine was part of Cluster OpenMP product, which wasend of lifelong ago.This routinehappened to be accidentally workingin theshared memory OpenMP compiler and was finally removed in the latest update along with other Cluster OpenMP interfaces.

An alternative to replace the removedentry could be:

kmp_set_defaults("KMP_WARNINGS=0");

Regards,
Andrey
AndrewC
New Contributor I
420 Views
Great thanks for the tip.
Reply