Repository navigation
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 ? |
Replies: 3 comments
|
Does the CMake run without explicitly specifying your openblas and lapack locations? |
|
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 ? |
|
Locating openblas should happen automatically with cmake. You can override with |
Locating openblas should happen automatically with cmake. You can override with
OpenBLAS_INCLUDE_DIRvariable https://github.com/apache/incubator-mxnet/blob/master/cmake/ChooseBlas.cmake#L43