4 The source code of libaec is hosted at DKRZ GitLab.
6 ## Source code and binary releases
8 The latest releases of libaec can be downloaded at the following
11 https://gitlab.dkrz.de/k202009/libaec/tags
15 git clone https://gitlab.dkrz.de/k202009/libaec.git
21 ## General considerations
23 Libaec achieves the best performance on 64 bit systems. The library
24 will work correctly on 32 bit systems but encoding and decoding
25 performance will be much lower.
27 ## Installation from source code release with configure
29 The most common installation procedure on Unix-like systems looks as
32 Unpack the tar archive and change into the unpacked directory.
39 ## Installation from source code release with CMake
41 As an alternative, you can use CMake to install libaec.
43 Unpack the tar archive and change into the unpacked directory.
50 You can set options for compiling using the CMake GUI by replacing the cmake
55 or by setting the options manually, e.g.
57 cmake -DCMAKE_INSTALL_PREFIX=~/local ..
59 in order to set the install prefix to ~/local
61 CMake can also generate project files for Microsoft Visual Studio when
64 ## Installation from cloned repository
66 The configure script is not included in the repository. You can
67 generate it with autotools:
75 Also not included are CCSDS sample data which are needed for
76 testing. They have to be downloaded prior to running 'make check':
78 make update-sampledata
82 Intel compiler settings
83 =======================
85 The Intel compiler can improve performance by vectorizing certain
86 parts of the code on x86 architectures. Assuming your CPU supports
87 AVX2, the following options will increase encoding speed.
90 make CFLAGS="-O3 -xCORE-AVX2" bench
92 On a 3.4 GHz E3-1240 v3 we see more than 400 MiB/s for encoding
95 Using other SIMD instruction sets on older CPUs may also help.