Skip to content

Commit b262665

Browse files
Example 1.8.4 for SuiteSparse 7.9.0
1 parent a2dd968 commit b262665

File tree

12 files changed

+45
-45
lines changed

12 files changed

+45
-45
lines changed

Example/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SuiteSparse/Example/CMakeLists.txt: cmake for Example user library, "my"
33
#-------------------------------------------------------------------------------
44

5-
# Copyright (c) 2022-2023, Timothy A. Davis, All Rights Reserved.
5+
# Copyright (c) 2022-2025, Timothy A. Davis, All Rights Reserved.
66
# SPDX-License-Identifier: BSD-3-clause
77

88
# See the section below, "help with building this Example ..." for how to tell
@@ -53,7 +53,7 @@ message ( STATUS "MY prefix path: ${CMAKE_PREFIX_PATH}" )
5353
#-------------------------------------------------------------------------------
5454

5555
# cmake inserts the date and version number into Include/my.h:
56-
set ( MY_DATE "Dec 20, 2024" )
56+
set ( MY_DATE "Feb 20, 2025" )
5757
set ( MY_VERSION_MAJOR 1 )
5858
set ( MY_VERSION_MINOR 8 )
5959
set ( MY_VERSION_PATCH 4 )
@@ -92,7 +92,7 @@ find_package ( AMD 3.3.3 REQUIRED )
9292
find_package ( BTF 2.3.2 REQUIRED )
9393
find_package ( CAMD 3.3.3 REQUIRED )
9494
find_package ( CCOLAMD 3.3.4 REQUIRED )
95-
find_package ( CHOLMOD 5.3.0 REQUIRED )
95+
find_package ( CHOLMOD 5.3.1 REQUIRED )
9696
find_package ( COLAMD 3.3.4 REQUIRED )
9797
find_package ( CXSparse 4.4.1 REQUIRED )
9898
find_package ( GraphBLAS 9.4.5 )

Example/Config/my.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SuiteSparse/Example/[Config or Include]/my.h
33
//------------------------------------------------------------------------------
44

5-
// Copyright (c) 2022-2023, Timothy A. Davis, All Rights Reserved.
5+
// Copyright (c) 2022-2025, Timothy A. Davis, All Rights Reserved.
66
// SPDX-License-Identifier: BSD-3-clause
77

88
//------------------------------------------------------------------------------

Example/Demo/my_demo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SuiteSparse/Example/Demo/my_demo.c
33
//------------------------------------------------------------------------------
44

5-
// Copyright (c) 2022-2023, Timothy A. Davis, All Rights Reserved.
5+
// Copyright (c) 2022-2025, Timothy A. Davis, All Rights Reserved.
66
// SPDX-License-Identifier: BSD-3-clause
77

88
//------------------------------------------------------------------------------

Example/Demo/my_demo.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SuiteSparse/Example/Demo/my_demo.c
33
//------------------------------------------------------------------------------
44

5-
// Copyright (c) 2022-2023, Timothy A. Davis, All Rights Reserved.
5+
// Copyright (c) 2022-2025, Timothy A. Davis, All Rights Reserved.
66
// SPDX-License-Identifier: BSD-3-clause
77

88
//------------------------------------------------------------------------------

Example/Demo/mydemo.out

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
My demo
2-
Date from #include 'my.h': Dec 20, 2024
3-
Date from compiled library: Dec 20, 2024
2+
Date from #include 'my.h': Feb 20, 2025
3+
Date from compiled library: Feb 20, 2025
44
version from #include 'my.h.': 1.8.4
55
version from compiled library: 1.8.4
66

77
------------------------------------------------------------
8-
MY: v1.8.4 (Dec 20, 2024)
8+
MY: v1.8.4 (Feb 20, 2025)
99
MY: v1.8.4 (in library)
1010
MY version code: 1008004
11-
MY date: Dec 20, 2024
11+
MY date: Feb 20, 2025
1212

1313
------------------------------------------------------------
14-
SuiteSparse_config: v7.9.0 (Dec 20, 2024)
14+
SuiteSparse_config: v7.9.0 (Feb 20, 2025)
1515
SuiteSparse_config: v7.9.0 (in library)
1616
SuiteSparse_config version code: 7009000
1717

@@ -67,19 +67,19 @@ P [0] = 0
6767
P [1] = 1
6868

6969
------------------------------------------------------------
70-
CHOLMOD: v5.3.0 (June 20, 2024)
71-
CHOLMOD: v5.3.0 (in library)
72-
CHOLMOD version code: 5003000
70+
CHOLMOD: v5.3.1 (Feb 20, 2025)
71+
CHOLMOD: v5.3.1 (in library)
72+
CHOLMOD version code: 5003001
7373

