From 982644c2e37d744ee7aaaa76f00ec95820704f23 Mon Sep 17 00:00:00 2001 From: Kjartan Thor Wikfeldt <ktwikfeldt@gmail.com> Date: Wed, 14 Aug 2019 08:51:41 +0200 Subject: [PATCH] add instructions for compiling code first --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 133ba9c..3322300 100644 --- a/README.md +++ b/README.md @@ -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) - 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) - +- Software development - [Programming environments and compilers](https://www.pdc.kth.se/support/documents/software_development/development.html) # 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 ``` +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: ``` -- GitLab