fixed lower case problem in configure, adjusted restart test to run with AL (Polarization still fails)

This commit is contained in:
Martin Diehl 2014-03-25 08:39:00 +00:00
parent 27847efca3
commit bc5c44fa89
1 changed files with 3 additions and 3 deletions

6
configure vendored
View File

@ -124,15 +124,15 @@ parser.set_defaults(blasType = defaults['blasType'])
#--- set default for blasRoot depending on current option (or default) for blasType --------------------
blasType = defaults['blasType'].upper()
for i, arg in enumerate(sys.argv):
if arg.startswith('--with-blas-type'):
if arg.endswith('--with-blas-type'):
if arg.lower().startswith('--with-blas-type'):
if arg.lower().endswith('--with-blas-type'):
blasType = sys.argv[i+1].upper()
else:
blasType = sys.argv[i][17:].upper()
if blasType not in BLAS_order:
blasType='LAPACK'
parser.set_defaults(blasRoot = [defaults['blasRoot'][blasType]][0])
parser.set_defaults(blasRoot = defaults['blasRoot'][blasType])
parser.set_defaults(spectraloptions = [])
(options,filenames) = parser.parse_args()