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

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 191 - (show annotations)
Mon Nov 21 04:10:12 2005 UTC (14 years, 3 months ago) by jgs
File size: 1834 byte(s)
push platform dependent compiler flags and include directories up to library level scons files - these will eventually be brought in from external config files
1 Import('*')
2
3 import os
4 import string
5
6 paso_path = str(esysroot) + '/paso/src'
7 scsl_path = str(esysroot) + '/paso/src/SCSL'
8 solvers_path = str(esysroot) + '/paso/src/Solvers'
9 mmio_path = str(esysroot) + '/tools/mmio/inc'
10
11 cpp_path = [paso_path,
12 scsl_path,
13 solvers_path,
14 mmio_path,
15 python_path,
16 boost_path]
17
18 lib = 'paso'
19 sources = ['Options_getPackage.c',
20 'Options_getSolver.c',
21 'Options_setDefaults.c',
22 'Paso.c',
23 'solve.c',
24 'SystemMatrix_borrowNormalization.c',
25 'SystemMatrix.c',
26 'SystemMatrix_copy.c',
27 'SystemMatrix_getSubmatrix.c',
28 'SystemMatrix_getSystemMatrixTypeId.c',
29 'SystemMatrix_loadMM.c',
30 'SystemMatrix_MatrixVector.c',
31 'SystemMatrix_nullifyRowsAndCols.c',
32 'SystemMatrixPattern.c',
33 'SystemMatrixPattern_getSubpattern.c',
34 'SystemMatrixPattern_mis.c',
35 'SystemMatrixPattern_unrollBlocks.c',
36 'SystemMatrix_saveHB.c',
37 'SystemMatrix_saveMM.c',
38 'SystemMatrix_setValues.c',
39 'Util.c',
40 'SCSL/SCSL.c',
41 'SCSL/SCSL_direct.c',
42 'SCSL/SCSL_iterative.c',
43 'Solvers/BiCGStab.c',
44 'Solvers/GMRES.c',
45 'Solvers/PCG.c',
46 'Solvers/Solver_applyBlockDiagonalMatrix.c',
47 'Solvers/Solver.c',
48 'Solvers/Solver_ILU.c',
49 'Solvers/Solver_jacobi.c',
50 'Solvers/Solver_preconditioner.c',
51 'Solvers/Solver_SchurComplement.c']
52
53 paso_env = Environment(ENV = os.environ)
54
55 paso_env.Replace(CC = 'icc')
56 paso_env.Replace(CCFLAGS = cc_flags)
57 paso_env.Replace(CPPPATH = cpp_path)
58
59 paso_lib = paso_env.StaticLibrary(lib, sources)
60 paso_env.Install(libdir, paso_lib)

  ViewVC Help
Powered by ViewVC 1.1.26