[gold-users] patch and questions for glsalloc

Brock Palen brockp at umich.edu
Fri Apr 1 13:09:15 MDT 2011


Thanks version 2 attached, 

This version does some checking in the if() blocks if other flags are defined because the first flag even if others are given wins and causes trouble.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glsalloc_forward.patch
Type: application/octet-stream
Size: 1311 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/gold-users/attachments/20110401/7c3232ed/attachment.obj 
-------------- next part --------------

Brock Palen
www.umich.edu/~brockp
Center for Advanced Computing
brockp at umich.edu
(734)936-1985



On Mar 31, 2011, at 5:11 PM, Scott Jackson wrote:

> Yea, leave it off. Just set the EndTime condition with no StartTime condition. Make sure the -F flag trumps the -A flag (since it is a superset). You may want to do a check to make sure they don't do a -F with a -I. Frankly, I would make all three of them mutually exclusive.
> 
> if ($future) { ... }
> elsif ($active) { ... } 
> elsif ($inactive) { ... }
> 
> Scott
> 
> ----- Original Message -----
>> From: "Brock Palen" <brockp at umich.edu>
>> To: gold-users at supercluster.org
>> Sent: Thursday, March 31, 2011 12:05:20 PM
>> Subject: [gold-users] patch and questions for glsalloc
>> We have a need to sort out allocations that are expired from active
>> and future allocations, so I patched our version of gold-2.2.0.0
>> glsalloc to add a -F (forward) option,
>> 
>> My patch breaks if you do -A and -F because I don't set a StartTime
>> 
>> $request->setCondition("EndTime", $now, "GT");
>> 
>> Is there a way to do setCondition("StartTime", $anything) ?
>> 
>> Thanks.
>> 
>> 
>> 
>> 
>> 
>> Brock Palen
>> www.umich.edu/~brockp
>> Center for Advanced Computing
>> brockp at umich.edu
>> (734)936-1985
>> 
>> 
>> 
>> 
>> _______________________________________________
>> gold-users mailing list
>> gold-users at supercluster.org
>> http://www.supercluster.org/mailman/listinfo/gold-users
> _______________________________________________
> gold-users mailing list
> gold-users at supercluster.org
> http://www.supercluster.org/mailman/listinfo/gold-users
> 
> 



More information about the gold-users mailing list