Accepting request 1146515 from science
OBS-URL: https://build.opensuse.org/request/show/1146515 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suitesparse?expand=0&rev=46
This commit is contained in:
commit
537337b6c9
3
1138_bus.tar.gz
Normal file
3
1138_bus.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c746097ff48303b4eeb170cd010283c8eb3d8e8f212132cd91d22228c42c28c2
|
||||
size 19829
|
3
494_bus.tar.gz
Normal file
3
494_bus.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b2d33c6fe52ee5b4980da1a2d2b78201924a36714234757677fa5c829c483ca
|
||||
size 8622
|
3
662_bus.tar.gz
Normal file
3
662_bus.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b2874313dcbf2bd7d37e5ccd0f47bcebaa9cac84d15d9129b71d831c06516e1
|
||||
size 12673
|
3
685_bus.tar.gz
Normal file
3
685_bus.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2ef60af9adfbe6e97132dc68c658fbc72052b4e16d4daa04ffaf0e5356618111
|
||||
size 15217
|
3
Erdos992.tar.gz
Normal file
3
Erdos992.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:06053f4d31941b98272d31afb81a9dab2ef1e2218b820092ae56185572bfdc65
|
||||
size 70491
|
3
G42.tar.gz
Normal file
3
G42.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51e34dd0c35b82abda3628f9fff1b4dcaf2adce11efb032408bc9e9aca16531a
|
||||
size 40212
|
3
LF10000.tar.gz
Normal file
3
LF10000.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:95d3212c17136ce3d2d5c051eeb8ef262b3e4c7e7f302fd6eda0d501fa069ce0
|
||||
size 696214
|
12
README-suse-maintenance.md
Normal file
12
README-suse-maintenance.md
Normal file
@ -0,0 +1,12 @@
|
||||
Before commiting content to devel project, you must first update the tests sources.
|
||||
|
||||
The script `list-mongoose-test-sources.py` is a modified version of the `runTests` python script
|
||||
located at `Mongoose/Tests/`. Please read the script and modify it as needed
|
||||
e.g. change of min id default or max id default or reading the IDs indicated from the
|
||||
the tests section of Mongoose's CMakeLists.txt.
|
||||
|
||||
Check if there are new sources and if there are, add it as new content sources for the RPM specfile.
|
||||
|
||||
Check that the specfile has those new sources copied to `Mongoose/Tests/Matrix` and `Mongoose/Matrix`. As for `ssstats.csv`, that should
|
||||
be in `Mongoose/Tests/`.
|
||||
|
BIN
SuiteSparse-5.13.0.tar.gz
(Stored with Git LFS)
BIN
SuiteSparse-5.13.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
SuiteSparse-7.5.1.tar.gz
Normal file
3
SuiteSparse-7.5.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dccfb5f75aa83fe2edb4eb2462fc984a086c82bad8433f63c31048d84b565d74
|
||||
size 85459098
|
3
USpowerGrid.tar.gz
Normal file
3
USpowerGrid.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b99457e4c7611b82e8d9a529b0c11a5dcb8b0b9451a6786605d5945ebd602eaf
|
||||
size 23601
|
@ -3,6 +3,9 @@
|
||||
<physicalmemory>
|
||||
<size unit="G">7</size>
|
||||
</physicalmemory>
|
||||
<disk>
|
||||
<size unit="G">40</size>
|
||||
</disk>
|
||||
</hardware>
|
||||
<overwrite>
|
||||
<conditions>
|
||||
@ -25,3 +28,4 @@
|
||||
</hardware>
|
||||
</overwrite>
|
||||
</constraints>
|
||||
|
||||
|
3
arc130.tar.gz
Normal file
3
arc130.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b499386356876212fe5a27b09273d27b3a3bebbf77d51d251bf17fbe02599cd
|
||||
size 13281
|
3
ash292.tar.gz
Normal file
3
ash292.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0001e346822b6ee4eb147a9145c56dbfc2d21a46c5e0a5c95643907e9d8b5381
|
||||
size 3017
|
3
ash85.tar.gz
Normal file
3
ash85.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eaccf8b93e27599dc8b2a3751067412e184250298387b640bdbaafc168e52f06
|
||||
size 1037
|
3
bcspwr01.tar.gz
Normal file
3
bcspwr01.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8348e2a048bb65d1ba8b92f5b296abf17ade9a7108a65771a8095c13e57e7e32
|
||||
size 636
|
3
bcspwr02.tar.gz
Normal file
3
bcspwr02.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fec3a5dd0cbc986e6917290769c07e44600ad8e8e8e408e9284d64e48f7ecb9b
|
||||
size 688
|
3
bcspwr03.tar.gz
Normal file
3
bcspwr03.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c14c14b77dcb67364f4022d0af0432e2edf5b7d7927cf9a7f8d10d6d00f7761b
|
||||
size 1175
|
3
bcspwr09.tar.gz
Normal file
3
bcspwr09.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c4a71c5c18944e9d988357adb0f17281b33620a44537a83b19ad601ebd2cab9b
|
||||
size 14566
|
3
bcsstk17.tar.gz
Normal file
3
bcsstk17.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:70657d5cab62f2947e861842013aff43e380bd37205701978016e30412d054e6
|
||||
size 1915413
|
3
bcsstm02.tar.gz
Normal file
3
bcsstm02.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:72897c2859efed23dad58748683dc094fbbf2ea63532f83b8deedbcb961c7c98
|
||||
size 796
|
@ -1,19 +0,0 @@
|
||||
diff -urN SuiteSparse.orig/SuiteSparse_config/SuiteSparse_config.h SuiteSparse/SuiteSparse_config/SuiteSparse_config.h
|
||||
--- SuiteSparse.orig/SuiteSparse_config/SuiteSparse_config.h 2014-10-10 00:19:51.000000000 +0200
|
||||
+++ SuiteSparse/SuiteSparse_config/SuiteSparse_config.h 2014-10-22 09:40:49.041061515 +0200
|
||||
@@ -153,13 +153,13 @@
|
||||
) ;
|
||||
|
||||
/* determine which timer to use, if any */
|
||||
-#ifndef NTIMER
|
||||
+/*#ifndef NTIMER*/
|
||||
#ifdef _POSIX_C_SOURCE
|
||||
#if _POSIX_C_SOURCE >= 199309L
|
||||
#define SUITESPARSE_TIMER_ENABLED
|
||||
#endif
|
||||
#endif
|
||||
-#endif
|
||||
+/*#endif*/
|
||||
|
||||
/* SuiteSparse printf macro */
|
||||
#define SUITESPARSE_PRINTF(params) \
|
@ -1,193 +0,0 @@
|
||||
From: toddrme2178@gmail.com
|
||||
Date: 2018-03-07
|
||||
Subject: Build shared CSparse
|
||||
|
||||
Upstream does not support installing CSparse as a shared library.
|
||||
We need it is a shared library. This patch modifies the
|
||||
makefil to make sure it is installed correctly.
|
||||
|
||||
|
||||
--- a/CSparse/Demo/Makefile
|
||||
+++ b/CSparse/Demo/Makefile
|
||||
@@ -1,36 +1,48 @@
|
||||
-CF = $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -O
|
||||
-I = -I../Include
|
||||
+# CC = cc
|
||||
+# CF = -O
|
||||
+
|
||||
+default: all
|
||||
+
|
||||
+include ../../SuiteSparse_config/SuiteSparse_config.mk
|
||||
|
||||
LDLIBS += -lm
|
||||
-CS = $(LDFLAGS) ../Lib/libcsparse.a $(LDLIBS)
|
||||
|
||||
-all: lib cs_demo1 cs_demo2 cs_demo3
|
||||
+I = -I../../include
|
||||
+
|
||||
+CS = $(LDFLAGS) -L../../lib -lcsparse $(LDLIBS)
|
||||
+
|
||||
+all: library cs_demo1 cs_demo2 cs_demo3 \
|
||||
+ tests
|
||||
+
|
||||
+library:
|
||||
+ ( cd ../Lib ; $(MAKE) )
|
||||
+
|
||||
+tests: library test
|
||||
+
|
||||
+test: cs_demo1 cs_demo2 cs_demo3
|
||||
- ./cs_demo1 < ../Matrix/t1
|
||||
- ./cs_demo2 < ../Matrix/t1
|
||||
- - ./cs_demo2 < ../Matrix/ash219
|
||||
- - ./cs_demo2 < ../Matrix/bcsstk01
|
||||
- ./cs_demo2 < ../Matrix/fs_183_1
|
||||
- - ./cs_demo2 < ../Matrix/mbeacxc
|
||||
- ./cs_demo2 < ../Matrix/west0067
|
||||
- ./cs_demo2 < ../Matrix/lp_afiro
|
||||
- - ./cs_demo2 < ../Matrix/bcsstk16
|
||||
+ - ./cs_demo2 < ../Matrix/ash219
|
||||
+ - ./cs_demo2 < ../Matrix/mbeacxc
|
||||
+ - ./cs_demo2 < ../Matrix/bcsstk01
|
||||
- ./cs_demo3 < ../Matrix/bcsstk01
|
||||
+ - ./cs_demo2 < ../Matrix/bcsstk16
|
||||
- ./cs_demo3 < ../Matrix/bcsstk16
|
||||
|
||||
-lib:
|
||||
- ( cd ../Lib ; $(MAKE) )
|
||||
-
|
||||
-cs_demo1: lib cs_demo1.c Makefile
|
||||
+cs_demo1: cs_demo1.c Makefile
|
||||
$(CC) $(CF) $(I) -o cs_demo1 cs_demo1.c $(CS)
|
||||
|
||||
-cs_demo2: lib cs_demo2.c cs_demo.c cs_demo.h Makefile
|
||||
+cs_demo2: cs_demo2.c cs_demo.c cs_demo.h Makefile
|
||||
$(CC) $(CF) $(I) -o cs_demo2 cs_demo2.c cs_demo.c $(CS)
|
||||
|
||||
-cs_demo3: lib cs_demo3.c cs_demo.c cs_demo.h Makefile
|
||||
+cs_demo3: cs_demo3.c cs_demo.c cs_demo.h Makefile
|
||||
$(CC) $(CF) $(I) -o cs_demo3 cs_demo3.c cs_demo.c $(CS)
|
||||
|
||||
clean:
|
||||
- - $(RM) *.o
|
||||
+ - $(RM) -r $(CLEAN)
|
||||
|
||||
purge: distclean
|
||||
|
||||
|
||||
--- a/CSparse/Lib/Makefile
|
||||
+++ b/CSparse/Lib/Makefile
|
||||
@@ -15,16 +15,22 @@
|
||||
# CSparse/Lib. It does not install it for system-wide usage.
|
||||
|
||||
LIBRARY = libcsparse
|
||||
-CF = $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -O
|
||||
+VERSION = _
|
||||
+SO_VERSION = _
|
||||
|
||||
-I = -I../Include
|
||||
-RANLIB = ranlib
|
||||
-ARCHIVE = $(AR) $(ARFLAGS)
|
||||
-CP = cp -f
|
||||
+default: library
|
||||
|
||||
-AR_TARGET = $(LIBRARY).a
|
||||
+include ../../SuiteSparse_config/SuiteSparse_config.mk
|
||||
|
||||
-all: install
|
||||
+LDLIBS += -lm
|
||||
+
|
||||
+# compile and install in SuiteSparse/lib
|
||||
+library:
|
||||
+ $(MAKE) install INSTALL=$(SUITESPARSE)
|
||||
+
|
||||
+I = -I../../SuiteSparse_config -I../Include
|
||||
+
|
||||
+all: library
|
||||
|
||||
CS = cs_add.o cs_amd.o cs_chol.o cs_cholsol.o cs_counts.o cs_cumsum.o \
|
||||
cs_droptol.o cs_dropzeros.o cs_dupl.o cs_entry.o \
|
||||
@@ -39,25 +45,43 @@
|
||||
$(CS): ../Include/cs.h Makefile
|
||||
|
||||
%.o: ../Source/%.c ../Include/cs.h
|
||||
- $(CC) $(CF) $(I) -c $<
|
||||
+ $(CC) $(CF) $(I) -c $< -o $@
|
||||
|
||||
static: $(AR_TARGET)
|
||||
|
||||
$(AR_TARGET): $(CS)
|
||||
- $(ARCHIVE) $@ $^
|
||||
+ $(ARCHIVE) $@ $^
|
||||
- $(RANLIB) $@
|
||||
|
||||
-# install CSparse in this directory
|
||||
-install: $(AR_TARGET)
|
||||
-
|
||||
-# uninstall CSparse
|
||||
-uninstall: purge
|
||||
-
|
||||
clean:
|
||||
- - $(RM) *.o
|
||||
+ - $(RM) -r $(CLEAN)
|
||||
|
||||
purge: distclean
|
||||
|
||||
distclean: clean
|
||||
- - $(RM) *.a *.obj *.dll *.dylib *.so *.so.*
|
||||
+ - $(RM) -r $(PURGE)
|
||||
+
|
||||
+# install CSparse
|
||||
+install: $(AR_TARGET) $(INSTALL_LIB)/$(SO_TARGET)
|
||||
+
|
||||
+$(INSTALL_LIB)/$(SO_TARGET): $(CS)
|
||||
+ @mkdir -p $(INSTALL_LIB)
|
||||
+ @mkdir -p $(INSTALL_INCLUDE)
|
||||
+ @mkdir -p $(INSTALL_DOC)
|
||||
+ $(CC) $(SO_OPTS) $^ -o $@ $(LDLIBS)
|
||||
+ ( cd $(INSTALL_LIB) ; ln -sf $(SO_TARGET) $(SO_PLAIN) )
|
||||
+ ( cd $(INSTALL_LIB) ; ln -sf $(SO_TARGET) $(SO_MAIN) )
|
||||
+ $(CP) ../Include/cs.h $(INSTALL_INCLUDE)
|
||||
+ $(CP) ../README.txt $(INSTALL_DOC)/CSPARSE_README.txt
|
||||
+ chmod 755 $(INSTALL_LIB)/$(SO_TARGET)
|
||||
+ chmod 644 $(INSTALL_INCLUDE)/cs.h
|
||||
+ chmod 644 $(INSTALL_DOC)/CSPARSE_README.txt
|
||||
+
|
||||
+# uninstall CSparse
|
||||
+uninstall:
|
||||
+ $(RM) $(INSTALL_LIB)/$(SO_TARGET)
|
||||
+ $(RM) $(INSTALL_LIB)/$(SO_PLAIN)
|
||||
+ $(RM) $(INSTALL_LIB)/$(SO_MAIN)
|
||||
+ $(RM) $(INSTALL_INCLUDE)/cs.h
|
||||
+ $(RM) $(INSTALL_DOC)/CSPARSE_README.txt
|
||||
|
||||
|
||||
--- a/CSparse/Makefile
|
||||
+++ b/CSparse/Makefile
|
||||
@@ -2,6 +2,13 @@
|
||||
# CSparse Makefile
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
+SUITESPARSE ?= $(realpath $(CURDIR)/..)
|
||||
+export SUITESPARSE
|
||||
+
|
||||
+default: C
|
||||
+
|
||||
+include ../SuiteSparse_config/SuiteSparse_config.mk
|
||||
+
|
||||
C:
|
||||
( cd Lib ; $(MAKE) )
|
||||
( cd Demo ; $(MAKE) )
|
||||
@@ -34,9 +41,11 @@
|
||||
|
||||
distclean: purge
|
||||
|
||||
-install: library
|
||||
+# install CSparse
|
||||
+install:
|
||||
( cd Lib ; $(MAKE) install )
|
||||
|
||||
+# uninstall CSparse
|
||||
uninstall:
|
||||
( cd Lib ; $(MAKE) uninstall )
|
||||
|
||||
|
3
c-38.tar.gz
Normal file
3
c-38.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2c51b64074ae57609c9da2e3581b846e6d0947485d249253b8441d17a83b338c
|
||||
size 385635
|
3
c-43.tar.gz
Normal file
3
c-43.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9263b1765caf6f0ed4b0865718b290423eac4f4ac23555bede18bcd5840d9f4f
|
||||
size 443036
|
3
crystm01.tar.gz
Normal file
3
crystm01.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:152b2428e1f6b621ae5ea729dca93a17431a72bd2a12e0adeb7618ad315476ba
|
||||
size 298559
|
3
delaunay_n13.tar.gz
Normal file
3
delaunay_n13.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ab86c7d030c8bbbe004a973f95966744fd51ed834ddd11027c38612c177a754
|
||||
size 68184
|
3
fxm3_6.tar.gz
Normal file
3
fxm3_6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf02853b3ab9b59c49b2cbe108a98acd511577b5c8d412c8c1f1cc9ca07ae115
|
||||
size 116068
|
3
jagmesh7.tar.gz
Normal file
3
jagmesh7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ed09be0f258747a3ace9bad5a4d0caf724816f46f796b92ad6e855f54b3a8364
|
||||
size 9681
|
42
keep-mongoose-test-sources.patch
Normal file
42
keep-mongoose-test-sources.patch
Normal file
@ -0,0 +1,42 @@
|
||||
diff -ruN SuiteSparse-7.5.0.orig/Mongoose/CMakeLists.txt SuiteSparse-7.5.0/Mongoose/CMakeLists.txt
|
||||
--- SuiteSparse-7.5.0.orig/Mongoose/CMakeLists.txt 2024-01-15 06:06:06.714855174 +0800
|
||||
+++ SuiteSparse-7.5.0/Mongoose/CMakeLists.txt 2024-01-15 06:08:20.629179796 +0800
|
||||
@@ -316,13 +316,13 @@
|
||||
RUNTIME_OUTPUT_DIRECTORY ${TESTING_OUTPUT_PATH} )
|
||||
|
||||
add_test ( NAME Mongoose_Edge_Separator_Test
|
||||
- COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -min 1 -max 15 -t edgesep )
|
||||
+ COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -min 1 -max 15 -t edgesep -k )
|
||||
add_test ( NAME Mongoose_Edge_Separator_Test_2
|
||||
- COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -t edgesep -i 21 39 191 1557 1562 353 2468 1470 1380 505 182 201 2331 760 1389 2401 2420 242 250 1530 1533 360 1437 )
|
||||
+ COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -t edgesep -i 21 39 191 1557 1562 353 2468 1470 1380 505 182 201 2331 760 1389 2401 2420 242 250 1530 1533 360 1437 -k )
|
||||
add_test ( NAME Mongoose_Weighted_Edge_Separator_Test
|
||||
- COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -t edgesep -i 2624 )
|
||||
+ COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -t edgesep -i 2624 -k )
|
||||
add_test ( NAME Mongoose_Target_Split_Test
|
||||
- COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -min 1 -max 15 -t edgesep -s 0.3 )
|
||||
+ COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -min 1 -max 15 -t edgesep -s 0.3 -k )
|
||||
|
||||
# Memory Tests
|
||||
add_executable ( mongoose_test_memory
|
||||
@@ -338,7 +338,7 @@
|
||||
RUNTIME_OUTPUT_DIRECTORY ${TESTING_OUTPUT_PATH} )
|
||||
|
||||
add_test ( NAME Mongoose_Memory_Test
|
||||
- COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -min 1 -max 15 -t memory )
|
||||
+ COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -min 1 -max 15 -t memory -k )
|
||||
|
||||
# Performance Test
|
||||
add_executable ( mongoose_test_performance
|
||||
@@ -354,9 +354,9 @@
|
||||
RUNTIME_OUTPUT_DIRECTORY ${TESTING_OUTPUT_PATH} )
|
||||
|
||||
add_test ( NAME Mongoose_Performance_Test
|
||||
- COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -min 1 -max 15 -t performance -p )
|
||||
+ COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -min 1 -max 15 -t performance -k )
|
||||
add_test ( NAME Mongoose_Performance_Test_2
|
||||
- COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -t performance -i 21 39 1557 1562 353 2468 1470 1380 505 182 201 2331 760 1389 2401 2420 242 250 1530 1533 -p )
|
||||
+ COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Tests/runTests -t performance -i 21 39 1557 1562 353 2468 1470 1380 505 182 201 2331 760 1389 2401 2420 242 250 1530 1533 -k )
|
||||
|
||||
if ( WIN32 AND BUILD_SHARED_LIBS )
|
||||
set_tests_properties ( Mongoose_IO_Test
|
79
list-mongoose-test-sources.py
Normal file
79
list-mongoose-test-sources.py
Normal file
@ -0,0 +1,79 @@
|
||||
from subprocess import call, check_output
|
||||
import os # For filesystem access
|
||||
import sys # For sys.exit()
|
||||
import argparse # For parsing command-line arguments
|
||||
import urllib.request, urllib.parse, urllib.error # For downloading the ssget index
|
||||
import ssl
|
||||
import tarfile # For un-tar/unzipping matrix files
|
||||
import csv # For reading the ssget index
|
||||
import shutil # For using 'which'
|
||||
import platform
|
||||
|
||||
|
||||
# We only need the following matrix ids:
|
||||
MATRIX_IDs = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 21, 39, 57, 182, 191, 201, 242, 250, 353, 360, 505, 760, 1380, 1389, 1437, 1470, 1530, 1533, 1557, 1562, 2331, 2401, 2420, 2468, 2624]
|
||||
|
||||
def getMatrixDirectory():
|
||||
matrix_dir = "."
|
||||
if (not os.path.exists(matrix_dir)):
|
||||
os.makedirs(matrix_dir)
|
||||
return matrix_dir
|
||||
|
||||
def downloadStatsFile(matrix_dir):
|
||||
stats_file = "ssstats.csv"
|
||||
url = "http://sparse.tamu.edu/files/ssstats.csv"
|
||||
with urllib.request.urlopen(url) as response, open(stats_file, 'wb') as out_file:
|
||||
shutil.copyfileobj(response, out_file)
|
||||
return stats_file
|
||||
|
||||
def runTests():
|
||||
# Create or locate matrix temporary storage directory
|
||||
matrix_dir = getMatrixDirectory()
|
||||
|
||||
# Download the matrix stats csv file
|
||||
stats_file = downloadStatsFile(matrix_dir)
|
||||
|
||||
with open(stats_file, 'r') as f:
|
||||
reader = csv.reader(f)
|
||||
|
||||
# Matrix IDs are not listed in the stats file - we just have to keep count
|
||||
matrix_id = 0
|
||||
sources_initial_num = 4
|
||||
for row in reader:
|
||||
|
||||
if len(row) == 13: # Only rows with 13 elements represent matrix data
|
||||
matrix_id += 1
|
||||
|
||||
# Check if the matrix ID is in the proper range and
|
||||
# that the matrix is real and symmetric
|
||||
isInBounds = ((matrix_id >= 1) and (matrix_id <= 2757))
|
||||
isSquare = (row[2] == row[3])
|
||||
isReal = (row[5] == '1')
|
||||
|
||||
if (isInBounds and isSquare and isReal):
|
||||
if True:
|
||||
matrix_name = row[0] + '/' + row[1] + '.tar.gz'
|
||||
gzip_path = matrix_dir + row[0] + '_' + row[1] + '.tar.gz'
|
||||
matrix_path = matrix_dir + row[1] + '/' + row[1] + ".mtx"
|
||||
# print("matrix_name: " + matrix_name)
|
||||
# print("gzip_path: " + gzip_path)
|
||||
# print("matrix_path: " + matrix_path)
|
||||
|
||||
matrix_exists = os.path.isfile(gzip_path)
|
||||
if False:
|
||||
print("matrix exists at gzip_path")
|
||||
tar = tarfile.open(gzip_path, mode='r:gz')
|
||||
matrix_files = tar.getnames()
|
||||
print(matrix_files)
|
||||
else:
|
||||
# Download matrix if it doesn't exist
|
||||
if matrix_id in MATRIX_IDs:
|
||||
sources_initial_num += 1
|
||||
try:
|
||||
url = "https://sparse.tamu.edu/MM/" + matrix_name
|
||||
print("Source" + str(sources_initial_num) + ": " + url)
|
||||
except:
|
||||
url = "http://sparse.tamu.edu/MM/" + matrix_name
|
||||
print("Source" + str(sources_initial_num) + ": " + url)
|
||||
runTests()
|
||||
|
3
lnsp3937.tar.gz
Normal file
3
lnsp3937.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b3192b97c8f7305fcdb8c6f8790c73a76a723e34461fc19350f16a10676e6b6a
|
||||
size 150630
|
3
lshp3466.tar.gz
Normal file
3
lshp3466.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:33d1251e1df2bd76418ced08615c540dee749123d63c5ee7157d7b14b616e00c
|
||||
size 29953
|
3
minnesota.tar.gz
Normal file
3
minnesota.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6e6825eba8669503cace2ddbcd83d2b61b9e21592f3daf6e4bed24da704cec87
|
||||
size 23015
|
3
msc04515.tar.gz
Normal file
3
msc04515.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:998cff9d1914f184da731271e5f9b4910222e4ee2703bddb3ea62544452e4251
|
||||
size 289182
|
3
nasa4704.tar.gz
Normal file
3
nasa4704.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f4170dd3d10a7ae027c17373cb09d8bf44e674f11ba2455b7272c22c93f5b7a4
|
||||
size 420924
|
3
net25.tar.gz
Normal file
3
net25.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:809415c9e3fad07f978cec74ff90766a4eedfda2d526835f8723d8a92853d53b
|
||||
size 445025
|
3
netscience.tar.gz
Normal file
3
netscience.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fc2e8c77fd484606a33ec954922f6835c1a184e0ef63b737efc8a7fd2e8a8dbe
|
||||
size 20053
|
3
netz4504.tar.gz
Normal file
3
netz4504.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a75a02f4e17cbb91d6115534240764c08a2314c330990507a70a7922eed256ee
|
||||
size 14505
|
3
sherman1.tar.gz
Normal file
3
sherman1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8730043be0e27ccc45ddeaca3d10a52cf0a4701216ba36cf9c4586a1749cb92b
|
||||
size 11448
|
2906
ssstats.csv
Normal file
2906
ssstats.csv
Normal file
File diff suppressed because it is too large
Load Diff
3
sstmodel.tar.gz
Normal file
3
sstmodel.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a7dbb230afbfb2bc43f2abe84117f32450d1c9dcf57bf4c698f910ea15561d0
|
||||
size 31950
|
@ -1,2 +0,0 @@
|
||||
# rpmlint could be smarter
|
||||
addFilter("no-binary")
|
@ -1,3 +1,143 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 9 10:10:31 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
- Cleanup specfile
|
||||
* Inform that keep-mongoose-test-sources.patch is not for upstream
|
||||
* Inform that the python file is for convenience for fetching test
|
||||
sources. See README-suse-maintenance.md.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 24 13:39:23 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Set up cmake options just once -- during %build alone.
|
||||
- Drop usage of cmake internal macros when specifying install
|
||||
paths.
|
||||
- CMake >= 3.22 is now required for build; this automatically
|
||||
drops support for openSUSE < 1650 (i.e. Leap 15.x).
|
||||
- Drop conditionals for old unsupported distro versions, they
|
||||
cannot support builds on account of the previous change anyway.
|
||||
- Drop use of '-ffat-lto-objects' when building with LTO: this is
|
||||
only needed for static libs, not built here.
|
||||
- Only unset MALLOC_* when LTO is being used.
|
||||
- Use once consistent version for all libraries, set to source
|
||||
tarball.
|
||||
- Drop more than five-year old Obsoletes/Provides; developers
|
||||
should use pkgconfig based (Build)Requires or directly use
|
||||
%{name}-devel.
|
||||
- Drop suitesparse-rpmlintrc and make -doc packages noarch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 11:25:21 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
- Update to version 7.5.1 (boo#1208165):
|
||||
* SuiteSparse_config: bug fix to SUITESPARSE__VERCODE macro.
|
||||
* Example 1.6.1: add tests for *__VERSION macros.
|
||||
- Changes introduced since 7.5.0:
|
||||
* Suitesparse_config: 7.5.0, to reflect the addition of
|
||||
GraphBLAS 9.0.0.
|
||||
* Minor updates to build system, including bug fixes when
|
||||
specifying a specific BLAS/LAPACK library, and configuration
|
||||
of *.pc files.
|
||||
* GraphBLAS 9.0.0: supporting the v2.1 C API; see
|
||||
https://github.com/GraphBLAS/graphblas-api-c
|
||||
* Example 1.6.0: using GraphBLAS 9.0.0 and SuiteSparse_config
|
||||
7.5.0,
|
||||
* Remove explicit dependencies on OpenMP, libm, GMP, and MPFR.
|
||||
* Add programs to test the *Config.cmake of each package.
|
||||
* All other packages (except CSparse): minor updates to build
|
||||
system.
|
||||
* Package versions in this release:
|
||||
- SuiteSparse_config 7.5.0
|
||||
- AMD 3.3.1
|
||||
- BTF 2.3.1
|
||||
- CAMD 3.3.1
|
||||
- CCOLAMD 3.3.1
|
||||
- CHOLMOD 5.1.1
|
||||
- COLAMD 3.3.1
|
||||
- CSparse 4.3.0 (unchanged from SuiteSparse 7.4.0)
|
||||
- CXSparse 4.3.1
|
||||
- Example 1.6.0
|
||||
- GraphBLAS 9.0.0
|
||||
- KLU 2.3.1
|
||||
- LDL 3.3.1
|
||||
- LAGraph 1.1.1
|
||||
- SuiteSparse_Mongoose 3.3.1
|
||||
- ParU 0.1.1
|
||||
- RBio 4.3.1
|
||||
- SPEX 2.3.1
|
||||
- SPQR 4.3.1
|
||||
- UMFPACK 6.3.1
|
||||
- Changes introduced since 7.4.0:
|
||||
* Major change to build system:
|
||||
- Includes a top-level CMakeLists.txt that builds all
|
||||
packages.
|
||||
- Support for pkg-config.
|
||||
* LAGraph 1.1.0: new package: graph algorithms based on
|
||||
GraphBLAS
|
||||
* ParU 0.1.0: new package: parallel unsymmetric multifrontal
|
||||
method.
|
||||
* CHOLMOD 5.1.0: full support for sparse single precision
|
||||
matrices, bug fixes in the GPU Module.
|
||||
* AMD 3.3.0: minor change for CHOLMOD 5.1.0 tests
|
||||
* CAMD 3.3.0: minor change for CHOLMOD 5.1.0 tests
|
||||
* SuiteSparse_config 7.4.0: added wrappers for single-precision
|
||||
BLAS/LAPACK, added SUITESPARSE_TIME macro.
|
||||
* *_version: added methods to all package that didn't have them:
|
||||
AMD, CAMD, COLAMD, CCOLAMD, BTF, CSparse, CXSparse, KLU, BTF,
|
||||
RBio, SPEX, SPQR, and UMFPACK.
|
||||
- Add new subpackage suitesparse_mongoose, an executable for
|
||||
Mongoose.
|
||||
- Specfile now runs patchelf for broken RPATHs.
|
||||
- Add keep-mongoose-test-sources.patch. This avoids test sources
|
||||
getting deleted.
|
||||
- Remove not needed patchsets:
|
||||
* build_csparse_shared.patch
|
||||
* bnc775418-enable-SuiteSparse_time-symbol.patch
|
||||
- Use BLAS environment variable when choosing over -lopenblas
|
||||
and -lblas
|
||||
- Add list-mongoose-test-sources.py: a helper script to list
|
||||
matrix ids mentioned in the test step of the build of Mongoose's
|
||||
CMakeLists.txt
|
||||
- Add new test tarballs for mongoose from
|
||||
list-mongoose-test-sources.py:
|
||||
* 1138_bus.tar.gz
|
||||
* 494_bus.tar.gz
|
||||
* 662_bus.tar.gz
|
||||
* 685_bus.tar.gz
|
||||
* arc130.tar.gz
|
||||
* ash292.tar.gz
|
||||
* ash85.tar.gz
|
||||
* bcspwr01.tar.gz
|
||||
* bcspwr02.tar.gz
|
||||
* bcspwr03.tar.gz
|
||||
* bcspwr09.tar.gz
|
||||
* bcsstk17.tar.gz
|
||||
* bcsstm02.tar.gz
|
||||
* jagmesh7.tar.gz
|
||||
* lnsp3937.tar.gz
|
||||
* lshp3466.tar.gz
|
||||
* sherman1.tar.gz
|
||||
* sstmodel.tar.gz
|
||||
* crystm01.tar.gz
|
||||
* msc04515.tar.gz
|
||||
* G42.tar.gz
|
||||
* nasa4704.tar.gz
|
||||
* fxm3_6.tar.gz
|
||||
* net25.tar.gz
|
||||
* LF10000.tar.gz
|
||||
* Erdos992.tar.gz
|
||||
* USpowerGrid.tar.gz
|
||||
* yeast.tar.gz
|
||||
* c-38.tar.gz
|
||||
* c-43.tar.gz
|
||||
* minnesota.tar.gz
|
||||
* netscience.tar.gz
|
||||
* netz4504.tar.gz
|
||||
* delaunay_n13.tar.gz
|
||||
* tx2010.tar.gz
|
||||
- _constraints: Increase disk size to 40G
|
||||
- Add README-suse-maintenance.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 15:00:16 UTC 2023 - David Anes <david.anes@suse.com>
|
||||
|
||||
|
753
suitesparse.spec
753
suitesparse.spec
File diff suppressed because it is too large
Load Diff
3
tx2010.tar.gz
Normal file
3
tx2010.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99228b25a0557b1753f98c2161286318286b890966b333be9b63068908743121
|
||||
size 26566848
|
3
yeast.tar.gz
Normal file
3
yeast.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:53b6b335929b0485aa1dba90749e8596a45464c82119ccb16d36d6ebb376cbcf
|
||||
size 55790
|
Loading…
Reference in New Issue
Block a user