summaryrefslogtreecommitdiff
path: root/environment/LocalConfig.pm
diff options
context:
space:
mode:
authorJonathan Clark <jon.h.clark@gmail.com>2011-03-11 09:05:12 -0500
committerJonathan Clark <jon.h.clark@gmail.com>2011-03-11 09:05:12 -0500
commit68bc85f2d3cfb0f5cd9c9bac254ae77c14923329 (patch)
tree444dd7dbcadd057cff15aaa4b6fd6b7ef32153f4 /environment/LocalConfig.pm
parent3dfa575d202c9277060bc43a7af9351702da9f12 (diff)
parentcb8e10b896d4d19a3d7c9b997a74f9bd39a5c714 (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'environment/LocalConfig.pm')
-rw-r--r--environment/LocalConfig.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment/LocalConfig.pm b/environment/LocalConfig.pm
index 62ee2dd3..d136610d 100644
--- a/environment/LocalConfig.pm
+++ b/environment/LocalConfig.pm
@@ -71,6 +71,7 @@ sub environment_name {
sub qsub_args {
my $mem = shift @_;
die "qsub_args requires a memory amount as a parameter, e.g. 4G" unless $mem;
+ return 'qsub -V -cwd' if environment_name() eq 'StarCluster';
my $mf = $CONFIG{'QSubMemFlag'} or die "QSubMemFlag not set for $senvironment_name";
my $cmd = "qsub -S /bin/bash ${mf}${mem}";
if ($CONFIG{'QSubQueue'}) { $cmd .= ' ' . $CONFIG{'QSubQueue'}; }