Menu

#934 Tuning fails on Solaris Ultrasparc T2, 64 bit build

Stable_(v3.10.x)
open-accepted
None
5
2014-11-25
2014-01-13
No

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

1 Attachments

Discussion

  • R. Clint Whaley

    R. Clint Whaley - 2014-07-02

    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 . . .

     
    • R. Clint Whaley

      R. Clint Whaley - 2014-07-02
      • assigned_to: R. Clint Whaley
       
      • R. Clint Whaley

        R. Clint Whaley - 2014-07-02
        • status: open --> open-accepted
         
        • Jean-Pierre Flori

          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

           

          Log in to post a comment.