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