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

Conda pcl 1.9.1 is not compiled with OMP #88

Open
VisionaryMind opened this issue May 24, 2021 · 1 comment
Open

Conda pcl 1.9.1 is not compiled with OMP #88

VisionaryMind opened this issue May 24, 2021 · 1 comment

Comments

@VisionaryMind
Copy link

The title of this issue is lacking, but the problem seems fairly straightforward. If I create a Conda environment that solves for PCL, pclpy, and other required dependencies for our project (e.g. Cudf / CuPy), PCL 1.9.1 is selected, and it does not appear to implement OpenMP.

Your primary example uses MovingLeastSquaresOMP, but this is not available in Conda with the PCL version selected (i.e. method not available). Before I proceed with a new compilation of 1.9 with OpenMP, I want to ask which version of Conda PCL you are using to expose the OMP methods to the pclpy wrapper.

@VisionaryMind
Copy link
Author

I can confirm that even by following the Readme directions to a tee to create a specific Conda environment with all necessary requirements, pclpy no longer has access to OMP methods. The error that is consistently thrown is:

AttributeError: module 'pclpy.pcl.surface' has no attribute 'MovingLeastSquaresOMP'

I have both downloaded and compiled PCL-1.9.1 from source separately, verifying that CMake is able to identify and use OpenMP as well as run the pclpy script download_pcl.sh in a Conda environment. In both cases, pclpy's wrapper is unable to surface the OMP methods.

To confirm this problem, I compiled a simple C++ implementation for the same OMP methods, and it works perfectly fine. I would prefer not to have to create a custom Python module for these methods, but it would seem we are left with few options.

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

No branches or pull requests

1 participant