init
__all__ = ['WestpaConfig', 'WestpaEnv']
¶
WestpaConfig
¶
WestpaEnv
¶
Bases: BaseModel
Configuration for WESTPA environment setup script; typically called env.sh
.
This is used by
[write_env_script][setup.westpa.scripts.write_env_script]
to create the env.sh
script for setting up the WESTPA environment.
lines_append = Field(default=[])
¶
Lines to append to the env.sh
script.
lines_prepend = Field(default=[])
¶
Lines to prepend to the env.sh
script.
load_modules = Field(default=[])
¶
List of modules to load before running WESTPA simulation.
Each module is loaded using module load
command.
Warning
These modules are specific to the cluster and the software version and often need to be loaded in a specific order. Please consult the cluster documentation.
Example
If we were to use AMBER 22 for a WESTPA simulation on the University of Pittsburgh's H2P cluster, we would set this to
For NAMD 2.13, it would be
For GROMACS 2021.2 it would be
purge_modules = Field(default=True)
¶
If True, remove all loaded modules before loading the modules in load_modules
.