Skip to content

SETSM does not respect -threads argument #14

Open

Description

@liamtoney

I'm trying to run SETSM on a cluster where I need to control the number of threads being used. However, it seems like setsm always uses all threads available even when I specify the -threads option.

Investigating the source code, I don't see anywhere where the number of threads is being specified. Is this feature not implemented?

Activity

  1. liamtoney commented on Jul 9, 2024

    @liamtoney
    Author

    After learning that this feature is not implemented yet, I tried specifying the environment variable OMP_NUM_THREADS directly before my setsm command. This limits the threads as expected, e.g.

    OMP_NUM_THREADS=32 setsm <args>
    

    results in CPU usage of 3,200%. Some OpenMP guidance on this is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions