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
Copy file name to clipboardExpand all lines: docs/software/gssr/containers.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,9 @@ RUN pip install gssr
30
30
# Install your application and dependencies as required
31
31
...
32
32
```
33
-
As you can see from the above example, gssr can easily be installed with a `RUN pip install gssr` command. Your application and dependencies should be written where the `...` is.
33
+
As you can see from the above example, gssr can easily be installed with a `RUN pip install gssr` command.
34
34
35
-
Once your `ContainerFile` is ready, you can build it on any Alps platform with the following commands to create a container with label `mycontainer`.
35
+
Once your `ContainerFile` is ready, you can build it on any Alps platforms with the following commands to create a container with label `mycontainer`.
36
36
37
37
```bash
38
38
srun -A {groupID} --pty bash
@@ -47,7 +47,7 @@ Now you should have a sqsh file of your container. Please note that you should r
47
47
48
48
## Create CSCS configuration for Container
49
49
50
-
Now you only need to tell CSCS container engine solution where your container is and how you would like to run it. To do so, you will have to create a`{label}.toml` file in your `$HOME/.edf` directory.
50
+
The next step is to tell CSCS container engine solution where your container is and how you would like to run it. To do so, you will have to create a`{label}.toml` file in your `$HOME/.edf` directory.
51
51
52
52
### Example of a `mycontainer.toml` file
53
53
```
@@ -95,11 +95,11 @@ Now you are ready to submit your sbatch file to slurm with `sbatch` command.
95
95
96
96
## Analyze the output
97
97
98
-
Once your job successfully concluded. You should find a folder named `profile_out_{slurm_jobid}` where `gssr` json output is in. To generate output for analysis.
98
+
Once your job successfully concluded, you should find a folder named `profile_out_{slurm_jobid}` where `gssr` json outputs are in.
99
99
100
-
To do so, you can do so interactively within your container where `gssr` is installed.
100
+
To analyze the outputs, you can do so interactively within any containers where `gssr` is installed, e.g., `mycontainer` we have in this guide.
101
101
102
-
To get an interactive session of our container
102
+
To get an interactive session of this container:
103
103
104
104
```
105
105
srun -A groupname --environment=mycontainer --pty bash
0 commit comments