File tree Expand file tree Collapse file tree 3 files changed +19
-22
lines changed Expand file tree Collapse file tree 3 files changed +19
-22
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # unset unused old fortran compiler vars
4- unset F90 F77
5-
63set -ex
74
8- export FCFLAGS=" $FFLAGS "
9-
105# avoid absolute-paths in compilers
116export CC=$( basename " $CC " )
127export CXX=$( basename " $CXX " )
138export FC=$( basename " $FC " )
149
15- ./autogen.pl --force
10+ # unset unused old Fortran compiler vars
11+ unset FFLAGS F77 F90 F95
1612
1713if [[ " $target_platform " == osx-* ]]; then
1814 if [[ ! -z " $CONDA_BUILD_SYSROOT " ]]; then
134130
135131export LIBRARY_PATH=" $PREFIX /lib"
136132
137- # # Replaced by the patch from open-mpi/ompi#8361
138- # if [[ "$target_platform" == *-64 ]]; then
139- # # -march=skylake-avx512 -march=nocona invalidates AVX512 flag. Remove -march flags and -mtune flags
140- # export CFLAGS=$(echo $CFLAGS | sed 's/-march=[a-z0-9\-]*//g')
141- # export CFLAGS=$(echo $CFLAGS | sed 's/-mtune=[a-z0-9\-]*//g')
142- # fi
143-
144133./configure --prefix=$PREFIX \
145134 --disable-dependency-tracking \
146135 --enable-mpi-fortran \
Original file line number Diff line number Diff line change @@ -41,12 +41,19 @@ outputs:
4141 - automake # [unix]
4242 - libtool # [unix]
4343 - make # [unix]
44- - perl 5.26.2
4544 host :
45+ # - hwloc
46+ # - openpmix
47+ # - prrte
48+ - libevent
4649 - zlib
4750 - ucx # [enable_cuda]
4851 - ucx-proc =*=gpu # [enable_cuda]
4952 run :
53+ # - hwloc
54+ # - openpmix
55+ # - prrte
56+ - libevent
5057 - zlib
5158 - mpi 1.0 openmpi
5259 run_constrained :
@@ -55,7 +62,6 @@ outputs:
5562 test :
5663 script : run_test.sh
5764 files :
58- - mpiexec.sh
5965 - tests/helloworld.sh
6066
6167 - name : openmpi-mpicc
@@ -73,7 +79,6 @@ outputs:
7379 test :
7480 script : run_test.sh
7581 files :
76- - mpiexec.sh
7782 - tests/helloworld.c
7883
7984 - name : openmpi-mpicxx
@@ -91,7 +96,6 @@ outputs:
9196 test :
9297 script : run_test.sh
9398 files :
94- - mpiexec.sh
9599 - tests/helloworld.cxx
96100
97101 - name : openmpi-mpifort
@@ -108,7 +112,6 @@ outputs:
108112 test :
109113 script : run_test.sh
110114 files :
111- - mpiexec.sh
112115 - tests/helloworld.f
113116 - tests/helloworld.f90
114117 {% else %}
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -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
911pushd " tests"
1012
1113if [[ $PKG_NAME == " openmpi" ]]; then
1214 command -v ompi_info
1315 ompi_info
1416
17+ command -v prte_info
18+ prte_info
19+
1520 if [[ ! -z " $( conda list | grep ucx) " ]]; then
1621 echo " Improper UCX dependency!"
1722 exit 1
You can’t perform that action at this time.
0 commit comments