Loading examples/scord-ctl.conf.in +138 Changes for examples/scord-ctl.conf.in: 138 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -35,7 +35,145 @@ config: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/gekkofs.sh stop --workdir {ADHOC_DIRECTORY} expand: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/gekkofs.sh expand --hosts {ADHOC_NODES} shrink: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/gekkofs.sh shrink --hosts {ADHOC_NODES} dataclay: # The default working directory for adhoc instances of this type working_directory: /tmp/dataclay startup: # Specific environment variables that should be set for the adhoc # instance. These will be merged with the environment variables # already set by Slurm. environment: VAR0: value0 VAR1: value1 # The command that `scord-ctl` will use to start an adhoc instance of # this type. The following variables are supported that will be # automatically replaced by scord-ctl if found between curly braces: # * ADHOC_NODES: A comma separated list of valid job hostnames that # can be used to start the adhoc instance. # * ADHOC_DIRECTORY: A unique working directory for each specific # adhoc instance. This directory will be created by scord-ctl under # `working_directory` and automatically removed after the adhoc # instance has been shut down. # * ADHOC_ID: - A unique ID for the adhoc instance. command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/dataclay.sh start --hosts {ADHOC_NODES} --workdir {ADHOC_DIRECTORY} --datadir {ADHOC_DIRECTORY}/data --mountdir {ADHOC_DIRECTORY}/mnt shutdown: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/dataclay.sh stop --workdir {ADHOC_DIRECTORY} expand: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/dataclay.sh expand --hosts {ADHOC_NODES} shrink: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/dataclay.sh shrink --hosts {ADHOC_NODES} expand: # The default working directory for adhoc instances of this type working_directory: /tmp/expand startup: # Specific environment variables that should be set for the adhoc # instance. These will be merged with the environment variables # already set by Slurm. environment: VAR0: value0 VAR1: value1 # The command that `scord-ctl` will use to start an adhoc instance of # this type. The following variables are supported that will be # automatically replaced by scord-ctl if found between curly braces: # * ADHOC_NODES: A comma separated list of valid job hostnames that # can be used to start the adhoc instance. # * ADHOC_DIRECTORY: A unique working directory for each specific # adhoc instance. This directory will be created by scord-ctl under # `working_directory` and automatically removed after the adhoc # instance has been shut down. # * ADHOC_ID: - A unique ID for the adhoc instance. command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/expand.sh start --hosts {ADHOC_NODES} --workdir {ADHOC_DIRECTORY} --datadir {ADHOC_DIRECTORY}/data --mountdir {ADHOC_DIRECTORY}/mnt shutdown: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/expand.sh stop --workdir {ADHOC_DIRECTORY} expand: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/expand.sh expand --hosts {ADHOC_NODES} shrink: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/expand.sh shrink --hosts {ADHOC_NODES} hercules: # The default working directory for adhoc instances of this type working_directory: /tmp/hercules startup: # Specific environment variables that should be set for the adhoc # instance. These will be merged with the environment variables # already set by Slurm. environment: VAR0: value0 VAR1: value1 # The command that `scord-ctl` will use to start an adhoc instance of # this type. The following variables are supported that will be # automatically replaced by scord-ctl if found between curly braces: # * ADHOC_NODES: A comma separated list of valid job hostnames that # can be used to start the adhoc instance. # * ADHOC_DIRECTORY: A unique working directory for each specific # adhoc instance. This directory will be created by scord-ctl under # `working_directory` and automatically removed after the adhoc # instance has been shut down. # * ADHOC_ID: - A unique ID for the adhoc instance. command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/hercules.sh start --hosts {ADHOC_NODES} --workdir {ADHOC_DIRECTORY} --datadir {ADHOC_DIRECTORY}/data --mountdir {ADHOC_DIRECTORY}/mnt shutdown: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/hercules.sh stop --workdir {ADHOC_DIRECTORY} expand: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/hercules.sh expand --hosts {ADHOC_NODES} shrink: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/hercules.sh shrink --hosts {ADHOC_NODES} # default storage tiers made available to applications storage: Loading plugins/adhoc_services.d/CMakeLists.txt +4 −1 Changes for plugins/adhoc_services.d/CMakeLists.txt: 4 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -22,7 +22,10 @@ # SPDX-License-Identifier: GPL-3.0-or-later # ################################################################################ list(APPEND ADHOC_SCRIPTS "${CMAKE_CURRENT_SOURCE_DIR}/gekkofs.sh") list(APPEND ADHOC_SCRIPTS "${CMAKE_CURRENT_SOURCE_DIR}/gekkofs.sh" "${CMAKE_CURRENT_SOURCE_DIR}/expand.sh" "${CMAKE_CURRENT_SOURCE_DIR}/dataclay.sh" "${CMAKE_CURRENT_SOURCE_DIR}/hercules.sh") # copy adhoc scripts to the build directory so that they can be used by tests foreach (ADHOC_SCRIPT ${ADHOC_SCRIPTS}) Loading plugins/adhoc_services.d/dataclay.sh +3 Changes for plugins/adhoc_services.d/dataclay.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/usr/bin/env bash exit 0 plugins/adhoc_services.d/expand.sh +3 Changes for plugins/adhoc_services.d/expand.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/usr/bin/env bash exit 0 plugins/adhoc_services.d/hercules.sh +3 Changes for plugins/adhoc_services.d/hercules.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/usr/bin/env bash exit 0 Loading
examples/scord-ctl.conf.in +138 Changes for examples/scord-ctl.conf.in: 138 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -35,7 +35,145 @@ config: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/gekkofs.sh stop --workdir {ADHOC_DIRECTORY} expand: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/gekkofs.sh expand --hosts {ADHOC_NODES} shrink: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/gekkofs.sh shrink --hosts {ADHOC_NODES} dataclay: # The default working directory for adhoc instances of this type working_directory: /tmp/dataclay startup: # Specific environment variables that should be set for the adhoc # instance. These will be merged with the environment variables # already set by Slurm. environment: VAR0: value0 VAR1: value1 # The command that `scord-ctl` will use to start an adhoc instance of # this type. The following variables are supported that will be # automatically replaced by scord-ctl if found between curly braces: # * ADHOC_NODES: A comma separated list of valid job hostnames that # can be used to start the adhoc instance. # * ADHOC_DIRECTORY: A unique working directory for each specific # adhoc instance. This directory will be created by scord-ctl under # `working_directory` and automatically removed after the adhoc # instance has been shut down. # * ADHOC_ID: - A unique ID for the adhoc instance. command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/dataclay.sh start --hosts {ADHOC_NODES} --workdir {ADHOC_DIRECTORY} --datadir {ADHOC_DIRECTORY}/data --mountdir {ADHOC_DIRECTORY}/mnt shutdown: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/dataclay.sh stop --workdir {ADHOC_DIRECTORY} expand: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/dataclay.sh expand --hosts {ADHOC_NODES} shrink: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/dataclay.sh shrink --hosts {ADHOC_NODES} expand: # The default working directory for adhoc instances of this type working_directory: /tmp/expand startup: # Specific environment variables that should be set for the adhoc # instance. These will be merged with the environment variables # already set by Slurm. environment: VAR0: value0 VAR1: value1 # The command that `scord-ctl` will use to start an adhoc instance of # this type. The following variables are supported that will be # automatically replaced by scord-ctl if found between curly braces: # * ADHOC_NODES: A comma separated list of valid job hostnames that # can be used to start the adhoc instance. # * ADHOC_DIRECTORY: A unique working directory for each specific # adhoc instance. This directory will be created by scord-ctl under # `working_directory` and automatically removed after the adhoc # instance has been shut down. # * ADHOC_ID: - A unique ID for the adhoc instance. command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/expand.sh start --hosts {ADHOC_NODES} --workdir {ADHOC_DIRECTORY} --datadir {ADHOC_DIRECTORY}/data --mountdir {ADHOC_DIRECTORY}/mnt shutdown: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/expand.sh stop --workdir {ADHOC_DIRECTORY} expand: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/expand.sh expand --hosts {ADHOC_NODES} shrink: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/expand.sh shrink --hosts {ADHOC_NODES} hercules: # The default working directory for adhoc instances of this type working_directory: /tmp/hercules startup: # Specific environment variables that should be set for the adhoc # instance. These will be merged with the environment variables # already set by Slurm. environment: VAR0: value0 VAR1: value1 # The command that `scord-ctl` will use to start an adhoc instance of # this type. The following variables are supported that will be # automatically replaced by scord-ctl if found between curly braces: # * ADHOC_NODES: A comma separated list of valid job hostnames that # can be used to start the adhoc instance. # * ADHOC_DIRECTORY: A unique working directory for each specific # adhoc instance. This directory will be created by scord-ctl under # `working_directory` and automatically removed after the adhoc # instance has been shut down. # * ADHOC_ID: - A unique ID for the adhoc instance. command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/hercules.sh start --hosts {ADHOC_NODES} --workdir {ADHOC_DIRECTORY} --datadir {ADHOC_DIRECTORY}/data --mountdir {ADHOC_DIRECTORY}/mnt shutdown: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/hercules.sh stop --workdir {ADHOC_DIRECTORY} expand: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/hercules.sh expand --hosts {ADHOC_NODES} shrink: environment: command: @CMAKE_BINARY_DIR@/plugins/adhoc_services.d/hercules.sh shrink --hosts {ADHOC_NODES} # default storage tiers made available to applications storage: Loading
plugins/adhoc_services.d/CMakeLists.txt +4 −1 Changes for plugins/adhoc_services.d/CMakeLists.txt: 4 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -22,7 +22,10 @@ # SPDX-License-Identifier: GPL-3.0-or-later # ################################################################################ list(APPEND ADHOC_SCRIPTS "${CMAKE_CURRENT_SOURCE_DIR}/gekkofs.sh") list(APPEND ADHOC_SCRIPTS "${CMAKE_CURRENT_SOURCE_DIR}/gekkofs.sh" "${CMAKE_CURRENT_SOURCE_DIR}/expand.sh" "${CMAKE_CURRENT_SOURCE_DIR}/dataclay.sh" "${CMAKE_CURRENT_SOURCE_DIR}/hercules.sh") # copy adhoc scripts to the build directory so that they can be used by tests foreach (ADHOC_SCRIPT ${ADHOC_SCRIPTS}) Loading
plugins/adhoc_services.d/dataclay.sh +3 Changes for plugins/adhoc_services.d/dataclay.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/usr/bin/env bash exit 0
plugins/adhoc_services.d/expand.sh +3 Changes for plugins/adhoc_services.d/expand.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/usr/bin/env bash exit 0
plugins/adhoc_services.d/hercules.sh +3 Changes for plugins/adhoc_services.d/hercules.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/usr/bin/env bash exit 0