LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2014, 06:24 PM   #1
whoami_
LQ Newbie
 
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
SGE job stalled using qsub. Works in interactive qrsh. Why?


I am using a software called Mothur to process some DNA data.

So first I qrsh onto a node of a cluster.
I write a batch script for Mothur and submit it in the command line like this...

Code:
>mothur mothurBatchFile.mt
This runs fine.

However, when I qsub the job like this...

Code:
qsub -cwd submit_mothur.sh
where submit_mothur.sh looks like...

Code:
>mothur mothurBatchFile.mt
The job stalls at the same point in the DNA processing every time.
I will be processing 50 such DNA files separately; I would like to submit them all at once with a qsub script rather than open 50 different terminals to process each one in an interactive session.
The RAM needed is 214 MB. The file size is 218 MB.

Thanks in advance.
 
Old 12-22-2014, 03:01 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Possibly it is the difference between an interactive shell and a batch shell.

The environment may be different.

You might try using qsub job to do a "printenv", and do the same on the qrsh.

The difference in the two outputs may point to why one works and one doesn't.

One other possiblity, depending on what "job stalls at the same point" means. It is possible the batch queue that supports a default qsub doesn't allow either enough memory, or enough CPU, and the job gets suspended, or aborted when the limits are reached.

Last edited by jpollard; 12-22-2014 at 03:04 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Submission of Job using qsub queue command kmarek ROCK 1 02-08-2012 08:42 PM
qsub -hold_jid job dependency - what happens if job doesn't finish jr950 Linux - Newbie 0 02-01-2012 09:04 PM
qsub pvm job vunal Linux - Software 5 10-26-2010 03:39 PM
How to set the SGE job execution order cliffyao Linux - Newbie 1 10-16-2010 10:46 PM
How to make a cronjob or at job user interactive kiranb12 Programming 4 09-03-2010 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration