However, if I test whether I have the PP with QueryBuilder(), as indicated in the tutorial, I get "1", i.e., I have the PP.
This is probably very basic, but I can't seem to get it right. Any help?
Please find attached the full error as well.
Thanks in advance,
Ignacio.
--
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/c6512880-a335-4ade-bf11-586460f36488n%40googlegroups.com.
<verdirun.sh><error.txt>
Is it possible to pass that to the workchain?
Also, if I wanted to use a different set of pseudos, or change some of the QE parameters (cutoffs, thresholds, add +U, etc). Is there a way to pass that to the protocol? Or should I get into editing the workchain itself?
I guess what I don't understand is whether the workchain is just an example and I should develop my own, or if it's meant to be used as is and thus would admit some input parameters to be passed onto it.
Thanks again for your help, greatly appreciated.
Regards,
Ignacio.
------------------------
PhD student,
Maths and Physics,
Queen's University Belfast.
PwBaseWorkChain = WorkflowFactory('quantumespresso.pw.base')Note that the inputs for the calculation are "nested" in the "namespace" called "pw".
builder = PwBaseWorkChain.get_builder_from_protocol(code, structure)
builder.pw.metadata.options.queue_name = 'main'
PwRelaxWorkChain = WorkflowFactory('quantumespresso.pw.relax')Note that here though, the inputs are just in a namespace `builder.base.pw` that is another level deeper.
builder = PwRelaxWorkChain.get_builder_from_protocol(code, structure)
builder.base.pw.metadata.options.queue_name = 'main'
builder.base.pw.parameters = Dict(dict={})For now there is not a super easy way of knowing where these inputs are located, other than to look in the source code of the workchain and see in the `define` method how the inputs are defined and structured.
builder.base.pw.pseudos = {}
(aiida_dev) sph@citadel:~/code/aiida/env/dev/aiida-core$ verdi plugin list aiida.workflows quantumespresso.pw.relax
Description:
Workchain to relax a structure using Quantum ESPRESSO pw.x.
Inputs:
base: required Inputs for the `PwBaseWorkChain` for the main relax loop.
structure: required StructureData The inputs structure.
base_final_scf: optional Inputs for the `PwBaseWorkChain` for the final scf.
clean_workdir: optional Bool If `True`, work directories of all called calculation will be cleaned at th ...
final_scf: optional Bool If `True`, a final SCF calculation will be performed on the successfully re ...
max_meta_convergence_iterations: optional Int The maximum number of variable cell relax iterations in the meta convergenc ...
meta_convergence: optional Bool If `True` the workchain will perform a meta-convergence on the cell volume.
metadata: optional
relaxation_scheme: optional Str The relaxation scheme to use: choose either `relax` or `vc-relax` for varia ...
volume_convergence: optional Float The volume difference threshold between two consecutive meta convergence it ...
To view this discussion on the web visit https://groups.google.com/d/msgid/aiidausers/38ea1472-e031-42ff-8d61-9c0266680754n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aiidausers/64b585a0-8cb7-4437-a647-d9d25d520a34n%40googlegroups.com.
# if num_machines is None or max_wallclock_seconds is None:
if max_wallclock_seconds is None:
You received this message because you are subscribed to a topic in the Google Groups "aiidausers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/aiidausers/TlRN54vCgQ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to aiidausers+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aiidausers/b566fff0-9297-c6fd-3cd4-006949ef9cc3%40epfl.ch.