home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / dec / 4156 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  2.5 KB

  1. Path: sparky!uunet!newsstand.cit.cornell.edu!vax5.cit.cornell.edu!pniy
  2. From: pniy@vax5.cit.cornell.edu
  3. Newsgroups: comp.sys.dec
  4. Subject: Single, not double precision on a 240
  5. Message-ID: <1992Jul23.111943.13952@vax5.cit.cornell.edu>
  6. Date: 23 Jul 92 11:19:43 EDT
  7. Distribution: comp
  8. Organization: Cornell University
  9. Lines: 43
  10.  
  11. Our Decstation 5000/240 has been experiencing a bizarre problem, and
  12. DEC is now planning to replace the CPU  board to fix it. Since DEC
  13. was aware of this problem beforehand, but apparently not aware how
  14. widespread the problem was, I thought I should warn people to check
  15. for themselves.
  16.  
  17. The initial symptom was a huge program apparently running at single precision
  18. even though we were sure it should be getting double precision answers,
  19. and even though the same program running on other machines DID give
  20. double precision answers. When we finally tried running the program twice
  21. with an identical input file, we noticed that it was actually producing
  22. output that DIFFERED from one run to another at about the 6'th or 7'th
  23. decimal place, not good enough for our purposes. The exact same executable
  24. file, when run on a DEC 5000/200, produced consistent results from
  25. one run to another (also on the same input file), to all 16 places
  26. we would expect.
  27.  
  28. Our machine was delivered at the end of May, and we have found the same
  29. problem on another machine delivered about a month later, but it apparently
  30. does not afflict all of the 240's, since when we communicated with the
  31. DEC service people, they tried running the same executable over there,
  32. and it was perfectly consistent from one run to the next, and with the
  33. results on the 200 we tested.
  34.  
  35. I have a shorter test program that people can try on their own machines.
  36. Please send me e-mail at:
  37.  
  38.     asmith@icose.msd.anl.gov
  39.  
  40. if you are interested (NOT at the address this was posted from). This
  41. program basically runs a series of random numbers through the sin function,
  42. and produces consistent results about 95 % of the  time, and inconsistent
  43. results (at the 7'th or 8'th decimal place) about 5 % of the time. However,
  44. if you change the program slightly it becomes fully consistent (for
  45. example, by printing things in a different order, or by rearranging
  46. the subroutines called to generate random numbers, or by compiling
  47. with -g instead of -O). I would also be interested in hearing who
  48. else has had similar experiences (Dec implied there was at least somebody
  49. out there who had noticed this before).
  50.  
  51.         Arthur Smith
  52.         (asmith@icose.msd.anl.gov)
  53.  
  54.