- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear developers,
I'm using ifort (fce) version 10.0.017 for Mac OS X on a Mac Pro. The code that I'm trying to compile includes a module with some static arrays. When the size of the arrays is increased beyond certain point I start getting this message at linking stage:
ld64-59.2 failed: rel32 out of range in _MAIN__ from elcirc5_01_02r.o
When I recompile the code with the -automatic option I get the 'Illegal instruction' error at runtime. Any Ideas would be appreciated.
Regards,
Dmitri Leonov.
I'm using ifort (fce) version 10.0.017 for Mac OS X on a Mac Pro. The code that I'm trying to compile includes a module with some static arrays. When the size of the arrays is increased beyond certain point I start getting this message at linking stage:
ld64-59.2 failed: rel32 out of range in _MAIN__ from elcirc5_01_02r.o
When I recompile the code with the -automatic option I get the 'Illegal instruction' error at runtime. Any Ideas would be appreciated.
Regards,
Dmitri Leonov.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It sounds as if your arrays are too big for the available address space. Even with 64-bit MacOS, static data is limited to 2GB and stack is even less. How large are these arrays in total?
If you used 64-bit Mac OS (on a Mac with an Intel Core 2 family processor), you could make the arrays ALLOCATABLE and then allocate them as large as you like.
If you used 64-bit Mac OS (on a Mac with an Intel Core 2 family processor), you could make the arrays ALLOCATABLE and then allocate them as large as you like.
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