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

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1787 - (show annotations)
Mon Sep 15 01:36:34 2008 UTC (10 years, 11 months ago) by artak
File size: 2428 byte(s)
MINRES solver is added to escript. Additional 16 tests are added to run_simplesolve for MINRES and TFQMR solvers
1 #
2 # $Id$
3 #
4 #######################################################
5 #
6 # Copyright 2003-2007 by ACceSS MNRF
7 # Copyright 2007 by University of Queensland
8 #
9 # http://esscc.uq.edu.au
10 # Primary Business: Queensland, Australia
11 # Licensed under the Open Software License version 3.0
12 # http://www.opensource.org/licenses/osl-3.0.php
13 #
14 #######################################################
15 #
16
17 import os
18 Import('*')
19
20 local_env = clone_env(env_mpi)
21
22 sources = """
23 BiCGStab.c
24 Coupler.c
25 Distribution.c
26 Functions.c
27 GMRES.c
28 GMRES2.c
29 MKL.c
30 NewtonGMRES.c
31 Options_getPackage.c
32 Options_getSolver.c
33 Options_setDefaults.c
34 PCG.c
35 Paso.c
36 PasoUtil.c
37 Paso_MPI.c
38 Pattern.c
39 Pattern_getSubpattern.c
40 Pattern_mis.c
41 Pattern_reduceBandwidth.c
42 Pattern_unrollBlocks.c
43 SCSL.c
44 SCSL_direct.c
45 SCSL_iterative.c
46 SharedComponents.c
47 Solver.c
48 SolverFCT.c
49 SolverFCT_FluxControl.c
50 SolverFCT_Function.c
51 SolverFCT_reset.c
52 SolverFCT_solve.c
53 Solver_Function.c
54 Solver_ILU.c
55 Solver_RILU.c
56 Solver_SchurComplement.c
57 Solver_applyBlockDiagonalMatrix.c
58 Solver_jacobi.c
59 Solver_preconditioner.c
60 SparseMatrix.c
61 SparseMatrix_MatrixVector.c
62 SparseMatrix_addAbsRow.c
63 SparseMatrix_addRow.c
64 SparseMatrix_getSubmatrix.c
65 SparseMatrix_nullifyRowsAndCols.c
66 SparseMatrix_saveHB.c
67 SparseMatrix_setValues.c
68 SystemMatrix.c
69 SystemMatrixPattern.c
70 SystemMatrixPattern_unrollBlocks.c
71 SystemMatrix_MatrixVector.c
72 SystemMatrix_borrowNormalization.c
73 SystemMatrix_getSystemMatrixTypeId.c
74 SystemMatrix_loadMM.c
75 SystemMatrix_nullifyRows.c
76 SystemMatrix_nullifyRowsAndCols.c
77 SystemMatrix_rowSum.c
78 SystemMatrix_saveHB.c
79 SystemMatrix_saveMM.c
80 SystemMatrix_setValues.c
81 TFQMR.c
82 MINRES.c
83 UMFPACK.c
84 mmio.c
85 performance.c
86 solve.c
87 """.split()
88 headers = """
89 Common.h
90 Coupler.h
91 Distribution.h
92 Functions.h
93 MKL.h
94 Options.h
95 Paso.h
96 PasoUtil.h
97 Paso_MPI.h
98 Pattern.h
99 SCSL.h
100 SharedComponents.h
101 Solver.h
102 SolverFCT.h
103 SparseMatrix.h
104 SystemMatrix.h
105 SystemMatrixPattern.h
106 UMFPACK.h
107 mmio.h
108 mpi_C.h
109 performance.h
110 """.split()
111
112 lib = local_env.StaticLibrary('paso', sources)
113 env.Alias('target_paso_a', lib)
114
115 include_path = Dir('paso', local_env['incinstall'])
116 solvers_include_path = Dir('Solvers', include_path)
117
118 tmp1 = local_env.Install(include_path, headers )
119 env.Alias('target_install_paso_headers', [tmp1])
120
121 tmp2 = local_env.Install(local_env['libinstall'], lib)
122 env.Alias('target_install_paso_a', [tmp2])
123

  ViewVC Help
Powered by ViewVC 1.1.26