cluster.py (11682:612f75cf36a0) cluster.py (11851:824055fe6b30)
1# Copyright (c) 2006-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

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

71
72if args:
73 print "Error: script doesn't take any positional arguments"
74 sys.exit(1)
75
76# --------------------
77# Define Splash2 Benchmarks
78# ====================
1# Copyright (c) 2006-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

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

71
72if args:
73 print "Error: script doesn't take any positional arguments"
74 sys.exit(1)
75
76# --------------------
77# Define Splash2 Benchmarks
78# ====================
79class Cholesky(LiveProcess):
79class Cholesky(Process):
80 executable = options.rootdir + '/kernels/cholesky/CHOLESKY'
81 cmd = 'CHOLESKY -p' + str(options.numcpus) + ' '\
82 + options.rootdir + '/kernels/cholesky/inputs/tk23.O'
83
80 executable = options.rootdir + '/kernels/cholesky/CHOLESKY'
81 cmd = 'CHOLESKY -p' + str(options.numcpus) + ' '\
82 + options.rootdir + '/kernels/cholesky/inputs/tk23.O'
83
84class FFT(LiveProcess):
84class FFT(Process):
85 executable = options.rootdir + 'kernels/fft/FFT'
86 cmd = 'FFT -p' + str(options.numcpus) + ' -m18'
87
85 executable = options.rootdir + 'kernels/fft/FFT'
86 cmd = 'FFT -p' + str(options.numcpus) + ' -m18'
87
88class LU_contig(LiveProcess):
88class LU_contig(Process):
89 executable = options.rootdir + 'kernels/lu/contiguous_blocks/LU'
90 cmd = 'LU -p' + str(options.numcpus)
91
89 executable = options.rootdir + 'kernels/lu/contiguous_blocks/LU'
90 cmd = 'LU -p' + str(options.numcpus)
91
92class LU_noncontig(LiveProcess):
92class LU_noncontig(Process):
93 executable = options.rootdir + 'kernels/lu/non_contiguous_blocks/LU'
94 cmd = 'LU -p' + str(options.numcpus)
95
93 executable = options.rootdir + 'kernels/lu/non_contiguous_blocks/LU'
94 cmd = 'LU -p' + str(options.numcpus)
95
96class Radix(LiveProcess):
96class Radix(Process):
97 executable = options.rootdir + 'kernels/radix/RADIX'
98 cmd = 'RADIX -n524288 -p' + str(options.numcpus)
99
97 executable = options.rootdir + 'kernels/radix/RADIX'
98 cmd = 'RADIX -n524288 -p' + str(options.numcpus)
99
100class Barnes(LiveProcess):
100class Barnes(Process):
101 executable = options.rootdir + 'apps/barnes/BARNES'
102 cmd = 'BARNES'
103 input = options.rootdir + 'apps/barnes/input.p' + str(options.numcpus)
104
101 executable = options.rootdir + 'apps/barnes/BARNES'
102 cmd = 'BARNES'
103 input = options.rootdir + 'apps/barnes/input.p' + str(options.numcpus)
104
105class FMM(LiveProcess):
105class FMM(Process):
106 executable = options.rootdir + 'apps/fmm/FMM'
107 cmd = 'FMM'
108 input = options.rootdir + 'apps/fmm/inputs/input.2048.p' + str(options.numcpus)
109
106 executable = options.rootdir + 'apps/fmm/FMM'
107 cmd = 'FMM'
108 input = options.rootdir + 'apps/fmm/inputs/input.2048.p' + str(options.numcpus)
109
110class Ocean_contig(LiveProcess):
110class Ocean_contig(Process):
111 executable = options.rootdir + 'apps/ocean/contiguous_partitions/OCEAN'
112 cmd = 'OCEAN -p' + str(options.numcpus)
113
111 executable = options.rootdir + 'apps/ocean/contiguous_partitions/OCEAN'
112 cmd = 'OCEAN -p' + str(options.numcpus)
113
114class Ocean_noncontig(LiveProcess):
114class Ocean_noncontig(Process):
115 executable = options.rootdir + 'apps/ocean/non_contiguous_partitions/OCEAN'
116 cmd = 'OCEAN -p' + str(options.numcpus)
117
115 executable = options.rootdir + 'apps/ocean/non_contiguous_partitions/OCEAN'
116 cmd = 'OCEAN -p' + str(options.numcpus)
117
118class Raytrace(LiveProcess):
118class Raytrace(Process):
119 executable = options.rootdir + 'apps/raytrace/RAYTRACE'
120 cmd = 'RAYTRACE -p' + str(options.numcpus) + ' ' \
121 + options.rootdir + 'apps/raytrace/inputs/teapot.env'
122
119 executable = options.rootdir + 'apps/raytrace/RAYTRACE'
120 cmd = 'RAYTRACE -p' + str(options.numcpus) + ' ' \
121 + options.rootdir + 'apps/raytrace/inputs/teapot.env'
122
123class Water_nsquared(LiveProcess):
123class Water_nsquared(Process):
124 executable = options.rootdir + 'apps/water-nsquared/WATER-NSQUARED'
125 cmd = 'WATER-NSQUARED'
126 input = options.rootdir + 'apps/water-nsquared/input.p' + str(options.numcpus)
127
124 executable = options.rootdir + 'apps/water-nsquared/WATER-NSQUARED'
125 cmd = 'WATER-NSQUARED'
126 input = options.rootdir + 'apps/water-nsquared/input.p' + str(options.numcpus)
127
128class Water_spatial(LiveProcess):
128class Water_spatial(Process):
129 executable = options.rootdir + 'apps/water-spatial/WATER-SPATIAL'
130 cmd = 'WATER-SPATIAL'
131 input = options.rootdir + 'apps/water-spatial/input.p' + str(options.numcpus)
132
133
134# --------------------
135# Base L1 Cache Definition
136# ====================

--- 165 unchanged lines hidden ---
129 executable = options.rootdir + 'apps/water-spatial/WATER-SPATIAL'
130 cmd = 'WATER-SPATIAL'
131 input = options.rootdir + 'apps/water-spatial/input.p' + str(options.numcpus)
132
133
134# --------------------
135# Base L1 Cache Definition
136# ====================

--- 165 unchanged lines hidden ---