Changeset 837
- Timestamp:
- 02/23/10 17:53:40 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/tutorial/000install.dox
r782 r837 33 33 \li working C++ compiler, e.g. gcc on Linux, or Visual Studio on windows 34 34 \li CMake, a cross-platform build system, http://www.cmake.org 35 \li ITPP library, http://itpp.sourceforge.net/ which is a part of all major linux distributions, for its installation on Windows, see Section Windows.36 35 37 36 \section lin Linux … … 39 38 All prerequisities are available as binary packages for most distribution. E.g. for debian-based distributions, use 40 39 \code 41 apt-get install g++ cmake libitpp-dev40 apt-get install g++ cmake 42 41 \endcode 43 44 \note If you want to use mex files, you need to build IT++ from sources using the classi configure;make;make install.45 The necessary flags for configure for mex compilation are in file linux/configure_itpp.46 42 47 43 Compile the BDM library and its applications using … … 59 55 Make sure you have cmake installed. 60 56 61 Expert users are advised to download and compile their ITPP version following a guide on :62 http://itpp.sourceforge.net/current/installation.html 57 We are including latest stable code from IT++ which requires a implementation of BLAS and LAPACK routines. 58 The most convenient library is ACML which can be downloaded from AMD. 63 59 64 60 For convenience of the beginners, DLLS of the ACML and lib+include files for ITPP and ACML are … … 81 77 and run it. 82 78 79 * Alternatively, you can run CMake GUI and specify address to your \<bdm_dir\> 80 81 83 82 * It should generate build files for your compiler in the main BDM 84 83 directory … … 90 89 \section mac Mac OS X 91 90 92 All prerequisities for Mac OS X are avaliable except for ITPP, make sure you have them installed.91 All prerequisities for Mac OS X are avaliable, make sure you have them installed. 93 92 94 However, its compilation is straightforward. 95 96 1. Download the latest stable release from http://itpp.sourceforge.net 97 2. Compile it using script system/mac/itpp_compile.sh 98 99 The default cmake configuration is looking for itpp in directory mac/itpp, make sure you have symlinks to this directory. 100 101 If itpp compilation is successfull, you can run Cmake. Fill in the paths to your BDM directory, run Configure followed by Create. 93 Right now, Cmake configuration is hard-coded for one testing machine. Look for the paths in SetBDMEnv.cmake and correct them. 94 Open CMake GUI, clisk Configure followed by Create. 102 95 Configuration files for your favourite build environment should be created in the BDM directory. 103 96