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

v 9.1 for 64 bit code and 32 bit code

lgchen
Beginner
786 Views
Our machine is 64 bit and compiler is 64 bit. The compiler code should be 64 bit automatically or there is some specifications? I am talking about version 9.1 here.
0 Kudos
2 Replies
rreis
New Contributor I
786 Views
Quoting - lgchen
Our machine is 64 bit and compiler is 64 bit. The compiler code should be 64 bit automatically or there is some specifications? I am talking about version 9.1 here.

with a 64bit compiler in a 64 enviroment it should be 64 bit (assuming by "64 bit machine" a 64 bit Operating System)
0 Kudos
TimP
Honored Contributor III
786 Views
Quoting - lgchen
Our machine is 64 bit and compiler is 64 bit. The compiler code should be 64 bit automatically or there is some specifications? I am talking about version 9.1 here.
The Intel compilers don't have a switch to change between 32- and 64-bit. If you are using the "Intel64" or "em64t" compiler (the one normally installed under /opt/intel/fce/ for 9.1) you get 64-bit code. ifort -V will tell you which compiler is active.
0 Kudos
Reply