Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jobs except during parsing - entry point missing #22

Open
asgotz opened this issue May 21, 2024 · 0 comments
Open

Jobs except during parsing - entry point missing #22

asgotz opened this issue May 21, 2024 · 0 comments

Comments

@asgotz
Copy link

asgotz commented May 21, 2024

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.

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

No branches or pull requests

1 participant