-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to open file "Data Atoms.template" for reading. #94
Comments
The first warning is to inform the user that the For the second error, it is impossible to say what is wrong without you sharing your input files. |
Hi @hothello. I hope you are doing well. Thank you so much for reply. |
Hi all, I'm experiencing the second error mentioned above. It is not working with my system. Can anyone point me in the right direction of where I'm going wrong that doesn't permit a Data Atoms to be written? Codeimport "oplsaa.lt" atom-id mol-id atom-type charge x y z
} Data Bond List
} Thank you and much appreciated. |
Hi @JShake7227,
Please take a look at the LAMMPS manual, Section 8.6.4: Moltemplate Tutorial. You need to create a master file that imports the OPLS-AA force field file and the PEEK molecule definition file and contains all the relevant sections to create a valid input deck for LAMMPS. |
Hi @hothello, Thank you for the guidance! That was the crux of my issue. |
Yes, once you have defined a molecule, you need to specify how many copies of the molecule you want (and, perhaps also where you want them to go). (Otherwise a "Data Atoms.template" file will not be created.) That's what the "new" command does. (By convention, the "new" command(s) normally goes in the "system.lt" file, but you can name this file anything you want.) As Otello mentioned, section 8.4 of the moltemplate manual explains how to arrange molecules in a rectangular grid. (Separate issue: If you don't want to arrange your molecules in a 3-D grid, you can try using PACKMOL and run moltemplate.sh with the -xyz command line argument. Also see section. 8.9.1 of the moltemplate manual, for an alternative strategy to mix arbitrary numbers of different molecules together that doesn't require PACKMOL.) But I'd start with the introductory chapter (chapter 4). It's really short. And thank you again, Otello! |
Hi! I hope you are doing well!
I'm trying to run moltemplate.sh but I always get the following message:
########################################################
WARNING: atom_style unspecified
--> "Data Atoms" column data has an unknown format
Assuming atom_style = "full"
########################################################
And this happens if I try to run moltemplate.sh both for some example of the code and for some system I created. At the end of execution the following message is displayed:
lttree_postprocess.py v0.6.2 2021-4-20
Error(lttree_postprocess.py): Unable to open file
"Data Atoms.template"
for reading. (Do your files lack a "Data Atoms" section?)
(To override this error, run moltemplate using the "-nocheck" argument.)
Thank you!
The text was updated successfully, but these errors were encountered: