-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Is your feature request related to a problem? Please describe.
I'm interested in changing something in Gromacs mdp generation and wish to test it with a simple system.
I bumped into the #305
Describe the solution you'd like
I wonder if I could do something to allow each window of BSS.FreeEnergy.Relative to be run with a single MPI rank
with interface
# Benzene.
m0 = BSS.Parameters.openff_unconstrained_2_0_0(
"c1ccccc1").getMolecule()
# Toluene.
m1 = BSS.Parameters.openff_unconstrained_2_0_0(
"Cc1ccccc1").getMolecule()
atom_mapping = BSS.Align.matchAtoms(m0, m1)
m0 = BSS.Align.rmsdAlign(m0, m1, atom_mapping)
merged = BSS.Align.merge(m0, m1)
solvated = BSS.Solvent.tip3p(molecule=merged,
box=3 * [3 * BSS.Units.Length.nanometer])
protocol = BSS.Protocol.FreeEnergy(lam=0.0,
lam_vals=None,
min_lam=0.0,
max_lam=1.0,
num_lam=11,
timestep=_Types.Time(2, "femtosecond"),
runtime=_Types.Time(0, "femtosecond"),
temperature_start=_Types.Temperature(300, "kelvin"),
temperature_end=_Types.Temperature(300, "kelvin"),
temperature=None,
pressure=None,
report_interval=200,
restart_interval=1000,
restraint=None,
force_constant=10 * _Units.Energy.kcal_per_mol / _Units.Area.angstrom2,
restart=False,
perturbation_type="full")
freenrg = BSS.FreeEnergy.Relative(system, protocol, engine='GROMACS', )
freenrg.setArg({"-ntmpi": 1})
freenrg.run()
freenrg.wait()
Metadata
Metadata
Assignees
Labels
No labels