Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    • The hook PBS_HOME/server_priv/hooks/PBS_translate_mpp.HK is enabled.
    • Based on what is returned by the ALPS inventory :
      • vnodes representing the compute nodes will get created
      • the Cray-specific custom resources (e.g. PBScraynid, PBScrayhost, etc) will get created in PBS_HOME/server_priv/resourcedef.
      • the appropriate Cray-specific custom resources will be added to the vnodes.
      • since the mom config $vnode_per_numa_node is unset by default, there will be no PBScrayseg attribute on the vnodes representing the compute nodes.
    • Server settings :
      • flatuid = true
      • scheduling = true

      • the default queue is workq workq


Interface:  MoM.__init__() 

...

  • resources and vnodes
    • As part of reverting resources, the PBS_HOME/server_priv/resourcedef file is removed.
      • If on Cray or Cray ALPS simulator, then recreate the out-of-box Cray-specific custom resources and vnodes,
        including the ones PBS creates from reading the ALPS inventory, by:
        • Checking that $alps_client and its value exists in PBS_HOME/mom_priv/config, and if so:
          • delete all the vnodes: qmgr -c "delete node @default"
          • add back the MoMs: qmgr -c "create n <MoM hostname>"
          • check until such time that the MoM node has actually been added and the node state is free
          • if successful, then
            • the resourcedef file and the vnodes would have reverted to the out-of-box Cray configuration.
          • If there is an error during one of the following:
            • checking if $alps_client is properly configured
            • deleting all vnodes
            • adding MoMs
            then raise an exception.
  • hooks
    • As part of reverting hooks, all hooks, except built-in hooks, are disabled.
      • if on a Cray ALPS simulator, then enable the PBS_translate_mpp .HK hook.
      • If there is an error during enabling of the PBS_translate_mpp .HK hook, then raise an exception.

...