[mpich-discuss] one question about run mpich2
Dave Goodell
goodell at mcs.anl.gov
Wed Sep 30 11:17:51 CDT 2009
The issue discussed in ticket #646 is basically a non-issue and
doesn't seem to actually be your problem. That ticket talks about
supporting /bin/env in addition to /usr/bin/env, or avoiding "env"-
type programs altogether.
As far as I can tell from re-reading this thread, your problem had to
do with your environment and your python installation, not your "env"
program. Can you post your $PATH value on each machine, the result
from running "which python" on each machine, the result from running "/
usr/bin/env python --version" on each machine, the result of running
"mpd &" on each machine, and the configure options that you used
when building MPICH2?
-Dave
On Sep 30, 2009, at 10:32 AM, Shangli Wu wrote:
> I still got the problem. I saw the ticket was closed. Is there any
> work
> around for this issue if you decide not to fix it?
>
> Thanks
>
> Shangli
>
> -----Original Message-----
> From: mpich-discuss-bounces at mcs.anl.gov
> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Pavan Balaji
> Sent: Tuesday, June 09, 2009 2:15 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] one question about run mpich2
>
>
> Hmm.. This seems to be a portability problem which we need to fix.
> I've
> opened a ticket for this:
> https://trac.mcs.anl.gov/projects/mpich2/ticket/646
>
> As a temporary solution, can you try running the following (bash)
> script
> on your MPICH2 directory and recompile:
>
> shell$ for i in `grep -r "/usr/bin/env" src/pm/mpd | cut -f1 -d':' |
> sort | uniq`; do cp $i t; cat $i | sed -e 's_/usr/bin/env_/bin/
> env_g' >
> t; mv t $i; done
>
> If you are using a different shell, you might need to modify the
> script
> appropriately.
>
> -- Pavan
>
> On 06/09/2009 12:59 PM, Shangli Wu wrote:
>> Both machines shows "/bin/env/"
>>
>> -----Original Message-----
>> From: mpich-discuss-bounces at mcs.anl.gov
>> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Pavan Balaji
>> Sent: Tuesday, June 09, 2009 1:57 PM
>> To: mpich-discuss at mcs.anl.gov
>> Subject: Re: [mpich-discuss] one question about run mpich2
>>
>>
>> Can you do a "which env" on your machine?
>>
>> -- Pavan
>>
>> On 06/09/2009 12:53 PM, Shangli Wu wrote:
>>> I install MPICH2 on one of my SUN box, everything is fine. I can
>>> compile/run the examples normally. I try to use mpd on another SUN
>>> machine, it says "/usr/bin/env: No such file or directory". I
>>> checked
>
>>> env, it was there. Did I miss something?
>>>
>>> By the way, I install MPICH2 under a shared directory for both of my
>>> SUN machines.
>>>
>>> Thanks
>>>
>>> Shangli
>>
>> --
>> Pavan Balaji
>> http://www.mcs.anl.gov/~balaji
>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
More information about the mpich-discuss
mailing list