pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/parallel/slurm-wlm parallel/slurm-wlm: im...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45b66c0acae6
branches:  trunk
changeset: 306620:45b66c0acae6
user:      bacon <bacon%pkgsrc.org@localhost>
date:      Sun Apr 22 21:31:09 2018 +0000
description:
parallel/slurm-wlm: import slurm-wlm-17.11.5

SLURM is an open-source resource manager designed for Linux clusters of
all sizes. It provides three key functions. First it allocates exclusive
and/or non-exclusive access to resources (computer nodes) to users for some
duration of time so they can perform work. Second, it provides a framework
for starting, executing, and monitoring work (typically a parallel job) on
a set of allocated nodes. Finally, it arbitrates contention for resources
by managing a queue of pending work.

Renamed from parallel/slurm.

OK wiz@

diffstat:

 parallel/slurm-wlm/DESCR                                                        |    7 +
 parallel/slurm-wlm/Makefile                                                     |   91 +
 parallel/slurm-wlm/PLIST                                                        |  506 ++++++++++
 parallel/slurm-wlm/PLIST.Linux                                                  |    2 +
 parallel/slurm-wlm/distinfo                                                     |   14 +
 parallel/slurm-wlm/files/linux-slurm-enable                                     |   64 +
 parallel/slurm-wlm/files/slurmctld.sh                                           |   15 +
 parallel/slurm-wlm/files/slurmd.sh                                              |   17 +
 parallel/slurm-wlm/patches/patch-etc_init.d.slurm.in                            |   16 +
 parallel/slurm-wlm/patches/patch-src_plugins_task_cgroup_task__cgroup__memory.c |   16 +
 parallel/slurm-wlm/patches/patch-src_slurmd_common_task__plugin.c               |   30 +
 parallel/slurm-wlm/patches/patch-src_slurmd_common_task__plugin.h               |   23 +
 parallel/slurm-wlm/patches/patch-src_slurmd_slurmd_slurmd.c                     |   29 +
 parallel/slurm-wlm/patches/patch-src_slurmd_slurmd_slurmd.h                     |   23 +
 parallel/slurm-wlm/patches/patch-src_slurmd_slurmstepd_io.c                     |   14 +
 parallel/slurm-wlm/patches/patch-src_slurmd_slurmstepd_task.c                   |   25 +
 16 files changed, 892 insertions(+), 0 deletions(-)

diffs (truncated from 956 to 300 lines):

