Skip to content
Snippets Groups Projects
Commit 982644c2 authored by Kjartan Thor Wikfeldt's avatar Kjartan Thor Wikfeldt
Browse files

add instructions for compiling code first

parent 36f29c0a
Branches
No related tags found
No related merge requests found
...@@ -22,16 +22,21 @@ The Cray automatically loads several [modules](https://www.pdc.kth.se/support/do ...@@ -22,16 +22,21 @@ The Cray automatically loads several [modules](https://www.pdc.kth.se/support/do
- Heimdal - [Kerberos commands](https://www.pdc.kth.se/support/documents/login/login.html#general-information-about-kerberos) - Heimdal - [Kerberos commands](https://www.pdc.kth.se/support/documents/login/login.html#general-information-about-kerberos)
- OpenAFS - [AFS commands](https://www.pdc.kth.se/support/documents/data_management/afs.html) - OpenAFS - [AFS commands](https://www.pdc.kth.se/support/documents/data_management/afs.html)
- SLURM - [batch jobs](https://www.pdc.kth.se/support/documents/run_jobs/queueing_jobs.html) and [interactive jobs](https://www.pdc.kth.se/support/documents/run_jobs/run_interactively.html) - SLURM - [batch jobs](https://www.pdc.kth.se/support/documents/run_jobs/queueing_jobs.html) and [interactive jobs](https://www.pdc.kth.se/support/documents/run_jobs/run_interactively.html)
- Software development - [Programming environments and compilers](https://www.pdc.kth.se/support/documents/software_development/development.html)
# Running OpenMP programs on Beskow # Running OpenMP programs on Beskow
First it is necessary to book a node for interactive use: After having compiled your code with the
[correct compilers flags for OpenMP](https://www.pdc.kth.se/support/documents/software_development/development.html),
it is necessary to book a node for interactive use:
``` ```
salloc -A <allocation-name> -N 1 -t 1:0:0 salloc -A <allocation-name> -N 1 -t 1:0:0
``` ```
You might also need to specify a **reservation** by adding the flag
``--reservation=<name-of-reservation>``.
An environment variable specifying the number of threads should also be set: An environment variable specifying the number of threads should also be set:
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment