the problem is likely to be in the installation of your BLACS library.
With LAM/MPI, the TRANSCOMM flag (in the Bmake.inc) need to be set to -DUseMpi2. (The error you encounter is likely to be produced by a wrong TRANSCOMM.) LAM/MPI - BLACS - ScaLAPACK work fine all together.