molecular_simulations.utils.parsl_settings module¶
- class molecular_simulations.utils.parsl_settings.BaseSettings(**data)[source]¶
Bases:
BaseModelCreate a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class molecular_simulations.utils.parsl_settings.BaseComputeSettings(**data)[source]¶
Bases:
ABC,BaseSettingsCompute settings (HPC platform, number of GPUs, etc).
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class molecular_simulations.utils.parsl_settings.LocalSettings(**data)[source]¶
Bases:
BaseComputeSettingsCreate a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class molecular_simulations.utils.parsl_settings.LocalCPUSettings(**data)[source]¶
Bases:
BaseComputeSettingsCreate a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class molecular_simulations.utils.parsl_settings.HeterogeneousSettings(**data)[source]¶
Bases:
BaseComputeSettingsCreate a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class molecular_simulations.utils.parsl_settings.PolarisSettings(**data)[source]¶
Bases:
BaseComputeSettingsCreate a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- config_factory(run_dir)[source]¶
Create a configuration suitable for running all tasks on single nodes of Polaris We will launch 4 workers per node, each pinned to a different GPU :param num_nodes: Number of nodes to use for the MPI parallel tasks :param user_options: Options for which account to use, location of environment files, etc :type run_dir:
str|Path:param run_dir: Directory in which to store Parsl run files. Default: runinfo- Return type:
- class molecular_simulations.utils.parsl_settings.AuroraSettings(**data)[source]¶
Bases:
BaseComputeSettingsCreate a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.