From b04e053c8744c454a96ec9212b065fc8f1b789b6 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 25 Jun 2020 15:37:53 -0600 Subject: [PATCH] Fix setting MPI compiler --- netcdf.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netcdf.spec b/netcdf.spec index 0412157..cedf1ef 100644 --- a/netcdf.spec +++ b/netcdf.spec @@ -190,7 +190,6 @@ ln -s ../configure . popd # MPI builds -export CC=mpicc for mpi in %{mpi_list} do mkdir $mpi @@ -199,6 +198,7 @@ do ln -s ../configure . # parallel tests hang on s390(x) %configure %{configure_opts} \ + CC=mpicc \ --libdir=%{_libdir}/$mpi/lib \ --bindir=%{_libdir}/$mpi/bin \ --sbindir=%{_libdir}/$mpi/sbin \