DihedralParametrizer Commandline Usage v3
Setup
To allow for commandline execution export the Nanomatch directory and source the parameterizer config file:
export NANOMATCH=/path/to/your/nanomatch
export NANOVER=V4 # or your respective release
source $NANOMATCH/$NANOVER/config/DihedralParametrizer3.config
As a side note it is very much advised to export the NANOMATCH directory and NANOVER in your .bashrc file and source the config file during the batch job.
Settings
As input you require a parametrized molecule.pdb and molecule.spf containing the Dihedral definitions from the Parametrizer, as well as a settings file based on the template available below. Please refer to the WaNo documentation for an explanation of all settings in the template.
DFT_options:
Basis: def2-SVP
Engine: Turbomole
Functional: BP86
DH_scan_relax_options:
T_acc: 5
T_init: 1000
dphi: 0.2
mc_steps: 500
DH_scan_steps: 20
parallel_DH_scans: 4
scf_iter: 3
Molecule_pdb: molecule.pdb
Molecule_spf: molecule.spf
forcefield_optimization:
deposit restartfile: restartfile.zip
train_data_file: input_train_data.npz
no_samples: 1000
optimize: true
sampling:
T_acc: 500.0
train_set_generation: vacuum_wide
version: v3
Starting a simulation
Copy and paste the above template into a file labeled "settings.yml"
#For V4
$OPENMPI_PATH/bin/mpirun --bind-to none $ENVCOMMAND --hostfile $HOSTFILE --mca btl self,vader,tcp python -m mpi4py $DIHEDRAL_PARAMETRIZER_PATH/DihedralParametrizerExe.py settings.yml >> mainout.txt 2> dhp_mpi_stderr
Afterwards the simulation will start on the Hostfile generated by the queueing system. For standard nanomatch environment, set DIHEDRAL_PARAMETRIZER_PATH=$NANOMATCH/$NANOVER/dihedral_parametrizer. When running locally you can replace --hostfile $HOSTFILE with "-n N" with N=the number of processors.
Output files
Outputs of DihedralParametrizer are documented in the WaNo documentation .
Parallelization
Quality of the dihedral potential may depend on the number of threads of your DHP run. Please refer to the WaNo documentation for further information.
The results of the search are