- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
For applications running in the cloud, pop-up windows are a big no-no. Sometimes, if an Intel Fortran application fails (in Windows) due to a fortran runtime error (full disk, for example), a pop-up window will show.
Is there a way to avoid such pop-up windows?
Jens
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Jens,
You state, "if an Intel Fortran application fails (in Windows) due to a fortran runtime error (full disk, for example), a pop-up window will show." This suggests some IO operation is in effect that is impacted by a "full disk" issue. If so, one option you may consider this is using the IOSTAT and IOMSG parameters in the IO instruction e.g., WRITE operation. Are you doing this already?
As you may know, you can check for non-zero IOSTAT in IO operations which signals a failure and then process the IOMSG error description suitably e.g., redirect it to a database and/or a web service, etc. and manage to prevent the pop-up window. Same philosophy applies for other run-time failures as well i.e., do the needful to "catch" the run-time errors in Fortran code itself to prevent Intel Fortran run-time pop-ups.
https://software.intel.com/en-us/fortran-compiler-developer-guide-and-reference-write-statement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Finally reverting to this issue after a year :)
The problem is that the pop-up comes from a fortran library which my application consumes. I was hoping that there might be a way to avoid the pop-up (I would prefer an uncontrolled crash because the application runs without supervision in the cloud) link-time, but I guess not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the application project type? Console, Windows, QuickWIn? I think only QuickWin does a popup of any sort.
What you want to do is to define the environment variable FOR_NOERROR_DIALOGS as 1 before the application starts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's a c++ windows application (winmain) consuming a fortran library.
Thanks, will give the environment viriable a try.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page