Skip to content

Sysimage failure with Julia 1.6 #3

@bkmi

Description

@bkmi

Running the installation seems to cause a problem now. Using
julia version 1.6.2
Python 3.8.10

when running the installation process, these lines fail:

output = subprocess.run(
f"julia --project={JULIA_PROJECT} {JULIA_PROJECT}/sysimage.jl",
shell=True,
check=True,
capture_output=True,
)

...
Build Julia system image                                                                                                                                                                                           Traceback (most recent call last):                                                                                                                                                                                   File "<string>", line 1, in <module>                                                                                                                                                                               File "/home/ben/loc/lib/python3.8/site-packages/diffeqtorch/install.py", line 29, in install_and_test                                                                                               install_julia_sysimage()                                                                                                                                                                                         File "/home/ben/loc/lib/python3.8/site-packages/diffeqtorch/install.py", line 75, in install_julia_sysimage                                                                                         output = subprocess.run(                                                                                                                                                                                         File "/home/ben/loc/lib/python3.8/subprocess.py", line 516, in run                                                                                                                                  raise CalledProcessError(retcode, process.args,                                                                                                                                                                subprocess.CalledProcessError: Command 'julia --project=/home/ben/loc/lib/python3.8/site-packages/diffeqtorch/julia /home/ben/loc/lib/python3.8/site-packages/diffeqtorch/julia/sysimage.jl' returned non-zero exit status 1.

I shortened the path, but the error should still make sense. I ran the command myself:
julia --project=/home/ben/loc/lib/python3.8/site-packages/diffeqtorch/julia /home/ben/loc/lib/python3.8/site-packages/diffeqtorch/julia/sysimage.jl

I got the following output from julia:

Build system image
ERROR: LoadError: UndefVarError: create_sysimage not defined
Stacktrace:
[1] main()
@ Main ~/loc/lib/python3.8/site-packages/diffeqtorch/julia/sysimage.jl:32
[2] top-level scope
@ ~/loc/lib/python3.8/site-packages/diffeqtorch/julia/sysimage.jl:37
in expression starting at /home/ben/loc/lib/python3.8/site-packages/diffeqtorch/julia/sysimage.jl:37

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions