-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
69 lines (50 loc) · 2.09 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---------------------------
Setting up your environment
---------------------------
To set up your environment for this assignment to support OpenMP development,
put the following commands in your .bashrc or .cshrc or run them every time
you log in:
module use /projects/comp422/modulefiles
module load assignment2
module load hpctoolkit
---------------------------
Contents of this directory
---------------------------
interactive.sh:
a command that you can source to get a command line prompt
in the interactive queue on a compute node
usage:
source interactive.sh
reservation.sh:
a command that you can source to get a command line prompt
in the interactive queue on a compute node using the class
reservation
usage:
source reservation.sh
display.sh:
to understand thread affinity, execute the command below to set your
environment variables to display information about OpenMP thread bindings.
when you run programs with these settings, the OpenMP runtime will
describe HW thread bindings for OpenMP worker threads.
usage:
source display.sh
/projects/comp422/affinity/affinity
this program will show how many threads are available and
what hardware threads each software thread may run on.
this utility can be used to make sure that your slurm command
configured the node appropriately for your experiments.
lu-omp.cpp: template for OpenMP solution
Makefile:
a Makefile that includes recipes for building and running your program
usage:
make # builds your code
make runp # runs a parallel version of your code on W workers
make runs # runs a serial version of your code on one worker
make check # runs your parallel code with Intel Thread Checker
make view # inspect the results of make check with Intel's GUI.
note: this command will only work on the login node displaying using X11
submit.sbatch:
a script that you can use to launch a batch job that will execute
a series of tests on 1..32 threads on a compute node
usage:
sbatch submit.sbatch