How could I set the location of openblas/lapack when I compile mxnet from source? #16587
-
Hi, I installed openblas and lapack to /opt/openblas and /opt/lapack. When I compile mxnet from source I use this:
Then I got the error: -- Configuring incomplete, errors occurred! How could I let cmake find my openblas ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Does the CMake run without explicitly specifying your openblas and lapack locations? |
Beta Was this translation helpful? Give feedback.
-
For lapack, I modified the path at this line, which does not make sense For openblas, I have to change the folder name from /opt/openblas to /opt/OpenBLAS to make it work. Would you please show me how I could specify the locations explicitly ? |
Beta Was this translation helpful? Give feedback.
-
Locating openblas should happen automatically with cmake. You can override with |
Beta Was this translation helpful? Give feedback.
Locating openblas should happen automatically with cmake. You can override with
OpenBLAS_INCLUDE_DIR
variable https://github.com/apache/incubator-mxnet/blob/master/cmake/ChooseBlas.cmake#L43