pymtt
 All Classes Namespaces Files Functions Variables Groups
ompi_hello_world.ini
Go to the documentation of this file.
1 #Copyright (c) 2016-2018 Intel, Inc. All rights reserved.
2 #
3 
4 # Set defaults
5 [MTTDefaults]
6 description = MPI hello world
7 platform = pluto
8 
9 # Get the system profile
10 [Profile:Installed]
11 
12 #======================================================================
13 # Middleware construction phases - get the middleware, build, and
14 # install it. This isn't a required phase - if the purpose of this test
15 # is to simply stress the physical system, then one can skip this phase
16 #======================================================================
17 
18 [ASIS MiddlewareGet:OMPI]
19 plugin = Git
20 url = https://github.com/open-mpi/ompi
21 branch = v1.10
22 
23 [ASIS MiddlewareBuild:OMPI]
24 plugin = Autotools
25 parent = MiddlewareGet:OMPI
26 
27 autogen_cmd = ./autogen.pl
28 configure_options =
29 make_options = -j 10 install
30 
31 #======================================================================
32 # Test get phases - get the tests that the
33 # target software will run.
34 #======================================================================
35 
36 [ASIS TestGet:HelloWorld]
37 plugin = Copytree
38 src = /opt/mtt/samples/python/
39 
40 #======================================================================
41 # Test build phase
42 #======================================================================
43 
44 [TestBuild:HelloWorld]
45 parent = TestGet:HelloWorld
46 plugin = Shell
47 
48 # Use our built ompi install
49 middleware = MiddlewareBuild:OMPI
50 command = mpicc mpi_hello_world.c -o mpi_hello_world
51 #======================================================================
52 # Define some default launcher execution parameters
53 #======================================================================
54 
55 [LauncherDefaults:SLURM]
56 plugin = SLURM
57 command = srun
58 job_name = MTT_TEST
59 options = -N 4
60 
61 #----------------------------------------------------------------------
62 [TestRun:HelloWorld]
63 plugin = SLURM
64 parent = TestBuild:HelloWorld
65 test_list = mpi_hello_world
66 
67 #======================================================================
68 # Reporter phase
69 #======================================================================
70 [Reporter:Console]
71 plugin = TextFile
72 
73 [Reporter:JunitXML]
74 plugin = JunitXML
75 filename=ompi_hello_world.xml
76