Skip to content

Cannot open a trajectory file when concatenating many files using many threads #20

@Ladme

Description

@Ladme

When analyzing a large number of trajectory files (~160) using multiple threads (~8), gorder v1.4.1 exits with a ReadTrajError::FileNotFound error, e.g.:

error: file '../3_md/storage/md0146.xtc' was not found or could not be read as a trajectory file

On rerun, a different file is reported as unreadable. The files themselves appear valid - molly reads them without error and molly --info returns correct trajectory properties.


This happens because we are hitting a file descriptor limit. On Linux, this can be avoided by setting this limit to a higher value, e.g. ulimit -n 4096.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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