Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OSX compilation and rename checkAffinity to qmc-check-affinity #1107

Merged
merged 4 commits into from
Oct 11, 2018

Conversation

ye-luo
Copy link
Contributor

@ye-luo ye-luo commented Oct 11, 2018

close #1105
The name change is suggested by #1020
I don't have access to any Mac. So the strategy is printing nothing.
Someone needs to check the compilation

@ye-luo ye-luo requested a review from prckent October 11, 2018 20:10
@ghost ghost assigned ye-luo Oct 11, 2018
@ghost ghost added the in progress label Oct 11, 2018
@markdewing
Copy link
Contributor

Should we choose one way of separating words in names, rather than mixing dashes and camel case?
A quick look through /usr/bin shows dashes seems to be the most common.
qmc-check-affinity?

@ye-luo ye-luo changed the title Fix OSX compilation and rename checkAffinity to qmc-checkAffinity Fix OSX compilation and rename checkAffinity to qmc-check-affinity Oct 11, 2018
@prckent
Copy link
Contributor

prckent commented Oct 11, 2018

Confirming that this now compiles on OSX. Checked with clang 6.0.1 (macports), no mpi. -1 is returned from qmc-check-affinity, as expected.

Copy link
Contributor

@prckent prckent left a comment

Choose a reason for hiding this comment

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

We'll need to update all the executable names consistently "qmc-". This is currently relevant given the effort on an "install" option.

@prckent prckent merged commit 9bafe2a into QMCPACK:develop Oct 11, 2018
@ghost ghost removed the in progress label Oct 11, 2018
@ye-luo ye-luo deleted the fix-and-rename-checkAffinity branch October 18, 2018 19:40
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.

checkAffinity does not build on OS X due to missing/undeclared sched_getcpu
3 participants