-
Notifications
You must be signed in to change notification settings - Fork 900
cpu-list/pe-list not working in v5.0.x #10476
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
Comments
The man page is indeed out-of-date - not sure if/when it will be updated. A quick check of the code doesn't find any "ordered" option, although the mapper code does support it - I'll have to add it. The "pe-list" option had a bug in processing lists that included commas, but that has been fixed - could possibly be a question of what has gone back to PRRTE v2.1 release branch and whether or not that was captured in an update to OMPI. |
Ah okay, so I wait for the fix to land in ompi (maybe it already is in master, I didn't check.. I will). But from what I understand after pe-list is fixed, further fixing will still be required for the "ordered" stuff, so that the cpu list will function like it did in v4? Note also in the first example another possible typo: |
Agreed: the |
Actually, I have to correct myself - there is an "ordered" option and it should be working correctly. I'll check the translation and operation here in a bit as part of the mapper update. @jsquyres Someone over here perhaps can update that man page? I can provide advice if it would help. |
@rhc54 Yes. I actually have a draft email to you that I started after typing that response earlier this morning w.r.t. mpirun docs and our email earlier this week. Let me finish + send it to ya... |
I have this properly working now in my branch and will be opening a PR to bring it into PRRTE's master branch tomorrow. However, the options have changed. The
Should be available over the weekend. |
@gkatev Do you see this issue with 5.0.2? |
I tried
|
Indeed
But can I pin each rank to a different/single core? Should
|
Sure - all you have to do is add --map-by pe-list=0,3:ordered This will put the first process on core 0 and the second on core 3 on each node. Any time you specify a |
Perfect! - thanks - I think we're all good here. |
Hi, I'm trying to use the cpu-list functionality in v5.0.x (7d0750a), but I'm getting some errors. They do appear to be parsing/typo related to some extent.
In v4 I'm able to use
--cpu-list 0,4 --bind-to cpu-list:ordered
to run on cores 0 and 4. What would the intended equivalent of this in v5.0.x be?I assume that in such matters the information from mpirun's usage is generally considered more up-to-date than the (v5.0.x) man page?
The text was updated successfully, but these errors were encountered: