idmtools_platform_slurm.plugin_info module#

idmtools slurm platform plugin definition.

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.

class idmtools_platform_slurm.plugin_info.SlurmPlatformSpecification[source]#

Bases: PlatformSpecification

get_description() str[source]#

Get a brief description of the plugin and its functionality.

Returns:

The plugin description.

get(**configuration) IPlatform[source]#

Build our slurm platform from the passed in configuration object

We do our import of platform here to avoid any weirdness :param configuration:

Returns:

example_configuration()[source]#

Example configuration for the platform. This is useful in help or error messages.

Returns:

Example configuration

get_type() Type[SlurmPlatform][source]#

Get type of the Platform type.

get_version() str[source]#

Returns the version of the plugin

Returns:

Plugin Version

get_configuration_aliases() Dict[str, Dict][source]#

Provides configuration aliases that exist in SLURM.