-
DescriptionI could not build with Error MessageTo Reproduce cmake_opts=(
-DBUILD_CPP_EXAMPLES:BOOL=OFF
-DBUILD_TESTING:BOOL=OFF
-DCMAKE_BUILD_TYPE:String=Release
-DCMAKE_EXE_LINKER_FLAGS="$(pkg-config --libs cblas)"
-DCMAKE_INSTALL_LIBDIR:PATH=lib
-DCMAKE_INSTALL_PREFIX:PATH=/usr
-DCMAKE_SHARED_LINKER_FLAGS="$(pkg-config --libs cblas)"
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
-DINSTALL_DOCUMENTATION:BOOL=OFF
-DUSE_BLAS=open
-DUSE_CPP_PACKAGE:BOOL=ON
-DUSE_DIST_KVSTORE:BOOL=ON
-DUSE_GPERFTOOLS:BOOL=OFF
-DUSE_JEMALLOC:BOOL=OFF
-DUSE_LAPACK:BOOL=ON
-DUSE_MKL_IF_AVAILABLE:BOOL=OFF
-DUSE_OPENMP:BOOL=ON
-DUSE_S3:BOOL=ON
)
cmake \
${cmake_opts[@]} \
-DCUDA_ARCH_LIST=${cudaarch} \
-DUSE_CUDA:BOOL=ON \
-DUSE_CUDNN:BOOL=ON \
-DUSE_MKLDNN:BOOL=ON \
-DUSE_NCCL:BOOL=ON \
-DUSE_OPENCV:BOOL=OFF \
..
make
cd ../python
python setup.py build --with-cython Environment infoSame as #15263 (comment) What have you tried to solve it?
|
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
@mxnet-label-bot update [Question, Build] |
Beta Was this translation helpful? Give feedback.
-
I also check #15981, but it seems it's not fixed yet. According to https://github.com/apache/incubator-mxnet/blob/master/CMakeLists.txt#L51, |
Beta Was this translation helpful? Give feedback.
-
Try building |
Beta Was this translation helpful? Give feedback.
-
@leezu Hey, I try rebuilt |
Beta Was this translation helpful? Give feedback.
-
@hubutui besides using the 64 bit ar with Also, for cmake, I find that using |
Beta Was this translation helpful? Give feedback.
-
You mean I could try with |
Beta Was this translation helpful? Give feedback.
-
the |
Beta Was this translation helpful? Give feedback.
-
@leezu You mean just append these two line to |
Beta Was this translation helpful? Give feedback.
the
,
is required