diff options
author | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-11 09:05:12 -0500 |
---|---|---|
committer | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-11 09:05:12 -0500 |
commit | a113ca571dced17918dfc4c3d8bf32d6e87c80c9 (patch) | |
tree | 4023625dd0fca763b582a7cf8d602b9f278ba388 | |
parent | eaddcca02022bc5b7c122ca456c98c608f60985d (diff) | |
parent | e6b0800c5d03887b610c64d0b9ceb4739dfa5961 (diff) |
Merge branch 'master' of github.com:redpony/cdec
-rw-r--r-- | environment/LocalConfig.pm | 1 |
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'}; } |