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

Diff of /trunk/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1804 by gross, Wed Sep 24 07:52:19 2008 UTC revision 2479 by gross, Thu Jun 18 06:50:37 2009 UTC
# Line 1  Line 1 
1    
2    ########################################################
3  #  #
4  # $Id$  # Copyright (c) 2003-2008 by University of Queensland
5  #  # Earth Systems Science Computational Center (ESSCC)
6  #######################################################  # http://www.uq.edu.au/esscc
 #  
 #           Copyright 2003-2007 by ACceSS MNRF  
 #       Copyright 2007 by University of Queensland  
 #  
 #                http://esscc.uq.edu.au  
 #        Primary Business: Queensland, Australia  
 #  Licensed under the Open Software License version 3.0  
 #     http://www.opensource.org/licenses/osl-3.0.php  
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  import os
16  Import('*')  Import('*')
17    
18  local_env = clone_env(env_mpi)  local_env = clone_env(env_mpi)
19    
20    # And just for blocktimer cancer.....
21    local_env.Append(LIBS = ['esysUtils'])
22    
23    lib_name = 'paso'
24    
25  sources = """  sources = """
26      BiCGStab.c      BiCGStab.c
27      Coupler.c      Coupler.c
# Line 38  sources = """ Line 41  sources = """
41      Pattern.c      Pattern.c
42      Pattern_getSubpattern.c      Pattern_getSubpattern.c
43      Pattern_mis.c      Pattern_mis.c
44        Pattern_coupling.c
45      Pattern_reduceBandwidth.c      Pattern_reduceBandwidth.c
46      Pattern_unrollBlocks.c      Pattern_unrollBlocks.c
     SCSL.c  
     SCSL_direct.c  
     SCSL_iterative.c  
47      SharedComponents.c      SharedComponents.c
48      Solver.c      Solver.c
49      SolverFCT.c      SolverFCT.c
# Line 50  sources = """ Line 51  sources = """
51      SolverFCT_reset.c      SolverFCT_reset.c
52      SolverFCT_solve.c      SolverFCT_solve.c
53      Solver_Function.c      Solver_Function.c
54        Solver_GS.c
55      Solver_ILU.c      Solver_ILU.c
56      Solver_RILU.c      Solver_RILU.c
57        Solver_AMG.c
58      Solver_SchurComplement.c      Solver_SchurComplement.c
59      Solver_applyBlockDiagonalMatrix.c      Solver_applyBlockDiagonalMatrix.c
60      Solver_jacobi.c      Solver_jacobi.c
# Line 95  headers = """ Line 98  headers = """
98      PasoUtil.h      PasoUtil.h
99      Paso_MPI.h      Paso_MPI.h
100      Pattern.h      Pattern.h
101      SCSL.h      Pattern_coupling.h
102      SharedComponents.h      SharedComponents.h
103      Solver.h      Solver.h
104      SolverFCT.h      SolverFCT.h
# Line 108  headers = """ Line 111  headers = """
111      performance.h      performance.h
112  """.split()  """.split()
113    
114  lib = local_env.StaticLibrary('paso', sources)  if IS_WINDOWS_PLATFORM :
115      local_env.Append(CPPDEFINES = ['PASO_EXPORTS'])
116    
117    if local_env['share_paso'] :
118      lib = local_env.SharedLibrary(lib_name, sources)
119    else:
120      lib = local_env.StaticLibrary(lib_name, sources)
121    
122  env.Alias('target_paso_a', lib)  env.Alias('target_paso_a', lib)
123    
124  include_path = Dir('paso', local_env['incinstall'])  include_path = Dir('paso', local_env['incinstall'])

Legend:
Removed from v.1804  
changed lines
  Added in v.2479

  ViewVC Help
Powered by ViewVC 1.1.26