[torquedev] mem limit change in resmon/linux/mom_mach.c

Garrick Staples garrick at usc.edu
Tue Apr 25 16:36:04 MDT 2006


Does anyone know the rationale for this change in
resmon/linux/mom_mach.c?

@@ -1251,11 +1259,8 @@ int mom_set_limits(
           vmem_limit = value;
         }
       } 
-    else if (strcmp(pname,"mem") == 0) 
-      {        
-      /* ignore */
-      } 
-    else if (strcmp(pname,"pmem") == 0) 
+    else if ((!strcmp(pname,"mem") && (pjob->ji_numnodes == 1)) ||
+              !strcmp(pname,"pmem")) 
       {        
       /* set */
 

Using "mem" on multi-node jobs are now getting rejected as an unknown
resource.

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20060425/24c984ba/attachment.bin


More information about the torquedev mailing list