Skip to content

Commit

Permalink
v4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Oct 19, 2019
1 parent 53812ea commit 0a63af6
Show file tree
Hide file tree
Showing 261 changed files with 241,199 additions and 925 deletions.
6 changes: 3 additions & 3 deletions AMD/Demo/amd_demo.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AMD version 2.4.0, date: July 31, 2013
AMD version 2.4.1, date: Oct 10, 2014
AMD demo, with the 24-by-24 Harwell/Boeing matrix, can_24:

AMD version 2.4.0, July 31, 2013: approximate minimum degree ordering
AMD version 2.4.1, Oct 10, 2014: approximate minimum degree ordering
dense row parameter: 10
(rows with more than max (10 * sqrt (n), 16) entries are
considered "dense", and placed last in output permutation)
Expand Down Expand Up @@ -115,7 +115,7 @@ Plot of input matrix pattern:
23: . . . . . . X . . . . X X . . . . . . . . . . X
return value from amd_order: 0 (should be 0)

AMD version 2.4.0, July 31, 2013, results:
AMD version 2.4.1, Oct 10, 2014, results:
status: OK
n, dimension of A: 24
nz, number of nonzeros in A: 160
Expand Down
4 changes: 2 additions & 2 deletions AMD/Demo/amd_demo2.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AMD demo, with a jumbled version of the 24-by-24
Harwell/Boeing matrix, can_24:

AMD version 2.4.0, July 31, 2013: approximate minimum degree ordering
AMD version 2.4.1, Oct 10, 2014: approximate minimum degree ordering
dense row parameter: 10
(rows with more than max (10 * sqrt (n), 16) entries are
considered "dense", and placed last in output permutation)
Expand Down Expand Up @@ -144,7 +144,7 @@ Plot of symmetric matrix to be ordered by amd_order:
23: . . . . . . X . . . . X X . . . . . . . . . . X
return value from amd_order: 1 (should be 1)

AMD version 2.4.0, July 31, 2013, results:
AMD version 2.4.1, Oct 10, 2014, results:
status: OK, but jumbled
n, dimension of A: 24
nz, number of nonzeros in A: 102
Expand Down
6 changes: 3 additions & 3 deletions AMD/Demo/amd_l_demo.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AMD version 2.4.0, date: July 31, 2013
AMD version 2.4.1, date: Oct 10, 2014
AMD demo, with the 24-by-24 Harwell/Boeing matrix, can_24:

AMD version 2.4.0, July 31, 2013: approximate minimum degree ordering
AMD version 2.4.1, Oct 10, 2014: approximate minimum degree ordering
dense row parameter: 10
(rows with more than max (10 * sqrt (n), 16) entries are
considered "dense", and placed last in output permutation)
Expand Down Expand Up @@ -115,7 +115,7 @@ Plot of input matrix pattern:
23: . . . . . . X . . . . X X . . . . . . . . . . X
return value from amd_l_order: 0 (should be 0)

AMD version 2.4.0, July 31, 2013, results:
AMD version 2.4.1, Oct 10, 2014, results:
status: OK
n, dimension of A: 24
nz, number of nonzeros in A: 160
Expand Down
Binary file modified AMD/Doc/AMD_UserGuide.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion AMD/Doc/AMD_UserGuide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
This work was supported by the EPSRC under grant GR/R46441.
}}

\date{VERSION 2.4.0, July 31, 2013}
\date{VERSION 2.4.1, Oct 10, 2014}
\maketitle

%------------------------------------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions AMD/Doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Oct 10, 2014: version 2.4.1

modified MATLAB/amd_make.m. No change to C code except version number.

July 31, 2013: version 2.4.0

* changed malloc and printf pointers to use SuiteSparse_config
Expand Down
4 changes: 2 additions & 2 deletions AMD/Include/amd.h
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,11 @@ void amd_l_info (double Info [ ]) ;
* Versions 1.1 and earlier of AMD do not include a #define'd version number.
*/

#define AMD_DATE "July 31, 2013"
#define AMD_DATE "Oct 10, 2014"
#define AMD_VERSION_CODE(main,sub) ((main) * 1000 + (sub))
#define AMD_MAIN_VERSION 2
#define AMD_SUB_VERSION 4
#define AMD_SUBSUB_VERSION 0
#define AMD_SUBSUB_VERSION 1
#define AMD_VERSION AMD_VERSION_CODE(AMD_MAIN_VERSION,AMD_SUB_VERSION)

#ifdef __cplusplus
Expand Down
5 changes: 5 additions & 0 deletions AMD/MATLAB/amd_make.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
d = '-largeArrayDims' ;
end

% MATLAB 8.3.0 now has a -silent option to keep 'mex' from burbling too much
if (~verLessThan ('matlab', '8.3.0'))
d = ['-silent ' d] ;
end

i = sprintf ('-I../Include -I../../SuiteSparse_config') ;
cmd = sprintf ('mex -O %s -DDLONG -output amd2 %s amd_mex.c %s', d, i, ...
'../../SuiteSparse_config/SuiteSparse_config.c') ;
Expand Down
2 changes: 1 addition & 1 deletion AMD/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# AMD Makefile (for GNU Make or original make)
#------------------------------------------------------------------------------

VERSION = 2.4.0
VERSION = 2.4.1

default: all

Expand Down
4 changes: 4 additions & 0 deletions BTF/Doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Oct 10, 2014: version 1.2.1

modified MATLAB/btf_make.m. No change to C code except version number.

Jun 1, 2012: version 1.2.0

* changed from UFconfig to SuiteSparse_config
Expand Down
4 changes: 2 additions & 2 deletions BTF/Include/btf.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ SuiteSparse_long btf_l_order (SuiteSparse_long, SuiteSparse_long *,
* #endif
*/

#define BTF_DATE "Jun 1, 2012"
#define BTF_DATE "Oct 10, 2014"
#define BTF_VERSION_CODE(main,sub) ((main) * 1000 + (sub))
#define BTF_MAIN_VERSION 1
#define BTF_SUB_VERSION 2
#define BTF_SUBSUB_VERSION 0
#define BTF_SUBSUB_VERSION 1
#define BTF_VERSION BTF_VERSION_CODE(BTF_MAIN_VERSION,BTF_SUB_VERSION)

#ifdef __cplusplus
Expand Down
5 changes: 5 additions & 0 deletions BTF/MATLAB/btf_make.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
mexcmd = [mexcmd '-largeArrayDims '] ;
end

% MATLAB 8.3.0 now has a -silent option to keep 'mex' from burbling too much
if (~verLessThan ('matlab', '8.3.0'))
mexcmd = [mexcmd ' -silent '] ;
end

s = [mexcmd 'maxtrans.c ../Source/btf_maxtrans.c'] ;
if (details)
fprintf ('%s\n', s) ;
Expand Down
2 changes: 1 addition & 1 deletion BTF/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# BTF Makefile
#------------------------------------------------------------------------------

VERSION = 1.2.0
VERSION = 1.2.1

default: library

Expand Down
6 changes: 3 additions & 3 deletions CAMD/Demo/camd_demo.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CAMD version 2.4, date: July 31, 2013
CAMD version 2.4, date: Oct 10, 2014
CAMD demo, with the 24-by-24 Harwell/Boeing matrix, can_24:

camd version 2.4, July 31, 2013: approximate minimum degree ordering:
camd version 2.4, Oct 10, 2014: approximate minimum degree ordering:
dense row parameter: 10
(rows with more than max (10 * sqrt (n), 16) entries are
considered "dense", and placed last in output permutation)
Expand Down Expand Up @@ -115,7 +115,7 @@ Plot of input matrix pattern:
23: . . . . . . X . . . . X X . . . . . . . . . . X
return value from camd_order: 0 (should be 0)

CAMD version 2.4.0, July 31, 2013, results:
CAMD version 2.4.1, Oct 10, 2014, results:
status: OK
n, dimension of A: 24
nz, number of nonzeros in A: 160
Expand Down
4 changes: 2 additions & 2 deletions CAMD/Demo/camd_demo2.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CAMD demo, with a jumbled version of the 24-by-24
Harwell/Boeing matrix, can_24:

camd version 2.4, July 31, 2013: approximate minimum degree ordering:
camd version 2.4, Oct 10, 2014: approximate minimum degree ordering:
dense row parameter: 10
(rows with more than max (10 * sqrt (n), 16) entries are
considered "dense", and placed last in output permutation)
Expand Down Expand Up @@ -144,7 +144,7 @@ Plot of symmetric matrix to be ordered by camd_order:
23: . . . . . . X . . . . X X . . . . . . . . . . X
return value from camd_order: 1 (should be 1)

CAMD version 2.4.0, July 31, 2013, results:
CAMD version 2.4.1, Oct 10, 2014, results:
status: OK, but jumbled
n, dimension of A: 24
nz, number of nonzeros in A: 102
Expand Down
6 changes: 3 additions & 3 deletions CAMD/Demo/camd_l_demo.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CAMD version 2.4, date: July 31, 2013
CAMD version 2.4, date: Oct 10, 2014
CAMD demo, with the 24-by-24 Harwell/Boeing matrix, can_24:

camd version 2.4, July 31, 2013: approximate minimum degree ordering:
camd version 2.4, Oct 10, 2014: approximate minimum degree ordering:
dense row parameter: 10
(rows with more than max (10 * sqrt (n), 16) entries are
considered "dense", and placed last in output permutation)
Expand Down Expand Up @@ -115,7 +115,7 @@ Plot of input matrix pattern:
23: . . . . . . X . . . . X X . . . . . . . . . . X
return value from camd_l_order: 0 (should be 0)

CAMD version 2.4.0, July 31, 2013, results:
CAMD version 2.4.1, Oct 10, 2014, results:
status: OK
n, dimension of A: 24
nz, number of nonzeros in A: 160
Expand Down
Binary file modified CAMD/Doc/CAMD_UserGuide.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion CAMD/Doc/CAMD_UserGuide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
This work was supported by the EPSRC under grant GR/R46441.
}}

