Page 1 of 1

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

PostPosted: Thu Apr 28, 2011 1:02 am
by Yana Gurieva
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.

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

PostPosted: Sat Apr 30, 2011 7:07 am
by admin
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?
Julie