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: Ralph Castain (rhc_at_[hidden])
Date: 2013-09-17 10:23:10


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 <reuti_at_[hidden]> 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 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]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users