Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
2017 Discussions

Please document location of CFG files for new LLVM compilers.

mecej4
Black Belt
746 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
725 Views

Hi,

Thanks for your suggestion

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

Regards,

Vidya


VidyalathaB_Intel
Moderator
680 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


Barbara_P_Intel
Moderator
646 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

 

Barbara_P_Intel
Moderator
633 Views

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

 

Barbara_P_Intel
Moderator
625 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.

 

Barbara_P_Intel
Moderator
302 Views

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



Reply