Hello everybody,
I am a new user of PLUMED and I would be very grateful if anyone would help me.
I am experiencing troubles with PLUMED 2.7.3 reweighting postprocessing of a well-tempered metadynamics which I have run with COLVAR package of LAMMPS (so independently from PLUMED).
I ran the simulation with two collective variables and I rearranged the output HILLS file according to PLUMED format. I attach the first lines of the HILLS file just to give you an idea. It includes timestep, CV1, CV2, sigma1, sigma2, Hill height rescaled by the bias factor and bias factor.
866000.0000000000 0.837953435792816 4.577514258171840 0.1 0.1 0.0018359952438337 15
866001.0000000000 1.353966871263260 3.913243310022730 0.1 0.1 0.0004048424903755 15
866002.0000000000 1.350017624780440 3.992784728129080 0.1 0.1 0.0004048240200989 15
866003.0000000000 1.357628530810080 4.098782872355790 0.1 0.1 0.0004394898240608 15
866004.0000000000 1.335918785412940 4.094592064941380 0.1 0.1 0.0004394466837711 15
866005.0000000000 1.190443037047470 4.248959867999030 0.1 0.1 0.0003626215474602 15
866006.0000000000 0.810513419941171 4.707652190937860 0.1 0.1 0.0016444342385551 15
I would like to reweight on a specific angle which I defined in the plumed input file. I followed the tutorial
The plumed input file is:
# Activate MOLINFO functionalities
MOLINFO STRUCTURE=modellino.pdb
a: ANGLE ATOMS=29,33,37
groupO: GROUP ATOMS=30,31,32,34,35,36,38,39,40,41
groupZn: GROUP ATOMS=28
nc: COORDINATION GROUPA=groupO GROUPB=groupZn R_0=0.27
avd: DISTANCE ATOMS=37,28
metad: METAD ARG=nc,avd SIGMA=0.1,0.1 HEIGHT=0.000 BIASFACTOR=15 TEMP=300.0 PACE=100000 FILE=HILLS RESTART=YES
PRINT ARG=a,metad.bias FILE=COLVAR_REWEIGHT STRIDE=1
I launched PLUMED with the following line:
plumed driver --mf_dcd meta_system_nvt.11.dcd --plumed plumed.dat --kt 0.5922 --length-units A
and I received the following error.
PLUMED:
PLUMED:
PLUMED: +++ PLUMED error
PLUMED: +++ at IFile.cpp:98, function PLMD::IFile& PLMD::IFile::advanceField()
PLUMED: +++ message follows +++
PLUMED: file HILLS: mismatch between number of fields in file and expected number
PLUMED: this is the faulty line:
PLUMED: 866000.0000000000 0.837953435792816 4.577514258171840 0.1 0.1 0.0018359952438337 15
PLUMED:
PLUMED: ################################################################################
PLUMED:
PLUMED: Cycles Total Average Minimum Maximum
PLUMED: 1 0.003448 0.003448 0.003448 0.003448
terminate called after throwing an instance of 'PLMD::Plumed::ExceptionError'
what():
+++ PLUMED error
+++ at IFile.cpp:98, function PLMD::IFile& PLMD::IFile::advanceField()
+++ message follows +++
file HILLS: mismatch between number of fields in file and expected number
this is the faulty line:
866000.0000000000 0.837953435792816 4.577514258171840 0.1 0.1 0.0018359952438337 15
I can not understand what is wrong with my HILLS file and I kindly ask you to let me notice any errors.
Thank you in advance for your kind patience and cooperation.
Best regards,
Emma Rossi