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

Interactive parts of code (dem download) fail on cluster (slurm batch job) #35

Open
joelfiddes opened this issue Apr 11, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@joelfiddes
Copy link
Collaborator

Use case: start new job as a slurm batch job on a cluster without dem
What happens? fails as interactive statement "do you want to download..." can not be handled in a batch job

Solutions:

  1. use keyword in config file
  2. decide we do not support this usecase
@joelfiddes joelfiddes added the bug Something isn't working label Apr 11, 2022
@ArcticSnow
Copy link
Owner

Good point. What about if we add a flag in the YML file called interactive_shell: True?
Simon

@joelfiddes
Copy link
Collaborator Author

good idea - also may be other cases as we go on. What do we do if false? we would then need to specify through keywords. Could be a separate section thats dedicated to non interactive mode

@ArcticSnow
Copy link
Owner

We can simply have an if statement checking for that flag right before the ìnput()`command. But then if it does not find the files it automatically downloads. Sounds good?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants