Skip to content

OMP_NUM_THREADS is set default to 1 for all nodes because of AFNI interfaces #1728

Closed
@bpinsard

Description

@bpinsard

I have problem having multi-threaded (numpy MKL) code running on multiple cores when launched through nipype, but not outside nipype.
The faulty line here changes environment variable, thus affecting all other interface, even when submitted through plugin such as SGE:

os.environ['OMP_NUM_THREADS'] = str(self.num_threads)

I temporarily circumvented it, but how should it be changed?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions