kqcircuits.simulations.export.remote_export_and_run

kqcircuits.simulations.export.remote_export_and_run.remote_export_and_run(ssh_login: str, kqc_remote_tmp_path: str | None = None, detach_simulation: bool = False, poll_interval: int | None = None, export_path_basename: str | None = None, quiet: bool = False, export_only=False, args=None)[source]

Exports locally and runs KQC simulations on a remote host. Froced to use no GUI (–quiet, -q option)

Parameters:
  • ssh_login (str) – ssh login info “user@hostname

  • kqc_remote_tmp_path (str) – tmp directory on remote

  • detach_simulation (bool) – Detach the remote simulation from terminal, not waiting for it to finish

  • poll_interval (int) – Polling interval in seconds when waiting for the remote simulation to finish

  • export_path_basename (str) – Alternative export folder name for the simulation If None, the simulation script name will be used

  • quiet (bool) – if True all the GUI dialogs are shown, otherwise not.

  • export_only (bool) – Only exports the simulation files without running them

  • args (list) – Strings ending with “.py” are interpret as export scripts and the rest are passed as arguments to those scripts.

kqcircuits.simulations.export.remote_export_and_run.remote_run_only(ssh_login: str, kqc_remote_tmp_path: str | None = None, detach_simulation: bool = False, poll_interval: int | None = None, export_tmp_dirs: list | None = None)[source]

Runs already locally exported simulations on remote host

Parameters:
  • ssh_login (str) – ssh login info “user@hostname

  • kqc_remote_tmp_path (str) – tmp directory on remote

  • detach_simulation (bool) – Detach the remote simulation from terminal, not waiting for it to finish

  • poll_interval (int) – Polling interval in seconds when waiting for the remote simulation to finish

  • export_tmp_dirs (list[str]) – list of local tmp simulation folder names Could contain other arguments from console script which are filtered out

../_images/kqcircuits.simulations.export.remote_export_and_run.png