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

Contents of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 411 - (show annotations)
Tue Jan 3 00:23:48 2006 UTC (13 years, 11 months ago) by gross
File size: 1932 byte(s)
SCSL interface has moved

1 libinstall = None
2
3 Import('*')
4
5 import os
6 import string
7
8 paso_path = str(esysroot) + '/paso/src'
9 solvers_path = str(esysroot) + '/paso/src/Solvers'
10 mmio_path = str(esysroot) + '/tools/mmio/inc'
11
12 cpp_path = [paso_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.c',
41 'SCSL_direct.c',
42 '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 = cc)
56 paso_env.Replace(CCFLAGS = cc_flags)
57 paso_env.Replace(ARFLAGS = ar_flags)
58 paso_env.Replace(CPPPATH = cpp_path)
59
60 paso_lib = paso_env.StaticLibrary(lib, sources)
61
62 Default(paso_env.Install(libdir, paso_lib))
63 Default(paso_env.Install(libdir2, paso_lib))
64 if libinstall != None:
65 Default(paso_env.Install(libinstall, paso_lib))

  ViewVC Help
Powered by ViewVC 1.1.26