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

Contents of /trunk/finley/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 190 - (show annotations)
Mon Nov 21 03:27:42 2005 UTC (14 years ago) by jgs
Original Path: trunk/finley/src/finleyC/SConscript
File size: 3057 byte(s)
pass in value for esysroot and use this to determine include file locations
1 Import('*')
2
3 import os
4 import string
5
6 cc_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -fpic -w1'
7
8 finley_path = str(esysroot) + '/finley/inc'
9 paso_path = str(esysroot) + '/paso/inc'
10 escript_path = str(esysroot) + '/escript/inc'
11 esysUtils_path = str(esysroot) + '/esysUtils/inc'
12 python_path = '/raid2/tools/python-2.3.4/include/python2.3'
13 boost_path = '/raid2/tools/boost/include/boost-1_31'
14
15 cpp_path = [escript_path,
16 esysUtils_path,
17 finley_path,
18 paso_path,
19 python_path,
20 boost_path]
21
22 lib = 'finleyC'
23 sources = ['Assemble_addToSystemMatrix.c',
24 'Assemble_CopyElementData.c',
25 'Assemble_CopyNodalData.c',
26 'Assemble_getAssembleParameters.c',
27 'Assemble_getSize.c',
28 'Assemble_gradient.c',
29 'Assemble_handelShapeMissMatch.c',
30 'Assemble_integrate.c',
31 'Assemble_interpolate.c',
32 'Assemble_NodeCoordinates.c',
33 'Assemble_PDE.c',
34 'Assemble_PDEMatrix_Single2.c',
35 'Assemble_PDEMatrix_System2.c',
36 'Assemble_PDE_RHS.c',
37 'Assemble_RHSMatrix_Single.c',
38 'Assemble_RHSMatrix_System.c',
39 'Assemble_RobinCondition.c',
40 'Assemble_RobinCondition_RHS.c',
41 'Assemble_setNormal.c',
42 'ElementFile_allocTable.c',
43 'ElementFile.c',
44 'ElementFile_copyTable.c',
45 'ElementFile_gather.c',
46 'ElementFile_improveColoring.c',
47 'ElementFile_markNodes.c',
48 'ElementFile_optimizeDistribution.c',
49 'ElementFile_prepare.c',
50 'ElementFile_relableNodes.c',
51 'ElementFile_scatter.c',
52 'ElementFile_setNodeRange.c',
53 'Finley.c',
54 'IndexList.c',
55 'Mesh.c',
56 'Mesh_findMatchingFaces.c',
57 'Mesh_getPattern.c',
58 'Mesh_glueFaces.c',
59 'Mesh_hex20.c',
60 'Mesh_hex8.c',
61 'Mesh_joinFaces.c',
62 'Mesh_line2.c',
63 'Mesh_line3.c',
64 'Mesh_markNodes.c',
65 'Mesh_merge.c',
66 'Mesh_prepare.c',
67 'Mesh_prepareNodes.c',
68 'Mesh_print.c',
69 'Mesh_read.c',
70 'Mesh_rec4.c',
71 'Mesh_rec8.c',
72 'Mesh_relabelElementNodes.c',
73 'Mesh_resolveNodeIds.c',
74 'Mesh_saveDX.c',
75 'Mesh_saveVTK.c',
76 'Mesh_write.c',
77 'NodeFile_allocTable.c',
78 'NodeFile.c',
79 'NodeFile_copyTable.c',
80 'NodeFile_gatter.c',
81 'NodeFile_scatter.c',
82 'NodeFile_setCoordinates.c',
83 'NodeFile_setIdRange.c',
84 'Quadrature.c',
85 'ReferenceElements.c',
86 'ShapeFunctions.c',
87 'Util.c']
88
89 finleyC_env = Environment(ENV = os.environ)
90
91 finleyC_env.Replace(CC = 'icc')
92 finleyC_env.Replace(CCFLAGS = cc_flags)
93 finleyC_env.Replace(CPPPATH = cpp_path)
94
95 finleyC_lib = finleyC_env.StaticLibrary(lib, sources)
96 finleyC_env.Install(libdir, finleyC_lib)

  ViewVC Help
Powered by ViewVC 1.1.26