File: INSTALL

package info (click to toggle)
qrupdate 1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 596 kB
  • ctags: 289
  • sloc: fortran: 5,031; makefile: 102; sh: 18; perl: 17
file content (43 lines) | stat: -rw-r--r-- 2,019 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
INSTALLATION NOTES FOR QRUPDATE
-------------------------------

The library is written in Fortran. Officially, it is Fortran 90-compliant,
but will probably be compilable with Fortran 77 compilers supporting
two common extensions: double complex type, end if/end do/end subroutine blocks
and automatic arrays. The latter are only needed for the test suite.

In particular, it has been tested with the following compilers:
* gfortran 4.3
* g95 0.91
* Intel Fortran 10.1
* g77 3.4 (does not compile test suite)
* f2c (does not compile test suite)
* Lahey/Fujitsu Fortran 8.0 (SSL II for test suite)
    -- thanks to Jan Piclum, U. Alberta, Canada

If you succeeded to compile qrupdate with a compiler not mentioned here
(or an earlier version), please contact me so that the list can be expanded.

To compile on an UNIX-compatible system, edit Makeconf to set up your
preferred compiler & compiler flags. Defaults are provided using GNU Fortran,
which should work straight away.

Then do "make lib" to create a static library (libqrupdate.a). To create 
a dynamic library (libqrupdate.so), do "make solib". In that case, make sure
your compiler flags support PIC code (if needed on your system).

To compile & run tests, do "make test". All tests will display their results as
well as save them using the "tee" utility.  A test works correctly if it runs
OK and outputs all small residuals (of order e-06 for single precision, e-14
for double precision). Note that subsequent "make test" only redisplays the
stored results, unless a test is changed.
The test suite includes some guards against buggy BLAS CHERK and ZHERK routines.
You may get warnings from the test suite about this.

Installing is as simple as doing "make install", which will install the library
according to modern conventions for UNIX-based platforms.
Another option is putting the static library anywhere at will and point compilers
to it with the -L switch.

Windows makefile is not (yet) provided, but should be easily derived from the
UNIX one.