| ... | ... | @@ -11,6 +11,18 @@ This page discusses different computing clusters in general. See [Queue system]( |
|
|
|
* Check how much disc space your files take: `du -hs /n/work01/username`
|
|
|
|
* Check how much disc space is available: `df -h /n/work01/username`
|
|
|
|
|
|
|
|
Queue system: need a _submission script_ that specifies resources your job needs, and tells the system how to run your program. In the simplest case, the submission script can be simply
|
|
|
|
```bash
|
|
|
|
#SBATCH -n 1
|
|
|
|
#SBATCH -t 0-01:00:0
|
|
|
|
./program > outputfile
|
|
|
|
```
|
|
|
|
This reserves 1 cpu for your code, and the code can run for 1hr. If the script above is saved in the file `submit.sh`, you can submit the job to the queue by running
|
|
|
|
```bash
|
|
|
|
sbatch submit.sh
|
|
|
|
```
|
|
|
|
Results (everything the code prints) are saved in file `outputfile`. For more details, see [Cluster/Queue-system]
|
|
|
|
|
|
|
|
## GPU
|
|
|
|
|
|
|
|
* Available from IT, Dana knows
|
| ... | ... | |
| ... | ... | |