From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] Add Julia. Date: Thu, 26 Mar 2015 22:14:20 +0100 Message-ID: <87619nqx5f.fsf@mango.localdomain> References: <87384vqtwh.fsf@netris.org> <87pp7yphom.fsf@netris.org> <87d23xoxp2.fsf@netris.org> <87twx7okgn.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbF7e-0001lo-IP for guix-devel@gnu.org; Thu, 26 Mar 2015 17:15:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbF6k-00031p-3q for guix-devel@gnu.org; Thu, 26 Mar 2015 17:15:26 -0400 Received: from sinope.bbbm.mdc-berlin.de ([141.80.25.23]:44286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbF6j-00030q-R7 for guix-devel@gnu.org; Thu, 26 Mar 2015 17:14:30 -0400 In-Reply-To: <87twx7okgn.fsf@netris.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mark H Weaver Cc: guix-devel Mark H Weaver writes: > When reading this the first time, somehow I managed to miss the fact > that users will have to set OPENBLAS_CORETYPE to their CPU type. Does > that mean that openblas is unable to detect the CPU type automatically? > What does it do if OPENBLAS_CORETYPE is unset? > > Will we have to set it during the build of packages that use openblas, > such as Julia? It appears that this is not necessary. I downloaded the OpenBLAS substitute from hydra and built Julia locally on my notebook. Julia runs without problems. It appears that OpenBLAS does detect the CPU type automatically. (There is a problem with our Julia package, which made me build Julia myself. Also seems to be related to CPU tuning. Passing a make-flag to force a generic build should fix this.) ~~ Ricardo