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

Cleanup Rust-Enzyme history #58

Merged
merged 0 commits into from
Oct 29, 2023
Merged

Cleanup Rust-Enzyme history #58

merged 0 commits into from
Oct 29, 2023

Conversation

ZuseZ4
Copy link
Member

@ZuseZ4 ZuseZ4 commented Oct 26, 2023

Co-authored-by: Lorenz Schmidt git@lorenzschmidt.com
Co-authored-by: William Moses gh@wsmoses.com

@jedbrown
Copy link

I feel like something must be wrong with my build, but I did a clean rebuild and still get this

$ cargo +enzyme run --example rosenbrock_fwd_iter --release
   Compiling autodiff v0.1.0 (/home/jeka2967/src/rust/library/autodiff)
rustc: /home/jeka2967/src/rust/build/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Support/Casting.h:109: static bool llvm::isa_impl_cl<To, const From*>::doit(const From*) [with To = llvm::Function; From = llvm::Value]: Assertion `Val && "isa<> used on a null pointer"' failed.
error: could not compile `autodiff` (example "rosenbrock_fwd_iter")

Caused by:
  process didn't exit successfully: `/home/jeka2967/.rustup/toolchains/enzyme/bin/rustc --crate-name rosenbrock_fwd_iter --edition=2021 examples/rosenbrock_fwd_iter.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=191 --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto=fat -C metadata=4983acb0d4c34ba6 -C extra-filename=-4983acb0d4c34ba6 --out-dir /home/jeka2967/src/rust/library/autodiff/target/release/examples -L dependency=/home/jeka2967/src/rust/library/autodiff/target/release/deps --extern autodiff=/home/jeka2967/src/rust/library/autodiff/target/release/deps/libautodiff-ce5fd84e6160c809.so --extern macrotest=/home/jeka2967/src/rust/library/autodiff/target/release/deps/libmacrotest-077c25b59f9d5cb2.rlib --extern ndarray=/home/jeka2967/src/rust/library/autodiff/target/release/deps/libndarray-ab45183486aa94fb.rlib --extern proc_macro_error=/home/jeka2967/src/rust/library/autodiff/target/release/deps/libproc_macro_error-68e1ced06a489a5e.rlib --extern proc_macro2=/home/jeka2967/src/rust/library/autodiff/target/release/deps/libproc_macro2-18fe0c93d5ec1c40.rlib --extern quote=/home/jeka2967/src/rust/library/autodiff/target/release/deps/libquote-fefe17b6ea4489d9.rlib --extern syn=/home/jeka2967/src/rust/library/autodiff/target/release/deps/libsyn-2799f8f49ccb8a87.rlib --extern trybuild=/home/jeka2967/src/rust/library/autodiff/target/release/deps/libtrybuild-74e5f489757f0fe3.rlib` (signal: 6, SIGABRT: process abort signal)

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Oct 27, 2023

Thanks for reporting, I was also wondering if it's just my local build, or if either I or Enzyme core broke it.

@wsmoses, were there any changes to Enzyme core since your last uograde? I also got this error now once I fused all commits (and updated Enzyme along the way).

@wsmoses
Copy link
Member

wsmoses commented Oct 27, 2023

No there shouldn't have been any

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

Successfully merging this pull request may close these issues.

None yet

3 participants