3e1b5ac930 | ||
---|---|---|
.. | ||
config | ||
singularity | ||
README.md |
README.md
OSUMicroBenchmarks-Infiniband-MVAPICH
This recipe shows how to run the OSU Micro-Benchmarks on Linux using MVAPICH and Infiniband over Azure VM instances in an Azure Batch compute pool. Execution of this distributed workload requires the use of multi-instance tasks.
This recipe demonstrates Singularity usage.
Configuration
Please see refer to the set of sample configuration files for this recipe.
Pool Configuration
The pool configuration should enable the following properties:
inter_node_communication_enabled
must be set totrue
max_tasks_per_node
must be set to 1 or omittedvm_configuration
must be definedplatform_image
must be definedpublisher
must be set toOpenLogic
offer
must be set toCentOS-HPC
sku
must be set to7.6
or later
vm_size
must be set to an SR-IOV RDMA compatible VM size such asSTANDARD_HB60rs
orSTANDARD_HC44rs
Global Configuration
The global configuration should set the following properties:
singularity_images
array have a reference to a valid OSU Micro-Benchmark image with MVAPICH. This can belibrary://alfpark/mvapich/mvapich:2.3.2
Since this image is signed, it should be placed under thesigned
section with the appropriatesigning_key
. Please see theconfig.yaml
file for more information.
Jobs Configuration
The jobs configuration should set the following properties within the tasks
array which should have a task definition containing:
singularity_iamge
should be the name of the Singularity image for this container task invocation. For this example, this should belibrary://alfpark/mvapich/mvapich:2.3.2
.environment_variables
are the environment variables to setBENCHMARK
is the OSU benchmark to executeBENCHMARK_ARGS
are any arguments to pass to the benchmark executable
command
should contain the command to pass to thempirun
invocation. Please see the examplejobs.yaml
configuration for an example.multi_instance
property must be definednum_instances
should be set topool_specification_vm_count_dedicated
,pool_specification_vm_count_low_priority
,pool_current_dedicated
, orpool_current_low_priority
pre_execution_command
should be themodule load
command to load the appropriate MPI into the current environment.mpi
property must be definedruntime
should be set tomvapich
processes_per_node
should be set to1
Supplementary files
The Singularity image definition file can be found here.