Ana Guerrero 2024-03-17 21:13:53 +00:00 committed by Git OBS Bridge
commit d109807ad7
4 changed files with 65 additions and 104 deletions

View File

@ -5,6 +5,7 @@ Requires: mvapich2-gnu-hpc-devel
Recommends: mvapich2-psm2-gnu-hpc-devel
%endif
Recommends: python3-numpy-gnu-hpc-devel
Recommends: python311-numpy-gnu-hpc-devel
Recommends: hdf5-gnu-hpc-devel
Recommends: hdf5-gnu-mpich-hpc-devel
Recommends: hdf5-gnu-mvapich2-hpc-devel
@ -14,5 +15,46 @@ Recommends: python3-numpy-gnu-hpc-devel
Recommends: mpiP-gnu-mpich-hpc
Recommends: mpiP-gnu-mvapich2-hpc
Recommends: mpiP-gnu-openmpi4-hpc
Recommends: pnetcdf-gnu-mpich-hpc-devel
Recommends: pnetcdf-gnu-mvapich2-hpc-devel
Recommends: pnetcdf-gnu-openmpi4-hpc-devel
Recommends: ptscotch-gnu-mpich-hpc-devel
Recommends: ptscotch-gnu-mvapich2-hpc-devel
Recommends: ocr-gnu-hpc-devel
Recommends: ocr-gnu-mpich-hpc-devel
Recommends: ocr-gnu-mvapich2-hpc-devel
Recommends: ocr-gnu-openmpi4-hpc-devel
Recommends: netcdf-fortran-gnu-hpc-devel
Recommends: netcdf-fortran-gnu-mpich-hpc-devel
Recommends: netcdf-fortran-gnu-mvapich2-hpc-devel
Recommends: netcdf-fortran-gnu-openmpi4-hpc-devel
Recommends: mpiP-gnu-mpich-hpc-devel
Recommends: mpiP-gnu-mvapich2-hpc-devel
Recommends: mpiP-gnu-openmpi4-hpc-devel
Recommends: metis-gnu-hpc-devel
Recommends: fftw3-gnu-hpc-devel
Recommends: fftw3-gnu-mpich-hpc-devel
Recommends: fftw3-gnu-mvapich2-hpc-devel
Recommends: fftw3-gnu-openmpi4-hpc-devel
Recommends: boost-gnu-hpc-devel
Recommends: boost-gnu-mpich-hpc-devel
Recommends: boost-gnu-mpich-hpc-python3
Recommends: boost-gnu-mvapich2-hpc-devel
Recommends: boost-gnu-mvapich2-hpc-python3
Recommends: boost-gnu-openmpi4-hpc-devel
Recommends: boost-gnu-openmpi4-hpc-python3
Recommends: mpitests-mpich-gnu-hpc
Recommends: mpitests-mvapich2-gnu-hpc
Recommends: mpitests-mvapich2-psm2-gnu-hpc
Recommends: mpitests-openmpi4-gnu-hpc
Recommends: libsuperlu-gnu-hpc
Recommends: libHYPRE-gnu-mpich-hpc
Recommends: libHYPRE-gnu-mvapich2-hpc
Recommends: libHYPRE-gnu-openmpi4-hpc
Recommends: libmumps-gnu-mpich-hpc
Recommends: libmumps-gnu-mvapich2-hpc
Recommends: libmumps-gnu-openmpi4-hpc
Recommends: gsl-gnu-hpc-devel
Recommends: netcdf-cxx4-gnu-hpc-tools
Recommends: mvapich2-gnu-hpc-doc

View File

