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: content/docs/software-on-jasmin/rocky9-migration-2024.md
+20-11Lines changed: 20 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -329,29 +329,38 @@ There are 3 partitions currently available on LOTUS2, with associated allowed qu
329
329
330
330
#### Job submission
331
331
332
-
In order to successfully submit a job to LOTUS2, 3 mandatory fields must be specified. These are a partition, an account, and a QoS. The LOTUS2 configuration has been set to use the `standard` partition as the default if none is specified. However, users are discouraged from relying on this.
332
+
In order to successfully submit a job to LOTUS2, 3 mandatory fields must be specified. These are a partition, an account, and a QoS. The LOTUS2 configuration has been set to use the `standard` partition as the default if none is specified. However, users are discouraged from relying on the default.
333
333
334
-
Example of a batch Script:
334
+
Example of a batch Script:**NB: remove any trailing whitespace**
335
335
336
-
**NB: remove any trailing whitespace**
336
+
Replace `mygws` with the name of an account that you belong to (check with the `useraccounts` command, as shown above), and other values appropriate to your job.
337
337
338
338
```bash
339
339
#!/bin/bash
340
-
#SBATCH --job-name="Job Name"
341
-
#SBATCH --time=<wall time required>
342
-
#SBATCH --mem=<memory required>
343
-
#SBATCH --cpus=<cpus required for multicore jobs e.g. MPI>
344
-
#SBATCH --account=<account_name>
345
-
#SBATCH --partition=<partition_name>
346
-
#SBATCH --qos=<qos_name>
340
+
#SBATCH --job-name="My test job"
341
+
#SBATCH --time=01:00
342
+
#SBATCH --mem=1G
343
+
#SBATCH --account=mygws
344
+
#SBATCH --partition=debug
345
+
#SBATCH --qos=debug
347
346
348
347
# rest of script here
349
348
```
350
349
350
+
351
+
Save this script file as e.g.`test_submit.sh`
352
+
Then submit this with:
353
+
354
+
{{<commanduser="user"host="host1000">}}
355
+
sbatch test_submit.sh
356
+
{{</command>}}
357
+
351
358
For a pseudo-interactive session on a LOTUS2 compute node:
352
359
360
+
(again, replace `mygws` with an account that you belong to, from the `useraccounts` command)
0 commit comments