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

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3982 - (show annotations)
Fri Sep 21 03:23:22 2012 UTC (6 years, 10 months ago) by jfenwick
File size: 3351 byte(s)
More edits + removing pyvisi from trunk

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

  ViewVC Help
Powered by ViewVC 1.1.26