7474
------------------------------------------------------------
75-
GraphBLAS: v9.4.3 (Dec 20, 2024)
76-
GraphBLAS: v9.4.3 (in library)
77-
GraphBLAS version code: 9004003
75+
GraphBLAS: v9.4.5 (Feb 20, 2025)
76+
GraphBLAS: v9.4.5 (in library)
77+
GraphBLAS version code: 9004005
7878

7979
------------------------------------------------------------
80-
LAGraph: v1.1.4 (Aug 20, 2024)
81-
LAGraph: v1.1.4 (in library)
82-
LAGraph version code: 1001004
80+
LAGraph: v1.1.5 (Feb 20, 2025)
81+
LAGraph: v1.1.5 (in library)
82+
LAGraph version code: 1001005
8383

8484
------------------------------------------------------------
8585
KLU: v2.3.5 (Oct 10, 2024)
@@ -113,9 +113,9 @@ iua 2 2 4 0
113113
11 21 12 22
114114

115115
------------------------------------------------------------
116-
SPEX: v3.2.1 (Aug 20, 2024)
117-
SPEX: v3.2.1 (in library)
118-
SPEX version code: 3002001
116+
SPEX: v3.2.3 (Feb 20, 2025)
117+
SPEX: v3.2.3 (in library)
118+
SPEX version code: 3002003
119119

120120
------------------------------------------------------------
121121
SuiteSparseQR: v4.3.4 (June 20, 2024)
@@ -140,11 +140,11 @@ UMFPACK: Copyright (c) 2005-2024 by Timothy A. Davis. All Rights Reserved.
140140
UMFPACK License: SPDX-License-Identifier: GPL-2.0+
141141
UMFPACK is available under alternate licenses,
142142
contact T. Davis for details.
143-
BLAS used: Intel MKL 64lp BLAS (32-bit integers)
143+
BLAS used: Apple Accelerate Framework BLAS (32-bit integers)
144144
BLAS integer size: 4 bytes
145145
x [0] = 36.4
146146
x [1] = -32.7
147-
error: 5.68434e-14
147+
error: 2.84217e-14
148148

149149
UMFPACK: Copyright (c) 2005-2024 by Timothy A. Davis. All Rights Reserved.
150150

@@ -160,7 +160,7 @@ UMFPACK V6.3.5 (Sept 23, 2024): OK
160160
UMFPACK V6.3.5 (Sept 23, 2024), Info:
161161
matrix entry defined as: double
162162
Int (generic integer) defined as: int64_t
163-
BLAS library used: Intel MKL 64lp BLAS (32-bit integers). size of BLAS integer: 4
163+
BLAS library used: Apple Accelerate Framework BLAS (32-bit integers). size of BLAS integer: 4
164164
MATLAB: no.
165165
CPU timer: omp_get_wtime
166166
number of rows in matrix A: 2
@@ -243,7 +243,7 @@ UMFPACK V6.3.5 (Sept 23, 2024), Info:
243243
solve flops: 4.20000e+01
244244
iterative refinement steps taken: 0
245245
iterative refinement steps attempted: 0
246-
sparse backward error omega1: 7.44e-17
246+
sparse backward error omega1: 0.00e+00
247247
sparse backward error omega2: 0.00e+00
248248
solve wall clock time (sec): 0.00
249249

Example/Include/my.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SuiteSparse/Example/[Config or Include]/my.h
33
//------------------------------------------------------------------------------
44

5-
// Copyright (c) 2022-2023, Timothy A. Davis, All Rights Reserved.
5+
// Copyright (c) 2022-2025, Timothy A. Davis, All Rights Reserved.
66
// SPDX-License-Identifier: BSD-3-clause
77

88
//------------------------------------------------------------------------------
@@ -11,7 +11,7 @@
1111
// file, since it is constructed from Config/my.h.in by cmake.
1212

1313
// version and date for example user library
14-
#define MY_DATE "Dec 20, 2024"
14+
#define MY_DATE "Feb 20, 2025"
1515
#define MY_MAJOR_VERSION 1
1616
#define MY_MINOR_VERSION 8
1717
#define MY_PATCH_VERSION 4

Example/Include/my_internal.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SuiteSparse/Example/Include/my_internal.h
33
//------------------------------------------------------------------------------
44

