[Swift-commit] cog r3706
swift at ci.uchicago.edu
swift at ci.uchicago.edu
Mon Jul 8 14:40:03 CDT 2013
------------------------------------------------------------------------
r3706 | michaelwilde | 2013-07-08 14:39:16 -0500 (Mon, 08 Jul 2013) | 1 line
Force SGE qsub to use -S /bin/bash so that submit script is properly interpreted even if the SGE scheduler's default shell is not bash (e.g. on orthros cluster the default SGE shell was tcsh, which caused job submission to fail).
------------------------------------------------------------------------
Index: modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/sge/SGEExecutor.java
===================================================================
--- modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/sge/SGEExecutor.java (revision 3705)
+++ modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/sge/SGEExecutor.java (working copy)
@@ -42,7 +42,7 @@
public static final Pattern JOB_ID_LINE = Pattern.compile(".*[Yy]our job (\\d+) \\(.*\\) has been submitted");
public static final Logger logger = Logger.getLogger(SGEExecutor.class);
private static QueuePoller poller;
- private static final String[] QSUB_PARAMS = new String[] {};
+ private static final String[] QSUB_PARAMS = new String[] {"-S","/bin/bash"};
private static int unique = 0;
private static NumberFormat IDF = new DecimalFormat("000000");
More information about the Swift-commit
mailing list