ACCESS-NRI / ESMValTool-workflow

2 stars 1 forks source link

Enable Julia recipes #102

Open rbeucher opened 1 year ago

rbeucher commented 1 year ago

I have tried to add the esmvaltool install Julia command to the ACCESS-MED conda build environment.

Pb is the packages are linked to the build environment and trigger that error:

�~T~T @ Base loading.jl:1261
ERROR: LoadError: InitError: could not load library "/jobfs/90067421.gadi-pbs/squashfs-root/opt/conda/access-med-0.1/lib/libpython3.10.so.1.0"
/jobfs/90067421.gadi-pbs/squashfs-root/opt/conda/access-med-0.1/lib/libpython3.10.so.1.0: cannot open shared object file: No such file or directory
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl ./libdl.jl:117
  [2] dlopen
    @ ./libdl.jl:116 [inlined]
  [3] __init__
    @ /g/data/xp65/public/apps/med_conda/envs/access-med-0.1/share/julia/packages/PyCall/ilqDX/src/pyinit.jl:149
  [4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1115
  [5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1061
  [6] _tryrequire_from_serialized(modkey::Base.PkgId, path::String, ocachepath::String, sourcepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1391
  [7] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base ./loading.jl:1494
  [8] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1783
  [9] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1660
 [10] macro expansion
    @ ./loading.jl:1648 [inlined]
 [11] macro expansion
    @ ./lock.jl:267 [inlined]
 [12] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1611
during initialization of module PyCall
in expression starting at /g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvaltool/diag_scripts/examples/diagnostic.jl:20
rbeucher commented 1 year ago

https://docs.juliahub.com/PackageCompiler/MMV8C/1.2.3/devdocs/relocatable_part_3.html

rbeucher commented 2 days ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.