]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
Added MAXRAMSIZE parameter for LoadLeveler
authorbarate <barate>
Tue, 30 Nov 2010 16:54:34 +0000 (16:54 +0000)
committerbarate <barate>
Tue, 30 Nov 2010 16:54:34 +0000 (16:54 +0000)
src/LoadLeveler/Batch_BatchManager_eLL.cxx
src/LoadLeveler/Test/Test_eLL.cxx

index 3b348fdd688e401ec02adfdb04dd9420acff65af..e74c0257213553d05aac6545d6f35f918d67f415 100644 (file)
@@ -147,6 +147,8 @@ namespace Batch {
     // Optional parameters
     if (params.find(MAXWALLTIME) != params.end())
       tempOutputFile << "# @ wall_clock_limit = " << params[MAXWALLTIME] << ":00" << endl;
+    if (params.find(MAXRAMSIZE) != params.end())
+      tempOutputFile << "# @ as_limit = " << params[MAXRAMSIZE] << "mb" << endl;
     if (params.find(QUEUE) != params.end())
       tempOutputFile << "# @ class = " << params[QUEUE] << endl;
 
index d3945259df2ff1be1424575b2f0bac2209307076..ce5191ef85e66f84d0cab56a16f31c03f4d4863a 100644 (file)
@@ -98,7 +98,7 @@ int main(int argc, char** argv)
     p[TMPDIR]        = "tmp/Batch/";
     p[NBPROC]        = 1;
     p[MAXWALLTIME]   = 1;
-    p[MAXRAMSIZE]    = 1;
+    p[MAXRAMSIZE]    = 10;
     p[HOMEDIR]       = homedir;
     p[QUEUE]         = queue;
     job.setParametre(p);