Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error
From: PukkiMonkey (pukkimonkey_at_[hidden])
Date: 2012-03-01 01:34:53


What Jeff means is that because u didn't have echo "mpirun...>>outfile" but
echo mpirun....>>outfile ,
you were piping the output to the outfile instead of stdout.

Sent from my iPhone

On Feb 29, 2012, at 8:44 PM, Syed Ahsan Ali <ahsanshah01_at_[hidden]> wrote:

> Sorry Jeff I couldn't get you point.
>
> On Wed, Feb 29, 2012 at 4:27 PM, Jeffrey Squyres <jsquyres_at_[hidden]> wrote:
> On Feb 29, 2012, at 2:17 AM, Syed Ahsan Ali wrote:
>
> > [pmdtest_at_pmd02 d00_dayfiles]$ echo ${MPIRUN} -np ${NPROC} -hostfile $i{ABSDIR}/hostlist -mca btl sm,openib,self --mca btl_openib_use_srq 1 ./hrm >> ${OUTFILE}_hrm 2>&1
> > [pmdtest_at_pmd02 d00_dayfiles]$
>
> Because you used >> and 2>&1, the output when to your ${OUTFILE}_hrm file, not stdout.
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
> For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
>
>
> --
> Syed Ahsan Ali Bokhari
> Electronic Engineer (EE)
>
> Research & Development Division
> Pakistan Meteorological Department H-8/4, Islamabad.
> Phone # off +92518358714
> Cell # +923155145014
>