RESCOMP Archives

April 2009

RESCOMP@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Mueller, Jens" <[log in to unmask]>
Reply To:
Research Computing Support <[log in to unmask]>, Mueller, Jens
Date:
Fri, 17 Apr 2009 15:16:55 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (66 lines)
Bill,

Dave is out of town today.
I've never used stata so I may not be the expert here. Generally, it's better to use the queuing system we have in place 
on the cluster to submit batch jobs than using nohup.

Below is a sample script file myBatch.job which you can submit via "qsub myBatch.job", edit this at the places indicated.

#!/bin/bash -l
### name of the job
#PBS -N  myProg
#PBS -l walltime=10:0:0
#PBS -l nodes=1:ppn=2
#PBS -q batch
###
pwd
cd <your launch directory here>
pwd
stata‐mp ‐s do File1.do > File1.out


Let me know if you need further assistance with that. There is also a more detailed description of the procedure on our web page.

Jens

-----------------------------------------------------------------------------------------------
Jens Mueller, Ph.D.                                    Senior Research Computing Specialist
Research Computing Support Group
Miami University, Gaskill Hall 330, Oxford, OH, 45056
Phone:  (513) 529-0817                                                     [log in to unmask]
www.units.muohio.edu/mcs/academictechnology/research_computing/index.php
-----------------------------------------------------------------------------------------------
________________________________________
From: Research Computing Support [[log in to unmask]] On Behalf Of Even, Bill [[log in to unmask]]
Sent: Friday, April 17, 2009 2:03 PM
To: [log in to unmask]
Subject: jobs on cluster

I submitted this note to David Woods, but if someone else can answer, I’d be grateful.

================
I’m having difficulty remembering how to submit/process batch jobs on the cluster.   I submit a job using

nohup stata‐mp ‐s do File1.do > File1.out &

and it appears to work because I get a job # etc in response.   (I’m on the interactive node when I do this.)

However, when I issue qstat, the job doesn’t appear.   Also, I can’t seem to delete a job using the qdel command.

If it’s easier to talk through this, feel free to call at 9-2865.

Thanks!

bill

Bill Even
Raymond E. Glos Professor of Business
Department of Economics
Miami University
Oxford, OH 45056

email: [log in to unmask]
home-page:  http://www.sba.muohio.edu/evenwe
phone: 513-529-2865
fax: 513-529-8047

ATOM RSS1 RSS2