Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] an environment variable with same meaning than the -x option of mpiexec
From: Paul Kapinos (kapinos_at_[hidden])
Date: 2009-11-10 04:48:25


Hi Ralph,

> Not at the moment - though I imagine we could create one. It is a tad
> tricky in that we allow multiple -x options on the cmd line, but we
> obviously can't do that with an envar.

why not?

export OMPI_Magic_Variavle="-x LD_LIBRARY_PATH -x PATH"
cold be possible, or not?

> I can add it to the "to-do" list for a rainy day :-)
That would be great :-)

Thanks for your help!

Paul Kapinos

>> with the -x option of mpiexec there is a way to distribute environmnet
>> variables:
>>
>> -x <env> Export the specified environment variables to the remote
>> nodes before executing the program.
>>
>>
>> Is there an environment variable ( OMPI_....) with the same meaning?
>> The writing of environmnet variables on the command line is ugly and
>> tedious...
>>
>> I've searched for this info on OpenMPI web pages for about an hour and
>> didn't find the ansver :-/
>>
>>
>> Thanking you in anticipation,
>>
>> Paul
>>
>>
>>
>>
>> --
>> Dipl.-Inform. Paul Kapinos - High Performance Computing,
>> RWTH Aachen University, Center for Computing and Communication
>> Seffenter Weg 23, D 52074 Aachen (Germany)
>> Tel: +49 241/80-24915
>> _______________________________________________
>> 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
>

-- 
Dipl.-Inform. Paul Kapinos   -   High Performance Computing,
RWTH Aachen University, Center for Computing and Communication
Seffenter Weg 23,  D 52074  Aachen (Germany)
Tel: +49 241/80-24915