Gentoo Archives: gentoo-alt

From: Francois Bissey <francois.bissey@×××××××××××××.nz>
To: "gentoo-alt@l.g.o" <gentoo-alt@l.g.o>
Subject: Re: [gentoo-alt] Re: [PREFIX] Bootstrap stable?
Date: Thu, 04 Apr 2019 01:52:04
Message-Id: 42F5C49A-692F-41E0-A531-B0E572E334B4@canterbury.ac.nz
In Reply to: Re: [gentoo-alt] Re: [PREFIX] Bootstrap stable? by Guilherme Amadio
1 Hi,
2
3 As someone who was involved until very recently in installing software
4 on the New Zealand national facility I feel I should take exception to some
5 of these comments.
6 To put things in perspective
7 1) I am using Gentoo since 2003
8 2) I am a regular contributor to the science team and maintain sage-on-gentoo
9 3) I pushed for a while to have prefix working on ppc64 (the hardware was
10 at some time part of the national facility above)
11 4) I have contributed code to spack and help fix some issues with libtool
12 in spack and occasionally suggests fix to some packages.
13
14 Gentoo prefix is awesome but some areas are not as flexible as spack.
15 Mainly because it is designed like a gentoo distro as a single tree
16 install. Everything goes into one prefix.
17 What spack allows you to do (and that is a usual requirement):
18 allow and maintain an unhealthy forest of softwares:
19 1) across several versions
20 2) across various compilers
21 The whole dynamically loadable via “modules”. Each bits in its own bubble.
22 This also has limitation of course.
23 Gentoo has slots that does multiple versions of some software but it is
24 not a universal feature (nor should it be on the point of view of a distro).
25 Basically if you want to reproduce some the scenarios managed by spack you
26 need multiple prefix.
27 That’s not to say spack wouldn’t benefit from a dose of gentoo and vice versa.
28 But some Gentoo features have been voluntarily avoided :(
29
30 Now prefix was very useful to me to offer a base userland on top of SLES 11.1
31 (which couldn’t be updated for various reasons) that was much more recent and
32 feature-full than I would otherwise have had access too. And then I could put
33 something like spack on top if I wanted to.
34
35 François
36
37 > On 4/04/2019, at 07:57, Guilherme Amadio <amadio@g.o> wrote:
38 >
39 > Hi Jon,
40 >
41 >> On 3 Apr 2019, at 12:56, Jon Woodring <woodring@××××.gov> wrote:
42 >>
43 >> Looking at the GSOC, I noticed that it’s mentioned that one of Prefix’s goals is to bring Gentoo to HPC, and actually that’s where I was trying to use Prefix.
44 >>
45 >> I don’t know if you’re familiar with Spack https://spack.io/, but I was exploring using Prefix and portage, because it has a larger community and more features.
46 >
47 > Yes, I’m advocating for using prefix for HEP (at CERN) and HPC in the HSF packaging group,
48 > but I think that they are unfortunately more interested in using spack, even though it
49 > doesn’t seem to be mature enough for what is its intended use. In any case, since you are
50 > from LANL, if your cluster has CVMFS mounted (i.e. /cvmfs/sft.cern.ch), then you can already
51 > use prefix! I have prefix installed in CVMFS, which I discussed at CHEP:
52 > https://indico.cern.ch/event/587955/contributions/2938043/
53 >
54 > Just run /cvmfs/sft.cern.ch/lcg/contrib/gentoo/linux/x86_64/startprefix to get started.
55 >
56 > In principle, there’s nothing preventing you from using ACCEPT_KEYWORDS=‘x86_64’ in your
57 > prefix configuration. It’s just not tried by anyone yet. We all use ~x86_64 for now for
58 > prefix on Linux. On Mac OS X there’s no stable keyword, ~*-macos are the only ones.
59 >
60 > My first talk about prefix for HSF packaging group:
61 > https://indico.cern.ch/event/672745/
62 >
63 > Other related links:
64 > https://hepsoftwarefoundation.org/workinggroups/packaging.html
65 > https://groups.google.com/forum/#!forum/hsf-packaging-wg
66 > https://indico.cern.ch/category/7975/
67 >
68 > Cheers,
69 > -Guilherme

Replies

Subject Author
Re: [gentoo-alt] Re: [PREFIX] Bootstrap stable? Fabian Groffen <grobian@g.o>
Re: [gentoo-alt] Re: [PREFIX] Bootstrap stable? Guilherme Amadio <amadio@g.o>
Re: [gentoo-alt] Re: [PREFIX] Bootstrap stable? Jon Woodring <woodring@××××.gov>