2. Installation

The AMMP VEGA edition is included in the standard VEGA ZZ for Windows package in different versions to use the maximum power of your CPU:

Ammp.exe

Generic 586 version. It works with all Pentium-class or greater CPUs.

Ammp_686.exe

Intel Pentium Pro, Pentium II, Pentium III, AMD K6, K6-II and K6-III.

Ammp_k7.exe

AMD Athlon and Duron without SSE support.

Ammp_k7sse.exe

AMD Opteron, Athlon 64, Athlon FX, Athlon XP, Athlon MP,  Sempron and Duron with SSE support.

Ammp_p4.exe Intel Pentium IV.

It's also included the AmmpStart.exe program that is able to choose for you the more appropriate AMMP version. All these executables are placed in the VEGA ZZ installation directory and they are included in the standard AMMP VEGA edition package (see the Mingw32 directory).

 

2.1 Linux installation

No installation is required for the Linux version: just place the executable in your command directory (e.g. /usr/local/bin) or in another directory placed in the command path. Please remember to change the file permissions typing the command:

chmod 755 ammp

The standard package includes two AMMP versions: the first one is for 32 bit Linux distributions (Linux_86-32 directory) and the second one is for 64 bit Linux distributions. Both executables are built with CentOS 4.3 and they require the libc 6. If you need to rebuild the executable, please follow the next section.

 

2.2 Unix installation

This manual section shows the steps needed to install the AMMP VEGA edition package on Unix-like operating systems (e.g. IRIX, Linux, NetBSD, etc).

 

2.2.1 Building the AMMP VEGA edition package

The high portable source code allows to build the package virtually for any computer platform that has a standard ANSI C compiler and the Posix thread library (pthread). It's possible to find some minor compiling problems due to hardware differences. If you can’t solve these problems, please contact the Authors.

As first step, you must unpack the Ammp_XX.tar.gz file, using the gzip command. If this command is not available in your system, you can download it from any GNU software archive (see: http://www.opensource.org). The correct syntax is:

gzip –d Ammp_XX.tar.gz

the unpacked file (Ammp_XX.tar) created by gzip must be dearchived with tar command:

tar –xvf Ammp_XX.tar

A directory called Ammp will be created. Alternatively, you could use the commad tar -zxvf skipping the gzip step.

After this operation, change the current directory in ...Ammp/Version, where Version could be BCB for Windows (Borland C/C++ Builder 6), Linux_86-32 for x86 32 bit Linux, Linux_86-64 for x86 64 bit Linux, Mingw32 for Windows (gcc compiler), Unix for generic Unix. If your operating system is not directly supported, choose the Unix directory and edit the Makefile setting the CC variable to the compiler name (usually cc or gcc) and the CFLAGS variable for the best optimization (e.g. –O2).

In the command shell, type make and the AMMP executable will be compiled for your system.

 

2.2.2 Setting-up your Unix system

No installation is required for the Unix version: just place the executable in your command directory (e.g. /usr/local/bin) or in another directory placed in the command path.