Using ghc directly doesn't work out of the box with haskell-basic,
first Rts.h and friends are needed to compile and then libnuma.so
is needed to link.
Add the providers of these files (ghc-dev and devpkg-numa, respectively)
to the bundle.
Closes #929
---
bundles/haskell-basic | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bundles/haskell-basic b/bundles/haskell-basic
index 7a9de395..3a00b19a 100644
--- a/bundles/haskell-basic
+++ b/bundles/haskell-basic
@@ -7,6 +7,7 @@
# stack ends up using gcc, make, xz, perl, libgmp, libffi and zlib
include(c-basic)
include(devpkg-zlib)
+include(devpkg-numa)
include(git)
include(make)
include(p11-kit)
@@ -16,6 +17,7 @@ automake
gcc
gcc-dev
ghc
+ghc-dev
glibc-dev
gmp-dev
ncurses-lib
--
2.25.1
This does fix the issue in #1033 but there is one potential
compatibility issue.
I can understand if this is not of high priority for now but it's worth
mentioning for future
reference.
`profile.x86_64` is installed as `/usr/share/defaults/etc/profile` and
that is sourced by
`~/.bashrc`, which in turn is sourced by `~/.profile`, so this file
would be sourced strict
POSIX compatible shells that doesn't support Bash features.
Notably, (1) `[[` is not supported in POSIX and (2) supported parameter
expansions are
limited. (See
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#t…)
Suppose a user built `dash` and other strict POSIX shells, and made it a
login shell,
upon sourcing `/usr/share/defaults/etc/profile`, error would occur and
`PATH` env
variable won't be set up correctly.
NAS Parallel Benchmarks.
Set of programs to evaluate the performance of parallel computers.
---
bundles/npb | 14 ++++++++++++++
packages.list | 1 +
2 files changed, 15 insertions(+)
create mode 100644 bundles/npb
diff --git a/bundles/npb b/bundles/npb
new file mode 100644
index 00000000..9c81d87c
--- /dev/null
+++ b/bundles/npb
@@ -0,0 +1,14 @@
+# [TITLE]: npb
+# [DESCRIPTION]: NAS Parallel Benchmarks
+# [STATUS]: Active
+# [CAPABILITIES]:
+# [TAGS]: Tools and Utilities
+# [MAINTAINER]: Juro Bystricky <juro.bystricky(a)intel.com>
+
+
+# start of custom additions (edits outside this area will be removed automatically)
+also-add(modules)
+# end of custom additions
+
+# main package
+npb
diff --git a/packages.list b/packages.list
index 661c5b98..fda42fa0 100644
--- a/packages.list
+++ b/packages.list
@@ -431,3 +431,4 @@ vifm # A filemanager for the console with VIM like keybindings and control.
qt5ct # Qt 5 configuration tool independent of desktops
rlwrap # Another readline wrapper
pcs # No detailed summary available
+npb # NAS Parallel Benchmarks
--
2.25.1
________________________________________
> Improving discoverability is something I am interested in. For that
> though I'd like to make more use of swupd's alias feature (man
> swupd-alias for more details here) but we haven't really started down
> that path yet.
Would be nice if we could do something like:
$ sudo swupd bundle-list --all --verbose
Where each bundle description would be displayed as well.
> ________________________________________
> From: Douglas, William [william.douglas(a)intel.com]
> Sent: Thursday, February 27, 2020 11:27 AM
> To: Bystricky, Juro
> Cc: dev(a)lists.clearlinux.org
> Subject: Re: [Clr-dev] [PATCH clr-bundles] Add `nas-parallel-benchmarks` bundle.
>
> I'd prefer to keep the bundle name matching the the package name (ala
> make bundle) for this unless this is intended to hold more benchmark
> packages in the future.
>
> On Thu, Feb 27, 2020 at 9:35 AM Juro Bystricky <juro.bystricky(a)intel.com> wrote:
> >
> > Set of programs to evaluate the performance of parallel computers.
> > ---
> > bundles/nas-parallel-benchmarks | 10 ++++++++++
> > 1 file changed, 10 insertions(+)
> > create mode 100644 bundles/nas-parallel-benchmarks
> >
> > diff --git a/bundles/nas-parallel-benchmarks b/bundles/nas-parallel-benchmarks
> > new file mode 100644
> > index 00000000..ee0dee3d
> > --- /dev/null
> > +++ b/bundles/nas-parallel-benchmarks
> > @@ -0,0 +1,10 @@
> > +# [TITLE]: NAS-Parallel-Benchmarks
> > +# [DESCRIPTION]: Set of programs to evaluate the performance of parallel supercomputers
> > +# [STATUS]: Active
> > +# [CAPABILITIES]:
> > +# [TAGS]: Tools and Utilities
> > +# [MAINTAINER]: Juro Bystricky <juro.bystricky(a)intel.com>
> > +
> > +also-add(modules)
> > +npb
> > +
> > --
> > 2.25.1
> > _______________________________________________
> > Dev mailing list -- dev(a)lists.clearlinux.org
> > To unsubscribe send an email to dev-leave(a)lists.clearlinux.org
On Thu, Feb 27, 2020 at 12:04 PM Bystricky, Juro
<juro.bystricky(a)intel.com> wrote:
>
> Thanks William,
> the bundle contains all NAS benchmark programs (MPI + OMP), so no plans to add more.
> I did consider the bundle name "npb", but I assumed it would be more likely a user would search
> for "nas-parallel-benchmarks" than "npb". But I have no strong feelings either way, just that "npb" was
> a bit ambiguous.
Improving discoverability is something I am interested in. For that
though I'd like to make more use of swupd's alias feature (man
swupd-alias for more details here) but we haven't really started down
that path yet.
> I'll send in a new patch, created by "make bundle".
>
> ________________________________________
> From: Douglas, William [william.douglas(a)intel.com]
> Sent: Thursday, February 27, 2020 11:27 AM
> To: Bystricky, Juro
> Cc: dev(a)lists.clearlinux.org
> Subject: Re: [Clr-dev] [PATCH clr-bundles] Add `nas-parallel-benchmarks` bundle.
>
> I'd prefer to keep the bundle name matching the the package name (ala
> make bundle) for this unless this is intended to hold more benchmark
> packages in the future.
>
> On Thu, Feb 27, 2020 at 9:35 AM Juro Bystricky <juro.bystricky(a)intel.com> wrote:
> >
> > Set of programs to evaluate the performance of parallel computers.
> > ---
> > bundles/nas-parallel-benchmarks | 10 ++++++++++
> > 1 file changed, 10 insertions(+)
> > create mode 100644 bundles/nas-parallel-benchmarks
> >
> > diff --git a/bundles/nas-parallel-benchmarks b/bundles/nas-parallel-benchmarks
> > new file mode 100644
> > index 00000000..ee0dee3d
> > --- /dev/null
> > +++ b/bundles/nas-parallel-benchmarks
> > @@ -0,0 +1,10 @@
> > +# [TITLE]: NAS-Parallel-Benchmarks
> > +# [DESCRIPTION]: Set of programs to evaluate the performance of parallel supercomputers
> > +# [STATUS]: Active
> > +# [CAPABILITIES]:
> > +# [TAGS]: Tools and Utilities
> > +# [MAINTAINER]: Juro Bystricky <juro.bystricky(a)intel.com>
> > +
> > +also-add(modules)
> > +npb
> > +
> > --
> > 2.25.1
> > _______________________________________________
> > Dev mailing list -- dev(a)lists.clearlinux.org
> > To unsubscribe send an email to dev-leave(a)lists.clearlinux.org
Thanks William,
the bundle contains all NAS benchmark programs (MPI + OMP), so no plans to add more.
I did consider the bundle name "npb", but I assumed it would be more likely a user would search
for "nas-parallel-benchmarks" than "npb". But I have no strong feelings either way, just that "npb" was
a bit ambiguous.
I'll send in a new patch, created by "make bundle".
________________________________________
From: Douglas, William [william.douglas(a)intel.com]
Sent: Thursday, February 27, 2020 11:27 AM
To: Bystricky, Juro
Cc: dev(a)lists.clearlinux.org
Subject: Re: [Clr-dev] [PATCH clr-bundles] Add `nas-parallel-benchmarks` bundle.
I'd prefer to keep the bundle name matching the the package name (ala
make bundle) for this unless this is intended to hold more benchmark
packages in the future.
On Thu, Feb 27, 2020 at 9:35 AM Juro Bystricky <juro.bystricky(a)intel.com> wrote:
>
> Set of programs to evaluate the performance of parallel computers.
> ---
> bundles/nas-parallel-benchmarks | 10 ++++++++++
> 1 file changed, 10 insertions(+)
> create mode 100644 bundles/nas-parallel-benchmarks
>
> diff --git a/bundles/nas-parallel-benchmarks b/bundles/nas-parallel-benchmarks
> new file mode 100644
> index 00000000..ee0dee3d
> --- /dev/null
> +++ b/bundles/nas-parallel-benchmarks
> @@ -0,0 +1,10 @@
> +# [TITLE]: NAS-Parallel-Benchmarks
> +# [DESCRIPTION]: Set of programs to evaluate the performance of parallel supercomputers
> +# [STATUS]: Active
> +# [CAPABILITIES]:
> +# [TAGS]: Tools and Utilities
> +# [MAINTAINER]: Juro Bystricky <juro.bystricky(a)intel.com>
> +
> +also-add(modules)
> +npb
> +
> --
> 2.25.1
> _______________________________________________
> Dev mailing list -- dev(a)lists.clearlinux.org
> To unsubscribe send an email to dev-leave(a)lists.clearlinux.org
Obviously these should not be required.
---
bundles/vim | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bundles/vim b/bundles/vim
index 032fbb8d..f0c4bdfb 100644
--- a/bundles/vim
+++ b/bundles/vim
@@ -5,8 +5,8 @@
# [TAGS]: Productivity, Developer Tools, Editor
# [MAINTAINER]: William Douglas <william.douglas(a)intel.com>
# Run time requirement as vim is compiled to use libpython
-include(python3-basic)
-include(perl-basic)
+also-add(python3-basic)
+also-add(perl-basic)
ctags
vim
vim-fugitive
--
2.25.1