- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page