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

Contents of /trunk/finley/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 188 - (show annotations)
Mon Nov 21 01:20:26 2005 UTC (13 years, 10 months ago) by jgs
Original Path: trunk/finley/src/finleyC/SConscript
File size: 2832 byte(s)
explicitly add -fpic option to all compiler options lists
to ensure relocatable code is generated

1 Import('*')
2
3 import os
4
5 cc_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -fpic -w1'
6
7 cpp_path = ['#../escript/inc',
8 '#../esysUtils/inc',
9 '#../finley/inc',
10 '#../paso/inc',
11 '/raid2/tools/python-2.3.4/include/python2.3',
12 '/raid2/tools/boost/include/boost-1_31']
13
14 lib = 'finleyC'
15 sources = ['Assemble_addToSystemMatrix.c',
16 'Assemble_CopyElementData.c',
17 'Assemble_CopyNodalData.c',
18 'Assemble_getAssembleParameters.c',
19 'Assemble_getSize.c',
20 'Assemble_gradient.c',
21 'Assemble_handelShapeMissMatch.c',
22 'Assemble_integrate.c',
23 'Assemble_interpolate.c',
24 'Assemble_NodeCoordinates.c',
25 'Assemble_PDE.c',
26 'Assemble_PDEMatrix_Single2.c',
27 'Assemble_PDEMatrix_System2.c',
28 'Assemble_PDE_RHS.c',
29 'Assemble_RHSMatrix_Single.c',
30 'Assemble_RHSMatrix_System.c',
31 'Assemble_RobinCondition.c',
32 'Assemble_RobinCondition_RHS.c',
33 'Assemble_setNormal.c',
34 'ElementFile_allocTable.c',
35 'ElementFile.c',
36 'ElementFile_copyTable.c',
37 'ElementFile_gather.c',
38 'ElementFile_improveColoring.c',
39 'ElementFile_markNodes.c',
40 'ElementFile_optimizeDistribution.c',
41 'ElementFile_prepare.c',
42 'ElementFile_relableNodes.c',
43 'ElementFile_scatter.c',
44 'ElementFile_setNodeRange.c',
45 'Finley.c',
46 'IndexList.c',
47 'Mesh.c',
48 'Mesh_findMatchingFaces.c',
49 'Mesh_getPattern.c',
50 'Mesh_glueFaces.c',
51 'Mesh_hex20.c',
52 'Mesh_hex8.c',
53 'Mesh_joinFaces.c',
54 'Mesh_line2.c',
55 'Mesh_line3.c',
56 'Mesh_markNodes.c',
57 'Mesh_merge.c',
58 'Mesh_prepare.c',
59 'Mesh_prepareNodes.c',
60 'Mesh_print.c',
61 'Mesh_read.c',
62 'Mesh_rec4.c',
63 'Mesh_rec8.c',
64 'Mesh_relabelElementNodes.c',
65 'Mesh_resolveNodeIds.c',
66 'Mesh_saveDX.c',
67 'Mesh_saveVTK.c',
68 'Mesh_write.c',
69 'NodeFile_allocTable.c',
70 'NodeFile.c',
71 'NodeFile_copyTable.c',
72 'NodeFile_gatter.c',
73 'NodeFile_scatter.c',
74 'NodeFile_setCoordinates.c',
75 'NodeFile_setIdRange.c',
76 'Quadrature.c',
77 'ReferenceElements.c',
78 'ShapeFunctions.c',
79 'Util.c']
80
81 finleyC_env = Environment(ENV = os.environ)
82
83 finleyC_env.Replace(CC = 'icc')
84 finleyC_env.Replace(CCFLAGS = cc_flags)
85 finleyC_env.Replace(CPPPATH = cpp_path)
86
87 finleyC_lib = finleyC_env.StaticLibrary(lib, sources)
88 finleyC_env.Install(libdir, finleyC_lib)

  ViewVC Help
Powered by ViewVC 1.1.26