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

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4869 - (show annotations)
Mon Apr 14 10:39:22 2014 UTC (5 years, 5 months ago) by caltinay
File size: 3015 byte(s)
all of paso now lives in its own namespace.

1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2014 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 2012-2013 by School of Earth Sciences
13 # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 #
15 ##############################################################################
16
17 Import('*')
18 local_env = env.Clone()
19
20 lib_name = 'paso'
21
22 sources = """
23 AMG.cpp
24 AMG_Interpolation.cpp
25 AMG_Prolongation.cpp
26 AMG_Restriction.cpp
27 AMG_Root.cpp
28 BiCGStab.cpp
29 Coupler.cpp
30 Distribution.cpp
31 FCT_Solver.cpp
32 FluxLimiter.cpp
33 Functions.cpp
34 GMRES.cpp
35 GMRES2.cpp
36 LocalAMG.cpp
37 LocalAMG_Prolongation.cpp
38 MergedSolver.cpp
39 MKL.cpp
40 NewtonGMRES.cpp
41 Options.cpp
42 PCG.cpp
43 PasoUtil.cpp
44 Pattern.cpp
45 Pattern_mis.cpp
46 Pattern_reduceBandwidth.cpp
47 Preconditioner.cpp
48 ReactiveSolver.cpp
49 SchurComplement.cpp
50 Smoother.cpp
51 Solver.cpp
52 Solver_Function.cpp
53 SparseMatrix.cpp
54 SparseMatrix_getSubmatrix.cpp
55 SparseMatrix_nullifyRowsAndCols.cpp
56 SparseMatrix_saveHB.cpp
57 SparseMatrix_MatrixMatrix.cpp
58 SparseMatrix_MatrixMatrixTranspose.cpp
59 SparseMatrix_MatrixVector.cpp
60 SystemMatrix.cpp
61 SystemMatrix_MatrixVector.cpp
62 SystemMatrix_copyRemoteCoupleBlock.cpp
63 SystemMatrix_debug.cpp
64 SystemMatrix_extendedRows.cpp
65 SystemMatrix_loadMM.cpp
66 SystemMatrix_mergeMainAndCouple.cpp
67 SystemMatrixPattern.cpp
68 SystemMatrixPattern_unrollBlocks.cpp
69 Transport.cpp
70 Transport_solve.cpp
71 BOOMERAMG.cpp
72 ILU.cpp
73 MINRES.cpp
74 RILU.cpp
75 TFQMR.cpp
76 UMFPACK.cpp
77 mmio.cpp
78 performance.cpp
79 solve.cpp
80 """.split()
81
82 headers = """
83 BlockOps.h
84 BOOMERAMG.h
85 Coupler.h
86 Distribution.h
87 FCT_Solver.h
88 FluxLimiter.h
89 Functions.h
90 MergedSolver.h
91 MKL.h
92 mmio.h
93 Options.h
94 Paso.h
95 PasoUtil.h
96 Pattern.h
97 performance.h
98 Preconditioner.h
99 ReactiveSolver.h
100 SharedComponents.h
101 Solver.h
102 SparseMatrix.h
103 SystemMatrix.h
104 SystemMatrixPattern.h
105 Transport.h
106 UMFPACK.h
107 """.split()
108
109 # And just for blocktimer cancer.....
110 local_env.Prepend(LIBS = ['esysUtils'])
111 if IS_WINDOWS:
112 local_env.Append(CPPDEFINES = ['PASO_EXPORTS'])
113
114 if local_env['build_shared']:
115 lib = local_env.SharedLibrary(lib_name, sources)
116 else:
117 lib = local_env.StaticLibrary(lib_name, sources)
118
119 env.Alias('build_paso_lib', lib)
120
121 include_path = Dir('paso', local_env['incinstall'])
122 solvers_include_path = Dir('Solvers', include_path)
123
124 hdr_inst = local_env.Install(include_path, headers)
125 env.Alias('install_paso_headers', hdr_inst)
126
127 lib_inst = local_env.Install(local_env['libinstall'], lib)
128 env.Alias('install_paso_lib', lib_inst)
129

  ViewVC Help
Powered by ViewVC 1.1.26