platform/upstream/lapack.git
8 years agoUpdate cheevr.f
OAM [Sat, 22 Oct 2016 18:59:23 +0000 (11:59 -0700)]
Update cheevr.f

8 years agoMerge pull request #72 from mgates3/larcm
langou [Mon, 17 Oct 2016 19:00:46 +0000 (21:00 +0200)]
Merge pull request #72 from mgates3/larcm

Add [out] in docs

8 years agoAdd explicit "On entry/exit" in docs
Mark Gates [Mon, 17 Oct 2016 18:28:40 +0000 (14:28 -0400)]
Add explicit "On entry/exit" in docs

8 years agoE is output since its contents are modified (destroyed)
Mark Gates [Mon, 17 Oct 2016 18:20:30 +0000 (14:20 -0400)]
E is output since its contents are modified (destroyed)

8 years agoE is output since its contents are modified (destroyed)
Mark Gates [Mon, 17 Oct 2016 17:22:02 +0000 (13:22 -0400)]
E is output since its contents are modified (destroyed)

8 years agoC is output
Mark Gates [Mon, 17 Oct 2016 17:04:19 +0000 (13:04 -0400)]
C is output

8 years agoMerge pull request #64 from cconrads-scicomp/xORCSD2BY1-doc
julielangou [Tue, 11 Oct 2016 23:42:42 +0000 (16:42 -0700)]
Merge pull request #64 from cconrads-scicomp/xORCSD2BY1-doc

Doc: describe 2-by-1 CSD identity matrix dimension
Close #27

8 years agoMerge pull request #62 from cconrads-scicomp/doc-fixes
julielangou [Tue, 11 Oct 2016 23:39:30 +0000 (16:39 -0700)]
Merge pull request #62 from cconrads-scicomp/doc-fixes

Doc fixes for xGEEQUB, xGBEQUB, and xPOEQUB

8 years agoMerge pull request #61 from cconrads-scicomp/improve-xSYEQUB
julielangou [Tue, 11 Oct 2016 23:37:29 +0000 (16:37 -0700)]
Merge pull request #61 from cconrads-scicomp/improve-xSYEQUB

Improve xSYEQUB/xHEEQUB

8 years agoAdding Assen for SV, TRF, SV from @iyamazak@icl.utk.edu
Julie [Sun, 9 Oct 2016 17:07:56 +0000 (10:07 -0700)]
Adding Assen for SV, TRF, SV from @iyamazak@icl.utk.edu

Contribution by Ichitaro Yamazaki, University of Tennessee

Note: need to add corresponding LAPACKE routines

8 years agoDoc: describe 2-by-1 CSD identity matrix dimension
Christoph Conrads [Sat, 1 Oct 2016 13:14:59 +0000 (15:14 +0200)]
Doc: describe 2-by-1 CSD identity matrix dimension

8 years agoDoc: fix typos in the xGBEQUB description
Christoph Conrads [Mon, 26 Sep 2016 12:57:45 +0000 (14:57 +0200)]
Doc: fix typos in the xGBEQUB description

8 years agoDoc: improve xPOEQUB description
Christoph Conrads [Wed, 21 Sep 2016 14:57:56 +0000 (16:57 +0200)]
Doc: improve xPOEQUB description

- highlight difference to xPOEQU
- replace "symmetric" with "Hermitian" for {c,z}POEQUB

8 years agoDoc: fix typos in the xGEEQUB description
Christoph Conrads [Wed, 21 Sep 2016 14:11:01 +0000 (16:11 +0200)]
Doc: fix typos in the xGEEQUB description

8 years agoRevert "Doc: highlight what xPOEQUB actually does"
Christoph Conrads [Wed, 21 Sep 2016 14:08:23 +0000 (16:08 +0200)]
Revert "Doc: highlight what xPOEQUB actually does"

This reverts commit 3c66ad2c7d6e2e73e369dbd919bba259b42e2f6d.

8 years agoDoc: highlight what xPOEQUB actually does
Christoph Conrads [Tue, 20 Sep 2016 15:04:42 +0000 (17:04 +0200)]
Doc: highlight what xPOEQUB actually does

Replace the function description taken from xPOEQU, highlight that
scaling factors computed by xPOEQUB do not introduce round-off errors,
and fix the function name in the description.

