Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot run example files in leaf #121

Open
aspk opened this issue May 20, 2017 · 3 comments
Open

cannot run example files in leaf #121

aspk opened this issue May 20, 2017 · 3 comments

Comments

@aspk
Copy link

aspk commented May 20, 2017

Hi All,
I am new here. I have cuda and cuda nn installed with paths setup. I cannot run the example files for some reason.
Am I missing something?
System is Ubuntu 16.04
`akhileshsk@akhileshsk-home:$ cd rust_leaf_tutorials/leaf
akhileshsk@akhileshsk-home:
/rust_leaf_tutorials/leaf$ cargo run --release --no-default-features --features cuda --example benchmarks alexnet
Compiling linear-map v0.0.4
Compiling num-traits v0.1.37
Compiling pkg-config v0.3.9
Compiling winapi v0.2.8
Compiling byteorder v0.4.2
Compiling lazy_static v0.1.16
Compiling rustc-serialize v0.3.24
Compiling utf8-ranges v0.1.3
Compiling libc v0.2.23

Compiling log v0.3.7
Compiling rblas v0.0.11
Compiling capnp v0.6.2
Compiling winapi-build v0.1.1
Compiling regex-syntax v0.3.9
Compiling bitflags v0.3.3
Compiling num-integer v0.1.34
Compiling enum_primitive v0.1.1
Compiling rand v0.3.15
Compiling kernel32-sys v0.2.2
Compiling time v0.1.37
Compiling memchr v0.1.11
Compiling num-iter v0.1.33
Compiling cublas-sys v0.1.0
Compiling cudnn-sys v0.0.3
Compiling thread-id v2.0.0
Compiling thread_local v0.2.7
Compiling aho-corasick v0.5.3
Compiling cudnn v1.3.1
Compiling cublas v0.2.0
Compiling timeit v0.1.2
Compiling capnpc v0.6.2
Compiling num-bigint v0.1.37
Compiling num-complex v0.1.37
Compiling regex v0.1.80
Compiling num-rational v0.1.36
Compiling num v0.1.37
Compiling collenchyma v0.0.8
Compiling collenchyma-blas v0.2.0
Compiling collenchyma-nn v0.3.4
Compiling leaf v0.2.1 (file:///home/akhileshsk/rust_leaf_tutorials/leaf)
Compiling leaf v0.2.1
error[E0004]: non-exhaustive patterns: &mut Cuda(_) not covered
--> /home/akhileshsk/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/leaf-0.2.1/src/util.rs:28:11
|
28 | match mem {
| ^^^ pattern &mut Cuda(_) not covered

error[E0004]: non-exhaustive patterns: &Cuda(_) not covered
--> /home/akhileshsk/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/leaf-0.2.1/src/solvers/mod.rs:77:24
|
77 | match result.get(native.device()).unwrap() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern &Cuda(_) not covered

error: aborting due to 2 previous errors

error: Could not compile leaf.
Build failed, waiting for other jobs to finish...
error: build failed
akhileshsk@akhileshsk-home:/rust_leaf_tutorials/leaf$
akhileshsk@akhileshsk-home:
/rust_leaf_tutorials/leaf$ ^C
akhileshsk@akhileshsk-home:~/rust_leaf_tutorials/leaf$ `

@ehiggs
Copy link

ehiggs commented Jun 6, 2017

@dvigneshwer: This is not similar. capnproto is a dependency (as explained in the error message). #104 tracks the issue of making this an automatic part of the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@ehiggs @aspk and others