Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29234 Discussions

First-chance exception when calling RNOPT

jesbag
Beginner
1,004 Views
Hi,

When debugging a very simple program calling the IMSL routine RNOPT I get a first-chance exception that I'm not really sure what to do with. I am debugging on a x64 platform. The program is here:

===============================
include 'link_fnl_static.h'

!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'

program main

use rnopt_int

implicit none

call rnopt(9)

end program main
===============================

and the ouput is:

'Test.exe': Loaded 'C:\Users\uute098\Documents\Visual Studio 2008\Projects\Test\Test\x64\Debug\Test.exe', Symbols loaded.
'Test.exe': Loaded 'C:\Windows\System32\ntdll.dll'
'Test.exe': Loaded 'C:\Windows\System32\kernel32.dll'
'Test.exe': Loaded 'C:\Program Files (x86)\Intel\Compiler\11.1\035\lib\intel64\libiomp5md.dll', Binary was not built with debug information.
'Test.exe': Loaded 'C:\Windows\System32\imagehlp.dll'
'Test.exe': Loaded 'C:\Windows\System32\msvcrt.dll'
First-chance exception at 0x7726619d in Test.exe: 0xA1A01DB1: 0xa1a01db1.
First-chance exception at 0x7726619d in Test.exe: 0xA1A01DB2: 0xa1a01db2.
The program '[1828] Test.exe: Native' has exited with code 0 (0x0).

I am not sure what this means and if it is important at all. However, at least for aestethic reasons, I would like to fix it. Any help would be greatly appreciated.
0 Kudos
5 Replies
Steven_L_Intel1
Employee
1,004 Views
See Parallel Debugger Extension Exceptions, or the compiler release notes.
0 Kudos
jesbag
Beginner
1,004 Views
See Parallel Debugger Extension Exceptions, or the compiler release notes.
Hi Steve,

Thanks for your quick reply. I'm using VS 2008 and I have no options to allow for Intel Parallel Exceptions 1,2 and 3 in Debug/Exceptions/Win32 Exceptions as suggested in the link you provided. Also, I cannot find anything about this error message in the Compiler release note (which dates 20 May 2009). So, problem is not solved and I'm still quite confused about what's going on here :-S
0 Kudos
Steven_L_Intel1
Employee
1,004 Views
Do you also have Intel C++ installed? I suggest you update to 11.1.048 which supports the Intel Parallel Debug Extension. Then you should be able to do this, or even find that it has been done for you.

The Fortran version you have does not support the Parallel Debug Extensions.
0 Kudos
jesbag
Beginner
1,004 Views
Do you also have Intel C++ installed? I suggest you update to 11.1.048 which supports the Intel Parallel Debug Extension. Then you should be able to do this, or even find that it has been done for you.

The Fortran version you have does not support the Parallel Debug Extensions.

Hi Steve,

Thanks for the quick reply. I do not have Intel C++ installed and my compiler is version 11.1.035. I'm still a bit confused about 3 things (I'm not sure this is the right forum to post these questions, but I'll take a chance)

1. My programs seem to run smoothly even though I get these First-Chance exception messages every now and then. Is it correctly understood that these messages does not indicate mistakes in the code and does not affect my computations?

2. You mention that I need to install Intel C++? Is this instead of updating to 11.1.048, or is it something that I should do in any case?

3. How do I update to 11.1.048?




0 Kudos
Steven_L_Intel1
Employee
1,004 Views

1. Yes. The signals are part of the Parallel Debugger Extension which was the initial 11.1 version of Intel C++ but not of Intel Visual Fortran. They do not indicate a problem with your code. I am puzzled as to how you might have this on your system without Intel C++ - did you try a beta of Intel Parallel Studio or Intell Parallel Composer and still have it installed? If you do, I recommend uninstalling it.

2. No, you don't need Intel C++.

3. Log in to the Intel Registration Center and you should see a link for it there.
0 Kudos
Reply