- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I am using Intel EM64T Fortran Compiler 9.0.031 on SuSE Linux10.0 (x64) with 2048 MB RAM and 2048MB swap. I defined several arrays by the style such as"PARAMETER (MAXEL=1000)"and compiled with the options "ifort -i_dynamic -mcmodel=large". When MAXEL value was smallthe programcould run and ouput results,but when MAXEL value was largerthe programshowed the following information and stopped:
forrtl: severe (174): SIGSEGV, segmentation fault occurred.
So I want to know how to solve this matter? Could Increasing physics memory solve this matter or Intel Fortran Compiler's bug?
suwei-igp
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First, you probably don't want -mcmodel large - medium should do.
Otherwise, there's no way to tell what the problem is without analyzing the application in question. Linux can be very unhelpful at identifying issues such as insufficient datasize. You might see if "ulimit datasize" helps at all. You may also want to consider making these arrays ALLOCATABLE and allocating them dynamically.
Otherwise, there's no way to tell what the problem is without analyzing the application in question. Linux can be very unhelpful at identifying issues such as insufficient datasize. You might see if "ulimit datasize" helps at all. You may also want to consider making these arrays ALLOCATABLE and allocating them dynamically.

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