I am trying to use this same method (as above) to bias the dynamics of a portion of a protein of interest. The error is at the end of this post, but I wanted to I am receiving an error when I go to print the eig1 and eig2 values across my unbiased trajectory
plumed driver --plumed plumed-print-PCA.dat --mf_xtc md_meta_2.xtc
DRIVER: Found molfile format trajectory xtc with name md_meta_2.xtc
PLUMED: PLUMED is starting
PLUMED: Version: 2.4.1 (git: Unknown) compiled on Mar 12 2018 at 16:29:58
PLUMED: Please cite this paper when using PLUMED [1]
PLUMED: For further information see the PLUMED web page at
http://www.plumed.orgPLUMED: Root: /apps/linux/plumed/plumed-2.4.1/lib64/plumed
PLUMED: For installed feature, see /apps/linux/plumed/plumed-2.4.1/lib64/plumed/src/config/config.txt
PLUMED: Molecular dynamics engine: driver
PLUMED: Precision of reals: 8
PLUMED: Running over 1 node
PLUMED: Number of threads: 1
PLUMED: Cache line size: 512
PLUMED: Number of atoms: 1692
PLUMED: File suffix:
PLUMED: FILE: plumed-print-PCA.dat
PLUMED: Action PCAVARS
PLUMED: with label pca2
PLUMED: found 2 eigenvectors in file pca-comp-1.pdb
PLUMED: ERROR in input to action PCAVARS with label pca2 : atom out of range
PLUMED:
terminate called after throwing an instance of 'PLMD::Exception'
what():
+++ Internal PLUMED error
+++ file Action.cpp, line 242
+++ message: ERROR in input to action PCAVARS with label pca2 : atom out of range
[alpha:104819] *** Process received signal ***
[alpha:104819] Signal: Aborted (6)
[alpha:104819] Signal code: (-6)
[alpha:104819] [ 0] /lib64/libpthread.so.0(+0x122e0)[0x2af444d242e0]
[alpha:104819] [ 1] /lib64/libc.so.6(gsignal+0x110)[0x2af444f660e0]
[alpha:104819] [ 2] /lib64/libc.so.6(abort+0x151)[0x2af444f676c1]
[alpha:104819] [ 3] /usr/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x125)[0x2af44302e485]
[alpha:104819] [ 4] /usr/lib64/libstdc++.so.6(+0x97276)[0x2af44302c276]
[alpha:104819] [ 5] /usr/lib64/libstdc++.so.6(+0x972c1)[0x2af44302c2c1]
[alpha:104819] [ 6] /usr/lib64/libstdc++.so.6(+0x97503)[0x2af44302c503]
[alpha:104819] [ 7] plumed(_ZNK4PLMD6Action5errorERKSs+0x206)[0x601ad6]
[alpha:104819] [ 8] plumed(_ZN4PLMD15ActionAtomistic12requestAtomsERKSt6vectorINS_10AtomNumberESaIS2_EE+0x235)[0x5fe375]
[alpha:104819] [ 9] plumed(_ZN4PLMD7mapping7PCAVarsC1ERKNS_13ActionOptionsE+0xb7d)[0x79e96d]
[alpha:104819] [10] plumed(_ZN4PLMD7mapping20PCAVarsRegisterMe1966createERKNS_13ActionOptionsE+0x21)[0x7a0b11]
[alpha:104819] [11] plumed(_ZN4PLMD14ActionRegister6createERKNS_13ActionOptionsE+0x526)[0x6067a6]
[alpha:104819] [12] plumed(_ZN4PLMD10PlumedMain14readInputWordsERKSt6vectorISsSaISsEE+0x286)[0x63f136]
[alpha:104819] [13] plumed(_ZN4PLMD10PlumedMain13readInputFileESs+0xa8)[0x63fc08]
[alpha:104819] [14] plumed(_ZN4PLMD10PlumedMain4initEv+0xd57)[0x640d17]
[alpha:104819] [15] plumed(_ZN4PLMD10PlumedMain3cmdERKSsPv+0x54e)[0x6423ce]
[alpha:104819] [16] plumed(plumedmain_cmd+0x36)[0x64e306]
[alpha:104819] [17] plumed(_ZN4PLMD7cltools6DriverIdE4mainEP8_IO_FILES4_RNS_12CommunicatorE+0x2938)[0x4c0218]
[alpha:104819] [18] plumed(_ZN4PLMD10CLToolMain3runEiPPcP8_IO_FILES4_RNS_12CommunicatorE+0x6aa)[0x623b2a]
[alpha:104819] [19] plumed(_ZN4PLMD10CLToolMain3cmdERKSsPv+0x2e9)[0x6266c9]
[alpha:104819] [20] plumed(_ZN4PLMD10PlumedMain3cmdERKSsPv+0x4c8)[0x642348]
[alpha:104819] [21] plumed(plumedmain_cmd+0x36)[0x64e306]
[alpha:104819] [22] plumed(main+0x131)[0x4bc7a1]
[alpha:104819] [23] /lib64/libc.so.6(__libc_start_main+0xea)[0x2af444f50f4a]
[alpha:104819] [24] plumed(_start+0x29)[0x4e16f9]
[alpha:104819] *** End of error message ***
Abort (core dumped)
How do I fix this? What am I doing wrong? Does the PCA analysis have to start from atom 1 to be useable? I do not understand the error