Software Archive
Read-only legacy content
17060 Discussions

ifort (ver 15) args

Jen_B_
Beginner
639 Views

I compile my programs using ifort Version 15.0. For mic offloaded code I compile it using "-offload" argument, as far as I know it has to be "-qoffload", but why I don't get any warnings when I compile without q in front? Thanks.

0 Kudos
2 Replies
Frances_R_Intel
Employee
639 Views

I found the following note in the Fortran reference manual (https://software.intel.com/en-us/node/524880) 

Occasionally, compiler options are marked as "deprecated." Deprecated options are still supported in the current release, but are planned to be unsupported in future releases.

Usually if a compiler doesn't recognize an option it will pass that option on to the loader (which will then complain if it has been handed something that is not a loader option.) But in this case, I believe "-offload" is being handled as a deprecated option. It is good that you are aware of the change and are moving to the new option now.

0 Kudos
Jen_B_
Beginner
639 Views

Thanks!

0 Kudos
Reply