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

program.exe trigerred a breakpoint

Samuel_O_
Beginner
6,181 Views

after running a Fortran program, i got this output

'RADIATION NEW.exe' (Win32): Loaded 'C:\Users\Ojaytee\Documents\Visual Studio 2012\Projects\RADIATION NEW\RADIATION NEW\Debug\RADIATION NEW.exe'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imagehlp.dll'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Symbols loaded.
'RADIATION NEW.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dbghelp.dll'. Symbols loaded.
RADIATION NEW.exe has triggered a breakpoint.
The program '[75508] RADIATION NEW.exe' has exited with code 29 (0x1d).

hw do i solve this

0 Kudos
35 Replies
SergeyKostrov
Valued Contributor II
4,408 Views
Please provide more technical details. Also, regarding error code 29: >>... >>The program '[75508] RADIATION NEW.exe' has exited with code 29 (0x1d). >>... If code 29 is a Win32 error code than it means: The system cannot write to the specified device
0 Kudos
Samuel_O_
Beginner
4,408 Views

the program triggers a breakpoint at line:

1   READ (1,101,END=500) NW,NP,NR,BK

then it brings out the output i pasted above

pls, i need help

0 Kudos
mecej4
Honored Contributor III
4,408 Views

Was unit-1 opened explicitly (if so, please show the OPEN statement) or are you relying upon an implicit connection between the unit and a file? Does the file that is intended to be read exist? What does the file contain?

0 Kudos
Samuel_O_
Beginner
4,408 Views

mecej4, please, how do i create unit 1, i dont know how to create it?

0 Kudos
Bernard
Valued Contributor I
4,408 Views

Can you post call stack of failed application?Regarding the exception the context is accessed with .ecxr debugger command.

0 Kudos
Steven_L_Intel1
Employee
4,408 Views

There is almost certainly another window, probably behind the VS window, with the real error message, and it might give the file path too.

0 Kudos
Samuel_O_
Beginner
4,408 Views

yes, there is, this is what the message in it

forrtl: severe (29): file not found, unit 1, file C:\Users\Ojaytee\documents\vis
ual studio 2012\Projects\RADIATION NEW\RADIATION NEW\fort.1
Image PC Routine Line Source
RADIATION NEW.exe 002F1B60 Unknown Unknown Unknown
RADIATION NEW.exe 0025A7B6 Unknown Unknown Unknown
RADIATION NEW.exe 00241ED2 Unknown Unknown Unknown
RADIATION NEW.exe 00241214 Unknown Unknown Unknown
RADIATION NEW.exe 00247418 Unknown Unknown Unknown
RADIATION NEW.exe 0023ADC1 _MAIN__ 443 RADIATION NEW.f90
RADIATION NEW.exe 002F3763 Unknown Unknown Unknown
RADIATION NEW.exe 002F375B Unknown Unknown Unknown
RADIATION NEW.exe 0029854C Unknown Unknown Unknown
RADIATION NEW.exe 0029869D Unknown Unknown Unknown
kernel32.dll 761133AA Unknown Unknown Unknown
ntdll.dll 77489EF2 Unknown Unknown Unknown
ntdll.dll 77489EC5 Unknown Unknown Unknown

0 Kudos
Samuel_O_
Beginner
4,408 Views

yes, there is, this is what the message in it

forrtl: severe (29): file not found, unit 1, file C:\Users\Ojaytee\documents\vis
ual studio 2012\Projects\RADIATION NEW\RADIATION NEW\fort.1
Image PC Routine Line Source
RADIATION NEW.exe 002F1B60 Unknown Unknown Unknown
RADIATION NEW.exe 0025A7B6 Unknown Unknown Unknown
RADIATION NEW.exe 00241ED2 Unknown Unknown Unknown
RADIATION NEW.exe 00241214 Unknown Unknown Unknown
RADIATION NEW.exe 00247418 Unknown Unknown Unknown
RADIATION NEW.exe 0023ADC1 _MAIN__ 443 RADIATION NEW.f90
RADIATION NEW.exe 002F3763 Unknown Unknown Unknown
RADIATION NEW.exe 002F375B Unknown Unknown Unknown
RADIATION NEW.exe 0029854C Unknown Unknown Unknown
RADIATION NEW.exe 0029869D Unknown Unknown Unknown
kernel32.dll 761133AA Unknown Unknown Unknown
ntdll.dll 77489EF2 Unknown Unknown Unknown
ntdll.dll 77489EC5 Unknown Unknown Unknown

and i dont know what it means?

0 Kudos
mecej4
Honored Contributor III
4,408 Views

I think that you need to read the I/O chapter of a Fortran text-book or the Intel Fortran manual.

