From: Gumbart, JC (gumbart_at_physics.gatech.edu)
Date: Sat May 30 2020 - 11:48:23 CDT

Hi Daniel,

Did you give FFTK the cgenff parameter file? It needs the LJ parameters to calculate the interaction energy.

Best,
JC
________________________________
From: owner-vmd-l_at_ks.uiuc.edu <owner-vmd-l_at_ks.uiuc.edu> on behalf of Daniel Fellner <dfel694_at_aucklanduni.ac.nz>
Sent: Saturday, May 30, 2020 3:58 AM
To: VMD Mailing List <vmd-l_at_ks.uiuc.edu>
Subject: vmd-l: FFTK: Opt. Charges Error

Hi everyone,

I'm using FFTK to optimise some parameters from CGenFF and after running and checking the water interaction files, I loaded up all the relevant data (including par files for both existing (blank) and cgenff parameters), removed the nonpolar hydrogens (including indole hydrogens which CGenFF assigned charges 0.1950, 0.1960, 0.1960 and 0.2010 instead of 0.1150), and hit Run Optimization, but I'm getting this error:

can't read "ljPars(NG2O1)": no such element in array
can't read "ljPars(NG2O1)": no such element in array
    while executing
"lindex $ljPars($aType) 0"
    (procedure "::ForceFieldToolKit::ChargeOpt::computeIntE" line 33)
    invoked from within
"::ForceFieldToolKit::ChargeOpt::computeIntE $i $j"
    (procedure "::ForceFieldToolKit::ChargeOpt::optCharges" line 77)
    invoked from within
"$function $p0list"
    (procedure "construct_initial_complex" line 13)
    invoked from within
"construct_initial_complex [lindex $args 0]"
    (procedure "::Optimize::Opt1::handle" line 89)
    invoked from within
"$opt initsimplex [lrange $chargeInit 0 end-1] "
    (procedure "::ForceFieldToolKit::ChargeOpt::optimize" line 409)
    invoked from within
"::ForceFieldToolKit::ChargeOpt::optimize"
    (procedure "::ForceFieldToolKit::gui::coptRunOpt" line 55)
    invoked from within
"::ForceFieldToolKit::gui::coptRunOpt "
    invoked from within
".fftk_gui.hlf.nb.chargeopt.runOpt invoke "
    invoked from within
".fftk_gui.hlf.nb.chargeopt.runOpt instate {pressed !disabled} { .fftk_gui.hlf.nb.chargeopt.runOpt state !pressed; .fftk_gui.hlf.nb.chargeopt.runOpt in..."
    (command bound to event)

I recognise NG2O1 from the CGenFF stream file, but I'm not sure what FFTK's issue with it is.

Daniel Fellner BSc(Hons)
PhD Candidate
School of Chemical Sciences
University of Auckland
Ph +64211605326