molecular_simulations.simulate.parsl_settings module
- class molecular_simulations.simulate.parsl_settings.AuroraSettings(**data)
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.
- Parameters:
- config_factory(run_dir)
Create a Parsl configuration for running on Aurora.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class molecular_simulations.simulate.parsl_settings.BaseComputeSettings(**data)
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.
- abstractmethod config_factory(run_dir)
Create new Parsl configuration.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class molecular_simulations.simulate.parsl_settings.BaseSettings(**data)
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.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class molecular_simulations.simulate.parsl_settings.LocalSettings(**data)
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.
- Parameters:
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class molecular_simulations.simulate.parsl_settings.PolarisSettings(**data)
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.
- Parameters:
- config_factory(run_dir)
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:
Union[str,Path] :param run_dir: Directory in which to store Parsl run files. Default: runinfo
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].