- New version

This commit is contained in:
Dave Love 2018-11-21 23:22:56 +00:00
parent af028c181a
commit 1e6e5c45ab
4 changed files with 24 additions and 6 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/superlu_dist_5.2.2.tar.gz
/superlu_dist_5.3.0.tar.gz
/superlu_dist_5.4.0.tar.gz
/superlu_dist_6.0.0.tar.gz

View File

@ -1 +1 @@
SHA512 (superlu_dist_5.4.0.tar.gz) = a90c71a0a1d479f5fcba9a7d6bd01e8cb2cd9c0d49d1232802e7c5586a1ff1720659af07e4a20e690c7a219432600d12b4948cb54ec9083a53bf0c92342c2f19
SHA512 (superlu_dist_6.0.0.tar.gz) = bfce08705716f7a608ba6449b3eac48982416884df1ab2ac2c79821f20019ec1cb57d0d554f8c45b0536dfa9a6931aac9cae7f158fc3078d227aa14d5d1310dc

View File

@ -35,8 +35,14 @@ CC = mpicc
CFLAGS += -O3 -DNDEBUG $(BLASDEF) -DDEBUGlevel=0 -DPRNTlevel=0 -fopenmp -std=c99 -fPIC -g
# CFLAGS += -D
# CFLAGS +=
CXX = mpicxx
CXXFLAGS += -O3 -DNDEBUG $(BLASDEF) -DDEBUGlevel=0 -DPRNTlevel=0 -fopenmp -fPIC -g -std=gnu++11
XSDK_INDEX_SIZE=64
HAVE_LAPACK=1
HAVE_PARMETIS=0
HAVE_COMBBLAS=0
NOOPTS = -O0
FORTRAN = mpif90
LOADER = $(CC) -fopenmp
LOADER = $(CXX) -fopenmp
LOADOPTS =

View File

@ -9,15 +9,21 @@
%bcond_with openblas
%endif
%if 0%{?el6}%{?el7}
# For good enough C++
%global dts devtoolset-6-
%endif
Name: superlu_dist
Version: 5.4.0
Release: 3%{?dist}
Version: 6.0.0
Release: 1%{?dist}
Summary: Solution of large, sparse, nonsymmetric systems of linear equations
License: BSD
URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
Source0: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_dist_%version.tar.gz
Source1: superlu_dist-make.inc
BuildRequires: scotch-devel gcc-gfortran
BuildRequires: scotch-devel
BuildRequires: %{?dts}gcc-gfortran %{?dts}gcc-c++
%if %{with openblas}
BuildRequires: openblas-devel
# [else] Probably not worth a bundled provides for the bundled partial cblas.
@ -52,7 +58,7 @@ BuildRequires: metis-devel
# For library soname. Start at one in case we need the incompatible
# v4 packaged separately.
%global major 1
%global minor 2
%global minor 3
%global miner 0
%global sover %major.%minor.%miner
@ -137,6 +143,7 @@ Development files for %name-mpich
cp %SOURCE1 make.inc
%build
%{?dts:source /opt/rh/devtoolset-6/enable}
# This order to leave openmpi version in place for %%check
for m in %mpich %openmpi; do
case $m in
@ -199,6 +206,7 @@ done
%check
%{?dts:source /opt/rh/devtoolset-6/enable}
pushd EXAMPLE
# There are SEGVs on koji ppc64le which are probably due to limited stack
%ifnarch %power64
@ -237,6 +245,9 @@ make clean
%changelog
* Wed Nov 21 2018 Dave Love <loveshack@fedoraproject.org> - 6.0.0-1
- New version
* Thu Jul 19 2018 Sandro Mani <manisandro@gmail.com> - 5.4.0-3
- Rebuild (scotch)