Quality Testing

Quality is delighting customers

I am unable to compile lightgbm with flag -DUSE_GPU=1. I continue to get following error. Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)

Thinking it could be path issue, I tried following commands. sudo -E env "PATH=$PATH" cmake -DUSE_GPU=1

sudo -E env "PATH=$PATH" cmake -DUSE_GPU=1 -DOpenCL_LIBRARY=/usr/lib/libnvidia-opencl.so.396.37 -DOpenCL_INCLUDE_DIR=/usr/local/cuda-9.2/include/ ..

sudo -E env "PATH=$PATH" cmake -DUSE_GPU=1 -DOpenCL_LIBRARY=/usr/local/cuda-8.0/lib64/libOpenCL.so -DOpenCL_INCLUDE_DIR=/usr/local/cuda-8.0/include/ ..

sudo -E env "PATH=$PATH" cmake -DUSE_GPU=1 -DOpenCL_LIBRARY=/usr/local/cuda-9.0/lib64/libOpenCL.so -DOpenCL_INCLUDE_DIR=/usr/local/cuda-9.0/include/ ..

I also uninstalled / reinstalled, g++,gcc,cmake just to AWS certified  make sure something obvious is not stopping it from compiling.

Any ideas what else can be done?

Environment info Operating System: AWS Linux - Deep Learning AMI CPU: P8 -> 32 cores, 8 GPU C++/Python/R version: Python

Error Message: Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)

Views: 78

Reply to This

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2019   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service