2018-02-24 02:57:57 +01:00
|
|
|
#
|
|
|
|
# spec file for package patterns-hpc
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2018-02-26 11:17:45 +01:00
|
|
|
Name: patterns-hpc
|
2018-02-24 18:39:47 +01:00
|
|
|
Version: 20180224
|
2018-02-24 02:57:57 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Patterns for Installation (HPC patterns)
|
|
|
|
License: MIT
|
2018-02-24 18:39:47 +01:00
|
|
|
Group: Metapackages
|
2018-02-24 02:57:57 +01:00
|
|
|
Url: https://github.com/openSUSE/patterns
|
|
|
|
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
|
|
|
|
This is an internal package that is used to create the patterns as part
|
|
|
|
of the installation source setup. Installation of this package does
|
|
|
|
not make sense.
|
|
|
|
|
2018-02-24 18:39:47 +01:00
|
|
|
This particular package contains all the HPC related patterns
|
2018-02-24 02:57:57 +01:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
|
2018-02-26 10:54:46 +01:00
|
|
|
%package compute_node
|
2018-02-24 02:57:57 +01:00
|
|
|
%pattern_serverfunctions
|
|
|
|
Summary: HPC compute node
|
2018-02-24 18:39:47 +01:00
|
|
|
Provides: Metapackages
|
2018-02-26 10:54:46 +01:00
|
|
|
Provides: hpc_compute_node
|
|
|
|
Provides: pattern() = hpc_compute_node
|
2018-02-24 18:39:47 +01:00
|
|
|
Provides: pattern-icon() = pattern-generic
|
2018-02-24 02:57:57 +01:00
|
|
|
Provides: pattern-order() = 2010
|
|
|
|
Provides: pattern-visible()
|
|
|
|
Requires: pattern() = base
|
|
|
|
|
|
|
|
Requires: nfs-client
|
|
|
|
Requires: openssh
|
|
|
|
Requires: salt-minion
|
|
|
|
|
|
|
|
Recommends: ntp
|
2018-02-26 12:29:18 +01:00
|
|
|
%if 0%{?is_opensuse}
|
2018-02-24 02:57:57 +01:00
|
|
|
Recommends: nss_ldap
|
2018-02-26 12:29:18 +01:00
|
|
|
%endif
|
2018-02-24 02:57:57 +01:00
|
|
|
Recommends: ganglia-gmond
|
|
|
|
Recommends: genders
|
|
|
|
|
2018-02-26 10:54:46 +01:00
|
|
|
%description compute_node
|
2018-02-24 02:57:57 +01:00
|
|
|
A compute node has a minmal software image and mainly runs simultion programs. Services on this node should be reduced to a bare minimum and the node *must* be installed in a automatic manner. A basset of numerical libraries should also be installed.
|
|
|
|
|
2018-02-26 10:54:46 +01:00
|
|
|
%files compute_node
|
2018-02-24 18:39:47 +01:00
|
|
|
%dir %{_defaultdocdir}/patterns
|
2018-02-26 16:12:28 +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
|
|
|
|
Summary: HPC modularized libraries
|
2018-02-24 18:39:47 +01:00
|
|
|
Provides: Metapackages
|
2018-02-26 10:54:46 +01:00
|
|
|
Provides: hpc_libraries
|
|
|
|
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-02-26 11:36:01 +01: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
|
|
|
|
This package provides all the modularized libraries so that they can be used in a hpc environment. Especially these libariries allows you to install a mpi enabled libarary for different mpi libraries.
|
|
|
|
|
|
|
|
%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-02-24 02:57:57 +01:00
|
|
|
%pattern_serverfunctions
|
|
|
|
Summary: Packages needed to be able to develop HPC Apps
|
2018-02-24 18:39:47 +01:00
|
|
|
Provides: Metapackages
|
2018-02-26 10:54:46 +01:00
|
|
|
Provides: hpc_development_node
|
|
|
|
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-02-26 11:36:01 +01:00
|
|
|
Requires: pattern() = hpc_compute_node
|
2018-02-26 16:12:28 +01:00
|
|
|
Requires: pattern() = hpc_libraries
|
2018-02-26 12:29:18 +01:00
|
|
|
%if 0%{?is_opensuse}
|
2018-02-24 02:57:57 +01:00
|
|
|
Requires: pattern() = devel_C_C++
|
|
|
|
Requires: pattern() = devel_basic
|
|
|
|
Requires: pattern() = devel_perl
|
|
|
|
Requires: pattern() = devel_python3
|
2018-02-26 12:29:18 +01:00
|
|
|
%else
|
|
|
|
Requires: binutils
|
|
|
|
Requires: make
|
|
|
|
Requires: cmake
|
|
|
|
Requires: m4
|
|
|
|
Requires: autoconf
|
|
|
|
Requires: automake
|
|
|
|
Requires: libtool
|
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: libstdc++-devel
|
|
|
|
Requires: glibc-info
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: binutils
|
|
|
|
Requires: bison
|
|
|
|
Requires: flex
|
|
|
|
Requires: patch
|
|
|
|
Recommends: git
|
|
|
|
Recommends: python3
|
|
|
|
Recommends: python3-devel
|
|
|
|
%endif
|
|
|
|
Requires: lua-lmod
|
|
|
|
Requires: gnu-compilers-hpc-devel
|
2018-02-24 18:39:47 +01:00
|
|
|
%include %{SOURCE2}
|
|
|
|
|
2018-02-26 10:54:46 +01:00
|
|
|
%description development_node
|
2018-02-24 02:57:57 +01:00
|
|
|
This package provides all the relevant packages for developing HPC applications. It depends on the hpc-compute node and adds additionally the compilers and includes also the relevant managment 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-02-26 16:12:28 +01:00
|
|
|
%{_defaultdocdir}/patterns/patterns-hpc-development-node.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-02-26 16:12:28 +01:00
|
|
|
for pack in patterns-hpc-compute-node patterns-hpc-libraries 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
|