2007-01-16 00:38:16 +01:00
|
|
|
#
|
|
|
|
# spec file for package superlu (Version 3.0)
|
|
|
|
#
|
2009-06-18 00:26:31 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:38:16 +01:00
|
|
|
#
|
2009-06-18 00:26:31 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:38:16 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 00:26:31 +02:00
|
|
|
|
2007-01-16 00:38:16 +01:00
|
|
|
Name: superlu
|
|
|
|
BuildRequires: gcc-fortran tcsh
|
2009-06-18 00:26:31 +02:00
|
|
|
License: BSD 3-Clause
|
2007-01-16 00:38:16 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Provides: blas2
|
2009-06-18 00:26:31 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:38:16 +01:00
|
|
|
Summary: SuperLU matrix solver
|
|
|
|
Version: 3.0
|
2009-06-18 00:26:31 +02:00
|
|
|
Release: 141
|
2007-01-16 00:38:16 +01:00
|
|
|
Source: ftp://ftp.netlib.org/scalapack/prototype/superlu_%{version}.tar.bz2
|
|
|
|
Source1: superlu_ug.ps.gz
|
|
|
|
Patch: superlu-3.0.diff
|
|
|
|
Patch1: superlu-overflow.patch
|
|
|
|
Patch2: superlu-include.patch
|
|
|
|
Patch3: superlu-dont-opt-away.diff
|
|
|
|
Patch4: superlu-initialize.diff
|
|
|
|
Patch5: superlu-undef-code.diff
|
2009-06-18 00:26:31 +02:00
|
|
|
Url: http://crd.lbl.gov/~xiaoye/SuperLU/
|
2007-01-16 00:38:16 +01:00
|
|
|
Prefix: /usr
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
SuperLU is an algorithm that uses group theory to optimize LU
|
|
|
|
decomposition of sparse matrices. It's the fastest direct solver for
|
|
|
|
linear systems that the author is aware of.
|
|
|
|
|
|
|
|
Docu can be found on http://www.netlib.org.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
xiaoye@nersc.gov
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n SuperLU_%{version}
|
|
|
|
%patch -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
#cd ../SuperLU
|
|
|
|
make -C CBLAS #%{?jobs:-j%jobs}
|
|
|
|
make #%{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -d $RPM_BUILD_ROOT/%{_docdir}/superlu
|
|
|
|
make install_lib LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make install_blas LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
install -d -m 0755 $RPM_BUILD_ROOT/usr/include/superlu
|
|
|
|
install -m 0644 SRC/*.h $RPM_BUILD_ROOT/usr/include/superlu/
|
|
|
|
cp -pf README $RPM_BUILD_ROOT/%{_docdir}/superlu/README.SuperLU
|
|
|
|
cp -pf %SOURCE1 $RPM_BUILD_ROOT/%{_docdir}/superlu/
|
|
|
|
cp -ax EXAMPLE $RPM_BUILD_ROOT/%{_docdir}/superlu/
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%docdir %{_docdir}/superlu
|
|
|
|
%doc %{_docdir}/superlu
|
|
|
|
%{_libdir}/libsuperlu.a
|
|
|
|
%{_libdir}/superlu_*.a
|
|
|
|
%{_libdir}/libblas2.a/
|
|
|
|
%{_libdir}/blas2_*.a
|
|
|
|
%dir /usr/include/superlu
|
|
|
|
/usr/include/superlu/*
|
|
|
|
|
2009-06-18 00:26:31 +02:00
|
|
|
%changelog
|
|
|
|
* Thu Jun 22 2006 ro@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- remove selfprovides
|
2009-06-18 00:26:31 +02:00
|
|
|
* Mon Mar 27 2006 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- superlu-undef-code.diff: Fix undefined code (#160443).
|
2009-06-18 00:26:31 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 00:26:31 +02:00
|
|
|
* Thu Dec 22 2005 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Install header files into /usr/include/superlu/
|
|
|
|
- Update User Guide.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Wed Dec 21 2005 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Include EXAMPLE dir as documentation.
|
|
|
|
- Build as non-root.
|
|
|
|
- Nuke unused local vars referencing uninitialized vars.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Wed Dec 21 2005 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Update to SuperLU-3.0: [#133821]
|
|
|
|
* Added "options" input argument and "stat" output argument
|
|
|
|
for the driver routines
|
|
|
|
* More Examples
|
|
|
|
* Added a "symmetric mode" for (nearly) symmetric matrices
|
|
|
|
* Better Fortran interface.
|
|
|
|
* fixed a bug in the complex drivers sgssvx/zgssvx when the
|
|
|
|
input matrix is stored in compressed row format.
|
|
|
|
* prefixed the header files by "slu_".
|
|
|
|
* Fixed a memory leak in get_perm_c() when bnz=0.
|
|
|
|
* Changed "abs" to "fabs" in izmax1.
|
|
|
|
* Upgraded COLAMD to the latest version (2.3).15
|
|
|
|
- Add various declarations and #include statements
|
|
|
|
- Trick compiler into not optimizing away a loop in our timing
|
|
|
|
measurement.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Fri Nov 25 2005 yxu@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- add missing function prototypes
|
2009-06-18 00:26:31 +02:00
|
|
|
* Tue Nov 15 2005 dmueller@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- avoid an endless loop during building (#133820)
|
2009-06-18 00:26:31 +02:00
|
|
|
* Mon May 09 2005 meissner@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- fixed 1 byte buffer overflows.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Mon Dec 20 2004 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Pass $(RPM_OPT_FLAGS) -Os -fPIC for files that don't need to be
|
|
|
|
optimized.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Sat Sep 06 2003 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Add -fPIC to allow inclusion in dynamic lib.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Sun Aug 10 2003 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- -O3 leads to an endless loop in dlamanch test on x86. Probably
|
|
|
|
some compiler of FPU weirdness. Remove -O3 on x86 again.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Thu Aug 07 2003 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Adapt chown syntax to owner:group.
|
|
|
|
- Reenable -O3 (compiler bug fixed?), but limit automatical
|
|
|
|
inlining.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Wed Jun 18 2003 ro@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- added directory to filelist.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Wed Aug 28 2002 ro@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- remove -O3 from cflags (results in endless loop).
|
2009-06-18 00:26:31 +02:00
|
|
|
* Wed May 08 2002 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- lib64 fix.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Wed May 08 2002 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Fix test scripts.
|
|
|
|
- Use BuildRoot.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Wed May 08 2002 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Remove BLAS, Lapack.
|
|
|
|
- Rename package into SuperLU.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Sat Apr 20 2002 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Disable -fast-math
|
|
|
|
- In SuperLU, use CBLAS that ships with it
|
2009-06-18 00:26:31 +02:00
|
|
|
* Fri Apr 19 2002 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Update to
|
|
|
|
* CLAPACK-3.0
|
|
|
|
* SuperLU-2.0
|
|
|
|
- Added SuperLU user guide
|
2009-06-18 00:26:31 +02:00
|
|
|
* Fri Apr 19 2002 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Fixed compilation with gcc-3.1:
|
|
|
|
link with -lfrtbegin (which contains main formerly in g2c)
|
2009-06-18 00:26:31 +02:00
|
|
|
* Wed Apr 10 2002 ro@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- fix owner for README.SuperLU
|
2009-06-18 00:26:31 +02:00
|
|
|
* Mon Aug 07 2000 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Use %%{_docdir} to put docu in the right place.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Mon Aug 07 2000 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- Add -mcpu=pentiumpro for i386
|
2009-06-18 00:26:31 +02:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2009-06-18 00:26:31 +02:00
|
|
|
* Wed Sep 01 1999 garloff@suse.de
|
2007-01-16 00:38:16 +01:00
|
|
|
- First creation of package.
|