-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
A3FE is currently too coupled to SOMD. In preparation for extending support to GROMACS, we should reduce this coupling. Specifically, we should:
- 1.Remove the run_somd.sh file, from which the SLURM options are read. Replace with a Pydantic SlurmConfig class which can be configured in the code, or read from a yaml/json file if not supplied.
- 2. Remove the
template_config.cfg. As above, replace with a PydanticSomdConfigclass (which should be derived from a generalEngineConfigclass which can be configured in the code, or else read from a yaml/json file if not supplied - 3. Try and move any engine-specific logic out of the
runclasses. Currently, a few are contaminated by SOMD-specific logic - 4. Update defaults to be engine-specific. Probably do this by having dictionaries of defaults with engines as keys. Store the engine as a property of the simulation runner. This will allow easier GROMACS integration.
- 5. Add pre-commit hooks to enforce formatting etc.
Metadata
Metadata
Assignees
Labels
No labels