Skip to content

Jobs except during parsing - entry point missing #22

Open
@asgotz

Description

@asgotz

I tried to use the example from the documentation to run a python script on a remote computer. I have the class EigenValue(CalcJobPython) and I run it as

calculation = EigenValue
builder = calculation.get_builder()
... # Setting builder parameters
node = engine.submit(calculation, **builder)

The job runs, but excepts during parsing on line 35 of aiida_python.parser.py:
docs = CalculationFactory(
self.node.process_type.split('.')[-1]).run_python.doc
The error is
IndexError: list index out of range
because there is no '.' in process_type.

However, in any case using CalculationFactory does not work in my setup since there is no registered entry point for my class EigenValue. How should I go about registering that? What would be the correct way of submitting remote jobs? I cannot find any example of a script which actually submits a job in the examples folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions