Using srun
should be fine since that is the correct way of starting a job.
The workflow should work something like this:
salloc | sbatch # create resources.
julia> addprocs(SlurmManager(2)) # SlurmManager should inherit the outside allocation.
Using srun
should be fine since that is the correct way of starting a job.
The workflow should work something like this:
salloc | sbatch # create resources.
julia> addprocs(SlurmManager(2)) # SlurmManager should inherit the outside allocation.