Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

kmp_set_warnings_off

AndrewC
New Contributor III
574 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
574 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
574 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 III
574 Views
Great thanks for the tip.
Reply