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

linking to mkl /4I8 compliler option

CHobbs1
Novice
554 Views

All;

I am trying to link to the mkl library in the Winteractor development environment.  Using 

 

https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html#gs.iw5tvg

 

to get what the command line is the following switch was suggested for use:

 

/4I8

 

Looking in the documentation for the Intel compiler switches I am not finding what it means.  Does anyone know?  If so, please tell me.  Thank you.

0 Kudos
1 Solution
mecej4
Honored Contributor III
545 Views

Given that the Intel compilers have existed over a long period (~ 20 years now), it is to be expected that many options have more than one name.

See https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-reference/compiler-options/data-options/integer-size.html .

 

Is there a specific reason that you want to use 8-byte integers rather than the default 4-byte integers?

View solution in original post

0 Kudos
2 Replies
mecej4
Honored Contributor III
546 Views

Given that the Intel compilers have existed over a long period (~ 20 years now), it is to be expected that many options have more than one name.

See https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-reference/compiler-options/data-options/integer-size.html .

 

Is there a specific reason that you want to use 8-byte integers rather than the default 4-byte integers?

0 Kudos
CHobbs1
Novice
544 Views

No reason to use 8 byte integers by default.  Just what the link line said in Intel's 'how to use mkl.'  Thank you for pointing out the guide for IDE equivalent.

0 Kudos
Reply