You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an issue stemmed from #1180 and details how to install and work with Julia and not use the conda-forge installation since that one is dead now (installing it from conda results in a ton of issues, try it yourself!). So, non-conda julia install:
wget https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-1.0.3-linux-x86_64.tar.gz
tar xfz julia-*-linux-x86_64.tar.gz
ln -s $PWD/julia-*/bin/julia $HOME/$ANACONDA/envs/esmvaltool/bin
which julia
julia --help
julia esmvaltool/install/Julia/setup.jl
softlinking Julia to the $ANACONDA bin is important so that the diagnostic picks up the executable; $ANACONDA is just your anaconda3 repo
If you are behind a firewall (like on Jasmin) you will see something like:
(esmvaltool) [valeriu@jasmin-sci2 esmvaltool]$ julia esmvaltool/install/Julia/setup.jl
┌ Info: Installing the packages from
└ scriptDir * "/julia_requirements.txt" = "/home/users/valeriu/esmvaltool/esmvaltool/install/Julia/julia_requirements.txt"
┌ Info: Installing
└ pkgName = "ArgParse"
Cloning default registries into /home/users/valeriu/.julia/registries
Cloning registry General from "https://github.com/JuliaRegistries/General.git"
ERROR: LoadError: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:OS, failed to truncate pack file '/home/users/valeriu/.julia/registries/General/.git/objects/pack/pack_git2_COqrfy': Permission denied)
Stacktrace:
[1] pkgerror(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:120
[2] #clone#2(::String, ::Base.Iterators.Pairs{Symbol,LibGit2.CachedCredentials,Tuple{Symbol},NamedTuple{(:credentials,),Tuple{LibGit2.CachedCredentials}}}, ::Function, ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GitTools.jl:107
[3] #clone at ./none:0 [inlined]
...blah blah...
that is easily fixable by shoving in the General index via a simple git clone:
This is an issue stemmed from #1180 and details how to install and work with Julia and not use the
conda-forge
installation since that one is dead now (installing it from conda results in a ton of issues, try it yourself!). So, non-conda julia install:softlinking Julia to the
$ANACONDA
bin is important so that the diagnostic picks up the executable;$ANACONDA
is just your anaconda3 repoIf you are behind a firewall (like on Jasmin) you will see something like:
that is easily fixable by shoving in the
General
index via a simplegit clone
:and then repeating the installation of the required packages.
We need this info in the documentation...
The text was updated successfully, but these errors were encountered: