was: mktemp: failed to create directory via template ‘/local/tmp/tmp.XXXXXXXXXX’: No such file or directory; juliaup: command failed: mktemp -d RHEL 8, now "ERROR: add requires at least one package, ERROR: preferences file is missing or empty."
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
调研方向
从安装命令 ./juhpc 开始,并在 TMPDIR 指向缺失目录 /local/tmp 的情况下重现 RHEL 8 运行。跟踪临时的 juliaup 设置以及后续的 Julia 软件包安装步骤,然后明确在未提供任何偏好或 --postinstall 选项且集群模块有所不同时的预期行为。
由索引模型根据 Issue 内容生成。
描述
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?
- 主要语言
- Shell
- 星标
- 65
- 派生
- 4
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JuliaParallel/JUHPC 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
JuliaParallel/JUHPC#39 · 1 条评论 ·
-
First-time user observations and error可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
JuliaParallel/JUHPC#28 · 18 条评论 ·
查看 JuliaParallel/JUHPC 的全部 Issue
相似的 Issue
-
hermes-queue
难度 2/5 1-3 小时 新手友好度 82/100
chrisalunlloyd2-sudo/mindpalace#430 ·
维护者通常 1 天内回复
-
medium-priority plugin:leyline source:discussion
难度 2/5 1-3 小时 新手友好度 82/100
athola/claude-night-market#1305 ·
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100
ACCESS-NRI/containerised-environments-infra#143 ·
维护者通常 2 天内回复
-
3XX未关闭
难度 1/5 1 小时以内 新手友好度 88/100
-
[Other] Docker entrypoint refuses a MODEL_PATH folder of GGUF files when it holds no .strata file未关闭needs-format
难度 1/5 1 小时以内 新手友好度 88/100
Niko1221/Strata#6925 · 1 条评论 ·
维护者通常 5 天内回复