1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
Tell pysparse to use built-in Debian suitesparse and superlu libraries.
--- pysparse-1.1/setup.py~ 2009-09-29 17:54:21.000000000 -0400
+++ pysparse-1.1/setup.py 2009-09-29 18:06:15.000000000 -0400
@@ -18,40 +18,40 @@
compily=[]
# Specify whether to link against user's SuperLU library
-use_users_superlu = False #True
+use_users_superlu = True
umfpack_defs = [('DINT', 1), ('NBLAS', 1)] # No BLAS. Ok if using your system's BLAS.
#umfpack_defs = [('DINT', 1), ('CBLAS', 1)] # with atlas c-blas (http://math-atlas.sf.net)
if use_users_superlu:
# Specify location of include files
- superlu_include_dirs = ['/Users/dpo/local/linalg/SuperLU/SuperLU_3.1/SRC']
+ superlu_include_dirs = ['/usr/include/superlu']
# AND specify ONE of the following:
# 1) Location of source files (overrides linking with existing library)
- superlu_src_dir = '/Users/dpo/local/linalg/SuperLU/SuperLU_3.1/SRC'
+ superlu_src_dir = ''
# 2) Location of precompiled library
superlu_lib_dir = ['']
- superlu_libraries = ['']
+ superlu_libraries = ['superlu']
# Specify whether to link against user's UMFPACK library
-use_users_umfpack = False #True
+use_users_umfpack = True
if use_users_umfpack:
# Specify location of include files
- umfpack_include_dirs = ['/Users/dpo/local/linalg/UMFPACK/UMFPACK/Include']
+ umfpack_include_dirs = ['/usr/include/suitesparse']
# AND specify ONE of the following:
# 1) Location of source files (overrides linking with existing library)
- umfpack_src_dir = '/Users/dpo/local/linalg/UMFPACK/UMFPACK/Source'
+ umfpack_src_dir = ''
# 2) Location of precompiled library
umfpack_lib_dir = ['']
- umfpack_libraries = ['']
+ umfpack_libraries = ['umfpack']
# Do the same for AMD
- amd_include_dirs = ['/Users/dpo/local/linalg/UMFPACK/AMD/Include']
+ amd_include_dirs = ['/usr/include/suitesparse']
# AND specify ONE of the following:
# 1) Location of source files (overrides linking with existing library)
- amd_src_dir = '/Users/dpo/local/linalg/UMFPACK/AMD/Source'
+ amd_src_dir = ''
# 2) Location of precompiled library
amd_lib_dir = ['']
- amd_libraries = ['']
+ amd_libraries = ['amd']
else:
umfpack_libraries = []
|