Skip to content

LAGraph v1.2 #308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 770 commits into
base: stable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
770 commits
Select commit Hold shift + click to select a range
a318eff
printing coloring vector
hmukesh5 Feb 21, 2025
f48bd69
printing IS coloring
hmukesh5 Feb 21, 2025
d50d608
moved print up
hmukesh5 Feb 21, 2025
dea8363
changed to nvals, checking if somethings broken
hmukesh5 Feb 21, 2025
7714490
Merge pull request #261 from SparseLinearAlgebra/rpq
DrTimothyAldenDavis Feb 21, 2025
add6b0c
Merge pull request #273 from GraphBLAS/v1.2
DrTimothyAldenDavis Feb 21, 2025
d6fb110
switched branches and using load trick
GomezGab Feb 21, 2025
5d0081b
fixed bug in reading graphs
hmukesh5 Feb 21, 2025
23f5377
fixed bug in algorithm
hmukesh5 Feb 21, 2025
af7f75b
initial setup
peicasey Feb 21, 2025
19940c9
corrected algorithm time
hmukesh5 Feb 22, 2025
915833b
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab Feb 22, 2025
597d37e
IM touchup and set files to expect Colmajor
GomezGab Feb 23, 2025
abc568e
fixed leak and added comments
GomezGab Feb 23, 2025
97df91f
fixed for lower version of GraphBLAS
GomezGab Feb 23, 2025
6dac97d
fixed debug on IM
GomezGab Feb 23, 2025
540f7cf
Merge pull request #4 from hmukesh5/greedy-algorithm
hmukesh5 Feb 23, 2025
b6e0d39
GAP benchmark, in progress
DrTimothyAldenDavis Feb 23, 2025
c09d74d
Merge branch 'with_GraphBLAS_v10' of https://github.com/GraphBLAS/LAG…
DrTimothyAldenDavis Feb 23, 2025
f846032
added MIS algorithm, test, and benchmark
hmukesh5 Feb 23, 2025
98df8b0
Merge pull request #5 from hmukesh5/MIS-algorithm
hmukesh5 Feb 24, 2025
b234e25
added greedy benchmarking
hmukesh5 Feb 24, 2025
af8380c
Merge branch 'v1.2-with-coloring' of https://github.com/hmukesh5/LAGr…
hmukesh5 Feb 24, 2025
7df2080
added python file for networkx greedy coloring
hmukesh5 Feb 24, 2025
ef380c6
fixed filepath of karate.mtx
hmukesh5 Feb 24, 2025
63ec2bb
added matrices to benchmark
hmukesh5 Feb 24, 2025
f60cec0
Merge pull request #274 from GomezGab/incidence_GraphBLAS_10
DrTimothyAldenDavis Feb 24, 2025
16c400c
remove old output files
DrTimothyAldenDavis Feb 24, 2025
e56edf2
Merge branch 'with_GraphBLAS_v10' of https://github.com/GraphBLAS/LAG…
DrTimothyAldenDavis Feb 24, 2025
cdd8fd8
Merge pull request #275 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Feb 24, 2025
fae0614
Return GrB_SUCCESS if invert functions and check matching are success…
kchristin22 Feb 24, 2025
69fa291
Fix warning of string comparison in test_MaximumMatching
kchristin22 Feb 24, 2025
45d53a1
Fix printf warning of uint64 in Mac
kchristin22 Feb 24, 2025
63f252d
Merge pull request #254 from kchristin22/maximum-matching
DrTimothyAldenDavis Feb 24, 2025
0eb3028
Merge pull request #276 from GraphBLAS/v1.2
DrTimothyAldenDavis Feb 24, 2025
287bd07
initial parallel ebc
peicasey Feb 25, 2025
b3c40ab
FastSV7: using Container methods for GrBv10, in progress
DrTimothyAldenDavis Feb 25, 2025
8f60885
Merge branch 'with_GraphBLAS_v10' of https://github.com/GraphBLAS/LAG…
DrTimothyAldenDavis Feb 25, 2025
a0fca59
benchmarking CC
DrTimothyAldenDavis Feb 26, 2025
cd51f35
benchmarking CC
DrTimothyAldenDavis Feb 26, 2025
8dc4b88
benchmarking CC
DrTimothyAldenDavis Feb 26, 2025
a27483f
before 2/26 meeting
peicasey Feb 26, 2025
40d3a25
updates from Feb 26 meeting
DrTimothyAldenDavis Feb 26, 2025
aee1558
from Feb 26th meeting
DrTimothyAldenDavis Feb 27, 2025
f8be03d
add timing and make it bitmap
DrTimothyAldenDavis Feb 27, 2025
275b53d
revise LG_CC_FastSV7.c for GraphBLAS v10.0.0.alpha3
DrTimothyAldenDavis Feb 27, 2025
8cde706
typo in LG_CC_FastSV6
DrTimothyAldenDavis Feb 27, 2025
14951fe
GAP benchmarking in progress
DrTimothyAldenDavis Feb 27, 2025
3f5e8c9
tc_demo: just run method 5, LUT variant
DrTimothyAldenDavis Feb 27, 2025
ed98355
benchmarking
DrTimothyAldenDavis Feb 28, 2025
29260d7
Merge branch 'with_GraphBLAS_v10' of https://github.com/GraphBLAS/LAG…
DrTimothyAldenDavis Feb 28, 2025
982a870
GraphBLAS v10 benchmark results
DrTimothyAldenDavis Mar 2, 2025
8515898
GraphBLAS v10 benchmarks
DrTimothyAldenDavis Mar 2, 2025
0b102b4
benchmarks
DrTimothyAldenDavis Mar 2, 2025
97cdf10
Merge branch 'with_GraphBLAS_v10' of https://github.com/GraphBLAS/LAG…
DrTimothyAldenDavis Mar 2, 2025
6bd4917
before meeting 3/5
peicasey Mar 5, 2025
1f08077
in meeting, Mar 5
DrTimothyAldenDavis Mar 5, 2025
f59f06c
CI: use GraphBLAS 9.4.5 and 10.0.1
DrTimothyAldenDavis Mar 5, 2025
bccf539
CI: with multiple versions of GrB, had name conflict with multiple ar…
DrTimothyAldenDavis Mar 5, 2025
5534ce2
remove "free(...)" from CFL method
DrTimothyAldenDavis Mar 6, 2025
6e03b38
replace malloc/calloc/realloc/free with LAGraph_Malloc/Calloc/Realloc…
DrTimothyAldenDavis Mar 6, 2025
90f9f98
Merge branch 'gpu' of https://github.com/VidithM/LAGraph into gpu
VidithM Mar 6, 2025
808b425
revert cdlp
DrTimothyAldenDavis Mar 6, 2025
fb29912
cdlp: use LAGraph_Malloc for L and L_next
DrTimothyAldenDavis Mar 6, 2025
d373b25
cdlp
DrTimothyAldenDavis Mar 7, 2025
902c4d3
bipartite maximum matching: fix user-defined op input types (void to …
DrTimothyAldenDavis Mar 7, 2025
9e213e0
Remove debug code
VidithM Mar 7, 2025
bc94322
Revert "Changes for GPU perf evaluation"
VidithM Mar 7, 2025
7fde5f3
free scalars
VidithM Mar 7, 2025
d85aa84
move scalar declarations to top
VidithM Mar 7, 2025
2ee2659
testing with burble enabled
DrTimothyAldenDavis Mar 7, 2025
9014c67
Merge branch 'with_GraphBLAS_v10' into gpu
VidithM Mar 7, 2025
73039c4
turn off burble in tests/benchmarks
DrTimothyAldenDavis Mar 7, 2025
900954b
avoid compiler errors (gcc 13.x)
DrTimothyAldenDavis Mar 10, 2025
2b77088
Merge pull request #278 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Mar 10, 2025
34da5a4
Merge pull request #279 from VidithM/gpu
DrTimothyAldenDavis Mar 12, 2025
21d6481
Merge pull request #280 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Mar 12, 2025
751ff16
avoid compiler warnings: use PRIu64 not %ld
DrTimothyAldenDavis Mar 12, 2025
37582b2
test performance of GraphBLAS v10.0.2: adding build_demo.c
DrTimothyAldenDavis Mar 12, 2025
bf239a2
resolve compiler warnings (Apple clang 16)
DrTimothyAldenDavis Mar 12, 2025
2c31ff9
build_demo requires GraphBLAS v10
DrTimothyAldenDavis Mar 12, 2025
f4e8d79
remove data/comments* files
DrTimothyAldenDavis Mar 17, 2025
4c94799
test with GraphBLAS v10.0.2
DrTimothyAldenDavis Mar 18, 2025
2fde8be
Merge pull request #281 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Mar 18, 2025
2766a94
remove commented print statements on check_ebc
peicasey Mar 19, 2025
1c67847
remove print statements
peicasey Mar 19, 2025
938c0a0
rename variables
peicasey Mar 19, 2025
971fb5a
rename variables in check ebc
peicasey Mar 19, 2025
df36359
Merge pull request #2 from peicasey/exact-lin-alg-ebc
peicasey Mar 19, 2025
1e9aebc
demo basics
peicasey Mar 19, 2025
944c15d
Mar 19 meeting
DrTimothyAldenDavis Mar 19, 2025
48085a4
clean up tests and demo
peicasey Mar 19, 2025
07cf6e0
Merge pull request #6 from hmukesh5/networkx-greedy
hmukesh5 Mar 19, 2025
e851162
dot3_demo
DrTimothyAldenDavis Mar 19, 2025
eb65970
kt_demo
DrTimothyAldenDavis Mar 20, 2025
c3530ef
tracking down the dot3 heisenbug
DrTimothyAldenDavis Mar 20, 2025
160886a
tracking down the heisenbug in dot3
DrTimothyAldenDavis Mar 21, 2025
b4c5ac0
more tests with mtx_0010.mtx
DrTimothyAldenDavis Mar 21, 2025
605ab39
make test and demo nicer
peicasey Mar 29, 2025
9566dc4
Merge pull request #3 from peicasey/demo
peicasey Mar 30, 2025
d6c787a
make commenting nicer
peicasey Apr 2, 2025
c1d5e97
added more tests
peicasey Apr 2, 2025
b90960b
change comments to be more accurate
peicasey Apr 2, 2025
7ae6e58
add the options for the centrality update back
peicasey Apr 2, 2025
0477f2f
fix test printouts
peicasey Apr 2, 2025
d9a469e
archive cuda sync bug in dot3, phase2
DrTimothyAldenDavis Apr 4, 2025
c6b8ea9
remove cuda debugging output (see cuda_bug branch instead)
DrTimothyAldenDavis Apr 4, 2025
3fd728f
Merge pull request #282 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Apr 5, 2025
1560f63
add nice comments to check
peicasey Apr 13, 2025
f4885ec
timings added
peicasey Apr 14, 2025
d21de78
fix matrix name
peicasey Apr 14, 2025
30abbfd
Merge pull request #4 from peicasey/exact-lin-alg-ebc
peicasey Apr 18, 2025
638b08f
Merge pull request #5 from peicasey/demo
peicasey Apr 18, 2025
77931a1
initial approx
peicasey Apr 18, 2025
bc7c9f5
make commenting nicer
peicasey Apr 2, 2025
12b9f43
added more tests
peicasey Apr 2, 2025
9186370
change comments to be more accurate
peicasey Apr 2, 2025
6695c3e
add the options for the centrality update back
peicasey Apr 2, 2025
1d06ff5
fix test printouts
peicasey Apr 2, 2025
f317917
add nice comments to check
peicasey Apr 13, 2025
7eb61a1
timings added
peicasey Apr 14, 2025
a63ba92
fix matrix name
peicasey Apr 14, 2025
47fe5f4
Merge pull request #6 from peicasey/make-nicer
peicasey Apr 18, 2025
105b53d
Apr 18 meeting
DrTimothyAldenDavis Apr 18, 2025
119b5e4
AllKTruss testing on CUDA
DrTimothyAldenDavis Apr 18, 2025
991418f
add approx to full c
peicasey Apr 23, 2025
f288837
turn on burble for bfs tests
DrTimothyAldenDavis Apr 23, 2025
a6cbf23
cholesky bug?
DrTimothyAldenDavis Apr 23, 2025
c396ded
incidence matrix: fix double-free of container objects
DrTimothyAldenDavis Apr 24, 2025
1cfaaeb
github CI: using graphblas 10.0.3
DrTimothyAldenDavis Apr 24, 2025
724203b
tests: memory leaks fixed
DrTimothyAldenDavis Apr 25, 2025
8e72b42
turn off debugging for BFS tests
DrTimothyAldenDavis Apr 25, 2025
5c08b62
verbose test on the Mac
DrTimothyAldenDavis Apr 25, 2025
85cf3e1
verbose testing on the Mac, trying again
DrTimothyAldenDavis Apr 25, 2025
823a345
workflow file: typo
DrTimothyAldenDavis Apr 25, 2025
4a18fc2
verbose cmake for the Mac
DrTimothyAldenDavis Apr 25, 2025
07134a0
Merge branch 'with_GraphBLAS_v10' of https://github.com/GraphBLAS/LAG…
DrTimothyAldenDavis Apr 25, 2025
3800a14
Mac; yet again
DrTimothyAldenDavis Apr 25, 2025
c9a30b8
FindGraphBLAS
DrTimothyAldenDavis Apr 25, 2025
d2aef7e
add approximate EBC
peicasey Apr 28, 2025
545bb5d
added many tests for approx
peicasey Apr 28, 2025
4944505
add demo
peicasey Apr 28, 2025
1f89477
Merge branch 'v1.2' into approx-vsn
peicasey Apr 28, 2025
daeeb57
Merge branch 'v1.2' into approx-vsn
peicasey Apr 28, 2025
0b65549
fix demo
peicasey Apr 28, 2025
78757d1
Merge pull request #7 from peicasey/approx-vsn
peicasey Apr 28, 2025
8e2484a
Merge branch 'v1.2' into v1.2
peicasey Apr 28, 2025
734c452
Add thesis
peicasey Apr 28, 2025
611a1d5
make demo nicer
peicasey Apr 28, 2025
1361ab9
review cmake for the Mac; adding to rpath
DrTimothyAldenDavis Apr 28, 2025
3e6dc65
github: remove verbose test output
DrTimothyAldenDavis Apr 28, 2025
0a108e0
github for Mac: try using latest libomp
DrTimothyAldenDavis Apr 28, 2025
021f680
github again
DrTimothyAldenDavis Apr 28, 2025
471b2a0
github on the Mac: libomp cask
DrTimothyAldenDavis Apr 28, 2025
8c8d155
openmp on the mac
DrTimothyAldenDavis Apr 28, 2025
7bbeba8
github: openmp version on the mac
DrTimothyAldenDavis Apr 28, 2025
5b76369
printf compiler errors for LG_check_bfs.c
DrTimothyAldenDavis Apr 28, 2025
ed0b924
Merge pull request #284 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Apr 28, 2025
3b6ace2
fix thesis and remove valgrind
peicasey Apr 28, 2025
d397070
update CMakeLists.txt
peicasey Apr 28, 2025
a61e84e
update CMakeLists again
peicasey Apr 28, 2025
8c52667
Merge pull request #283 from peicasey/v1.2
DrTimothyAldenDavis Apr 28, 2025
5acfd42
Merge pull request #285 from GraphBLAS/v1.2
DrTimothyAldenDavis Apr 28, 2025
6e9abb5
LAGraph using OpenMP by default
DrTimothyAldenDavis Apr 28, 2025
5cb3871
FindGraphBLAS: turn off verbose output
DrTimothyAldenDavis Apr 28, 2025
f4d3373
working on test coverage
DrTimothyAldenDavis Apr 28, 2025
4eccb76
Merge pull request #286 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Apr 28, 2025
e0571e5
more test coverage of experimental algorithms
DrTimothyAldenDavis Apr 29, 2025
4373fb6
testing LCC and Markov clustering
DrTimothyAldenDavis Apr 29, 2025
6c35b59
markov clustering: simpler finalization; full test coverage
DrTimothyAldenDavis Apr 29, 2025
af89275
testing Fiedler method
DrTimothyAldenDavis Apr 29, 2025
b4ec380
testing HITS algorithm
DrTimothyAldenDavis Apr 29, 2025
893cadc
testing argmin/argmax
DrTimothyAldenDavis Apr 29, 2025
f8695d3
testing argmin/argmax
DrTimothyAldenDavis Apr 29, 2025
5e86d19
Merge pull request #287 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Apr 29, 2025
adcd31f
testing diameter and multibfs
DrTimothyAldenDavis Apr 29, 2025
e94b1d3
testing of maximum/maximal matching/etc
DrTimothyAldenDavis Apr 29, 2025
7f710e4
Merge pull request #288 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Apr 29, 2025
97e5d1b
tag untested lines in CFL and RegularPathQuery methods
DrTimothyAldenDavis Apr 29, 2025
71818b2
Merge pull request #289 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Apr 29, 2025
a3c5ca9
printf format in edge BC benchmark
DrTimothyAldenDavis Apr 29, 2025
314c9e1
Merge pull request #290 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Apr 30, 2025
92d3aed
Test: add rule with empty word to aS grammar
homka122 Apr 30, 2025
549262c
Test: add tests with empty adj matrix
homka122 Apr 30, 2025
e8c2417
Test: add some invalid state to rules and adj matrcies
homka122 Apr 30, 2025
8315558
Test: delete FIXME messages in CFL_reach algorithm
homka122 Apr 30, 2025
3402775
Merge pull request #291 from SparseLinearAlgebra/v1.2
DrTimothyAldenDavis Apr 30, 2025
4d6a95e
Merge pull request #292 from GraphBLAS/v1.2
DrTimothyAldenDavis Apr 30, 2025
dd1b7a7
revise list of contributors
DrTimothyAldenDavis Apr 30, 2025
411e6ed
Merge pull request #293 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Apr 30, 2025
e3e4c4e
test with both SS:GrB 9.0.0 and 10.0.3
DrTimothyAldenDavis Apr 30, 2025
e743113
revise random number generator; move LAGraph_Random.c to src/utility
DrTimothyAldenDavis Apr 30, 2025
d6fbeda
random: revise comments
DrTimothyAldenDavis Apr 30, 2025
8fbb0c1
remove fixme
DrTimothyAldenDavis Apr 30, 2025
e11a340
Merge pull request #294 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis Apr 30, 2025
4908acd
replace internal random number generator (LG_Random*) with xorshift64
DrTimothyAldenDavis May 1, 2025
170d5c2
testing triangle count, with new sampledegree randomization
DrTimothyAldenDavis May 1, 2025
49f9c74
remove LAGraph_Random_Init and LAGraph_Random_Finalize (no longer nee…
DrTimothyAldenDavis May 1, 2025
c56046f
patching leaks
GomezGab May 1, 2025
ba7796e
define the golden_gamma constant for splitmix64
DrTimothyAldenDavis May 1, 2025
420aac2
patched check mem leaks
GomezGab May 1, 2025
5600af8
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab May 1, 2025
2905145
Merge pull request #296 from GomezGab/EBC_testing
DrTimothyAldenDavis May 1, 2025
ab322a9
Merge pull request #295 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis May 1, 2025
a65e941
resolve memory leaks in tests
DrTimothyAldenDavis May 2, 2025
1b12f04
Merge pull request #297 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis May 2, 2025
e9adc45
fixed memory leaks in LAGraph_Coarsen_Matching
DrTimothyAldenDavis May 2, 2025
42fcded
Merge pull request #298 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis May 2, 2025
1dbeedc
Fix regular path query test coverage
georgiy-belyanin May 3, 2025
a7d3134
fix leak in test_Coarsen_matching; add more to "make memcheck"
DrTimothyAldenDavis May 4, 2025
ca51cf4
Merge pull request #300 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis May 4, 2025
75bfadc
Merge pull request #299 from SparseLinearAlgebra/fix-rpq-cov
DrTimothyAldenDavis May 4, 2025
bf87909
Merge pull request #301 from GraphBLAS/v1.2
DrTimothyAldenDavis May 4, 2025
fda4783
memcheck: turn off show-reachable, to ignore spurious "leaks" in OpenMP
DrTimothyAldenDavis May 4, 2025
4797b4d
Merge pull request #302 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis May 4, 2025
104196f
first cut at risc-v github test
DrTimothyAldenDavis May 6, 2025
24b76ed
test on risc-v
DrTimothyAldenDavis May 6, 2025
563e615
test GrB_mxm; revise riscv test to use dev2 branch of GraphBLAS
DrTimothyAldenDavis May 7, 2025
1489272
need a BFS with a max_level parameter
DrTimothyAldenDavis May 7, 2025
c952edb
testing: reduce test output, revise github workflows
DrTimothyAldenDavis May 7, 2025
f7df457
typo in workflow
DrTimothyAldenDavis May 7, 2025
f395ef7
cleanup testing (github workflows); fix ChangeLog
DrTimothyAldenDavis May 7, 2025
dcce54d
Merge pull request #304 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis May 8, 2025
8e77eff
extended BFS: with max_level and dest options
DrTimothyAldenDavis May 8, 2025
068e96f
move definition of LAGr_BreadthFirstSearch_Extended to LAGraphX.h
DrTimothyAldenDavis May 8, 2025
3e64404
typo in test_BreadthFirstSearch
DrTimothyAldenDavis May 8, 2025
73c4b8b
Merge pull request #306 from GraphBLAS/v1.2
DrTimothyAldenDavis May 8, 2025
e92a601
add many_expected parameter to BFS-extended
DrTimothyAldenDavis May 9, 2025
86b1412
Merge pull request #307 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis May 9, 2025
a2fcfa5
Merge branch 'stable' into v1.2
DrTimothyAldenDavis May 9, 2025
35e263b
Merge pull request #309 from GraphBLAS/v1.2
DrTimothyAldenDavis May 9, 2025
f7e4fdb
remove LAGraph_cc_lacc from cc_demo
DrTimothyAldenDavis May 12, 2025
a6ee64d
cleaning up pull request
hmukesh5 May 12, 2025
1d4fb8a
deleted a blank output file
hmukesh5 May 12, 2025
7dcaf42
Delete LAGraph_coloring_simple.c
hmukesh5 May 12, 2025
0758620
removing greedy C code
hmukesh5 May 12, 2025
770e74f
renamed independent set optimized -> independent set
hmukesh5 May 12, 2025
bfdbb35
editing print messages
hmukesh5 May 12, 2025
cc39fbd
Merge branch 'v1.2' into v1.2-with-coloring
hmukesh5 May 12, 2025
fabe6ff
updated header file after renaming algorithm
hmukesh5 May 12, 2025
6e4447f
fixed random initialization + finalize
hmukesh5 May 12, 2025
8e004d0
100% test coverage
hmukesh5 May 12, 2025
9c4c5c2
revise degree sampling for triangle counting
DrTimothyAldenDavis May 13, 2025
05aa5b8
Merge pull request #311 from hmukesh5/v1.2-with-coloring
DrTimothyAldenDavis May 13, 2025
88d5de0
Merge pull request #312 from GraphBLAS/v1.2
DrTimothyAldenDavis May 13, 2025
ccff17e
Merge pull request #313 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis May 13, 2025
1686664
add matrix for triangle count test coverage
DrTimothyAldenDavis May 13, 2025
ee58492
remove vscode json file
DrTimothyAldenDavis May 13, 2025
101bf0e
Merge branch 'with_GraphBLAS_v10' of https://github.com/GraphBLAS/LAG…
DrTimothyAldenDavis May 13, 2025
65a2053
Merge pull request #314 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis May 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
91 changes: 91 additions & 0 deletions .github/workflows/build-arch-emu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: arch-emu

# FIXME: do this on workflow_dispatch only
on:
workflow_dispatch:
push:
branches-ignore:
- '**/v1.2'
pull_request:

jobs:

alpine:
# Run armv7 on aarch64 runners
runs-on: ${{ matrix.arch == 'armv7' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}

defaults:
run:
# Use emulated shell as default
shell: alpine.sh {0}

strategy:
matrix:
config:
# FIXME: switch to 10.1.0 when it is released:
- {grb_version: 10.0.5}
# For available CPU architectures, see:
# https://github.com/marketplace/actions/setup-alpine-linux-environment
arch: [riscv64]
include:
- arch: riscv64
ccache-max: 28M

name: alpine (${{ matrix.arch }})

steps:
- name: get CPU information (host)
shell: bash
run: lscpu

- name: checkout repository
uses: actions/checkout@v4
# shell: bash

- name: install dependencies
uses: jirutka/setup-alpine@v1
# shell: bash
with:
arch: ${{ matrix.arch }}
apk-tools-url: ${{ matrix.arch == 'armv7'
&& 'https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/aarch64/apk.static#!sha256!27a975638ddc95a411c9f17c63383e335da9edf6bb7de2281d950c291a11f878'
|| 'https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/x86_64/apk.static#!sha256!bdd044e0fd6cc388c5e571e1093efa5f35f7767cc5aa338b0a2576a429009a62' }}
packages: >
build-base
ccache
cmake
lscpu
libtool
git
sudo

- name: disable QEMU emulation
if: matrix.arch == 'armv7'
shell: bash
run: sudo update-binfmts --disable qemu-arm

- name: get CPU information (emulated)
run: lscpu

- name: build GraphBLAS
run: |
echo "gcc --version"
gcc --version
echo "gcc -dumpmachine"
gcc -dumpmachine
git clone https://github.com/DrTimothyAldenDavis/GraphBLAS.git
cd GraphBLAS
# FIXME: switch to 10.1.0 when it is released:
# git checkout tags/v${{ matrix.config.grb_version }}
git checkout dev2
make compact
sudo make install
cd ..

- name: build and test LAGraph
run: |
cd build
cmake ..
JOBS=2 make
ctest . --verbose

36 changes: 27 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,28 @@ on:
pull_request:

jobs:

linux:

runs-on: ubuntu-22.04

strategy:
matrix:
config:
# if there are multiple items in this list, only use should
# deployit=true for just one of them.
- {grb_version: 9.3.1, deployit: true}
- {grb_version: 9.0.0, deployit: false}
- {grb_version: 10.0.3, deployit: true}

steps:

- name: Checkout
uses: actions/[email protected]

- name: Install tools for build
run: |
sudo apt install -y lcov

- name: Build GraphBLAS
run: |
git clone https://github.com/DrTimothyAldenDavis/GraphBLAS.git
Expand All @@ -30,40 +38,50 @@ jobs:
make compact
sudo make install
cd ..

- name: Build project
run: |
export GRAPHBLAS_INCLUDE_DIR=`pwd`/GraphBLAS/include/suitesparse
export GRAPHBLAS_LIBRARY=`pwd`/GraphBLAS/lib/libgraphblas.so
cd build
cmake .. -DCOVERAGE=1 -DGRAPHBLAS_INCLUDE_DIR=${GRAPHBLAS_INCLUDE_DIR} -DGRAPHBLAS_LIBRARY=${GRAPHBLAS_LIBRARY}
cmake .. -DCOVERAGE=1
JOBS=2 make
make test_coverage

- name: Deploy
uses: JamesIves/[email protected]
if: matrix.config.deployit && github.event_name == 'push' && github.ref == 'refs/heads/stable'
with:
branch: gh-pages
folder: build/test_coverage/
single-commit: true

- name: Save output
uses: actions/[email protected]
if: matrix.config.deployit
with:
name: test_coverage
path: build/test_coverage/

macos:

runs-on: macos-14

strategy:
matrix:
config:
- {grb_version: 9.3.1}
- {grb_version: 9.0.0}
- {grb_version: 10.0.3}

steps:

- name: Checkout
uses: actions/[email protected]

- name: Install dependencies
run: |
brew tap-new libomp/cask
brew extract --version=14.0.6 libomp libomp/cask
brew install [email protected]

- name: Build GraphBLAS
run: |
git clone https://github.com/DrTimothyAldenDavis/GraphBLAS.git
Expand All @@ -72,13 +90,13 @@ jobs:
make compact
sudo make install
cd ..

- name: Build project
run: |
export GRAPHBLAS_INCLUDE_DIR=`pwd`/GraphBLAS/include/suitesparse
export GRAPHBLAS_LIBRARY=`pwd`/GraphBLAS/lib/libgraphblas.dylib
# adding an extra line to the CMakeLists.txt file to locate the libomp instance installed by brew
echo 'include_directories("/usr/local/opt/libomp/include")' | cat - CMakeLists.txt
cd build
CC=gcc cmake .. -DGRAPHBLAS_INCLUDE_DIR=${GRAPHBLAS_INCLUDE_DIR} -DGRAPHBLAS_LIBRARY=${GRAPHBLAS_LIBRARY}
cmake ..
JOBS=2 make
make test
ctest .

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ gmon.out
cmake-build-debug*
CMakeFiles*
*~
data/comments*.txt
data/comments*.mtx

*/build/*
**/.venv/*
Expand Down
5 changes: 0 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

version: 2

build:
os: ubuntu-22.04
tools:
python: "3.12"

formats:
- pdf

Expand Down
40 changes: 37 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
cmake_minimum_required ( VERSION 3.20 ) # LAGraph can be built stand-alone

# version of LAGraph
set ( LAGraph_DATE "Feb 20, 2025" )
set ( LAGraph_DATE "FIXME, 2025" )
set ( LAGraph_VERSION_MAJOR 1 CACHE STRING "" FORCE )
set ( LAGraph_VERSION_MINOR 1 CACHE STRING "" FORCE )
set ( LAGraph_VERSION_SUB 5 CACHE STRING "" FORCE )
set ( LAGraph_VERSION_MINOR 2 CACHE STRING "" FORCE )
set ( LAGraph_VERSION_SUB 0 CACHE STRING "" FORCE )

message ( STATUS "Building LAGraph version: v"
${LAGraph_VERSION_MAJOR}.
Expand Down Expand Up @@ -127,6 +127,7 @@ endif ( )

if ( SUITESPARSE_ROOT_CMAKELISTS )

message ( STATUS "Looking for GraphBLAS in SuiteSparse" )
if ( TARGET GraphBLAS )
add_library ( GraphBLAS::GraphBLAS ALIAS GraphBLAS )
else ( )
Expand All @@ -153,6 +154,7 @@ else ( )
# No package version is explicitly stated here; an arbitrary GraphBLAS
# library can have any version number. For SuiteSparse:GraphBLAS, LAGraph
# requires v7.1.0 or later, which is checked in LAGraph.h.
message ( STATUS "Looking for GraphBLAS with FindGraphBLAS.cmake" )
find_package ( GraphBLAS MODULE REQUIRED )

endif ( )
Expand Down Expand Up @@ -219,6 +221,7 @@ message ( STATUS "CMAKE have OpenMP: " ${OPENMP_C_FOUND} )

include_directories ( ${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/src/utility
${PROJECT_SOURCE_DIR}/src/algorithm
${PROJECT_SOURCE_DIR}/test/include )

# tell LAGraph where to find its own source (for LAGraph/data files)
Expand Down Expand Up @@ -247,6 +250,10 @@ elseif ( "${CMAKE_C_COMPILER_ID}" STREQUAL "Intel" )
#if ( CMAKE_C_COMPILER_VERSION VERSION_LESS 18.0 )
# message ( FATAL_ERROR "icc version must be at least 18.0" )
#endif ( )
elseif ( "${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang" )
# options for Apple Clang
# set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address" )
# set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=thread" )
elseif ( "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" AND NOT "${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC" )
# options for clang
set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 " )
Expand Down Expand Up @@ -287,6 +294,7 @@ message ( STATUS "CMAKE C flags: " ${CMAKE_C_FLAGS} )
# enable testing and add subdirectories
#-------------------------------------------------------------------------------

set ( MEMORYCHECK_COMMAND_OPTIONS "--show-reachable=no" )
include ( CTest )

add_subdirectory ( src )
Expand Down Expand Up @@ -317,6 +325,31 @@ if ( BUILD_STATIC_LIBS )
PUBLIC_HEADER DESTINATION ${SUITESPARSE_INCLUDEDIR} )
endif ( )

#-------------------------------------------------------------------------------
# LAGraph uses OpenMP by default
#-------------------------------------------------------------------------------

if ( LAGRAPH_HAS_OPENMP )
message ( STATUS "CMAKE OpenMP libraries: ${OpenMP_C_LIBRARIES}" )
message ( STATUS "CMAKE OpenMP include: ${OpenMP_C_INCLUDE_DIRS}" )
if ( BUILD_SHARED_LIBS )
target_link_libraries ( LAGraph PRIVATE OpenMP::OpenMP_C )
endif ( )
if ( BUILD_STATIC_LIBS )
target_link_libraries ( LAGraph_static PRIVATE OpenMP::OpenMP_C )
endif ( )
message ( STATUS "CMAKE OpenMP C flags: ${OpenMP_C_FLAGS}" )
else ( )
if ( NOT COVERAGE )
message ( WARNING
"WARNING: OpenMP was not found (or was disabled with "
"LAGRAPH_USE_OPENMP; some LAGraph methods will be slow.)" )
endif ( )
endif ( )

#-------------------------------------------------------------------------------
# LAGraph targets and package configuration
#-------------------------------------------------------------------------------

# create (temporary) export target file during build
export ( EXPORT LAGraphTargets
Expand Down Expand Up @@ -424,3 +457,4 @@ if ( NOT MSVC )
${CMAKE_CURRENT_BINARY_DIR}/LAGraph.pc
DESTINATION ${SUITESPARSE_PKGFILEDIR}/pkgconfig )
endif ( )

7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Version 1.2.0: in progress

* v2.1 C API: using the new GrB_get/set methods in the C API;
LAGraph can now use a "vanilla" GraphBLAS that supports the v2.1
C API. If SuiteSparse:GraphBLAS is used, v9.0.0 is required.


Feb 20, 2025: version 1.1.5

* minor updates to github CI
Expand Down
59 changes: 36 additions & 23 deletions Contributors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,40 @@ this project.

Contributors (in alphabetical order):

Janos B. Antal, Budapest University of Technology and Economics, Hungary
Mohsen Aznaveh, Texas A&M University
David A. Bader New Jersey Institute of Technology
Aydin Buluc, Lawrence Berkeley National Lab
Jinhao Chen, Texas A&M University
Tim Davis, Texas A&M University
Florentin Dorre, Technische Univeritat Dresden, Neo4j
Marton Elekes, Budapest University of Technology and Economics, Hungary
Balint Hegyi, Budapest University of Technology and Economics, Hungary
Tanner Hoke, Texas A&M University
James Kitchen, Anaconda
Scott Kolodziej, Texas A&M University
Pranav Konduri, Texas A&M University
Roi Lipman, Redis Labs
Tze Meng Low, Carnegie Mellon University
Tim Mattson, Intel
Scott McMillan, Carnegie Mellon University
Markus Muetzel,
Michel Pelletier, Graphegon
Gabor Szarnyas, CWI Amsterdam, The Netherlands
Erik Welch, Anaconda, NVIDIA
Carl Yang, University of California at Davis, Waymo
Yongzhe Zhang, SOKENDAI, Japan
Janos B. Antal Budapest University of Technology and Economics, Hungary
Mohsen Aznaveh Texas A&M University
David A. Bader New Jersey Institute of Technology
Georgiy Belyanin St. Petersburg State University
Aydin Buluc Lawrence Berkeley National Lab
Jinhao Chen Texas A&M University
Tim Davis Texas A&M University
Florentin Dorre Technische Univeritat Dresden, Neo4j
Marton Elekes Budapest University of Technology and Economics, Hungary
Alexandra Goff Texas A&M University
Gabriel Gomez Texas A&M University
Semyon Grigoriev St. Petersburg State University
Balint Hegyi Budapest University of Technology and Economics, Hungary
Tanner Hoke Texas A&M University
James Kitchen Anaconda
Scott Kolodziej Texas A&M University
Ilhom Kombaev St. Petersburg State University
Pranav Konduri Texas A&M University
Christina Koutsou Aristotle University of Thessaloniki
Roi Lipman Redis Labs
Tze Meng Low Carnegie Mellon University
Vidith Madhu Texas A&M University
Tim Mattson Intel
Scott McMillan Carnegie Mellon University
Markus Muetzel
Hemanth Mukesh Texas A&M University
Olumayowa Olowomeye Texas A&M University
Casey Pei Texas A&M University
Michel Pelletier Graphegon, OneSparse
Darin Peries Texas A&M University
Cameron Quilici Texas A&M University
Aurko Routh Texas A&M University
Gabor Szarnyas CWI Amsterdam, The Netherlands
Erik Welch Anaconda, then NVIDIA
Carl Yang University of California at Davis, Waymo
Yongzhe Zhang SOKENDAI, Japan

8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ test: library
verbose_test: library
( cd build && ctest . --verbose || ctest . --rerun-failed --output-on-failure )

# memcheck: compile with -g and no OpenMP (the latter gives spurious leaks from
# dlopen and dlinit), and run the tests with valgrind. For best results,
# compile GraphBLAS without OpenMP and with the JIT disabled.
memcheck: distclean
( cd build && cmake $(CMAKE_OPTIONS) -DCMAKE_BUILD_TYPE=Debug -DLAGRAPH_USE_OPENMP=0 .. )
( cd build && cmake --build . --config Release -j${JOBS} )
( cd build && ctest . -T memcheck )

# target used in CI
demos: test

Expand Down
Loading
Loading