apps.crc_show_config ============================== .. autoapi-nested-parse:: Display the slurm configuration for a given cluster/partition. Module Contents --------------- .. py:class:: CrcShowConfig Bases: :py:obj:`apps.utils.cli.BaseParser` Display information about the current Slurm configuration. .. py:method:: get_partition_info(cluster: str, partition: str) -> Dict[str, str] :staticmethod: Return a dictionary of Slurm settings as configured on a given partition :param cluster: The name of the cluster to get settings for :param partition: The name of the partition in the given cluster :returns: A dictionary of job information fetched from ``scontrol`` .. py:method:: print_node(cluster: str, partition: str) -> None Print the slurm configuration of a given cluster and partition :param cluster: The name of the cluster :param partition: The name of the partition on the cluster .. py:method:: app_logic(args: argparse.Namespace) -> None Logic to evaluate when executing the application If a partition is specified (with or without a cluster name), print a summary for that partition. If only the cluster is specified, print a summary for all available partitions. :param args: Parsed command line arguments