summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-03-10 21:46:56 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2011-03-10 21:46:56 -0500
commitcb8e10b896d4d19a3d7c9b997a74f9bd39a5c714 (patch)
tree4a1213d274d5ef4c21af53ac7945129ba544193d
parent474fb566124aadf2de1cc73d3788386bd584eb15 (diff)
starcluster env tweak
-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'}; }