Commit Graph
70 Commits
Author SHA1 Message Date
Mark Gates ce817407f3 implicit none in TESTING 2025-08-26 23:27:58 -04:00
Simon Maertens 7159cfb377 Fix Intel compiler flags which contain a space 2024-06-11 15:56:46 +01:00
Simon Maertens fe5c2529fe Set minimum CMake version for INDEX64_EXT_API to 3.18 due to the need of the Fortran_PREPROCESS target property 2024-06-05 14:06:32 +02:00
Maria Kraynyuk 21299d28eb Enable Index-64 extended API only for Intel and GNU compilers
Other compilers might not fully support preprocessing
2024-02-05 10:54:15 -08:00
Maria Kraynyuk ac2c5681bc MATGEN fix -Werror=conversion problems 2024-02-05 10:28:27 -08:00
Maria Kraynyuk ba11da8301 MATGEN long lines updated by script 2024-02-05 10:28:27 -08:00
Maria Kraynyuk 19d3a4e638 Add extended API with _64 suffix to MATGEN 2024-02-05 10:28:26 -08:00
Simon Maertens 7f2f7a339e Fixed nagfor warning: 'Low-precision data-value assigned to high-precision data-object' 2022-07-01 11:44:33 +01:00
Julie e18d437924 Making LAPACK's code eternal... no more version and date in source files.
GitHub is now enabling us to track accurately version and date.
No need for this anymore.
2021-03-25 10:16:58 -07:00
langou 2e71a4f36c Merge pull request #412 from matcross/master
Protect against undefined make variables
2021-03-18 12:00:30 -06:00
Christoph Conrads df52093278 Add versioning to matrix generator library 2021-02-21 20:36:32 +00:00
Aisha Tammy 5dd47be672 create INDEX64 target 2020-11-03 17:14:48 +00:00
Serguei Patchkovskii 9db9ff8556 Updated values of TWOPI and PIOVER2 to 39 significant digits,
to prevent accuracy loss when REAL or DOUBLE PRECISION types
correspond to an extended precision real kind. These constants
should be sufficient to work with 128-bit extended-IEEE data
type.

Rebuilding the modified source using the default gfortran make.inc
(with gfortran 7.5.0) does not add any new test failures. The
only test failure, which is also present in the master baranch, is:

 ZDRGEV3: ZGGEV31 returned INFO=     7.
   N=    12, JTYPE=    16, ISEED=( 2855, 3551, 2406, 2393)

Additionally, included a sample build file for quadruple-precision
compilation using gfortran (version 4.7 or later). With this
config file, both REAL and DOUBLE PRECISION are mapped onto
a 128-bit REAL(16) type, with the corresponding change to the
COMPLEX and COMPLEX*16.

There are numerical failure 6 failures for each type, all in
*GBSVX type 6 matrix, with S/D routines losing 4 significant
digits, and C/Z routines 5 digits relative to the expected
result. I am not really qualified to debug this failure ...
2020-08-07 16:05:22 +02:00
Mat Cross 814795fb54 Protect against undefined make variables 2020-04-29 14:41:54 +01:00
julielangou 57a18b55e7 Merge pull request #340 from SimonDeRidder/master
small fixes in doc of xlatmr
2019-08-15 13:42:28 +02:00
Kyle Guinn dd2f632f2e Add PHONY targets 2019-07-27 23:07:37 -05:00
Kyle Guinn be23965929 Handle relative paths consistently
Place built libraries in $(TOPSRCDIR) and refer to their location by
using $(TOPSRCDIR).
2019-07-27 18:48:52 -05:00
Kyle Guinn 33258cb4b2 Switch to POSIX make variable names
Allows us to use the built-in suffix rules where appropriate.

  FORTRAN   -> FC            (POSIX)
  OPTS      -> FFLAGS        (POSIX)
  DRVOPTS   -> FFLAGS_DRV
  NOOPT     -> FFLAGS_NOOPT

  LOADER    -> FC            (use the compiler driver for linking)
  LOADOPTS  -> LDFLAGS       (POSIX)

  ARCH      -> AR            (POSIX)
  ARCHFLAGS -> ARFLAGS       (POSIX)
2019-07-27 18:48:52 -05:00
Simon De Ridder 25a7c94ac5 small fixes in doc of xlatmr 2019-05-10 13:53:30 +02:00
Jean-Christophe Fillion-Robin 6e26afd41d style: Fix typo in docstrings
Issues were identified using the open-source tool codespell [1]
running the following command from the source directory:

[1] https://github.com/codespell-project/codespell#readme


$ codespell -q6 \
  --skip=".git,Doxyfile,Doxyfile_man,CMakeLists.txt,Makefile" \
  --regex="\w[a-z\-\_]+" \
  --ignore-words-list="fro,ith,nd,noe,numer" \
  --summary

[...]

-------8<-------
SUMMARY:
acoording     2
agressive     8
ajust        12
arithmetics   5
comleted      2
contraints    8
equaly        4
everytime     4
febuary       1
matix         8
otherwize     4
overwrittes   4
owerflow      8
parmeter      4
permutaions  32
specturm      8
2018-11-07 03:19:51 -05:00
luz.paz 53397896bb Misc. typos
Found via `codespell -q 3`
2018-02-16 13:25:54 -05:00
Julie d97a30482e Updating Version number on files for 3.8.0 2017-11-12 20:15:12 -08:00
Nick Papior dc0e59aff5 Fixed (alot) missing external subroutines and removed "dead" variables
This commit is purely of cleaning up missing externals. Currently there
is no check on EXTERNAL's not used.

