Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
27153 Discussions

ifort: command line warning #10006: ignoring unknown option '-qmkl'

Navdeep_Rana
Beginner
679 Views

Compiling with -qmkl option gives the mentioned warning.

Relevant info here: https://software.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide...

 

0 Kudos
4 Replies
Steve_Lionel
Black Belt Retired Employee
660 Views

Which OS? Which compiler version? Please show a console log of the command and the output.

mecej4
Black Belt
644 Views

Look up the compiler documentation or run the command ifort /help (Windows) or ifort -help (Linux) to find the correct syntax. On Windows, the option is /Qmkl .

Steve_Lionel
Black Belt Retired Employee
629 Views

If on Windows you use -qmkl, you get an error that /qmkl (note the slash) was not found. -qmkl is the documented syntax for Linux.

Navdeep_Rana
Beginner
601 Views

Hi all,

Sorry for not including relevant information. I am on a linux desktop, where I installed intel-oneapi tools via spack.
Here's the output of ifort --version

 

ifort (IFORT) 2021.2.0 20210228
Copyright (C) 1985-2021 Intel Corporation. All rights reserved.

 

When I use the following command

 

ifort -init=zero,array -qmkl -warn -fpp -Ofast -static -xHost

, I get the error. Replacing -qmkl with -mkl works, but the documentation mentions '-qmkl'.

Reply