Sunday, August 29, 2010

comment about compilers

Hmm...so apparently gfortran on Debian Lenny 5.0, and Visual Fortran on Windows XP produce the same results.

Well nearly. The differences might be explained by the precision of the calculations, which may be affected by the fact that I used different computers for Linux and Windows XP.

2 comments:

  1. This is one of the first times I've ever thought about how you could achieve different results based on the components in your machine. Even running the same code...

    ReplyDelete
  2. Sam,

    I'm glad you commented on this. I do not know what I was thinking at the time. It could have been the computer. Most likely though, it was the compiler that I was using. Pulling into air, it could have been the OS too. I suppose the only way to find out is to try again.

    ReplyDelete