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

Annotation of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3887 - (hide 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 ksteube 1811
2     ########################################################
3 ksteube 1705 #
4 jfenwick 2881 # Copyright (c) 2003-2010 by University of Queensland
5 ksteube 1811 # Earth Systems Science Computational Center (ESSCC)
6     # http://www.uq.edu.au/esscc
7 ksteube 1705 #
8 ksteube 1811 # 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 ksteube 1705 #
12 ksteube 1811 ########################################################
13 ksteube 1705
14 jgs 187 Import('*')
15 jfenwick 3259 local_env = env.Clone()
16 jgs 187
17 phornby 2057 lib_name = 'paso'
18    
19 ksteube 1705 sources = """
20 gross 3445 AMG.c
21 gross 3446 AMG_Root.c
22 gross 3283 BiCGStab.c
23     BlockOps.c
24     Coupler.c
25     Distribution.c
26 gross 3793 FluxLimiter.c
27 gross 3283 Functions.c
28     GMRES.c
29     GMRES2.c
30     IndexList.c
31 gross 3887 MergedSolver.c
32 gross 3283 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 gross 3303 Pattern_multiply.c
43 gross 3283 Pattern_reduceBandwidth.c
44     Pattern_unrollBlocks.c
45     SharedComponents.c
46     Solver.c
47     Transport.c
48     Transport_solve.c
49 gross 3793 FCT_Solver.c
50 gross 3283 ReactiveSolver.c
51     Solver_Function.c
52     Smoother.c
53     ILU.c
54     RILU.c
55 gross 3441 LocalAMG.c
56     LocalAMG_Prolongation.c
57 lgao 3827 AMG_Prolongation.c
58     AMG_Restriction.c
59     AMG_Interpolation.c
60 gross 3283 SchurComplement.c
61     Preconditioner.c
62     SparseMatrix.c
63     SparseMatrix_MatrixVector.c
64     SparseMatrix_addAbsRow.c
65     SparseMatrix_addRow.c
66 gross 3369 SparseMatrix_applyDiagonal.c
67 gross 3283 SparseMatrix_getSubmatrix.c
68     SparseMatrix_getTranspose.c
69     SparseMatrix_nullifyRowsAndCols.c
70     SparseMatrix_saveHB.c
71     SparseMatrix_setValues.c
72     SparseMatrix_invMain.c
73 gross 3312 SparseMatrix_unroll.c
74 gross 3283 SystemMatrix.c
75     SystemMatrixPattern.c
76     SystemMatrixPattern_unrollBlocks.c
77 gross 3458 SystemMatrix_copyColCoupleBlock.c
78 gross 3283 SystemMatrix_MatrixVector.c
79 gross 3303 SparseMatrix_MatrixMatrix.c
80 lgao 3498 SparseMatrix_MatrixMatrixTranspose.c
81 gross 3369 SystemMatrix_balancing.c
82 gross 3283 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 gross 3458 SystemMatrix_debug.c
92 lgao 3508 SystemMatrix_mergeMainAndCouple.c
93 lgao 3827 SystemMatrix_extendedRows.c
94     SystemMatrix_copyRemoteCoupleBlock.c
95 gross 3283 TFQMR.c
96     MINRES.c
97     UMFPACK.c
98 lgao 3508 BOOMERAMG.c
99 gross 3283 mmio.c
100     performance.c
101     solve.c
102 ksteube 1705 """.split()
103 jfenwick 3259
104 ksteube 1705 headers = """
105 gross 3283 Common.h
106     Coupler.h
107     Distribution.h
108 gross 3793 FluxLimiter.h
109 gross 3283 Functions.h
110     IndexList.h
111 gross 3887 MergedSolver.h
112 gross 3283 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 gross 3793 FCT_Solver.h
122 gross 3283 ReactiveSolver.h
123     SparseMatrix.h
124     SystemMatrix.h
125     SystemMatrix_MIS.h
126     SystemMatrixPattern.h
127     UMFPACK.h
128 lgao 3508 BOOMERAMG.h
129 gross 3283 mmio.h
130     BlockOps.h
131     performance.h
132 ksteube 1705 """.split()
133 gross 700
134 jfenwick 3259 # And just for blocktimer cancer.....
135 caltinay 3628 local_env.Prepend(LIBS = ['esysUtils'])
136 jfenwick 3259 if IS_WINDOWS:
137     local_env.Append(CPPDEFINES = ['PASO_EXPORTS'])
138 phornby 2057
139 caltinay 3598 if local_env['build_shared']:
140 jfenwick 3259 lib = local_env.SharedLibrary(lib_name, sources)
141 phornby 2057 else:
142 jfenwick 3259 lib = local_env.StaticLibrary(lib_name, sources)
143 phornby 2057
144 jfenwick 3259 env.Alias('build_paso_lib', lib)
145 jgs 187
146 ksteube 1705 include_path = Dir('paso', local_env['incinstall'])
147     solvers_include_path = Dir('Solvers', include_path)
148 jgs 190
149 jfenwick 3259 hdr_inst = local_env.Install(include_path, headers)
150     env.Alias('install_paso_headers', hdr_inst)
151 gross 425
152 jfenwick 3259 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