Build from source ended up with nothing


#1

I tried to build with below command line for 0.12.0 or 0.12.1, but both attempts ended up with nothing. No error messagewas presented but no successful notification was gotten. When I continue to make rpkg, I can read below message, but no package was created.

*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded

  • DONE (mxnet)
    rm -rf R-package/src/image_recordio.h

Command to make:
make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1 USE_MKL2017=1 MKL_2017_EXPRIEMENTAL=1

The last section of the information of building process is below.

a - build/src/operator/tensor/elemwise_unary_op_trig_gpu.o
a - build/src/operator/tensor/elemwise_sum_gpu.o
a - build/src/operator/tensor/elemwise_binary_op_basic_gpu.o
a - build/src/operator/tensor/elemwise_binary_op_logic_gpu.o
a - build/src/operator/tensor/init_op_gpu.o
a - build/src/operator/tensor/cast_storage_gpu.o
a - build/src/operator/tensor/elemwise_binary_scalar_op_logic_gpu.o
a - build/src/operator/tensor/broadcast_reduce_op_index_gpu.o
a - build/src/operator/tensor/dot_gpu.o
a - build/src/operator/tensor/elemwise_unary_op_basic_gpu.o
a - build/src/operator/tensor/control_flow_op_gpu.o
a - build/src/operator/tensor/broadcast_reduce_op_value_gpu.o
a - build/src/operator/tensor/elemwise_binary_broadcast_op_basic_gpu.o
a - build/src/operator/tensor/elemwise_binary_broadcast_op_extended_gpu.o
a - build/src/operator/tensor/elemwise_scatter_op_gpu.o
a - build/src/operator/tensor/indexing_op_gpu.o
a - build/src/operator/tensor/la_op_gpu.o
a - build/src/operator/tensor/sparse_retain_gpu.o
a - build/src/common/utils_gpu.o
a - build/src/ndarray/ndarray_function_gpu.o
a - build/src/operator/svm_output_gpu.o
a - build/src/operator/optimizer_op_gpu.o
a - build/src/operator/pooling_v1_gpu.o
a - build/src/operator/lrn_gpu.o
a - build/src/operator/slice_channel_gpu.o
a - build/src/operator/fully_connected_gpu.o
a - build/src/operator/sequence_mask_gpu.o
a - build/src/operator/softmax_activation_gpu.o
a - build/src/operator/pooling_gpu.o
a - build/src/operator/leaky_relu_gpu.o
a - build/src/operator/grid_generator_gpu.o
a - build/src/operator/identity_attach_KL_sparse_reg_gpu.o
a - build/src/operator/activation_gpu.o
a - build/src/operator/roi_pooling_gpu.o
a - build/src/operator/cudnn_batch_norm_gpu.o
a - build/src/operator/loss_binary_op_gpu.o
a - build/src/operator/regression_output_gpu.o
a - build/src/operator/make_loss_gpu.o
a - build/src/operator/upsampling_gpu.o
a - build/src/operator/sequence_reverse_gpu.o
a - build/src/operator/batch_norm_gpu.o
a - build/src/operator/dropout_gpu.o
a - build/src/operator/bilinear_sampler_gpu.o
a - build/src/operator/pad_gpu.o
a - build/src/operator/correlation_gpu.o
a - build/src/operator/instance_norm_gpu.o
a - build/src/operator/concat_gpu.o
a - build/src/operator/rnn_gpu.o
a - build/src/operator/convolution_v1_gpu.o
a - build/src/operator/crop_gpu.o
a - build/src/operator/spatial_transformer_gpu.o
a - build/src/operator/deconvolution_gpu.o
a - build/src/operator/swapaxis_gpu.o
a - build/src/operator/softmax_output_gpu.o
a - build/src/operator/batch_norm_v1_gpu.o
a - build/src/operator/l2_normalization_gpu.o
a - build/src/operator/sequence_last_gpu.o
a - build/src/operator/convolution_gpu.o
g++ -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/home/dc/mxnet/mshadow/ -I/home/dc/mxnet/dmlc-core/include -fPIC -I/home/dc/mxnet/nnvm/include -I/home/dc/mxnet/dlpack/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda/include -I/opt/intel/mkl/include -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMXNET_USE_MKL2017=1 -DUSE_MKL=1 -I/home/dc/mxnet/src/operator/mkl/ -I/usr/local/include -DMKL_EXPERIMENTAL=1 -DMXNET_USE_LAPACK -DMSHADOW_USE_CUDNN=1 -I/home/dc/mxnet/cub -DMXNET_USE_LIBJPEG_TURBO=0 -std=c++11 -o bin/im2rec tools/im2rec.cc build/src/operator/nn/softmax.o build/src/operator/mkl/mkl_cppwrapper.o build/src/operator/mkl/mkl_memory.o build/src/operator/random/sample_multinomial_op.o build/src/operator/random/multisample_op.o build/src/operator/random/sample_op.o build/src/operator/nnpack/nnpack_util.o build/src/operator/contrib/multibox_target.o build/src/operator/contrib/proposal.o build/src/operator/contrib/count_sketch.o build/src/operator/contrib/dequantize.o build/src/operator/contrib/deformable_psroi_pooling.o build/src/operator/contrib/fft.o build/src/operator/contrib/ctc_loss.o build/src/operator/contrib/multi_proposal.o build/src/operator/contrib/multibox_prior.o build/src/operator/contrib/psroi_pooling.o build/src/operator/contrib/quantize.o build/src/operator/contrib/deformable_convolution.o build/src/operator/contrib/ifft.o build/src/operator/contrib/multibox_detection.o build/src/operator/custom/native_op.o build/src/operator/custom/ndarray_op.o build/src/operator/custom/custom.o build/src/operator/tensor/elemwise_binary_broadcast_op_extended.o build/src/operator/tensor/elemwise_binary_op_logic.o build/src/operator/tensor/elemwise_binary_op_extended.o build/src/operator/tensor/square_sum.o build/src/operator/tensor/matrix_op.o build/src/operator/tensor/dot.o build/src/operator/tensor/elemwise_sum.o build/src/operator/tensor/init_op.o build/src/operator/tensor/elemwise_binary_broadcast_op_basic.o build/src/operator/tensor/cast_storage.o build/src/operator/tensor/elemwise_binary_scalar_op_logic.o build/src/operator/tensor/elemwise_scatter_op.o build/src/operator/tensor/elemwise_unary_op_basic.o build/src/operator/tensor/broadcast_reduce_op_value.o build/src/operator/tensor/elemwise_binary_op.o build/src/operator/tensor/ordering_op.o build/src/operator/tensor/elemwise_binary_op_basic.o build/src/operator/tensor/elemwise_binary_scalar_op_extended.o build/src/operator/tensor/indexing_op.o build/src/operator/tensor/elemwise_binary_broadcast_op_logic.o build/src/operator/tensor/la_op.o build/src/operator/tensor/broadcast_reduce_op_index.o build/src/operator/tensor/sparse_retain.o build/src/operator/tensor/control_flow_op.o build/src/operator/tensor/elemwise_binary_scalar_op_basic.o build/src/operator/tensor/elemwise_unary_op_trig.o build/src/io/io.o build/src/io/image_aug_default.o build/src/io/iter_image_det_recordio.o build/src/io/image_io.o build/src/io/image_det_aug_default.o build/src/io/iter_csv.o build/src/io/iter_image_recordio.o build/src/io/iter_mnist.o build/src/io/iter_image_recordio_2.o build/src/io/iter_libsvm.o build/src/common/rtc.o build/src/common/utils.o build/src/nnvm/legacy_op_util.o build/src/nnvm/legacy_json_util.o build/src/imperative/cached_op.o build/src/imperative/imperative.o build/src/ndarray/ndarray_function.o build/src/ndarray/ndarray.o build/src/operator/instance_norm.o build/src/operator/regression_output.o build/src/operator/loss_binary_op.o build/src/operator/rnn.o build/src/operator/convolution_v1.o build/src/operator/spatial_transformer.o build/src/operator/deconvolution.o build/src/operator/softmax_output.o build/src/operator/leaky_relu.o build/src/operator/operator_util.o build/src/operator/crop.o build/src/operator/sequence_reverse.o build/src/operator/swapaxis.o build/src/operator/sequence_last.o build/src/operator/correlation.o build/src/operator/make_loss.o build/src/operator/svm_output.o build/src/operator/operator.o build/src/operator/optimizer_op.o build/src/operator/lrn.o build/src/operator/pooling_v1.o build/src/operator/pad.o build/src/operator/fully_connected.o build/src/operator/batch_norm_v1.o build/src/operator/sequence_mask.o build/src/operator/concat.o build/src/operator/grid_generator.o build/src/operator/cudnn_algoreg.o build/src/operator/identity_attach_KL_sparse_reg.o build/src/operator/upsampling.o build/src/operator/bilinear_sampler.o build/src/operator/dropout.o build/src/operator/activation.o build/src/operator/slice_channel.o build/src/operator/cudnn_batch_norm.o build/src/operator/cross_device_copy.o build/src/operator/convolution.o build/src/operator/l2_normalization.o build/src/operator/roi_pooling.o build/src/operator/pooling.o build/src/operator/batch_norm.o build/src/operator/softmax_activation.o build/src/engine/profiler.o build/src/engine/naive_engine.o build/src/engine/threaded_engine_pooled.o build/src/engine/threaded_engine.o build/src/engine/engine.o build/src/engine/threaded_engine_perdevice.o build/src/storage/storage.o build/src/c_api/c_api_symbolic.o build/src/c_api/c_api_ndarray.o build/src/c_api/c_api_executor.o build/src/c_api/c_predict_api.o build/src/c_api/c_api_function.o build/src/c_api/c_api.o build/src/c_api/c_api_error.o build/src/executor/inplace_addto_detect_pass.o build/src/executor/infer_graph_attr_pass.o build/src/executor/graph_executor.o build/src/executor/attach_op_execs_pass.o build/src/executor/attach_op_resource_pass.o build/src/kvstore/kvstore.o build/src/resource.o build/src/initialize.o /home/dc/mxnet/dmlc-core/libdmlc.a /home/dc/mxnet/nnvm/lib/libnnvm.a build/src/operator/nn/softmax_gpu.o build/src/operator/random/sample_multinomial_op_gpu.o build/src/operator/random/multisample_op_gpu.o build/src/operator/random/sample_op_gpu.o build/src/operator/contrib/psroi_pooling_gpu.o build/src/operator/contrib/quantize_gpu.o build/src/operator/contrib/deformable_convolution_gpu.o build/src/operator/contrib/ifft_gpu.o build/src/operator/contrib/multibox_detection_gpu.o build/src/operator/contrib/multibox_target_gpu.o build/src/operator/contrib/proposal_gpu.o build/src/operator/contrib/count_sketch_gpu.o build/src/operator/contrib/fft_gpu.o build/src/operator/contrib/dequantize_gpu.o build/src/operator/contrib/deformable_psroi_pooling_gpu.o build/src/operator/contrib/ctc_loss_gpu.o build/src/operator/contrib/multibox_prior_gpu.o build/src/operator/contrib/multi_proposal_gpu.o build/src/operator/custom/native_op_gpu.o build/src/operator/tensor/elemwise_binary_op_extended_gpu.o build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o build/src/operator/tensor/elemwise_binary_scalar_op_basic_gpu.o build/src/operator/tensor/matrix_op_gpu.o build/src/operator/tensor/ordering_op_gpu.o build/src/operator/tensor/elemwise_binary_broadcast_op_logic_gpu.o build/src/operator/tensor/elemwise_unary_op_trig_gpu.o build/src/operator/tensor/elemwise_sum_gpu.o build/src/operator/tensor/elemwise_binary_op_basic_gpu.o build/src/operator/tensor/elemwise_binary_op_logic_gpu.o build/src/operator/tensor/init_op_gpu.o build/src/operator/tensor/cast_storage_gpu.o build/src/operator/tensor/elemwise_binary_scalar_op_logic_gpu.o build/src/operator/tensor/broadcast_reduce_op_index_gpu.o build/src/operator/tensor/dot_gpu.o build/src/operator/tensor/elemwise_unary_op_basic_gpu.o build/src/operator/tensor/control_flow_op_gpu.o build/src/operator/tensor/broadcast_reduce_op_value_gpu.o build/src/operator/tensor/elemwise_binary_broadcast_op_basic_gpu.o build/src/operator/tensor/elemwise_binary_broadcast_op_extended_gpu.o build/src/operator/tensor/elemwise_scatter_op_gpu.o build/src/operator/tensor/indexing_op_gpu.o build/src/operator/tensor/la_op_gpu.o build/src/operator/tensor/sparse_retain_gpu.o build/src/common/utils_gpu.o build/src/ndarray/ndarray_function_gpu.o build/src/operator/svm_output_gpu.o build/src/operator/optimizer_op_gpu.o build/src/operator/pooling_v1_gpu.o build/src/operator/lrn_gpu.o build/src/operator/slice_channel_gpu.o build/src/operator/fully_connected_gpu.o build/src/operator/sequence_mask_gpu.o build/src/operator/softmax_activation_gpu.o build/src/operator/pooling_gpu.o build/src/operator/leaky_relu_gpu.o build/src/operator/grid_generator_gpu.o build/src/operator/identity_attach_KL_sparse_reg_gpu.o build/src/operator/activation_gpu.o build/src/operator/roi_pooling_gpu.o build/src/operator/cudnn_batch_norm_gpu.o build/src/operator/loss_binary_op_gpu.o build/src/operator/regression_output_gpu.o build/src/operator/make_loss_gpu.o build/src/operator/upsampling_gpu.o build/src/operator/sequence_reverse_gpu.o build/src/operator/batch_norm_gpu.o build/src/operator/dropout_gpu.o build/src/operator/bilinear_sampler_gpu.o build/src/operator/pad_gpu.o build/src/operator/correlation_gpu.o build/src/operator/instance_norm_gpu.o build/src/operator/concat_gpu.o build/src/operator/rnn_gpu.o build/src/operator/convolution_v1_gpu.o build/src/operator/crop_gpu.o build/src/operator/spatial_transformer_gpu.o build/src/operator/deconvolution_gpu.o build/src/operator/swapaxis_gpu.o build/src/operator/softmax_output_gpu.o build/src/operator/batch_norm_v1_gpu.o build/src/operator/l2_normalization_gpu.o build/src/operator/sequence_last_gpu.o build/src/operator/convolution_gpu.o -pthread -lm -lcudart -lcublas -lcurand -lcusolver -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib -L/opt/intel/mkl/lib/intel64 -L/opt/intel/compiler/lib/intel64 -L/opt/intel/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -fopenmp -lrt /usr/lib/x86_64-linux-gnu/libopencv_calib3d.so -lopencv_calib3d /usr/lib/x86_64-linux-gnu/libopencv_contrib.so -lopencv_contrib /usr/lib/x86_64-linux-gnu/libopencv_core.so -lopencv_core /usr/lib/x86_64-linux-gnu/libopencv_features2d.so -lopencv_features2d /usr/lib/x86_64-linux-gnu/libopencv_flann.so -lopencv_flann /usr/lib/x86_64-linux-gnu/libopencv_gpu.so -lopencv_gpu /usr/lib/x86_64-linux-gnu/libopencv_highgui.so -lopencv_highgui /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so -lopencv_imgproc /usr/lib/x86_64-linux-gnu/libopencv_legacy.so -lopencv_legacy /usr/lib/x86_64-linux-gnu/libopencv_ml.so -lopencv_ml /usr/lib/x86_64-linux-gnu/libopencv_objdetect.so -lopencv_objdetect /usr/lib/x86_64-linux-gnu/libopencv_ocl.so -lopencv_ocl /usr/lib/x86_64-linux-gnu/libopencv_photo.so -lopencv_photo /usr/lib/x86_64-linux-gnu/libopencv_stitching.so -lopencv_stitching /usr/lib/x86_64-linux-gnu/libopencv_superres.so -lopencv_superres /usr/lib/x86_64-linux-gnu/libopencv_ts.so /usr/lib/x86_64-linux-gnu/libopencv_video.so -lopencv_video /usr/lib/x86_64-linux-gnu/libopencv_videostab.so -lopencv_videostab -L/usr/local/lib -Wl,–as-needed -lmklml_intel -lmklml_gnu -liomp5 -lcudnn -lcuda -lcufft -lnvrtc


GPU 9.0 MKL speed slowed down after reboot
#2

Hi DCYN,
Can you please provide me with some more details on why you think the build was not successful?
This looks like a successful build to me. Can you try doing an “import mxnet” in python?

Also, from where are you getting the src code? The R package is not released as a part of the official src tar.


#3

Hi mbaijal,

It didn’t work, and I got below message.
…/lib/libstdc++.so.6: version `CXXABI_1.3.8’ not found

I got the src via: git clone --recursive https://github.com/apache/incubator-mxnet

Thanks


#4

Solved. The CXXABI error is caused by the version in anaconda, which can be updated via:

conda update libgcc

Waiting for the official release of the R package.