Commit Graph
22 Commits
Author SHA1 Message Date
FrK5E cc90d869b0 Typo 2024-01-25 22:09:22 +01:00
Simon Maertens 5b0687f429 Fixed search phrase for determining the amount of successful tests 2023-12-01 14:05:54 +00:00
Daniel Bielich 3b08c51597 Updating src files, testing all precisions. Some clean-up remains but overall addition is complete 2023-03-16 17:28:32 -04:00
Daniel Bielich fd272e7f44 Progress to the testing implementation in double precision 2022-11-09 11:40:48 -05: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
Christoph Conrads cda6bf69ba lapack_testing.py: use more idiomatic Python style
Remove C-isms:
* remove unnecessary braces in "if" conditions
* use booleans instead of 0/1 variables
2021-02-20 20:08:13 +00:00
Christoph Conrads 89e8b89400 lapack_testing.py: help show actual default values 2021-02-20 19:51:53 +00:00
Christoph Conrads 95e4515b44 lapack_testing.py: use idiomatic path normalization 2021-02-20 19:42:11 +00:00
Christoph Conrads 7672c5fe57 lapack_testing.py: add missing arguments to getopt
The getopt command line parser did not expect arguments after the
`--bin` and `--dir` options.
2021-02-20 19:40:30 +00:00
Christoph Conrads 2b1eabfdfd lapack_testing.py: remove nonexistent flag in doc
The `-x` flag was never a valid short option for the `getopt` command
line parser.
2021-02-20 19:15:36 +00:00
Christoph Conrads e20af99927 lapack_testing.py: convert to Python3 2021-02-20 18:57:37 +00:00
Christoph Conrads cb3dbb0fe1 lapack_testing.py: python2 explicit in hashbang
Use `python2` explicitly in the hashbang instead of just `python`
because Ubuntu 20.04 does not ship with a `python` executable any
longer.
2021-02-20 18:46:57 +00:00
Malcolm Roberts cd2a9389f1 Add -b (bin) option to lapack_testing.py
When building with cmake, the test executables and data files may not
be in the location where lapack_testing.py.  By adding the -b option,
we can specify this manually.  For example, if we do
  mkdir build && cd build && cmake -DBUILD_TESTING=ON .. && make
we can then call
  ./lapack_testing.py -r -b bin -d ../TESTING
which now runs the tests.
2018-05-17 13:09:59 -06:00
Naresh Kamboju 51501a2553 lapack_testing.py: print results in one line
The purpose of the patches is to print lapack results in a single line
test-case-name sub-tests-running pass/fail status and count

Modified sub test case name to single word
Nonsymmetric Eigenvalue Problem to Nonsymmetric-Eigenvalue-Problem

Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2017-05-22 17:56:33 +05:30
Sébastien Villemot 6c3b79b35e Fix -r option of lapack_testing.py.
The numbering of tests had been broken in commit ed4e95e4.
2016-12-29 16:41:54 +01:00
Julie ed4e95e4d2 First minor change to 2 stage contribution
Update Makefile to handle .F

Update Cmake build
Note: We have duplicate loop numbers due to Define statement that stops
the compilation with Cmake default option.
Fix coming very shortly
2016-11-19 17:09:13 -08:00
Julie 6df7ab7746 Adapt lapack_testing.py to work on both Python 2 and Python 3
Contributed by Julien Schueller

Sent to Julie on May 8th 2016
Correspond to SVN rev 1748.
2016-06-02 22:39:35 -07:00
julie 986c48f631 fix lapack_testing.py for windows platforms - Fix provided by amran.illoul@ensam.eu on July 9th 2014-07-09 16:43:58 +00:00
julie 1351e9e3ee fix Illegal grep pb in lapack_testing 2013-11-17 01:15:04 +00:00
julie 94c1e9adda Slight modification to Lawrence patch for xTPQRT - Update conditions for testing parameter L - MIN(M,N) can be 0 2013-11-17 01:08:52 +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 27164edcec CHANGE IN THE SCRIPT:
lapack_testing.py has been moved to the top directory
One argument was added :
     - d [dir] is to indicate where is the LAPACK testing directory (.out files). By default, the script will use .-d or --dir to 
The -f argument was replaced by -r argument. Now by default the script will use the LAPACK output.
     - r is to use to run the LAPACK tests then analyse the output (.out files). By default, the script will not run all the LAPACK tests

INTEGRATION:
Integration of the LAPACK Testing parsing in the Makefile and CMake build process.

In the Makefile build: now the lapack_testing target will call the script after running the tests
In the CMAKE build: after the tests are run, the script will be executed with the option -s (short)
the end of the output will look like this:
100% tests passed, 0 tests failed out of 98

Total Test time (real) = 211.83 sec
SUMMARY                 numerical error         other error  
================        =================       ================  
REAL                    40      (0.004%)        0       (0.000%)
DOUBLE PRECISION        202     (0.020%)        0       (0.000%)
COMPLEX                 2       (0.000%)        0       (0.000%)
COMPLEX16               28      (0.005%)        0       (0.000%)

--> ALL PRECISIONS      272     (0.009%)        0       (0.000%)
2011-06-28 08:07:35 +00:00