tianlanli commented on issue #16516: mxnet 0.10.0  compile fail
URL: 
https://github.com/apache/incubator-mxnet/issues/16516#issuecomment-543016458
 
 
   > `make -j8 USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 
USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1 > build.log 2>&1`
   > 
   > then :
   > 
   > `/incubator-mxnet/mshadow/mshadow/././half.h(19): error: class "__half" 
has no member "x"`
   > `Makefile:211: recipe for target 
'build/src/operator/tensor/elemwise_binary_op_extended_gpu.o' failed`
   > `make: *** [build/src/operator/tensor/sample_op_gpu.o] Error 1`
   > 
   > ` errors detected in the compilation of 
"/tmp/tmpxft_00005ec6_00000000-8_elemwise_binary_scalar_op_extended.compute_50.cpp1.ii".
 Makefile:211: recipe for target 
'build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o' failed 
make: *** [build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o] 
Error 1`
   > 
   > my cuda 10.1
   
   `make -j8 USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=0 USE_CUDNN=0 > build.log 
2>&1`
   
   then
   
   `/usr/bin/ld: 找不到 -lopenblas`
   
   but in config.mk
   `ADD_LDFLAGS = -I/home/ll/software2/OpenBLAS/lib`
   `ADD_CFLAGS = -I/home/ll/software2/OpenBLAS/include`
   
   in my .bashrc
   `export PATH="/home/ll/software2/OpenBLAS/:$PATH"
   export 
PKG_CONFIG_PATH="/home/ll/software2/OpenBLAS/lib/pkgconfig:$PKG_CONFIG_PATH"
   export LD_LIBRARY_PATH="/home/ll/software2/OpenBLAD/lib:$LD_LIBRARY_PATH"`
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to