Tuning fails on Solaris Ultrasparc T2, 64 bit build
Brought to you by:
rwhaley,
tonyc040457
Dear Clint,
It seems I cannot get ATLAS to build on a UST2 64 bit system running Solaris 2.10.
It fails when running "./xr2ksearch -p d" with an "Arithmetic Exception".
Indeed in r2ksearch, kp->NU is zero and line 55:
N = (N/kp->NU)kp->NU;
yields a division by zero.
Just to try to get past this, I replaced it by:
N = kp->NU ? (N/kp->NU)kp->NU : 0;
but then I get another div by zero in r2hgen.c line 952:
mb = (mb > kur->MU) && (kur->MU != 0) ? (mb/kur->MU)*kur->MU : 0;
and anyway the build fail later with an undefined ref to ATL_dgerk__1 in ATL_dger2.o.
Anyway, I guess my fix was way too stupid.
Thanks in advance for your help !
Best,
JP
If kp->nu, then something went wrong before (NU is the N unrolling factor, which must be >= 1).
Does this happen each time you install, or do you get different errors each time?
I don't have access tu an UST2 myself, so can't confirm/deny myself . . .
Dear Clint,
Sorry for the delay.
I don't have access to this system anymore, but I definitely remmeber it was happening each time.
Best,
JP