diff --git a/TESTING/BLLT.dat b/TESTING/BLLT.dat index b92ec25..f9293a6 100644 --- a/TESTING/BLLT.dat +++ b/TESTING/BLLT.dat @@ -1,4 +1,4 @@ -'ScaLAPACK, Version 1.2, banded linear systems input file' +'ScaLAPACK, banded linear systems input file' 'MPI machine' '' output file name (if any) 6 device out diff --git a/TESTING/BLU.dat b/TESTING/BLU.dat index 6537de8..bf42f58 100644 --- a/TESTING/BLU.dat +++ b/TESTING/BLU.dat @@ -1,10 +1,10 @@ -'ScaLAPACK, Version 1.2, banded linear systems input file' +'ScaLAPACK, banded linear systems input file' 'MPI machine' '' output file name (if any) 6 device out 'N' define transpose or not - 5 number of problem sizes - 17 0 28 -10 37 121 200 1023 values of N. The N value should be more than the BWL, BWU values + 3 number of problem sizes + 17 28 37 121 200 1023 values of N. The N value should be more than the BWL, BWU values 3 number of bandwidths 1 3 15 6 13 20 values of BWL 1 1 4 18 24 33 values of BWU diff --git a/TESTING/BRD.dat b/TESTING/BRD.dat index 57fe470..32588cc 100644 --- a/TESTING/BRD.dat +++ b/TESTING/BRD.dat @@ -2,9 +2,9 @@ 'MPI machine' 'BRD.out' output file name (if any) 6 device out -6 number of problems sizes -4 10 -12 17 11 13 23 31 57 values of M -4 12 10 13 0 13 23 31 50 values of N +4 number of problems sizes +4 10 17 13 23 31 57 values of M +4 12 13 13 23 31 50 values of N 4 number of NB's 2 3 4 5 values of NB 4 number of processor grids (ordered pairs of P & Q) diff --git a/TESTING/EXT_TESTS/BLLT.dat b/TESTING/EXT_TESTS/BLLT.dat new file mode 100644 index 0000000..818d491 --- /dev/null +++ b/TESTING/EXT_TESTS/BLLT.dat @@ -0,0 +1,18 @@ +'AOCL-ScaLAPACK, banded linear systems input file' +'MPI machine' +'' output file name (if any) +6 device out +'U' define Lower or Upper +10 number of problem sizes +67 118 -118 267 393 0 527 655 804 1023 values of N. The N value should be more than the BW values +6 number of bandwidths +1 2 4 10 31 64 values of BW +1 number of NB's +-1 values of NB (-1 for automatic determination) +1 number of NRHS's (must be 1) +4 values of NRHS +1 number of NBRHS's (ignored) +1 values of NBRHS (ignored) +4 number of process grids +1 2 3 4 values of "Number of Process Columns" +3.0 threshold \ No newline at end of file diff --git a/TESTING/EXT_TESTS/BLU.dat b/TESTING/EXT_TESTS/BLU.dat new file mode 100644 index 0000000..f74d7a5 --- /dev/null +++ b/TESTING/EXT_TESTS/BLU.dat @@ -0,0 +1,19 @@ +'AOCL-ScaLAPACK, banded linear systems input file' +'MPI machine' +'' output file name (if any) +6 device out +'N' define transpose or not + 5 number of problem sizes + 17 0 28 -10 37 121 200 1023 values of N. The N value should be more than the BWL, BWU values + 3 number of bandwidths + 1 3 15 6 13 20 values of BWL + 1 1 4 18 24 33 values of BWU +1 number of NB's +-1 values of NB (-1 for automatic determination) +1 number of NRHS's (must be 1) +4 values of NRHS +1 number of NBRHS's (ignored) +1 values of NBRHS (ignored) + 4 number of process grids + 1 2 3 4 values of "Number of Process Columns" +3.0 threshold diff --git a/TESTING/EXT_TESTS/BRD.dat b/TESTING/EXT_TESTS/BRD.dat new file mode 100644 index 0000000..57fe470 --- /dev/null +++ b/TESTING/EXT_TESTS/BRD.dat @@ -0,0 +1,13 @@ +'ScaLAPACK BRD input file' +'MPI machine' +'BRD.out' output file name (if any) +6 device out +6 number of problems sizes +4 10 -12 17 11 13 23 31 57 values of M +4 12 10 13 0 13 23 31 50 values of N +4 number of NB's +2 3 4 5 values of NB +4 number of processor grids (ordered pairs of P & Q) +1 2 1 4 2 3 8 values of P +1 2 4 1 3 2 1 values of Q +10.0 threshold diff --git a/TESTING/EXT_TESTS/EVC.dat b/TESTING/EXT_TESTS/EVC.dat new file mode 100644 index 0000000..7cc359b --- /dev/null +++ b/TESTING/EXT_TESTS/EVC.dat @@ -0,0 +1,12 @@ +'SCALAPACK NEP (Nonsymmetric Eigenvalue Problem) input file' +'MPI Machine' +'EVC.out' output file name (if any) +6 device out +3 number of problems sizes +0 -10 1500 2000 2500 3000 Probs +1 number of NB's +8 values of NB +4 number of process grids (ordered pairs of P & Q) +1 1 4 2 3 2 2 1 values of P +1 4 1 2 3 1 4 8 values of Q +20.0 threshold diff --git a/TESTING/EXT_TESTS/HRD.dat b/TESTING/EXT_TESTS/HRD.dat new file mode 100644 index 0000000..d1a084e --- /dev/null +++ b/TESTING/EXT_TESTS/HRD.dat @@ -0,0 +1,14 @@ +'ScaLAPACK HRD input file' +'MPI machine' +'HRD.out' output file name (if any) +6 device out +6 number of problems sizes +50 -50 50 0 50 50 values of N +1 2 3 1 3 5 values of ILO +50 48 45 0 45 49 values of IHI +3 number of NB's +2 3 4 values of NB +4 number of processor grids (ordered pairs of P & Q) +1 2 1 4 2 3 8 values of P +1 2 4 1 3 2 1 values of Q +3.0 threshold diff --git a/TESTING/EXT_TESTS/INV.dat b/TESTING/EXT_TESTS/INV.dat new file mode 100644 index 0000000..1de1602 --- /dev/null +++ b/TESTING/EXT_TESTS/INV.dat @@ -0,0 +1,14 @@ +'AOCL-ScaLAPACK, Matrix Inversion Testing input file' +'MPI machine.' +'INV.out' output file name (if any) +6 device out +5 number of matrix types (next line) +'GEN' 'UTR' 'LTR' 'UPD' 'LPD' GEN, UTR, LTR, UPD, LPD +6 number of problems sizes +15 20 -3 26 0 50 values of N +4 number of NB's +2 3 4 5 6 20 values of NB +4 number of process grids (ordered P & Q) +1 2 1 4 2 3 8 values of P +1 1 2 1 3 2 1 values of Q +1.0 threshold \ No newline at end of file diff --git a/TESTING/EXT_TESTS/LLT.dat b/TESTING/EXT_TESTS/LLT.dat new file mode 100644 index 0000000..e5d261b --- /dev/null +++ b/TESTING/EXT_TESTS/LLT.dat @@ -0,0 +1,18 @@ +'ScaLAPACK, LLt factorization input file' +'MPI machine' +'LLT.out' output file name (if any) +6 device out +'U' define Lower or Upper +4 number of problems sizes +4 10 17 13 23 31 57 values of N +3 number of NB's +2 3 4 5 values of NB +3 number of NRHS's +1 3 9 28 values of NRHS +3 number of NBRHS's +1 3 5 7 values of NBRHS +4 number of process grids (ordered pairs P & Q) +1 2 1 4 2 3 8 values of P +1 2 4 1 3 2 1 values of Q +3.0 threshold +T (T or F) Test Cond. Est. and Iter. Ref. Routines diff --git a/TESTING/EXT_TESTS/LS.dat b/TESTING/EXT_TESTS/LS.dat new file mode 100644 index 0000000..37f8217 --- /dev/null +++ b/TESTING/EXT_TESTS/LS.dat @@ -0,0 +1,17 @@ +'ScaLAPACK LS solve input file' +'MPI machine' +'LS.out' output file name (if any) +6 device out +7 number of problems sizes +15 7 31 0 31 -7 7 values of M +5 21 31 31 0 21 -21 values of N +2 number of NB's +2 3 5 values of NB +3 number of NRHS's +2 -3 0 values of NRHS +2 number of NBRHS's +1 2 values of NBRHS +4 number of process grids (ordered pairs P & Q) +1 1 4 2 2 3 8 values of P +1 4 1 2 3 2 1 values of Q +4.0 threshold \ No newline at end of file diff --git a/TESTING/EXT_TESTS/LU.dat b/TESTING/EXT_TESTS/LU.dat new file mode 100644 index 0000000..b81ec2c --- /dev/null +++ b/TESTING/EXT_TESTS/LU.dat @@ -0,0 +1,18 @@ +'SCALAPACK, LU factorization input file' +'MPI Machine' +'LU.out' output file name (if any) +6 device out +4 number of problems sizes +4 10 17 13 23 31 57 values of M +4 12 13 13 23 31 50 values of N +3 number of NB's +2 3 4 5 values of NB +3 number of NRHS's +1 3 9 28 values of NRHS +3 Number of NBRHS's +1 3 5 7 values of NBRHS +4 number of process grids (ordered pairs of P & Q) +1 2 1 4 2 3 8 values of P +1 2 4 1 3 2 1 values of Q +1.0 threshold +T (T or F) Test Cond. Est. and Iter. Ref. Routines diff --git a/TESTING/EXT_TESTS/NEP.dat b/TESTING/EXT_TESTS/NEP.dat new file mode 100644 index 0000000..0ea6e6b --- /dev/null +++ b/TESTING/EXT_TESTS/NEP.dat @@ -0,0 +1,12 @@ +'SCALAPACK NEP (Nonsymmetric Eigenvalue Problem) input file' +'MPI machine' +'NEP.out' output file name (if any) +6 device out +7 number of problems sizes +2 3 0 4 6 10 50 -1 Probs +3 number of NB's +6 8 17 values of NB +2 number of process grids (ordered pairs of P & Q) +1 2 1 1 4 2 1 values of P +1 2 3 4 1 4 8 values of Q +20.0 threshold diff --git a/TESTING/EXT_TESTS/QR.dat b/TESTING/EXT_TESTS/QR.dat new file mode 100644 index 0000000..58f6623 --- /dev/null +++ b/TESTING/EXT_TESTS/QR.dat @@ -0,0 +1,16 @@ +'ScaLAPACK, Orthogonal factorizations input file' +'MPI machine' +'QR.out' output file name (if any) +6 device out +6 number of factorizations +'QR' 'QL' 'LQ' 'RQ' 'QP' 'TZ' factorizations: QR, QL, LQ, RQ, QP, TZ +4 number of problems sizes +42 15 -3 26 30 15 values of M. The M value should be more than the MB, NB values. +42 0 18 25 30 35 values of N. The N value should be more than the MB, NB values. +4 number of blocking sizes +4 3 5 2 4 6 values of MB +4 2 3 4 8 2 values of NB +4 number of process grids (ordered pairs P & Q) +1 2 1 4 2 3 8 values of P +1 2 4 1 3 2 1 values of Q +5.0 threshold diff --git a/TESTING/EXT_TESTS/SEP.dat b/TESTING/EXT_TESTS/SEP.dat new file mode 100644 index 0000000..cbc245b --- /dev/null +++ b/TESTING/EXT_TESTS/SEP.dat @@ -0,0 +1,146 @@ + + +'ScaLAPACK Symmetric Eigensolver Test File' +' ' +'sep.out' output file name (if any) +6 device out (13 & 14 reserved for internal testing) +4 maximum number of processes +'N' disable pxsyev tests, recommended for heterogeneous systems. +' ' +'TEST 1 - test tiny matrices - different process configurations' +3 number of matrices +0 1 2 matrix size +1 number of uplo choices +'L' uplo choices +2 number of processor configurations (P, Q, NB) +1 1 values of P (NPROW) +2 1 values of Q (NPCOL) +1 1 values of NB +1 number of matrix types +8 matrix types (see pdseptst.f) +'N' perform subset tests? +80.0 Threshold (* 5 for generalized tests) +-1 Absolute Tolerance +' ' +'TEST 2 - test tiny matrices - all requests' +2 number of matrices +0 1 +1 number of uplo choices +'L' uplo choices +1 number of processor configurations (P, Q, NB) +1 values of P (NPROW) +2 values of Q (NPCOL) +1 values of NB +1 number of matrix types +8 matrix types (see pdseptst.f) +'Y' perform subset tests? +80.0 Threshold (* 5 for generalized tests) +-1 Absolute Tolerance +' ' +'TEST 3 - test a small matrix - all types' +1 number of matrices +5 +1 number of uplo choices +'L' uplo choices +2 number of processor configurations (P, Q, NB) +1 1 values of P (NPROW) +1 2 values of Q (NPCOL) +1 2 values of NB +22 number of matrix types +1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 +'N' perform subset tests? +250.0 Threshold +-1 Absolute Tolerance +' ' +'TEST 4 - test a small matrix - all requests' +1 number of matrices +4 +1 number of uplo choices +'L' uplo choices +2 number of processor configurations (P, Q, NB) +1 1 values of P (NPROW) +1 2 values of Q (NPCOL) +1 2 values of NB +2 number of matrix types +10 22 matrix types +'Y' perform subset tests? +250.0 Threshold +-1 Absolute Tolerance +' ' +'TEST 5 - test a small matrix - all processor configurations' +1 number of matrices +6 matrix size +2 number of uplo choices +'L' 'U' uplo choices +13 number of processor configurations (P, Q, NB) +1 1 2 1 2 1 3 1 3 1 2 2 2 values of P (NPROW) +1 1 1 2 1 2 1 3 1 3 2 2 2 values of Q (NPCOL) +1 3 1 1 2 2 1 1 2 2 1 2 3 values of NB +1 number of matrix types +8 matrix types (see pdseptst.f) +'N' perform subset tests? +50.0 Threshold (* 5 for generalized tests) +-1 Absolute Tolerance +' ' +'TEST 6 - test a medium matrix - hard matrix types' +1 number of matrices +21 +1 number of uplo choices +'U' uplo choices +1 number of processor configurations (P, Q, NB) +2 values of P (NPROW) +2 values of Q (NPCOL) +8 values of NB +4 number of matrix types +9 10 21 22 +'N' perform subset tests? +50.0 Threshold (* 5 for generalized tests) +-1 Absolute Tolerance +' ' +'TEST 7 - test a medium matrix - all processor configurations' +1 number of matrices +27 +1 number of uplo choices +'U' uplo choices +13 number of processor configurations (P, Q, NB) +1 1 2 1 2 1 3 1 3 1 2 2 2 values of P (NPROW) +1 1 1 2 1 2 1 3 1 3 2 2 2 values of Q (NPCOL) +1 3 1 1 2 2 1 1 2 2 1 2 3 values of NB +1 number of matrix types +10 matrix types (see pdseptst.f) +'N' perform subset tests? +50.0 Threshold (* 5 for generalized tests) +-1 Absolute Tolerance +' ' +'TEST 8 - test a medium matrix - L and U' +1 number of matrices +24 +2 number of uplo choices +'L' 'U' uplo choices +4 number of processor configurations (P, Q, NB) +1 1 3 1 values of P (NPROW) +1 2 1 4 values of Q (NPCOL) +1 3 1 1 values of NB +1 number of matrix types +22 matrix types (see pdseptst.f) +'N' perform subset tests? +20.0 Threshold (* 5 for generalized tests) +-1 Absolute Tolerance +' ' +'TEST 9 - test one large matrix' +1 number of matrices +100 +1 number of uplo choices +'U' uplo choices +1 number of processor configurations (P, Q, NB) +2 values of P (NPROW) +2 values of Q (NPCOL) +8 values of NB +1 number of matrix types +8 matrix types (see pdseptst.f) +'N' perform subset tests? +20.0 Threshold (* 5 for generalized tests) +-1 Absolute Tolerance +' ' +'End of tests' +-1 diff --git a/TESTING/EXT_TESTS/SEPR.dat b/TESTING/EXT_TESTS/SEPR.dat new file mode 100644 index 0000000..eb69a71 --- /dev/null +++ b/TESTING/EXT_TESTS/SEPR.dat @@ -0,0 +1,26 @@ + + +'ScaLAPACK Symmetric Eigensolver Test File' +' ' +'sepr.out' output file name (if any) +6 device out (13 & 14 reserved for internal testing) +4 maximum number of processes +'Y' Switch set to 'Y' +' ' +'TEST 1 - negative and zero matrix sizes - different process configurations' +3 number of matrices +-1 0 2 Matrix sizes +1 number of uplo choices +'L' uplo choices +1 number of processor configurations (P, Q, NB) +1 values of P (NPROW) +2 values of Q (NPCOL) +1 values of NB +1 number of matrix types +8 matrix types (see pdseprtst.f) +'N' perform subset tests? +80.0 Threshold (* 5 for generalized tests) +-1 Absolute Tolerance +' ' +'End of tests' +-1 diff --git a/TESTING/EXT_TESTS/SVD.dat b/TESTING/EXT_TESTS/SVD.dat new file mode 100644 index 0000000..4712b0f --- /dev/null +++ b/TESTING/EXT_TESTS/SVD.dat @@ -0,0 +1,36 @@ +'ScaLAPACK Singular Value Decomposition input file' +6 device out +4 maxnodes +' ' +'TEST 1 - test medium matrices - all types and requests' +20.0 Threshold +1 number of matrices +10 number of rows +0 number of columns +1 number of processor configurations (P, Q, NB) +2 values of P (NPROW) +2 values of Q (NPCOL) +8 values of NB +' ' +'TEST 2 - test medium matrices - all processor configurations' +20.0 Threshold +1 number of matrices +0 number of rows +32 number of columns +1 number of processor configurations (P, Q, NB) +2 values of P (NPROW) +2 values of Q (NPCOL) +8 values of NB +' ' +'TEST 3 - test one large matrix' +15.0 Threshold +1 number of matrices +-4 number of rows +8 number of columns +1 number of processor configurations (P, Q, NB) +2 values of P (NPROW) +2 values of Q (NPCOL) +8 values of NB +' ' +'End of tests' +-1 diff --git a/TESTING/EXT_TESTS/TRD.dat b/TESTING/EXT_TESTS/TRD.dat new file mode 100644 index 0000000..757eb78 --- /dev/null +++ b/TESTING/EXT_TESTS/TRD.dat @@ -0,0 +1,13 @@ +'ScaLAPACK TRD computation input file' +'MPI machine' +'TRD.out' output file name +6 device out +'L' define Lower or Upper +4 number of problems sizes +16 50 6 11 21 22 23 values of N +4 number of NB's +1 2 3 4 5 values of NB +3 Number of processor grids (ordered pairs of P & Q) +1 1 4 2 1 3 1 values of P +1 4 1 2 3 1 1 values of Q +10.0 threshold diff --git a/TESTING/HRD.dat b/TESTING/HRD.dat index d1a084e..d39701d 100644 --- a/TESTING/HRD.dat +++ b/TESTING/HRD.dat @@ -2,10 +2,10 @@ 'MPI machine' 'HRD.out' output file name (if any) 6 device out -6 number of problems sizes -50 -50 50 0 50 50 values of N -1 2 3 1 3 5 values of ILO -50 48 45 0 45 49 values of IHI +4 number of problems sizes +50 50 50 50 values of N +1 2 3 5 values of ILO +50 48 45 49 values of IHI 3 number of NB's 2 3 4 values of NB 4 number of processor grids (ordered pairs of P & Q) diff --git a/TESTING/INV.dat b/TESTING/INV.dat index 7c0170a..b127571 100644 --- a/TESTING/INV.dat +++ b/TESTING/INV.dat @@ -1,14 +1,14 @@ -'ScaLAPACK, Version 1.0, Matrix Inversion Testing input file' +'AOCLScaLAPACK, Matrix Inversion Testing input file' 'MPI machine.' 'INV.out' output file name (if any) 6 device out 5 number of matrix types (next line) 'GEN' 'UTR' 'LTR' 'UPD' 'LPD' GEN, UTR, LTR, UPD, LPD -6 number of problems sizes -15 20 -3 26 0 50 values of N +4 number of problems sizes +2 5 10 15 13 20 30 50 values of N 4 number of NB's 2 3 4 5 6 20 values of NB 4 number of process grids (ordered P & Q) 1 2 1 4 2 3 8 values of P -1 1 2 1 3 2 1 values of Q -1.0 threshold \ No newline at end of file +1 1 4 1 3 2 1 values of Q +1.0 threshold diff --git a/TESTING/LS.dat b/TESTING/LS.dat index 37f8217..0a87a07 100644 --- a/TESTING/LS.dat +++ b/TESTING/LS.dat @@ -2,16 +2,16 @@ 'MPI machine' 'LS.out' output file name (if any) 6 device out -7 number of problems sizes -15 7 31 0 31 -7 7 values of M -5 21 31 31 0 21 -21 values of N +3 number of problems sizes +15 7 31 values of M +5 21 31 values of N 2 number of NB's 2 3 5 values of NB -3 number of NRHS's -2 -3 0 values of NRHS +2 number of NRHS's +2 3 5 values of NRHS 2 number of NBRHS's 1 2 values of NBRHS 4 number of process grids (ordered pairs P & Q) 1 1 4 2 2 3 8 values of P 1 4 1 2 3 2 1 values of Q -4.0 threshold \ No newline at end of file +4.0 threshold diff --git a/TESTING/QR.dat b/TESTING/QR.dat index 58f6623..7875875 100644 --- a/TESTING/QR.dat +++ b/TESTING/QR.dat @@ -5,11 +5,11 @@ 6 number of factorizations 'QR' 'QL' 'LQ' 'RQ' 'QP' 'TZ' factorizations: QR, QL, LQ, RQ, QP, TZ 4 number of problems sizes -42 15 -3 26 30 15 values of M. The M value should be more than the MB, NB values. -42 0 18 25 30 35 values of N. The N value should be more than the MB, NB values. +42 15 13 26 30 15 values of M. The M value should be more than the MB, NB values. +42 17 18 30 30 35 values of N. The N value should be more than the MB, NB values. 4 number of blocking sizes -4 3 5 2 4 6 values of MB -4 2 3 4 8 2 values of NB +4 3 5 5 4 6 values of MB +4 7 3 5 8 2 values of NB 4 number of process grids (ordered pairs P & Q) 1 2 1 4 2 3 8 values of P 1 2 4 1 3 2 1 values of Q diff --git a/TESTING/README.txt b/TESTING/README.txt index 6b5e9fe..8ce962d 100644 --- a/TESTING/README.txt +++ b/TESTING/README.txt @@ -45,3 +45,53 @@ Address Sanitizer(ASAN) testing: Address saitizer(ASAN) tests are supported through the AOCL-ScaLAPACK test suite. To enable the same, include the build configure option '-DENABLE_ASAN_TESTS=ON'. + +Extended test suite for AOCL-ScaLAPACK: +======================================= + +Extended test suite that includes additional cases such as + + a) Negative inputs. + b) Early reuturn inputs. + c) Extreme value inputs. + +NOTE: Not all testing executable support the extended test suite. + +Running extended test suite: +---------------------------- + +Eg: To test negative inputs and early return inputs. + Upon building the AOCL-ScaLAPACK library, by default '.dat' files + are copied from source TESTING folder to built TESTING folder. + In order to test extended test cases, copy the '.dat' files present + in the folder aocl-scalapack/TESTING/EXT_TESTS to TESTING folder + of the built workspace replacing the existing '.dat' files. + + For instance: + Running a test program: + + $ mpirun -np 4 ./xdinv + +Eg: To test extreme value inputs. + Upon building the AOCL-ScaLAPACK library, to test the infinity or NaN + input values, refer below illustration. + + For instance: + Infinity and NaN input values can be clubbed together or can be + used individually. Percentage of infinity and NaNs can be altered. + + 1)mpirun -np ./ -inf <%_of_inf> + + $ mpirun -np 4 ./xdinv -inf 10 + + 2)mpirun -np ./ -nan <%_of_nan> + + $ mpirun -np 4 ./xdinv -nan 10 + + 3)mpirun -np ./ -inf <%_of_inf> -nan <%_of_nan> + + $ mpirun -np 4 ./xdinv -inf 10 -nan 30 + + + +