-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add configuration file #84
Conversation
This is a quick implementation of #48 using the |
I think |
@ltimmerman3 yeah the |
This PR adds support for the configuration file
~/.config/ase/config.ini
to include a sparc sectionAn example of the ini section may be
where the configurations can be used for SPARC calculator, sparc.io, and JSON API modules
@ltimmerman3 @ajmedford please take a look if the proposed keywords in sparc configure section makes sense to you
SPARC command
Equivalent to ASE_SPARC_COMMAND
command = srun -n 24 path/to/sparc
or mix of mpi prefix and sparc binary path
The latter is more straightforward (although not cannonical ASE), and may benefit issues like #46, but I don't know if the keywords will be meaningful in the longrun
Defining custom schema
Either specify the path to LaTeX doc (equivalent to
ASE_DOC_PATH
)doc_path = ~/dev_SPARC/doc/.LaTeX
or specify the path to a custom json schema
json_schema = ~/dev_SPARC/parameters.json
Psp location
Through
psp_path
(equivalent to SPARC_PSP_PATH)psp_path = ~/dev_SPARC/psps