Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-21-2014, 07:24 PM   #1
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...

This runs fine.

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

qsub -cwd
where looks like...

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, 04:01 PM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,713

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
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 04:04 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:42 PM
qsub -hold_jid job dependency - what happens if job doesn't finish jr950 Linux - Newbie 0 02-01-2012 10:04 PM
qsub pvm job vunal Linux - Software 5 10-26-2010 04:39 PM
How to set the SGE job execution order cliffyao Linux - Newbie 1 10-16-2010 11:46 PM
How to make a cronjob or at job user interactive kiranb12 Programming 4 09-03-2010 05:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 AM.

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