cd $CAFFE_ROOT
./data/mnist/get_mnist.sh
./examples/mnist/create_mnist.sh
Creating lmdb...
dyld: Library not loaded: libmkl_rt.dylib
Referenced from: /Users/andy/caffe/build/examples/mnist/convert_mnist_data.bin
Reason: image not found
./examples/mnist/create_mnist.sh: line 17: 3506 Trace/BPT trap: 5 $BUILD/convert_mnist_data.bin $DATA/train-images-idx3-ubyte $DATA/train-labels-idx1-ubyte $EXAMPLE/mnist_train_${BACKEND} --backend=${BACKEND}
dyld: Library not loaded: libmkl_rt.dylib
Referenced from: /Users/andy/caffe/build/examples/mnist/convert_mnist_data.bin
Reason: image not found
./examples/mnist/create_mnist.sh: line 19: 3507 Trace/BPT trap: 5 $BUILD/convert_mnist_data.bin $DATA/t10k-images-idx3-ubyte $DATA/t10k-labels-idx1-ubyte $EXAMPLE/mnist_test_${BACKEND} --backend=${BACKEND}
Done.
then,I run"locate libmkl_rt.dylib" and get these:
Andys-Mac-3:caffe Andy$ locate libmkl_rt.dylib
/Users/andy/anaconda/lib/libmkl_rt.dylib
/Users/andy/anaconda/pkgs/mkl-11.3.1-0/lib/libmkl_rt.dylib
/anaconda/lib/libmkl_rt.dylib
/anaconda/pkgs/mkl-11.3.1-0/lib/libmkl_rt.dylib
/opt/intel/composer_xe_2015.2.132/mkl/lib/libmkl_rt.dylib
I add all these paths to LD_LIBRARY_PATH and then run "echo $LD_LIBRARY_PATH" and get these:
Andys-Mac-3:caffe Andy$ echo $LD_LIBRARY_PATH
:/opt/intel/composer_xe_2015.2.132/mkl/lib:/opt/intel/composer_xe_2015.2.132/mkl/lib:/Users/andy/anaconda/lib:/Users/andy/anaconda/pkgs/mkl-11.3.1-0/lib:/anaconda/lib:/anaconda/pkgs/mkl-11.3.1-0/lib:/usr/local/cuda/lib
After that, I run "./examples/mnist/create_mnist.sh" again and still get :
Creating lmdb...
dyld: Library not loaded: libmkl_rt.dylib
Referenced from: /Users/andy/caffe/build/examples/mnist/convert_mnist_data.bin
Reason: image not found
./examples/mnist/create_mnist.sh: line 17: 3521 Trace/BPT trap: 5 $BUILD/convert_mnist_data.bin $DATA/train-images-idx3-ubyte $DATA/train-labels-idx1-ubyte $EXAMPLE/mnist_train_${BACKEND} --backend=${BACKEND}
dyld: Library not loaded: libmkl_rt.dylib
Referenced from: /Users/andy/caffe/build/examples/mnist/convert_mnist_data.bin
Reason: image not found
./examples/mnist/create_mnist.sh: line 19: 3523 Trace/BPT trap: 5 $BUILD/convert_mnist_data.bin $DATA/t10k-images-idx3-ubyte $DATA/t10k-labels-idx1-ubyte $EXAMPLE/mnist_test_${BACKEND} --backend=${BACKEND}
Done.
Have you solved your problem? I face the similar problem and if you solve it would you please tell me your solution?