Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
1890 Discussions

Please document location of CFG files for new LLVM compilers.

mecej4
Black Belt
359 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
5 Replies
VidyalathaB_Intel
Moderator
338 Views

Hi,

Thanks for your suggestion

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

Regards,

Vidya


VidyalathaB_Intel
Moderator
293 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-...

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
259 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
246 Views

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

 

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

 

Reply