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

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1913 - (show annotations)
Thu Oct 23 08:27:33 2008 UTC (10 years, 7 months ago) by phornby
File size: 2450 byte(s)
Create Pattern_coupling.h as there were too many modules that implicitly defined these
functions. This checkin is to test the minimum number of files this change allows me to
include to get Pattern_coupling.c to compile correctly on the Altix.


1
2 ########################################################
3 #
4 # Copyright (c) 2003-2008 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 sources = """
21 BiCGStab.c
22 Coupler.c
23 Distribution.c
24 Functions.c
25 GMRES.c
26 GMRES2.c
27 MKL.c
28 NewtonGMRES.c
29 Options_getPackage.c
30 Options_getSolver.c
31 Options_setDefaults.c
32 PCG.c
33 Paso.c
34 PasoUtil.c
35 Paso_MPI.c
36 Pattern.c
37 Pattern_getSubpattern.c
38 Pattern_mis.c
39 Pattern_coupling.c
40 Pattern_reduceBandwidth.c
41 Pattern_unrollBlocks.c
42 SCSL.c
43 SCSL_direct.c
44 SCSL_iterative.c
45 SharedComponents.c
46 Solver.c
47 SolverFCT.c
48 SolverFCT_FluxControl.c
49 SolverFCT_reset.c
50 SolverFCT_solve.c
51 Solver_Function.c
52 Solver_GS.c
53 Solver_ILU.c
54 Solver_RILU.c
55 Solver_AMG.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 Pattern_coupling.h
100 SCSL.h
101 SharedComponents.h
102 Solver.h
103 SolverFCT.h
104 SparseMatrix.h
105 SystemMatrix.h
106 SystemMatrixPattern.h
107 UMFPACK.h
108 mmio.h
109 mpi_C.h
110 performance.h
111 """.split()
112
113 lib = local_env.StaticLibrary('paso', sources)
114 env.Alias('target_paso_a', lib)
115
116 include_path = Dir('paso', local_env['incinstall'])
117 solvers_include_path = Dir('Solvers', include_path)
118
119 tmp1 = local_env.Install(include_path, headers )
120 env.Alias('target_install_paso_headers', [tmp1])
121
122 tmp2 = local_env.Install(local_env['libinstall'], lib)
123 env.Alias('target_install_paso_a', [tmp2])
124

  ViewVC Help
Powered by ViewVC 1.1.26