Does juliaup attempt to run a mktemp -d? I'm just setting TMP=/local which has 777 permissions.
./juhpc $JUHPC_SETUP_INSTALLDIR $JULIAUP_INSTALLDIR --verbose=2
██╗ ██╗ ██╗ ██╗ ██╗██████╗ ██████╗
██║ ██║ ██║ ██║ ██║██╔══██╗██╔════╝
██║ ██║ ██║ ███████║██████╔╝██║
██╗ ██║ ██║ ██║ ██╔══██║██╔═══╝ ██║
╚█████╔╝ ╚██████╔╝ ██║ ██║██║ ╚██████╗
╚════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═════╝
[ JUHPC: Starting installation of HPC setup for juliaup, julia and HPC key packages requiring system libraries...
[ JUHPC: Installing juliaup and julia temporarily in /local/juliaup...
mktemp: failed to create directory via template ‘/local/tmp/tmp.XXXXXXXXXX’: No such file or directory
juliaup: command failed: mktemp -d
[ JUHPC: ERROR: failed to install Juliaup (and Julia) in /local/juliaup.
[ JUHPC: cleaning up temporary juliaup installation in /local/juliaup.
EDIT: Well there was a start up script setting $TMPDIR to/local/tmpwhich does not exist after a reboot. I changed it to /local, which got past this error.
However the script terminates with:
2 dependencies successfully precompiled in 1 seconds. 3 already precompiled.
ERROR: add requires at least one package
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types /local/juliaup/depot/juliaup/julia-1.11.2+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Types.jl:68
[2] require_not_empty
@ /local/juliaup/depot/juliaup/julia-1.11.2+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/API.jl:140 [inlined]
[3] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, target::Symbol, allow_autoprecomp::Bool, kwargs::@Kwargs{io::IOContext{IO}})
@ Pkg.API /local/juliaup/depot/juliaup/julia-1.11.2+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/API.jl:258
[4] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{})
@ Pkg.API /local/juliaup/depot/juliaup/julia-1.11.2+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/API.jl:159
[5] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API /local/juliaup/depot/juliaup/julia-1.11.2+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/API.jl:148
[6] add(pkgs::Vector{String})
@ Pkg.API /local/juliaup/depot/juliaup/julia-1.11.2+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/API.jl:147
[7] top-level scope
@ none:1
[ JUHPC: ERROR: preferences file is missing or empty.
[ JUHPC: cleaning up temporary juliaup installation in /local/juliaup.
I didn't choose a preference nor--postinstallwhich the instructions say is optional.
What do folks do when only a few nodes have a GPU and different versions of OpenMPI or MPICH are loadable modules?