CaffeOnSpark icon indicating copy to clipboard operation
CaffeOnSpark copied to clipboard

CaffeOnSpark run "make build",error!

Open n080509 opened this issue 9 years ago • 1 comments

Only caffe ,i run success but when i run CaffeOnSpark, "make build" ,it's error

and the inform as follow:

slave@128:~/CaffeOnSpark$ make build
cd caffe-public; make proto; make -j4 -e distribute; cd ..
make[1]: Entering directory /home/slave/CaffeOnSpark/caffe-public' make[1]: Nothing to be done forproto'.
make[1]: Leaving directory /home/slave/CaffeOnSpark/caffe-public' make[1]: Entering directory/home/slave/CaffeOnSpark/caffe-public'

add proto

cp -r src/caffe/proto distribute/

add include

cp -r include distribute/
mkdir -p distribute/include/caffe/proto
cp .build_release/src/caffe/proto/caffe.pb.h distribute/include/caffe/proto

add tool and example binaries

cp .build_release/tools/compute_image_mean.bin .build_release/tools/finetune_net .bin .build_release/tools/test_net.bin .build_release/tools/convert_imageset.bin .build_release/tools/extract_features.bin .build_release/tools/train_net.bin .b uild_release/tools/device_query.bin .build_release/tools/upgrade_net_proto_text. bin .build_release/tools/upgrade_net_proto_binary.bin .build_release/tools/upgra de_solver_proto_text.bin .build_release/tools/net_speed_benchmark.bin .build_rel ease/tools/caffe.bin distribute/bin
cp .build_release/examples/mnist/convert_mnist_data.bin .build_release/examples/ cifar10/convert_cifar_data.bin .build_release/examples/cpp_classification/classi fication.bin .build_release/examples/siamese/convert_mnist_siamese_data.bin dist ribute/bin

add libraries

cp .build_release/lib/libcaffe.a distribute/lib
install -m 644 .build_release/lib/libcaffe.so.1.0.0-rc3 distribute/lib
cd distribute/lib; rm -f libcaffe.so; ln -s libcaffe.so.1.0.0-rc3 libcaffe.so

add python - it's not the standard way, indeed...

cp -r python distribute/python
make[1]: Leaving directory `/home/slave/CaffeOnSpark/caffe-public'
export LD_LIBRARY_PATH="/home/y/lib64:/home/y/lib64/mkl/intel64:/home/slave/Caff eOnSpark/caffe-public/distribute/lib:/home/slave/CaffeOnSpark/caffe-distri/distr ibute/lib:/usr/lib64:/lib64 "; mvn -B package
[INFO] Scanning for projects...
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/ wagon-ssh-external/2.6/wagon-ssh-external-2.6.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-ssh-e xternal:2.6 or one of its dependencies could not be resolved: Failed to read art ifact descriptor for org.apache.maven.wagon:wagon-ssh-external:jar:2.6 @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.yahoo.ml:caffe:0.1-SNAPSHOT (/home/slave/CaffeOnSpark/ pom.xml) has 1 error
[ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-s sh-external:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-ssh-external:jar:2.6: Coul d not transfer artifact org.apache.maven.wagon:wagon-ssh-external:pom:2.6 from/t o central (https://repo.maven.apache.org/maven2): sun.security.validator.Validat orException: PKIX path building failed: sun.security.provider.certpath.SunCertPa thBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerE xception
make: *** [build] Error 1

n080509 avatar Jul 25 '16 11:07 n080509

maven issue, same as https://github.com/yahoo/CaffeOnSpark/issues/124

junshi15 avatar Jul 27 '16 20:07 junshi15