Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2222 Discussions

Please document location of CFG files for new LLVM compilers.

mecej4
Honored Contributor III
2,246 Views

The "classic" ifort and icl compilers on Windows read configuration files called ifort.cfg and icl.cfg. Users can place frequently used compiler options into these files, and not have to type in those options when they issue commands to compile, link, etc. These files are expected to be in the compiler's bin\intel64 and bin\intel64_ia32 directories.

The new compilers ifx and icx also read configuration files called ifx.cfg and icx.cfg, it seems, but the location where these files are sought for is the bin directory, rather than the bin\intel64 and bin\intel64_ia32 directories.

Please provide this information in the documentation -- if it is already there, please make it easier to find.

0 Kudos
6 Replies
VidyalathaB_Intel
Moderator
2,225 Views

Hi,

Thanks for your suggestion

We are working on it internally. we will get back to you soon.

Regards,

Vidya


0 Kudos
VidyalathaB_Intel
Moderator
2,180 Views

Hi,

Please refer the below link to find the details of icx.cfg file location

https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compatibility-and-portability/portability/porting-from-the-microsoft-compiler-to-the-intel-c-compiler/other-considerations.html

Under section >> Modifying Your Configuration

>> Please provide this information in the documentation -- if it is already there, please make it easier to find.

Could you please let us know under which section of the document you are expecting the details to be placed? So that we can check with the internal team regarding the same.

Regards,

Vidya


0 Kudos
Barbara_P_Intel
Employee
2,146 Views

For dpcpp and icx the support for the default .cfg files is not there as we are using the clang infrastructure more directly, and clang does not have a 'default configuration file' that is picked up.  Use of dpcpp.cfg, icx.cfg and icpx.cfg is supported, just not the default case.

 

This is documented in the DPC++/C++ Developer Guide and Reference here

 

0 Kudos
Barbara_P_Intel
Employee
2,133 Views

A Feature Request is filed to have the default .cfg files in the same bin directory as the compiler.

 

0 Kudos
Barbara_P_Intel
Employee
2,125 Views

I just filed a bug report, CMPLRLLVM-27915, to get ifx.cfg working for ifx. I'll let you know when it's functional.

 

0 Kudos
Barbara_P_Intel
Employee
1,802 Views

The .cfg files are there now for ifx, icx and icpx as part of oneAPI 2022.3. Please check it out!



0 Kudos
Reply