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

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3887 - (show annotations)
Thu Apr 5 03:14:59 2012 UTC (7 years, 11 months ago) by gross
File size: 3232 byte(s)
low level system in AMG is created one only now.
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 AMG.c
21 AMG_Root.c
22 BiCGStab.c
23 BlockOps.c
24 Coupler.c
25 Distribution.c
26 FluxLimiter.c
27 Functions.c
28 GMRES.c
29 GMRES2.c
30 IndexList.c
31 MergedSolver.c
32 MKL.c
33 NewtonGMRES.c
34 Options_getPackage.c
35 Options_getSolver.c
36 Options_setDefaults.c
37 PCG.c
38 PasoUtil.c
39 Pattern.c
40 Pattern_getSubpattern.c
41 Pattern_mis.c
42 Pattern_multiply.c
43 Pattern_reduceBandwidth.c
44 Pattern_unrollBlocks.c
45 SharedComponents.c
46 Solver.c
47 Transport.c
48 Transport_solve.c
49 FCT_Solver.c
50 ReactiveSolver.c
51 Solver_Function.c
52 Smoother.c
53 ILU.c
54 RILU.c
55 LocalAMG.c
56 LocalAMG_Prolongation.c
57 AMG_Prolongation.c
58 AMG_Restriction.c
59 AMG_Interpolation.c
60 SchurComplement.c
61 Preconditioner.c
62 SparseMatrix.c
63 SparseMatrix_MatrixVector.c
64 SparseMatrix_addAbsRow.c
65 SparseMatrix_addRow.c
66 SparseMatrix_applyDiagonal.c
67 SparseMatrix_getSubmatrix.c
68 SparseMatrix_getTranspose.c
69 SparseMatrix_nullifyRowsAndCols.c
70 SparseMatrix_saveHB.c
71 SparseMatrix_setValues.c
72 SparseMatrix_invMain.c
73 SparseMatrix_unroll.c
74 SystemMatrix.c
75 SystemMatrixPattern.c
76 SystemMatrixPattern_unrollBlocks.c
77 SystemMatrix_copyColCoupleBlock.c
78 SystemMatrix_MatrixVector.c
79 SparseMatrix_MatrixMatrix.c
80 SparseMatrix_MatrixMatrixTranspose.c
81 SystemMatrix_balancing.c
82 SystemMatrix_getSystemMatrixTypeId.c
83 SystemMatrix_loadMM.c
84 SystemMatrix_MIS.c
85 SystemMatrix_nullifyRows.c
86 SystemMatrix_nullifyRowsAndCols.c
87 SystemMatrix_rowSum.c
88 SystemMatrix_saveHB.c
89 SystemMatrix_saveMM.c
90 SystemMatrix_setValues.c
91 SystemMatrix_debug.c
92 SystemMatrix_mergeMainAndCouple.c
93 SystemMatrix_extendedRows.c
94 SystemMatrix_copyRemoteCoupleBlock.c
95 TFQMR.c
96 MINRES.c
97 UMFPACK.c
98 BOOMERAMG.c
99 mmio.c
100 performance.c
101 solve.c
102 """.split()
103
104 headers = """
105 Common.h
106 Coupler.h
107 Distribution.h
108 FluxLimiter.h
109 Functions.h
110 IndexList.h
111 MergedSolver.h
112 MKL.h
113 Options.h
114 Paso.h
115 PasoUtil.h
116 Pattern.h
117 Preconditioner.h
118 SharedComponents.h
119 Solver.h
120 Transport.h
121 FCT_Solver.h
122 ReactiveSolver.h
123 SparseMatrix.h
124 SystemMatrix.h
125 SystemMatrix_MIS.h
126 SystemMatrixPattern.h
127 UMFPACK.h
128 BOOMERAMG.h
129 mmio.h
130 BlockOps.h
131 performance.h
132 """.split()
133
134 # And just for blocktimer cancer.....
135 local_env.Prepend(LIBS = ['esysUtils'])
136 if IS_WINDOWS:
137 local_env.Append(CPPDEFINES = ['PASO_EXPORTS'])
138
139 if local_env['build_shared']:
140 lib = local_env.SharedLibrary(lib_name, sources)
141 else:
142 lib = local_env.StaticLibrary(lib_name, sources)
143
144 env.Alias('build_paso_lib', lib)
145
146 include_path = Dir('paso', local_env['incinstall'])
147 solvers_include_path = Dir('Solvers', include_path)
148
149 hdr_inst = local_env.Install(include_path, headers)
150 env.Alias('install_paso_headers', hdr_inst)
151
152 lib_inst = local_env.Install(local_env['libinstall'], lib)
153 env.Alias('install_paso_lib', lib_inst)
154

  ViewVC Help
Powered by ViewVC 1.1.26