platform/upstream/lapack.git
7 years agoMerge pull request #137 from echeresh/xlarrx_fix
langou [Sat, 1 Apr 2017 13:41:49 +0000 (15:41 +0200)]
Merge pull request #137 from echeresh/xlarrx_fix

Add quick return for *LARR* routines

7 years agoAdd quick return for *LARR* routines
eugene.chereshnev [Thu, 30 Mar 2017 23:26:41 +0000 (16:26 -0700)]
Add quick return for *LARR* routines

7 years agoMerge pull request #136 from echeresh/370_fix
langou [Mon, 27 Mar 2017 06:13:09 +0000 (08:13 +0200)]
Merge pull request #136 from echeresh/370_fix

A number of fixes for routines and testing sources integrated in LAPACK 3.7.0

7 years agoFix external names and remove unused routines from external statements
eugene.chereshnev [Sat, 25 Mar 2017 20:25:24 +0000 (13:25 -0700)]
Fix external names and remove unused routines from external statements

7 years agoRemove redundant IF in TESTING/LIN/*chkrfp.f
eugene.chereshnev [Sat, 25 Mar 2017 00:51:27 +0000 (17:51 -0700)]
Remove redundant IF in TESTING/LIN/*chkrfp.f

7 years agoFix *chk{sb,hb}2stg.f: corrected name of subroutine in external section
eugene.chereshnev [Fri, 24 Mar 2017 23:45:06 +0000 (16:45 -0700)]
Fix *chk{sb,hb}2stg.f: corrected name of subroutine in external section

7 years agoAlign TESTING/{EIG,LIN}/chkxer.f
eugene.chereshnev [Fri, 24 Mar 2017 20:56:44 +0000 (13:56 -0700)]
Align TESTING/{EIG,LIN}/chkxer.f

7 years agoAlign TESTING/{EIG,LIN}/*larhs.f
eugene.chereshnev [Fri, 24 Mar 2017 20:56:07 +0000 (13:56 -0700)]
Align TESTING/{EIG,LIN}/*larhs.f

7 years agoAlign TESTING/{LIN,MATGEN}/*lahilb.f
eugene.chereshnev [Fri, 24 Mar 2017 20:46:32 +0000 (13:46 -0700)]
Align TESTING/{LIN,MATGEN}/*lahilb.f

7 years agoAlign TESTING/{EIG,LIN}/*get02.f
eugene.chereshnev [Fri, 24 Mar 2017 20:32:51 +0000 (13:32 -0700)]
Align TESTING/{EIG,LIN}/*get02.f

7 years agoFix *2st_kernels.f: unify doc comments
eugene.chereshnev [Fri, 24 Mar 2017 20:28:23 +0000 (13:28 -0700)]
Fix *2st_kernels.f: unify doc comments

7 years agoFix *lasyf_aa.f: replace N -> M in comments
eugene.chereshnev [Fri, 24 Mar 2017 20:27:37 +0000 (13:27 -0700)]
Fix *lasyf_aa.f: replace N -> M in comments

7 years agoFix *drvls.f: duplicate loop to make work query for each of test cases
eugene.chereshnev [Fri, 24 Mar 2017 20:27:10 +0000 (13:27 -0700)]
Fix *drvls.f: duplicate loop to make work query for each of test cases

Workspace size is not monotonic function of input sizes so there should
be loop over all test cases with workspace queries and finding maximum
between them.

7 years agoMerge branch 'master' of https://github.com/Reference-LAPACK/lapack
Julien Langou [Thu, 23 Mar 2017 19:56:18 +0000 (15:56 -0400)]
Merge branch 'master' of https://github.com/Reference-LAPACK/lapack

7 years agoThis is related to #135
Julien Langou [Thu, 23 Mar 2017 19:43:42 +0000 (15:43 -0400)]
This is related to #135

Since the order of multiplication in Fortran is left to right, the expression
      MAXITR*N*N*UNFL
first computes MAXITR*N*N as an INTEGER. This causes INTEGER overflow for
N>=18919.

To avoid the problem, rewrite as:
      MAXITR*(N*(N*UNFL))

7 years agoFix #135
Julien Langou [Thu, 23 Mar 2017 19:40:14 +0000 (15:40 -0400)]
Fix #135

Thanks Cezary Dendek!

7 years agoMerge pull request #134 from echeresh/doc_fix
julielangou [Sat, 18 Mar 2017 17:22:04 +0000 (10:22 -0700)]
Merge pull request #134 from echeresh/doc_fix

Fixes for mistakes in documentation in ?GETSLS, ?(SY|HE)TRS_AA, ?LAM?(SWLQ|TSQR), ?(GE|TP)M?(LQ|QR)T(|2|3)

7 years agoReplace **C -> **H in complex routines
eugene.chereshnev [Fri, 17 Mar 2017 19:32:18 +0000 (12:32 -0700)]
Replace **C -> **H in complex routines

7 years ago*gemlqt.f, *tpmlqt.f: replace **C -> **H, T is MB-by-K, fix names
eugene.chereshnev [Fri, 17 Mar 2017 19:30:56 +0000 (12:30 -0700)]
*gemlqt.f, *tpmlqt.f: replace **C -> **H, T is MB-by-K, fix names

7 years ago*geqrt.f: T is NB-by-K
eugene.chereshnev [Fri, 17 Mar 2017 19:30:08 +0000 (12:30 -0700)]
*geqrt.f: T is NB-by-K

7 years ago*gelqt.f: replace NB -> MB
eugene.chereshnev [Fri, 17 Mar 2017 19:29:32 +0000 (12:29 -0700)]
*gelqt.f: replace NB -> MB

7 years ago*trs_aa.f: a is input only parameter
eugene.chereshnev [Fri, 17 Mar 2017 19:28:47 +0000 (12:28 -0700)]
*trs_aa.f: a is input only parameter

7 years ago*tplqt.f, *tplqt2.f: incorrect dimensions
eugene.chereshnev [Thu, 16 Mar 2017 18:25:21 +0000 (11:25 -0700)]
*tplqt.f, *tplqt2.f: incorrect dimensions

7 years ago*gemlqt.f: incorrect dimension of V
eugene.chereshnev [Thu, 16 Mar 2017 17:38:35 +0000 (10:38 -0700)]
*gemlqt.f: incorrect dimension of V

7 years ago*gelqt.f, *gelqt3.f: reflectors are stored in rows
eugene.chereshnev [Thu, 16 Mar 2017 17:29:05 +0000 (10:29 -0700)]
*gelqt.f, *gelqt3.f: reflectors are stored in rows

7 years ago*gemlqt.f, *lamswlq.f, *lamtsqr.f: fix mistakes in comments
eugene.chereshnev [Tue, 14 Mar 2017 02:17:03 +0000 (19:17 -0700)]
*gemlqt.f, *lamswlq.f, *lamtsqr.f: fix mistakes in comments

7 years agoMerge pull request #133 from echeresh/laswp_doc_fix
langou [Tue, 7 Mar 2017 01:31:13 +0000 (02:31 +0100)]
Merge pull request #133 from echeresh/laswp_doc_fix

Fix documentation for ?LASWP routine

7 years agoFix documentation for ?LASWP routine
eugene.chereshnev [Mon, 6 Mar 2017 23:58:15 +0000 (15:58 -0800)]
Fix documentation for ?LASWP routine

7 years agoMerge pull request #132 from turboencabulator/cleanup
langou [Fri, 3 Mar 2017 14:26:44 +0000 (15:26 +0100)]
Merge pull request #132 from turboencabulator/cleanup

Update makefile prerequisites

7 years agoUpdate LAPACK Mailing List
Julie [Sun, 26 Feb 2017 22:19:17 +0000 (14:19 -0800)]
Update LAPACK Mailing List

New Mailing List is lapack@icl.utk.edu

7 years agoMerge pull request #131 from martin-frbg/martin-frbg-patch-1
langou [Wed, 22 Feb 2017 19:22:36 +0000 (20:22 +0100)]
Merge pull request #131 from martin-frbg/martin-frbg-patch-1

TESTING/EIG: fix spurious EXTERNAL references to nonexistent functions

7 years agoRemove spurious entries from EXTERNAL list
Martin Kroeker [Wed, 22 Feb 2017 15:12:10 +0000 (16:12 +0100)]
Remove spurious entries from EXTERNAL list

ZHETRD_SY2SB and ZHETRD_SB2ST are never called and do not even seem to exist in the current codebase.

7 years agoRemove spurious entries from EXTERNAL list
Martin Kroeker [Wed, 22 Feb 2017 15:09:10 +0000 (16:09 +0100)]
Remove spurious entries from EXTERNAL list

ZHETRD_SY2SB and ZHETRD_SB2ST are never called and do not even exist in the current codebase.

7 years agoFix typo in EXTERNAL
Martin Kroeker [Wed, 22 Feb 2017 15:03:19 +0000 (16:03 +0100)]
Fix typo in EXTERNAL

ZHBTRD_HB2ST in the EXTERNAL statement should be ZHETRD_HB2ST (Windows Ifort treated it as an unresolved reference)

7 years agoMerge pull request #130 from martin-frbg/lapack-comma
langou [Wed, 22 Feb 2017 08:35:27 +0000 (09:35 +0100)]
Merge pull request #130 from martin-frbg/lapack-comma

Fix missing comma on EXTERNALs that span multiple lines

7 years agoFix missing comma on continued line
Martin Kroeker [Wed, 22 Feb 2017 08:07:58 +0000 (09:07 +0100)]
Fix missing comma on continued line

EXTERNAL declaration of subroutines missed a comma before the continuation line,
causing a strange run-together name to appear in the object when compiled with ifort.

7 years agoFix missing comma on continued line
Martin Kroeker [Wed, 22 Feb 2017 08:06:30 +0000 (09:06 +0100)]
Fix missing comma on continued line

EXTERNAL declaration of subroutines missed a comma before the continuation line,
causing a strange run-together name to appear in the object when compiled with ifort.

7 years agoFix missing comma on continued line
Martin Kroeker [Wed, 22 Feb 2017 08:04:33 +0000 (09:04 +0100)]
Fix missing comma on continued line

EXTERNAL declaration of subroutines missed a comma before the continuation line,
causing a strange run-together name to appear in the object when compiled with ifort.

7 years agoREADME.md with the appveyor badge pointing to the correct URL
Julien Langou [Tue, 21 Feb 2017 21:52:56 +0000 (22:52 +0100)]
README.md with the appveyor badge pointing to the correct URL
(Thanks @Gjacquenot)

7 years agoREADME.md with the codecov badge pointing to the correct URL
Julien Langou [Tue, 21 Feb 2017 21:44:24 +0000 (22:44 +0100)]
README.md with the codecov badge pointing to the correct URL
(Thanks @Gjacquenot)

7 years agoMerge pull request #129 from Gjacquenot/master
langou [Tue, 21 Feb 2017 20:51:33 +0000 (21:51 +0100)]
Merge pull request #129 from Gjacquenot/master

Added Lapack code coverage

7 years ago[coverage] Added coverage badge in README.md
Guillaume Jacquenot [Tue, 21 Feb 2017 20:23:33 +0000 (21:23 +0100)]
[coverage] Added coverage badge in README.md

7 years ago[coverage] Updated travis ci for code coverage
Guillaume Jacquenot [Tue, 21 Feb 2017 20:23:00 +0000 (21:23 +0100)]
[coverage] Updated travis ci for code coverage

7 years ago[coverage] Added CMake rules for code coverage
Guillaume Jacquenot [Tue, 21 Feb 2017 20:22:25 +0000 (21:22 +0100)]
[coverage] Added CMake rules for code coverage

7 years ago[coverage] Updated cmake coverage files for Lapack
Guillaume Jacquenot [Tue, 21 Feb 2017 20:21:13 +0000 (21:21 +0100)]
[coverage] Updated cmake coverage files for Lapack

7 years ago[coverage] Added cmake files for coverage
Guillaume Jacquenot [Tue, 21 Feb 2017 20:19:25 +0000 (21:19 +0100)]
[coverage] Added cmake files for coverage

7 years agoMerge pull request #126 from Gjacquenot/master
langou [Tue, 21 Feb 2017 18:59:30 +0000 (19:59 +0100)]
Merge pull request #126 from Gjacquenot/master

Added Appveyor CI with MinGW for Windows

7 years ago[appveyor] Added link for appveyor build status
Guillaume Jacquenot [Sat, 18 Feb 2017 18:23:58 +0000 (19:23 +0100)]
[appveyor] Added link for appveyor build status

7 years ago[appveyor] Skipped CBLAS-*CBLAT1 tests that fail with appveyor
Guillaume Jacquenot [Sat, 18 Feb 2017 17:58:48 +0000 (18:58 +0100)]
[appveyor] Skipped CBLAS-*CBLAT1 tests  that fail with appveyor

7 years ago[appveyor] Added appveyor CI with MinGW
Guillaume Jacquenot [Sat, 18 Feb 2017 18:24:25 +0000 (19:24 +0100)]
[appveyor] Added appveyor CI with MinGW

7 years agoMerge pull request #128 from vladimir-ch/fix-lapacke-ormbr
langou [Tue, 21 Feb 2017 16:38:29 +0000 (17:38 +0100)]
Merge pull request #128 from vladimir-ch/fix-lapacke-ormbr

LAPACKE: fix wrong matrix size in lapacke_?ormbr

7 years agoLAPACKE: fix wrong matrix size in lapacke_?ormbr
Vladimir Chalupecky [Tue, 21 Feb 2017 05:32:02 +0000 (06:32 +0100)]
LAPACKE: fix wrong matrix size in lapacke_?ormbr

7 years agoLAPACKE: fix wrong matrix size in lapacke_?ormbr_work
Vladimir Chalupecky [Tue, 21 Feb 2017 05:24:17 +0000 (06:24 +0100)]
LAPACKE: fix wrong matrix size in lapacke_?ormbr_work

... and move declarations under if.

7 years agoMerge pull request #127 from vladimir-ch/fix-lapacke-ormlq
langou [Mon, 20 Feb 2017 09:17:24 +0000 (10:17 +0100)]
Merge pull request #127 from vladimir-ch/fix-lapacke-ormlq

LAPACKE: fix wrong number of columns in ?ormlq

7 years agoLAPACKE: fix wrong number of columns in ?ormlq
Vladimir Chalupecky [Sun, 19 Feb 2017 00:10:31 +0000 (01:10 +0100)]
LAPACKE: fix wrong number of columns in ?ormlq

7 years agoFix #125
Julien Langou [Thu, 16 Feb 2017 22:40:20 +0000 (23:40 +0100)]
Fix #125

7 years agoFix #124
Julien Langou [Thu, 16 Feb 2017 21:38:38 +0000 (22:38 +0100)]
Fix #124

7 years agoFix #115
Julien Langou [Thu, 9 Feb 2017 14:03:38 +0000 (15:03 +0100)]
Fix #115

7 years agoSimplify the clean targets
Kyle Guinn [Mon, 6 Feb 2017 07:07:10 +0000 (01:07 -0600)]
Simplify the clean targets

cleanobj:  Remove object files
cleanlib:  Remove libraries
cleanexe:  Remove test and example executables
cleantest: Remove test output and core dumps
clean:     All of the above

7 years agoUse $(MAKE) -C for recursion
Kyle Guinn [Sun, 5 Feb 2017 09:09:06 +0000 (03:09 -0600)]
Use $(MAKE) -C for recursion

7 years agoFix missing or unnecessary prerequisites
Kyle Guinn [Sun, 5 Feb 2017 08:54:37 +0000 (02:54 -0600)]
Fix missing or unnecessary prerequisites

7 years agoUse automatic variables for test inputs
Kyle Guinn [Sun, 5 Feb 2017 06:41:46 +0000 (00:41 -0600)]
Use automatic variables for test inputs

7 years agoRemove VARIANTSDIR so we don't have to use mkdir
Kyle Guinn [Sun, 5 Feb 2017 05:13:34 +0000 (23:13 -0600)]
Remove VARIANTSDIR so we don't have to use mkdir

Make the target an actual filename to avoid rebuilding the variant
libraries.

7 years agoAdd libraries as prerequisites
Kyle Guinn [Sun, 5 Feb 2017 04:47:19 +0000 (22:47 -0600)]
Add libraries as prerequisites

Use the automatic variable $^ to refer to all prerequisites when
linking or creating an archive.

7 years agoUpdate comments
Kyle Guinn [Sun, 5 Feb 2017 03:38:42 +0000 (21:38 -0600)]
Update comments

7 years agoMerge pull request #120 from echeresh/lapacke_bdb_csd
julielangou [Sun, 5 Feb 2017 02:04:14 +0000 (18:04 -0800)]
Merge pull request #120 from echeresh/lapacke_bdb_csd

lapacke_*(bb|or|un)(csd|bdb): forward calls to LAPACK without conversion

7 years agoMerge pull request #119 from turboencabulator/cleanup
langou [Sat, 4 Feb 2017 09:04:29 +0000 (10:04 +0100)]
Merge pull request #119 from turboencabulator/cleanup

Linking fixes

7 years agoMerge pull request #118 from echeresh/lapacke_fixes
langou [Sat, 4 Feb 2017 09:03:30 +0000 (10:03 +0100)]
Merge pull request #118 from echeresh/lapacke_fixes

Fixes for LAPACKE

7 years agoStrip out comments that don't apply
Kyle Guinn [Sat, 4 Feb 2017 03:05:09 +0000 (21:05 -0600)]
Strip out comments that don't apply

7 years agolapacke_zgejsv: align parens with lapacke_cgejsv
eugene.chereshnev [Fri, 3 Feb 2017 21:50:11 +0000 (13:50 -0800)]
lapacke_zgejsv: align parens with lapacke_cgejsv

7 years agolapacke_*lacp2_work: remove unnecessary include
eugene.chereshnev [Wed, 1 Feb 2017 02:44:21 +0000 (18:44 -0800)]
lapacke_*lacp2_work: remove unnecessary include

7 years agoRemove tabs and trailing spaces (git diff -w prints nothing)
eugene.chereshnev [Fri, 3 Feb 2017 21:49:18 +0000 (13:49 -0800)]
Remove tabs and trailing spaces (git diff -w prints nothing)

7 years agolapacke_*tp_trans: condition should be inverted
eugene.chereshnev [Wed, 1 Feb 2017 20:07:06 +0000 (12:07 -0800)]
lapacke_*tp_trans: condition should be inverted

The function converts <in> from <matrix_layout> to opposite layout.
E.g. for upper case (all indices are 0-based):
col-major, upper: a(i,j) is stored in ap[(1 + j)*j/2 + i]
row-major, upper: a(i,j) is stored in ap[(n + n-i+1)*i/2 + j-i]

7 years agolapacke_*stemr_work: fixed condition to check ldz: jobz must be checked
eugene.chereshnev [Wed, 1 Feb 2017 02:46:44 +0000 (18:46 -0800)]
lapacke_*stemr_work: fixed condition to check ldz: jobz must be checked

7 years agolapacke_*(sy|he)(evr|evx)_work: fix expression for # of columns in z
eugene.chereshnev [Wed, 1 Feb 2017 02:44:47 +0000 (18:44 -0800)]
lapacke_*(sy|he)(evr|evx)_work: fix expression for # of columns in z

7 years agolapacke_*ormlq_work: move declarations under if
eugene.chereshnev [Wed, 1 Feb 2017 02:42:25 +0000 (18:42 -0800)]
lapacke_*ormlq_work: move declarations under if

7 years agolapacke_*bdsvdx: corrected # of columns used for allocation of z_t
eugene.chereshnev [Wed, 1 Feb 2017 02:40:37 +0000 (18:40 -0800)]
lapacke_*bdsvdx: corrected # of columns used for allocation of z_t

7 years agolapacke_*gesdd: missing MAX. Should be lrwork = MAX(1, ...)
eugene.chereshnev [Wed, 1 Feb 2017 02:38:45 +0000 (18:38 -0800)]
lapacke_*gesdd: missing MAX. Should be lrwork = MAX(1, ...)

7 years agolapacke_*ge(lq|qr|mlq): add functions to make files
eugene.chereshnev [Wed, 1 Feb 2017 02:36:39 +0000 (18:36 -0800)]
lapacke_*ge(lq|qr|mlq): add functions to make files

7 years agolapacke_*gelq and lapacke_*gemlq: names of functions are incorrect
eugene.chereshnev [Wed, 1 Feb 2017 02:35:53 +0000 (18:35 -0800)]
lapacke_*gelq and lapacke_*gemlq: names of functions are incorrect

7 years agolapacke_*laswp_work: incorrect value for lda_t (issue #110)
eugene.chereshnev [Wed, 1 Feb 2017 02:08:43 +0000 (18:08 -0800)]
lapacke_*laswp_work: incorrect value for lda_t (issue #110)

7 years agoVersion the CBLAS and LAPACKE libraries
Kyle Guinn [Sat, 4 Feb 2017 02:44:52 +0000 (20:44 -0600)]
Version the CBLAS and LAPACKE libraries

7 years agolapacke_*larfb: char vars should be compared by LAPACKE_lsame
eugene.chereshnev [Wed, 1 Feb 2017 02:10:08 +0000 (18:10 -0800)]
lapacke_*larfb: char vars should be compared by LAPACKE_lsame

7 years agolapacke_*(bb|or|un)(csd|bdb): forward calls to LAPACK without conversion
eugene.chereshnev [Wed, 1 Feb 2017 00:44:06 +0000 (16:44 -0800)]
lapacke_*(bb|or|un)(csd|bdb): forward calls to LAPACK without conversion

1) Ignore TRANS parameter for LAPACKE since it has the same meaning
   as matrix_layout parameter.
   TRANS = 'T' means matrices are handled in row-major format.
   TRANS != 'T' means matrices are handled in col-major format.
2) So conversion from/to row-major layout can be removed in LAPACKE.
   All the cases can be forwarded to LAPACK calls
   with corresponding TRANS parameter.
3) nrows_* variables can be safely removed. NaN checkers for
   different TRANS values can be called with corresponding layout.

LAPACKE calls are forwarded in the following way:
trans != 'T', col-major: call LAPACK(trans = 'N') - col-major
trans != 'T', row-major: call LAPACK(trans = 'T') - row-major
trans  = 'T', col-major: call LAPACK(trans = 'T') - row-major
trans  = 'T', row-major: call LAPACK(trans = 'T') - row-major

7 years agoMerge pull request #117 from nickkolok/genEration
langou [Fri, 3 Feb 2017 16:40:42 +0000 (17:40 +0100)]
Merge pull request #117 from nickkolok/genEration

geNRation fixed to geNERation 4 times

7 years agogeNRation fixed to geNERation 4 times
NickKolok [Fri, 3 Feb 2017 15:57:10 +0000 (18:57 +0300)]
geNRation fixed to geNERation 4 times

7 years agoRemove duplicate sources
Kyle Guinn [Fri, 3 Feb 2017 08:04:18 +0000 (02:04 -0600)]
Remove duplicate sources

${SECOND_SRC} and ${DSECOND_SRC} are already included in LAPACK, so no
need to link them again.

7 years agoUse the BUILD_* option variables for BLAS and CBLAS
Kyle Guinn [Fri, 3 Feb 2017 06:56:24 +0000 (00:56 -0600)]
Use the BUILD_* option variables for BLAS and CBLAS

Removes duplication and allows error checking to be done in one spot.
Moved most of the status printouts to where the options are defined.

7 years agoUse appending to create lists of source files
Kyle Guinn [Fri, 3 Feb 2017 06:25:30 +0000 (00:25 -0600)]
Use appending to create lists of source files

Allows any combination of types/precisions to be built at once.

Name the lists "SOURCES" instead of "ALLOBJ" since they contain lists of
source files, not object files.

Fix problems in BLAS:  Was missing the ${CBLAS3} file set when building
with BLAS_COMPLEX.  Was adding ${BLASLIB} as if it were a source file.

7 years agoSanitize the installation directories
Kyle Guinn [Fri, 3 Feb 2017 04:40:28 +0000 (22:40 -0600)]
Sanitize the installation directories

Be consistent and use CMAKE_INSTALL_*DIR variables throughout, instead
of a mix of CMAKE_INSTALL_PREFIX with appended text.

7 years agoFix overlinking LAPACKE dependencies
Kyle Guinn [Thu, 2 Feb 2017 03:24:41 +0000 (21:24 -0600)]
Fix overlinking LAPACKE dependencies

7 years agoFix overlinking/underlinking LAPACK dependencies
Kyle Guinn [Thu, 2 Feb 2017 03:19:08 +0000 (21:19 -0600)]
Fix overlinking/underlinking LAPACK dependencies

7 years agoFix overlinking CBLAS dependencies
Kyle Guinn [Thu, 2 Feb 2017 03:10:58 +0000 (21:10 -0600)]
Fix overlinking CBLAS dependencies

7 years agoAllow building LAPACKE with XBLAS and TMGLIB simultaneously
Kyle Guinn [Thu, 2 Feb 2017 02:46:28 +0000 (20:46 -0600)]
Allow building LAPACKE with XBLAS and TMGLIB simultaneously

Order the libraries the same as the Makefiles are ordering them:
tmglib, lapack, xblas, blas.

Fix combinations of USE_XBLAS with BUILD_SINGLE, etc. so that it only
builds the LAPACK extended functions of the desired type and precision.

Remove "OBJ" from variable names that are not lists of objects.

7 years agoFix #116
Julien Langou [Wed, 1 Feb 2017 13:41:00 +0000 (14:41 +0100)]
Fix #116

Thanks to @ashwinyes for bug report #116 in the test suite.  Weird bug. I wrote
these test codes for the RFP format in 2008 for LAPACK 3.2, and clearly the
code was not being tested as intended, thanks for the bug report. Fixed now.

7 years agoMake LAPACKE_WITH_TMG functional
Kyle Guinn [Wed, 1 Feb 2017 04:50:40 +0000 (22:50 -0600)]
Make LAPACKE_WITH_TMG functional

Rename some variables.  "SRC" isn't appropriate in the name when it's a
list of object files, not source files.

7 years agoFix formatting differences and omissions in make.inc.*
Kyle Guinn [Wed, 25 Jan 2017 08:22:29 +0000 (02:22 -0600)]
Fix formatting differences and omissions in make.inc.*

Adds LAPACKE_WITH_TMG to make.inc.example, adds BUILD_DEPRECATED to
everything in the INSTALL dir.

Sort the variables by programs and their flags, then build options, then
library names.

7 years agoMerge pull request #114 from turboencabulator/cleanup
langou [Mon, 23 Jan 2017 10:43:08 +0000 (11:43 +0100)]
Merge pull request #114 from turboencabulator/cleanup

Assorted Makefile fixes

7 years agoAvoid rebuilding CBLAS library and examples
Kyle Guinn [Mon, 23 Jan 2017 01:39:13 +0000 (19:39 -0600)]
Avoid rebuilding CBLAS library and examples

Use targets that are actual filenames so that make can determine if the
target is already up-to-date.

Since $(CBLASLIB) is a relative path, delete it from a Makefile at the
right depth.

7 years agoConsolidate the BLAS/TESTING Makefiles
Kyle Guinn [Mon, 23 Jan 2017 00:38:38 +0000 (18:38 -0600)]
Consolidate the BLAS/TESTING Makefiles

Move the test inputs into the TESTING dir.