-
Notifications
You must be signed in to change notification settings - Fork 1
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
Create interface to md_tian2 potentials #28
base: main
Are you sure you want to change the base?
Conversation
727caa4
to
4bfd42e
Compare
I've added a test now that I was able to run locally but obviously won't run in the CI because the library is missing. Ideally I would like this to work using BinaryBuilder to provide the cross platform library automatically so we could run this on Github. Unfortunately BinaryBuilder has to use the gfortran compiler which doesn't work with md_tian2 because they use a few ifort specific features, specifically the Another option is to set up a new test job that will download and compile md_tian2 before running the tests. This might be easier but again I'm not sure about the availability of ifort in Github actions. If we do want to do either of these probably we should move this code to a separate package as we've done previously with other extension models. This would make it easier to set up alternative testing infrastructure or additional binary dependencies. As it is I don't feel too great about including an interface that cannot be included in the automated tests in the main package. |
I can see that you are valiantly attempting to convert the positions to the correct units. Though I believe I did this already using the |
ah ok thanks, so positions were right but I don't think the cell was converted originally. Just trying stuff because I ran a benchmark and the enegy was factor ~1.7 out from running md_tian2 without the interface |
So now for a test structure: NQCD + md_tian2: 0.5226285929371041 Ha. maybe close enough for now |
Here is your new PR @clbox. I will make a couple of modifications before we merge it.