summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-03-10 14:01:39 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2011-03-10 14:01:39 -0500
commit6e521b7f6bea8fad4d27fca978c8e0ca6ae75059 (patch)
treee64018951ee7ac34244dd2161e1f97c04b5dd3e4
parent19e0a382269042605c347b48e5ac92c5012f1ccc (diff)
configuration for starcluster clusters
-rw-r--r--environment/LocalConfig.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/environment/LocalConfig.pm b/environment/LocalConfig.pm
index 10933f36..7ea1b416 100644
--- a/environment/LocalConfig.pm
+++ b/environment/LocalConfig.pm
@@ -12,6 +12,10 @@ my $host = domainname;
# keys are: HOST_REGEXP, MERTMem, QSubQueue, QSubMemFlag, QSubExtraFlags
my $CCONFIG = {
+ 'StarCluster' => {
+ 'HOST_REGEXP' => qr/compute-\d+\.internal$/,
+ 'QSubMemFlag' => '-l mem',
+ },
'LTICluster' => {
'HOST_REGEXP' => qr/^cluster\d+\.lti\.cs\.cmu\.edu$/,
'QSubMemFlag' => '-l h_vmem=',
@@ -37,8 +41,8 @@ my $CCONFIG = {
'QSubMemFlag' => '-l pmem=',
},
'LOCAL' => {
- 'HOST_REGEXP' => qr/local\.net$/,
- 'QSubMemFlag' => '',
+ 'HOST_REGEXP' => qr/local\./,
+ 'QSubMemFlag' => ' ',
},
};