Closed robinshi123 closed 1 year ago
Since it seems like the segfault happens right away, can you please post (or email to me) the topology (PSF) and 1 frame of the trajectory so I can try to reproduce this? Thanks!
Since it seems like the segfault happens right away, can you please post (or email to me) the topology (PSF) and 1 frame of the trajectory so I can try to reproduce this? Thanks!
Please find attached a zip file that contains both psf file and the traj (dcd) file. Thank you so much!
Thanks for the files! I was able to reproduce the segfault; I'll look into it and get back to you ASAP.
Thanks for the files! I was able to reproduce the segfault; I'll look into it and get back to you ASAP.
Thanks again for the help!
OK - I know what's going on here. The issue is that PSF files have topology information, but not parameters, which is what GIST needs to calculate the nonbond energy. While cpptraj does have the ability to read charmm parameters via the param
keyword of the parm
command, this is not well-tested. Your best bet would be to use the chamber
command of the parmed
program to convert your charmm psf and parameter files to an Amber topology, then use the Amber topology in place of the PSF when running cpptraj. In the meantime I'll try to get GIST working with PSFs (or at least have cpptraj exit gracefully with a helpful error message). Hope this helps!
Thanks! As a CHARMM user, I actually have been wondering why the PSF file is called topology (which is a term used differently from CHARMM's).
Just another follow-up question: if I convert the PSF to an Amber topology, would this new topology file be compatible with CHARMM taj files (which are in DCD format)?
Thanks again! I really appreciate your prompt response and help!
I actually have been wondering why the PSF file is called topology (which is a term used differently from CHARMM's).
I'm calling it a topology file since it only contains topology information; it only describes how atoms in the system are connected via bonds, angles, torsions, etc. A PSF doesn't contains any parameters, i.e. it doesn't contains any information that is required by any force field terms (e.g. bond force constants, Lennard-Jones parameters, charges, etc).
if I convert the PSF to an Amber topology, would this new topology file be compatible with CHARMM taj files (which are in DCD format)?
You can use any topology format in CPPTRAJ with any trajectory format as long as the topology file (in Amber's case it's really a Parameter/Topology file) corresponds to the trajectory file.
I'm calling it a topology file since it only contains topology information; it only describes how atoms in the system are connected via bonds, angles, torsions, etc. A PSF doesn't contain any parameters, i.e. it doesn't contain any information that is required by any force field terms (e.g. bond force constants, Lennard-Jones parameters, charges, etc).
Yes, it totally makes sense to me. It's just two different ways of usages of terminology by two systems. In CHARMM, the topology files refer to general files which contain connectivity information (bonds, angles, torsions, etc) within each specific residue, and from which the PSF is generated for each specific polypeptide. Thus, the types of content they contain are almost the same. Thanks for the clarification! I am happy that I can learn more about it.
You can use any topology format in CPPTRAJ with any trajectory format as long as the topology file (in Amber's case it's really a Parameter/Topology file) corresponds to the trajectory file.
That's good to know! I will try parmed and hopefully, it will solve my problem.
Again, thank you so much for the help!
As of version 6.15.2 (see #997) cpptraj should now exit gracefully (instead of segfaulting) when non-bonded parameters are not present.
Hi @robinshi123 , just wanted to follow up and see if the parmed
solution worked for you.
Hi @robinshi123 , just wanted to follow up and see if the
parmed
solution worked for you.
Thanks for asking! Actually, since I am not familiar with parmed, I used CHARMM-GUI to generate the Amber topology that contains all the parameters. And it seems to be working as a charm!
Dear all,
I've been running MD simulations using CHARMM and have been trying to run water analysis using GIST in cpptraj. However. I found that with griddim greater than 10, the calculation always ends up with the same error: Segmentation fault (core dumped)
If I set the griddim <= 10, then the calculation is running fine. I suspect it is caused by memory limitation, so I re-do the calculation on the supercomputer at my university, but I still got the same error. The griddim value on the tutorials seems to be much larger than 10 (~40) so I wonder if it is some issue with the latest version of GIST.
I have attached the input and output files at the end. If you have any thoughts on this, please let me know. Any suggestions would be greatly appreciated. Thanks!
Best, Jie
cpptraj input file:
output in the log file with error: