root / INSTALL

Revision 39, 2.2 kB (checked in by pernet, 1 year ago)

Some documentation/Makefile updates for release 1.3.0

Line 
1HOW TO USE IT :
2
3This is a source library : no precompilation is required.
4The usual way of using it is to include the file include/fflas_ffpack/fflas.h
5or include/fflas_ffpack/ffpack.h in your code.
6
7The routines are designed to work with a generic finite field implementation,
8compliant with the interface of LinBox (www.linalg.org). We also provide two
9default implementations that make these routines work more efficiently.
10
11* fflas_ffpack/modular-balanced.h : implements any prime finite field of cardinality between larger than 2.
12and smaller than 2^26 (Modular<double>) or 2^12 (Modular<float>).
13The most efficient implementations ; to be used by default.
14
15* fflas_ffpack/modular-positive.h : implements any prime finite field of cardinality between
162 and 2^26 (Modular<double>) or 2^12 (Modular<float>).
17
18REQUIREMENTS :
19
20A C BLAS library must be installed in your environment : the file "cblas.h"
21must be in the include environment of the compilation and the associated
22compiled library be provided to the linker.
23
24For example, in the test directory, the test programms are compiled using the
25C BLAS ATLAS; The following parameters are given to the compiler :
26
27-I${ATLASROOT}/include -I${ATLASROOT}/include/${ATLASARCH}
28-L ${ATLASROOT}/lib/${ATLASARCH} -lcblas -latlas
29
30COMPILATION OF THE TESTS :
31
32To compile the tests, complete the variables given in test/Makefile and/or uncomment the adequate option:
33BLASROOT=         {the directory where the BLAS library is located}
34ARCH=              {the architecture parameter for g++. For example pentium4, athlon, opteron,...}
35
36Then simply run
37
38'make'
39
40in the test directory.
41
42The compiled tests are the following files
43tests/test-fgemm
44tests/test-fgemv
45tests/test-lqup
46tests/test-charpoly
47tests/test-compressQ
48tests/test-frobenius
49tests/test-fsquare
50tests/test-det
51tests/test-invert
52tests/test-krylov-elim
53tests/test-rank
54
55
56COMPILATION OF THE SANITY/REGRESSION TESTS :
57
58These tests require the GIVARO library and therefore also the GMP library.
59First complete and uncomment the fields GIVARO_ROOT and GMP_ROOT in tests/Makefile.
60Then run
61
62'make regression'.
63
64The compiled tests are the following files
65
66tests/testeur_fgemm.C
67tests/testeur_lqup.C
68tests/testeur_ftrsm.C
Note: See TracBrowser for help on using the browser.