Skip to content

Commit

Permalink
cscs-daint use open_app to automatically install and open mfa app
Browse files Browse the repository at this point in the history
* Use same computer-configure for mc and gpu on daint-cscs
  • Loading branch information
unkcpz committed Nov 10, 2023
1 parent 0d45628 commit 0f4758b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion daint.cscs.ch/gpu/computer-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ metadata:
<p>
<a href="https://user.cscs.ch/access/running/piz_daint/" target="_blank">Piz Daint</a> supercomputer at CSCS Lugano, Switzerland, hybrid partition. <br>
The CSCS now require MFA to login, please check the <a href="https://user.cscs.ch/access/auth/mfa/" target="_blank">MFA CSCS documentation</a> for details on how to set up SSH connection. <br>
If you are using the AiiDAlab, please use the <a href="https://github.com/aiidalab/aiidalab-mfa-cscs" target="_blank">MFA CSCS plugin</a> to set SSH connection.
If you are using the AiiDAlab, <a href="/apps/apps/home/open_app.ipynb?app=mfa-cscs&redirect=apps/apps/home/start.ipynb" target="_blank">use the MFA CSCS app</a> to set SSH connection.
</p>
template_variables:
label:
Expand Down
6 changes: 4 additions & 2 deletions daint.cscs.ch/mc/computer-configure.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
username: '{{ username }}'
safe_interval: 60
proxy_command: ssh -q -Y {{ username }}@ela.cscs.ch netcat daint.cscs.ch 22
safe_interval: 10
proxy_command: ssh -q -Y {username}@ela.cscs.ch netcat daint.cscs.ch 22
key_filename: ~/.ssh/cscs-key
key_policy: AutoAddPolicy
metadata:
tooltip: |
<p>
Expand Down
2 changes: 1 addition & 1 deletion daint.cscs.ch/mc/computer-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:
<p>
<a href="https://user.cscs.ch/access/running/piz_daint/" target="_blank">Piz Daint</a> supercomputer at CSCS Lugano, Switzerland, hybrid partition. <br>
The CSCS now require MFA to login, please check the <a href="https://user.cscs.ch/access/auth/mfa/" target="_blank">MFA CSCS documentation</a> for details on how to set up SSH connection. <br>
If you are using the AiiDAlab, please use the <a href="https://github.com/aiidalab/aiidalab-mfa-cscs" target="_blank">MFA CSCS plugin</a> to set SSH connection.
If you are using the AiiDAlab, <a href="/apps/apps/home/open_app.ipynb?app=mfa-cscs&redirect=apps/apps/home/start.ipynb" target="_blank">use the MFA CSCS app</a> to set SSH connection.
</p>
template_variables:
label:
Expand Down

0 comments on commit 0f4758b

Please sign in to comment.