forked from Sandia-OpenSHMEM/SOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
412 lines (407 loc) · 17.9 KB
/
.travis.yml
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
sudo: required
dist: trusty
language: c
dist: trusty
compiler:
#- clang
- gcc
- icc
env:
global:
- TRAVIS_PAR_MAKE="-j 4"
- SOS_GLOBAL_BUILD_OPTS="--enable-picky --enable-pmi-simple"
- FCFLAGS="-fcray-pointer"
#- PTL_IFACE_NAME=venet0
- PTL_IFACE_NAME=lo
- FI_LOG_LEVEL=warn
- SHMEM_OFI_USE_PROVIDER=sockets
- SHMEM_INFO=1
- SOS_ENABLE_ERROR_TESTS=0
## An encrypted value for INTEL_SERIAL_NUMBER:
- secure: "luxfwDy26Pva+A58T/vPP7+Zek4rBEbpB2TpdXuLdIu/MJ2laoUkaZj/ouT6YgdSxUoiyLUlGIzLnByxnrVgWqYELsWHiV9hzsXZCNfgQDdUHV8UITCqSYVcd5WGNoVdC0QohKuIj47y6bP5ttcv1sIfpV74ztPJZE1dbb2QzgvWcIKWN8Abj55364ZnIidW7ErYLrAiKlBzSxZXCKiKD6qOUbpOBN8yuzaX9diXYJViest7iBC+BfwzXO8Shuouh6QrQhJ1T4oG6u6YJn17fnOwXKJCdkeQYr/E8ka4JRf8vZm7CNO1YdwNhtGtFNEzTJaP2XFLAQGCB9vffCxcqRbpWv+lpsFRsH+eiF/zp/xKGr5qzB9sPUxNANJyhphXK0VfIqDan7nz9di99NFBEF94Jl33E+KODTCAeHb6+a7yboR5B4BalM4jXKrcn/2A4pYrk45YF5IdLLOEvzTaOyVSgHoNIzXRZvHEL2AeYuvz5qLukzMB+QClbA1EeCBNyokuXK/TemeTvveXpQpCaVKNQ8zp/v30u8eiaV8R/dFa2evlJ6kwSaeXlXpXifeXd5Px0x6HF4FT9HLOtPVQ3rZXyfL2Eh92egu15GiTqMNkdVlVGUC20+iddLjtbPqRnVw0WnZkekh62A6rGuT4cTfAbZ2GVPD+IMqzokO1IGg="
matrix:
- # Defaults
- SOS_BUILD_OPTS="--disable-mr-scalable --enable-av-map --disable-cxx --enable-memcpy"
- >
SOS_DISABLE_FORTRAN=1
SOS_BUILD_OPTS="--disable-fortran --enable-error-checking --enable-remote-virtual-addressing --disable-aslr-check"
- >
SOS_ENABLE_ERROR_TESTS=1 SHMEM_SYMMETRIC_HEAP_USE_MALLOC=1
SOS_BUILD_OPTS="--disable-threads --enable-error-checking"
- >
SOS_BUILD_OPTS="--with-cma --enable-error-checking --enable-profiling --disable-mr-scalable --enable-av-map --enable-remote-virtual-addressing"
- >
SOS_ENABLE_ERROR_TESTS=1
SHMEM_SYMMETRIC_HEAP_USE_HUGE_PAGES=1 SHMEM_BOUNCE_SIZE=0
SOS_BUILD_OPTS="--enable-error-checking --enable-remote-virtual-addressing"
- >
SOS_ENABLE_ERROR_TESTS=1
SHMEM_BARRIER_ALGORITHM=auto SHMEM_BCAST_ALGORITHM=auto SHMEM_REDUCE_ALGORITHM=auto SHMEM_COLLECT_ALGORITHM=auto SHMEM_FCOLLECT_ALGORITHM=auto
SOS_BUILD_OPTS="--enable-error-checking --enable-remote-virtual-addressing --enable-thread-completion"
- >
SOS_ENABLE_ERROR_TESTS=1
SHMEM_BARRIER_ALGORITHM=linear SHMEM_BCAST_ALGORITHM=linear SHMEM_REDUCE_ALGORITHM=linear SHMEM_COLLECT_ALGORITHM=linear SHMEM_FCOLLECT_ALGORITHM=linear
SOS_BUILD_OPTS="--enable-error-checking --enable-remote-virtual-addressing"
- >
SOS_ENABLE_ERROR_TESTS=1
SHMEM_BARRIER_ALGORITHM=tree SHMEM_BCAST_ALGORITHM=tree SHMEM_REDUCE_ALGORITHM=tree
SOS_BUILD_OPTS="--enable-error-checking --enable-remote-virtual-addressing"
- >
SOS_ENABLE_ERROR_TESTS=1
SHMEM_BARRIER_ALGORITHM=dissem SHMEM_REDUCE_ALGORITHM=recdbl SHMEM_FCOLLECT_ALGORITHM=recdbl
SOS_BUILD_OPTS="--enable-error-checking --enable-remote-virtual-addressing"
- >
SOS_ENABLE_ERROR_TESTS=1
SHMEM_FCOLLECT_ALGORITHM=ring
SOS_BUILD_OPTS="--enable-error-checking --enable-remote-virtual-addressing"
SHMEM_OFI_TX_POLL_LIMIT=1 SHMEM_OFI_RX_POLL_LIMIT=1
SHMEM_OFI_STX_THRESHOLD=1024
- >
SOS_ENABLE_ERROR_TESTS=1
SOS_BUILD_OPTS="--enable-error-checking --enable-remote-virtual-addressing"
SHMEM_OFI_STX_MAX=8 SHMEM_OFI_STX_ALLOCATOR=random
- >
SOS_CHECK_TARBALL_RPM=1
os:
- linux
addons:
apt:
packages:
- gfortran
- rpm
- cargo
before_install:
## Set up the environment
- mkdir $HOME/travis
- mkdir $HOME/travis/src
- mkdir $HOME/travis/install
- export SOS_SRC=$PWD
- export TRAVIS_SRC=$HOME/travis/src
- export TRAVIS_INSTALL=$HOME/travis/install
## Disable security protection so CMA will work
- sudo sysctl -w kernel.yama.ptrace_scope=0
- sudo sysctl -w kernel.randomize_va_space=0
## Run the icc installation script:
- >
if [ "$CC" = "icc" ]; then
if [ "$TRAVIS_REPO_SLUG" = "Sandia-OpenSHMEM/SOS" -a \
"$TRAVIS_PULL_REQUEST" = "false" ]; then
./scripts/install-icc.sh --components icc,ifort
source ~/.bashrc
CC=icc
CXX=icpc
FC=ifort
FCFLAGS=
SOS_ENABLE_ERROR_TESTS=0
else
echo "Cannot test Intel compiler on a fork. Exiting now."
exit 0
fi
fi
## Build libev
- cd $TRAVIS_SRC
- wget http://dist.schmorp.de/libev/Attic/libev-4.22.tar.gz
- tar -xzvf libev-4.22.tar.gz
- cd libev-4.22 && ./configure --prefix=$TRAVIS_INSTALL/libev && make && make install
## Build Portals 4
- cd $TRAVIS_SRC
- git clone --depth 10 https://github.com/regrant/portals4.git portals4
- cd portals4
- ./autogen.sh
- ./configure --prefix=$TRAVIS_INSTALL/portals4/ --with-ev=$TRAVIS_INSTALL/libev --enable-zero-mrs --enable-reliable-udp --disable-pmi-from-portals
# JSD: --enable-transport-shmem removed; it was causing tests to hang
- make $TRAVIS_PAR_MAKE
- make install
## Build libfabric
- cd $TRAVIS_SRC
- git clone -b v1.5.x --depth 10 https://github.com/ofiwg/libfabric.git libfabric
- cd libfabric
- ./autogen.sh
- ./configure --prefix=$TRAVIS_INSTALL/libfabric
- make $TRAVIS_PAR_MAKE
- make install
## Build Hydra
- cd $TRAVIS_SRC
- wget http://www.mpich.org/static/downloads/3.2/hydra-3.2.tar.gz
- tar xvzf hydra-3.2.tar.gz
- cd hydra-3.2/
- ./configure --prefix=$TRAVIS_INSTALL/hydra
- make $TRAVIS_PAR_MAKE
- make install
## Fetch UH Tests
- cd $TRAVIS_SRC
- git clone --depth 10 https://github.com/openshmem-org/tests-uh.git tests-uh
# Fetch Cray Tests
- cd $TRAVIS_SRC
- git clone --depth 10 https://github.com/openshmem-org/tests-cray.git tests-cray
# Fetch Mellanox Tests
- cd $TRAVIS_SRC
- git clone --depth 10 https://github.com/openshmem-org/tests-mellanox.git tests-mellanox
## Fetch ISx
- cd $TRAVIS_SRC
- git clone --depth 10 https://github.com/ParRes/ISx.git ISx
## Fetch PRK
- cd $TRAVIS_SRC
- git clone --depth 10 https://github.com/ParRes/Kernels.git PRK
- echo -e "SHMEMCC=oshcc -std=c99\nSHMEMTOP=$$TRAVIS_INSTALL\n" > PRK/common/make.defs
## Build Libevent
- cd $TRAVIS_SRC
- wget https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz
- tar -xzvf libevent-2.0.22-stable.tar.gz
- cd libevent-2.0.22-stable
- ./autogen.sh
- ./configure --prefix=$PWD/install
- make clean all install
## Build PMIx
- cd $TRAVIS_SRC
- git clone --depth 10 --single-branch -b v2.0 https://github.com/pmix/pmix pmix
- cd pmix
- ./autogen.pl
- ./configure --prefix=$PWD/install --with-libevent=$TRAVIS_SRC/libevent-2.0.22-stable/install --with-devel-headers --disable-visibility && make clean all install
## Build OMPI from source (takes too long, so removed in favor of RPM install below)
#- cd $TRAVIS_SRC
#- git clone --depth 10 --single-branch -b v3.0.x https://github.com/open-mpi/ompi.git ompi
#- cd ompi
#- ./autogen.pl
#- ./configure --prefix=$PWD/install --with-libevent=$TRAVIS_SRC/libevent-2.0.22-stable/install --with-pmix=$TRAVIS_SRC/pmix/install && make clean all install
## Download and install OpenMPI RPM
- cd $TRAVIS_INSTALL
- wget http://gdurl.com/P5og -O openmpi-v3.0.x.deb
- sudo dpkg -i openmpi-v3.0.x.deb
install:
- cd $SOS_SRC
- ./autogen.sh
script:
- export BASE_PATH=$PATH
###
### Build without transport
###
- cd $SOS_SRC
- mkdir no-transport-build
- cd no-transport-build
- export PATH=$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- ../configure --prefix=$TRAVIS_INSTALL/sandia-shmem-none --without-ofi --without-portals4 $SOS_GLOBAL_BUILD_OPTS $SOS_BUILD_OPTS
- make $TRAVIS_PAR_MAKE
- make $TRAVIS_PAR_MAKE check TESTS=
- make install
- mpiexec -np 1 test/unit/hello
###
### Build with only CMA
###
- cd $SOS_SRC
- mkdir cma-build
- cd cma-build
- export PATH=$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- ../configure --prefix=$TRAVIS_INSTALL/sandia-shmem-cma --with-cma $SOS_GLOBAL_BUILD_OPTS $SOS_BUILD_OPTS
- make $TRAVIS_PAR_MAKE
- make $TRAVIS_PAR_MAKE check TESTS=
- make install
- mpiexec -np 1 test/unit/hello
###
### Build and check Portals
###
- cd $SOS_SRC
- mkdir portals4-build
- cd portals4-build
- export PATH=$TRAVIS_INSTALL/hydra/bin:$TRAVIS_INSTALL/portals4/bin:$BASE_PATH
- ../configure --with-portals4=$TRAVIS_INSTALL/portals4/ --prefix=$TRAVIS_INSTALL/sandia-shmem-portals4 $SOS_GLOBAL_BUILD_OPTS $SOS_BUILD_OPTS
- make $TRAVIS_PAR_MAKE
- make $TRAVIS_PAR_MAKE check TESTS=
#- make VERBOSE=1 TEST_RUNNER="mpiexec.hydra -np 2 timeout 10" check
- make install
- mpiexec -np 1 test/unit/hello
###
### Build and check OFI
###
- cd $SOS_SRC
- mkdir ofi-build
- cd ofi-build
- export PATH=$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- ../configure --with-ofi=$TRAVIS_INSTALL/libfabric/ --prefix=$TRAVIS_INSTALL/sandia-shmem-ofi $SOS_GLOBAL_BUILD_OPTS $SOS_BUILD_OPTS
- make $TRAVIS_PAR_MAKE
- make $TRAVIS_PAR_MAKE check TESTS=
- make VERBOSE=1 TEST_RUNNER="mpiexec.hydra -np 2" check
- make install
###
### Build and check with ORTE (Open MPI's launcher)
###
- cd $SOS_SRC
- mkdir ompi-build
- cd ompi-build
- export PATH=/opt/openmpi/gitclone/bin:$BASE_PATH
- ../configure --prefix=$PWD/install --with-ofi=$TRAVIS_INSTALL/libfabric --with-pmix=$TRAVIS_SRC/pmix/install
- make $TRAVIS_PAR_MAKE
- echo "localhost slots=4" > /tmp/hostfile.txt
- make VERBOSE=1 TEST_RUNNER="mpiexec --hostfile /tmp/hostfile.txt -np 4" check
- make install
###
### Run the UH test suite (Portals)
###
- export PATH=$TRAVIS_INSTALL/portals4/bin:$TRAVIS_INSTALL/sandia-shmem-portals4/bin:$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- export OSHRUN_LAUNCHER="mpiexec.hydra"
- cd $TRAVIS_SRC/tests-uh
- make $TRAVIS_PAR_MAKE C_feature_tests
#- make C_feature_tests-run 2>&1 | tee uh-tests-c-feature-tests.log
# Check for failures in the C tests
#- if grep "^(test_[0-9]\+) Running.*Failed$" uh-tests-c-feature-tests.log; then false; else true; fi
- >
if [ -z "$SOS_DISABLE_FORTRAN" ]; then
make F_feature_tests;
if false && [ $? -eq 0 ]; then
make F_feature_tests-run 2>&1 | tee uh-tests-f-feature-tests.log;
# Check for failures in the Fortran tests
if grep "^(test_[0-9]\+) Running.*Failed$" uh-tests-f-feature-tests.log; then false; else true; fi;
fi;
fi
- >
if [ -z "$SOS_DISABLE_FORTRAN" ]; then
make F_error_tests;
if false && [ $? -eq 0 -a $SOS_ENABLE_ERROR_TESTS -eq 1 ]; then
make F_error_tests-run 2>&1 | tee uh-tests-f-error-tests.log;
# Check for failures in the Fortran tests
if grep "^(test_[0-9]\+) Running.*Failed$" uh-tests-f-error-tests.log; then false; else true; fi;
fi;
fi
- make clean
###
### Run the UH test suite (OFI)
###
- export PATH=$TRAVIS_INSTALL/sandia-shmem-ofi/bin:$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- export OSHRUN_LAUNCHER="mpiexec.hydra"
- cd $TRAVIS_SRC/tests-uh
- make $TRAVIS_PAR_MAKE C_feature_tests
- make C_feature_tests-run 2>&1 | tee uh-tests-c-feature-tests.log
# Check for failures in the C tests
- if grep "^(test_[0-9]\+) Running.*Failed$" uh-tests-c-feature-tests.log; then false; else true; fi
- >
if [ -z "$SOS_DISABLE_FORTRAN" ]; then
make F_feature_tests;
if [ $? -eq 0 ]; then
make F_feature_tests-run 2>&1 | tee uh-tests-f-feature-tests.log;
# Check for failures in the Fortran tests
if grep "^(test_[0-9]\+) Running.*Failed$" uh-tests-f-feature-tests.log; then false; else true; fi;
fi;
fi
- >
if [ -z "$SOS_DISABLE_FORTRAN" ]; then
make F_error_tests;
if [ $? -eq 0 -a $SOS_ENABLE_ERROR_TESTS -eq 1 ]; then
make F_error_tests-run 2>&1 | tee uh-tests-f-error-tests.log;
# Check for failures in the Fortran tests
if grep "^(test_[0-9]\+) Running.*Failed$" uh-tests-f-error-tests.log; then false; else true; fi;
fi;
fi
- make clean
###
### Run the Cray test suite (OFI)
###
- export CUSTOM_SHMEM_DIR=$TRAVIS_INSTALL/sandia-shmem-ofi
- export PATH=$CUSTOM_SHMEM_DIR/bin:$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- export CRAY_TESTS_DIR=$TRAVIS_SRC/tests-cray
- $SOS_SRC/scripts/cray_tests.sh
###
### Run the Mellanox test suite (OFI)
###
- export PATH=$TRAVIS_INSTALL/sandia-shmem-ofi/bin:$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- export MELLANOX_TESTS_DIR=$TRAVIS_SRC/tests-mellanox
- cd $MELLANOX_TESTS_DIR/verifier
- ./autogen.sh
- ./configure --prefix=$PWD/install CFLAGS=" -Wno-deprecated -Wno-deprecated-declarations -std=gnu99 -O3" LDFLAGS="-lpthread" CC=oshcc --disable-mpi --enable-quick-tests --enable-active-sets --disable-error
- make clean
- make install
- make oshmem_test
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=atomic
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=basic:start
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=basic:whoami
## conflicting semantic for shmem_align with a non-power of two:
#- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=basic:shmalloc
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=basic:get
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=basic:put
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=basic:barrier
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=basic:static
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=basic:heap
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=basic:fence
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=coll
## Unresolved occasional failures probably due to memory mismanagement/corruption:
#- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=data
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=lock
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=reduce
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=sync:barrier_all
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=sync:wait
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=sync:wait_until
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=sync:barrier
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=sync:quiet
## stress tests are not functional tests, and they consumes too much time:
#- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=sync:barrier_stress
#- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=sync:fence_stress
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=stride
## mix test is SOS with MPI, which requires an MPI lib:
#- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=mix
## analysis test is not a functional test, and it consumes too much time:
#- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=analysis
- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=nbi
## tests opal_progress() function, which SOS does not have:
#- oshrun -np 4 $PWD/install/bin/oshmem_test exec --task=misc
- make clean
###
### Run ISx (Portals)
###
- export PATH=$TRAVIS_INSTALL/portals4/bin:$TRAVIS_INSTALL/sandia-shmem-portals4/bin:$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- export OSHRUN_LAUNCHER="mpiexec.hydra"
- cd $TRAVIS_SRC/ISx/SHMEM
- make CC=oshcc LDLIBS=-lm
- make clean
###
### Run ISx (OFI)
###
- export PATH=$TRAVIS_INSTALL/sandia-shmem-ofi/bin:$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- export OSHRUN_LAUNCHER="mpiexec.hydra"
- cd $TRAVIS_SRC/ISx/SHMEM
- make CC=oshcc LDLIBS=-lm
# Note: This SHMEM_SYMMETRIC_SIZE setting may exceed the memory available in the CI testing environment
- oshrun -np 4 -env SHMEM_SYMMETRIC_SIZE '4G' ./bin/isx.strong 134217728 output_strong
- oshrun -np 4 -env SHMEM_SYMMETRIC_SIZE '4G' ./bin/isx.weak 33554432 output_weak
- oshrun -np 4 -env SHMEM_SYMMETRIC_SIZE '4G' ./bin/isx.weak_iso 33554432 output_weak_iso
- make clean
###
### Run PRK (Portals)
###
- export PATH=$TRAVIS_INSTALL/portals4/bin:$TRAVIS_INSTALL/sandia-shmem-portals4/bin:$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- export OSHRUN_LAUNCHER="mpiexec.hydra"
- cd $TRAVIS_SRC/PRK
- make allshmem
- make clean
###
### Run PRK (OFI)
###
- export PATH=$TRAVIS_INSTALL/sandia-shmem-ofi/bin:$TRAVIS_INSTALL/hydra/bin:$BASE_PATH
- export OSHRUN_LAUNCHER="mpiexec.hydra"
- cd $TRAVIS_SRC/PRK
- make allshmem
- oshrun -np 4 ./SHMEM/Stencil/stencil 100 1000
- oshrun -np 4 ./SHMEM/Synch_p2p/p2p 10 1000 1000
- oshrun -np 4 ./SHMEM/Transpose/transpose 10 1000
- make clean
###
### Tarball and RPM build check
###
- >
if [ ! -z "$SOS_CHECK_TARBALL_RPM" ]; then
cd $SOS_SRC
./configure --with-ofi=$TRAVIS_INSTALL/libfabric/ --enable-pmi-simple
make dist
rpmbuild -ta ./sos-*.tar.gz --define "configargs --with-ofi=$TRAVIS_INSTALL/libfabric/ --enable-pmi-simple"
tar zxvf sos-*.tar.gz
cd sos-*
./autogen.sh
mkdir build
cd build
../configure --with-ofi=$TRAVIS_INSTALL/libfabric/ $SOS_GLOBAL_BUILD_OPTS $SOS_BUILD_OPTS
make $TRAVIS_PAR_MAKE check TESTS=
make VERBOSE=1 TEST_RUNNER="mpiexec.hydra -np 2" check
fi
after_script:
- >
if [ "$CC" = "icc" ]; then
'[[ ! -z "${INTEL_INSTALL_PATH}" ]] && uninstall_intel_software'
fi