-
I have created a Docker image with both Tinker 8.10.1 and Tinker9 (Commit: cdbd05e5) in it. Using the Docker container, I am able to run either dynamic in Tinker 8.10.1 with CPU or dynamic in Tinker9 with GPU acceleration. With 1000 benzene molecules in cubic box, I can get 24ns/day performance using a Quadro RTX 4000 card. Here is the output from "tinker9 info" command.
Then, with a more complicated molecular system, I am running into a problem. In that system, I have no problem running dynamic with Tinker 8. Here is a part of the output.
When I run the same job with Tinker9 (set openmp-threads to 1), I get something like the following.
What have I done wrong? What could be the problem? Any insight and help would be highly appreciated. CD Poon. |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 4 replies
-
Would you send me the files and the command you used? This error message doesn't tell us much. |
Beta Was this translation helpful? Give feedback.
-
I have attached a gz file which contains 3 files, 4cb-x256.xyz, 4cb-md.key, and amoebabio18_header_4cb.prm. To run NPT "dynamic" with Tinker 8, I use the following command. To run NPT "dynamic" with Tinker 9, I use the following command. The output from Tinker 8 looks good. The output from Tinker 9 gives strange output and the arc file contains a bunch of "*". Thanks again for your help. |
Beta Was this translation helpful? Give feedback.
-
It took me a while to figure out what may have caused the immediate crash in the parameters. What I have found so far is that in the functional group "R - C -= N" the local frames for the multipoles on C and N are all defined as the "Z-then-X" frame. Using such a local frame will cause a 0/0 situation in the electrostatic force calculation when the angle R-C-N is 180 degrees. Tinker8 uses the |
Beta Was this translation helpful? Give feedback.
-
Thank you for your help. Your explanation makes a lot of sense. In the prm file, the R-C-N angle is set to 179.97 degree. This is obtained by Poltype2. If this angle is changed to a value which is further away from 180, it may help according to what you said. However, it is not realistic. Is there a way for Tinker9 to handle this situation? |
Beta Was this translation helpful? Give feedback.
-
Yes, Tinker9 can handle this. As Zhi notes, the issue is not a problem with Tinker9, but a problem with the form of the parameters you are using, as generated by POLTYPE2. The correct solution is the use a "Z-Only" local coordinate frame on the nitrile C and N atoms, instead of a "Z-then-X" frame. If POLTYPE2 is using the latter, I would consider it to be a "bug" of sorts since as Zhi has noted it will become unstable when the angle is exactly or very close to linear. I'm sure you can manually get POLTYPE2 to use the "Z-Only" frame at those atoms. But I'll send a note to the POLTYPE guys to let them know that they should change the default. In the meantime (ie, before you try rerunning POLTYPE2 to manually set the local frame), you can fix the problem by substituting in the following multipole parameters in place of the ones in the file you attached above: multipole 413 422 0.57823 multipole 422 413 -0.68494 |
Beta Was this translation helpful? Give feedback.
-
Perhaps this is an older poltype version? The latest will give correct frame assignment. Just be sure to remove all key files before running again.
|
Beta Was this translation helpful? Give feedback.
-
I am using Poltype2 which was pulled from GitHub on December 1st, 2021. Should I use the latest Poltype instead of Poltype2? |
Beta Was this translation helpful? Give feedback.
-
That is quite odd since I dont believe I have made any changes in frame
detection in a long time on Poltype 2. Please try again with poltype 2
latest commit. I will attach the keyfiles I got below as well input files.
…On Mon, Jan 17, 2022 at 2:44 PM cdpoon ***@***.***> wrote:
I am using Poltype2 which was pulled from GitHub on December 1st, 2021.
Should I use the latest Poltype instead of Poltype2?
—
Reply to this email directly, view it on GitHub
<#180 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKNB26KNNH65JFP7RAWPTDTUWR5TPANCNFSM5LPRQN7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
phenylnitrile.txt |
Beta Was this translation helpful? Give feedback.
-
Thanks so much for all the help. I have modified the multipole parameters on 4CB according to @jayponder and I do NOT get those "*****" error anymore. Changing local frame for C and N of -CN in 4CB from Z-then-X to Z-Only works really well. Then, I recompile Poltype2 and build a new Poltype2 Docker image yesterday as suggested by @bdw2292. In the build, it will pull the current distribution of Poltype2 in GitHub. The new Poltype2 build works well for Ph-CH2-CN and @bdw2292 calls it phenylnitrile. Poltype2 creates multipole parameters for C and N correctly and I reproduce what @bdw2292 gets. However, when I use this build to work on cyanobenzene Ph-CN (without CH2 in between Ph and CN), it fails in "Searching database for parameters" right after Psi4 optimization. My old Poltype2 build (20211201) works without error but with frame problem. It looks like I do not have problem running Tinker9 anymore and now I have Poltype2 problem. Should I switch to Poltype2 channel to discuss? |
Beta Was this translation helpful? Give feedback.
-
poltype.log At the moment, I believe it may have something to do with memory size of the machine I use. I am looking into running the same job in another machine. I would like to hear your thought on this. I notice that in many of the Poltype2 examples, PubChem SDF files are used. PubChem SDF files have information about the molecule besides the coordinates. Are those extra information in PubChem SDF file being used in Poltype2 calculation? When I use Pymol to create the SDF file, it has atomic coordinates only. |
Beta Was this translation helpful? Give feedback.
-
Thanks to the amazing support from the Tinker9 and Poltype2 developers. @bdw2292 uploaded an update for Poltype2 to GitHub. With the update, I am able to get Amoeba force field parameters for a bunch of molecules. The local frame assignment for C-CN is correct and Tinker9 works really well with GPU acceleration. Thanks again to @zhi-wang, @jayponder, and @bdw2292. |
Beta Was this translation helpful? Give feedback.
Thanks to the amazing support from the Tinker9 and Poltype2 developers. @bdw2292 uploaded an update for Poltype2 to GitHub. With the update, I am able to get Amoeba force field parameters for a bunch of molecules. The local frame assignment for C-CN is correct and Tinker9 works really well with GPU acceleration.
Thanks again to @zhi-wang, @jayponder, and @bdw2292.