[Users] problem with ifort 10 compiler

Christian Reisswig reisswig at aei.mpg.de
Wed Jan 16 06:26:26 CST 2008


Hi,

when I try to compile Cactus, I get problems compiling Fortran code, since 
Cactus sets an optimization option "-xN".
This option doesn't seem to be supported by the Intel Fortran 10 compiler.

ifort -help reveals:

v10:

-x<codes>  generate specialized code to run exclusively on processors
           indicated by <codes> as described below
    W  Intel Pentium 4 and compatible Intel processors
    P  Intel(R) Core(TM) Duo processors, Intel(R) Core(TM) Solo processors,
       Intel Pentium 4 and compatible Intel(R) processors with Streaming
       SIMD Extensions 3 (SSE3) instruction support
    T  Intel(R) Core(TM)2 Duo processors, Intel(R) Core(TM)2 Quad
       processors, and Intel(R) Xeon(R) processors with SSSE3
    O  Intel(R) Core(TM)2 Duo processors.  Code is expected to run properly
       on any processor that supports SSE3, SSE2 and SSE instruction sets


<v10:

    K  Intel Pentium III and compatible Intel processors
    W  Intel Pentium 4 and compatible Intel processors
    N  Intel Pentium 4 and compatible Intel processors.  Enables new
       optimizations in addition to Intel processor-specific optimizations
    P  Intel Core(TM) Duo processors, Intel Core(TM) Solo processors, Intel
       Pentium 4 and compatible Intel processors with Streaming SIMD
       Extensions 3 (SSE3) instruction support
    B  Intel Pentium M and compatible Intel processors
-x<codes>  generate specialized code to run exclusively on processors
           indicated by <codes> as described above.


So I guess the -xN option has to be replaced by -xW. 


cheers,
Christian

-- 
Christian Reisswig
Max-Planck-Institut fuer Gravitationsphysik
Albert-Einstein-Institut
Potsdam / Golm
Astrophysical Relativity (Numerical Relativity Group)
office: +49 331 567 7179


More information about the Users mailing list