-
Notifications
You must be signed in to change notification settings - Fork 120
/
nightly.Jenkinsfile
78 lines (76 loc) · 3 KB
/
nightly.Jenkinsfile
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
70
71
72
73
74
75
76
77
78
pipeline {
agent {
label "purdue-cluster"
}
options {
disableConcurrentBuilds()
}
stages {
stage('setup-env') {
steps{
sh 'rm -rf env-setup && git clone [email protected]:purdue-aalp/env-setup.git &&\
cd env-setup && git checkout cluster-ubuntu'
}
}
stage('pull-traces') {
steps{
sh '''#!/bin/bash -xe
rm -rf /scratch/tgrogers-disk01/a/$USER/nightly-traces
mkdir /scratch/tgrogers-disk01/a/$USER/nightly-traces
./get-accel-sim-traces.py -a all/all -d /scratch/tgrogers-disk01/a/$USER/nightly-traces
cd /scratch/tgrogers-disk01/a/$USER/nightly-traces
tar -xzvf cutlass.tgz
rm cutlass.tgz
tar -xzvf deepbench.tgz
rm deepbench.tgz
tar -xzvf parboil.tgz
rm parboil.tgz
tar -xzvf polybench.tgz
rm polybench.tgz
tar -xzvf rodinia_2.0-ft.tgz
rm rodinia_2.0-ft.tgz
tar -xzvf rodinia-3.1.tgz
rm rodinia-3.1.tgz
tar -xzvf ubench.tgz
rm ubench.tgz
'''
}
}
stage('accel-sim-build'){
steps{
sh '''#!/bin/bash -xe
source ./env-setup/11.0_env_setup.sh
rm -rf ./gpu-simulator/gpgpu-sim
source ./gpu-simulator/setup_environment.sh
make -j -C gpu-simulator'''
}
}
/*
stage('nightly-sass'){
steps{
sh '''#!/bin/bash -xe
source ./env-setup/11.0_env_setup.sh
source ./gpu-simulator/setup_environment.sh
./util/job_launching/run_simulations.py -B rodinia-3.1,GPU_Microbenchmark,sdk-4.2-scaled,parboil,polybench,cutlass_5_trace,Deepbench_nvidia_tencore,Deepbench_nvidia_normal -C QV100-SASS-5B_INSN -T ~/../common/accel-sim/traces/tesla-v100/latest/ -N nightly-$$ -M 70G
./util/job_launching/monitor_func_test.py -T 12 -S 1800 -I -v -s nightly-stats-per-app.csv -N nightly-$$'''
}
}
*/
}
post {
success {
emailext body: "See ${BUILD_URL}",
recipientProviders: [[$class: 'CulpritsRecipientProvider'],
[$class: 'RequesterRecipientProvider']],
subject: "[AALP Jenkins] Build #${BUILD_NUMBER} - Success!",
to: '[email protected]'
}
failure {
emailext body: "See ${BUILD_URL}",
recipientProviders: [[$class: 'CulpritsRecipientProvider'],
[$class: 'RequesterRecipientProvider']],
subject: "[AALP Jenkins] Build #${BUILD_NUMBER} - ${currentBuild.result}",
to: '[email protected]'
}
}
}