Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Dec 2014 14:21:56 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-fortran@freebsd.org
Subject:   Re: math/cmlib port - PR submitted, want to discuss
Message-ID:  <20141225222156.GA35967@troutmask.apl.washington.edu>
In-Reply-To: <20141225220810.GC31170@graf.pompo.net>
References:  <201412242116.sBOLGs66067857@mech-as221.men.bris.ac.uk> <20141225060257.GA32765@troutmask.apl.washington.edu> <20141225144608.GA1239@graf.pompo.net> <20141225164143.GA34817@troutmask.apl.washington.edu> <20141225220810.GC31170@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 25, 2014 at 11:08:10PM +0100, Thierry Thomas wrote:
> Le jeu 25 d?c 14 ? 17:41:43 +0100, Steve Kargl <sgk@troutmask.apl.washington.edu>
> > > <https://reviews.freebsd.org/D1354>;
> > > 
> > 
> > With only a very brief scan, I would have 
> > 
> > _valid_ARGS= atlas netlib gotoblas openblas
> > 
> > Oldtimers will know "netlib" over "reference" and Goto's library
> > is called gotoblas.
> > 
> > The default should be netlib.  If you choose to set 
> > the default to openblas, does it install a symlink from
> > libopenblas to libblas.  In fact, I would recommend setting
> > a symlink for atlas, gotoblas, and openblas. This is, of course,
> > my own opinion. 
> 
> Thanks for the feedback. No problem for me: I just choosed "reference"
> because this was the name used by math/suitesparse.
> 
> We discussed about the default with maho@ and pfg@, and it seemed that
> openblas was the "trending" lib, but netlib is fine too.
> 

The original authors of the blas and lapack are the individuals
who wrote and maintain the netlib implementations.  "trending"
lib suggests to me new code with bugs.  The netlib libraries are
well-known and have been debugged for years.  The netlib libraries
are also quite portable.

> I'm not sure about a symlink: would'nt it imply conflicts between
> these different ports? How do you see it?

My only concern is if I do

gfortran -o myprog myprog.f90 -L/usr/local/lib -llapack -lblas

I get myprog.  If openblas or gotoblas or atlas is installed in
preference to the netlib libraries, I would like the above to
magically work.  But, I suppose that this is just me.

-- 
Steve



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