INSTALL 935 Bytes
Newer Older
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
1 2 3 4
============
Installation
============

Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
5 6
The most common installation procedure on Unix-like systems looks as
follows.
7 8 9 10 11

Unpack the tar archive and change into the unpacked directory.

  ./configure
  make check install
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
12 13 14 15 16 17 18


=======================
Intel compiler settings
=======================

The Intel compiler can improve performance by vectorizing certain
19 20
parts of the code on x86 architectures. Assuming your CPU supports
AVX2, the following options will increase encoding speed.
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
21 22

  ./configure CC=icc
23
  make CFLAGS="-O3 -xCORE-AVX2" bench
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
24

25 26 27 28
On a 3.4 GHz E3-1240 v3 we see more than 400 MiB/s for encoding
typical data.

Using other SIMD instruction sets on older CPUs may also help.
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
29 30 31 32 33 34 35 36 37

=======
Windows
=======

As an alternative way to build libaec you can use CMake. CMake can
also generate project files for Microsoft Visual Studio. This allows
you to build AEC.DLL and SZIP.DLL which can be used with the Windows
version of HDF5.