Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28494 Discussions

Globally Disable Deprecation Warning?

jjesse
Beginner
592 Views

We are using ifort in our toolchain and yesterday I upgraded our cross-platform test environment from 2021.10 (oneAPI 2023) to 2021.11.1 (oneAPI 2024) and we are now getting a huge number of deprecation messages that are overwhelming our build logs. Ideally we would switch to ifx now, but we aren't quite ready yet. We have more than 30 individual Fortran projects being built in our pipeline, which makes adding -diag-disable=10448 to each individually a pain to maintain. Is there any global way to disable these messages, such as through the setvars.sh/.bat scripts?

0 Kudos
1 Solution
kay-diederichs
New Contributor I
552 Views

Please see https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-0/use-configuration-files.html - that mentions a configuration file called fort.cfg which should take the option. Tried it on Linux and it works.

Hope this helps, 

Kay

View solution in original post

2 Replies
kay-diederichs
New Contributor I
553 Views

Please see https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-0/use-configuration-files.html - that mentions a configuration file called fort.cfg which should take the option. Tried it on Linux and it works.

Hope this helps, 

Kay

Barbara_P_Intel
Moderator
522 Views

For ifx users who want that feature, there is an ifx.cfg file in the same directory mentioned in the DGR (Developer Guide and Reference).

 

0 Kudos
Reply