Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce memory requirements. #21

Open
wants to merge 2 commits into
base: feature/python3
Choose a base branch
from

Conversation

loudove
Copy link

@loudove loudove commented Apr 14, 2021

Add pyro.compute_3d_ voronoi method: reduce memory requirements, allow points exclusion from the calculation, and specify the properties to be retrieved for each cell.

The calculation is performed in a slightly different way so that the properties of each cell are retrieved right after its identification and not at the end of the tessellation.

loudove and others added 2 commits April 14, 2021 21:27
Add pyro.compute_3d_ voronoi method: reduce memory requirements, allow points exclusion from the calculation, and specify the properties to be retrieved for each cell.

The calculation is performed in a slightly different way so that the properties of each cell are retrieved right after its identification and not at the end of the tessellation.
@carlosal1015
Copy link

carlosal1015 commented Aug 7, 2023

Looks like is not working with python-3.11.3 @loudove

[pyvoro]$ python setup.py build_ext --inplace
/usr/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        ********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in future
        versions. Please use the underscore name 'description_file' instead.

        By 2023-Sep-26, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  opt = self.warn_dash_deprecation(opt, section)
running build_ext
building 'pyvoro.voroplusplus' extension
creating build
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/pyvoro
creating build/temp.linux-x86_64-cpython-311/src
gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -fPIC -Isrc -I/usr/include/python3.11 -c pyvoro/voroplusplus.cpp -o build/temp.linux-x86_64-cpython-311/pyvoro/voroplusplus.o
pyvoro/voroplusplus.cpp:6148:12: fatal error: longintrepr.h: No such file or directory
 6148 |   #include "longintrepr.h"
      |            ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/sbin/gcc' failed with exit code 1

Related with aio-libs/aiohttp#6600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants