From bc5c44fa894752bfe86c138dc75cfa25688dc384 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Tue, 25 Mar 2014 08:39:00 +0000 Subject: [PATCH] fixed lower case problem in configure, adjusted restart test to run with AL (Polarization still fails) --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 6bd8b5134..8c4088d57 100755 --- a/configure +++ b/configure @@ -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()