pymtt
 All Classes Namespaces Files Functions Variables Groups
intel.ini
Go to the documentation of this file.
1 #
2 # Copyright (c) 2007 Sun Microystems, Inc. All rights reserved.
3 # Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
4 #
5 
6 #
7 # This INI file is an addendum to samples/perl/developer.ini (which only
8 # contains MTT, MPI, and Reporter sections).
9 #
10 # Note that there are many items in this file that, while they are
11 # good for examples, may not work for random MTT users. For example,
12 # the "ompi-tests" SVN repository that is used in the examples below
13 # is *not* a public repository (there's nothing really secret in this
14 # repository; it contains many publicly-available MPI tests and
15 # benchmarks, but we have never looked into the redistribution rights
16 # of these codes, so we keep the SVN repository "closed" to the
17 # general public and only use it internally in the Open MPI project).
18 #
19 # Sample usage:
20 # cat developer.ini intel.ini | client/mtt - alreadyinstalled_dir=/your/install
21 #
22 
23 #----------------------------------------------------------------------
24 
25 [Test get: intel]
26 module = SVN
27 svn_url = https://svn.open-mpi.org/svn/ompi-tests/trunk/intel_tests
28 
29 #----------------------------------------------------------------------
30 
31 [Test build: intel]
32 test_get = intel
33 save_stdout_on_success = 1
34 merge_stdout_stderr = 1
35 stderr_save_lines = 100
36 
37 module = Intel_OMPI_Tests
38 intel_ompi_tests_buildfile = all_tests_no_perf
39 # I am using the g77 compiler, which needs these flags. Your fortran
40 # compiler may need different flags.
41 intel_ompi_tests_fflags = -g -fugly-complex -fno-globals -Wno-globals -Isrc -I.
42 
43 #----------------------------------------------------------------------
44 
45 [Test run: intel]
46 test_build = intel
47 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 0))
48 skipped = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 77))
49 timeout = &max(30, &multiply(10, &test_np()))
50 save_stdout_on_pass = 1
51 merge_stdout_stderr = 1
52 stdout_save_lines = 100
53 # The intel tests have some hard limits at 64 processes. We set
54 # the limit to 60 to be safe.
55 np = &min(60, &env_max_procs())
56 
57 specify_module = Simple
58 # This group of tests uses the defaults from above and should all
59 # return an exit status of 0
60 simple_pass:tests = &find_executables("src")
61 
62 # This group of tests is from the "supposed_to_fail" file, and is
63 # exclusive from the other group (meaning that anything in this group
64 # should be removed from the other group). The programs in the group
65 # should also have a nonzero exit status.
66 simple_fail:tests = &find_executables("src/" . &cat("supposed_to_fail"))
67 simple_fail:pass = &and(&cmd_wifexited(), &ne(&cmd_wexitstatus(), 0))
68 # Setting "exclusive" to 1 means that any tests found in this group
69 # will be removed from all other groups.
70 simple_fail:exclusive = 1
71 
72 # These tests sleep for 90 seconds (!) before attempting to process
73 # any messages. So give it a really long timeout value.
74 simple_really_slow:tests = src/MPI_Isend_flood_c src/MPI_Send_flood_c
75 simple_really_slow:pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 0))
76 simple_really_slow:exclusive = 1
77 simple_really_slow:timeout = &sum(90, &multiply(3, &test_np()))
78 
79 # This test collectively sleeps for 26 seconds *per MCW rank*. So
80 # give it a really long timeout value.
81 simple_coll_slow:tests = src/MPI_collective_overlap_c
82 simple_coll_slow:pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 0))
83 simple_coll_slow:exclusive = 1
84 simple_coll_slow:timeout = &multiply(30, &test_np()))