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

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3158 - (show annotations)
Mon Sep 6 06:09:11 2010 UTC (8 years, 10 months ago) by gross
File size: 2778 byte(s)
GS and Jacobi are now used through the same 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
15 import os
16 Import('*')
17
18 local_env = clone_env(env_mpi)
19
20 # And just for blocktimer cancer.....
21 local_env.Append(LIBS = ['esysUtils'])
22
23 lib_name = 'paso'
24
25 sources = """
26 BiCGStab.c
27 BlockOps.c
28 Coupler.c
29 Distribution.c
30 Functions.c
31 GMRES.c
32 GMRES2.c
33 MKL.c
34 NewtonGMRES.c
35 Options_getPackage.c
36 Options_getSolver.c
37 Options_setDefaults.c
38 PCG.c
39 Paso.c
40 PasoUtil.c
41 Paso_MPI.c
42 Pattern.c
43 Pattern_getSubpattern.c
44 Pattern_mis.c
45 Pattern_coupling.c
46 Pattern_reduceBandwidth.c
47 Pattern_unrollBlocks.c
48 SharedComponents.c
49 Solver.c
50 Transport.c
51 Transport_solve.c
52 FCTSolver.c
53 FCTSolver_util.c
54 ReactiveSolver.c
55 Solver_Function.c
56 Smoother.c
57 ILU.c
58 RILU.c
59 AMG.c
60 AMLI.c
61 SchurComplement.c
62 Preconditioner.c
63 SparseMatrix.c
64 SparseMatrix_MatrixVector.c
65 SparseMatrix_addAbsRow.c
66 SparseMatrix_addRow.c
67 SparseMatrix_getSubmatrix.c
68 SparseMatrix_AMGcomponents.c
69 SparseMatrix_nullifyRowsAndCols.c
70 SparseMatrix_saveHB.c
71 SparseMatrix_setValues.c
72 SparseMatrix_invMain.c
73 SystemMatrix.c
74 SystemMatrixPattern.c
75 SystemMatrixPattern_unrollBlocks.c
76 SystemMatrix_MatrixVector.c
77 SystemMatrix_borrowNormalization.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 TFQMR.c
88 MINRES.c
89 UMFPACK.c
90 mmio.c
91 performance.c
92 solve.c
93 """.split()
94 headers = """
95 Common.h
96 Coupler.h
97 Distribution.h
98 Functions.h
99 MKL.h
100 Options.h
101 Paso.h
102 PasoUtil.h
103 Paso_MPI.h
104 Pattern.h
105 Pattern_coupling.h
106 Preconditioner.h
107 SharedComponents.h
108 Solver.h
109 Transport.h
110 FCTSolver.h
111 ReactiveSolver.h
112 SparseMatrix.h
113 SystemMatrix.h
114 SystemMatrix_MIS.h
115 SystemMatrixPattern.h
116 UMFPACK.h
117 mmio.h
118 mpi_C.h
119 BlockOps.h
120 performance.h
121 """.split()
122
123 if IS_WINDOWS_PLATFORM :
124 local_env.Append(CPPDEFINES = ['PASO_EXPORTS'])
125
126 if local_env['share_paso'] :
127 lib = local_env.SharedLibrary(lib_name, sources)
128 else:
129 lib = local_env.StaticLibrary(lib_name, sources)
130
131 env.Alias('target_paso_a', lib)
132
133 include_path = Dir('paso', local_env['incinstall'])
134 solvers_include_path = Dir('Solvers', include_path)
135
136 tmp1 = local_env.Install(include_path, headers )
137 env.Alias('target_install_paso_headers', [tmp1])
138
139 tmp2 = local_env.Install(local_env['libinstall'], lib)
140 env.Alias('target_install_paso_a', [tmp2])
141

  ViewVC Help
Powered by ViewVC 1.1.26