You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that `-v /etc/localtime:/etc/localtime` is necessary to synchronize the time zone in the container with the host machine.
96
-
97
-
4. Optional: Publish the container privately to NERSC registry (https://registry.nersc.gov):
98
-
```console
99
-
docker login registry.nersc.gov
100
-
# Username: your NERSC username
101
-
# Password: your NERSC password without 2FA
102
-
```
103
-
```console
104
-
docker tag synapse-gui:latest registry.nersc.gov/m558/superfacility/synapse-gui:latest
105
-
docker tag synapse-gui:latest registry.nersc.gov/m558/superfacility/synapse-gui:$(date "+%y.%m")
106
-
docker push -a registry.nersc.gov/m558/superfacility/synapse-gui
107
-
```
108
-
This has been also automated through the Python script [publish_container.py](https://github.com/BLAST-AI-ML/synapse/blob/main/publish_container.py), which can be executed via
109
-
```console
110
-
python publish_container.py --gui
111
-
```
112
-
113
-
5. Optional: From time to time, as you develop the container, you might want to prune old, unused images to get back GBytes of storage on your development machine:
114
-
```console
115
-
docker system prune -a
116
-
```
117
-
118
-
### How to get the Superfacility API credentials
96
+
# Run the Dashboard at NERSC
97
+
98
+
Connect to the [dashboard](https://bellasuperfacility.lbl.gov/) deployed at NERSC through Spin and play around!
99
+
Remember that you need to upload valid Superfacility API credentials in order to launch simulations or train ML models directly from the dashboard.
100
+
101
+
# Get the Superfacility API Credentials
119
102
120
103
Following the instructions at [docs.nersc.gov/services/sfapi/authentication/#client](https://docs.nersc.gov/services/sfapi/authentication/#client):
121
104
@@ -127,15 +110,89 @@ Following the instructions at [docs.nersc.gov/services/sfapi/authentication/#cli
127
110
128
111
4. Enter a client name (e.g., "Synapse"), choose `sf558` for the user, choose "Red" security level, and select either "Your IP" or "Spin" from the "IP Presets" menu, depending on whether the key will be used from a local computer or from Spin.
129
112
130
-
5. Download the private key file (in pem format) and save it as `priv_key.pem` in the root directory of the GUI.
131
-
Each time the GUI is launched, it will automatically find the existing key file and load the corresponding credentials.
113
+
5. Download the private key file (in pem format) and save it as `priv_key.pem` in the root directory of the dashboard.
114
+
Each time the dashboard is launched, it will automatically find the existing key file and load the corresponding credentials.
132
115
133
116
6. Copy your client ID and add it on the first line of your private key file as described in the instructions at [nersc.github.io/sfapi_client/quickstart/#storing-keys-in-files](https://nersc.github.io/sfapi_client/quickstart/#storing-keys-in-files):
134
-
```
135
-
randmstrgz
136
-
-----BEGIN RSA PRIVATE KEY-----
137
-
...
138
-
-----END RSA PRIVATE KEY-----
139
-
```
117
+
```
118
+
randmstrgz
119
+
-----BEGIN RSA PRIVATE KEY-----
120
+
...
121
+
-----END RSA PRIVATE KEY-----
122
+
```
140
123
141
124
7. Run `chmod 600 priv_key.pem` to change the permissions of your private key file to read/write only.
0 commit comments