File: run_lapack64_tests.sh

package info (click to toggle)
lapack 3.9.0-3%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 74,592 kB
  • sloc: fortran: 593,288; ansic: 185,421; makefile: 4,884; sh: 318; python: 268
file content (18 lines) | stat: -rwxr-xr-x 709 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# This scripts runs all LAPACK tests against the BLAS and LAPACK implementations
# currently selected through the alternatives system
# (see "update-alternatives --display libblas64.so.3-${DEB_HOST_MULTIARCH}" and
#  "update-alternatives --display liblapack64.so.3-${DEB_HOST_MULTIARCH}").
# The BLAS and LAPACK implementations can be overriden using LD_LIBRARY_PATH.

# This script creates temporary files in the current directory.

DEB_HOST_MULTIARCH=$(dpkg-architecture -q DEB_HOST_MULTIARCH)

for testfile in /usr/lib/${DEB_HOST_MULTIARCH}/lapack64/x* /usr/lib/${DEB_HOST_MULTIARCH}/lapack64/*.in
do
    ln -s ${testfile}
done

/usr/lib/${DEB_HOST_MULTIARCH}/lapack64/lapack_testing.py -d . -r