Code Monkey home page Code Monkey logo

Comments (18)

rhc54 avatar rhc54 commented on June 9, 2024

Could you please give the referenced PR a try and see if it works for you?

from prrte.

tonycurtis avatar tonycurtis commented on June 9, 2024

It's still returning 0 no matter what the app does. Looks like it's actually saying "I started the app OK".

from prrte.

rhc54 avatar rhc54 commented on June 9, 2024

Think I chased it down - can you try again?

from prrte.

tonycurtis avatar tonycurtis commented on June 9, 2024

Thanks. Almost, but not quite :) If I exit with some +ve value, I do get that value back, but exit(0) leads to prun exiting with status "1".

from prrte.

rhc54 avatar rhc54 commented on June 9, 2024

Grrr...ok, try this one (had wrong default value)

from prrte.

tonycurtis avatar tonycurtis commented on June 9, 2024

Looks like that might be it. Thanks! But will test a bit more. Update: looks good.

from prrte.

rhc54 avatar rhc54 commented on June 9, 2024

Please reopen (or open a new one) if you find a continuing problem

from prrte.

tonycurtis avatar tonycurtis commented on June 9, 2024

Unwanted behaviour has reappeared. Exit status from prun is always "1" (where tested) when end-user app does "exit(anything)".

from prrte.

rhc54 avatar rhc54 commented on June 9, 2024

Rats - okay, will fix. Also need to take that fix upstream so we don't keep getting overwritten on sync.

from prrte.

rhc54 avatar rhc54 commented on June 9, 2024

Odd - I'm not replicating this. Can you perhaps check to ensure that you are at the current head? If so, then is there anything about your configure or execution that is unusual (e.g., parameters)?

from prrte.

tonycurtis avatar tonycurtis commented on June 9, 2024

(In real code, PMIx is master @ 58b2593abdfd8959d1eba0b4fd56758b9bca3afa)

PRRTE is master @ fa56e0b

MWE:

int main() { return 23; }

running bare:

$ ./a.out; echo $?
23

running through prun/prte:

$ prte ...
DVM ready


$ prun -n 1 ./a.out; echo $?
1

from prrte.

rhc54 avatar rhc54 commented on June 9, 2024

I'm not seeing it - using your provided test case:

$ prun -n 1 ./foo
$ echo $?
23

Our hashes look the same, so I'm confused. Can you check to ensure that you are getting the prte and prun you expected? Also, note that you had to rerun autogen/configure when updating due to a removed component in PRRTE plus configure updates.

from prrte.

tonycurtis avatar tonycurtis commented on June 9, 2024

Always do autogen each install. Am rm-rf'ing source and installed directories, re-cloning from github in case of bit-rot.

from prrte.

tonycurtis avatar tonycurtis commented on June 9, 2024

OK, re-clone anew, git HEAD is same hash: autogen, configure, make install, still seeing exit = 1. Correct (only) prte/prun are first on PATH.

from prrte.

rhc54 avatar rhc54 commented on June 9, 2024

Huh - I re-cloned and was finally able to replicate it. Will have to see what is perhaps lingering on my local repo.

from prrte.

rhc54 avatar rhc54 commented on June 9, 2024

Okay, issue was somehow something to do with the branch of PMIx master I'm using. Once that branch passes CI, I'll commit it to PMIx master - should do the trick.

from prrte.

rhc54 avatar rhc54 commented on June 9, 2024

You might try refreshing pmix master checkout now and see if it works. I'm rebuilding myself just to be sure

from prrte.

tonycurtis avatar tonycurtis commented on June 9, 2024

Looks good, thanks!

from prrte.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.