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

Can the scheduler and filesystem share the ssh_config? #40

Open
sverhoeven opened this issue Jan 27, 2023 · 0 comments
Open

Can the scheduler and filesystem share the ssh_config? #40

sverhoeven opened this issue Jan 27, 2023 · 0 comments

Comments

@sverhoeven
Copy link
Member

sverhoeven commented Jan 27, 2023

Might be nice to nest filesystem under scheduler. With config file like

destinations:  # or schedulers
 bla:
      type: slurm
      ssh_config:
        hostname: ...
      filesystem:
       type: sftp
       # will get initialized with ssh_config of scheduler

This could combine

  • uploading input files + submit() to scheduler in single call
  • state() == 'ok' + downloading output files in single call.

Also you would only need one instance of ssh_config.

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