@ -1,5 +1,3 @@
# Ping is useful on compute nodes (bsc#1169484)
Requires: iputils
# Recommend libraries which are in hpc
Recommends: libhdf5-gnu-hpc
Recommends: libhdf5_cpp-gnu-hpc
@ -23,12 +21,14 @@ Recommends: mvapich2-psm2-gnu-hpc
Recommends: libhdf5-gnu-mpich-hpc
Recommends: libhdf5-gnu-mvapich2-hpc
Recommends: libhdf5-gnu-openmpi4-hpc
Recommends: libhdf5-gnu-openmpi5-hpc
Recommends: libhdf5_fortran-gnu-mpich-hpc
Recommends: libhdf5_fortran-gnu-mvapich2-hpc
Recommends: libhdf5_fortran-gnu-openmpi4-hpc
Recommends: libhdf5_hl-gnu-mpich-hpc
Recommends: libhdf5_hl-gnu-mvapich2-hpc
Recommends: libhdf5_hl-gnu-openmpi4-hpc
Recommends: libhdf5_hl-gnu-openmpi5-hpc
Recommends: libhdf5_hl_fortran-gnu-hpc
Recommends: libhdf5_hl_fortran-gnu-mpich-hpc
Recommends: libhdf5_hl_fortran-gnu-mvapich2-hpc
@ -40,4 +40,3 @@ Recommends: papi-hpc
Recommends: imb-gnu-mpich-hpc
Recommends: imb-gnu-mvapich2-hpc
Recommends: imb-gnu-openmpi4-hpc

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Mar 15 11:11:28 UTC 2024 - Christian Goll <cgoll@suse.com>
- removed following node based patterns which were used in the
system roles of the now removed SUSE HPC product (bsc#1221478).
* compute_node as these nodes are now image based
* development_node as this was just a nice name for the
devel_libraries
* workload_server as slurm the workload manager pulls the
recommended packages
-------------------------------------------------------------------
Wed Jan 25 09:18:02 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package patterns-hpc
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,15 +17,15 @@
Name: patterns-hpc
Version: 20190218
Version: 20240315
Release: 0
Summary: Source Package for HPC Patterns
License: MIT
Group: Metapackages
URL: https://github.com/openSUSE/patterns
Source0: %{name}-rpmlintrc
Source1: library-inc.txt
Source2: devel-inc.txt
Source10: patterns-hpc-rpmlintrc
BuildRequires: patterns-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: x86_64 aarch64
@ -40,47 +40,13 @@ This particular package contains all the HPC related patterns.
################################################################################
%package compute_node
%pattern_serverfunctions
Summary: HPC Basic Compute Node
Group: Metapackages
Provides: pattern() = hpc_compute_node
Provides: pattern-icon() = pattern-generic
Provides: pattern-visible()
Requires: nfs-client
Requires: openssh
Requires: sudo
# Ping is useful on compute nodes (bsc#1169484)
Requires: iputils
Recommends: less
Recommends: mrsh
Recommends: mrsh-server
Recommends: nss_ldap
Recommends: ntp
Recommends: pdsh
Recommends: rsync
Recommends: salt-minion
Recommends: slurm-node
Recommends: vim
Recommends: wget
# python 2.7 deps
Recommends: ganglia-gmond
Recommends: genders
Recommends: perl-genders
%description compute_node
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.
The pattern 'HPC Modularized libraries' should also be installed.
%files compute_node
%dir %{_defaultdocdir}/patterns
%{_defaultdocdir}/patterns/patterns-hpc-compute_node.txt
################################################################################
%package libraries
%pattern_serverfunctions
Summary: HPC Modularized Libraries
@ -88,11 +54,12 @@ Group: Metapackages
Provides: pattern() = hpc_libraries
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 2030
Provides: pattern-visible()
Requires: pattern() = hpc_compute_node
Requires: gnu-compilers-hpc-devel
Requires: lua-lmod
%include %{SOURCE1}
%include %{SOURCE2}
%description libraries
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.
@ -102,73 +69,15 @@ In order to use these libraries one needs to load them via the module command fi
%dir %{_defaultdocdir}/patterns
%{_defaultdocdir}/patterns/patterns-hpc-libraries.txt
################################################################################
%package development_node
%pattern_development
Summary: HPC Development Packages
Group: Metapackages
Provides: pattern() = hpc_development_node
Provides: pattern-icon() = pattern-basis-devel
Provides: pattern-order() = 2040
Provides: pattern-visible()
Requires: pattern() = hpc_compute_node
Requires: pattern() = hpc_libraries
Recommends: python3-devel
Recommends: pattern() = devel_C_C++
Recommends: pattern() = devel_basis
Recommends: pattern() = devel_perl
Recommends: pattern() = devel_python3
Requires: gnu-compilers-hpc-devel
Requires: lua-lmod
# Ping is useful on compute nodes (bsc#1169484)
Requires: iputils
# recommend additional development tools
Recommends: cmake
Recommends: gnuplot
Recommends: gnuplot-doc
# include all the modularized stuff
%include %{SOURCE2}
%description development_node
This package provides all the relevant packages for developing HPC applications.
It depends on the pattern 'HPC Modularized Libraries'. In addition it includes the GNU compilers and the relevant management packages.
%files development_node
%dir %{_defaultdocdir}/patterns
%{_defaultdocdir}/patterns/patterns-hpc-development_node.txt
################################################################################
%package workload_server
%pattern_serverfunctions
Summary: HPC Workload Manager
Group: Metapackages
Provides: pattern() = hpc_workload_server
Provides: pattern-icon() = pattern-generic
Provides: pattern-visible()
Requires: slurm
Requires: slurm-slurmdbd
# Ping is useful on compute nodes (bsc#1169484)
Requires: iputils
Suggests: mariadb
%description workload_server
This package provides all the relevant packages for running the central server
component of the slurm workload manager.
%files workload_server
%dir %{_defaultdocdir}/patterns
%{_defaultdocdir}/patterns/patterns-hpc-workload_server.txt
%prep
%build
%install
mkdir -p "%{buildroot}%{_defaultdocdir}/patterns"
for pack in patterns-hpc-compute_node patterns-hpc-libraries \
patterns-hpc-workload_server patterns-hpc-development_node; do
# loop sis odd, but we might want to add more patterns
for pack in patterns-hpc-libraries ; do
echo "This file marks the pattern $pack in version %{version} to be installed." \
>"%{buildroot}%{_defaultdocdir}/patterns/${pack}.txt"
done