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

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3312 - (show annotations)
Tue Oct 26 07:54:58 2010 UTC (10 years, 5 months ago) by gross
File size: 2802 byte(s)
last step for a clean up version of the AMG
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 BiCGStab.c
21 BlockOps.c
22 Coupler.c
23 Distribution.c
24 Functions.c
25 GMRES.c
26 GMRES2.c
27 IndexList.c
28 MKL.c
29 NewtonGMRES.c
30 Options_getPackage.c
31 Options_getSolver.c
32 Options_setDefaults.c
33 PCG.c
34 PasoUtil.c
35 Pattern.c
36 Pattern_getSubpattern.c
37 Pattern_mis.c
38 Pattern_multiply.c
39 Pattern_reduceBandwidth.c
40 Pattern_unrollBlocks.c
41 SharedComponents.c
42 Solver.c
43 Transport.c
44 Transport_solve.c
45 FCTSolver.c
46 FCTSolver_util.c
47 ReactiveSolver.c
48 Solver_Function.c
49 Smoother.c
50 ILU.c
51 RILU.c
52 AMG.c
53 AMG_Prolongation.c
54 SchurComplement.c
55 Preconditioner.c
56 SparseMatrix.c
57 SparseMatrix_MatrixVector.c
58 SparseMatrix_addAbsRow.c
59 SparseMatrix_addRow.c
60 SparseMatrix_getSubmatrix.c
61 SparseMatrix_getTranspose.c
62 SparseMatrix_nullifyRowsAndCols.c
63 SparseMatrix_saveHB.c
64 SparseMatrix_setValues.c
65 SparseMatrix_invMain.c
66 SparseMatrix_unroll.c
67 SystemMatrix.c
68 SystemMatrixPattern.c
69 SystemMatrixPattern_unrollBlocks.c
70 SystemMatrix_MatrixVector.c
71 SparseMatrix_MatrixMatrix.c
72 SystemMatrix_borrowNormalization.c
73 SystemMatrix_getSystemMatrixTypeId.c
74 SystemMatrix_loadMM.c
75 SystemMatrix_MIS.c
76 SystemMatrix_nullifyRows.c
77 SystemMatrix_nullifyRowsAndCols.c
78 SystemMatrix_rowSum.c
79 SystemMatrix_saveHB.c
80 SystemMatrix_saveMM.c
81 SystemMatrix_setValues.c
82 TFQMR.c
83 MINRES.c
84 UMFPACK.c
85 mmio.c
86 performance.c
87 solve.c
88 """.split()
89
90 headers = """
91 Common.h
92 Coupler.h
93 Distribution.h
94 Functions.h
95 IndexList.h
96 MKL.h
97 Options.h
98 Paso.h
99 PasoUtil.h
100 Pattern.h
101 Preconditioner.h
102 SharedComponents.h
103 Solver.h
104 Transport.h
105 FCTSolver.h
106 ReactiveSolver.h
107 SparseMatrix.h
108 SystemMatrix.h
109 SystemMatrix_MIS.h
110 SystemMatrixPattern.h
111 UMFPACK.h
112 mmio.h
113 BlockOps.h
114 performance.h
115 """.split()
116
117 # And just for blocktimer cancer.....
118 local_env.Append(LIBS = ['esysUtils'])
119 if IS_WINDOWS:
120 local_env.Append(CPPDEFINES = ['PASO_EXPORTS'])
121
122 if local_env['share_paso']:
123 lib = local_env.SharedLibrary(lib_name, sources)
124 else:
125 lib = local_env.StaticLibrary(lib_name, sources)
126
127 env.Alias('build_paso_lib', lib)
128
129 include_path = Dir('paso', local_env['incinstall'])
130 solvers_include_path = Dir('Solvers', include_path)
131
132 hdr_inst = local_env.Install(include_path, headers)
133 env.Alias('install_paso_headers', hdr_inst)
134
135 lib_inst = local_env.Install(local_env['libinstall'], lib)
136 env.Alias('install_paso_lib', lib_inst)
137

  ViewVC Help
Powered by ViewVC 1.1.26