Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

Globally Disable Deprecation Warning?

jjesse
Beginner
1,994 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
1,954 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
1,955 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
Employee
1,924 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