ESMValGroup / ESMValTool

ESMValTool: A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP
https://www.esmvaltool.org
Apache License 2.0
224 stars 128 forks source link

Julia example recipe `examples/recipe_julia.yml` crashes (again) #2836

Closed valeriupredoi closed 2 years ago

valeriupredoi commented 2 years ago
ERROR: LoadError: ArgumentError: Package YAML [ddb6d928-2868-570f-bddf-ab3f9cf99eb6] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

Stacktrace:
 [1] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1306
 [2] _require_prelocked(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1200
 [3] macro expansion
   @ ./loading.jl:1180 [inlined]
 [4] macro expansion
   @ ./lock.jl:223 [inlined]
 [5] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1144
in expression starting at /home/valeriu/ESMValTool/esmvaltool/diag_scripts/examples/diagnostic.jl:13

agh!

(coreRC2) valeriu@valeriu-PORTEGE-Z30-C:~$ conda list julia
# packages in environment at /home/valeriu/miniconda3/envs/coreRC2:
#
# Name                    Version                   Build  Channel
julia                     1.8.2                h6f5dd7c_0    conda-forge

no .julia and other monkeybusiness around. Can one of you fellas please test as well, just in case there is something wonky with me env? :beer:

valeriupredoi commented 2 years ago

OK 1.8.1 and 1.8.0 don't work either - fairly sure it's a package-level issue, @zklaus would you have some spare time look into this, please, mate? :beer:

bouweandela commented 2 years ago

The test https://github.com/ESMValGroup/ESMValTool/blob/d67068b8d565e0a5fbd423451f0d49003903f07e/tests/integration/test_diagnostic_run.py#L73 running a Julia diagnostic seems to be passing on CircleCI, the latest nightly run was successful.

remi-kazeroni commented 2 years ago

@valeriupredoi, I can't reproduce the issue you encountered. The examples/recipe_julia.yml runs successfully for me using ESMValCore: 2.7.0rc2 and the exact same julia package as you from conda forge:

# Name                    Version                   Build  Channel
julia                     1.8.2                h6f5dd7c_0    conda-forge

For past releases, I was the one not managing to run Julia recipes while others could do it successfully. Never really understood why... Perhaps you have an old Julia installation left somewhere...

valeriupredoi commented 2 years ago

Perfect! Thanks gents, if two tell me am drunk, then am off home :grinning: Am gonna close this then

Dr Valeriu Predoi. Computational scientist NCAS-CMS University of Reading Department of Meteorology Reading RG6 6BB United Kingdom

On Fri, 7 Oct 2022, 08:37 Rémi Kazeroni, @.***> wrote:

@valeriupredoi https://github.com/valeriupredoi, I can't reproduce the issue you encountered. The examples/recipe_julia.yml runs successfully for me using ESMValCore: 2.7.0rc2 and the exact same julia package as you from conda forge:

Name Version Build Channel

julia 1.8.2 h6f5dd7c_0 conda-forge

For past releases, I was the one not managing to run Julia recipes while others could do it successfully. Never really understood why... Perhaps you have an old Julia installation left somewhere...

— Reply to this email directly, view it on GitHub https://github.com/ESMValGroup/ESMValTool/issues/2836#issuecomment-1271225866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG5EFIZTNMF75NDYA542SLDWB7HMDANCNFSM6AAAAAAQ6VD3OI . You are receiving this because you were mentioned.Message ID: @.***>

valeriupredoi commented 2 years ago

I'd like to dig deeper into this and understand why the heck my runs fail on two different machines, but it's not the time now - plus, important is this is working for others, and not for me, am not giving two dimes on Julia :laughing:

valeriupredoi commented 2 years ago

no need to dig deeper - this one runs fine on DKRZ/Levante out of the box, the issues above are user-related :man_facepalming: