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

Sketch plan #3

Open
alecandido opened this issue Nov 21, 2024 · 0 comments
Open

Sketch plan #3

alecandido opened this issue Nov 21, 2024 · 0 comments

Comments

@alecandido
Copy link
Owner

The overall idea is to just work locally, and then use a CLI to execute various operations remotely, possibly directly on a given queue.

E.g., for a Qibocal calibration run, contained in the scrip mycal.py, the CLI should

  • take the script as input
  • connect to the configured cluster (config file/env var/option/...) through SSH
    • using the available SSH key, if registered
  • pull the repo with all submodules, and the submodules recursively
  • poetry install on the login node
    • convenient for the QPU nodes, less convenient for simulation and powerful machines - where the installation happens could be configured
  • dispatch a shell script on the queue, which is
    1. activating the environment
    2. setting the required variables (e.g. $QIBOLAB_PLATFORMS)
    3. running python mycal.py
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