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

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26