how to use leap2fist or to dump PSF

133 views
Skip to first unread message

Yue

unread,
Aug 1, 2012, 7:48:51 PM8/1/12
to cp...@googlegroups.com
Hello,

I'm trying to get a PSF file from AMBER topology file and PDB file in order to use 'MOLNAME' keyword in CONSTRAINT section for ease. Can anyone tell me which keyword I should put into the input file to have CP2K generate a PSF file? Or can anyone tell me how to use leap2fist? Thank you!

Best,
Yue

Chuong

unread,
Aug 2, 2012, 2:55:56 AM8/2/12
to cp...@googlegroups.com
Hello,

You can dump psf file and pdb file with the command DUMP_PSF
http://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/SUBSYS/TOPOLOGY/DUMP_PSF.html
and DUMP_PDB
http://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/SUBSYS/TOPOLOGY/DUMP_PDB.html

I think this should work:
    &TOPOLOGY
      CONN_FILE_NAME INT.top
      CONNECTIVITY AMBER
      COORD_FILE_NAME ./INT.crd
      COORDINATE CRD
      &DUMP_PSF
      Filename ./INT.psf
      &END DUMP_PSF
      &DUMP_PDB
      Filename ./INT.pdb
      &END DUMP_PDB  
    &END TOPOLOGY

I used a fake run with
&GLOBAL
  RUN_TYPE ENERGY
  PRINT_LEVEL DEBUG
&END GLOBAL
just to get the psf and pdb.

Yours,

Chuong

Yue

unread,
Aug 3, 2012, 12:42:35 AM8/3/12
to cp...@googlegroups.com

Hello Chuong,

Thanks a lot! 

Best,
Yue


--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cp2k/-/OFp6nN-NCSUJ.
To post to this group, send email to cp...@googlegroups.com.
To unsubscribe from this group, send email to cp2k+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cp2k?hl=en.

Reply all
Reply to author
Forward
0 new messages