| How to install and use |
Here is the list of packages to be installed before configuring
| src | rpm | deb | port (Mac) |
| libtool-2.2.4 | libtool-ltdl-devel | libtool-dev | libtool |
| gmp-4.3.1 | gmp-devel | libgmp-dev | gmp |
| mpfr-2.4.2 | mpfr-devel | libmpfr-dev | mpfr |
| readline-6.0 | readline-devel | libreadline-dev | readline |
| ncurses-5.7 | ncurses-devel | libncurses-dev | ncurses |
| blas | blas-devel | atlas(-sse2)(-dev) | blas |
| lapack-3.2.1 | lapack-devel | lapack | lapack |
| cddlib-094f | cddlib-devel | – | – |
| gf2x | gf2x | – | – |
| qt4 | qt4 | qt4 | – |
To construct the plugins for axel (AXL=ON), the following packages should be installed:
| src | rpm | deb | port (Mac) |
| axel | axel | – | – |
You can either
get the version under development with:
svn checkout svn://scm.gforge.inria.fr/svn/mmx/
or download a source distribution if it is available at
http://gforge.inria.fr/project/mmx
and uncompress it with:
tar zxvf mmx-0.1-Source.tar.gz
To run the configuration, cmake (version ⩾ 2.6) should first be installed.
Local installation. The package can be configured out-of-source (eg. in a folder build) as follows:
mkdir build; cd build; cmake <mmx_source_dir> make
where <mmx_source_dir> is the name of the folder of the package source (eg. ../mmx-0.1-Source or ../mmx),
Global installation. If you want to install it globally in your environment after it is compiled, you can run the following instructions (possibly with the superuser rights):
mkdir build; cd build; cmake <mmx_source_dir> -DCMAKE_INSTALL_PREFIX=<install_dir> make && make install
where <install_dir> is the folder where to install the package so that the libraries go in <install_dir>/lib; and the headers in <install_dir>/include. If not specified, the package is installed by default in /usr/local. For more details, on the different options see here.
To see the operations performed during the make command, you can use:
make VERBOSE=1
To see the other available targets, you can use:
make help
To run the configuration with configure as follows:
cd mmx ./configure make
For more details, on the different options see here.
In case you have not run make install, you can set up your environment locally in the folder build with:
source local_env
To use the package
find_package(Mmx) include_directories (${MMX_INCLUDE_DIR}) link_libraries (${MMX_LIBRARIES}) link_library_dir (${MMX_LIBRARY_DIR})