PageRenderTime 23ms CodeModel.GetById 16ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/test_program/SConstruct

http://github.com/b45ch1/hpsc_hanoi_2009_walter
#! | 60 lines | 55 code | 5 blank | 0 comment | 0 complexity | 22b387f778d49a05ac77a13f0a1e0d4d MD5 | raw file
 1LIBS		= [
 2				'adolc',
 3				'blas',
 4				'atlas',
 5				'utpm',
 6				# 'utps',
 7			]
 8LIBPATH		= [
 9				'/home/b45ch1/workspace/ADOL-C/trunk/ADOL-C/src/.libs',
10				'/home/b45ch1/workspace/taylorpoly/taylorpoly/taylorpoly',
11		  ]
12INCLUDEPATH	= [
13			'../algorithms_for_adolc',
14			'../algorithms_for_tapenade/c_code',
15			'/home/b45ch1/workspace/ADOL-C/trunk/ADOL-C/src',
16			'/home/b45ch1/workspace/taylorpoly/taylorpoly/taylorpoly/src',
17			# '/home/b45ch1/workspace/taylorpoly/taylorpoly/3rdparty/lapack_headers',
18			]
19
20env = Environment(
21	CPPPATH = INCLUDEPATH,
22	# CXXFLAGS="-ftemplate-depth-100  -O3  -g -pg -DMTL_DISABLE_ALIGNMENT",
23	CXXFLAGS="-ftemplate-depth-100  -O3 ",
24	CFLAGS = "-O3",
25	LIBPATH= LIBPATH,
26	LIBS= LIBS,
27	F77= 'gfortran',
28	F77FLAGS = '-O3',
29	RPATH = LIBPATH, #include information where shared libraries can be found to avoid errors like: "ImportError: libboost_python-gcc42-mt-1_34_1.so.1.34.1: cannot open shared object file: No such file or directory"
30	SHLIBPREFIX="", #gets rid of lib prefix
31)
32Default('.')
33# env.Program(target='matrix_ad_vs_adolc_vs_tapenade.exe',
34# 	source=['matrix_ad_vs_adolc_vs_tapenade.cpp',
35# 	'../algorithms_for_tapenade/fortran_code/dense_qr_decomposition_by_givens_rotations.f',
36# 	'../algorithms_for_tapenade/fortran_code/dense_inverse.f',
37# 	'../algorithms_for_tapenade/fortran_code/qr_b.f',
38# 	'../algorithms_for_tapenade/fortran_code/inv_b.f',
39# 	# '../algorithms_for_tapenade/fortran_code/adBuffer.f',
40# 	'../algorithms_for_tapenade/fortran_code/adStack.c',
41# 	'../algorithms_for_tapenade/fortran_code/adBuffer.c',
42# 	'../algorithms_for_tapenade/c_code/inv_b.c',
43# 	'../algorithms_for_tapenade/c_code/qr_b.c',
44# 	'../algorithms_for_tapenade/c_code/dense_inverse.c',
45# 	'../algorithms_for_tapenade/c_code/GlobalDeclarations_b.c',
46	
47# 	])
48
49env.SharedLibrary(target='libtest_cases',
50	source=['test_cases.cpp',
51	'../algorithms_for_tapenade/fortran_code/adStack.c',
52	'../algorithms_for_tapenade/fortran_code/adBuffer.c',
53	'../algorithms_for_tapenade/c_code/inv_b.c',
54	'../algorithms_for_tapenade/c_code/qr_b.c',
55	'../algorithms_for_tapenade/c_code/dense_inverse.c',
56	'../algorithms_for_tapenade/c_code/GlobalDeclarations_b.c',
57    '/home/b45ch1/workspace/taylorpoly/taylorpoly/taylorpoly/src/utps.c'
58	])
59
60