Skip to content

Commit c75849e

Browse files
committed
recipe: Update testing
1 parent af96fa9 commit c75849e

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

recipe/meta.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,18 @@ outputs:
4343
- make # [unix]
4444
- perl 5.26.2
4545
host:
46+
#- hwloc
47+
#- openpmix
48+
#- prrte
49+
- libevent
4650
- zlib
4751
- ucx # [enable_cuda]
4852
- ucx-proc =*=gpu # [enable_cuda]
4953
run:
54+
#- hwloc
55+
#- openpmix
56+
#- prrte
57+
- libevent
5058
- zlib
5159
- mpi 1.0 openmpi
5260
run_constrained:
@@ -55,7 +63,6 @@ outputs:
5563
test:
5664
script: run_test.sh
5765
files:
58-
- mpiexec.sh
5966
- tests/helloworld.sh
6067

6168
- name: openmpi-mpicc
@@ -73,7 +80,6 @@ outputs:
7380
test:
7481
script: run_test.sh
7582
files:
76-
- mpiexec.sh
7783
- tests/helloworld.c
7884

7985
- name: openmpi-mpicxx
@@ -91,7 +97,6 @@ outputs:
9197
test:
9298
script: run_test.sh
9399
files:
94-
- mpiexec.sh
95100
- tests/helloworld.cxx
96101

97102
- name: openmpi-mpifort
@@ -108,7 +113,6 @@ outputs:
108113
test:
109114
script: run_test.sh
110115
files:
111-
- mpiexec.sh
112116
- tests/helloworld.f
113117
- tests/helloworld.f90
114118
{% else %}

recipe/run_test.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
#!/bin/bash
22
set -ex
33

4-
export OMPI_MCA_plm=isolated
5-
export OMPI_MCA_btl_vader_single_copy_mechanism=none
6-
export OMPI_MCA_rmaps_base_oversubscribe=yes
7-
MPIEXEC="${PWD}/mpiexec.sh"
4+
export OMPI_MCA_pml=ob1
5+
export OMPI_MCA_btl=sm,self
6+
export OMPI_MCA_rmaps_default_mapping_policy=:oversubscribe
7+
export OMPI_ALLOW_RUN_AS_ROOT=1
8+
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
9+
MPIEXEC="mpiexec"
810

911
pushd "tests"
1012

0 commit comments

Comments
 (0)