Signed-off-by: Nick Papior <nickpapior@gmail.com>
2017-11-05 07:47:18 +01:00
Julie 9f7abc2cc9 Update version in CMAKE - Fix for MATGEN generation on Windows 2017-06-17 15:46:53 -07:00
Julie 5c392680ef Preparing for 3.7.1 release
Update version number

from discussion with Vendors, they still would like to have the version
number inside the source file.
2017-06-10 16:15:09 -07:00
eugene.chereshnev 66fddb3db1 Align TESTING/{LIN,MATGEN}/*lahilb.f 2017-03-24 16:58:10 -07:00
Kyle Guinn 8fce0e24bd 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
2017-02-06 01:07:10 -06:00
Kyle Guinn a203318e67 Add libraries as prerequisites
Use the automatic variable $^ to refer to all prerequisites when
linking or creating an archive.
2017-02-04 22:47:19 -06:00
Kyle Guinn 44cd01fd33 Strip out comments that don't apply 2017-02-03 21:05:09 -06:00
Kyle Guinn c2f0429d7b 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.
2017-02-03 00:25:30 -06:00
Kyle Guinn 43fc590adf Move [sd]latm7 to the list of common files 2017-01-19 23:31:47 -06:00
Julie bc6a755be4 Updating version number on source file modified since 3.6.1
This is really old school, but a lot of times we have users sending us
copy pasting of codes, and that is the only way to know the version of
the code.
2016-12-23 15:01:32 -08:00
Julie 3f23bd5d53 merging: Various cleanups to makefiles #84
Contribution by @turboencabulator
Closing #84
2016-11-25 17:03:13 -08:00
Hans Johnson 9dafba6d41 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
=================================================
2016-07-09 11:19:34 -05:00
Hans Johnson 9c7f84bd60 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
=================================================
2016-07-09 11:19:33 -05:00
Hans Johnson f8fb0842d5 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.
2016-07-09 10:34:19 -05:00
Sébastien Villemot 40a3b2fb15 Description: Fix various typos
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: yes, by email to lapack@cs.utk.edu on 2016-06-26
2016-06-27 20:07:25 -06:00
Julie 5efe359948 Update date, version for 3.6.1 release 2016-06-18 13:26:30 -07:00
julie 21c91533ff Committing Sébastien Villemot patches (5) sent on Jan 6th 2016 to LAPACK Mailing list
From Sébastien Villemot:
I attach to this message 5 patches that are currently applied to the
Debian package for LAPACK, and that I think could be usefully merged in
the LAPACK SVN tree.

The patches include fixes for old outstanding bugs in the CBLAS test
programs, fixes for the build system, and fixes for various typos.

Each patch file contains a more detailed description of its purpose.
2016-01-08 03:07:42 +00:00
julie 50d40d7852 Updating version number 2015-11-15 20:33:40 +00:00
langou ddac61b7d5 (minor) Consistency of comments between the four precisions. 2015-06-25 13:20:58 +00:00
julie c58276f126 Finish removing unnecessary code - TMP = DBLE(M) - see 1547 - Thank you Elena 2015-06-25 05:09:58 +00:00
langou b5dddc3009 Typo in the comments of [S,C,D,Z]LATM1.
The matrix D needs to be of size N.
2015-06-19 02:59:06 +00:00
langou c1eeefa972 These are two fixes in [S,C,D,Z]-LAGGE.
(1) The routine was writing ZEROs out of bound in some specific cases. This is
corrected. Thanks to Yi Meng (CU Denver) for finding the bug.

(2) Quick exit when KL=KU=0 in this case, the user wants a diagonal matrix,
there is probably no reason to call this routine if one simply wants a diagonal
matrix, but that said we still ought to return a correct answer. A quick exit
makes the trick. The routine was not working otherwise.
2015-06-19 02:56:27 +00:00
langou 6f1cef6f81 IDIST is an INTEGER, change the comment 2015-06-10 21:41:42 +00:00
langou 5277dad956 remove the COMPLEX*16 TMP from DLAHILB
this has nothing to do here, probably a bad copy-paste from Z to D
2015-06-10 17:30:19 +00:00
langou 81a0ecfe83 typos in the comment 2015-06-08 14:31:13 +00:00
julie a65e481c60 2012-09-25 23:56:27 +00:00
julie 4870b29da5 2012-08-29 16:08:30 +00:00
julie f6b3a42a1d Commit patch sent by Sébastien Fabbro to enable LAPACKE built without LAPACK.
The patch has been modified a little by Julie as there were some minors problems.
This also fix the BUILD_TESTING=OFF option problem reported by Marcin on lapack mailing list.

From Sébastien:
Here is a patch to compile lapacke with CMake using an already
existing optimized lapack library instead of forcing the build of the
included one in the tar ball. It applies to the latest lapack svn
trunk.
2012-04-26 13:22:53 +00:00