5-
// Copyright (c) 2022-2024, Timothy A. Davis, All Rights Reserved.
5+
// Copyright (c) 2022-2025, Timothy A. Davis, All Rights Reserved.
66
// SPDX-License-Identifier: BSD-3-clause
77

88
//------------------------------------------------------------------------------
@@ -14,8 +14,8 @@
1414

1515
// SuiteSparse include files for C/C++:
1616
#include "SuiteSparse_config.h"
17-
#if !defined (SUITESPARSE__VERSION) || SUITESPARSE__VERSION < SUITESPARSE__VERCODE(7,8,3)
18-
#error "This library requires SuiteSparse_config 7.8.3 or later"
17+
#if !defined (SUITESPARSE__VERSION) || SUITESPARSE__VERSION < SUITESPARSE__VERCODE(7,9,0)
18+
#error "This library requires SuiteSparse_config 7.9.0 or later"
1919
#endif
2020

2121
#include "amd.h"
@@ -39,8 +39,8 @@
3939
#endif
4040

4141
#include "cholmod.h"
42-
#if !defined (CHOLMOD__VERSION) || CHOLMOD__VERSION < SUITESPARSE__VERCODE(5,3,0)
43-
#error "This library requires CHOLMOD 5.3.0 or later"
42+
#if !defined (CHOLMOD__VERSION) || CHOLMOD__VERSION < SUITESPARSE__VERCODE(5,3,1)
43+
#error "This library requires CHOLMOD 5.3.1 or later"
4444
#endif
4545

4646
#include "colamd.h"
@@ -56,15 +56,15 @@
5656
#if ! defined (NO_GRAPHBLAS)
5757
#include "GraphBLAS.h"
5858
#if !defined ( GxB_SUITESPARSE_GRAPHBLAS ) || \
59-
GxB_IMPLEMENTATION < GxB_VERSION (9,3,1)
60-
#error "This library requires SuiteSparse:GraphBLAS 9.3.1 or later"
59+
GxB_IMPLEMENTATION < GxB_VERSION (9,4,5)
60+
#error "This library requires SuiteSparse:GraphBLAS 9.4.5 or later"
6161
#endif
6262
#endif
6363

6464
#if ! defined (NO_LAGRAPH)
6565
#include "LAGraph.h"
66-
#if SUITESPARSE__VERCODE(LAGRAPH_VERSION_MAJOR,LAGRAPH_VERSION_MINOR,LAGRAPH_VERSION_UPDATE) < SUITESPARSE__VERCODE(1,1,4)
67-
#error "This library requires LAGraph 1.1.4 or later"
66+
#if SUITESPARSE__VERCODE(LAGRAPH_VERSION_MAJOR,LAGRAPH_VERSION_MINOR,LAGRAPH_VERSION_UPDATE) < SUITESPARSE__VERCODE(1,1,5)
67+
#error "This library requires LAGraph 1.1.5 or later"
6868
#endif
6969
#endif
7070

@@ -84,8 +84,8 @@
8484
#endif
8585

8686
#include "SPEX.h"
87-
#if !defined (SPEX__VERSION) || SPEX__VERSION < SUITESPARSE__VERCODE(3,2,1)
88-
#error "This library requires SPEX 3.2.1 or later"
87+
#if !defined (SPEX__VERSION) || SPEX__VERSION < SUITESPARSE__VERCODE(3,2,3)
88+
#error "This library requires SPEX 3.2.3 or later"
8989
#endif
9090

9191
#include "SuiteSparseQR_C.h"

Example/License.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Example package, Copyright (c), 2022-2023, Timothy A. Davis, All Rights
1+
Example package, Copyright (c), 2022-2025, Timothy A. Davis, All Rights
22
Reserved.
33

44
SPDX-License-Identifier: BSD-3-clause

Example/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SuiteSparse/Example/Makefile
33
#-------------------------------------------------------------------------------
44

5-
# Example: Copyright (c) 2022-2023, Timothy A. Davis, All Rights Reserved.
5+
# Example: Copyright (c) 2022-2025, Timothy A. Davis, All Rights Reserved.
66
# SPDX-License-Identifier: BSD-3-clause
77

88
#-------------------------------------------------------------------------------

Example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SuiteSparse/Example: create a package that relies on SuiteSparse
22

3-
Copyright (c) 2022-2024, Timothy A. Davis, All Rights Reserved.
3+
Copyright (c) 2022-2025, Timothy A. Davis, All Rights Reserved.
44
SPDX-License-Identifier: BSD-3-clause
55

66
An example of how to use the SuiteSparse `Find*.cmake` files in cmake

0 commit comments

Comments
 (0)