Commit Graph
41 Commits
Author SHA1 Message Date
Angelika Schwarz 26df4b3599 Improve testing of NRM2
Add tests covering arrays with extreme numbers provided in
Anderson E. (2017)
Algorithm 978: Safe Scaling in the Level 1 BLAS
ACM Trans Math Softw 44:1--28
https://doi.org/10.1145/3061665

[D,S]NRM2 coverage improves
lines     59.1% -> 100.0%
branches  30.0% ->  90.0%.

[DZ,SC]NRM2 coverage improves
lines     67.0% -> 100.0%
branches  41.7% ->  91.7%
2023-11-12 07:44:37 +01:00
Mat Cross 6c876d4a5c Regression test for illegal modification of Y in CGEMV, SGEMV and ZGEMV observed with Apple vecLib on SGEMV and DGEMV. 2021-09-19 13:58:52 +01:00
Mat Cross 6d10d14731 Regression test for illegal modification of Y in DGEMV observed with Apple vecLib. 2021-09-19 12:24:23 +01:00
Igor Zhuravlov f93833ea2a comments unified: EOLs at EOF 2021-04-06 18:07:24 -03:00
Igor Zhuravlov b7eb1941ff comments unified: 'End of' comment: added where omitted 2021-04-06 18:07:24 -03:00
Igor Zhuravlov 5f58f3cae6 comments unified: 'End of' comment: trash removed at the end of line 2021-04-06 18:07:14 -03: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
Aisha Tammy 5dd47be672 create INDEX64 target 2020-11-03 17:14:48 +00:00
Mat Cross c940e4d202 Just run zero-increment copy tests once, and with INCX/INCY explicitly set to aid tracing. 2020-03-30 13:34:27 +01:00
Mat Cross d107356bff Stripped trailing whitespace. 2020-03-25 10:02:51 +00:00
Mat Cross 0ba87d645e Added test of I?AMAX when there are multiple maxima. 2020-03-25 09:56:47 +00:00
Mat Cross 8dace582fb Added test of I*AMAX when the input vector is constant.
Added test of *COPY when the source and target have increment 0.
2020-03-18 11:55:32 +00: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
luzpaz 3fac41ca28 Fix misc. typos
Mostly trivial source code comments.
2017-12-01 06:55:48 -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
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 bf47acfddc Consolidate the BLAS/TESTING Makefiles
Move the test inputs into the TESTING dir.
2017-01-22 18:38:38 -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 5333ddd9dc 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
2016-07-10 14:38:48 -05: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
julie 54a506304c Applied patch provided from vitaut on LAPACK forum on June 13th.
The patch fixes the warnings (Policy CMP0026) by replacing the deprecated LOCATION target
property with the generator expression $<TARGET_FILE>

See http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=13&t=4556&p=10939#p10939
2014-06-14 17:04:05 +00:00
julie f0b200da5b Update version number 2012-04-13 18:22:32 +00:00
julie 55d43f3c3c Remove unused parameters 2012-04-11 19:43:59 +00:00
james 5906b88423 Fixed problem with optimizer breaking error checking, now using F90 EPSILON intrinsic.
Thanks to Harald Anlauf for providing the solution.
2012-01-20 15:12:13 +00:00
james a880822a50 replaced calculation of EPS with F90 call to EPSILON intrinsic 2012-01-20 03:06:12 +00:00
julie 4029478e7b Correct some more new lines in program - Thanks Igor for finding out the problem 2011-11-23 18:10:47 +00:00
julie 1c3ba60067 Cosmetic changes in Doxygen presentation.
Use \par instead of \details for section.

add a Contributors Section and a Reference Section.
Remove (some) verbatim section when not needed.
Those changes have been done by hand so I am not sure I manage to catch them all.
2011-11-03 20:32:56 +00:00
julie e1d39294ae Integrating Doxygen in comments 2011-10-06 06:53:11 +00:00
julie 55890ddab9 Improve CMAKE BUILD system and OUTPUT PARSING when not all precisions are needed.
The following variables will control the precision to be built:
  BUILD_SINGLE
  BUILD_DOUBLE
  BUILD_COMPLEX
  BUILD_COMPLEX16

For mixed precision SINGLE/DOUBLE routines, both BUILD_SINGLE and BUILD_DOUBLE needs to be on.
(same for COMPLEX/COMPLEX16)
2011-09-23 19:50:27 +00:00
julie 46b5d7df01 Replace DOUBLE COMPLEX by COMPLEX*16
Replace SNGL by REAL
2011-08-15 18:25:57 +00:00
julie 0d0b443c69 Summer cleanup
Cleanup some codes, like unused variables.
Used -Walls to detect problems.
2011-06-22 09:45:40 +00:00
julie 1767365dbf Remove GO TO STATEMENT in DROTMG/DROTM and SROTMG/SROTM.
Incorporate OLD Testings from ACM Collected algorithms : algorithm 539 
for:
   - DROTMG/SROTMG
   - DROTM/SROTM
   - DSDOT / SDSDOT

All BLAS routines are now tested.
Now up to us to change the BLAS but at least this is consistent.
2011-03-16 22:52:01 +00:00
julie 17112c1f29 Add CMAKE support to LAPACK 2009-08-11 21:58:21 +00:00
jason baba851215 Move LAPACK trunk into position. 2008-10-28 01:38:50 +00:00