- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
forrtl: error (73): floating divide by zero
Image PC Routine Line Source
astap.exe 00000001400014AA MAIN__ 895 astap.for
astap.exe 0000000140384C4C Unknown Unknown Unknown
astap.exe 0000000140373F4B Unknown Unknown Unknown
kernel32.dll 000000007722F56D Unknown Unknown Unknown
ntdll.dll 0000000077363281 Unknown Unknown Unknown
On linux I'm getting
/home/dajum/SFInstall/bin/sindad: line 112: 16515 Floating point exception./astap ${sinda85_keep_dir}/"$1".messages.log 1
where line 112 is in the script file that executes the code. It doesn't even have the same type of error which I know is a divide by zero. My compilation flags are:
DEBUG= -O3
FC=ifort
FFLAGS= $(DEBUG) -fpe0 -traceback -extend-source -real-size 64 -integer-size 64 -names lowercase -I../include/fluint -I../include -assume byterecl
Is there something missing here?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try "DEBUG = -g" instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What happens if you run the program from a terminal window rather than a script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[sblionel@f90srv17 ~/project]$ ifort -traceback -fpe0 t.f90
[sblionel@f90srv17 ~/project]$ ./a.out
0
forrtl: error (73): floating divide by zero
Image PC Routine Line Source
a.out 08049DB0 MAIN__ 3 t.f90
a.out 08049D14 Unknown Unknown Unknown
libc.so.6 005F4E9C Unknown Unknown Unknown
a.out 08049C01 Unknown Unknown Unknown
Abort
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
forrtl: Bad address
forrtl: severe (39): error during read, unit 16, file /home/tmp/dajum20179/CNTDAT
Image PC Routine Line Source
astap 0000000000838BBA Unknown Unknown Unknown
astap 0000000000837735 Unknown Unknown Unknown
astap 00000000007F6CC6 Unknown Unknown Unknown
astap 00000000007A4F85 Unknown Unknown Unknown
astap 00000000007A4741 Unknown Unknown Unknown
astap 00000000007C34F7 Unknown Unknown Unknown
astap 00000000007C1AB7 Unknown Unknown Unknown
astap 000000000059CE6C rdcntr_ 75 rdcntr.f
astap 000000000041B1D9 readin_ 67 readin.f
astap 0000000000409995 MAIN__ 925 astap.F
astap 000000000040971C Unknown Unknown Unknown
libc.so.6 0000003E4F81D994 Unknown Unknown Unknown
astap 0000000000409629 Unknown Unknown Unknown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is also very interesting to note that a line further down with seems to compile without error or warning is
a = b +++ c
and is just treated as a = b+c
Must be treating it as multiple uniary operators.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page