← Back to team overview

dolfin team mailing list archive

Re: [noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/main] Rev 4496: Add strategy string for SCOTCH. Impossible to understand.]

 


Anders Logg wrote:
> On Fri, Feb 12, 2010 at 05:08:43PM +0000, Garth N. Wells wrote:
>>
>> Anders Logg wrote:
>>> On Fri, Feb 12, 2010 at 04:59:23PM +0000, Garth N. Wells wrote:
>>>> Anders Logg wrote:
>>>>> // Set strategy (SCOTCH uses very crytic strings for this) +
>>>>> std::string strategy =
>>>>> "b{sep=m{asc=b{bnd=q{strat=f},org=q{strat=f}},low=q{strat=m{type=h,vert=80,low=h{pass=10}f{bal=0.0005,move=80},asc=b{bnd=d{dif=1,rem=1,pass=40}f{bal=0.005,move=80},org=f{bal=0.005,move=80}}}|m{type=h,vert=80,low=h{pass=10}f{bal=0.0005,move=80},asc=b{bnd=d{dif=1,rem=1,pass=40}f{bal=0.005,move=80},org=f{bal=0.005,move=80}}}},seq=q{strat=m{type=h,vert=80,low=h{pass=10}f{bal=0.0005,move=80},asc=b{bnd=d{dif=1,rem=1,pass=40}f{bal=0.005,move=80},org=f{bal=0.005,move=80}}}|m{type=h,vert=80,low=h{pass=10}f{bal=0.0005,move=80},asc=b{bnd=d{dif=1,rem=1,pass=40}f{bal=0.005,move=80},org=f{bal=0.005,move=80}}}}},seq=b{job=t,map=t,poli=S,sep=m{type=h,vert=80,low=h{pass=10}f{bal=0.0005,move=80},asc=b{bnd=d{dif=1,rem=1,pass=40}f{bal=0.005,move=80},org=f{bal=0.005,move=80}}}|m{type=h,vert=80,low=h{pass=10}f{bal=0.0005,move=80},asc=b{bnd=d{dif=1,rem=1,pass=40}f{bal=0.005,move=80},org=f{bal=0.005,move=80}}}}}";
>>>>>
>>>>> That's even worse than the options for ParMETIS.
>>>>>
>>>> And how long do you think it took for me to figure it out?
>>>>
>>>> Garth
>>> I seriously hope it was some magic string you looked up in a manual.
>>>
>> Nope, it's not from the manual.
> 
> So how did you figure it out? I don't see how it makes any sense at
> all. But it looks like some of the parameter values are repeated.
>

I tried the manual and searched the net, and eventually copied it from
the SOCTCH source code.

Garth

> --
> Anders





References