Closed Lightup1 closed 10 months ago
I consulted the administrator of our HPC. They tried other software based on MPI. No problems found.
Don't understand what causes this error. I've tried to add export JULIA_WORKER_TIMEOUT=6000
. Nothing happened. Got the same error messages.
With @async addprocs(SlurmManager(),exeflags=["--project=.", "-t$(ENV["SLURM_CPUS_PER_TASK"])", "--color=yes","--startup-file=no"])
, the MRE will pass but if you further add code like
@everywhere using Unitful
@everywhere module MyUnits
using Unitful
@unit mpr "mpr" ProtonMass 1u"mp" false
@unit ec "ec" ElementaryCharge 1u"q" false
@unit Vu "Vu" VoltageUnit 1u"μm^2/μs^2"*1mpr/1ec false
@unit Fu "Fu" FaradUnit 1ec/1Vu false
end
You encounters:
ERROR: LoadError: On worker 2:
UndefVarError: `Unitful` not defined
set longer launch_time solve the problem.
versioninfo():
Minimal reproducible example:
error messeag: