Re: building gfortan 64bit version on debian

From: Rochus Herrmann <rhe_at_phys.au.dk>
Date: Thu, 08 Sep 2011 19:43:01 +0200

Dear Alfredo,

Yes, done so.

The problem is line 20 of ffluka.sh
            GFORHLP=`gfortran --version -dumpversion | grep -i "4\." |
grep -i gcc`

since
"
someone_at_something:$~/FLUKA_gfortran/flutil$ gfortran --version
-dumpversion
GNU Fortran (Debian 4.6.1-4) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
"

so grep -i gcc gives no result.

Hope that helps.

Regards,
Rochus

On Thu, 2011-09-08 at 18:13 +0200, Alfredo Ferrari wrote:
> Thanks
>
> before setting FLUFOR did you set FLUPRO to a directory containing "gfor"
> somehwre in its name? If not the script defaluts to g77 independent
> whether it is installed or not.
>
> Ciao
> Alfredo
>
>
> +----------------------------------------------------------------------+
> | Alfredo Ferrari || Tel.: +41.22.76.76119 |
> | CERN-EN/STI || Fax.: +41.22.76.69474 |
> | 1211 Geneva 23 || e-mail: Alfredo.Ferrari_at_cern.ch |
> | Switzerland || |
> +----------------------------------------------------------------------+
>
> On Thu, 8 Sep 2011, Rochus Herrmann wrote:
>
> > Dear all,
> >
> > just wanted to mention that the new gfortan 64bit version is not
> > compiling on a, or at least on my, Debian testing 64bit system. No g77
> > installed.
> > The reason is that the Fortran version is not correctly recognised in
> > ffluka.sh script and thus set to g77.
> > I solved it for me by setting the FLUFOR variable manually in the
> > script.
> >
> > Thought this may save someone else a little time.
> >
> > Regards
> >
> > Rochus
> >

-- 
Rochus Herrmann
Department of Physics and Astronomy
Aarhus University
Ny Munkegade 120
DK-8000 Aarhus C
Denmark
office: (+45) 8942 3704
fax:    (+45) 8612 0740
Aarhus Particle Therapy Group
http://www.phys.au.dk/aptg
Received on Fri Sep 09 2011 - 09:12:41 CEST

This archive was generated by hypermail 2.2.0 : Fri Sep 09 2011 - 09:12:52 CEST