Commit f6bfc0b0 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Tumbleweed no longer has MPI env-variables by default

parent 17be23a6
......@@ -191,6 +191,10 @@ that use %{name}_openmp.
%if %{defined fedora}
module load mpi/openmpi-%{_arch}
%endif
%if %{defined suse_version}
. %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh
%endif
if [ ! -e configure ] ; then
# It is possible to use the Open Build Server to automatically
# checkout from git directly, extract this spec file and set the
......@@ -285,6 +289,9 @@ popd
%if %{defined fedora}
module load mpi/openmpi-%{_arch}
%endif
%if %{defined suse_version}
. %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh
%endif
pushd build
make check TEST_FLAGS="1500 50 16" || { echo "Tests failed: Content of ./test-suite.log:"; cat ./test-suite.log; echo; exit 1; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment