Skip to content

Commit

Permalink
Fix ITensors.compile() (#439)
Browse files Browse the repository at this point in the history
Fix path to precompile statements.
  • Loading branch information
mtfishman authored Jun 24, 2020
1 parent ba093b5 commit 06fd62c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/packagecompile/compile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ function compile(; path::AbstractString = joinpath(ENV["HOME"],
println("""Creating the system image containing the compiled version of ITensors at "$path_filename". This may take a few minutes.""")
create_sysimage(:ITensors;
sysimage_path = path_filename,
precompile_execution_file = "precompile_itensors.jl")
precompile_execution_file = joinpath(@__DIR__,
"precompile_itensors.jl"))
println("""
The system image containing the compiled version of ITensors is located at "$path_filename". This is a version of Julia that is compiled with ITensors.
Expand Down

0 comments on commit 06fd62c

Please sign in to comment.