From owner-freebsd-fortran@FreeBSD.ORG Sun Jan 4 14:12:00 2015 Return-Path: Delivered-To: freebsd-fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B8FD69B for ; Sun, 4 Jan 2015 14:12:00 +0000 (UTC) Received: from mx1a.lautre.net (mx1a.lautre.net [80.67.160.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.lautre.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B71672045 for ; Sun, 4 Jan 2015 14:11:59 +0000 (UTC) Received: from graf.pompo.net (graf.pompo.net [78.225.128.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: thierry@pompo.net) by mx1a.lautre.net (Postfix) with ESMTPSA id 5EF12411B2 for ; Sun, 4 Jan 2015 15:11:56 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 47A0B71E3AD; Sun, 4 Jan 2015 15:11:56 +0100 (CET) Date: Sun, 4 Jan 2015 15:11:56 +0100 From: Thierry Thomas To: freebsd-fortran@freebsd.org Subject: Re: math/cmlib port - PR submitted, want to discuss Message-ID: <20150104141156.GA81698@graf.pompo.net> Mail-Followup-To: freebsd-fortran@freebsd.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20141225222156.GA35967@troutmask.apl.washington.edu> X-Operating-System: FreeBSD 10.1-STABLE amd64 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xF1C516B3C8359753 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 14:12:00 -0000 Le jeu 25 déc 14 à 23:21:56 +0100, Steve Kargl é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.