File: installation.doc

package info (click to toggle)
libitpp 4.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 7,520 kB
  • ctags: 6,341
  • sloc: cpp: 51,608; sh: 9,248; makefile: 636; fortran: 8
file content (610 lines) | stat: -rw-r--r-- 24,314 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
/*!
\page installation IT++ Installation

\section toc Table of Contents
- \ref requirements
- \ref download
- \ref inst_instructions
  - \ref modularization
  - \ref external_libs
  - \ref optimisation
  - \ref config_status
  - \ref compile_step
  - \ref test_step
  - \ref install_step
- \ref localinst
- \ref msvc


\section requirements IT++ Requirements

IT++ should compile without errors or warnings on most GNU/Linux, BSD and
UNIX systems, and on POSIX based environments for Microsoft Windows like
Cygwin or MinGW with MSYS. It can be also built on Microsoft Windows
NT/2000/XP using Microsoft's Visual C++ .NET (or Express), but our support
for this compiler is limited. For GNU/Linux, FreeBSD, Solaris SunOS, Cygwin
and MinGW we assume that you have at least the following GNU software
installed on your computer:
- <a href="http://www.gnu.org/software/make/">GNU make</a>, version 3.77
or later (check version with <tt>`make --version'</tt> or
<tt>`gmake --version`</tt>)
- <a href="http://gcc.gnu.org/">GCC</a> - GNU Compilers Collection including
C (gcc) and C++ (g++) compilers, version 3.3.x or later (check version with
<tt>`gcc --version'</tt>)
.
In most cases, a Fortran compiler is also required for proper linking of
IT++ with external BLAS and LAPACK libraries. GCC provides g77 (versions
3.x.x) or gfortran (versions 4.x.x) compilers.

We strongly recommend that you use recent stable releases of the GCC, if
possible. We do not actively work on supporting older versions of the GCC,
and they may therefore (without prior notice) become unsupported in future
releases of IT++.

Instead of using GCC, you might try to build and link the IT++ library using
other C/C++/Fortran compilers. For instance, Intel C++ (icpc) and Fortran
(ifc) compilers are known to work well.

To perform tests, two command line programs: \c sed and \c diff are
required. Optionally, you might need a few additional programs, i.e.
<a href="http://www.doxygen.org/">Doxygen</a>,
<a href="http://www.latex-project.org/">LaTeX</a>,
<a href="http://www.radicaleye.com/dvips.html">Dvips</a> and
<a href="http://www.cs.wisc.edu/~ghost/">Ghostscript</a>, to generate the
HTML documentation. The HTML documentation for each release is also
available as separate packages for download, so you do not need to generate
it during the installation.

In order to use all functionality provided by the IT++ library, it is
recommended that you have some external libraries compiled and installed in
your computer. The basic set of them is:
<a href="http://www.netlib.org/blas/">BLAS</a>,
<a href="http://www.netlib.org/lapack/">LAPACK</a> and
<a href="http://www.fftw.org/">FFTW</a> (version 3.0.0 or later).

Instead of NetLib's reference BLAS and LAPACK implementations, some
optimized platform-specific libraries can be used as well, i.e.:
- <a href="http://math-atlas.sourceforge.net/">ATLAS</a> (<em>Automatically
  Tuned Linear Algebra Software</em>) - includes optimised BLAS and a
  limited set of LAPACK routines (version 3.6.0 or later)
- <a href="http://www.intel.com/cd/software/products/asmo-na/eng/perflib/mkl/">MKL</a>
  (<em>Intel Math Kernel Library</em>) - includes all required BLAS,
  LAPACK and FFT routines (version 8.1.1 or later; FFTW not required)
- <a href="http://developer.amd.com/acml.aspx">ACML</a> (<em>AMD Core Math
  Library</em>) - includes BLAS, LAPACK and FFT routines (version
  2.5.3 or later; FFTW not required)

Except the Intel MKL, the above mentioned BLAS/LAPACK implementations
require additional support libraries provided by a Fortran compiler. To use
them with IT++, please make sure that you have the compatible Fortran
compiler installed. For instance, if your system BLAS and LAPACK libraries
were compiled and linked with GNU g77, you should have the same compiler
installed on your system before starting the IT++ configuration process.

It is possible to compile and use IT++ without these external libraries, but
the functionality will be reduced. Therefore, we recommend that you take
some time and effort to provide these external libraries in your system.
Please note that the basic set of them (FFTW, BLAS and LAPACK) is usually
included in most modern Linux distributions.


\section download Obtaining the IT++ Source Codes

IT++ is released under the GNU General Public License (GPL) and hence the
source code of the IT++ library is available for free download. To obtain
the IT++ source code, visit the project pages on SourceForge:
- <a href="http://itpp.sourceforge.net/">http://itpp.sourceforge.net/</a>
.
and download the file named \c itpp-\<VERSION\>.tar.gz or
\c itpp-\<VERSION\>.tar.bz2, where \c \<VERSION\> is the latest release
number, e.g. 4.0.0.


\section inst_instructions General IT++ Configuration and Installation Instructions

Assuming that you have already downloaded the latest IT++ sources, untar
and unpack the sources, and enter the unpacked directory. Depending on the
package type you have downloaded, use the following commands:

\verbatim
% gzip -cd itpp-<VERSION>.tar.gz | tar xf -
% cd itpp-<VERSION>
\endverbatim

\verbatim
% bzip2 -cd itpp-<VERSION>.tar.bz2 | tar xf -
% cd itpp-<VERSION>
\endverbatim

Since version 3.9.0, the IT++ library uses autoconf, automake and libtool
for preparing Makefiles and configuration script, so the compilation
procedure resembles a standard, well-known GNU method, i.e.

\verbatim
% ./configure
% make
\endverbatim

The \c `configure' command can be invoked with additional switches and
options (run <tt>`./configure --help'</tt> to get a full list of them). The
most important are:
- \c `--prefix=PREFIX' - set top installation directory to a certain \c
  PREFIX value. By default it is set to \c `/usr/local', so <tt>`make
  install'</tt> will install appropriate files into \c `/usr/local/include',
  \c `/usr/local/lib`, etc.
- \c `--enable-debug' - build an extra library named \c `libitpp_debug.*'
  using special debugging flags for compiler and linker (disabled by default)
- \c `--enable-exceptions' - enable exceptions handling of run-time errors
  instead of aborting the program (disabled by default)
- \c `--disable-html-doc' - do not generate and install the HTML
  documentation (enabled by default)
- \c `--disable-shared' - do not build the shared version of the library
  (enabled by default for non Windows based platforms)
- \c `--disable-static' - do not build the static version of the library
  (enabled by default for Windows based platforms)
.
Plese note that each \c `--enable-\<OPTION\>' switch can be replaced
with its opposite switch \c `--disable-\<OPTION\>'.


\subsection modularization Modularization

Since version 3.99.0, a modularization of the library has been introduced.
Therefore, several additional switches have been added to the configure
script, which can be used to disable building some of the library
components. Here is a list of them:
- \c `--disable-comm' - do not build the `Communications' module
- \c `--disable-fixed' - do not build the `Fixed-point' module
- \c `--disable-optim' - do not build the `Numerical optimisations' module
- \c `--disable-protocol' - do not include the `Protocols' module
- \c `--disable-signal' - do not build the `Signal processing' module
- \c `--disable-srccode' - do not build the `Source coding' module


\subsection external_libs External Libraries

By default, the \c `configure' script checks for a few external libraries,
which might be used by the IT++ library (cf. \ref requirements).
The detection procedure is as follows:
-# First, the presence of a BLAS library among MKL, ACML, ATLAS and
   NetLib's reference BLAS is checked. If one of the above mentioned can be
   used, \c HAVE_BLAS is defined.
-# Next, some LAPACK library is being searched, but only if BLAS is
   available. Full set of LAPACK routines can be found in the MKL, ACML and
   NetLib's reference LAPACK libraries. Besides, ATLAS contains a subset of
   optimised LAPACK routines, which can be used with NetLib's LAPACK library
   (this is described in the ATLAS documentation). If some LAPACK library
   can be found, \c HAVE_LAPACK is defined.
-# Finally, a set of separate checks for FFT libraries is executed.
   Currently three different libraries providing FFT/IFFT routines can be
   used: MKL, ACML and FFTW. If at least one of them is found, \c HAVE_FFT
   id defined. Besides, one of the following: \c HAVE_FFT_MKL, \c
   HAVE_FFT_ACML or \c HAVE_FFTW3 is defined, respectively.

If some external libraries are installed in a non-standard location in your
system, e.g. MKL in <tt>`/opt/intel/mkl/9.1'</tt>, the \c `configure' script
will not detect them automatically. In such a case, you should use LDFLAGS
and CPPFLAGS environment variables to define additional directories to be
searched for libraries (LDFLAGS) and include files (CPPFLAGS). For instance,
to configure IT++ to link to 32-bit versions of MKL 9.1 external libraries,
which is installed in <tt>`/opt/intel/mkl/9.1'</tt> directory, you should
use the following commands:

\verbatim
% export LDFLAGS="-L/opt/intel/mkl/9.1/lib/32"
% export CPPFLAGS="-I/opt/intel/mkl/9.1/include"
% ./configure
\endverbatim

Instead of CPPFLAGS, one can use \c `--with-fft-include=\<PATH\>' configure
option to set path to header files that provide FFT functionality, i.e. to
<tt>`fftw3.h'</tt>, <tt>`mkl_dft.h'</tt> or <tt>`acml.h'</tt>.

In the case that external libraries have non-standard names, e.g.
<tt>`libblas3.a'</tt> for BLAS, you might specify them to the configure
using \c `--with-\<LIBNAME\>' switches, where \c \<LIBNAME\> is one of the
following: \c `blas', \c `lapack' or \c `fft'. You might use
more than one library names by quoting them, e.g.

\verbatim
% ./configure --with-blas="-latlas -lblas"
\endverbatim

If there is only one library specified, you can use a simplified notation
without the preceding `-l', e.g. \c `--with-fft=fftw3' instead of \c
`--with-fftw=-lfftw3'.

Please refer to the documentation of your external libraries, to find out
what are the correct library names and paths on your architecture, operating
system, etc.

Since 4.0.3 release, the configure script provides a new \c
`--with-zdotu=\<method\>' option. It can be used to force the default
calling convention of BLAS \c `zdotu_' Fortran function. The BLAS libraries
built with g77 compiler do not return the complex result of a function, but
pass it via the first argument of the function. By using \c
`--with-zdotu=void' option, this approach can be forced (g77 compatible). On
the other hand, the libraries built with a newer gfortran compiler return
the complex result like a normal function does, but calling such interface
from C++ is not portable, due to incompatibilities between C++
complex<double> and Fortran's COMPLEX. Therefore in such case a Fortran
wrapper function \c `zdotusub_' can be used (\c `--with-zdotu=zdotusub'),
however it requires a working Fortran compiler. By default, IT++ tries to
guess the proper method based on the detected BLAS implementation. For
instance, the BLAS library provided by Intel MKL works fine with the `void'
method. Eventually, if no Fortran compiler is available and the `void'
method can not be used, the \c zdotu_ BLAS function is not used at all and a
relevant warning message is displayed during the configuration step.

Although it is not recommended, you can intentionally prevent detection of
some external libraries. To do this you should use \c
`--without-\<LIBNAME\>' or \c `--with-\<LIBNAME\>=no', e.g.:

\verbatim
% ./configure --without-blas --without-lapack
\endverbatim


\subsection optimisation Optimisation Flags

It is recommended to set the CXXFLAGS environment variable with some
compiler- and platform-specific optimisation flags, before invoking the \c
`configure' command. Additionally, \c `-DNDEBUG' should be included in the
optimised CXXFLAGS, because it turns off all conditional assertion checks.
This will improve the computation performance of many IT++ functions. For
example, in the case of using the Intel Pentium 4 processor one might employ
the following flags:

\verbatim
% CXXFLAGS="-DNDEBUG -O3 -march=pentium4 -pipe" ./configure
\endverbatim

In the case of Sun's UltraSPARC 64-bit platform and GCC compiler, the flags
might be set as follows:

\verbatim
% export CXXFLAGS="-DNDEBUG -O3 -mcpu=v9 -m64 -pipe"
% ./confiugre
\endverbatim

If CXXFLAGS is not set in the environment, it will be initialised with
the default flags, i.e. <tt>"-DNDEBUG -O3 -pipe"</tt>.


\subsection config_status Configuration Status

When the configuration process is finished, a status message is displayed.
For instance, after having invoked the following configuration command

\verbatim
% ./configure --with-blas="-lblas"
\endverbatim

on a recent Gentoo Linux system with blas-atlas, lapack-atlas and fftw
packages installed, one can observe something like this:

\verbatim
------------------------------------------------------------------------------
itpp-4.0.3 library configuration:
------------------------------------------------------------------------------

Directories:
  - prefix ......... : /usr/local
  - exec_prefix .... : ${prefix}
  - includedir ..... : ${prefix}/include
  - libdir ......... : ${exec_prefix}/lib
  - datarootdir .... : ${prefix}/share
  - docdir ......... : ${datarootdir}/doc/${PACKAGE_TARNAME}

Switches:
  - debug .......... : no
  - exceptions ..... : no
  - html-doc ....... : yes
  - shared ......... : yes
  - static ......... : no
  - explicit deps .. : no
  - zdotu .......... : zdotusub

Documentation tools:
  - doxygen ........ : yes
  - latex .......... : yes
  - dvips .......... : yes
  - ghostscript .... : yes

Testing tools:
  - diff ........... : yes

Optional modules:
  - comm ........... : yes
  - fixed .......... : yes
  - optim .......... : yes
  - protocol ....... : yes
  - signal ......... : yes
  - srccode ........ : yes

External libs:
  - BLAS ........... : yes
    * MKL .......... : no
    * ACML ......... : no
    * ATLAS ........ : yes
  - LAPACK ......... : yes
  - FFT ............ : yes
    * MKL .......... : no
    * ACML ......... : no
    * FFTW ......... : yes

Compiler/linker flags/libs/defs:
  - CXX ............ : g++
  - F77 ............ : gfortran
  - CXXFLAGS ....... : -DNDEBUG -O3 -pipe
  - CXXFLAGS_DEBUG . :
  - CPPFLAGS ....... :
  - LDFLAGS ........ :
  - LIBS ........... : -lfftw3 -llapack -lblas

------------------------------------------------------------------------------
Now type 'make && make install' to build and install itpp-4.0.3 library
------------------------------------------------------------------------------

\endverbatim


\subsection compile_step Compilation

Now, it is time for compiling and linking the IT++ library. To do so, please
simply run the following command:

\verbatim
% make
\endverbatim

IT++ should compile without any errors or warnings. If this is not the case,
please report the problem on the IT++ Help forum at SourceForge. Please
include information about your OS, compiler version, external libraries and
their versions, etc.


\subsection test_step Testing the Compiled Library

It is recommended that you check if your library has been compiled and linked
properly and works as expected. To do so, you should execute the testing
process:

\verbatim
% make check
\endverbatim

As a result, you should obtain a similar report:

\verbatim
------------------------------------------------------------------------------
Test `array_test' PASSED.
------------------------------------------------------------------------------
Test `bessel_test' PASSED.
------------------------------------------------------------------------------

[...]

------------------------------------------------------------------------------
Test `window_test' PASSED.
------------------------------------------------------------------------------
Test `histogram_test' PASSED.
------------------------------------------------------------------------------
Test `stat_test' PASSED.
------------------------------------------------------------------------------
\endverbatim

Check if all the executed tests PASSED. If not, please report the problem on
the IT++ Help forum.


\subsection install_step Installation

Finally, you should install the compiled and linked library, include files
and HTML documentation (optionally) by typing:

\verbatim
% make install
\endverbatim

Depending on the \c PREFIX settings during configuration, you might need
the root (administrator) access to perform this step.

Eventually, you might invoke the following command

\verbatim
% make clean
\endverbatim

to remove all files created during compilation process, or even

\verbatim
% make distclean
\endverbatim

to remove all files generated by the \c `configure' script.


\section localinst How To Set Up a Local, Dual-config IT++ Installation without Being Root

This section presents a walkthrough of how to easily set up an IT++
environment without being root (all files are installed locally). The
installation results in two parallel versions of the IT++ library, one
version with debugging features enabled (this is slow in general but
can be valuable during the development phase) and one version which is
complied with maximum optimization. When compiling executables, one
can then easily generate two versions of a program: one for debugging
and one for maximum runtime efficiency. See the Makefile below for an
example.

The philosophy behind this installation is:
- to locally compile and install all required external libraries (LAPACK,
  BLAS and FFTW) from sources; this is because not all systems
  provide these libraries as ready to use binaries
- to install two parallel IT++ libraries: one optimized and one for
  debugging
- to use static linking only (this gives larger executables but is sometimes
  useful for debugging purposes)

The source code will reside in the directories itpp-external-3.0.0 and
itpp-4.0.0. The libraries will be created in the directories
it++external-3.0.0 and it++4.0.0.

The installation procedure goes as follows (\c $HOME can be replaced by any
directory where you have write access):
<ol>
<li> Download itpp-external-3.0.0.tar.bz2 and itpp-4.0.0.tar.bz2. Save
them in your \c $HOME directory, and unpack them:
\verbatim
% cd $HOME
% tar jzf itpp-external-3.0.0.tar.bz2
% tar jzf itpp-4.0.0.tar.bz2
\endverbatim
</li>

<li> Compile and install the external libs
\verbatim
% cd $HOME/itpp-external-3.0.0
% make distclean
% ./configure --prefix=$HOME/it++external-3.0.0 --disable-shared --enable-static
% make && make install
\endverbatim
</li>

<li> Compile and install the optimized and debugging IT++ libraries:
\verbatim
% export LDFLAGS=-L$HOME/it++external-3.0.0/lib
% export CPPFLAGS=-I$HOME/it++external-3.0.0/include
% cd $HOME/itpp-4.0.0
% make distclean
% ./configure --disable-shared --enable-static --enable-debug --prefix=$HOME/it++4.0.0
% make && make check && make install
\endverbatim
</li>

<li> Go to a temporary directory, and create the following program \c
example.cpp:
\code
#include <itpp/itsignal.h>

using namespace itpp;
using namespace std;

int main()
{
  for (int i = 0; i < 10; i++) {
    mat X = randn(500, 500);
    mat Z = chol(X * X.transpose());
    cout << Z(0, 0) << endl;
  }

  for (int i = 0; i < 10; i++) {
    cvec a = fft(randn_c(10000));
    cout << a(5) << endl;
  }

  it_assert_debug(1 == 0, "Debugging is on!");
}
\endcode

Also, in the same directory, create the following \c Makefile:
\verbatim
FLAGS_DEBUG = `$(HOME)/it++4.0.0/bin/itpp-config --debug --cflags`
FLAGS_OPT   = `$(HOME)/it++4.0.0/bin/itpp-config --cflags`

LIBS_DEBUG  = `$(HOME)/it++4.0.0/bin/itpp-config --debug --static --libs`
LIBS_OPT    = `$(HOME)/it++4.0.0/bin/itpp-config --static --libs`

example: example.cpp
	g++ $(FLAGS_DEBUG) example.cpp -o example_debug  $(LIBS_DEBUG)
	g++ $(FLAGS_OPT) example.cpp -o example_opt  $(LIBS_OPT)
\endverbatim

This \c Makefile produces two programs: \c example_opt and \c example_debug.
The former is optimized for performance but offers no debugging or
assertions. The latter includes debugging info and is compiled with all
assertions enabled (this generally gives "safe" but slow code).

Run \c make and try the programs \c example_opt and \c example_debug. If
this works the library is ready to use. (The program \c example_debug should
exit with an assertion error.) </li>

<li> If you want to conserve disk space, clean up all temporary files:
\verbatim
% cd $HOME/itpp-external-3.0.0
% make distclean
% cd $HOME/itpp-4.0.0
% make distclean
\endverbatim

To conserve even more diskspace (remove all sources) then do
\verbatim
% rm -rf $HOME/itpp-external-3.0.0
% rm -rf $HOME/itpp-4.0.0
\endverbatim
</li>
</ol>

Note: the \c make \c distclean commands in some steps may result in an error
message; just ignore this. But the command is recommended because it
guarantees that you start with a clean directory, in the event you would
repeat the installation procedure.


\section msvc IT++ Compilation and Installation using Microsoft Visual C++

It is possible to compile and link the IT++ library using the
<a href="http://msdn.microsoft.com/visualc/">Microsoft Visual C++ .NET</a>
(or Express) compiler and either
<a href="http://www.intel.com/cd/software/products/asmo-na/eng/perflib/mkl/">
Intel Math Kernel Library (MKL)</a> or
<a href="http://developer.amd.com/acml.aspx">AMD Core Math Library (ACML)</a>.

First, you need to install ACML or MKL in your system. If you decide to use
ACML, please download the library built with PGI compiler for Windows, e.g.
<tt>acml3.6.0-32-pgi.exe</tt> file for 32-bit systems. Please follow the
default installation steps of the ACML or MKL installer. After waiting a few
dozens of seconds you should have the chosen external libraries installed on
your computer. Finally, you need to set up a few environment variables, so
the library and include files can be found during compilation and linking of
the IT++ library. These environment variables are as follows:
- \c INCLUDE - specifies the path to header files, e.g.
  <tt>INCLUDE="C:\\Program Files\\AMD\\acml3.6.0\\pgi32\\include"</tt> for
  ACML 3.6.0 or
  <tt>INCLUDE="C:\\Program Files\\Intel\\MKL\\9.1\\include"</tt> for MKL 9.1
- \c LIB - specifies the path to library files, e.g.
  <tt>LIB="C:\\Program Files\\AMD\\acml3.6.0\\pgi32\\lib"</tt> or
  <tt>LIB="C:\\Program Files\\Intel\\MKL\\9.1\\ia32\\lib"</tt>
- \c PATH - specifies the runtime path to DLL libraries, e.g.
  <tt>PATH="C:\\Program Files\\AMD\\acml3.6.0\\pgi32\\lib"</tt> or
  <tt>PATH="C:\\Program Files\\Intel\\MKL\\9.1\\ia32\\bin"</tt>
.
Please note that the \c PATH environment variable is usually already defined,
so you should just append the runtime path to DLL libraries to the existing
\c PATH, using a semicolon as a separation character.

The next step is to compile and link the IT++ library. Assuming that you
have already downloaded and unpacked the IT++ package, you should find
the <tt>itpp_acml.vcproj</tt> and <tt>itpp_mkl.vcproj</tt> MSVC++ project
files in the <tt>win32</tt> directory. Depending on the installed external
library (ACML or MKL), open one of these project files in the MSVC++ IDE
environment. There are two default targets prepared for compilation and
linking: <tt>Debug</tt> and <tt>Release</tt>. The former can be used to
compile a non-optimised version of the library for debugging purposes,
named <tt>itpp_debug.lib</tt>, whereas the latter one should produce an
optimised library named <tt>itpp.lib</tt>, which is also used by test
programs. Both libraries will be created in <tt>win32\\lib</tt> directory.
IT++ should compile and link without any warnings or errors.

Last but not least, test programs can be compiled and linked to IT++ with
MKL or ACML by using the project files included
in <tt>win32\\itpp_mkl_tests</tt> or <tt>win32\\itpp_acml_tests</tt>
respectively. The resulting executable test files should be created
in <tt>win32\\bin</tt> directory. Currently there is no automated method for
comparing the output of these test programs with the reference files
(<tt>*.ref</tt>) located in <tt>tests</tt> directory.

To learn how to set up your own project for linking with the IT++ library
and ACML or MKL, please read the following manual: \ref msvc_linking.

*/