8 years agoReduce workspace size of xSYEQUB, xHEEQUB
Christoph Conrads [Tue, 20 Sep 2016 14:01:08 +0000 (16:01 +0200)]
Reduce workspace size of xSYEQUB, xHEEQUB

- give correct minimum workspace size in the parameter description
- {s,d}SYEQUB, xHEEQUB: use WORK(N+1:2*N) instead of WORK(2N+1:3*N)

8 years agoFix xSYEQUB, xHEEQUB formatting
Christoph Conrads [Tue, 20 Sep 2016 12:09:21 +0000 (14:09 +0200)]
Fix xSYEQUB, xHEEQUB formatting

- use standard 7 + 3n indentation
- use scientific notation for real values
- fix spaces around brackets

8 years agoRemove dead assignments in xSYEQUB, xHEEQUB
Christoph Conrads [Mon, 19 Sep 2016 14:33:56 +0000 (16:33 +0200)]
Remove dead assignments in xSYEQUB, xHEEQUB

8 years agoMerge pull request #55 from cconrads-scicomp/master
langou [Thu, 29 Sep 2016 11:17:38 +0000 (13:17 +0200)]
Merge pull request #55 from cconrads-scicomp/master

Doc: fix xyyEQUB documentation

8 years agoMerge pull request #60 from vladimir-ch/fix-lapacke-dlarfb
langou [Thu, 29 Sep 2016 11:14:57 +0000 (13:14 +0200)]
Merge pull request #60 from vladimir-ch/fix-lapacke-dlarfb

LAPACKE: fix wrong direction in LAPACKE_?larfb_work

8 years agoLAPACKE: fix wrong direction in LAPACKE_?larfb_work
Vladimir Chalupecky [Thu, 29 Sep 2016 08:44:16 +0000 (17:44 +0900)]
LAPACKE: fix wrong direction in LAPACKE_?larfb_work

8 years agoMerge pull request #54 from zerothi/test-fail
langou [Mon, 19 Sep 2016 06:08:56 +0000 (08:08 +0200)]
Merge pull request #54 from zerothi/test-fail

bug: fixes always failing tests for *TREXC which was erroneous tests

8 years agotest: added N<0 test for *TREXC
Nick Papior [Sun, 18 Sep 2016 18:11:41 +0000 (20:11 +0200)]
test: added N<0 test for *TREXC

Per the previous commit and Julien, this commit came.

Also added documentation of how arguments are tracked in case N==0.

Signed-off-by: Nick Papior <nickpapior@gmail.com>
8 years agoDoc: fix xyyEQUB documentation
Christoph Conrads [Sun, 18 Sep 2016 17:22:25 +0000 (19:22 +0200)]
Doc: fix xyyEQUB documentation

- fix description of purpose, parameters
- cite the paper "Scaling by Binormalization"

8 years agobug: fixes always failing tests for *TREXC which was erroneous tests
Nick Papior [Sun, 18 Sep 2016 13:21:11 +0000 (15:21 +0200)]
bug: fixes always failing tests for *TREXC which was erroneous tests

There where checks for *TREXC for the argument of N = 0 with a return value
of -7. However, the documentation of the *TREXC routines specify that
N = 0 is a valid argument with instant return.

Hence the checks have been removed and the quick returns established in the
affected routines.

Also comments for [dz]errec.f files are fixed.

Signed-off-by: Nick Papior <nickpapior@gmail.com>
8 years agoMerge pull request #53 from zerothi/test-unused
langou [Sun, 18 Sep 2016 13:11:15 +0000 (15:11 +0200)]
Merge pull request #53 from zerothi/test-unused

maint: removed unused variables in testing routines

8 years agomaint: removed unused variables in testing routines
Nick Papior [Sun, 18 Sep 2016 12:42:59 +0000 (14:42 +0200)]
maint: removed unused variables in testing routines

Several routines had unused variables

Signed-off-by: Nick Papior <nickpapior@gmail.com>
8 years agoMerge pull request #51 from vladimir-ch/doc-trevc
langou [Fri, 16 Sep 2016 07:05:33 +0000 (09:05 +0200)]
Merge pull request #51 from vladimir-ch/doc-trevc

?TREVC?: fix definition of left eigenvectors in docs

