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/compasHPC.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ to your `~/.bash_profile` or equivalent.
79
79
Make a copy of the `stroopwafelInterface.py` file in the `defaults/` folder into your current directory, and set the `run_on_helios` parameter to `True`.
80
80
Set any other stroopwafel parameters as you see fit.
81
81
82
-
If you have many non-default COMPAS arguments, you are encouraged to set them in a `pythonSubmit.py` file in the same directory,
82
+
If you have many non-default COMPAS arguments, you are encouraged to set them in a `runSubmit.py` file in the same directory,
83
83
and set the `usePythonSubmit` parameter to `True`.
This time we not only want to get the output from COMPAS on the host machine, we also want to supply a `pythonSubmit.py` to the container from the host machine.
77
+
This time we not only want to get the output from COMPAS on the host machine, we also want to supply a `runSubmit.py` to the container from the host machine.
@@ -83,13 +83,13 @@ set the environment variable `VAR_VAME` to `value`
83
83
`teamcompas/compas`
84
84
the image to run
85
85
86
-
`python3 /app/starts/pythonSubmit.py`
86
+
`python3 /app/starts/runSubmit.py`
87
87
the command to run when the container starts
88
88
89
89
90
90
#### Run the COMPAS executable
91
91
92
-
To run the COMPAS executable directly (i.e. without `pythonSubmit.py`)
92
+
To run the COMPAS executable directly (i.e. without `runSubmit.py`)
93
93
```
94
94
docker run \
95
95
--rm \
@@ -136,12 +136,12 @@ More info on `docker run` [here](https://docs.docker.com/engine/reference/run/)
136
136
137
137
NOTE 1:
138
138
139
-
Two new environment variables have been added, both of these apply to `pythonSubmit.py` only and are non-breaking changes.
139
+
Two new environment variables have been added, both of these apply to `runSubmit.py` only and are non-breaking changes.
140
140
141
-
`COMPAS_EXECUTABLE_PATH` is an addition to the default `pythonSubmit.py` that overrides where `pythonSubmit.py` looks for the compiled COMPAS.
141
+
`COMPAS_EXECUTABLE_PATH` is an addition to the default `runSubmit.py` that overrides where `runSubmit.py` looks for the compiled COMPAS.
142
142
This override exists purely for ease-of-use from the command line.
143
143
144
-
`COMPAS_LOGS_OUTPUT_DIR_PATH` is also an addition to the default `pythonSubmit.py` that overrides where logs are placed.
144
+
`COMPAS_LOGS_OUTPUT_DIR_PATH` is also an addition to the default `runSubmit.py` that overrides where logs are placed.
145
145
The override exists because the mounted directory (option `-v`) is created before COMPAS runs. COMPAS sees that the directory where it's supposed to put logs already exists, so it created a different (i.e. non-mapped) directory to deposit logs in.
146
146
147
147
@@ -154,16 +154,16 @@ All container output will be hidden.
154
154
An example where this would be useful is if you were running 4 instances of COMPAS at once.
155
155
You could copy/paste the following into the terminal...
0 commit comments