Hi Daniel,
the 'relaxation_scheme' input was removed in the following commit: https://github.com/aiidateam/aiida-quantumespresso/commit/a23f802e17bb91cc25e8b9855dd3ccfa92f2f764#diff-4a581d9b5aa384062057a1dedbd5b18c5e1e58bbd5cb5f1e9373377dcf0ec303
You can just specify it via the 'CONTROL' key in the parameters namespace as you would do it in a manual calculation.
inputs['base']['pw']['parameters']['CONTROL'['calculation'] = 'vc-relax' (or 'relax')
In case you use the 'get_builder_from_protocol' method, you would specify it via the 'RelaxType' enum which you already mentioned. An example:
from aiida_quantumespresso.common.types import RelaxType
WorkChain = WorkflowFactory('quantumespresso.pw.relax')
builder = WorkChain.get_builder_from_protocol(code, structure, protocol=None, overrides=None, relax_type=RelaxType.POSITIONS_CELL)
Of course, you can also use all other options that are listed in the RelaxType source code.
Best,
Timo
--
AiiDA is supported by the NCCR MARVEL (http://nccr-marvel.ch/), funded by the Swiss National Science Foundation, and by the European H2020 MaX Centre of Excellence (http://www.max-centre.eu/).
Before posting your first question, please see the posting guidelines at http://www.aiida.net/?page_id=356 .
---
You received this message because you are subscribed to the Google Groups "aiidausers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aiidausers+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aiidausers/f758bb0a-7912-4dc3-b8d6-c87c00a3f469n%40googlegroups.com.
Hi Daniel and Timo! 👋
Thanks Timo for taking the time to respond! Indeed, the relaxation_scheme was already deprecated since version 3.3.0 and fully removed in version 4.0.0. However, the removal was not diligently reported as a breaking change in the CHANGELOG.md, many apologies. 🙈
To make up for this most egregious oversight, I’ve opened a PR to add some basic documentation how to use the PwRelaxWorkChain and define a RelaxType. Have a look, comments most welcome!
Happy computing! 🚀
Best,
Marnik