Skip to content

Adding support for custom protocols - #347

Draft
giovannipizzi wants to merge 22 commits into
aiidateam:masterfrom
giovannipizzi:add_custom_protocols
Draft

Adding support for custom protocols#347
giovannipizzi wants to merge 22 commits into
aiidateam:masterfrom
giovannipizzi:add_custom_protocols

Conversation

@giovannipizzi

Copy link
Copy Markdown
Member

Very often one wants a custom protocol, but it's not convenient to add a protocol definition in this repo for every independent project. Therefore, I'm here supporting the possibility to pass the protocol as a dictionary.

Note: For now, only implemented for QE and abinit, needs to be implemented for all if we agree on how I did it.

Note: In this PR I also fixing a couple of bugs in the ACWF relax for ABINIT.

For now, only implemented for QE and abinit, needs to be implemented for all

Also, fixing a couple of bugs in the ACWF relax for ABINIT
@azadoks

azadoks commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

Thanks, Giovanni!
This would have been a huge time saver when working on the pseudo improvements for the verification work; hopefully it will be one for future efforts.

I'm not sure when I renamed the forces output in the plugin (it's even marked for backwards-compatibility), but great that you caught it.

I'll give this a deeper look on Monday.

@giovannipizzi
giovannipizzi marked this pull request as draft November 28, 2025 19:15
@azadoks

azadoks commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

After a second look, this looks reasonable to me and shouldn't be too hard to add for all the codes 👍🏼

This allows to override the protocol ones by the launching user
by using a custom protocol

@azadoks azadoks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good!

giovannipizzi and others added 17 commits December 16, 2025 09:55
Add support for non-collinear spin in base relax workflow
* add noncollinear case for qe

---------

Co-authored-by: Timo Reents <timo.reents1@gmail.com>
* Implement custom_protocol for siesta

* Support directly supplying KpointsData node for siesta engine

* Apply pre-commit fixes

* Convert AiiDA Dicts in SIESTA custom_protocol to plain dicts

* Allow setting of lua inputs in custom protocol for siesta
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.

5 participants