Skip to content

Commit

Permalink
Merge pull request #442 from DrTimothyAldenDavis/dev
Browse files Browse the repository at this point in the history
v7.2.2
  • Loading branch information
DrTimothyAldenDavis authored Oct 16, 2023
2 parents d6c84f7 + f98e0f5 commit 0bdc2fa
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions CHOLMOD/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
# cmake 3.22 is required to find the BLAS/LAPACK
cmake_minimum_required ( VERSION 3.22 )

set ( CHOLMOD_DATE "Sept 18, 2023" )
set ( CHOLMOD_DATE "Oct 15, 2023" )
set ( CHOLMOD_VERSION_MAJOR 4 )
set ( CHOLMOD_VERSION_MINOR 2 )
set ( CHOLMOD_VERSION_SUB 1 )
set ( CHOLMOD_VERSION_SUB 2 )

message ( STATUS "Building CHOLMOD version: v"
${CHOLMOD_VERSION_MAJOR}.
Expand Down
Binary file modified CHOLMOD/Doc/CHOLMOD_UserGuide.pdf
Binary file not shown.
4 changes: 4 additions & 0 deletions CHOLMOD/Doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Oct 16, 2023: version 4.2.2

* bug fix: incorrect computation of work for nthreads in CHOLMOD/Supernodal

Sept 18, 2023: version 4.2.1

* cmake update: add "None" build type, from Antonio Rojas, for Arch Linux
Expand Down
2 changes: 1 addition & 1 deletion CHOLMOD/Doc/cholmod_version.tex
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
% version of SuiteSparse/CHOLMOD
\date{VERSION 4.2.1, Sept 18, 2023}
\date{VERSION 4.2.2, Oct 15, 2023}
4 changes: 2 additions & 2 deletions CHOLMOD/Include/cholmod.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@
#ifndef CHOLMOD_H
#define CHOLMOD_H

#define CHOLMOD_DATE "Sept 18, 2023"
#define CHOLMOD_DATE "Oct 15, 2023"
#define CHOLMOD_MAIN_VERSION 4
#define CHOLMOD_SUB_VERSION 2
#define CHOLMOD_SUBSUB_VERSION 1
#define CHOLMOD_SUBSUB_VERSION 2

/* ========================================================================== */
/* === Include/cholmod_io64 ================================================= */
Expand Down
4 changes: 2 additions & 2 deletions CHOLMOD/Supernodal/t_cholmod_super_numeric.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,13 +372,13 @@ static int TEMPLATE (cholmod_super_numeric)
if (stype != 0)
{
Int pfirst = Ap [k1] ;
Int plast = (Apacked) ? (Ap [k2+1]) : (pfirst + Anz [k2]) ;
Int plast = (Apacked) ? (Ap [k2]) : (pfirst + Anz [k2-1]) ;
work = (double) (plast - pfirst) ;
}
else
{
Int pfirst = Fp [k1] ;
Int plast = (Fpacked) ? (Fp [k2+1]) : (pfirst + Fnz [k2]) ;
Int plast = (Fpacked) ? (Fp [k2]) : (pfirst + Fnz [k2-1]) ;
work = (double) (plast - pfirst) ;
}
nthreads = cholmod_nthreads (work, Common) ;
Expand Down
14 changes: 6 additions & 8 deletions Example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
cmake_minimum_required ( VERSION 3.20 )

# cmake inserts the date and version number into Include/my.h:
set ( MY_DATE "Sept 18, 2023" )
set ( MY_DATE "Oct 16, 2023" )
set ( MY_VERSION_MAJOR 1 )
set ( MY_VERSION_MINOR 4 )
set ( MY_VERSION_PATCH 1 )
set ( MY_VERSION_PATCH 2 )

message ( STATUS "Building MY library version: v"
${MY_VERSION_MAJOR}.
Expand Down Expand Up @@ -61,13 +61,13 @@ project ( my
#-------------------------------------------------------------------------------

# look for all SuiteSparse packages:
find_package ( SuiteSparse_config 7.2.1 REQUIRED )
find_package ( SuiteSparse_config 7.2.2 REQUIRED )
find_package ( AMD 3.2.1 REQUIRED )
find_package ( BTF 2.2.1 REQUIRED )
find_package ( CAMD 3.2.1 REQUIRED )
find_package ( CCOLAMD 3.2.1 REQUIRED )
find_package ( COLAMD 3.2.1 REQUIRED )
find_package ( CHOLMOD 4.2.1 REQUIRED )
find_package ( CHOLMOD 4.2.2 REQUIRED )
find_package ( CXSparse 4.2.1 REQUIRED )
find_package ( GraphBLAS 8.2.1 )
find_package ( KLU 2.2.1 REQUIRED )
Expand All @@ -81,10 +81,8 @@ find_package ( UMFPACK 6.2.1 REQUIRED )

if ( TARGET CUDA::nvrtc )
# CHOLMOD and SPQR have been compiled with CUDA enabled.
# find_package ( CHOLMOD_CUDA 4.2.0 REQUIRED )
# find_package ( SPQR_CUDA 4.2.0 REQUIRED )
find_package ( SuiteSparse_GPURuntime 3.2.0 REQUIRED )
find_package ( GPUQREngine 3.2.0 REQUIRED )
find_package ( SuiteSparse_GPURuntime 3.2.1 REQUIRED )
find_package ( GPUQREngine 3.2.1 REQUIRED )
endif ( )

# look for all external libaries:
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SuiteSparse: A Suite of Sparse matrix packages at http://suitesparse.com
-----------------------------------------------------------------------------

Oct 7, 2023, SuiteSparse VERSION 7.2.1
Oct 15, 2023, SuiteSparse VERSION 7.2.2

SuiteSparse is a set of sparse-matrix-related packages written or co-authored
by Tim Davis, available at https://github.com/DrTimothyAldenDavis/SuiteSparse .
Expand Down Expand Up @@ -81,10 +81,9 @@ papers in ACM TOMS, for each package.

* for GraphBLAS, and `C=A*B` in MATLAB (sparse-times-sparse):

T. Davis, Algorithm 10xx: SuiteSparse:GraphBLAS: parallel graph
algorithms in the language of sparse linear algebra, ACM Trans on
Mathematical Software, just accepted, 2023. See the pdf in
https://github.com/DrTimothyAldenDavis/GraphBLAS/tree/stable/Doc .
T. A. Davis. Algorithm 1037: SuiteSparse:GraphBLAS: Parallel Graph
Algorithms in the Language of Sparse Linear Algebra. ACM Trans. Math.
Softw. 49, 3, Article 28 (September 2023), 30 pages.
https://doi.org/10.1145/3577195

T. Davis, Algorithm 1000: SuiteSparse:GraphBLAS: graph algorithms in
Expand Down
4 changes: 2 additions & 2 deletions SuiteSparse_config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
cmake_minimum_required ( VERSION 3.22 )

# version of both SuiteSparse and SuiteSparse_config
set ( SUITESPARSE_DATE "Oct 7, 2023" )
set ( SUITESPARSE_DATE "Oct 15, 2023" )
set ( SUITESPARSE_VERSION_MAJOR 7 )
set ( SUITESPARSE_VERSION_MINOR 2 )
set ( SUITESPARSE_VERSION_SUB 1 )
set ( SUITESPARSE_VERSION_SUB 2 )

message ( STATUS "Building SuiteSparse_config version: v"
${SUITESPARSE_VERSION_MAJOR}.
Expand Down
7 changes: 3 additions & 4 deletions SuiteSparse_config/Config/README.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ papers in ACM TOMS, for each package.

* for GraphBLAS, and `C=A*B` in MATLAB (sparse-times-sparse):

T. Davis, Algorithm 10xx: SuiteSparse:GraphBLAS: parallel graph
algorithms in the language of sparse linear algebra, ACM Trans on
Mathematical Software, just accepted, 2023. See the pdf in
https://github.com/DrTimothyAldenDavis/GraphBLAS/tree/stable/Doc .
T. A. Davis. Algorithm 1037: SuiteSparse:GraphBLAS: Parallel Graph
Algorithms in the Language of Sparse Linear Algebra. ACM Trans. Math.
Softw. 49, 3, Article 28 (September 2023), 30 pages.
https://doi.org/10.1145/3577195

T. Davis, Algorithm 1000: SuiteSparse:GraphBLAS: graph algorithms in
Expand Down
4 changes: 2 additions & 2 deletions SuiteSparse_config/SuiteSparse_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,10 @@ int SuiteSparse_version // returns SUITESPARSE_VERSION

#define SUITESPARSE_HAS_VERSION_FUNCTION

#define SUITESPARSE_DATE "Oct 7, 2023"
#define SUITESPARSE_DATE "Oct 15, 2023"
#define SUITESPARSE_MAIN_VERSION 7
#define SUITESPARSE_SUB_VERSION 2
#define SUITESPARSE_SUBSUB_VERSION 1
#define SUITESPARSE_SUBSUB_VERSION 2

#define SUITESPARSE_VER_CODE(main,sub) ((main) * 1000 + (sub))
#define SUITESPARSE_VERSION \
Expand Down

0 comments on commit 0bdc2fa

Please sign in to comment.