File: README

package info (click to toggle)
adolc 1.10.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 4,920 kB
  • ctags: 1,725
  • sloc: ansic: 15,317; cpp: 12,025; sh: 8,438; makefile: 379; awk: 9
file content (92 lines) | stat: -rw-r--r-- 3,163 bytes parent folder | download
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92

     ADOL-C Version 1.10.0
     http://www.math.tu-dresden.de/~adol-c/

This new version of ADOL-C features new library functions for

  - sparse Jacobians and sparse Hessians (see documentation
  - Hessian-matrix products (hov_wk_forward(...), hos_ov_reverse(...), 
    see example hessmat.cpp, still not documented in the manual)
  - the integration of DAEs (see forward_partx.c, still not documented
    in the manual)
    
and many bug fixes. 

Furthermore the source code was adapted to allow a compilation with
WINDOWS compilers. See file "INSTALL" for generic installation 
instructions and special instructions for the installation on a WINDOWS
platform.
 
The complete documentation can be found in the subdirectory "doc".



LOCAL INSTALLATION
==================

1. Run configure with possibly using one of these options:

  --prefix=PREFIX         install library and header files in PREFIX
                          (default: ${HOME}/adolc_base)
  --with-docexa           build documented examples [default=no]
  --with-addexa           build additional examples [default=no]
  --with-cflags=FLAGS     use CFLAGS=FLAGS (default: -O3 -Wall -ansi)
  --with-cxxflags=FLAGS   use CXXFLAGS=FLAGS (default: -O3 -Wall)

2. Type make 

3. Type make install

   By default, `make install' will install all the files in ${PREFIX}/lib and
   ${PREFIX}/include. You can specify another installation directory by using
   the --prefix-option in the configure call.

This procedure provides all makefiles required in the approporate directories.
Execute 'configure --help' for more details on other available option.



Nonlocal installation
=====================

As mentioned in INSTALL one can configure the adolc package to be installed
in a different directory than "${HOME}/adolc_base" by using the "--prefix=PATH"
configure option. This is typically used for global installations. Common PATHs
are "/usr" and "/usr/local/", and others are known to be used. Fine control
over the installation directories can be gained by supplying additional
configure options. See "./configure --help" for details.

Completing the installation by executing "make install" requires write
permissions for all target directories. Make sure to have them or the result
may be surprising otherwise.

A global installation can be helpfull if many users need the library. By adding
the library's path to "/etc/ld.so.conf" the usage of LD_LIBRARY_PATH and the
"-L" link switch becomes unnecessary. In many cases, for instance for
PATH=/usr/local, the use of the -I directive for compiling sources becomes 
unnecessary too.



Examples
========

Examples must be configured to build by using the configure switches 
   --with-docexa or --with-addexa.
They will never be installed by make install but can be found in the
appropriate example subdirectory.



Compilation and Usage of own applications based on the ADOL-C library
=====================================================================

Compilation:

The following procedure should work with all installations but might be
oversized if you have installed the ADOL-C into a directory which is 



Enjoy this new version!