[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: FORTRAN implementation in Lenny

Hello Raju.

<f95> is a link in "/etc/alternatives" to "/usr/bin/gfortran".

When typing "gfortran -v" the options are:

]$ gfortran -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1) 

Department of Chemistry -- Surface Science Research Centre
University of Liverpool
Crown Street
Liverpool, L69 7ZD
United Kingdom

"Treat the Earth well. It was not given to you by your parents, it was loaned to you by your children." (Ancient native American Indian proverb)
From: kamaraju kusumanchi [raju.mailinglists@gmail.com]
Sent: 22 February 2010 22:27
To: Fuentes, Adolfo
Cc: debian-user@lists.debian.org; debian-devel@lists.debian.org; debian-research@lists.debian.org; debian-science@lists.debian.org
Subject: Re: FORTRAN implementation in Lenny

>    ]$ f95 -O3 -lm -march=nocona -o nbody.x nbody.f90
>    ]$ time ./nbody.x 50000000
>         Energy 0: -0.169075164
>         Energy 1: -0.169059907
>         Elapsed time: 2m 31.7s

AFAIK, the GNU fortran compiler goes with the name gfortran (not f95).
Please give the output of "gfortran -v"  so that we will know the
exact options you are using.

Reply to: