Hi Timo,
You can use bash command line tools, pipelines and expansions to achieve this.
For example – to kill process with some labels:
verdi process kill `verdi process list | grep <xx> | grep <xy> | awk ‘{print $1}’`
`grep` selects specific label(s)/ process types, and `awk` takes the first column which contains the pks. Then the output is used as argument for `verdi process kill`.
To kill all:
verdi process kill `verdi process list -r | awk ‘{print $1}’`
Best wishes,
Bonan
--
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/70163a13-c904-44df-9c6d-5e68a8476314n%40googlegroups.com.