Skip to content

Conversation

@MathLabu
Copy link
Contributor

No description provided.

CMakeLists.txt Outdated
#--------------------
# DEPENDENCY: OpenMP (optional)
#--------------------
set(USE_OPEN_MP TRUE CACHE BOOL "Set to FALSE to not use OpenMP")
Copy link
Contributor

@HannesSommer HannesSommer Jul 31, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend to default to FALSE instead. Otherwise users will be running into mysterious performance changes of their systems (using more cores sometimes is actually slow and typically affects other processes running in parallel). See norlab-ulaval/libnabo#66 for a corresponding PR for libnabo.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I'll change that! (I took the code from the CMakeLists.txt of libnabo, this is why the default option was set to TRUE.)

@pomerlef pomerlef merged commit 2c8d526 into norlab-ulaval:master Jul 31, 2018
@pomerlef pomerlef deleted the fix/openmp branch July 31, 2018 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants