Skip to content

Add --all option to install all SSSP or PseudoDojo functionals/protocols#201

Open
t-reents wants to merge 2 commits intoaiidateam:mainfrom
t-reents:main
Open

Add --all option to install all SSSP or PseudoDojo functionals/protocols#201
t-reents wants to merge 2 commits intoaiidateam:mainfrom
t-reents:main

Conversation

@t-reents
Copy link
Copy Markdown
Collaborator

@t-reents t-reents commented Dec 5, 2025

This new option is something that we already discussed several times. It allows the user to directly install all combinations of protocols and functionals for SSSP and PseudoDojo for the specified version etc.

Pinging @mbercx @Minotakm @giovannipizzi @mikibonacci

…ocols

This additional option speeds up the installation process when multiple
configurations are desired. It will install all the combinations of the supported
functionals and protocols for the selected pseudopotential family.
@giovannipizzi
Copy link
Copy Markdown
Member

Thanks! Since people are lazy, would it be OK to fins a way toake this the default, and turn this off if one specifies a given version? What do you think?

@mbercx mbercx linked an issue Apr 6, 2026 that may be closed by this pull request
configurations = [(version, functional, relativistic, protocol, pseudo_format)]
if install_all:
configurations = [
(version, 'PBE', relativistic, 'standard', pseudo_format),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A note from the PseudoDojo website:

Warning! In the v0.5, the following elements have been updated: Ba, Bi, I, Pb, Po, Rb, Rn, S, Te, Tl, and Xe. They are only available for PBE. Use the version 0.4.1 for LDA or PBEsol xc.

So the "latest" version is functional-dependent here.

@mbercx
Copy link
Copy Markdown
Member

mbercx commented Apr 6, 2026

Since people are lazy, would it be OK to fins a way toake this the default

Hmm, have to think about this. Initially I was against it, but it might be the most natural. Alternatively (and the reason I came here to comment), is to call the option --latest, because that is what it really installs, not --all. But perhaps --latest doesn't convey that you are installing multiple versions.

However, for PseudoDojo this is still not entirely true, because you install the latest version for all functionals and "precision levels"/"protocols". Not all formats. This is a sensible decision, since otherwise you'd be installing 24 families. That would take a while, especiall with the current connection issues. ^^ The fact that here you really have to select the correct format for the pseudos to be useful, and that you install 6 spurious families in case you select the wrong one, makes me apprehensive towards having --all as the default behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI: Add --all option to automated install commands

3 participants