Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

mkl_link_tool quiet output?

$
0
0

All,

Perhaps a FAQ, but my search-fu is lacking. My question is: is there a way to get "quiet" output from the MKL Link Tool?  For example:

(1259) $ $MKLROOT/tools/mkl_link_tool -libs --compiler=gnu_f --parallel=no

       Intel(R) Math Kernel Library (Intel(R) MKL) Link Tool v4.4
       ==========================================================

Output
======

Linking line:
 -L$(MKLROOT)/lib/intel64 -Wl,--no-as-needed -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl

Now, luckily the thing we care about is in stdout and the rest is stderr, but this does look a bit ungainly in, say, log output:

(1260) $ setenv YAYA `$MKLROOT/tools/mkl_link_tool -libs --compiler=gnu_f --parallel=no -libs --noteno`

       Intel(R) Math Kernel Library (Intel(R) MKL) Link Tool v4.4
       ==========================================================

Output
======

Linking line:
(1261) $ echo $YAYA
-L$(MKLROOT)/lib/intel64 -Wl,--no-as-needed -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl

I'd love it if I could pass in --quiet and then nothing would be output to stderr, only the link line. (Oh, and by the way, I am in a tcsh environment (for legacy reasons) so '2>/dev/null' is not an option thanks to csh being csh.  But I could workaround that. I just would like a --quiet so I can be lazy!)


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>