Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Query name of appfile
From: Reuti (reuti_at_[hidden])
Date: 2013-09-17 09:26:37

Am 17.09.2013 um 14:35 schrieb Bontus, Claas:

> Starting an MPI run via
> mpirun --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 therein:

 -x file=baz -x server=foobar

in each line and use these in each of the applications. Well, yes - this would be hardcoded in some way.

-- Reuti

> Thanks
> claas
> ________________________________
> The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
> _______________________________________________
> users mailing list
> users_at_[hidden]