all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Bavier <ericbavier@gmail.com>
To: Federico Beffa <beffa@ieee.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: forcing local build from a package definition
Date: Fri, 24 Oct 2014 13:57:56 -0500	[thread overview]
Message-ID: <87ppdhxpl7.fsf@gmail.com> (raw)
In-Reply-To: <CAKrPhPNSBWEHNee=RxQg9J1MXObadt2k6D8jJRowNOSO7M0K3g@mail.gmail.com>


Federico Beffa writes:

> Hi,
>
> I'm preparing a package for ATLAS (Automatically Tuned Linear Algebra
> Software).  The library provides functions from LAPACK which are automatically
> speed optimized for the hardware on which the library is built (the
> optimization takes place during the build phase).

ATLAS provides only a handful of the LAPACK routines.  The primary
focus is on BLAS routines.  In order for ATLAS to provide a full lapack
experience, it needs to be configured with the netlib lapack (which is
where our current lapack package comes from).

> My question is the following: is there a way to force a local build from a
> package definition (without having to pass '--no-substitutes' to
> guix)?

I don't think this is necessary...

> If not, what do you think about explicitly stating in the description of the
> package that it MUST be installed with the '--no-substitutes' flag and, if the
> user does not do so, hydra may provide a package which does not run on the
> user hardware?

ATLAS frequently pulls its tuning configuration information from a table
of known values at configuration time.  I think there is also a way to
tell it which architecture it should be built for.

> Most other distributions deliver binary packages which have been compiled for
> a very general CPU.  However, this not satisfactory since it results in a much
> slower library.  Guix is in a nice position to provide a good performance
> version of the library and I think we should do so.

You may be interested in exploring the BLIS library,
https://code.google.com/p/blis/.  It doesn't require build-time
performance-tuning, and often significantly outperforms ATLAS
http://www.cs.utexas.edu/users/flame/pubs/BLISTOMSrev2.pdf

-- 
Eric Bavier

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

  reply	other threads:[~2014-10-24 18:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 16:10 forcing local build from a package definition Federico Beffa
2014-10-24 18:57 ` Eric Bavier [this message]
2014-10-24 21:41   ` Federico Beffa
2014-10-25  6:23   ` Federico Beffa
2014-10-25 22:25     ` Ludovic Courtès
2014-10-26  8:34       ` Federico Beffa
2014-10-26 13:59         ` Ludovic Courtès
2014-10-27 20:28           ` Federico Beffa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppdhxpl7.fsf@gmail.com \
    --to=ericbavier@gmail.com \
    --cc=beffa@ieee.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.