nlesc-sherlock / emma

Ansible playbook to create a cluster with GlusterFS, Docker, Spark and JupyterHub services
Apache License 2.0
3 stars 4 forks source link

Pdal role fails when building pdal 1.7.2 from source #138

Closed meiertgrootes closed 4 years ago

meiertgrootes commented 4 years ago

When using lokum and a ubuntu 18.04 system the pdal role fails when using vanilla Emma/pdal role. This is caused by the python plugin failing to build. In turn, a result of the default python being 2.7 while numpy is not installed in common role, certainly for python 2.7.

this can be addressed by adding -DPYTHON_EXECUTABLE=/usr/bin/python3 to the CMake command in the role.

Overall, migrating to Python 3 may be desirable for future compatibility.

meiertgrootes commented 4 years ago

just to draw your attention @fdiblen @sverhoeven