Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Jeroen Kleijer
The Dell > company only asked us to use openmpi-mpirun as a wrapper script. > > Cheers, > > Min Zhu > > > -Original Message- > From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On > Behalf Of Jeroen Kleijer > Sent: 17 December 2009 16:4

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Min Zhu
eijer Sent: 17 December 2009 16:49 To: Open MPI Users Subject: Re: [OMPI users] About openmpi-mpirun Hi Min, Sorry for the mixup but it's been a while since I've actually used LSF. I've had a look at my notes and to use mpirun with LSF you should give something like this: b

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Jeroen Kleijer
file > -s: -c: line 0: unexpected EOF while looking for matching `'' > -s: -c: line 1: syntax error: unexpected end of file > -s: -c: line 0: unexpected EOF while looking for matching `'' > -s: -c: line 1: syntax error: unexpected end of file > --

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Min Zhu
Subject: Re: [OMPI users] About openmpi-mpirun On Thu, 2009-12-17 at 14:40 +, Min Zhu wrote: > Here is the content of openmpi-mpirun file, so maybe something needs to > be changed? > if [ x"${LSB_JOBFILENAME}" = x -o x"${LSB_HOSTS}" = x ]; then > usag

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Min Zhu
> unlimited > unlimited > unlimited > unlimited > unlimited > unlimited > > > PS: > > Read file for stderr output of this job. > > -- > > Thanks, > > Min Zhu > > > -Original Message

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Ashley Pittman
On Thu, 2009-12-17 at 14:40 +, Min Zhu wrote: > Here is the content of openmpi-mpirun file, so maybe something needs to > be changed? > if [ x"${LSB_JOBFILENAME}" = x -o x"${LSB_HOSTS}" = x ]; then > usage > exit -1 > fi > > MYARGS=$* Shouldn't this be MYARGS=$@ It'll change the way

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Jeroen Kleijer
----------- > > Thanks, > > Min Zhu > > > -Original Message- > From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On > Behalf Of Jeroen Kleijer > Sent: 17 December 2009 16:05 > To: Open MPI Users > Subject: Re: [OMPI

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Min Zhu
lto:users-boun...@open-mpi.org] On Behalf Of Jeroen Kleijer Sent: 17 December 2009 16:05 To: Open MPI Users Subject: Re: [OMPI users] About openmpi-mpirun Hi Min Did you get any type of error message in the ERR or OUT files? I don't have mpirun installed in the environment at the moment but giv

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Jeroen Kleijer
ed; ./wrf.exe ' " and wrf.exe > not executed. > > Cheers, > > Min Zhu > > -Original Message- > From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On > Behalf Of Jeroen Kleijer > Sent: 17 December 2009 15:34 > To: Open MPI Users

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Min Zhu
n-mpi.org] On Behalf Of Jeroen Kleijer Sent: 17 December 2009 15:34 To: Open MPI Users Subject: Re: [OMPI users] About openmpi-mpirun It's just that the "'s on the command line get parsed by LSF / bash (or whatever shell you use) If you wish to use it without the script you can giv

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Jeroen Kleijer
hu wrote: > Hi, Jeff, > > Your script method works for me. Thank you very much, > > Cheers, > > Min Zhu > > > -Original Message- > From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On > Behalf Of Jeff Squyres > Sent: 17 December 2009

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Min Zhu
t > tr '\/ ' '\r\n' < ${MACHFILE}.lst > ${MACHFILE} > > MPIRUN=`which --skip-alias mpirun` > ${MPIRUN} -x LD_LIBRARY_PATH -machinefile ${MACHFILE} ${MYARGS} > > exit $? > > -- > > > Cheers, > >

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Jeff Squyres
x27;\/ ' '\r\n' < ${MACHFILE}.lst > ${MACHFILE} > > MPIRUN=`which --skip-alias mpirun` > ${MPIRUN} -x LD_LIBRARY_PATH -machinefile ${MACHFILE} ${MYARGS} > > exit $? > > -- > > > Cheers, > >

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Min Zhu
MPIRUN=`which --skip-alias mpirun` ${MPIRUN} -x LD_LIBRARY_PATH -machinefile ${MACHFILE} ${MYARGS} exit $? -- Cheers, Min Zhu -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: 17 D

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Jeff Squyres
On Dec 17, 2009, at 9:15 AM, Min Zhu wrote: > Thanks for your reply. Yes, your mpirun command works for me. But I need to > use bsub job scheduler. I wonder why > bsub -e ERR -o OUT -n 16 openmpi-mpirun "/bin/sh -c ulimit -s unlimited; > ./wrf.exe" doesn't work. Try with different quoting...?

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Min Zhu
..@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Romaric David Sent: 17 December 2009 13:58 To: Open MPI Users Subject: Re: [OMPI users] About openmpi-mpirun Min Zhu a écrit : > Hi, > > I excuted > bsub -e ERR -o OUT -n 16 openmpi-mpirun "/bin/sh -c ulimit -s u

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Romaric David
Min Zhu a écrit : Hi, I excuted bsub -e ERR -o OUT -n 16 openmpi-mpirun "/bin/sh -c ulimit -s unlimited; ./wrf.exe" Hello, Here we use : mpirun /bin/tcsh -c " limit stacksize unlimited ; /full/path/to/wrf.exe" Regards, R. David

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Min Zhu
d file for stderr output of this job. - Thanks, Min Zhu -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Romaric David Sent: 17 December 2009 13:17 To: Open MPI Users Subject: Re: [OMPI users] About openmpi-mpirun Min Zhu a écrit : >

Re: [OMPI users] About openmpi-mpirun

2009-12-17 Thread Romaric David
Min Zhu a écrit : Dear all, I have a question to ask you. If I issue a command "bsub -n 16 openmpi-mpirun ./wrf.exe" to my 128-core (16 nodes)cluster, the job failed to run due to stacksize problem. Openmpi-mpirun is a wrapper script written by Platform. If I want to add '/bin/sh -c ulimit -s