Skip to content

Output file is not populated in real time #4

@matthiasbe

Description

@matthiasbe

Consider the following julia script

#!/path/to/julia --project

using SlurmClusterManager
using Distributed

addprocs(SlurmManager())

i = 0
for i in 1:10
        sleep(1)
        fetch(@spawnat (workers()[i % length(workers()) + 1]) println(i))
end

When I run this on my local session, it prints every second.

When I run this on the cluster with the slurm manager, it print everything at the termination of the job. This makes it difficult to track the progress of the job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions