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

IFX: command line warning #10148: option '-ip' not supported.

DataScientist
Valued Contributor I
755 Views

The porting guidelines say this warning is issued for flags that are not (currently) planned to be supported by IFX (https://www.intel.com/content/www/us/en/developer/articles/guide/porting-guide-for-ifort-to-ifx.html). However, the IFX compiler options documentation lists it without any warnings. Should the IFX user remove this flag from the build scripts or keep it in the hope of future implementation? Thanks for any help from the IFX developers and others.

0 Kudos
1 Solution
Ron_Green
Moderator
464 Views

I am not sure where you see that -ip may be supported.  ifx -qnextgen-diag does show it will be removed (was removed). 

 

-ip that we used with ifort and our IL0 backend is not supported in llvm.  What they do support is "link time optimization" or "lto".  This is both what we used to call -ip and -ipo combined.  To get the inlining and additional vectorization and optimization you saw with ifort, replace "-ip" with "-qipo" or "-flto".  So yes, remove -ip or substitute with the llvm option -qipo 

 

 

View solution in original post

1 Reply
Ron_Green
Moderator
465 Views

I am not sure where you see that -ip may be supported.  ifx -qnextgen-diag does show it will be removed (was removed). 

 

-ip that we used with ifort and our IL0 backend is not supported in llvm.  What they do support is "link time optimization" or "lto".  This is both what we used to call -ip and -ipo combined.  To get the inlining and additional vectorization and optimization you saw with ifort, replace "-ip" with "-qipo" or "-flto".  So yes, remove -ip or substitute with the llvm option -qipo 

 

 

Reply