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

Problem with build in Julia 1.8.5 #21

Open
itk22 opened this issue Apr 27, 2023 · 1 comment
Open

Problem with build in Julia 1.8.5 #21

itk22 opened this issue Apr 27, 2023 · 1 comment

Comments

@itk22
Copy link

itk22 commented Apr 27, 2023

Hello,
I am trying to build the package in my Julia environment. I have used the following commands:

using Pkg 
Pkg.add(PackageSpec(url="https://github.com/kailaix/AdFem.jl", rev="master")) 

However, I get build errors for the following packages:
✗ SpecialFunctions
✗ HDF5
✗ MAT
✗ ADCME
✗ AdFem

Is there any chance you could help with this? The package looks like a great choice for the project I am working on currently and I would love to be able to use it. For reference, here is the output from running versioninfo() on my system:

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, tigerlake)
  Threads: 1 on 8 virtual cores
@itk22
Copy link
Author

itk22 commented Apr 27, 2023

I have now tried to do the same thing on Julia 1.4.1 and I am getting the following errors:

signal (6): Aborted
│ in expression starting at /home/igork/.julia/packages/ADCME/94vEM/deps/build.jl:70
│ gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
│ abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
│ jl_intref at /buildworker/worker/package_linux64/build/src/typemap.c:194 [inlined]
│ mtcache_hash_lookup at /buildworker/worker/package_linux64/build/src/typemap.c:255 [inlined]
│ jl_typemap_intersection_visitor at /buildworker/worker/package_linux64/build/src/typemap.c:545
│ jl_method_table_insert at /buildworker/worker/package_linux64/build/src/gf.c:1691
│ jl_insert_methods at /buildworker/worker/package_linux64/build/src/dump.c:2267 [inlined]
│ _jl_restore_incremental at /buildworker/worker/package_linux64/build/src/dump.c:3269
│ jl_restore_incremental at /buildworker/worker/package_linux64/build/src/dump.c:3314
│ _include_from_serialized at ./loading.jl:681
│ _require_from_serialized at ./loading.jl:748
│ _require at ./loading.jl:1039
│ require at ./loading.jl:927
│ require at ./loading.jl:922
│ _jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2144 [inlined]
│ jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2322
│ jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1700 [inlined]
│ call_require at /buildworker/worker/package_linux64/build/src/toplevel.c:399 [inlined]
│ eval_import_path at /buildworker/worker/package_linux64/build/src/toplevel.c:436
│ jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:656
│ jl_parse_eval_all at /buildworker/worker/package_linux64/build/src/ast.c:872
│ jl_load at /buildworker/worker/package_linux64/build/src/toplevel.c:872
│ include at ./client.jl:439
│ _jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2144 [inlined]
│ jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2322
│ jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1700 [inlined]
│ do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:369
│ eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:458
│ eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:409 [inlined]
│ eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:817
│ jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:911
│ jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:814
│ jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:764
│ jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:843
│ eval at ./boot.jl:331
│ _jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2144 [inlined]
│ jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2322
│ exec_options at ./client.jl:264
│ _start at ./client.jl:484
│ jfptr__start_2075.clone_1 at /home/igork/julia-1.4.1/lib/julia/sys.so (unknown line)
│ _jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2144 [inlined]
│ jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2322
│ jl_apply at /buildworker/worker/package_linux64/build/ui/../src/julia.h:1700 [inlined]
│ true_main at /buildworker/worker/package_linux64/build/ui/repl.c:96
│ main at /buildworker/worker/package_linux64/build/ui/repl.c:217
│ __libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
│ _start at /home/igork/julia-1.4.1/bin/julia (unknown line)
│ Allocations: 17883636 (Pool: 17879997; Big: 3639); GC: 20
│
│ Full log at /home/igork/.julia/packages/ADCME/94vEM/deps/build.log

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

1 participant