Closed oschulz closed 4 months ago
Attention: Patch coverage is 0%
with 151 lines
in your changes are missing coverage. Please review.
Project coverage is 35.22%. Comparing base (
a4c1b00
) to head (fb3c66b
).
Files | Patch % | Lines |
---|---|---|
src/slurm.jl | 0.00% | 89 Missing :warning: |
src/workers.jl | 0.00% | 62 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Usage example: Allocate SLURM resources, e.g. via
salloc --ntasks=4 --cpus-per-task=8 --mem-per-cpu=8GB --time=1:00:00
Then start Julia within the shell started by salloc
:
julia
Then, in the Julia session, run
using LegendDataManagement
legend_addprocs()
Query workers:
using TypedTables
Table(LegendDataManagement.distributed_resources())
legend_addprocs()
should also work in a Julia process started via sbatch
.
Note: The SLURM options --cpus-per-task
and --mem-per-cpu
are currently required for legend_addprocs()
to work.
@theHenks