From e6b0800c5d03887b610c64d0b9ceb4739dfa5961 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Thu, 10 Mar 2011 21:46:56 -0500 Subject: starcluster env tweak --- environment/LocalConfig.pm | 1 + 1 file changed, 1 insertion(+) 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'}; } -- cgit v1.2.3