[1719211] signal (7.2): Bus error
in expression starting at /home/minlo/boson_haldane/n_1div2_todisk/run_dmrg_Dorder_savespace.jl:273
/var/spool/slurm/d/job1867643/slurm_script: line 41: 1719211 Bus error (core dumped) julia $1 $2
for sweep in 1:nsweep
for i in 1:1:N-1
psi0[i],psi0[i+1] =optimize_two_site(PH[i],PH[i+2],psi0[i],psi0[i+1],"right")
PH[i+1] = new_PHL(PH[i],psi0[i])
GC.gc()
end
for i in N-1:-1:1
tic = time()
psi0[i],psi0[i+1] =optimize_two_site(PH[i],PH[i+2],psi0[i],psi0[i+1],"left")
PH[i+1] = new_PHR(PH[i+2],psi0[i+1])
GC.gc()
end
end
从代码上看,在做optimized two site的时候应该会先执行等号右边的程序,进行读取,再执行左边,进行写入。
[1879238] signal (7.2): Bus error
in expression starting at /home/minlo/boson_haldane/n_1div2_todisk/run_dmrg_Dorder_savespace.jl:273
ht_keyindex2_shorthash! at ./dict.jl:299
getindex at ./essentials.jl:13 [inlined]
iterate at ./array.jl:893 [inlined]
Path at /home/minlo/.julia/packages/RelocatableFolders/URtlI/src/RelocatableFolders.jl:72
- at ./int.jl:86 [inlined]
length at ./range.jl:751 [inlined]
axes at ./range.jl:696 [inlined]
axes at ./generator.jl:52 [inlined]
_similar_shape at ./array.jl:659
#plot!#199 at /home/minlo/.julia/packages/Plots/kLeqV/src/plot.jl:211
plot! at /home/minlo/.julia/packages/Plots/kLeqV/src/plot.jl:208
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/julia.h:1880 [inlined]
do_call at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/interpreter.c:126
eval_value at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/interpreter.c:226
eval_stmt_value at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/interpreter.c:177 [inlined]
eval_body at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/interpreter.c:624
jl_interpret_toplevel_thunk at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/interpreter.c:762
jl_toplevel_eval_flex at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/toplevel.c:912
jl_toplevel_eval_flex at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/toplevel.c:856
ijl_toplevel_eval_in at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/toplevel.c:971
eval at ./boot.jl:370 [inlined]
include_string at ./loading.jl:1903
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
_include at ./loading.jl:1963
include at ./Base.jl:457
jfptr_include_40628.clone_1 at /home/minlo/.julia/juliaup/julia-1.9.4+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
exec_options at ./client.jl:307
_start at ./client.jl:522
jfptr__start_49509.clone_1 at /home/minlo/.julia/juliaup/julia-1.9.4+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/julia.h:1880 [inlined]
true_main at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/jlapi.c:573
jl_repl_entrypoint at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/jlapi.c:717
main at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/cli/loader_exe.c:59
__libc_start_main at /lib64/libc.so.6 (unknown line)
unknown function (ip: 0x4010b8)
Allocations: 1454829914 (Pool: 1452236604; Big: 2593310); GC: 97809
/var/spool/slurm/d/job1869797/slurm_script: line 41: 1879238 Bus error (core dumped) julia $1 $2