Comments (18)
Could you please give the referenced PR a try and see if it works for you?
from prrte.
It's still returning 0 no matter what the app does. Looks like it's actually saying "I started the app OK".
from prrte.
Think I chased it down - can you try again?
from prrte.
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.
Grrr...ok, try this one (had wrong default value)
from prrte.
Looks like that might be it. Thanks! But will test a bit more. Update: looks good.
from prrte.
Please reopen (or open a new one) if you find a continuing problem
from prrte.
Unwanted behaviour has reappeared. Exit status from prun is always "1" (where tested) when end-user app does "exit(anything)".
from prrte.
Rats - okay, will fix. Also need to take that fix upstream so we don't keep getting overwritten on sync.
from prrte.
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.
(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.
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.
Always do autogen each install. Am rm-rf'ing source and installed directories, re-cloning from github in case of bit-rot.
from prrte.
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.
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.
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.
You might try refreshing pmix master checkout now and see if it works. I'm rebuilding myself just to be sure
from prrte.
Looks good, thanks!
from prrte.
Related Issues (20)
- v3.0.1 Release Checklist
- prte cleans the whole job when all job-local procs terminate at a given prted HOT 4
- example direct launch debugger tool HOT 2
- XML mapping utility HOT 3
- prrte 3.0.0 fails to build with pmix 4.2.3 HOT 2
- Question about mca parameter passing HOT 30
- add-hostfile not working on parallel prun commands HOT 20
- RMAPS round_robin bind_multiple issue HOT 1
- Compile failure with "missing separator" HOT 1
- `prte_stdint.h: error: conflicting types for 'intptr_t'; have 'int'` HOT 22
- pterm conflicts with putty HOT 35
- 3.0.2: autogen.pl script fails HOT 8
- mpirun/prte hang after application completion HOT 46
- pterm name collision HOT 1
- OMPI cmd line processing converts all single-dash options to double-dash HOT 3
- Problems dealing with shared TMPDIRs HOT 18
- mpirun --report-bindings segfault HOT 6
- v3.0.3 release checklist
- prted is missing an option '--allow-run-as-root'
- Enabling debugging options for prrte HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prrte.