Re: [OMPI users] Query name of appfile

2013-09-17 Thread Ralph Castain
Never seen anyone ask for that info, but I imagine we could provide it as some envar On Sep 17, 2013, at 6:26 AM, Reuti wrote: > Am 17.09.2013 um 14:35 schrieb Bontus, Claas: > >> Starting an MPI run via >> mpirun --app myappfile.app >> is there any way to obtain

Re: [OMPI users] Query name of appfile

2013-09-17 Thread Reuti
Am 17.09.2013 um 14:35 schrieb Bontus, Claas: > Starting an MPI run via > mpirun --app myappfile.app > is there any way to obtain at run-time the name of the appfile, the path and > server name where it is saved. As you have an appfile anyway, it's also possible to define environment variables

Re: [OMPI users] Query name of appfile

2013-09-17 Thread John Hearns
Not a good answer to your question but you could look for the child processes and look at /proc/$pid/cmdline and cwd Or just use pgrep -P $pidofmpirun This is not a good answer. I'm sitting at lunch - so an expert will be along in a minute with a good answer.

[OMPI users] Query name of appfile

2013-09-17 Thread Bontus, Claas
Starting an MPI run via mpirun --app myappfile.app is there any way to obtain at run-time the name of the appfile, the path and server name where it is saved. Thanks claas The information contained in this message may be confidential and legally protected