/[escript]/trunk/paso/src/SConscript
ViewVC logotype

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3369 - (show annotations)
Fri Nov 19 06:26:11 2010 UTC (8 years, 11 months ago) by gross
File size: 2822 byte(s)
matrix balance introduced in paso
1
2 ########################################################
3 #
4 # Copyright (c) 2003-2010 by University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au/esscc
7 #
8 # Primary Business: Queensland, Australia
9 # Licensed under the Open Software License version 3.0
10 # http://www.opensource.org/licenses/osl-3.0.php
11 #
12 ########################################################
13
14 Import('*')
15 local_env = env.Clone()
16
17 lib_name = 'paso'
18
19 sources = """
20 BiCGStab.c
21 BlockOps.c
22 Coupler.c
23 Distribution.c
24 Functions.c
25 GMRES.c
26 GMRES2.c
27 IndexList.c
28 MKL.c
29 NewtonGMRES.c
30 Options_getPackage.c
31 Options_getSolver.c
32 Options_setDefaults.c
33 PCG.c
34 PasoUtil.c
35 Pattern.c
36 Pattern_getSubpattern.c
37 Pattern_mis.c
38 Pattern_multiply.c
39 Pattern_reduceBandwidth.c
40 Pattern_unrollBlocks.c
41 SharedComponents.c
42 Solver.c
43 Transport.c
44 Transport_solve.c
45 FCTSolver.c
46 FCTSolver_util.c
47 ReactiveSolver.c
48 Solver_Function.c
49 Smoother.c
50 ILU.c
51 RILU.c
52 AMG.c
53 AMG_Prolongation.c
54 SchurComplement.c
55 Preconditioner.c
56 SparseMatrix.c
57 SparseMatrix_MatrixVector.c
58 SparseMatrix_addAbsRow.c
59 SparseMatrix_addRow.c
60 SparseMatrix_applyDiagonal.c
61 SparseMatrix_getSubmatrix.c
62 SparseMatrix_getTranspose.c
63 SparseMatrix_nullifyRowsAndCols.c
64 SparseMatrix_saveHB.c
65 SparseMatrix_setValues.c
66 SparseMatrix_invMain.c
67 SparseMatrix_unroll.c
68 SystemMatrix.c
69 SystemMatrixPattern.c
70 SystemMatrixPattern_unrollBlocks.c
71 SystemMatrix_MatrixVector.c
72 SparseMatrix_MatrixMatrix.c
73 SystemMatrix_balancing.c
74 SystemMatrix_getSystemMatrixTypeId.c
75 SystemMatrix_loadMM.c
76 SystemMatrix_MIS.c
77 SystemMatrix_nullifyRows.c
78 SystemMatrix_nullifyRowsAndCols.c
79 SystemMatrix_rowSum.c
80 SystemMatrix_saveHB.c
81 SystemMatrix_saveMM.c
82 SystemMatrix_setValues.c
83 TFQMR.c
84 MINRES.c
85 UMFPACK.c
86 mmio.c
87 performance.c
88 solve.c
89 """.split()
90
91 headers = """
92 Common.h
93 Coupler.h
94 Distribution.h
95 Functions.h
96 IndexList.h
97 MKL.h
98 Options.h
99 Paso.h
100 PasoUtil.h
101 Pattern.h
102 Preconditioner.h
103 SharedComponents.h
104 Solver.h
105 Transport.h
106 FCTSolver.h
107 ReactiveSolver.h
108 SparseMatrix.h
109 SystemMatrix.h
110 SystemMatrix_MIS.h
111 SystemMatrixPattern.h
112 UMFPACK.h
113 mmio.h
114 BlockOps.h
115 performance.h
116 """.split()
117
118 # And just for blocktimer cancer.....
119 local_env.Append(LIBS = ['esysUtils'])
120 if IS_WINDOWS:
121 local_env.Append(CPPDEFINES = ['PASO_EXPORTS'])
122
123 if local_env['share_paso']:
124 lib = local_env.SharedLibrary(lib_name, sources)
125 else:
126 lib = local_env.StaticLibrary(lib_name, sources)
127
128 env.Alias('build_paso_lib', lib)
129
130 include_path = Dir('paso', local_env['incinstall'])
131 solvers_include_path = Dir('Solvers', include_path)
132
133 hdr_inst = local_env.Install(include_path, headers)
134 env.Alias('install_paso_headers', hdr_inst)
135
136 lib_inst = local_env.Install(local_env['libinstall'], lib)
137 env.Alias('install_paso_lib', lib_inst)
138

  ViewVC Help
Powered by ViewVC 1.1.26