\date{VERSION 2.4.0, July 31, 2013}
\date{VERSION 2.4.1, Oct 10, 2014}
\maketitle

%------------------------------------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions CAMD/Doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Oct 10, 2014: version 2.4.1

modified MATLAB/camd_make.m. No change to C code except version number.

July 31, 2013: version 2.4.0

* changed malloc and printf pointers to use SuiteSparse_config
Expand Down
4 changes: 2 additions & 2 deletions CAMD/Include/camd.h
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,11 @@ void camd_l_info (double Info [ ]) ;
* #endif
*/

#define CAMD_DATE "July 31, 2013"
#define CAMD_DATE "Oct 10, 2014"
#define CAMD_VERSION_CODE(main,sub) ((main) * 1000 + (sub))
#define CAMD_MAIN_VERSION 2
#define CAMD_SUB_VERSION 4
#define CAMD_SUBSUB_VERSION 0
#define CAMD_SUBSUB_VERSION 1
#define CAMD_VERSION CAMD_VERSION_CODE(CAMD_MAIN_VERSION,CAMD_SUB_VERSION)

#ifdef __cplusplus
Expand Down
5 changes: 5 additions & 0 deletions CAMD/MATLAB/camd_make.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
d = '-largeArrayDims' ;
end

% MATLAB 8.3.0 now has a -silent option to keep 'mex' from burbling too much
if (~verLessThan ('matlab', '8.3.0'))
d = ['-silent ' d] ;
end

i = sprintf ('-I../Include -I../../SuiteSparse_config') ;
cmd = sprintf ('mex -O %s -DDLONG -output camd %s camd_mex.c %s', d, i, ...
'../../SuiteSparse_config/SuiteSparse_config.c') ;
Expand Down
2 changes: 1 addition & 1 deletion CAMD/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# CAMD Makefile
#------------------------------------------------------------------------------

VERSION = 2.4.0
VERSION = 2.4.1

default: all

Expand Down
4 changes: 4 additions & 0 deletions CCOLAMD/Doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Oct 10, 2014: version 2.9.1

modified MATLAB/ccolamd_make.m. No change to C code except version number.

July 31, 2013: version 2.9.0

