Skip to content

Are covariance matrix and log file entries written by every thread? #40

@kdolum

Description

@kdolum

At the end of updateChains is some code which writes to the chain file but only in thread 0 (unless you set writeHotChains). Then it writes cov.npy and outputs a log message, without checking that we are in thread 0. Does this mean that file and message will be written simultaneously by every thread? The seems like a bug.
I'm changing this code anyway in my fixes for #10, so I could change this also.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions