forked from lanl/Draco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
67 lines (50 loc) · 2.01 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
========================================
tools
========================================
========================================
Release Scripts
========================================
The install scripts are desiged for LANL CTS-1, ATS-2 and Cray platforms. They are also provided
for LLNL ATS-2 and LANL's Darwin machine.
Assumptions:
1. Directory layout:
/usr/projects/draco/draco-NN_NN_NN/
scripts/release.sh # the main release script
logs/ # build/test logs
source # git checkout of release branch
flavor/opt|debug|rwdi # released libraries/headers
2. Assumes that this script lives at the location above when executed.
Usage:
1. Setup release directory:
newgrp ccsrad
umask 027
cd /usr/projects/draco
mkdir draco-NN_NN_NN[-rcNN]
cd draco-NN_NN_NN[-rcNN]
mkdir logs
git clone [email protected]:lanl/Draco.git source
(cd source; git checkout -b draco-NN_NN_NN origin/draco-NN_NN_NN)
2. Update machinefamily settings and configuration option in scripts/<family>-env.sh.
3. Update Draco specific settings in draco-cmake-options.sh
4. Update scripts/*-env.sh scripts to setup modulefiles and configure modes.
5. Build and test the release (run this from the front-end -- except for darwin)
scripts/release.sh &> logs/release-snow.log &
6. Monitor progress as log files are created in the logs directory.
Usage (Darwin):
--------------------
Same as above, except you must already have an allocation and be logged onto the back end before
running the release script.
1. power9
salloc -N 1 -p power9-asc -A asc-priority
cd /usr/projects/draco/draco-7_5_0
source/tools/release.sh &> logs/release-darwin-power9.log &
2. x64 + Volta
salloc -N 1 -p volta-x86 -C cpu_family:haswell
3. ARM
salloc -N 1 -p arm
Usage (ATS-2)
--------------------
Same as above but run the script from within an allocation.
lalloc 1 -W 240
cd /usr/gapps/jayenne/draco-7_8_0
source/tools/release.sh | tee logs/release-rzansel.log