-
Notifications
You must be signed in to change notification settings - Fork 12
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
WIP: New JSON Interface #231
Conversation
scripts/json_interface.jl
Outdated
@@ -0,0 +1,54 @@ | |||
using ACEpotentials |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be a sub-module of ACEpotentials?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... answering myself. Yes, I think that would be better.
scripts/runfit.jl
Outdated
pyimport("pprint")["pprint"](controller.select(user_api="blas").info()) | ||
end | ||
|
||
include("../src/ace1_compat.jl") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This include should definitely not be here. Use ACEpotentials.ACE1compat
to access the submodule.
Project.toml
Outdated
@@ -8,6 +8,7 @@ ACE1x = "5cc4c08c-8782-4a30-af6d-550b302e9707" | |||
ACEbase = "14bae519-eb20-449c-a949-9c58ed33163e" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a lengthy comment about maintaining a separate project inside scripts
in the other PR. Can you copy that over please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also don't like this activation here. In general a user should create a working directory for their project, where ACEpotentials is added (to the local Project.toml). This will then be the activated project.
thank you - looks much better but still some re-organization to be discussed. Before our meeting can you please also take a look at the documentation. |
Just a few quesions:
|
yes. The point is that the user can check how big the problem is.
I guess not. Just get anything to run, we can add the distributed and multi-threaded aspects later.
I don't understand this. Can you say more please? |
I mean that here (in scripts/runfit,jl) weight should be also depending on config_type |
Yes, weights should be provided in the "old" style. My little hacked together assembly was just for a quick demo. The docs and tests should show how weights are correctly specified. E.g. look at |
Btw - the assembly with the new kernels is essentially ready. we can discuss that tomorrow. |
…/updt # Conflicts: # Project.toml
@iamveronika okease update the PR again by merging main into your branch |
# Conflicts: # Project.toml # src/atoms_data.jl # src/models/calculators.jl
# Conflicts: # Project.toml
I think this is ready to merge. That will enable us to make further progress through separate smaller PRs. |
Command line interface
julia scripts/runfit.jl -p fitting_params.json
fitting_params.json
Results:
New results: