Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-03-01 Thread PukkiMonkey
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 wrote: > Sorry Jeff I couldn't get you

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-29 Thread Syed Ahsan Ali
Sorry Jeff I couldn't get you point. On Wed, Feb 29, 2012 at 4:27 PM, Jeffrey Squyres wrote: > On Feb 29, 2012, at 2:17 AM, Syed Ahsan Ali wrote: > > > [pmdtest@pmd02 d00_dayfiles]$ echo ${MPIRUN} -np ${NPROC} -hostfile > $i{ABSDIR}/hostlist -mca btl sm,openib,self --mca

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-29 Thread Jeffrey Squyres
On Feb 29, 2012, at 2:17 AM, Syed Ahsan Ali wrote: > [pmdtest@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@pmd02 d00_dayfiles]$ Because you used >> and 2>&1, the

Re: [OMPI users] Could not execute the executable"/home/MET/hrm/bin/hostlist": Exec format error

2012-02-29 Thread Jeffrey Squyres
FWIW: Ralph committed a change to mpirun the other day that will now check if you're missing integer command line arguments. This will appear in Open MPI v1.7. It'll look something like this: % mpirun -np hostname --- Open MPI has

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-29 Thread Jingcha Joba
Well, it should be echo *"*mpirun.* ", * I just noticed that you have $i{ABSDIR}. I think should it be ${ABSDIR}. On Tue, Feb 28, 2012 at 11:17 PM, Syed Ahsan Ali wrote: > I tried to echo but it returns nothing. > > [pmdtest@pmd02 d00_dayfiles]$ echo ${MPIRUN} -np

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-29 Thread Syed Ahsan Ali
I tried to echo but it returns nothing. [pmdtest@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@pmd02 d00_dayfiles]$ On Wed, Feb 29, 2012 at 12:01 PM, Jingcha Joba

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-29 Thread Jingcha Joba
Just to be sure, can u try echo "${MPIRUN} -np ${NPROC} -hostfile ${ABSDIR}/hostlist -mca btl sm,openib,self --mca btl_openib_use_srq 1 ./hrm >> ${OUTFILE}_hrm 2>&1" and check if you are indeed getting the correct argument. If that looks fine, can u add --mca btl_openib_verbose 1 to the mpirun

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-29 Thread Syed Ahsan Ali
After creating new hostlist and making the scripts again it is working now and picking up the hostlist as u can see : *${MPIRUN} -np ${NPROC} -hostfile ${ABSDIR}/hostlist -mca btl sm,openib,self --mca btl_openib_use_srq 1 ./hrm >> ${OUTFILE}_hrm 2>&1 (The above command is used to submit job)*

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-28 Thread Jeffrey Squyres
Yes, this is known behavior for our CLI parser. We could probably improve that a bit... On Feb 28, 2012, at 4:55 AM, Ralph Castain wrote: > > On Feb 28, 2012, at 2:52 AM, Reuti wrote: > >> Am 28.02.2012 um 10:21 schrieb Ralph Castain: >> >>> Afraid I have to agree with the prior reply -

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-28 Thread Ralph Castain
On Feb 28, 2012, at 2:52 AM, Reuti wrote: > Am 28.02.2012 um 10:21 schrieb Ralph Castain: > >> Afraid I have to agree with the prior reply - sounds like NPROC isn't >> getting defined, which causes your cmd line to look like your original >> posting. > > Maybe the best to investigate this is

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-28 Thread Reuti
Am 28.02.2012 um 10:21 schrieb Ralph Castain: > Afraid I have to agree with the prior reply - sounds like NPROC isn't getting > defined, which causes your cmd line to look like your original posting. Maybe the best to investigate this is to `echo` $MPIRUN and $NPROC. But: is this the intended

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-28 Thread Ralph Castain
Afraid I have to agree with the prior reply - sounds like NPROC isn't getting defined, which causes your cmd line to look like your original posting. On Feb 27, 2012, at 10:29 PM, Syed Ahsan Ali wrote: > The following command in used in script for job submission > > ${MPIRUN} -np ${NPROC}

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-28 Thread Syed Ahsan Ali
The following command in used in script for job submission ${MPIRUN} -np ${NPROC} -hostfile ${ABSDIR}/hostlist -mca btl sm,openib,self --mca btl_openib_use_srq 1 ./hrm >> ${OUTFILE}_hrm 2>&1 where NPROC in defined in someother file. The same application is running on the other system with same

Re: [OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-28 Thread PukkiMonkey
No of processes missing after -np Should be something like: mpirun -np 256 ./exec Sent from my iPhone On Feb 27, 2012, at 8:47 PM, Syed Ahsan Ali wrote: > Dear All, > > I am running an application with mpirun but it gives following error, it is > not picking up

[OMPI users] Could not execute the executable "/home/MET/hrm/bin/hostlist": Exec format error

2012-02-27 Thread Syed Ahsan Ali
Dear All, I am running an application with mpirun but it gives following error, it is not picking up hostlist, there are other applications which run well with hostlist but it just gives following error with [pmdtest@pmd02 d00_dayfiles]$ tail -f *_hrm mpirun -np /home/MET/hrm/bin/hrm