Skip to content
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

Does SSSP/1.3/PBEsol/precision have default_stringency? #176

Open
mikibonacci opened this issue Nov 13, 2024 · 0 comments
Open

Does SSSP/1.3/PBEsol/precision have default_stringency? #176

mikibonacci opened this issue Nov 13, 2024 · 0 comments

Comments

@mikibonacci
Copy link

mikibonacci commented Nov 13, 2024

It seems that this is not the case. Is it?
This will give error in get_builder_from_protocols implemented in aiida-quantumespresso workchains:

~/.local/lib/python3.9/site-packages/aiida_quantumespresso/workflows/pw/relax.py in get_builder_from_protocol(cls, code, structure, protocol, overrides, relax_type, options, **kwargs)
    107 
    108         args = (code, structure, protocol)
--> 109         base = PwBaseWorkChain.get_builder_from_protocol(
    110             *args, overrides=inputs.get('base', None), options=options, **kwargs
    111         )

~/.local/lib/python3.9/site-packages/aiida_quantumespresso/workflows/pw/base.py in get_builder_from_protocol(cls, code, structure, protocol, overrides, electronic_type, spin_type, initial_magnetic_moments, options, **_)
    170             pseudos = pseudo_family.get_pseudos(structure=structure)
    171         except ValueError as exception:
--> 172             raise ValueError(
    173                 f'failed to obtain recommended cutoffs for pseudo family `{pseudo_family}`: {exception}'
    174             ) from exception

ValueError: failed to obtain recommended cutoffs for pseudo family `SsspFamily<SSSP/1.3/PBEsol/precision>`: no default stringency has been defined.

This also affects the functionalities of the aiidalab-qe app, in which we allow to choose this particular pseudo family. Due to the missing stringency, we face these issues:

  • no recommended cutoffs can be suggested
  • even if we put custom cutoff but we use this pseudo family, the builder creation will except (with the exception mentioned above)
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

No branches or pull requests

1 participant