- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm compiling a Fortran77 code using ifort 11.1 on a 64bit OpenSuse 11.3 OS. I have certain parameters in the code that I can specify beforehand. If those are set too large, the code won't compile.
Reading the manpage for ifort, I came across the "-mcmodel" command. Unfortunately this seems to work for 32bit OS only.
Is this true? Is there a similiar command for the 64bit version? Or am I completely off track here and memory allocation is not the true cause of my problems?
Thanks a lot in advance!
Reading the manpage for ifort, I came across the "-mcmodel" command. Unfortunately this seems to work for 32bit OS only.
Is this true? Is there a similiar command for the 64bit version? Or am I completely off track here and memory allocation is not the true cause of my problems?
Thanks a lot in advance!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Without seeing the errors it is unclear if those are compile-time or perhaps link-time related. You might review the Knowledge Base article about Avoiding Relocation errors.
The ifort man page for the latest 11.1 update 6 (Linux: 11.1.072) release correctly indicates that -mcmodel is for Architectures: Intel 64 only. If yours indicates IA-32 only, then it is incorrect.
Your application may require: -mcmodel medium -shared-intel (see the earlier referenced article)
![](/skins/images/A813B21DBC25E22B34567C634318FFFF/responsive_peak/images/icon_anonymous_message.png)
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