You need to use the OPEN statement to associate unit-1 with the formatted file that you want your program to read.

0 Kudos
Bernard
Valued Contributor I
4,408 Views
When the ntdll.dll and kernel32.dll functions are not resolved it seem that you do not have the symbols installed.IIRC in VS you can use microsoft debug symbols download server. It is impossible to interpret the call stack without the correct symbols installed.I would like to advise you to follow the instructions from experienced fortran developers on this forum.
0 Kudos
Steven_L_Intel1
Employee
4,408 Views

The call stack into the system DLLs is not important here.  This is a simple "file not found" error.  It is very unlikely that a Fortran developer would need the debug symbols for Windows system DLLs.

0 Kudos
Samuel_O_
Beginner
4,408 Views

how can i get the intel Fortran manuaal

0 Kudos
mecej4
Honored Contributor III
4,408 Views

how can i get the intel Fortran manual
The manual is usually installed on your PC when you install the compiler. You can also find it onlinehttp://software.intel.com/sites/products/documentation/doclib/stdxe/2013/composerxe/compiler/fortran-win/index.htm .

0 Kudos
SergeyKostrov
Valued Contributor II
4,408 Views
>>...how can i get the intel Fortran manual... For a digital one please take a look at: [ Visual Studio ] -> Help menu item -> Intel Visual Fortran Composer XE 2013 menu item
0 Kudos
Samuel_O_
Beginner
4,408 Views

Thanks,

mecej4, i have created the unit 1;

this is the OPEN ststement that i used;

OPEN(UNIT=1,FILE="Text1.txt",STATUS='OLD')

abd this is what text1 contained;

NW=1
NP=25
NR=1
BK=6.283184
PX,PY,PZ
LL(1)=1
LR(1)=1
RAD(1)=0.00337
NL=1
LP=6
ZL=0.0 + j100.0
NF=1
FP=3
V=1.0 + j0.0

but the program keep saying;

forrtl: severe (64): input conversion error, unit 1, file C:\Users\Ojaytee\docum
ents\visual studio 2012\Projects\RADIATION NEW\RADIATION NEW\Text1.txt
Image PC Routine Line Source
RADIATION NEW.exe 01131C10 Unknown Unknown Unknown
RADIATION NEW.exe 0109F3E6 Unknown Unknown Unknown
RADIATION NEW.exe 01081FA2 Unknown Unknown Unknown
RADIATION NEW.exe 010812E4 Unknown Unknown Unknown
RADIATION NEW.exe 0108D7E1 Unknown Unknown Unknown
RADIATION NEW.exe 0108B0CB Unknown Unknown Unknown
RADIATION NEW.exe 0107AE29 _MAIN__ 445 RADIATION NEW.f90
RADIATION NEW.exe 01133813 Unknown Unknown Unknown
RADIATION NEW.exe 0113380B Unknown Unknown Unknown
RADIATION NEW.exe 010D862C Unknown Unknown Unknown
RADIATION NEW.exe 010D877D Unknown Unknown Unknown
kernel32.dll 761133AA Unknown Unknown Unknown
ntdll.dll 77489EF2 Unknown Unknown Unknown
ntdll.dll 77489EC5 Unknown Unknown Unknown

0 Kudos
DavidWhite
Valued Contributor II
4,408 Views

Samuel,

You need to look at the documentation for the Radiation program so that you set up the input file in the correct format.  The contents of the file, with variable names included are not consistent with the Read statement shown earlier for these variables.

According to the read statement, the first line of the input file should contain 4 values, something like

1 25 1 6.283184

If the format statement 101 specifies widths for the inputs, then the values will need to be spaced out accordingly.

You need to make similar changes for the other inputs in the file.

Regards,

David

 

 

0 Kudos
Samuel_O_
Beginner
4,408 Views

i dont understand, nw the program is bringing this out

Fortran Pause - Enter command<CR> or <CR> to continue.

0 Kudos
bmchenry
New Contributor II
4,408 Views

so somewhere in the program is a Pause statement (maybe at statement 500 since that is where the program routes on END=500). Also provide format statement 101 since that will demonstrate how the program reads unit 1. better yet provide Radiation New.f90 since that must have the open, input and pause staements.

0 Kudos
Samuel_O_
Beginner
4,408 Views

thank you. the program is running, but there is no output. it says

The program '[3300] Console2.exe' has exited with code 0 (0x0).

how can i see/view the output

0 Kudos
Samuel_O_
Beginner
4,211 Views

here is the prrgram, i've zipped it and uploaded it. i am still getting this output;

The program '[3300] Console2.exe' has exited with code 0 (0x0).

how can i see/view the programs output

0 Kudos
Reply