Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2015 15:11:56 +0100
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        freebsd-fortran@freebsd.org
Subject:   Re: math/cmlib port - PR submitted, want to discuss
Message-ID:  <20150104141156.GA81698@graf.pompo.net>
In-Reply-To: <20141225222156.GA35967@troutmask.apl.washington.edu>
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> <20141225222156.GA35967@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Le jeu 25 déc 14 à 23:21:56 +0100, Steve Kargl <sgk@troutmask.apl.washington.edu>
 écrivait :

[Sorry for the delay]

> 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.

OK, I'll change it.

> > 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.

If "myprog" uses the ports framework (including the ports Makefiles), it
will be possible to write something like:

$FC -o myprog myprog.f90 -L${LOCALBASE}/lib $LAPACKLIB $BLASLIB
and pick the default ones.

But if you develop your programs out of the ports mechanism, nothing
will change.

Regards,
-- 
Th. Thomas.



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