run.py (11682:612f75cf36a0) run.py (11851:824055fe6b30)
1# Copyright (c) 2005-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 63 unchanged lines hidden (view full) ---

72
73if not options.numcpus:
74 print "Specify the number of cpus with -n"
75 sys.exit(1)
76
77# --------------------
78# Define Splash2 Benchmarks
79# ====================
1# Copyright (c) 2005-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 63 unchanged lines hidden (view full) ---

72
73if not options.numcpus:
74 print "Specify the number of cpus with -n"
75 sys.exit(1)
76
77# --------------------
78# Define Splash2 Benchmarks
79# ====================
80class Cholesky(LiveProcess):
80class Cholesky(Process):
81 cwd = options.rootdir + '/kernels/cholesky'
82 executable = options.rootdir + '/kernels/cholesky/CHOLESKY'
83 cmd = ['CHOLESKY', '-p' + str(options.numcpus),
84 options.rootdir + '/kernels/cholesky/inputs/tk23.O']
85
81 cwd = options.rootdir + '/kernels/cholesky'
82 executable = options.rootdir + '/kernels/cholesky/CHOLESKY'
83 cmd = ['CHOLESKY', '-p' + str(options.numcpus),
84 options.rootdir + '/kernels/cholesky/inputs/tk23.O']
85
86class FFT(LiveProcess):
86class FFT(Process):
87 cwd = options.rootdir + '/kernels/fft'
88 executable = options.rootdir + '/kernels/fft/FFT'
89 cmd = ['FFT', '-p', str(options.numcpus), '-m18']
90
87 cwd = options.rootdir + '/kernels/fft'
88 executable = options.rootdir + '/kernels/fft/FFT'
89 cmd = ['FFT', '-p', str(options.numcpus), '-m18']
90
91class LU_contig(LiveProcess):
91class LU_contig(Process):
92 executable = options.rootdir + '/kernels/lu/contiguous_blocks/LU'
93 cmd = ['LU', '-p', str(options.numcpus)]
94 cwd = options.rootdir + '/kernels/lu/contiguous_blocks'
95
92 executable = options.rootdir + '/kernels/lu/contiguous_blocks/LU'
93 cmd = ['LU', '-p', str(options.numcpus)]
94 cwd = options.rootdir + '/kernels/lu/contiguous_blocks'
95
96class LU_noncontig(LiveProcess):
96class LU_noncontig(Process):
97 executable = options.rootdir + '/kernels/lu/non_contiguous_blocks/LU'
98 cmd = ['LU', '-p', str(options.numcpus)]
99 cwd = options.rootdir + '/kernels/lu/non_contiguous_blocks'
100
97 executable = options.rootdir + '/kernels/lu/non_contiguous_blocks/LU'
98 cmd = ['LU', '-p', str(options.numcpus)]
99 cwd = options.rootdir + '/kernels/lu/non_contiguous_blocks'
100
101class Radix(LiveProcess):
101class Radix(Process):
102 executable = options.rootdir + '/kernels/radix/RADIX'
103 cmd = ['RADIX', '-n524288', '-p', str(options.numcpus)]
104 cwd = options.rootdir + '/kernels/radix'
105
102 executable = options.rootdir + '/kernels/radix/RADIX'
103 cmd = ['RADIX', '-n524288', '-p', str(options.numcpus)]
104 cwd = options.rootdir + '/kernels/radix'
105
106class Barnes(LiveProcess):
106class Barnes(Process):
107 executable = options.rootdir + '/apps/barnes/BARNES'
108 cmd = ['BARNES']
109 input = options.rootdir + '/apps/barnes/input.p' + str(options.numcpus)
110 cwd = options.rootdir + '/apps/barnes'
111
107 executable = options.rootdir + '/apps/barnes/BARNES'
108 cmd = ['BARNES']
109 input = options.rootdir + '/apps/barnes/input.p' + str(options.numcpus)
110 cwd = options.rootdir + '/apps/barnes'
111
112class FMM(LiveProcess):
112class FMM(Process):
113 executable = options.rootdir + '/apps/fmm/FMM'
114 cmd = ['FMM']
115 if str(options.numcpus) == '1':
116 input = options.rootdir + '/apps/fmm/inputs/input.2048'
117 else:
118 input = options.rootdir + '/apps/fmm/inputs/input.2048.p' + str(options.numcpus)
119 cwd = options.rootdir + '/apps/fmm'
120
113 executable = options.rootdir + '/apps/fmm/FMM'
114 cmd = ['FMM']
115 if str(options.numcpus) == '1':
116 input = options.rootdir + '/apps/fmm/inputs/input.2048'
117 else:
118 input = options.rootdir + '/apps/fmm/inputs/input.2048.p' + str(options.numcpus)
119 cwd = options.rootdir + '/apps/fmm'
120
121class Ocean_contig(LiveProcess):
121class Ocean_contig(Process):
122 executable = options.rootdir + '/apps/ocean/contiguous_partitions/OCEAN'
123 cmd = ['OCEAN', '-p', str(options.numcpus)]
124 cwd = options.rootdir + '/apps/ocean/contiguous_partitions'
125
122 executable = options.rootdir + '/apps/ocean/contiguous_partitions/OCEAN'
123 cmd = ['OCEAN', '-p', str(options.numcpus)]
124 cwd = options.rootdir + '/apps/ocean/contiguous_partitions'
125
126class Ocean_noncontig(LiveProcess):
126class Ocean_noncontig(Process):
127 executable = options.rootdir + '/apps/ocean/non_contiguous_partitions/OCEAN'
128 cmd = ['OCEAN', '-p', str(options.numcpus)]
129 cwd = options.rootdir + '/apps/ocean/non_contiguous_partitions'
130
127 executable = options.rootdir + '/apps/ocean/non_contiguous_partitions/OCEAN'
128 cmd = ['OCEAN', '-p', str(options.numcpus)]
129 cwd = options.rootdir + '/apps/ocean/non_contiguous_partitions'
130
131class Raytrace(LiveProcess):
131class Raytrace(Process):
132 executable = options.rootdir + '/apps/raytrace/RAYTRACE'
133 cmd = ['RAYTRACE', '-p' + str(options.numcpus),
134 options.rootdir + '/apps/raytrace/inputs/teapot.env']
135 cwd = options.rootdir + '/apps/raytrace'
136
132 executable = options.rootdir + '/apps/raytrace/RAYTRACE'
133 cmd = ['RAYTRACE', '-p' + str(options.numcpus),
134 options.rootdir + '/apps/raytrace/inputs/teapot.env']
135 cwd = options.rootdir + '/apps/raytrace'
136
137class Water_nsquared(LiveProcess):
137class Water_nsquared(Process):
138 executable = options.rootdir + '/apps/water-nsquared/WATER-NSQUARED'
139 cmd = ['WATER-NSQUARED']
140 if options.numcpus==1:
141 input = options.rootdir + '/apps/water-nsquared/input'
142 else:
143 input = options.rootdir + '/apps/water-nsquared/input.p' + str(options.numcpus)
144 cwd = options.rootdir + '/apps/water-nsquared'
145
138 executable = options.rootdir + '/apps/water-nsquared/WATER-NSQUARED'
139 cmd = ['WATER-NSQUARED']
140 if options.numcpus==1:
141 input = options.rootdir + '/apps/water-nsquared/input'
142 else:
143 input = options.rootdir + '/apps/water-nsquared/input.p' + str(options.numcpus)
144 cwd = options.rootdir + '/apps/water-nsquared'
145
146class Water_spatial(LiveProcess):
146class Water_spatial(Process):
147 executable = options.rootdir + '/apps/water-spatial/WATER-SPATIAL'
148 cmd = ['WATER-SPATIAL']
149 if options.numcpus==1:
150 input = options.rootdir + '/apps/water-spatial/input'
151 else:
152 input = options.rootdir + '/apps/water-spatial/input.p' + str(options.numcpus)
153 cwd = options.rootdir + '/apps/water-spatial'
154

--- 131 unchanged lines hidden ---
147 executable = options.rootdir + '/apps/water-spatial/WATER-SPATIAL'
148 cmd = ['WATER-SPATIAL']
149 if options.numcpus==1:
150 input = options.rootdir + '/apps/water-spatial/input'
151 else:
152 input = options.rootdir + '/apps/water-spatial/input.p' + str(options.numcpus)
153 cwd = options.rootdir + '/apps/water-spatial'
154

--- 131 unchanged lines hidden ---