I have installed scaLAPACK using MPICH2, and ATLAS BLAS on a 64 bit Ubuntu 8.04 intel Xeon. When I run the scaLAPACK testing routines for double precision, they run perfectly. For all other types they all fail. For example, on the xssep test I get errors like this:
{ 1, 1}: On entry to PSSTEIN parameter number 4 had an illegal value
{ 0, 0}: On entry to PSORMTR parameter number 5 had an illegal value
PSSYEVX returned INFO= 9
ICLUSTR(1).NE.0 but mod(INFO/2,2).NE.1
M not in the range 0 to N
On the xsqr test all the output looks like this:
WALL 15 10 5 5 4 1 0.00 8.73 FAILED nan
My SLmake.inc compiler flags are the following:
F77 = mpif77
CC = mpicc
NOOPT =
F77FLAGS = -funroll-all-loops -O3 $(NOOPT) -m64 -fno-globals -fno-f90 -fugly-complex -w
DRVOPTS = $(F77FLAGS)
CCFLAGS = -O4 -m64
SRCFLAG =
F77LOADER = $(F77)
CCLOADER = $(CC)
F77LOADFLAGS =
CCLOADFLAGS =
I see in the source for the pssepdriver.f code that it has REAL as size 8. I changed this to 4, but it didn't help. The qr driver has the correct real size set.
I'm baffled. Anybody have any suggestions? Thanks.

