Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

kmp_set_warnings_off

AndrewC
New Contributor III
921 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-hosts/

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_1234567890
921 Views
Hi vasci_intel,
We'll check what have happened with this API. And what is a new API to disable warnings.
thanks
--Vladimir
0 Kudos
Andrey_C_Intel1
Employee
921 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
0 Kudos
AndrewC
New Contributor III
921 Views
Great thanks for the tip.
0 Kudos
Reply