GlobalSensitivity.jl error when precompiling

Hello,

I have a issue with GlobalSensitivity.jl not installing when I switch over to my Linux cluster. Frustratingly (or maybe fortunately), it seems to compile for me when I install on my Windows 10 laptop. In both cases, I am using v1.10.5. Long error message below, it is caused by a simple: using GlobalSensitivity line in my script (line 7 mentioned at the very end). Help appreciated.


ERROR: LoadError: MethodError: no method matching isless(::TaylorSeries.Taylor1{Float64}, ::TaylorSeries.Taylor1{Float64})

Closest candidates are:
  isless(!Matched::Missing, ::Any)
   @ Base missing.jl:87
  isless(::Any, !Matched::Missing)
   @ Base missing.jl:88

Stacktrace:
  [1] max(x::TaylorSeries.Taylor1{Float64}, y::TaylorSeries.Taylor1{Float64})
    @ Base ./operators.jl:476
  [2] ϕ(G::Copulas.ClaytonGenerator{Float64}, t::TaylorSeries.Taylor1{Float64})
    @ Copulas /hpfs/scratch/users/improve/julia-pkgs/
/packages/Copulas/e7UMO/src/Generator/UnivariateGenerator/ClaytonGenerator.jl:43
  [3] ϕ⁽ᵏ⁾(G::Copulas.ClaytonGenerator{Float64}, k::Int64, t::Float64)
    @ Copulas /hpfs/scratch/users/improve/julia-pkgs/
/packages/Copulas/e7UMO/src/Generator.jl:40
  [4] ϕ⁽ᵏ⁾(C::Copulas.ClaytonCopula{2, Float64}, k::Int64, t::Float64)
    @ Copulas /hpfs/scratch/users/improve/julia-pkgs/
/packages/Copulas/e7UMO/src/ArchimedeanCopula.jl:54
  [5] _logpdf(C::Copulas.ClaytonCopula{2, Float64}, u::Vector{Float64})
    @ Copulas /hpfs/scratch/users/improve/julia-pkgs/
/packages/Copulas/e7UMO/src/ArchimedeanCopula.jl:76
  [6] logpdf
    @ /hpfs/scratch/users/improve/julia-pkgs/
/packages/Distributions/uuqsE/src/common.jl:263 [inlined]
  [7] _pdf
    @ /hpfs/scratch/users/improve/julia-pkgs/
/packages/Distributions/uuqsE/src/common.jl:237 [inlined]
  [8] pdf(d::Copulas.ClaytonCopula{2, Float64}, x::Vector{Float64})
    @ Distributions /hpfs/scratch/users/improve/julia-pkgs/
/packages/Distributions/uuqsE/src/common.jl:222
  [9] macro expansion
    @ /hpfs/scratch/users/improve/julia-pkgs/
/packages/Copulas/e7UMO/src/Copulas.jl:150 [inlined]
 [10] macro expansion
    @ /hpfs/scratch/users/improve/julia-pkgs/
/packages/PrecompileTools/L8A3n/src/workloads.jl:78 [inlined]
 [11] macro expansion
    @ /hpfs/scratch/users/improve/julia-pkgs/
/packages/Copulas/e7UMO/src/Copulas.jl:119 [inlined]
 [12] macro expansion
    @ /hpfs/scratch/users/improve/julia-pkgs/
/packages/PrecompileTools/L8A3n/src/workloads.jl:140 [inlined]
 [13] top-level scope
    @ /hpfs/scratch/users/improve/julia-pkgs/
/packages/Copulas/e7UMO/src/Copulas.jl:116
 [14] include
    @ ./Base.jl:495 [inlined]
 [15] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base ./loading.jl:2222
 [16] top-level scope
    @ stdin:3
in expression starting at /hpfs/scratch/users/improve/julia-pkgs/
/packages/Copulas/e7UMO/src/Copulas.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile Copulas [ae264745-0b69-425e-9d9d-cf662c5eec93] to "/hpfs/scratch/users/improve/julia-pkgs/\r/compiled/v1.10/Copulas/jl_dBYU0V".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base ./loading.jl:2468
  [3] compilecache
    @ ./loading.jl:2340 [inlined]
  [4] (::Base.var"#968#969"{Base.PkgId})()
    @ Base ./loading.jl:1974
  [5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile /hpfs/pkpd-tools/amp/dev/cardioERM/tst/julia-1.10.5/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
  [6] #mkpidlock#6
    @ /hpfs/pkpd-tools/amp/dev/cardioERM/tst/julia-1.10.5/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
  [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile /hpfs/pkpd-tools/amp/dev/cardioERM/tst/julia-1.10.5/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
  [8] #invokelatest#2
    @ ./essentials.jl:894 [inlined]
  [9] invokelatest
    @ ./essentials.jl:889 [inlined]
 [10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base ./loading.jl:2983
 [11] maybe_cachefile_lock
    @ ./loading.jl:2980 [inlined]
 [12] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1970
 [13] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [14] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [15] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [16] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [17] macro expansion
    @ ./loading.jl:1790 [inlined]
 [18] macro expansion
    @ ./lock.jl:267 [inlined]
 [19] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [20] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [21] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [22] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
 [23] include
    @ ./Base.jl:495 [inlined]
 [24] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base ./loading.jl:2222
 [25] top-level scope
    @ stdin:3
in expression starting at /hpfs/scratch/users/improve/julia-pkgs/
/packages/GlobalSensitivity/fxoe7/src/GlobalSensitivity.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile GlobalSensitivity [af5da776-676b-467e-8baf-acd8249e4f0f] to "/hpfs/scratch/users/improve/julia-pkgs/\r/compiled/v1.10/GlobalSensitivity/jl_QVGlPL".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base ./loading.jl:2468
  [3] compilecache
    @ ./loading.jl:2340 [inlined]
  [4] (::Base.var"#968#969"{Base.PkgId})()
    @ Base ./loading.jl:1974
  [5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile /hpfs/pkpd-tools/amp/dev/cardioERM/tst/julia-1.10.5/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
  [6] #mkpidlock#6
    @ /hpfs/pkpd-tools/amp/dev/cardioERM/tst/julia-1.10.5/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
  [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile /hpfs/pkpd-tools/amp/dev/cardioERM/tst/julia-1.10.5/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
  [8] #invokelatest#2
    @ ./essentials.jl:894 [inlined]
  [9] invokelatest
    @ ./essentials.jl:889 [inlined]
 [10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base ./loading.jl:2983
 [11] maybe_cachefile_lock
    @ ./loading.jl:2980 [inlined]
 [12] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1970
 [13] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [14] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [15] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [16] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [17] macro expansion
    @ ./loading.jl:1790 [inlined]
 [18] macro expansion
    @ ./lock.jl:267 [inlined]
 [19] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [20] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [21] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [22] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
in expression starting at /hpfs/appscratch/improve/runserver/runs/work/improve/0AAFCD7FFEE34B129A1BF670AC7C2963/gsa.jl:7

Try isolating the issue to Copulas.jl, and then TaylorSeries.jl? It seems to be from one of the dependencies.

@Vaibhavdixit02 could we make that algorithm optional / an ext from Copulas? Seems like that dependency isn’t small.