Re: FORTRAN implementation in Lenny

2010-02-23 Thread kamaraju kusumanchi
On Tue, Feb 23, 2010 at 2:35 AM, Fuentes, Adolfo wrote: > Hello Raju. > > is a link in "/etc/alternatives" to "/usr/bin/gfortran". Ok, thanks. > > When typing "gfortran -v" the options are: > > ]$ gfortran -v > Using built-in specs. > Target: i486-linux-gnu > Configured with: ../src/configure

RE: FORTRAN implementation in Lenny

2010-02-22 Thread Fuentes, Adolfo
From: kamaraju kusumanchi [raju.mailingli...@gmail.com] Sent: 22 February 2010 22:27 To: Fuentes, Adolfo Cc: debian-u...@lists.debian.org; debian-devel@lists.debian.org; debian-resea...@lists.debian.org; debian-scie...@lists.debian.org Subject: Re: FORTRAN implementation in Lenny >]$ f95 -O

Re: FORTRAN implementation in Lenny

2010-02-22 Thread Mark Allums
On 2/21/2010 10:28 PM, Mark Allums wrote: On 2/21/2010 4:44 PM, Fuentes, Adolfo wrote: ]$ gcc -O3 -lm -march=nocona -o nbody.x nbody.c ]$ time ./-o nbody.x 5000 Energy 0: -0.169075164 Energy 1: -0.169059907 Elapsed time: 1m 17.4s ]$ f95 -O3 -lm -march=nocona -o nbody.x nbody.f90 ]$ time ./n

Re: FORTRAN implementation in Lenny

2010-02-22 Thread kamaraju kusumanchi
>    ]$ f95 -O3 -lm -march=nocona -o nbody.x nbody.f90 >    ]$ time ./nbody.x 5000 >         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"

Re: FORTRAN implementation in Lenny

2010-02-21 Thread Mark Allums
On 2/21/2010 4:44 PM, Fuentes, Adolfo wrote: ]$ gcc -O3 -lm -march=nocona -o nbody.x nbody.c ]$ time ./-o nbody.x 5000 Energy 0: -0.169075164 Energy 1: -0.169059907 Elapsed time: 1m 17.4s ]$ f95 -O3 -lm -march=nocona -o nbody.x nbody.f90 ]$ t

FORTRAN implementation in Lenny

2010-02-21 Thread Fuentes, Adolfo
Hello. I'm trying to compile the file from [The Computer Language Benchmarks Game] in a Toshiba Satellite A200-1C0 with the specifications shown below. The problem I've got is that when I compile the file with GNU FORTRAN 95 4.3.2-1-1 and G95 FORTRAN 0.91,