8 years ago?TREVC?: fix definition of left eigenvectors in docs
Vladimir Chalupecky [Fri, 16 Sep 2016 05:55:51 +0000 (14:55 +0900)]
?TREVC?: fix definition of left eigenvectors in docs

8 years agoFix #35 reported by @brandimarte
Julie [Fri, 16 Sep 2016 05:48:20 +0000 (22:48 -0700)]
Fix #35 reported by @brandimarte

8 years agoFix issue #8 reported by @matzeri on July 21st 2016
Julie [Fri, 16 Sep 2016 05:07:11 +0000 (22:07 -0700)]
Fix issue #8 reported by @matzeri on July 21st 2016

Issue was due to missing Doxygen group, and other Doxygen Group related
issue

8 years agoMerge pull request #50 from zerothi/unused
langou [Thu, 15 Sep 2016 20:05:38 +0000 (22:05 +0200)]
Merge pull request #50 from zerothi/unused

maint: removed unused variables

8 years agomaint: removed unused variables
Nick Papior [Thu, 15 Sep 2016 19:49:59 +0000 (21:49 +0200)]
maint: removed unused variables

Signed-off-by: Nick Papior <nickpapior@gmail.com>
8 years agoTypos in comments in /SRC/cbbcsd.f (github issue #49)
Elena Ivanova [Wed, 14 Sep 2016 06:42:18 +0000 (08:42 +0200)]
Typos in comments in /SRC/cbbcsd.f (github issue #49)

See: https://github.com/Reference-LAPACK/lapack/issues/49

8 years agoMistake in the comments to CTREVC3 / ZTREVC3 (github issue #48)
Elena Ivanova [Mon, 12 Sep 2016 18:45:35 +0000 (20:45 +0200)]
Mistake in the comments to CTREVC3 / ZTREVC3 (github issue #48)

See: https://github.com/Reference-LAPACK/lapack/issues/48

8 years agoUnused var JDUM described in ./TESTING/EIG/serrgg.f
Elena Ivanova [Wed, 7 Sep 2016 15:03:43 +0000 (17:03 +0200)]
Unused var JDUM described in ./TESTING/EIG/serrgg.f

See: https://github.com/Reference-LAPACK/lapack/issues/46
Thanks Elena.
Note: The other three precisions do not have the issue.

8 years agoMerge pull request #39 from antonio-rojas/master
langou [Mon, 5 Sep 2016 09:27:00 +0000 (11:27 +0200)]
Merge pull request #39 from antonio-rojas/master

Fix cblas and lapacke pkgconfig files

8 years agoMerge pull request #45 from jschueller/testing
langou [Mon, 5 Sep 2016 09:18:04 +0000 (11:18 +0200)]
Merge pull request #45 from jschueller/testing

Testing

8 years agoAdd the flag `-assume protect_parens` for the Intel Fortran compiler
Julien Langou [Mon, 5 Sep 2016 07:22:36 +0000 (09:22 +0200)]
Add the flag `-assume protect_parens` for the Intel Fortran compiler

Suggestion from J. Kay Dewhurst, Max Planck Institute of Microstructure Physics
See: https://github.com/Reference-LAPACK/lapack/issues/43

8 years agoMerge pull request #40 from zerothi/master
langou [Fri, 2 Sep 2016 06:50:53 +0000 (08:50 +0200)]
Merge pull request #40 from zerothi/master

External definitions not called

8 years agodoc: a missing P in dgeqr2p documention
Nick Papior [Thu, 1 Sep 2016 20:01:40 +0000 (22:01 +0200)]
doc: a missing P in dgeqr2p documention

Signed-off-by: Nick Papior <nickpapior@gmail.com>
8 years agobug: external definitions not called, removed
Nick Papior [Thu, 1 Sep 2016 20:01:13 +0000 (22:01 +0200)]
bug: external definitions not called, removed

A couple of routines where defining external routines,
but they where never called. These have been removed

Signed-off-by: Nick Papior <nickpapior@gmail.com>
8 years agoUpdate lapacke.pc.in
Antonio Rojas [Thu, 1 Sep 2016 17:20:45 +0000 (19:20 +0200)]
Update lapacke.pc.in

8 years agoUpdate cblas.pc.in
Antonio Rojas [Thu, 1 Sep 2016 17:19:23 +0000 (19:19 +0200)]
Update cblas.pc.in

8 years agoMerge pull request #36 from eugenechereshnev/fix-trevc3-bug
langou [Mon, 29 Aug 2016 06:58:14 +0000 (08:58 +0200)]
Merge pull request #36 from eugenechereshnev/fix-trevc3-bug

Fix incorrect call to GEMM in ctrevc3.f and ztrevc3.f: alpha should have complex type

8 years agoFix incorrect call to GEMM in ctrevc3.f and ztrevc3.f: alpha should have complex...
Eugene Chereshnev [Mon, 29 Aug 2016 06:31:18 +0000 (13:31 +0700)]
Fix incorrect call to GEMM in ctrevc3.f and ztrevc3.f: alpha should have complex type

8 years agoFix global options definition
Julien Schueller [Tue, 23 Aug 2016 14:40:04 +0000 (16:40 +0200)]
Fix global options definition

8 years agoEnable CBLAS tests in Travis
Julien Schueller [Tue, 23 Aug 2016 14:39:03 +0000 (16:39 +0200)]
Enable CBLAS tests in Travis

8 years agoFix CBLAS testing
Julien Schueller [Tue, 23 Aug 2016 14:38:38 +0000 (16:38 +0200)]
Fix CBLAS testing

8 years agoMerge pull request #33 from vladimir-ch/fix-doc-laqr2
julielangou [Thu, 11 Aug 2016 02:20:55 +0000 (19:20 -0700)]
Merge pull request #33 from vladimir-ch/fix-doc-laqr2

?LAQR2: fix documentation about updated block of Z

8 years agoMerge pull request #31 from vladimir-ch/lapacke-trexc-ldq-check
langou [Fri, 5 Aug 2016 03:16:24 +0000 (21:16 -0600)]
Merge pull request #31 from vladimir-ch/lapacke-trexc-ldq-check

LAPACKE_?trexc_work: check ldq conditionally on compq

8 years agoLAPACKE_?trexc_work: check ldq conditionally on compq
Vladimir Chalupecky [Fri, 5 Aug 2016 02:23:35 +0000 (11:23 +0900)]
LAPACKE_?trexc_work: check ldq conditionally on compq

8 years ago?LAQR2: fix documentation about updated block of Z
Vladimir Chalupecky [Thu, 4 Aug 2016 08:52:18 +0000 (17:52 +0900)]
?LAQR2: fix documentation about updated block of Z

8 years agoMerge pull request #28 from vladimir-ch/fix-trexc-n0
langou [Thu, 4 Aug 2016 01:44:19 +0000 (19:44 -0600)]
Merge pull request #28 from vladimir-ch/fix-trexc-n0

?TREXC: fix range checks for IFST and ILST

8 years ago?TREXC: fix range checks for IFST and ILST
Vladimir Chalupecky [Thu, 4 Aug 2016 01:10:46 +0000 (10:10 +0900)]
?TREXC: fix range checks for IFST and ILST

8 years agoMerge pull request #24 from vladimir-ch/master
julielangou [Tue, 2 Aug 2016 04:28:12 +0000 (21:28 -0700)]
Merge pull request #24 from vladimir-ch/master

?TREXC: fix documentation for LDQ parameter

8 years agoMerge pull request #21 from hjmjohnson/AddLAPACKETMGTesting
julielangou [Tue, 2 Aug 2016 04:25:06 +0000 (21:25 -0700)]
Merge pull request #21 from hjmjohnson/AddLAPACKETMGTesting

ENH: Add LAPACKE_WITH_TMG to default testing

8 years agoMerge pull request #20 from hjmjohnson/FixNightlyTests
julielangou [Tue, 2 Aug 2016 04:24:57 +0000 (21:24 -0700)]
Merge pull request #20 from hjmjohnson/FixNightlyTests

Fix nightly tests

8 years ago?TREXC: fix documentation for LDQ parameter
Vladimir Chalupecky [Mon, 1 Aug 2016 08:18:05 +0000 (17:18 +0900)]
?TREXC: fix documentation for LDQ parameter

8 years agoENH: Add LAPACKE_WITH_TMG to default testing
Hans Johnson [Fri, 29 Jul 2016 12:19:18 +0000 (07:19 -0500)]
ENH: Add LAPACKE_WITH_TMG to default testing

In order to maximize code testing options, turn
LAPACKE_WITH_TMG=ON for travis builds.

8 years agoCOMP: Ignore nfs future file modification warning
Hans Johnson [Fri, 29 Jul 2016 11:14:21 +0000 (06:14 -0500)]
COMP: Ignore nfs future file modification warning

Many NFS mount points are slightly out of sync with
the build computer.  This cuases warnings that are
not related to the actual codebase.

8 years agoENH: Only run python summary tests with compatible versions
Hans Johnson [Fri, 29 Jul 2016 11:06:50 +0000 (06:06 -0500)]
ENH: Only run python summary tests with compatible versions

The summary tests python script requires features that are
only available in python 2.7 and greater.  If the python
version is insufficient, simply disable the summary tests.

This was identified on a nightly dashboard build zoot.icl.utk.edu
where the python version found is 2.4.

8 years agoMerge pull request #19 from hjmjohnson/ImproveTravisNaming
julielangou [Fri, 29 Jul 2016 04:32:05 +0000 (21:32 -0700)]
Merge pull request #19 from hjmjohnson/ImproveTravisNaming

Improve travis naming

8 years agoMerge pull request #15 from hjmjohnson/PreventBadBuildConfigs
julielangou [Fri, 29 Jul 2016 04:31:03 +0000 (21:31 -0700)]
Merge pull request #15 from hjmjohnson/PreventBadBuildConfigs

Prevent bad build configs

8 years agoENH: Improving the travis dashboard name
Hans Johnson [Thu, 28 Jul 2016 15:47:30 +0000 (10:47 -0500)]
ENH: Improving the travis dashboard name

When submitting to the dashboard, it is nice to have
the patch set name included.

Thanks to:
http://graysonkoonce.com/getting-the-current-branch-name-during-a-pull-request-in-travis-ci/

8 years agoCOMP: Prevent insource builds and inbuild installs
Hans Johnson [Wed, 27 Jul 2016 12:53:36 +0000 (07:53 -0500)]
COMP: Prevent insource builds and inbuild installs

With cmake is best to require out-of-source builds,
and to avoid intalling into the same directory as the
build was performed.

Both of these situations can cause very confusing situations
that can frustrate new users of the software package, so
check for and provide guidance to the end-users.

These files were initially contributed to the ITK
(www.itk.org) project and have been widely re-used
by many other projects.

NOTE: This patch is dependant on pull request #16

8 years agoENH: Fix travis build pathing
Hans Johnson [Wed, 27 Jul 2016 13:56:45 +0000 (08:56 -0500)]
ENH: Fix travis build pathing

The travis builds were attempting to be done
inside the source tree.  This is generally considered
bad form since it is possible for dynamically created
files to overwrite static files, and because the
files manages by git should not be confouded with
build files.

8 years agoCOMP: Let travis CI builds submit to the dashboard
Hans Johnson [Wed, 27 Jul 2016 13:11:38 +0000 (08:11 -0500)]
COMP: Let travis CI builds submit to the dashboard

The my.cdash.org build reporting site can accept
build reports from the travis build environment.

These reports can assist with identifying problems
with a given pull request.

8 years agoMerge pull request #13 from hjmjohnson/DefaultToRelease
julielangou [Thu, 28 Jul 2016 04:54:16 +0000 (21:54 -0700)]
Merge pull request #13 from hjmjohnson/DefaultToRelease

ENH: Set default build type to "Release"

8 years agoMerge pull request #12 from hjmjohnson/MoveToGit
julielangou [Thu, 28 Jul 2016 04:53:52 +0000 (21:53 -0700)]
Merge pull request #12 from hjmjohnson/MoveToGit

Move to git

8 years agoENH: Update default ctest configuration options
Hans Johnson [Wed, 27 Jul 2016 12:37:46 +0000 (07:37 -0500)]
ENH: Update default ctest configuration options

Testing should be done with Release build configuration
Testing should be done with CBLAS option turned on

8 years agoCOMP: Move to git for cdash testing
Hans Johnson [Wed, 27 Jul 2016 12:22:19 +0000 (07:22 -0500)]
COMP: Move to git for cdash testing

This commit resolves #11 by providing ctest script
that pulls from github for running the nightly dashboards
that are displayed at

http://my.cdash.org/index.php?project=LAPACK

8 years agoENH: Set default build type to "Release"
Hans Johnson [Wed, 27 Jul 2016 12:44:13 +0000 (07:44 -0500)]
ENH: Set default build type to "Release"

One of the most common reasons for using lapack & blas is to
provide efficient computations.

In my experience of working with newcomers to software bulding, I
find that their first experience (and often their first year of
experience) is with the most default build possible.  It is
very common that the first impressions of the software are based on whatever is
produced by "mkdir –p PKG-build; cmake ../PKG; make".

This proposal aims to improve initial impressions of the package by making the
defaults such that the "mkdir –p PKG-build; cmake ../PKG; make" builds
PKG in "Release" mode.

Rational for Release:  It has more support in differnt IDE's by default.
As a default it should be the supportive of those with little or no
software development experience.  Those developers who need debugging
information will likely have the experience needed to know how to change
from the default.  Developers should be smart enough to build
with Debug, but the typical new user is often not educated enough to
change to Release.

8 years agoMerge pull request #9 from vladimir-ch/master
langou [Wed, 27 Jul 2016 04:10:29 +0000 (22:10 -0600)]
Merge pull request #9 from vladimir-ch/master

?LALN2: fix doc for the D2 parameter

8 years ago?LALN2: fix doc for the D2 parameter
Vladimir Chalupecky [Wed, 27 Jul 2016 01:45:11 +0000 (10:45 +0900)]
?LALN2: fix doc for the D2 parameter

8 years agoMaking FORTRAN compilers happy. Replacing STEMP by STEMP(1) in some subroutine
Julien Langou [Mon, 11 Jul 2016 15:15:44 +0000 (09:15 -0600)]
Making FORTRAN compilers happy. Replacing STEMP by STEMP(1) in some subroutine
calls.  Reported by Hans Johnson. Thanks Hans.  Julien.

8 years agoMerge branch 'hjmjohnson-FixInstalledPathingWithLib64'
Julien Langou [Mon, 11 Jul 2016 15:04:31 +0000 (09:04 -0600)]
Merge branch 'hjmjohnson-FixInstalledPathingWithLib64'

Pull request by Hans Johson.  Change some of the relative paths (`lib`) to
absolute paths (`${LIBRARY_DIR}`) in CMAKE.

Merge branch 'hjmjohnson-FixInstalledPathingWithLib64'

8 years agoMerge branch 'FixInstalledPathingWithLib64' of https://github.com/hjmjohnson/lapack...
Julien Langou [Mon, 11 Jul 2016 14:53:53 +0000 (08:53 -0600)]
Merge branch 'FixInstalledPathingWithLib64' of https://github.com/hjmjohnson/lapack into hjmjohnson-FixInstalledPathingWithLib64

8 years agoPull request from Hans Johnson. Move command directives from upper case to
Julien Langou [Mon, 11 Jul 2016 14:48:21 +0000 (08:48 -0600)]
Pull request from Hans Johnson. Move command directives from upper case to
lower case.  Remove replications of conditionals in the "else" "end" parts of
code blocks.

Merge branch 'hjmjohnson-UpdateCMakeSyntax'

8 years agoRemove CMake-language block-end command arguments
Hans Johnson [Sun, 10 Jul 2016 19:38:44 +0000 (14:38 -0500)]
Remove CMake-language block-end command arguments

Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the
block.  This is no longer the preferred style.

NOTE: MUST USE GNU compliant version of sed
Run the following shell code:

for c in else endif endforeach endfunction endmacro endwhile; do
    echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
done >convert.sed \
&& git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \
   | xargs -0 gsed -i -f convert.sed \
&& rm convert.sed

8 years agoSTYLE: Convert CMake-language commands to lower case
Hans Johnson [Sun, 10 Jul 2016 19:37:43 +0000 (14:37 -0500)]
STYLE: Convert CMake-language commands to lower case

Ancient CMake versions required upper-case commands.  Later command
names became case-insensitive.  Now the preferred style is lower-case.

Run the following shell code:
NOTE: MUST USE GNU compliant version of sed

cmake --help-command-list \
| grep -v "cmake version" \
| while read c; do
    echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
  done >convert.sed \
&& git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \
   | xargs -0 gsed -i -f convert.sed \
&& rm convert.sed

8 years agoMerge pull request #5 from hjmjohnson/RemoveEndOfLineSpaces
julielangou [Sun, 10 Jul 2016 15:59:56 +0000 (08:59 -0700)]
Merge pull request #5 from hjmjohnson/RemoveEndOfLineSpaces

Remove end of line spaces

8 years agoSTYLE: Remove trailing whitespace in Fortran files
Hans Johnson [Sat, 9 Jul 2016 16:16:07 +0000 (11:16 -0500)]
STYLE: Remove trailing whitespace in Fortran files

This is mostly a long term maintenance improvement.

Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.

By removing whitespace on one patch, it makes future
code reviews much easier.

=SCRIPT====================================================================

if which tempfile &>/dev/null; then
  TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
  TEMPMAKER=mktemp
else
  echo "Cannot find tempfile program." 2>&1
  exit 1
fi

MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM

stripit() {
  echo "stripping $1"
  sed 's/[ \t]*$//' "$1" > $MYTEMP
  cp $MYTEMP "$1"
}

if [ $# -gt 0 ]; then
  while [ "$1" != "" ]; do
    stripit $1
    shift
  done
else
  while read -t 2; do
    stripit $REPLY
  done
fi

rm $MYTEMP
=================================================

8 years agoSTYLE: Remove trailing whitespace in MISC files
Hans Johnson [Sat, 9 Jul 2016 16:18:08 +0000 (11:18 -0500)]
STYLE: Remove trailing whitespace in MISC files

This is mostly a long term maintenance improvement.

Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.

By removing whitespace on one patch, it makes future
code reviews much easier.

=SCRIPT====================================================================

if which tempfile &>/dev/null; then
  TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
  TEMPMAKER=mktemp
else
  echo "Cannot find tempfile program." 2>&1
  exit 1
fi

MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM

stripit() {
  echo "stripping $1"
  sed 's/[ \t]*$//' "$1" > $MYTEMP
  cp $MYTEMP "$1"
}

if [ $# -gt 0 ]; then
  while [ "$1" != "" ]; do
    stripit $1
    shift
  done
else
  while read -t 2; do
    stripit $REPLY
  done
fi

rm $MYTEMP
=================================================

8 years agoSTYLE: Remove trailing whitespace in C files
Hans Johnson [Sat, 9 Jul 2016 15:53:01 +0000 (10:53 -0500)]
STYLE: Remove trailing whitespace in C files

This is mostly a long term maintenance improvement.

Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.

By removing whitespace on one patch, it makes future
code reviews much easier.

=SCRIPT====================================================================

if which tempfile &>/dev/null; then
  TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
  TEMPMAKER=mktemp
else
  echo "Cannot find tempfile program." 2>&1
  exit 1
fi

MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM

stripit() {
  echo "stripping $1"
  sed 's/[ \t]*$//' "$1" > $MYTEMP
  cp $MYTEMP "$1"
}

if [ $# -gt 0 ]; then
  while [ "$1" != "" ]; do
    stripit $1
    shift
  done
else
  while read -t 2; do
    stripit $REPLY
  done
fi

rm $MYTEMP
=================================================

8 years agoSTYLE: Remove trailing whitespace in CMake files
Hans Johnson [Sat, 9 Jul 2016 15:34:19 +0000 (10:34 -0500)]
STYLE: Remove trailing whitespace in CMake files

This is mostly a long term maintenance improvement.

Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.

By removing whitespace on one patch, it makes future
code reviews much easier.

8 years agoBUG: path failure for find_package config files
Hans Johnson [Sat, 9 Jul 2016 15:03:14 +0000 (10:03 -0500)]
BUG: path failure for find_package config files

CMake Error at src/lapack-install/lib64/cmake/lapacke-3.6.1/lapacke-config.cmake:13 (include):
  include could not find load file:

    src/lapack-install/lib64/cmake/lapacke-3.6.1/lapacke-targets.cmake
Call Stack (most recent call first):
  CMakeLists.txt:26 (find_package)

-- src/lapack-install/lib64/cmake/lapacke-3.6.1
-- Configuring incomplete, errors occurred!
See also "src/lapackTest-bld/CMakeFiles/CMakeOutput.log".

The file was installed in:
    src/lapack-install/lib/cmake/lapacke-3.6.1/lapacke-targets.cmake
                          ^^ - Missing lib suffix of 64

8 years agoMerge pull request #3 from hjmjohnson/FixFindPackgePaths
julielangou [Wed, 6 Jul 2016 00:55:14 +0000 (17:55 -0700)]
Merge pull request #3 from hjmjohnson/FixFindPackgePaths

BUG: Fix pathing to include files

8 years agoMerge pull request #2 from hjmjohnson/ImproveCMakeBuilding
julielangou [Wed, 6 Jul 2016 00:48:26 +0000 (17:48 -0700)]
Merge pull request #2 from hjmjohnson/ImproveCMakeBuilding

Improve c make building

8 years agoCOMP: Improve introspection and header configuration
Hans Johnson [Mon, 4 Jul 2016 23:09:00 +0000 (18:09 -0500)]
COMP: Improve introspection and header configuration

Use CMake capabilities to test if the specified fortran
and C compilers are compatible.  Fail early if they are
determined to be incompatible.

Use CMake capabilities to generate platform specific
header files, If CMake FortranCInterface_HEADER function
fails to identify FortranCInterface_GLOBAL_FOUND or
FortranCInterface_MODULE_FOUND, then fall back to the
statically generated file that is used by Makefiles.

8 years agoBUG: Fix pathing to include files
Hans Johnson [Tue, 5 Jul 2016 20:19:42 +0000 (15:19 -0500)]
BUG: Fix pathing to include files

During building of external packages, only the build tree or install
tree files should be used (the source tree may not be available from
the binary package).  Set to use the build tree locations for the
configuration files.

8 years agoSTYLE: Change source template files to .in extension
Hans Johnson [Mon, 4 Jul 2016 22:35:05 +0000 (17:35 -0500)]
STYLE: Change source template files to .in extension

The cblas_mangling_with_flags.h and lapacke_mangling_with_flags.h
are template files that are not used directly.  They need to be
configured (i.e. copied) to lapacke_mangling.h and cblas_mangling.h
header files that are used.  These renamings make the intent of
these files more clearly reported.

The file LAPACKE/include/lapacke_mangling.h should not be stored in the
repository because it should be generated (copied from above) at build
time.

8 years agoDescription: Fix various typos
Sébastien Villemot [Tue, 28 Jun 2016 02:07:25 +0000 (20:07 -0600)]
Description: Fix various typos
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: yes, by email to lapack@cs.utk.edu on 2016-06-26

8 years agoUpdate date, version for 3.6.1 release
Julie [Sat, 18 Jun 2016 20:26:30 +0000 (13:26 -0700)]
Update date, version for 3.6.1 release

8 years agoAdding *trevc3 routines to CMakefile.txt file + fix lapacke.h
Julie [Sat, 18 Jun 2016 18:59:54 +0000 (11:59 -0700)]
Adding *trevc3 routines to CMakefile.txt file + fix lapacke.h

8 years agoFix *syswapr definition
Julie [Sat, 18 Jun 2016 18:31:54 +0000 (11:31 -0700)]
Fix *syswapr definition

From compiler warning.

8 years agoPatch from Tim Hopkins sent by email on March 14th, 2016
Tim Hopkins, University of Kent [Fri, 17 Jun 2016 21:10:39 +0000 (17:10 -0400)]
Patch from Tim Hopkins sent by email on March 14th, 2016
(merge from Julien on June 17th, 2016)

8 years agoSLASD1 and DLASD1: IDXQ should be [in,out]
Julie [Thu, 16 Jun 2016 05:16:35 +0000 (22:16 -0700)]
SLASD1 and DLASD1: IDXQ should be [in,out]

Reported by Eugene Chereshnev on April 4th 2016
See:
http://icl.cs.utk.edu/lapack-forum/posting.php?mode=reply&f=13&t=4941

8 years agoZGEJSV: coding style unification - DOUBLE COMPLEX
Julie [Thu, 16 Jun 2016 05:12:52 +0000 (22:12 -0700)]
ZGEJSV: coding style unification - DOUBLE COMPLEX

Reported by Eugene Chereshnev on April 4th 2016
See:
http://icl.cs.utk.edu/lapack-forum/posting.php?mode=reply&f=13&t=4943