* changed malloc and printf pointers to use SuiteSparse_config
Expand Down
4 changes: 2 additions & 2 deletions CCOLAMD/Include/ccolamd.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ extern "C" {
* #endif
*/

#define CCOLAMD_DATE "July 31, 2013"
#define CCOLAMD_DATE "Oct 10, 2014"
#define CCOLAMD_VERSION_CODE(main,sub) ((main) * 1000 + (sub))
#define CCOLAMD_MAIN_VERSION 2
#define CCOLAMD_SUB_VERSION 9
#define CCOLAMD_SUBSUB_VERSION 0
#define CCOLAMD_SUBSUB_VERSION 1
#define CCOLAMD_VERSION \
CCOLAMD_VERSION_CODE(CCOLAMD_MAIN_VERSION,CCOLAMD_SUB_VERSION)

Expand Down
6 changes: 6 additions & 0 deletions CCOLAMD/MATLAB/ccolamd_make.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
if (~isempty (strfind (computer, '64')))
d = '-largeArrayDims' ;
end

% MATLAB 8.3.0 now has a -silent option to keep 'mex' from burbling too much
if (~verLessThan ('matlab', '8.3.0'))
d = ['-silent ' d] ;
end

src = '../Source/ccolamd.c ../../SuiteSparse_config/SuiteSparse_config.c' ;
cmd = sprintf ( ...
'mex -DDLONG -O %s -I../../SuiteSparse_config -I../Include -output ', d) ;
Expand Down
2 changes: 1 addition & 1 deletion CCOLAMD/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# CCOLAMD Makefile
#------------------------------------------------------------------------------

VERSION = 2.9.0
VERSION = 2.9.1

default: all

Expand Down
15 changes: 9 additions & 6 deletions CHOLMOD/Check/cholmod_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ static int check_factor
count, precise, init_print, ilast, lnz, head, tail, jprev, plast,
jnext, examine_super, nsuper, s, k1, k2, psi, psend, psx, nsrow, nscol,
ps2, psxend, ssize, xsize, maxcsize, maxesize, nsrow2, jj, ii, xtype ;
Int for_cholesky ;
Int check_Lpx ;
const char *type = "factor" ;

/* ---------------------------------------------------------------------- */
Expand Down Expand Up @@ -1891,8 +1891,11 @@ static int check_factor
ERR ("invalid: L->pi invalid") ;
}

for_cholesky = (Lpx [0] != 123456) ;
if (for_cholesky && (Lpx [0] != 0 || MAX (1, Lpx[nsuper]) != xsize))
/* If Lpx [0] is 123456, then supernodes are present but
Lpx [0...nsuper] is not defined, so don't check it. This is
used in the non-GPU accelerated SPQR */
check_Lpx = (Lpx [0] != 123456) ;
if (check_Lpx && (Lpx [0] != 0 || MAX (1, Lpx[nsuper]) != xsize))
{
ERR ("invalid: L->px invalid") ;
}
Expand All @@ -1909,7 +1912,7 @@ static int check_factor
nsrow2 = nsrow - nscol ;
ps2 = psi + nscol ;

if (for_cholesky)
if (check_Lpx)
{
psx = Lpx [s] ;
psxend = Lpx [s+1] ;
Expand All @@ -1922,14 +1925,14 @@ static int check_factor
P4 ("to "ID". ", k2-1) ;
P4 ("nz in first col: "ID".\n", nsrow) ;

if (for_cholesky)
if (check_Lpx)
{
P4 (" values start "ID", ", psx) ;
P4 ("end "ID"\n", psxend) ;
}

if (k1 > k2 || k1 < 0 || k2 > n || nsrow < nscol || nsrow2 < 0
|| (for_cholesky && psxend - psx != nsrow * nscol))
|| (check_Lpx && psxend - psx != nsrow * nscol))
{
ERR ("invalid supernode") ;
}
Expand Down
10 changes: 5 additions & 5 deletions CHOLMOD/Cholesky/cholmod_analyze.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,14 +399,14 @@ int CHOLMOD(analyze_ordering)
/* === cholmod_analyze_p2 =================================================== */
/* ========================================================================== */

/* Ordering and analysis for sparse Cholesky or sparse QR. CHOLMOD itself
* always uses for_cholesky = TRUE. The for_cholesky = FALSE option is
* for SuiteSparseQR only. */
/* Ordering and analysis for sparse Cholesky or sparse QR. */

cholmod_factor *CHOLMOD(analyze_p2)
(
/* ---- input ---- */
int for_cholesky, /* if TRUE, then analyze for Cholesky; else for QR */
int for_whom, /* FOR_SPQR (0): for SPQR but not GPU-accelerated
FOR_CHOLESKY (1): for Cholesky (GPU or not)
FOR_SPQRGPU (2): for SPQR with GPU acceleration */
cholmod_sparse *A, /* matrix to order and analyze */
Int *UserPerm, /* user-provided permutation, size A->nrow */
Int *fset, /* subset of 0:(A->ncol)-1 */
Expand Down Expand Up @@ -925,7 +925,7 @@ cholmod_factor *CHOLMOD(analyze_p2)
&A1, &A2, &S, &F, Common) ;

/* workspace: Flag (nrow), Head (nrow), Iwork (5*nrow) */
CHOLMOD(super_symbolic2) (for_cholesky, S, F, Lparent, L, Common) ;
CHOLMOD(super_symbolic2) (for_whom, S, F, Lparent, L, Common) ;
PRINT1 (("status %d\n", Common->status)) ;

CHOLMOD(free_sparse) (&A1, Common) ;
Expand Down
Loading

0 comments on commit 0a63af6

Please sign in to comment.