- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recently increased the size of some static array and now get the following warning.
I tried changing my array to dynamic array for the file in question but to no avail.
My configuration is as follow:
vs2010
Intel(R) Visual Fortran Compiler XE 14.0.1.139 [Intel(R) 64].
I now got it in a state where even when compiling an empty file (no code or empty subroutine code) it also fires this warning.
Thanks and regards
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now I think the answer is easier :-)
If you are building in the DEBUG configuration, then by default all the "check" options are turned on.
You can see this for yourself by looking at the build log, and seeing what command line options are being passed to 'ifort'.
This solves the mystery of why you get the message; now I have a question for you --- is it causing any sorts of problems for you?
--Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Lorri, I confirm that I am building in release.
The issue I am facing is that the subroutine is not doing lots of io in release and gets stuck.
In debug the program runs but very slowly.
Do you know why even an empty file gives out the warning?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes.
The warning comes out because both /check:stack and /O3 are set, and that message is issued even before the compiler starts reading the source file.
If this is really really bothering you, go to Project->Settings->Fortran->Run-time, and turn off Check Stack Frame.
I'm puzzled though, because this is not set (by default) in the RELEASE configuration. Is this something you've set to try and debug your I/O problems?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks Lorri, indeed that was the issue. Many thanks
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page