2018-02-24 02:57:57 +01:00
|
|
|
#
|
|
|
|
# spec file for package patterns-hpc
|
|
|
|
#
|
2022-01-31 11:58:08 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2018-02-24 02:57:57 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-03-28 12:33:59 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-02-24 02:57:57 +01:00
|
|
|
#
|
|
|
|
|
2018-03-02 16:05:48 +01:00
|
|
|
|
2018-02-26 11:17:45 +01:00
|
|
|
Name: patterns-hpc
|
2019-02-22 10:21:04 +01:00
|
|
|
Version: 20190218
|
2018-02-24 02:57:57 +01:00
|
|
|
Release: 0
|
2018-03-26 18:55:09 +02:00
|
|
|
Summary: Source Package for HPC Patterns
|
2018-02-24 02:57:57 +01:00
|
|
|
License: MIT
|
2018-02-24 18:39:47 +01:00
|
|
|
Group: Metapackages
|
2020-03-18 17:42:50 +01:00
|
|
|
URL: https://github.com/openSUSE/patterns
|
2018-02-24 02:57:57 +01:00
|
|
|
Source0: %{name}-rpmlintrc
|
2018-02-24 18:39:47 +01:00
|
|
|
Source1: library-inc.txt
|
|
|
|
Source2: devel-inc.txt
|
2018-02-24 02:57:57 +01:00
|
|
|
BuildRequires: patterns-rpm-macros
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2018-02-24 18:39:47 +01:00
|
|
|
ExclusiveArch: x86_64 aarch64
|
2018-02-24 02:57:57 +01:00
|
|
|
|
|
|
|
%description
|
2022-01-31 11:58:08 +01:00
|
|
|
This is an internal package that is used to create the patterns as part of
|
2018-03-26 19:21:03 +02:00
|
|
|
the installation source setup. Installation of this package does not make
|
|
|
|
sense.
|
|
|
|
This particular package contains all the HPC related patterns.
|
2018-02-24 02:57:57 +01:00
|
|
|
|
|
|
|
|
2022-01-31 11:58:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
2022-04-29 11:19:14 +02:00
|
|
|
|
2018-02-26 10:54:46 +01:00
|
|
|
%package compute_node
|
2018-02-24 02:57:57 +01:00
|
|
|
%pattern_serverfunctions
|
2018-03-26 18:55:09 +02:00
|
|
|
Summary: HPC Basic Compute Node
|
2018-03-02 16:05:48 +01:00
|
|
|
Group: Metapackages
|
2018-03-26 14:04:37 +02:00
|
|
|
Provides: pattern() = hpc_compute_node
|
2018-02-24 18:39:47 +01:00
|
|
|
Provides: pattern-icon() = pattern-generic
|
2018-03-26 12:27:27 +02:00
|
|
|
Provides: pattern-visible()
|
|
|
|
|
2018-02-24 02:57:57 +01:00
|
|
|
Requires: nfs-client
|
|
|
|
Requires: openssh
|
2018-04-04 11:35:53 +02:00
|
|
|
Requires: sudo
|
2020-04-17 09:13:31 +02:00
|
|
|
# Ping is useful on compute nodes (bsc#1169484)
|
|
|
|
Requires: iputils
|
2018-02-24 02:57:57 +01:00
|
|
|
|
2018-03-02 16:05:48 +01:00
|
|
|
Recommends: less
|
|
|
|
Recommends: mrsh
|
2018-04-13 15:50:29 +02:00
|
|
|
Recommends: mrsh-server
|
2018-02-24 02:57:57 +01:00
|
|
|
Recommends: nss_ldap
|
2022-01-31 11:58:08 +01:00
|
|
|
Recommends: ntp
|
|
|
|
Recommends: pdsh
|
|
|
|
Recommends: rsync
|
|
|
|
Recommends: salt-minion
|
|
|
|
Recommends: slurm-node
|
|
|
|
Recommends: vim
|
|
|
|
Recommends: wget
|
|
|
|
Recommends: ypbind
|
2018-03-02 16:05:48 +01:00
|
|
|
# python 2.7 deps
|
2018-02-24 02:57:57 +01:00
|
|
|
Recommends: ganglia-gmond
|
|
|
|
Recommends: genders
|
2018-03-02 16:05:48 +01:00
|
|
|
Recommends: perl-genders
|
2018-02-24 02:57:57 +01:00
|
|
|
|
2018-02-26 10:54:46 +01:00
|
|
|
%description compute_node
|
2022-01-31 11:58:08 +01:00
|
|
|
A compute node comprises of a minimal software image and mainly runs simulation programs. Services on this node should be reduced to a bare minimum and the node *must* be installed in a automatic manner.
|
2020-04-17 09:13:31 +02:00
|
|
|
The pattern 'HPC Modularized libraries' should also be installed.
|
2018-02-24 02:57:57 +01:00
|
|
|
|
2018-02-26 10:54:46 +01:00
|
|
|
%files compute_node
|
2018-02-24 18:39:47 +01:00
|
|
|
%dir %{_defaultdocdir}/patterns
|
2018-03-15 08:47:31 +01:00
|
|
|
%{_defaultdocdir}/patterns/patterns-hpc-compute_node.txt
|
2018-02-24 18:39:47 +01:00
|
|
|
|
2018-02-24 02:57:57 +01:00
|
|
|
################################################################################
|
|
|
|
|
2018-02-24 18:39:47 +01:00
|
|
|
%package libraries
|
2018-02-24 02:57:57 +01:00
|
|
|
%pattern_serverfunctions
|
2020-04-17 09:13:31 +02:00
|
|
|
Summary: HPC Modularized Libraries
|
2018-03-02 16:05:48 +01:00
|
|
|
Group: Metapackages
|
2018-03-26 14:04:37 +02:00
|
|
|
Provides: pattern() = hpc_libraries
|
2018-02-24 18:39:47 +01:00
|
|
|
Provides: pattern-icon() = pattern-generic
|
2018-02-24 02:57:57 +01:00
|
|
|
Provides: pattern-order() = 2030
|
|
|
|
Provides: pattern-visible()
|
2018-03-26 18:55:09 +02:00
|
|
|
Requires: pattern() = hpc_compute_node
|
2018-02-24 02:57:57 +01:00
|
|
|
|
|
|
|
Requires: lua-lmod
|
2018-02-24 18:39:47 +01:00
|
|
|
%include %{SOURCE1}
|
|
|
|
|
|
|
|
%description libraries
|
2018-04-16 17:10:28 +02:00
|
|
|
This package provides all the modularized libraries so that they can be used in an HPC environment. These libraries allow to install several MPI flavors in parallel.
|
2020-04-17 09:13:31 +02:00
|
|
|
In order to use these libraries one needs to load them via the module command first.
|
2018-02-24 18:39:47 +01:00
|
|
|
|
|
|
|
%files libraries
|
|
|
|
%dir %{_defaultdocdir}/patterns
|
2018-02-26 16:12:28 +01:00
|
|
|
%{_defaultdocdir}/patterns/patterns-hpc-libraries.txt
|
2018-02-24 18:39:47 +01:00
|
|
|
|
|
|
|
################################################################################
|
2018-02-26 10:54:46 +01:00
|
|
|
%package development_node
|
2018-03-26 12:27:27 +02:00
|
|
|
%pattern_development
|
2018-03-26 18:55:09 +02:00
|
|
|
Summary: HPC Development Packages
|
2018-03-02 16:05:48 +01:00
|
|
|
Group: Metapackages
|
2018-03-26 14:04:37 +02:00
|
|
|
Provides: pattern() = hpc_development_node
|
2018-02-24 18:39:47 +01:00
|
|
|
Provides: pattern-icon() = pattern-basis-devel
|
2018-02-24 02:57:57 +01:00
|
|
|
Provides: pattern-order() = 2040
|
|
|
|
Provides: pattern-visible()
|
2018-03-26 14:04:37 +02:00
|
|
|
Requires: pattern() = hpc_compute_node
|
|
|
|
Requires: pattern() = hpc_libraries
|
2022-01-31 11:58:08 +01:00
|
|
|
Recommends: python3-devel
|
2020-03-18 17:42:50 +01:00
|
|
|
Recommends: pattern() = devel_C_C++
|
|
|
|
Recommends: pattern() = devel_basis
|
|
|
|
Recommends: pattern() = devel_perl
|
|
|
|
Recommends: pattern() = devel_python3
|
2018-02-26 12:29:18 +01:00
|
|
|
Requires: gnu-compilers-hpc-devel
|
2018-03-02 16:05:48 +01:00
|
|
|
Requires: lua-lmod
|
2020-04-17 09:13:31 +02:00
|
|
|
# Ping is useful on compute nodes (bsc#1169484)
|
|
|
|
Requires: iputils
|
2018-08-24 09:28:58 +02:00
|
|
|
|
|
|
|
# recommend additional development tools
|
|
|
|
Recommends: cmake
|
2018-05-14 15:18:50 +02:00
|
|
|
Recommends: gnuplot
|
|
|
|
Recommends: gnuplot-doc
|
2018-08-24 09:28:58 +02:00
|
|
|
# include all the modularized stuff
|
2018-02-24 18:39:47 +01:00
|
|
|
%include %{SOURCE2}
|
|
|
|
|
2018-02-26 10:54:46 +01:00
|
|
|
%description development_node
|
2018-03-26 19:21:03 +02:00
|
|
|
This package provides all the relevant packages for developing HPC applications.
|
2020-04-17 09:13:31 +02:00
|
|
|
It depends on the pattern 'HPC Modularized Libraries'. In addition it includes the GNU compilers and the relevant management packages.
|
2018-02-24 18:39:47 +01:00
|
|
|
|
2018-02-26 10:54:46 +01:00
|
|
|
%files development_node
|
2018-02-24 18:39:47 +01:00
|
|
|
%dir %{_defaultdocdir}/patterns
|
2018-03-15 08:47:31 +01:00
|
|
|
%{_defaultdocdir}/patterns/patterns-hpc-development_node.txt
|
2018-02-24 02:57:57 +01:00
|
|
|
|
2018-04-13 15:50:29 +02:00
|
|
|
################################################################################
|
|
|
|
%package workload_server
|
|
|
|
%pattern_serverfunctions
|
|
|
|
Summary: HPC Workload Manager
|
|
|
|
Group: Metapackages
|
2018-04-20 15:31:57 +02:00
|
|
|
Provides: pattern() = hpc_workload_server
|
|
|
|
Provides: pattern-icon() = pattern-generic
|
|
|
|
Provides: pattern-visible()
|
|
|
|
|
2020-04-17 09:13:31 +02:00
|
|
|
Requires: slurm
|
|
|
|
Requires: slurm-slurmdbd
|
|
|
|
# Ping is useful on compute nodes (bsc#1169484)
|
|
|
|
Requires: iputils
|
2018-04-13 15:50:29 +02:00
|
|
|
Suggests: mariadb
|
|
|
|
|
|
|
|
%description workload_server
|
2022-01-31 11:58:08 +01:00
|
|
|
This package provides all the relevant packages for running the central server
|
2018-04-16 17:18:01 +02:00
|
|
|
component of the slurm workload manager.
|
2018-04-13 15:50:29 +02:00
|
|
|
|
|
|
|
%files workload_server
|
|
|
|
%dir %{_defaultdocdir}/patterns
|
|
|
|
%{_defaultdocdir}/patterns/patterns-hpc-workload_server.txt
|
|
|
|
|
2018-02-24 02:57:57 +01:00
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2018-02-24 18:39:47 +01:00
|
|
|
mkdir -p "%{buildroot}%{_defaultdocdir}/patterns"
|
2018-04-13 15:50:29 +02:00
|
|
|
for pack in patterns-hpc-compute_node patterns-hpc-libraries \
|
|
|
|
patterns-hpc-workload_server patterns-hpc-development_node; do
|
2018-02-24 18:39:47 +01:00
|
|
|
echo "This file marks the pattern $pack in version %{version} to be installed." \
|
|
|
|
>"%{buildroot}%{_defaultdocdir}/patterns/${pack}.txt"
|
2018-02-24 02:57:57 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
%changelog
|