Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28383 Discussions

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

4 Replies
Steve_Lionel
Honored Contributor III
3,650 Views

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

0 Kudos
mecej4
Honored Contributor III
3,634 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 .

0 Kudos
Steve_Lionel
Honored Contributor III
3,619 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.

0 Kudos
Navdeep_Rana
Beginner
3,591 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'.

0 Kudos
Reply