2 scratch = &getenv(
"HOME")/mtt-scratch
3 logfile = &scratch_root()/mtt_output.log
6 params = -mca btl_openib_warn_default_gid_prefix 0 -mca spml yoda -mca pml ob1
8 export OSHMEM_HOME=&test_prefix()
9 export EXE=&test_executable_abspath()
11 $OSHMEM_HOME/bin/shmemrun -np &test_np() @params@ $EXE &test_argv()
22 scm_url = http://svn.open-mpi.org/svn/ompi/trunk
28 [MPI Install: oshmem_gcc]
30 ompi_compiler_name = gnu
31 ompi_configure_arguments = --enable-mpirun-prefix-by-default --enable-orterun-prefix-by-default --with-openib --with-pmi --enable-oshmem --with-oshmem-param-check
33 ompi_make_all_arguments = -j &get_processor_count()
35 save_stdout_on_success = 1
36 merge_stdout_stderr = 1
42 [Test get: oshmem_test_suite]
45 scm_url = https://svn.open-mpi.org/svn/ompi-tests/trunk/openshmem-release-1.0d/
47 scm_username = ...put
in your username here...
48 scm_password = ...put
in your password here...
54 [Test build: oshmem_test_suite]
55 include_files = openshmem_tests_patch.ini
56 test_get = oshmem_test_suite
57 save_stdout_on_success = 1
58 merge_stdout_stderr = 1
61 shell_build_command = <<EOT
65 &get_ini_val(
'Test build: oshmem_test_suite',
'shmem_2dheat_patch')
67 patch shmem_2dheat.c ./patch
68 sed -i
's/#include <stdio.h>/#include <stdio.h>\n#include <sys\/time.h>\n/g' ./shmem_daxpy.c
71 &get_ini_val(
'Test build: oshmem_test_suite',
'shmem_zeroget_patch')
73 patch test_shmem_zero_get.c ./patch
74 sed -i
's/#include <stdio.h>/#include <stdio.h>\n#include <sys\/time.h>\n/g' ./test_shmem_synchronization.c
76 cd performance_tests/micro_benchmarks
77 sed -i
's/#include <stdio.h>/#include <stdio.h>\n#include <sys\/time.h>\n/g' ./barrier_performance.c
80 make examples CC=&test_prefix_pretty()/bin/shmemcc
81 make C_feature_tests CC=&test_prefix_pretty()/bin/shmemcc
82 make micro_bench CC=&test_prefix_pretty()/bin/shmemcc
83 make F_feature_tests SHMEM_F90=&test_prefix_pretty()/bin/shmemfort
92 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 0))
93 specify_module = Simple
94 save_stdout_on_pass = 1
95 stdout_save_lines = -1
96 merge_stdout_stderr = 1
99 [oshmem_test_suite_common]
100 test_build = oshmem_test_suite
101 include_section = Test run
105 [Test run: oshmem_test_suite_examples]
106 include_section = Test run
107 test_build = oshmem_test_suite
108 simple_first:tests = &find_executables(
"examples/")
109 simple_first:argv = &enumerate(
"10 10")
114 [Test run: oshmem_test_suite_C_feature_tests]
115 include_section = oshmem_test_suite_common
116 simple_first:tests = &find_executables(
"feature_tests/C/")
118 [Test run: oshmem_test_suite_Fortran_accessibility]
119 include_section = oshmem_test_suite_common
120 simple_first:tests = &find_executables_regexp(
'.*[.]x$',
"feature_tests/Fortran/accessibility")
122 [Test run: oshmem_test_suite_Fortran_alloc]
123 include_section = oshmem_test_suite_common
124 simple_first:tests = &find_executables_regexp(
'.*shpalloc_0[^3].*[.]x$',
"feature_tests/Fortran/alloc")
126 [Test run: oshmem_test_suite_Fortran_atomic_add]
127 include_section = oshmem_test_suite_common
128 simple_first:tests = &find_executables_regexp(
'add_0[^45].*[.]x$',
"feature_tests/Fortran/atomic")
130 [Test run: oshmem_test_suite_Fortran_atomic_cswap]
131 include_section = oshmem_test_suite_common
132 simple_first:tests = &find_executables_regexp(
'cswap_0[^45].*[.]x$',
"feature_tests/Fortran/atomic")
134 [Test run: oshmem_test_suite_Fortran_atomic_fadd]
135 include_section = oshmem_test_suite_common
136 simple_first:tests = &find_executables_regexp(
'test_shmem_fadd.*[.]x$',
"feature_tests/Fortran/atomic")
138 [Test run: oshmem_test_suite_Fortran_atomic_finc]
139 include_section = oshmem_test_suite_common
140 simple_first:tests = &find_executables_regexp(
'finc_0[^45].*[.]x$',
"feature_tests/Fortran/atomic")
142 [Test run: oshmem_test_suite_Fortran_atomic_inc]
143 include_section = oshmem_test_suite_common
144 simple_first:tests = &find_executables_regexp(
'inc_0[^45].*[.]x$',
"feature_tests/Fortran/atomic")
146 [Test run: oshmem_test_suite_Fortran_atomic_swap]
147 include_section = oshmem_test_suite_common
148 simple_first:tests = &find_executables_regexp(
'swap_0[^45].*[.]x$',
"feature_tests/Fortran/atomic")
150 [Test run: oshmem_test_suite_Fortran_barrier]
151 include_section = oshmem_test_suite_common
152 simple_first:tests = &find_executables_regexp(
'.*barrier.*_0[^3].*[.]x$',
"feature_tests/Fortran/barrier")
154 [Test run: oshmem_test_suite_Fortran_collect]
155 simple_first:tests = &find_executables_regexp(
'.*collect_0[^4].*[.]x$',
"feature_tests/Fortran/collect")
156 include_section = oshmem_test_suite_common
158 [Test run: oshmem_test_suite_Fortran_reductions]
159 include_section = oshmem_test_suite_common
160 simple_first:tests = &find_executables_regexp(
'.*[.]x$',
"feature_tests/Fortran/reductions")
162 [Test run: oshmem_test_suite_Fortran_transfer]
163 include_section = oshmem_test_suite_common
164 simple_first:tests = &find_executables_regexp(
'test_shmem_[^pi][^ug].*[.]x$',
"feature_tests/Fortran/transfer")
166 [Test run: oshmem_test_suite_Fortran_transfer_put]
167 include_section = oshmem_test_suite_common
168 simple_first:tests = &find_executables_regexp(
'put_0[^45].*[.]x$',
"feature_tests/Fortran/atomic")
170 [Test run: oshmem_test_suite_Fortran_transfer_iget]
171 include_section = oshmem_test_suite_common
172 simple_first:tests = &find_executables_regexp(
'iget_0[^45].*[.]x$',
"feature_tests/Fortran/atomic")
174 [Test run: oshmem_test_suite_Fortran_synchronization]
175 include_section = oshmem_test_suite_common
176 simple_first:tests = &find_executables_regexp(
'(test_shmem_lock.x)|(test_shmem_synchronization.x)',
"feature_tests/Fortran")
178 [Test run: oshmem_test_suite_Fortran_alloc_fail]
179 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 255))
180 include_section = oshmem_test_suite_common
181 simple_first:tests = &find_executables_regexp(
'.*shpalloc_03.*[.]x$',
"feature_tests/Fortran/alloc")
183 [Test run: oshmem_test_suite_Fortran_atomic_add_fail]
184 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 255))
185 include_section = oshmem_test_suite_common
186 simple_first:tests = &find_executables_regexp(
'add_0(4|5).*[.]x$',
"feature_tests/Fortran/atomic")
188 [Test run: oshmem_test_suite_Fortran_atomic_cswap_fail]
189 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 255))
190 include_section = oshmem_test_suite_common
191 simple_first:tests = &find_executables_regexp(
'cswap_0(4|5).*[.]x$',
"feature_tests/Fortran/atomic")
193 [Test run: oshmem_test_suite_Fortran_atomic_finc_fail]
194 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 255))
195 include_section = oshmem_test_suite_common
196 simple_first:tests = &find_executables_regexp(
'finc_0(4|5).*[.]x$',
"feature_tests/Fortran/atomic")
198 [Test run: oshmem_test_suite_Fortran_atomic_inc_fail]
199 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 255))
200 include_section = oshmem_test_suite_common
201 simple_first:tests = &find_executables_regexp(
'inc_0(4|5).*[.]x$',
"feature_tests/Fortran/atomic")
203 [Test run: oshmem_test_suite_Fortran_atomic_swap_fail]
204 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 255))
205 include_section = oshmem_test_suite_common
206 simple_first:tests = &find_executables_regexp(
'swap_0(4|5).*[.]x$',
"feature_tests/Fortran/atomic")
208 [Test run: oshmem_test_suite_Fortran_transfer_put_fail]
209 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 255))
210 include_section = oshmem_test_suite_common
211 simple_first:tests = &find_executables_regexp(
'put_0(4|5).*[.]x$',
"feature_tests/Fortran/atomic")
213 [Test run: oshmem_test_suite_Fortran_transfer_iget_fail]
214 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 255))
215 include_section = oshmem_test_suite_common
216 simple_first:tests = &find_executables_regexp(
'iget_0(4|5).*[.]x$',
"feature_tests/Fortran/atomic")
218 [Test run: oshmem_test_suite_Fortran_barrier_timeout]
219 include_section = oshmem_test_suite_common
220 simple_first:tests = &find_executables_regexp(
'.*barrier.*_03.*[.]x$',
"feature_tests/Fortran/barrier")
222 [Test run: oshmem_test_suite_Fortran_collect_timeout]
223 simple_first:tests = &find_executables_regexp(
'.*collect_04.*[,]x$',
"feature_tests/Fortran/collect")
224 include_section = oshmem_test_suite_common
226 [Test run: oshmem_test_suite_performance_tests]
227 include_section = Test run
228 test_build = oshmem_test_suite
229 simple_first:tests = &find_executables_regexp(
'(.*barrier.*)|(.*broadcast.*)|(.*get.*)|(.*put.*)',
"performance_tests/micro_benchmarks/")
237 [Reporter: text file backup]
240 textfile_filename = $phase-$section-$mpi_name-$mpi_version.txt
242 textfile_summary_header = <<EOT
243 Hostname: &shell(
"hostname")
244 uname: &shell(
"uname -a")
245 Username: &shell(
"who am i")
248 textfile_summary_footer = <<EOT
249 Detailed report at &get_ini_val(
"mtt",
"scratch_root")
251 textfile_detail_header = oshmem
from ompi trunk
252 textfile_detail_footer =
254 textfile_textwrap = 78