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

compiling MPICH2-1.0.8 with icc V 10.1 gives error Prgm not built for my processor

hazardsmusc_edu
Beginner
501 Views

On my system

cpu family : 6
model : 15
model name : Intel Xeon CPU E5345 @ 2.33GHz

I just tried to compile MPICH2-1.0.8 and got an error saying the program was not built for my processor.

I had set CFLAGS="-xHost" in the configure command line.

When I remove the "-xHost" flag the configure process completes just fine.

Where can I read what flags to set for compiling with my Xeon dual quadcore processors?

Thanks

0 Kudos
2 Replies
Ron_Green
Moderator
501 Views

-xHOST is an 11.0 option, it is not supported in the 10.1 complers.

You'll want to check the product documentation of the -x option. The 5345 is in the Clovertown family, so -xT should work fine.

HOWEVER, remember that anything compiled with -xT will only run on Intel Core 2 Duo processors or newer. This binary will NOT work on older processors. In case you want the binaries generic, please review the -ax options - something like -axT.

ron

0 Kudos
TimP
Honored Contributor III
501 Views


Even with 11.0, you would not normally have any reason to set-xHost options for building mpich itself. For the Intel64 compiler, the default would be fine. For the ia32 compiler, -xW will be excellent for P4 or newer.

0 Kudos
Reply