31 |
tmp = os.path.join("scons",hostname+"_options.py") |
tmp = os.path.join("scons",hostname+"_options.py") |
32 |
options_file = ARGUMENTS.get('options_file', tmp) |
options_file = ARGUMENTS.get('options_file', tmp) |
33 |
if not os.path.isfile(options_file): options_file = False |
if not os.path.isfile(options_file): options_file = False |
34 |
|
else: print "Options file is", options_file |
35 |
|
|
36 |
# Load options file and command-line arguments |
# Load options file and command-line arguments |
37 |
opts = Options(options_file, ARGUMENTS) |
opts = Options(options_file, ARGUMENTS) |
100 |
('mkl_lib_path', 'Path to MKL libs', '/sw/sdev/cmkl/10.0.2.18/lib/em64t'), |
('mkl_lib_path', 'Path to MKL libs', '/sw/sdev/cmkl/10.0.2.18/lib/em64t'), |
101 |
('mkl_libs', 'MKL libraries to link with', ['mkl_solver', 'mkl_em64t', 'guide', 'pthread']), |
('mkl_libs', 'MKL libraries to link with', ['mkl_solver', 'mkl_em64t', 'guide', 'pthread']), |
102 |
# UMFPACK |
# UMFPACK |
103 |
BoolOption('useumfpack', 'switch on/off the usage of UMFPACK', 'yes'), |
BoolOption('useumfpack', 'switch on/off the usage of UMFPACK', 'no'), |
104 |
('ufc_path', 'Path to UFconfig includes', '/usr/include/suitesparse'), |
('ufc_path', 'Path to UFconfig includes', '/usr/include/suitesparse'), |
105 |
('umf_path', 'Path to UMFPACK includes', '/usr/include/suitesparse'), |
('umf_path', 'Path to UMFPACK includes', '/usr/include/suitesparse'), |
106 |
('umf_lib_path', 'Path to UMFPACK libs', usr_lib), |
('umf_lib_path', 'Path to UMFPACK libs', usr_lib), |