[mpich-discuss] one question about run mpich2
Pavan Balaji
balaji at mcs.anl.gov
Tue Jun 9 13:15:27 CDT 2009
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