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

Annotation of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6939 - (hide annotations)
Mon Jan 20 03:37:18 2020 UTC (4 weeks, 1 day ago) by uqaeller
File size: 2915 byte(s)
Updated the copyright header.


1 ksteube 1811
2 jfenwick 3982 ##############################################################################
3 ksteube 1705 #
4 uqaeller 6939 # Copyright (c) 2003-2020 by The University of Queensland
5 jfenwick 3982 # http://www.uq.edu.au
6 ksteube 1705 #
7 ksteube 1811 # Primary Business: Queensland, Australia
8 jfenwick 6112 # Licensed under the Apache License, version 2.0
9     # http://www.apache.org/licenses/LICENSE-2.0
10 ksteube 1705 #
11 jfenwick 3982 # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 jfenwick 4657 # Development 2012-2013 by School of Earth Sciences
13     # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 uqaeller 6939 # Development from 2019 by School of Earth and Environmental Sciences
15 jfenwick 3982 #
16     ##############################################################################
17 ksteube 1705
18 jgs 187 Import('*')
19    
20 caltinay 6119 module_name = 'paso'
21 phornby 2057
22 ksteube 1705 sources = """
23 caltinay 4829 BiCGStab.cpp
24     Coupler.cpp
25     FCT_Solver.cpp
26     FluxLimiter.cpp
27     Functions.cpp
28     GMRES.cpp
29     GMRES2.cpp
30     MKL.cpp
31     NewtonGMRES.cpp
32 caltinay 4846 Options.cpp
33 caltinay 4829 PCG.cpp
34     PasoUtil.cpp
35     Pattern.cpp
36     Pattern_mis.cpp
37     Pattern_reduceBandwidth.cpp
38     Preconditioner.cpp
39     ReactiveSolver.cpp
40     SchurComplement.cpp
41     Smoother.cpp
42     Solver.cpp
43     Solver_Function.cpp
44     SparseMatrix.cpp
45     SparseMatrix_getSubmatrix.cpp
46     SparseMatrix_nullifyRowsAndCols.cpp
47     SparseMatrix_saveHB.cpp
48     SparseMatrix_MatrixMatrix.cpp
49     SparseMatrix_MatrixMatrixTranspose.cpp
50     SparseMatrix_MatrixVector.cpp
51     SystemMatrix.cpp
52     SystemMatrix_MatrixVector.cpp
53     SystemMatrix_copyRemoteCoupleBlock.cpp
54     SystemMatrix_debug.cpp
55     SystemMatrix_extendedRows.cpp
56     SystemMatrix_loadMM.cpp
57     SystemMatrix_mergeMainAndCouple.cpp
58     SystemMatrixPattern.cpp
59     SystemMatrixPattern_unrollBlocks.cpp
60     Transport.cpp
61     Transport_solve.cpp
62     ILU.cpp
63     MINRES.cpp
64     RILU.cpp
65     TFQMR.cpp
66     UMFPACK.cpp
67     mmio.cpp
68     performance.cpp
69     solve.cpp
70 ksteube 1705 """.split()
71 jfenwick 3259
72 ksteube 1705 headers = """
73 caltinay 4829 BlockOps.h
74     Coupler.h
75 caltinay 4867 FCT_Solver.h
76 caltinay 4829 FluxLimiter.h
77     Functions.h
78     MKL.h
79 caltinay 4867 mmio.h
80 caltinay 4829 Options.h
81     Paso.h
82 caltinay 5929 PasoException.h
83 caltinay 4829 PasoUtil.h
84     Pattern.h
85 caltinay 4867 performance.h
86 caltinay 4829 Preconditioner.h
87 caltinay 4867 ReactiveSolver.h
88 caltinay 4829 SharedComponents.h
89     Solver.h
90     SparseMatrix.h
91     SystemMatrix.h
92     SystemMatrixPattern.h
93 caltinay 4867 Transport.h
94 caltinay 4829 UMFPACK.h
95 ksteube 1705 """.split()
96 gross 700
97 caltinay 6119 local_env = env.Clone()
98    
99 caltinay 6145 # collect dependencies for other modules
100     pasolibs = env['escript_libs']
101     if env['uselapack']:
102     pasolibs += env['lapack_libs']
103     if env['mkl']:
104     pasolibs += env['mkl_libs']
105     if env['umfpack']:
106     pasolibs += env['umfpack_libs']
107    
108     local_env.PrependUnique(LIBS = pasolibs)
109     env['paso_libs'] = [module_name] + pasolibs
110    
111 jfenwick 3259 if IS_WINDOWS:
112     local_env.Append(CPPDEFINES = ['PASO_EXPORTS'])
113 phornby 2057
114 caltinay 6119 include_path = Dir(module_name, local_env['incinstall'])
115 jfenwick 3259 hdr_inst = local_env.Install(include_path, headers)
116 gross 425
117 caltinay 6119 lib = local_env.SharedLibrary(module_name, sources)
118 jfenwick 3259 lib_inst = local_env.Install(local_env['libinstall'], lib)
119    
120 caltinay 6119 build = env.Alias('build_paso', [hdr_inst, lib])
121     env.Alias('install_paso', [build, lib_inst])
122    

  ViewVC Help
Powered by ViewVC 1.1.26