Bugs in Scalapack pslascl.f, pclascl.f. PBtools.h

Post here if you want to report a bug to the LAPACK team

Bugs in Scalapack pslascl.f, pclascl.f. PBtools.h

Postby Yana Gurieva » Thu Apr 28, 2011 1:02 am

Rev.82 of Scalapack pslascl.f and pclascl.f still have a possibility for incorrect work: these sources are intended for single precision computations but line 192 inside them does contain a call to DISNAN function. Shouldn't it be SISNAN instead?

As for PBtools.h, Scalapack's rev.69 changes Mptr inside, but in its definition in line 130 after the symbol '\' there should be a carriage return. The current line produces a compiler error. Moreover, the definition of (off_t) used here exists only for Linux. For Windows, it is undefined and the package cannot be compiled and linked.
Yana Gurieva
Posts: 7
Joined: Mon Apr 11, 2011 1:26 am

Re: Bugs in Scalapack pslascl.f, pclascl.f. PBtools.h

Postby admin » Sat Apr 30, 2011 7:07 am

Hi Yana,
Thanks again for pointing out those problems.
Those have been corrected in rev 84 and tested locally.
off_t has been replaced by long long, please confirm that this works under Windows.

Also may I ask you which MPI you are using under Windows?
Site Admin
Posts: 612
Joined: Wed Dec 08, 2004 7:07 pm

Return to Bug report

Who is online

Users browsing this forum: No registered users and 3 guests