Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2013 11:00:48 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-current@freebsd.org, bsam@passap.ru
Subject:   Re: 7+ days of dogfood
Message-ID:  <20130210190048.GA77774@troutmask.apl.washington.edu>
In-Reply-To: <201302101851.r1AIpNWs055658@mech-cluster241.men.bris.ac.uk>
References:  <20130210164424.GA77092@troutmask.apl.washington.edu> <201302101851.r1AIpNWs055658@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 10, 2013 at 06:51:23PM +0000, Anton Shterenlikht wrote:
> 	Date: Sun, 10 Feb 2013 08:44:24 -0800
> 	From: Steve Kargl <sgk@troutmask.apl.washington.edu>
> 	To: Boris Samorodov <bsam@passap.ru>
> 	Subject: Re: 7+ days of dogfood
> 
> 	> >   FFLAGS = -O2 -pipe -march=native -mtune=native
> 	> 
> 	> I don't like using "=" for FLAGS at make.conf...
> 	> 
> 	> >   FFLAGS+= -funroll-loops -ftree-vectorize
> 	> 
> 	> ... as well as defaults overriding.
> 	> 
> 
> 	FFLAGS are the options used while compiling Fortran.  Having
> 	spent years contributing to and testing gfortran, I am fairly
> 	comfortable with these options.
> 
> Do you recommend these FFLAGS settings to all
> users of gfortran (via lang/gcc4x)?
> 

Yes.

> For example, I use blas, lapack, slatec, atlas, etc.
> Should I use these FFLAGS too?

Without knowing what options you currently use, I cannot
make a concrete recommendation other than I've extensive
tested the above options with my own codes and the
Polyhedron testsuite.  Oh, I do recommend that one should
avoid -ffast-math (unless one really understands what it
actually does).

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130210190048.GA77774>