Commit 98d4ce1d authored by Martin Reinecke's avatar Martin Reinecke
Browse files

prepare for 0.19

parent 39f8c964
Pipeline #107805 passed with stages
in 18 minutes and 37 seconds
0.19.0:
- general:
- binary wheels can now be built and uploaded to PyPI; the installation
instructions have been updated accordingly. Please provide feedback in case
of problems!
- fft:
- C++ sources for FFT calculation now have their own subdirectory.
- new function `r2r_fftw`, which supports FFTW's halfcomplex storage scheme.
- new function `convolve_axis`, which performs efficient convolution of arrays
with arbitrary 1D kernels, optionally followed by zero-padding/truncation.
- C++ sources for FFT calculation now have their own subdirectory.
0.18.0:
......
......@@ -12,9 +12,8 @@ interface.
### Requirements
- [Python >= 3.7](https://www.python.org/)
- [pybind11](https://github.com/pybind/pybind11)
(only during compiling/installation)
- a C++17-capable compiler, e.g.
- only when compiling from source: [pybind11](https://github.com/pybind/pybind11)
- only when compiling from source: a C++17-capable compiler, e.g.
- `g++` 7 or later
- `clang++`
- MSVC 2019 or later
......@@ -33,18 +32,17 @@ DUCC can be installed using a simple `pip` invocation:
pip3 install --user ducc0
This will download the source package and compile it to a binary that is
optimized for the host CPU, but will probably not run on other computers
with slightly different CPUs.
In most cases this will download and install a binary wheel.
However, the performance of the installed package may not be optimal, since
the wheel has to work on all CPUs of a given architecture (e.g. x86_64) and
will therefore probably not use all features present in your local CPU.
At the cost of performance (typically factors of 1.5 to 2) it is possible to
generate a binary which will work on all CPUs of a given architecture (e.g.
x86_64). This can be done via
It is therefore recommended to install from source is possible, using the
command
DUCC0_OPTIMIZATION=portable pip3 install --user ducc0
pip3 install --no-binary ducc0 --user ducc0
NOTE: compilation of the code can take a significant amount of time
(several minutes).
NOTE: compilation can take a significant amount of time (several minutes).
Installing multiple versions simultaneously
......
......@@ -8,7 +8,7 @@ from setuptools import setup, Extension
import pybind11
pkgname = 'ducc0'
version = '0.18.0'
version = '0.19.0'
user_cflags = os.getenv("DUCC0_CFLAGS", "").split(" ")
user_cflags = [x for x in user_cflags if x != ""]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment