From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: OpenBLAS Date: Sun, 9 Oct 2016 12:19:18 +0000 Message-ID: <20161009121918.GA5567@mail.thebird.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btD5z-0006IE-SJ for guix-devel@gnu.org; Sun, 09 Oct 2016 08:20:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btD5t-0002ba-Sm for guix-devel@gnu.org; Sun, 09 Oct 2016 08:20:46 -0400 Received: from mail.thebird.nl ([95.154.246.10]:40126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btD5t-0002ZC-Eb for guix-devel@gnu.org; Sun, 09 Oct 2016 08:20:41 -0400 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Federico Beffa Cc: Guix-devel On Sat, Oct 08, 2016 at 10:13:39PM +0200, Federico Beffa wrote: > Hi, > > I'm wondering why our OpenBLAS package is built with the flag > "NO_LAPACK=1". It is my understanding that with this optional flag > OpenBLAS doesn't include LAPACK, while without this flag and by > default it does include the LAPACK functions. In the latter case > OpenBLAS could be used by a larger number of packages which do require > LAPACK functions. > > https://github.com/xianyi/OpenBLAS/issues/203 NO_LAPACK=0 does not use external libs. NO_LAPACK=1 uses external liblapack. They both cover LAPACK functionality. NO_LAPACK=1 is the conservative choice - it still is what most software has been developed against today. OpenBLAS has merged LAPACK code and they have been changing things, claiming their version is better performing. But since it is less well tested, new bugs are quite possible. I have hit at least one OpenBLAS bug, so far. Personally I think we should have both options in Guix, but we should probably keep defaulting to NO_LAPACK=1. Pj.