htmd.config module#

htmd.config.config(ncpus=None, njobs=1, configfile=None, lsf=None, slurm=None)#

Change HTMD configuration variables.

Parameters:
  • ncpus (int | None) – Deprecated. Use njobs instead.

  • njobs (int) – Number of parallel jobs spawned for several HTMD operations. Negative numbers spawn as many jobs as CPU threads: -1 for all CPUs, -2 for all except one, etc.

  • configfile (str | None) – HTMD configuration file called at the beginning of importing.

  • lsf (str | None) – YAML file that can contain default profile configurations for an LsfQueue.

  • slurm (str | None) – YAML file that can contain default profile configurations for a SlurmQueue.

Return type:

None