- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am obligated to run an old fortran program (fortran 77) and I meet to "stack overflow" and also "access violation" (depends on dimension or using additional subroutin) problem. How can I do in compaq visual fortran.
Thanx a lot.
I am obligated to run an old fortran program (fortran 77) and I meet to "stack overflow" and also "access violation" (depends on dimension or using additional subroutin) problem. How can I do in compaq visual fortran.
Thanx a lot.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
stack overflow is likely to be fixed by the standard /link /stack:nnnnnnnnn described in your CVF help.
I've become rusty on the CVF facilities for checking syntax errors, but it looks like you should be turning all of them on (subscript range check, uninitialized variables, consistent CALL arguments).
When people say "fortran 77" they often mean lots of non-standard stuff, not f77, but CVF does support the most usual extensions, some of them requiring appropriate USE headers.
I've become rusty on the CVF facilities for checking syntax errors, but it looks like you should be turning all of them on (subscript range check, uninitialized variables, consistent CALL arguments).
When people say "fortran 77" they often mean lots of non-standard stuff, not f77, but CVF does support the most usual extensions, some of them requiring appropriate USE headers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tim18
stack overflow is likely to be fixed by the standard /link /stack:nnnnnnnnn described in your CVF help.
I've become rusty on the CVF facilities for checking syntax errors, but it looks like you should be turning all of them on (subscript range check, uninitialized variables, consistent CALL arguments).
When people say "fortran 77" they often mean lots of non-standard stuff, not f77, but CVF does support the most usual extensions, some of them requiring appropriate USE headers.
I've become rusty on the CVF facilities for checking syntax errors, but it looks like you should be turning all of them on (subscript range check, uninitialized variables, consistent CALL arguments).
When people say "fortran 77" they often mean lots of non-standard stuff, not f77, but CVF does support the most usual extensions, some of them requiring appropriate USE headers.
I did it but, it is not suitable to solve the (21000*21000) matrix of a linear sysytem. I set in project setting/link/project option, command box:: /stack:4000000000 (the largest value which is possible) but it does not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That matrix does look large enough that it may have to be declared ALLOCATABLE, also taking steps such as activating the /3GB boot option if using XP. Maybe it's time to consider 64-bit Windows and ifort.
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/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