- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using 64-bit RHEL 5.4, Intel64 compiler version 11.1.072, compiler flag
-c, the following program may never finish compiling. I gave it 5 CPU
minutes. We have other programs that did not finish in a CPU hour.
subroutine lr()
implicit none
structure /st/
integer i/30/
end structure
record /st/ re(300000)
write (6,*) re(234543)
end
The workaround is to change field i to use Fortran 90 syntax. Specifically:
integer:: i = 30
The compiler then finishes in the expected time. We don't need a fix to the compiler, since this is trivial for us to work around. This posting is primarily to provide information to others that may encounter this problem.
subroutine lr()
implicit none
structure /st/
integer i/30/
end structure
record /st/ re(300000)
write (6,*) re(234543)
end
The workaround is to change field i to use Fortran 90 syntax. Specifically:
integer:: i = 30
The compiler then finishes in the expected time. We don't need a fix to the compiler, since this is trivial for us to work around. This posting is primarily to provide information to others that may encounter this problem.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reporting the problem. I will file a bug report on it and post its status here.
Thanks,
Xiaoping Duan
Intel Customer Support
Thanks,
Xiaoping Duan
Intel Customer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By the way, the original code wasn't Fortran 77; few compilers would have accepted it. It does appear that it should be flagged as non-standard syntax rather than hanging the compiler.
![](/skins/images/DF2E495CEC88D713A66401CF495CD875/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