summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)Author
2020-07-02Add error checkWillem Jan Palenstijn
2020-07-02Add mode parameter to direct_FPBP3DAllard Hendriksen
This change allows additive forward and backprojections.
2020-07-02Check numpy array typeWillem Jan Palenstijn
2020-07-02Add python astra.experimental.direct_FP3D/BP3DWillem Jan Palenstijn
2020-07-02Refactor cython data3d object creation to prepareWillem Jan Palenstijn
2020-02-07Use numpy backward binary compatibility for conda packagesWillem Jan Palenstijn
We now only build a single package built with numpy 1.11.x for numpy>=1.11,<2 . There is no guarantee that every future numpy version covered by this will be compatible with numpy 1.11, but numpy checks this internally at run-time, and should report this (noisily) when this occurs.
2020-01-14Update python/numpy/cuda versions for condaWillem Jan Palenstijn
2019-09-27Increment version to 1.9.9devWillem Jan Palenstijn
2019-09-20Use conda compiler toolchain for conda buildsAllard Hendriksen
For both libastra and astra-toolbox: 1) We do not use script_env to set CC/CXX anymore, since the compilers are installed by conda. 2) The build string is made useful by including either the python+numpy version or the cudatoolkit version that the package was built with. 3) Some clean-up of build.sh in buildenv/ For libastra: 1) The libastra.so is built with the conda C/C++ compiler toolchain. This has two benefits: 1) The rpath of libastra.so is set to $ORIGIN, which makes linking easier for dependent packages. 2) libastra.so is linkable against ancient versions of glibc. With old versions of memcpy. 2) The C/C++ compiler version is fixed to 5.4.0 3) In libastra/build.sh, we rename $CONDA_PREFIX to $PREFIX. Apparently, this is how it is supposed to be done. For me, $CONDA_PREFIX was suddenly undefined. Why this was not a problem before, is unclear to me. 4) The cudatoolkit runtime dependency is pinned with pin_compatible 5) The libastra conda package now provides headers and .pc file. This is useful for building C++ packages that depend on astra. 6) Remove some old code related to cudatoolkit<8.0. For astra-toolbox: 1) astra-toolbox uses the conda-provided compilers 2) The compilers are fixed to version 7.3 3) Add boost to host requirements of astra-toolbox Notes on testing: - The libastra build has been tested with all versions of cudatoolkit - The astra-toolbox build has been tested with all provided versions of python after building a single cudatoolkit version of libastra. How to test this branch: - It should work by just editing `python/conda/linux_release/buildenv/build.sh`. Set BRANCH=CI-use-conda-c-compiler-toolchain URL=https://github.com/ahendriksen/astra-toolbox and run release.sh from the `python/conda/linux_release` directory.
2019-09-17Use recent version of conda during linux conda-buildAllard Hendriksen
This fixes the issue where cudatoolkit=8.0 would not install any more with recent versions of conda. Also, no corruption appears to take place while downloading packages.
2019-07-08Build updates for Debian 8 + CUDA10.1Willem Jan Palenstijn
Debian 7 is EOL, and CUDA 10.1 doesn't support its version of glibc. Hardcoded conda=4.6.14 for now, since 4.7.5 seems to be downloading corrupted packages when running in docker/linux-64.
2019-07-08Build updates for Win10 + VS2017 + CUDA9 + Matlab R2018bWillem Jan Palenstijn
2019-07-08Replace absolute path by relative path in builder.pyWillem Jan Palenstijn
A recent setuptools is using the full path as part of the name of the temporary build directory, which made the full temp path too long when called from conda-build in Windows.
2019-06-18Fix composite EMode enum order in experimental.pyxWillem Jan Palenstijn
2019-04-12Update conda builds for cuda 10 and numpy 1.16Willem Jan Palenstijn
2018-12-23Fix exception propagation in python dictToConfigWillem Jan Palenstijn
2018-12-12Remove unused array allocation in data3d.get_sharedWillem Jan Palenstijn
Thanks to @ahendriksen.
2018-11-07Fix python set_gpu_index default memory argumentWillem Jan Palenstijn
2018-11-01Loosen numpy dependency for conda packageWillem Jan Palenstijn
2018-09-25Add support for checking features at run-timeWillem Jan Palenstijn
2018-09-25Raise exception when setting GPU memory unrealistically smallWillem Jan Palenstijn
2018-08-31Avoid broken scipy package for testsWillem Jan Palenstijn
2018-08-31Drop numpy 1.12/1.13 packagesWillem Jan Palenstijn
Anaconda doesn't have these for python 3.7 apparently
2018-08-31Build for new cuda/python/numpy versionsWillem Jan Palenstijn
2018-08-28Split up PythonPluginAlgorithm filesWillem Jan Palenstijn
2018-08-28Make filename more consistentWillem Jan Palenstijn
2018-07-03Allow access to python plugin object via algorithm interfaceWillem Jan Palenstijn
2018-06-22Update authorsWillem Jan Palenstijn
2018-06-22Move CUDA include filesWillem Jan Palenstijn
2018-06-01Build for numpy 1.14Willem Jan Palenstijn
2018-01-24iMinds -> imecWillem Jan Palenstijn
2018-01-24Update copyright dateWillem Jan Palenstijn
2018-01-12Update contact emailWillem Jan Palenstijn
2018-01-09Improve postalignment functionWillem Jan Palenstijn
2018-01-09Fix comments for postalignment functionWillem Jan Palenstijn
2018-01-09Add geom_size, geom_2vec to main astra moduleWillem Jan Palenstijn
2018-01-09Add astra.test/astra_test functionWillem Jan Palenstijn
2018-01-09Check for CUDA support at run-time in use_cuda()Willem Jan Palenstijn
2017-11-22Merge branch 'master' into parallel_vecWillem Jan Palenstijn
2017-11-22Fix missing version update in conda meta.yamlWillem Jan Palenstijn
2017-11-22Add experimental accumulate_FP/BP/FDK python functionsWillem Jan Palenstijn
2017-11-22Update version to 1.9.0devWillem Jan Palenstijn
2017-11-22Merge branch 'master' into parallel_vecWillem Jan Palenstijn
2017-11-14Remove unused codeWillem Jan Palenstijn
2017-11-06Update version to 1.8.3Willem Jan Palenstijn
2017-11-06Add workaround for apparently broken mkl/win-64 conda packageWillem Jan Palenstijn
2017-11-06Add libastra/linux-64 conda package variants for cudatoolkitWillem Jan Palenstijn
Also upgrade the Docker-based linux release scripts to match.
2017-11-01Add basic post-install python testsWillem Jan Palenstijn
2017-11-01Move set_gpu_index, get_gpu_info from astra.astra to astraWillem Jan Palenstijn
2017-11-01Separate cuda from astra headers furtherWillem Jan Palenstijn