DD-AVX [beta] README (BSD License) written by Toshiaki Hishinuma (hishinuma@slis.tsukuba.ac.jp)
DD-AVX: Library of high-precision operations accelerated by AVX. This library has Double-Double (DD) precision operations accelerated by AVX and AVX2. This library needs to merge "Lis" for DD iterative solver. Official support "Lis" version is "lis-1.4.58". After merge "lis" and "DD-AVX", the interface is same as "lis".
This library has Double-Double (DD) precision operations accelerated by AVX and AVX2.
C-code of DD precision operation kernels using AVX and AVX2 (vector operations and SpMV) [1] [2]. Matrix storage format "BSR" (Block CSR) for DD precision SpMV. block size 4x1 is suitable for AVX [3]. Auto selection of OpenMP loop Scheduling for DD precision SpMV [4].
- download "lis-1.4.58" from web site.
- put "DD-AVX" and "lis-1.4.58" on same dir.
- sh ./merge.sh [lis dir] [DD-AVX dir] [output dir]
please type "Configure" and "make." example of configure and make is Configure.sh
- configure
[command]$ ./configure [options]
options
CC=[compiler]
CFLAGS=[compile options]
[--enable-mpi]
[--enable-omp]
[--enable-sse2]
[--enable-avx]
[--enable-avx2]
- make
$ make
- dont use MPI:
test/test1 [options]
- use MPI:
mpirun -np [proc] test/test1 [options]
please type following command.
$gcc a.c -L [output_dir]/src/.libs -I [output]/include