possible ifort bug ???
From: flubie (fluberman72_at_wanadoo.nl)
Date: 02/24/04
- Next message: Catherine Rees Lay: "Re: timing a program on Windows"
- Previous message: Nitesh: "Embedded SQL in f90 on WIndows"
- Next in thread: Tony Jay: "Re: possible ifort bug ???"
- Reply: Tony Jay: "Re: possible ifort bug ???"
- Reply: Herman D. Knoble: "Re: possible ifort bug ???"
- Reply: flubie: "SOLVED --- Re: possible ifort bug ???"
- Reply: Steve Lionel: "Re: possible ifort bug ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 24 Feb 2004 11:56:29 +0100
I'm not sure if I'm correct, but I think I found a bug in ifort (intel
fortran 8). I did a test to arrays and print out the results. The source
file is attached. I compiled it with both ifort and lahey fortran under
linux (suse 9) running on intel P-4, and ifort gave incorrect results.
Here are the output of lahey fortran, which is correct (I cut only to
several lines):
3 5 alpha= 0.1554151707572100 wm= 0.3626469000000000 mu= 0.6950514000000000
3 6 alpha= 0.000000000000000E+00 wm= 0.1609517000000000 mu=
0.9656013000000000
4 1 alpha= 0.1554151707572100 wm= 0.1609517000000000 mu= -0.9656013000000000
and the following are from ifort:
3 5 alpha= 0.155415170757210 wm= 0.362646900000000 mu= 0.695051400000000
3 6 alpha= 0.155415170757210 wm= 0.000000000000000E+000 mu=
0.965601300000000
4 1 alpha= 0.155415170757210 wm= 0.160951700000000 mu= -0.965601300000000
Please take a look at the second line of each output.
lahey fortran: wm= 0.1609517037868500
ifort: wm= 0.000000000000000E+000
in the source code, wm(3,6) is defined as
wm(3,6) = wm1
and wm1 is
real(8), parameter :: wm1 = 0.1609517d0
Can anybody confirm this?
- text/plain attachment: test_array.f90
- Next message: Catherine Rees Lay: "Re: timing a program on Windows"
- Previous message: Nitesh: "Embedded SQL in f90 on WIndows"
- Next in thread: Tony Jay: "Re: possible ifort bug ???"
- Reply: Tony Jay: "Re: possible ifort bug ???"
- Reply: Herman D. Knoble: "Re: possible ifort bug ???"
- Reply: flubie: "SOLVED --- Re: possible ifort bug ???"
- Reply: Steve Lionel: "Re: possible ifort bug ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|