pymtt
 All Classes Namespaces Files Functions Variables Groups
developer.ini
Go to the documentation of this file.
1 #
2 # Copyright (c) 2007 Sun Microystems, Inc. All rights reserved.
3 #
4 
5 # Template MTT configuration file for Open MPI developers. The intent
6 # for this template file is to establish at least some loose
7 # guidelines for what Open MPI core developers should be running
8 # before committing changes to the OMPI repository. This file is not
9 # intended to be an exhaustive sample of all possible fields and
10 # values that MTT offers. Each developer will undoubtedly have to
11 # edit this template for their own needs (e.g., pick compilers to use,
12 # etc.), but this file provides a baseline set of configurations that
13 # we intend for you to run.
14 #
15 # Sample usage:
16 # cat developer.ini intel.ini | client/mtt - alreadyinstalled_dir=/your/install
17 # cat developer.ini trivial.ini | client/mtt - alreadyinstalled_dir=/your/install
18 #
19 
20 [MTT]
21 # No overrides to defaults
22 
23 # Fill this field in
24 hostlist =
25 hostlist_max_np = 8
26 max_np = 8
27 force = 1
28 
29 #----------------------------------------------------------------------
30 
31 [MPI Details: Open MPI]
32 
33 exec = mpirun @hosts@ -np &test_np() --prefix &test_prefix() &test_executable() &test_argv()
34 
35 hosts = <<EOT
36  &if(
37  &have_hostfile(),
38  &stringify("--hostfile ", &hostfile()),
39  &if(
40  &have_hostlist(),
41  &stringify("--host ", &hostlist()),
42  ""
43  )
44  )
45 EOT
46 
47 # Here is a good place to put any cleanup commands (e.g.,
48 # kill a stale process, remove a leftover file, etc.)
49 after_all_exec = &shell("echo done.")
50 
51 #----------------------------------------------------------------------
52 
53 [MPI get: My Installation]
54 mpi_details = Open MPI
55 # Leave this parameter blank to
56 # have MTT search your path for an MPI
57 # alreadyinstalled_dir = /your/installation
58 module = AlreadyInstalled
59 
60 #----------------------------------------------------------------------
61 
62 [MPI install: My Installation]
63 mpi_get = My Installation
64 module = Analyze::OMPI
65 
66 #----------------------------------------------------------------------
67 
68 [Reporter: text file backup]
69 module = TextFile
70 
71 textfile_filename = $phase-$section-$mpi_name-$mpi_version.txt
72 
73 # User-defined report headers/footers
74 textfile_summary_header = <<EOT
75 hostname: &shell("hostname")
76 uname: &shell("uname -a")
77 who am i: &shell("who am i")
78 EOT
79 
80 textfile_summary_footer =
81 textfile_detail_header =
82 textfile_detail_footer =
83 
84 textfile_textwrap = 78