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
=================================================
60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
INSTALLATION
|
|
|
|
Make sure to set these variables appropriately in your Make.inc in the LAPACK folder:
|
|
|
|
CBLASLIB is your CBLAS library
|
|
BLASLIB is your Legacy BLAS library (by default the Reference BLAS shipped within LAPACK)
|
|
|
|
Then type:
|
|
|
|
prompt> make
|
|
|
|
which will create the CBLAS library.
|
|
|
|
CREATING THE TESTERS
|
|
|
|
type:
|
|
|
|
prompt> make cblas_testing
|
|
|
|
This will create the BLAS library if necessary, then compile the CBLAS testings.
|
|
|
|
EXECUTING THE TESTERS
|
|
|
|
type:
|
|
|
|
prompt> make runtst
|
|
|
|
_______________________________________________________________________________
|
|
|
|
This package contains C interface to Legacy BLAS.
|
|
|
|
Written by Keita Teranishi (5/20/98)
|
|
_______________________________________________________________________________
|
|
|
|
This release updates an inconsistency between the BLAST document and
|
|
the interface. According to the document, the enumerated types for
|
|
the C interface to the BLAS are not typedef'ed.
|
|
|
|
It also updates the Level 2 and 3 testers which check for correct
|
|
exiting of routines when called with bad arguments. This is done by
|
|
overriding the Legacy BLAS library's implementation of xerbla(). If
|
|
this cannot be done ( for instance one cannot override some calls
|
|
to xerbla() in Sun's Performance library), then correct error
|
|
exiting cannot be checked.
|
|
|
|
Updated by Jeff Horner (3/15/99)
|
|
_______________________________________________________________________________
|
|
|
|
Updated by R. Clint Whaley (2/23/03):
|
|
|
|
Fixed the i?amax error that I reported three years ago: standard dictates
|
|
IAMAX return vals in range 0 <= iamax < N, but reference was mistakenly
|
|
returning like F77: 0 < iamax <= N.
|
|
_______________________________________________________________________________
|
|
|
|
Updated by Julie Langou (08/22/2014):
|
|
|
|
Integrate CBLAS package into LAPACK
|
|
Improve headers for mangling
|