Accepting request 346133 from home:scorot:branches:science

- fix build against recent scalapack which includes blacs library

OBS-URL: https://build.opensuse.org/request/show/346133
OBS-URL: https://build.opensuse.org/package/show/science/mumps?expand=0&rev=7
This commit is contained in:
Matthias Mailänder 2015-11-25 12:03:03 +00:00 committed by Git OBS Bridge
parent 2537e02346
commit 2f0e197c03
4 changed files with 7 additions and 6 deletions

View File

@ -69,7 +69,7 @@ FL = mpif77
AR = ar vr AR = ar vr
#RANLIB = ranlib #RANLIB = ranlib
RANLIB = echo RANLIB = echo
SCALAP = -lscalapack -lmpiblacs -lmpiblacsCinit SCALAP = -lscalapack
#INCPAR = -I/usr/local/include #INCPAR = -I/usr/local/include
#INCPAR = -I/usr/include/mpi #INCPAR = -I/usr/include/mpi
# LIBPAR = $(SCALAP) -L/usr/local/lib/ -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -lpthread # LIBPAR = $(SCALAP) -L/usr/local/lib/ -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -lpthread

View File

@ -69,7 +69,7 @@ FL = gfortran
AR = ar vr AR = ar vr
#RANLIB = ranlib #RANLIB = ranlib
RANLIB = echo RANLIB = echo
SCALAP = -lscalapack -lmpiblacs -lmpiblacsCinit SCALAP = -lscalapack
#INCPAR = -I/usr/local/include #INCPAR = -I/usr/local/include
#INCPAR = -I/usr/include/mpi #INCPAR = -I/usr/include/mpi
# LIBPAR = $(SCALAP) -L/usr/local/lib/ -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -lpthread # LIBPAR = $(SCALAP) -L/usr/local/lib/ -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -lpthread

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 21 14:23:53 UTC 2015 - scorot@free.fr
- fix build against recent scalapack which includes blacs library
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 22 20:20:13 UTC 2013 - scorot@free.fr Wed May 22 20:20:13 UTC 2013 - scorot@free.fr

View File

@ -39,14 +39,12 @@ Patch1: mumps-4.9.2-debian-shared-pord.patch
Patch2: mumps-4.9.2-debian-tests-shlibs.patch Patch2: mumps-4.9.2-debian-tests-shlibs.patch
Patch3: mumps-4.9.2-debian-shared-mumps.patch Patch3: mumps-4.9.2-debian-shared-mumps.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: blacs-openmpi-devel
BuildRequires: gcc-fortran BuildRequires: gcc-fortran
BuildRequires: libptscotch-openmpi-devel BuildRequires: libptscotch-openmpi-devel
BuildRequires: libscotch-devel BuildRequires: libscotch-devel
BuildRequires: openmpi-devel BuildRequires: openmpi-devel
BuildRequires: scalapack-openmpi-devel BuildRequires: scalapack-openmpi-devel
%if 0%{?sles_version} %if 0%{?sles_version}
BuildRequires: blacs-mvapich2-devel
BuildRequires: libptscotch-mvapich2-devel BuildRequires: libptscotch-mvapich2-devel
BuildRequires: mvapich2-devel BuildRequires: mvapich2-devel
BuildRequires: scalapack-mvapich2-devel BuildRequires: scalapack-mvapich2-devel
@ -138,7 +136,6 @@ Scotch enabled.
%package openmpi-devel %package openmpi-devel
Summary: Files needed for developing mumps based applications Summary: Files needed for developing mumps based applications
Group: Development/Libraries/Parallel Group: Development/Libraries/Parallel
Requires: blacs-openmpi-devel
Requires: blas-devel Requires: blas-devel
Requires: lapack-devel Requires: lapack-devel
Requires: mumps-devel = %{version} Requires: mumps-devel = %{version}
@ -201,7 +198,6 @@ Scotch enabled.
%package mvapich2-devel %package mvapich2-devel
Summary: Files needed for developing mumps based applications Summary: Files needed for developing mumps based applications
Group: Development/Libraries/Parallel Group: Development/Libraries/Parallel
Requires: blacs-mvapich2-devel
Requires: blas-devel Requires: blas-devel
Requires: lapack-devel Requires: lapack-devel
Requires: mumps-devel = %{version} Requires: mumps-devel = %{version}