From 7d501e2bb93f08fe800a055d43ca229ebe3e2fbd Mon Sep 17 00:00:00 2001 From: Yi-Te Huang Date: Wed, 17 Jan 2024 10:36:52 +0800 Subject: [PATCH 1/2] runtest for Julia 1.10 --- .github/workflows/Runtests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Runtests.yml b/.github/workflows/Runtests.yml index 468bdd4f..850b00d7 100644 --- a/.github/workflows/Runtests.yml +++ b/.github/workflows/Runtests.yml @@ -21,6 +21,7 @@ jobs: matrix: # for Core functionalities julia-version: + - '1' - '1.9' os: - ubuntu-latest From cacb0c8e3d8949b4e7816634d4672fa34840edaa Mon Sep 17 00:00:00 2001 From: Yi-Te Huang Date: Wed, 17 Jan 2024 10:53:00 +0800 Subject: [PATCH 2/2] remove output messages in precompile process --- src/precompile.jl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/precompile.jl b/src/precompile.jl index 1df130ee..828e9fa9 100644 --- a/src/precompile.jl +++ b/src/precompile.jl @@ -14,14 +14,12 @@ PrecompileTools.@setup_workload begin # they belong to your package or not (on Julia 1.8 and higher) # precompile bath and exponents - @info "Precompiling Bath and Exponent..." bB[1:end] fB[1:end] for b in bB nothing end for b in fB nothing end # precompile HEOM matrices - @info "Precompiling HEOM Liouvillian superoperator matrices..." Ms = M_S(Hs; verbose=false) Mb = M_Boson(Hs, 2, bB; verbose=false, threshold=1e-6) Mfe = M_Fermion(Hs, 5, fB, EVEN; verbose=false, threshold=1e-8) @@ -29,19 +27,16 @@ PrecompileTools.@setup_workload begin Mbfe = M_Boson_Fermion(Hs, 2, 2, bB, fB; verbose=false, threshold=1e-6) # precompile Steadystate - @info "Precompiling steady state solver..." ados1 = SteadyState(Mfe; verbose=false) ados1 = SteadyState(Mfe, ρ0; verbose=false) E1 = Expect(Hs, ados1) # precompile evolution - @info "Precompiling time evolution solver..." ados2 = evolution(Mb, ρ0, 0:1:1; verbose=false) ados2 = evolution(Mb, ρ0, 1, 1; verbose=false) E2 = Expect(Hs, ados2) # precompile ADOs for the support of Base functions - @info "Precompiling Auxiliary Density Operators (ADOs)..." ados3 = ADOs(zeros(8), 2) length(ados3) getRho(ados3) @@ -51,9 +46,7 @@ PrecompileTools.@setup_workload begin for ad in ados3 nothing end # precompile Spectrum functions - @info "Precompiling solvers for calculating spectrum..." psd = PowerSpectrum( Mfo, ados1, d, [1]; verbose=false) dos = DensityOfStates(Mfo, ados1, d, [1]; verbose=false) end - @info "HierarchicalEOM precompilation complete" end \ No newline at end of file