/[escript]/branches/doubleplusgood/paso/src/SConscript
ViewVC logotype

Contents of /branches/doubleplusgood/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4261 - (show annotations)
Wed Feb 27 06:09:33 2013 UTC (6 years, 9 months ago) by jfenwick
File size: 3515 byte(s)
Initial all c++ build.
But ... there are now reinterpret_cast<>'s
1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2013 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.cpp
23 AMG_Root.cpp
24 BiCGStab.cpp
25 BlockOps.cpp
26 Coupler.cpp
27 Distribution.cpp
28 FluxLimiter.cpp
29 Functions.cpp
30 GMRES.cpp
31 GMRES2.cpp
32 IndexList.cpp
33 MergedSolver.cpp
34 MKL.cpp
35 NewtonGMRES.cpp
36 Options_getPackage.cpp
37 Options_getSolver.cpp
38 Options_setDefaults.cpp
39 PCG.cpp
40 PasoUtil.cpp
41 Pattern.cpp
42 Pattern_getSubpattern.cpp
43 Pattern_mis.cpp
44 Pattern_multiply.cpp
45 Pattern_reduceBandwidth.cpp
46 Pattern_unrollBlocks.cpp
47 SharedComponents.cpp
48 Solver.cpp
49 Transport.cpp
50 Transport_solve.cpp
51 FCT_Solver.cpp
52 ReactiveSolver.cpp
53 Solver_Function.cpp
54 Smoother.cpp
55 ILU.cpp
56 RILU.cpp
57 LocalAMG.cpp
58 LocalAMG_Prolongation.cpp
59 AMG_Prolongation.cpp
60 AMG_Restriction.cpp
61 AMG_Interpolation.cpp
62 SchurComplement.cpp
63 Preconditioner.cpp
64 SparseMatrix.cpp
65 SparseMatrix_MatrixVector.cpp
66 SparseMatrix_addAbsRow.cpp
67 SparseMatrix_addRow.cpp
68 SparseMatrix_applyDiagonal.cpp
69 SparseMatrix_getSubmatrix.cpp
70 SparseMatrix_getTranspose.cpp
71 SparseMatrix_nullifyRowsAndCols.cpp
72 SparseMatrix_saveHB.cpp
73 SparseMatrix_setValues.cpp
74 SparseMatrix_invMain.cpp
75 SparseMatrix_unroll.cpp
76 SystemMatrix.cpp
77 SystemMatrixPattern.cpp
78 SystemMatrixPattern_unrollBlocks.cpp
79 SystemMatrix_copyColCoupleBlock.cpp
80 SystemMatrix_MatrixVector.cpp
81 SparseMatrix_MatrixMatrix.cpp
82 SparseMatrix_MatrixMatrixTranspose.cpp
83 SystemMatrix_balancing.cpp
84 SystemMatrix_getSystemMatrixTypeId.cpp
85 SystemMatrix_loadMM.cpp
86 SystemMatrix_MIS.cpp
87 SystemMatrix_nullifyRows.cpp
88 SystemMatrix_nullifyRowsAndCols.cpp
89 SystemMatrix_rowSum.cpp
90 SystemMatrix_saveHB.cpp
91 SystemMatrix_saveMM.cpp
92 SystemMatrix_setValues.cpp
93 SystemMatrix_debug.cpp
94 SystemMatrix_mergeMainAndCouple.cpp
95 SystemMatrix_extendedRows.cpp
96 SystemMatrix_copyRemoteCoupleBlock.cpp
97 TFQMR.cpp
98 MINRES.cpp
99 UMFPACK.cpp
100 BOOMERAMG.cpp
101 mmio.cpp
102 performance.cpp
103 solve.cpp
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