Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fail to make -j4 on Centos, all dependencies are installed already #3324

Closed
wanghaisheng opened this issue Sep 19, 2016 · 2 comments
Closed

Comments

@wanghaisheng
Copy link

config.mk

.......
USE_BLAS = openblas
ADD_CFLAGS = -L /opt/OpenBLAS/bin
ADD_LDFLAGS = -L /opt/OpenBLAS/lib

openBLAS

[wanghs@db2 OpenBLAS]$ ls /opt/OpenBLAS/
bin  include  lib
[wanghs@db2 OpenBLAS]$ cat /etc/profile
.....
export OPENBLAS_NUM_THREADS=32

error detail

make -j$(nproc)
In file included from /home/wanghs/ocr/mxnet/mshadow/mshadow/tensor.h:16:0,
                 from src/ndarray/./ndarray_function.h:10,
                 from src/ndarray/ndarray_function.cc:8:
/home/wanghs/ocr/mxnet/mshadow/mshadow/./base.h:136:23: 致命错误:cblas.h:没有那个文件或目录
     #include <cblas.h>


@tornadomeet
Copy link
Contributor

ADD_CFLAGS = -I /opt/OpenBLAS/include, CFLAGS is not for bin, but for include head files.

@wanghaisheng
Copy link
Author

thx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants