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

Generating 64bit code on x86_64 Linux machine...how?

elazarus
Einsteiger
745Aufrufe

On our Linux cluster, the "arch" command returns x86_64; however the Intel Fortran compiler is generating 32 bit code. The only compiler option for 64 bits is '-m64' and that option is not available. What gives?

earl

0 Kudos
1 Antworten
TimP
Geehrter Beitragender III
745Aufrufe
Quoting - elazarus

On our Linux cluster, the "arch" command returns x86_64; however the Intel Fortran compiler is generating 32 bit code. The only compiler option for 64 bits is '-m64' and that option is not available. What gives?

earl

You are entitled to install both the 32-bit and the 64-bit ifort, on an x86_64 system. You choose between them by running the environment variable script, appending the intel64 option for 64-bit in the current version, or by running the script in the /fce/ rather than the /fc/ installation directory on the past versions. The -m32 and -m64 options aren't implemented in ifort, although of course you must use them consistently for gcc when combining gcc and ifort code.

Antworten