pymtt
 All Classes Namespaces Files Functions Variables Groups
full-trivial.ini
Go to the documentation of this file.
1 # Copyright (c) 2006-2009 Cisco Systems, Inc. All rights reserved.
2 #
3 # Sample trivial INI file. Good for organizations who want to test
4 # absolute basic Open MPI functionality on their platforms.
5 #
6 # See the lines marked with "CUSTOM" to edit for your environment.
7 #
8 
9 [MTT]
10 description = Platform LSF Open MPI testing
11 # CUSTOM: remove this "trial = 1" line when ready
12 trial = 1
13 
14 # CUSTOM: Uncomment / set these if you need to use explicit proxies in
15 # your environment
16 #http_proxy = http://whatever.example.com:8080
17 #ftp_proxy = http://whatever.example.com:8080
18 #https_proxy = http://whatever.example.com:8080
19 
20 #======================================================================
21 # MPI get phase
22 #======================================================================
23 
24 [MPI get: ompi-nightly-trunk]
25 mpi_details = OMPI
26 
27 module = OMPI_Snapshot
28 ompi_snapshot_url = http://www.open-mpi.org/nightly/trunk
29 # PLATFORM: this file should be outside of the "scratch" tree -- e.g.,
30 # under $HOME/mtt-versions/, or somesuch. The directory does not need
31 # to exist before you run for the first time (it'll be created)
32 ompi_snapshot_version_file = &getenv("HOME")/mtt-versions/trunk.txt
33 
34 #----------------------------------------------------------------------
35 
36 [MPI get: ompi-nightly-v1.3]
37 mpi_details = OMPI
38 
39 module = OMPI_Snapshot
40 ompi_snapshot_url = http://www.open-mpi.org/nightly/v1.3
41 # CUSTOM: should probably be the same directory (but different
42 # filename!) as the "trunk" section, above.
43 ompi_snapshot_version_file = &getenv("HOME")/mtt-versions/v1.3.txt
44 
45 #======================================================================
46 # Install MPI phase
47 #======================================================================
48 
49 [MPI install: Platform]
50 mpi_get = ompi-nightly-v1.3,ompi-nightly-trunk
51 save_stdout_on_success = 1
52 merge_stdout_stderr = 0
53 
54 module = OMPI
55 ompi_vpath_mode = none
56 # CUSTOM: OMPI supports parallel builds; you may want to tweak the j
57 # value up or down, depending on your IO environment.
58 ompi_make_all_arguments = -j 4
59 ompi_make_check = 1
60 ompi_compiler_name = gnu
61 ompi_compiler_version = &get_gcc_version()
62 # CUSTOM: Tweak this configuration line as necessary to specify what
63 # is relevant for your environment. The lines between the EOT markers
64 # will be squashed into a single line before running.
65 ompi_configure_arguments = <<EOT
66 "CFLAGS=-g -pipe" --enable-debug --enable-mpirun-prefix-by-default
67 --disable-dlopen
68 EOT
69 
70 #======================================================================
71 # MPI run details
72 #======================================================================
73 
74 [MPI Details: OMPI]
75 exec = mpirun -np &test_np() &test_executable() &test_argv()
76 parameters = &MPI::OMPI::find_mpirun_params(&test_command_line(), \
77  &test_executable())
78 network = &MPI::OMPI::find_network(&test_command_line(), &test_executable())
79 
80 #======================================================================
81 # Test get phase
82 #======================================================================
83 
84 [Test get: trivial]
85 module = Trivial
86 
87 #======================================================================
88 # Test build phase
89 #======================================================================
90 
91 [Test build: trivial]
92 test_get = trivial
93 save_stdout_on_success = 1
94 merge_stdout_stderr = 1
95 
96 module = Trivial
97 
98 #======================================================================
99 # Test Run phase
100 #======================================================================
101 
102 [Test run: trivial]
103 test_build = trivial
104 pass = &and(&test_wifexited(), &eq(&test_wexitstatus(), 0))
105 skipped = 0
106 timeout = &max(10, &test_np())
107 save_stdout_on_pass = 1
108 merge_stdout_stderr = 1
109 stdout_save_lines = 50
110 stderr_save_lines = 100
111 np = &env_max_procs()
112 
113 specify_module = Simple
114 simple_first:tests = &find_executables(".")
115 
116 #======================================================================
117 # Reporter phase
118 #======================================================================
119 
120 [Reporter: OMPI community database]
121 module = MTTDatabase
122 
123 mttdatabase_realm = OMPI
124 # CUSTOM: Set with your username
125 mttdatabase_username = platform
126 # CUSTOM: Change this path or hard-code the password
127 mttdatabase_password = &shell("cat /home/ompitest/mtt-platform-db-password.txt")
128 # CUSTOM: Fill in a relevant platform name here
129 mttdatabase_platform = RHEL 4u7, x86_64
130 mttdatabase_hostname = &shell("hostname")
131 mttdatabase_url = https://www.open-mpi.org/mtt/submit/
132 mttdatabase_debug_filename = mttdb_debug_file
133 mttdatabase_keep_debug_files = 1
134 mttdatabase_debug_server = 1