LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2010, 10:35 AM   #16
Myiagros
Member
 
Registered: Mar 2009
Distribution: Ubuntu, CentOS 5.3
Posts: 75

Original Poster
Rep: Reputation: 18

Hmm... I've run all of my Grid submissions up to this point using bash. I may have to specify bash with my qsub command. I'll give it a try once I find the option for that.
 
Old 04-06-2010, 10:36 AM   #17
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by Myiagros View Post
... the script runs flawlessly without using Grid.
On that basis this is a Grid/qsub issue of which I know nothing. In case there are any Grid/qsub-sperts on LQ it might be worth starting a new thread with a Grid/qsub title.

Assuming simple scripts do work under Grid/qsub, you could try progressively simplifying one of your composite scripts toward a known-OK simple script until you find a change that no longer breaks (or progressively complexifying a known-OK simple script toward one of your composite scripts until it breaks ... ?
 
Old 04-06-2010, 10:53 AM   #18
Myiagros
Member
 
Registered: Mar 2009
Distribution: Ubuntu, CentOS 5.3
Posts: 75

Original Poster
Rep: Reputation: 18
It appears to be working somewhat correctly now, besides a few typos on my part. Forcing "-S /bin/bash" on the qsub command seems to have worked. You've been helpful though, thanks!
 
Old 04-06-2010, 11:01 AM   #19
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by Myiagros View Post
It appears to be working somewhat correctly now, besides a few typos on my part. Forcing "-S /bin/bash" on the qsub command seems to have worked. You've been helpful though, thanks!
Glad you solved it -- and you are very courteous to write "You've been helpful though, thanks!", I don't think I helped much at all! Would be nice if qsub looked at the script and worked out which interpreter to use from the #! line.

The Thread Tools menu can be used to mark the thread SOLVED.
 
  


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
export command brgsousa Linux - Software 1 03-20-2010 07:10 PM
[SOLVED] export command deostroll Linux - Newbie 5 02-20-2010 06:55 AM
Bash, Env, Set, Export, Pipes....Scripting dtdionne Programming 6 09-06-2007 01:04 AM
export command rohr Mandriva 1 04-11-2005 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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