diff -r 6522471ba48e -r 45b66c0acae6 parallel/slurm-wlm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/slurm-wlm/DESCR  Sun Apr 22 21:31:09 2018 +0000
@@ -0,0 +1,7 @@
+SLURM is an open-source resource manager designed for Linux clusters of
+all sizes. It provides three key functions. First it allocates exclusive
+and/or non-exclusive access to resources (computer nodes) to users for some
+duration of time so they can perform work. Second, it provides a framework
+for starting, executing, and monitoring work (typically a parallel job) on
+a set of allocated nodes. Finally, it arbitrates contention for resources
+by managing a queue of pending work.
diff -r 6522471ba48e -r 45b66c0acae6 parallel/slurm-wlm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/slurm-wlm/Makefile       Sun Apr 22 21:31:09 2018 +0000
@@ -0,0 +1,91 @@
+# $NetBSD: Makefile,v 1.1 2018/04/22 21:31:09 bacon Exp $
+
+DISTNAME=      slurm-17.11.5
+PKGNAME=       slurm-wlm-17.11.5
+CATEGORIES=    parallel
+MASTER_SITES=  http://www.schedmd.com/download/archive/
+MASTER_SITES+= http://www.schedmd.com/download/latest/
+MASTER_SITES+= http://www.schedmd.com/download/development/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    bacon%NetBSD.org@localhost
+HOMEPAGE=      http://www.schedmd.com/
+COMMENT=       Simple Linux Utility for Resource Management
+
+LICENSE=       gnu-gpl-v2
+
+BUILD_DEPENDS+=        libtool-base-[0-9]*:../../devel/libtool-base
+BUILD_DEPENDS+=        man2html-[0-9]*:../../textproc/man2html
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_LIBTOOL=   yes
+USE_TOOLS+=    bash perl pkg-config
+
+CONFIG_SHELL=          bash
+CONFIGURE_ARGS+=       --bindir=${PREFIX}/bin
+CONFIGURE_ARGS+=       --htmldir=${PREFIX}/share/doc/${PKGNAME_NOREV}/html
+CONFIGURE_ARGS+=       --with-munge=${BUILDLINK_PREFIX.munge}
+CONFIGURE_ARGS+=       --with-hwloc=${PREFIX}
+CONFIGURE_ARGS+=       --with-json=${PREFIX}
+CONFIGURE_ARGS+=       --with-libssh2=${PREFIX}
+
+LDFLAGS+=              -llz4
+
+REPLACE_PYTHON=                doc/html/shtml2html.py
+REPLACE_PYTHON+=       doc/man/man2html.py
+REPLACE_PYTHON+=       testsuite/expect/regression.py
+REPLACE_PYTHON+=       testsuite/expect/driveregress.py
+REPLACE_PYTHON+=       contribs/cray/csm/slurmconfgen_smw.py
+
+PKG_GROUPS=            slurm
+PKG_USERS=             slurm:slurm
+
+PKG_GECOS.slurm=       SLURM user
+PKG_SHELL.slurm=       ${NOLOGIN}
+
+RCD_SCRIPTS+=          slurmd slurmctld
+
+SUBST_CLASSES+=                linuxinit
+SUBST_STAGE.linuxinit= post-patch
+SUBST_FILES.linuxinit= etc/init.d.slurm.in
+SUBST_SED.linuxinit=   -e 's|^exec_prefix=|&${PREFIX}|'
+SUBST_SED.linuxinit+=  -e 's|^prefix=|&${PREFIX}|'
+SUBST_SED.linuxinit+=  -e 's|@bindir@|$${exec_prefix}/bin|'
+SUBST_SED.linuxinit+=  -e 's|@sbindir@|$${exec_prefix}/sbin|'
+SUBST_SED.linuxinit+=  -e 's|@libdir@|$${exec_prefix}/lib|'
+SUBST_SED.linuxinit+=  -e 's|@sysconfdir@|$${prefix}/etc|'
+
+# Configure flag to disable gtk does not work, so set an impossible requirement
+SUBST_CLASSES+=                gtk
+SUBST_STAGE.gtk=       post-patch
+SUBST_SED.gtk=         -e 's|min_gtk_version=.*|min_gtk_version=2000.0.0|'
+SUBST_FILES.gtk=       configure
+
+SUBST_CLASSES+=                make-ex
+SUBST_STAGE.make-ex=   post-install
+SUBST_FILES.make-ex=   etc/Makefile
+SUBST_SED.make-ex=     -e 's|${WRKDIR}|<build-prefix>|g'
+
+INSTALLATION_DIRS+=    share/examples/slurm
+
+post-install:
+       ${RM} -f ${WRKSRC}/etc/init.d.slurm.in.orig
+       ${INSTALL_DATA} ${WRKSRC}/etc/* ${DESTDIR}${PREFIX}/share/examples/slurm
+
+.include "../../www/curl/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+.include "../../security/munge/buildlink3.mk" # optional
+.include "../../parallel/hwloc/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/hdf5/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../textproc/json-c/buildlink3.mk"
+.include "../../security/libssh2/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6522471ba48e -r 45b66c0acae6 parallel/slurm-wlm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/slurm-wlm/PLIST  Sun Apr 22 21:31:09 2018 +0000
@@ -0,0 +1,506 @@
+@comment $NetBSD: PLIST,v 1.1 2018/04/22 21:31:09 bacon Exp $
+bin/sacct
+bin/sacctmgr
+bin/salloc
+bin/sattach
+bin/sbatch
+bin/sbcast
+bin/scancel
+bin/scontrol
+bin/sdiag
+bin/sh5util
+bin/sinfo
+bin/smap
+bin/sprio
+bin/squeue
+bin/sreport
+bin/srun
+bin/sshare
+bin/sstat
+bin/strigger
+include/slurm/pmi.h
+include/slurm/slurm.h
+include/slurm/slurm_errno.h
+include/slurm/slurmdb.h
+include/slurm/smd_ns.h
+include/slurm/spank.h
+lib/libpmi.la
+lib/libslurm.la
+lib/libslurmdb.la
+lib/slurm/accounting_storage_filetxt.la
+lib/slurm/accounting_storage_mysql.la
+lib/slurm/accounting_storage_none.la
+lib/slurm/accounting_storage_slurmdbd.la
+lib/slurm/acct_gather_energy_cray.la
+lib/slurm/acct_gather_energy_ibmaem.la
+lib/slurm/acct_gather_energy_none.la
+lib/slurm/acct_gather_energy_rapl.la
+lib/slurm/acct_gather_filesystem_lustre.la
+lib/slurm/acct_gather_filesystem_none.la
+lib/slurm/acct_gather_interconnect_none.la
+lib/slurm/acct_gather_profile_hdf5.la
+lib/slurm/acct_gather_profile_none.la
+lib/slurm/auth_munge.la
+lib/slurm/auth_none.la
+lib/slurm/burst_buffer_cray.la
+lib/slurm/burst_buffer_generic.la
+lib/slurm/checkpoint_none.la
+lib/slurm/checkpoint_ompi.la
+lib/slurm/core_spec_cray.la
+lib/slurm/core_spec_none.la
+lib/slurm/crypto_munge.la
+lib/slurm/crypto_openssl.la
+lib/slurm/ext_sensors_none.la
+lib/slurm/gres_gpu.la
+lib/slurm/gres_mic.la
+lib/slurm/gres_nic.la
+lib/slurm/job_container_cncu.la
+lib/slurm/job_container_none.la
+lib/slurm/job_submit_all_partitions.la
+lib/slurm/job_submit_cray.la
+lib/slurm/job_submit_defaults.la
+lib/slurm/job_submit_logging.la
+lib/slurm/job_submit_lua.la
+lib/slurm/job_submit_partition.la
+lib/slurm/job_submit_pbs.la
+lib/slurm/job_submit_require_timelimit.la
+lib/slurm/job_submit_throttle.la
+lib/slurm/jobacct_gather_cgroup.la
+lib/slurm/jobacct_gather_linux.la
+lib/slurm/jobacct_gather_none.la
+lib/slurm/jobcomp_elasticsearch.la
+lib/slurm/jobcomp_filetxt.la
+lib/slurm/jobcomp_mysql.la
+lib/slurm/jobcomp_none.la
+lib/slurm/jobcomp_script.la
+lib/slurm/launch_slurm.la
+lib/slurm/layouts_power_cpufreq.la
+lib/slurm/layouts_power_default.la
+lib/slurm/layouts_unit_default.la
+lib/slurm/libslurmfull.la
+lib/slurm/mcs_account.la
+lib/slurm/mcs_group.la
+lib/slurm/mcs_none.la
+lib/slurm/mcs_user.la
+lib/slurm/mpi_none.la
+lib/slurm/mpi_openmpi.la
+lib/slurm/mpi_pmi2.la
+lib/slurm/node_features_knl_cray.la
+lib/slurm/node_features_knl_generic.la
+lib/slurm/power_cray.la
+lib/slurm/power_none.la
+lib/slurm/preempt_job_prio.la
+lib/slurm/preempt_none.la
+lib/slurm/preempt_partition_prio.la
+lib/slurm/preempt_qos.la
+lib/slurm/priority_basic.la
+lib/slurm/priority_multifactor.la
+lib/slurm/proctrack_cgroup.la
+lib/slurm/proctrack_linuxproc.la
+lib/slurm/proctrack_lua.la
+lib/slurm/proctrack_pgid.la
+lib/slurm/route_default.la
+lib/slurm/route_topology.la
+lib/slurm/sched_backfill.la
+lib/slurm/sched_builtin.la
+lib/slurm/sched_hold.la
+lib/slurm/select_alps.la
+lib/slurm/select_cons_res.la
+lib/slurm/select_cray.la
+lib/slurm/select_linear.la
+lib/slurm/select_serial.la
+lib/slurm/slurmctld_nonstop.la
+lib/slurm/spank_pbs.la
+lib/slurm/src/sattach/sattach.wrapper.c
+lib/slurm/src/srun/srun.wrapper.c
+lib/slurm/switch_cray.la
+lib/slurm/switch_generic.la
+lib/slurm/switch_none.la
+lib/slurm/task_cgroup.la
+lib/slurm/task_cray.la
+lib/slurm/task_none.la
+lib/slurm/topology_3d_torus.la
+lib/slurm/topology_hypercube.la
+lib/slurm/topology_node_rank.la
+lib/slurm/topology_none.la
+lib/slurm/topology_tree.la
+man/man1/sacct.1
+man/man1/sacctmgr.1
+man/man1/salloc.1
+man/man1/sattach.1
+man/man1/sbatch.1
+man/man1/sbcast.1
+man/man1/scancel.1
+man/man1/scontrol.1
+man/man1/sdiag.1
+man/man1/sh5util.1
+man/man1/sinfo.1
+man/man1/slurm.1
+man/man1/smap.1
+man/man1/sprio.1
+man/man1/squeue.1
+man/man1/sreport.1
+man/man1/srun.1
+man/man1/sshare.1
+man/man1/sstat.1
+man/man1/strigger.1
+man/man3/slurm_allocate_pack_job_blocking.3
+man/man3/slurm_allocate_resources.3
+man/man3/slurm_allocate_resources_blocking.3
+man/man3/slurm_allocation_lookup.3
+man/man3/slurm_allocation_msg_thr_create.3
+man/man3/slurm_allocation_msg_thr_destroy.3
+man/man3/slurm_api_version.3
+man/man3/slurm_checkpoint.3
+man/man3/slurm_checkpoint_able.3
+man/man3/slurm_checkpoint_complete.3
+man/man3/slurm_checkpoint_create.3
+man/man3/slurm_checkpoint_disable.3
+man/man3/slurm_checkpoint_enable.3
+man/man3/slurm_checkpoint_error.3
+man/man3/slurm_checkpoint_failed.3
+man/man3/slurm_checkpoint_restart.3
+man/man3/slurm_checkpoint_task_complete.3
+man/man3/slurm_checkpoint_tasks.3
+man/man3/slurm_checkpoint_vacate.3
+man/man3/slurm_clear_trigger.3
+man/man3/slurm_complete_job.3
+man/man3/slurm_confirm_allocation.3
+man/man3/slurm_create_partition.3
+man/man3/slurm_create_reservation.3
+man/man3/slurm_delete_partition.3
+man/man3/slurm_delete_reservation.3
+man/man3/slurm_free_ctl_conf.3
+man/man3/slurm_free_front_end_info_msg.3
+man/man3/slurm_free_job_alloc_info_response_msg.3
+man/man3/slurm_free_job_array_resp.3
+man/man3/slurm_free_job_info_msg.3
+man/man3/slurm_free_job_step_create_response_msg.3
+man/man3/slurm_free_job_step_info_response_msg.3
+man/man3/slurm_free_node_info.3
+man/man3/slurm_free_node_info_msg.3
+man/man3/slurm_free_partition_info.3
+man/man3/slurm_free_partition_info_msg.3
+man/man3/slurm_free_reservation_info_msg.3
+man/man3/slurm_free_resource_allocation_response_msg.3
+man/man3/slurm_free_slurmd_status.3
+man/man3/slurm_free_submit_response_response_msg.3
+man/man3/slurm_free_trigger_msg.3
+man/man3/slurm_get_end_time.3
+man/man3/slurm_get_errno.3



Home | Main Index | Thread Index | Old Index