Public bug reported: Here's how to reproduce the problem on Ubuntu Gutsy Gibbon:
Get abinit-5.4.4.tar.gz from http://www.abinit.org and unpack it. Do the following commands: ./configure FC=gfortran make cd tests make tests_v4 start=08 make tests_v5 start=11 (gfortran, by default, is a symbolic link to gfortran-4.2, and the default is what is used here.) If you examine the files "v4/,,*/fldiff.report" and "v5/,,*/fldiff.report", you'll see that the ABINIT binary compiled by gfortran outputs NaNs. I do *not* get NaNs if I * use Ubuntu's gfortran-4.1, or * use the Intel 9.1 Fortran compiler on Ubuntu, or * use the gfortran 4.2 or 4.3 binaries from http://gcc.gnu.org/wiki/GFortranBinaries#GNU/Linux, or * use the stock gfortran on Fedora 8. The only other installation of gfortran with which I am able to reproduce these NaNs has been the gfortran for OS X from http://gcc.gnu.org/wiki/GFortranBinariesMacOS. And yes, the NaNs happen in the same tests as they do on Ubuntu. The only possibly relevant thing I can think of that OS X and Ubuntu have in common is that for both systems, the version of gfortran does not match the version of the rest of the GCC installation. For Ubuntu, most of GCC is at version 4.1, with gfortran 4.2 apparently grafted on, and for OS X, most of GCC is at version 4.0.x, with gfortran 4.3 grafted on. I'm not sure if that is the problem, though. The version of OS X that I have is 10.4 (Tiger), with version 2.5 of the Apple Developer Tools. ** Affects: gcc-4.2 (Ubuntu) Importance: Undecided Status: New -- ABINIT tests expose problems in gfortran 4.2 installation https://bugs.launchpad.net/bugs/193299 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
