- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All,
I am not sure if this is the correct place to post my question. Anyhow, I have a problem which I am addressing below and appreciate of your thoughts and comments.
I compile my code using ifort (version11), and I only can get it executed on our Opteron machines and NOT on our Athlon machines which are 64-bit machines but with 32-bit OS. I was wondering if there is any "FLAG" that I need to use while I compile my code.
Thanks again in advance,
Regards,
Sarvin
I am not sure if this is the correct place to post my question. Anyhow, I have a problem which I am addressing below and appreciate of your thoughts and comments.
I compile my code using ifort (version11), and I only can get it executed on our Opteron machines and NOT on our Athlon machines which are 64-bit machines but with 32-bit OS. I was wondering if there is any "FLAG" that I need to use while I compile my code.
Thanks again in advance,
Regards,
Sarvin
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are running a 32-bit OS, then effectively you have a 32-bit processor. You must therefore use the "IA-32" compiler and not the "Intel 64" compiler. You specify this by adding the argument "ia32" when invoking ifortvars.sh/.csh. Does this help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sarvin,
Could you please provide a bit more details?
1) Which compiler switches were used to produce the executable?
2) Is there any failure diagnostic when you are trying to execute it on Athlon?
Alexander
Could you please provide a bit more details?
1) Which compiler switches were used to produce the executable?
2) Is there any failure diagnostic when you are trying to execute it on Athlon?
Alexander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Athlon-64 should have full SSE2 support in 32-bit mode. Original Turion may have claimed to be a 64-bit processor, but didn't have full SSE2 support, so would require the -mia32 compile switch. Turion X2 shouldn't have such a problem. Original Athlon, of course, had no SSE2, and again would require -mia32.

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