--- scalapack-1.7.4/scalapack-1.7.4/SLmake.inc.64 2006-09-15 13:39:22.000000000 -0500
+++ scalapack-1.7.4/scalapack-1.7.4/SLmake.inc 2006-09-15 13:39:53.000000000 -0500
@@ -29,13 +29,13 @@
# and the directory where the BLACS libraries are
#
BLACSDBGLVL = 0
-BLACSdir = /usr/lib
+BLACSdir = /usr/lib64
#
# MPI setup; tailor to your system if using MPIBLACS
# Will need to comment out these 6 lines if using PVM
#
USEMPI = -DUsingMpiBlacs
-SMPLIB = -L/usr/lib/lam -lmpi
+SMPLIB = -L/usr/lib64/lam -lmpi
BLACSFINIT = -lmpiblacsF77init
BLACSCINIT = -lmpiblacsCinit
BLACSLIB = -lmpiblacs
@@ -97,7 +97,7 @@
SCALAPACKSLIB = -L$(home) -lscalapack
BLASLIB = -lblas
#
-LAMLIBS = -L/usr/lib/lam -llam -lmpi -llamf77mpi
+LAMLIBS = -L/usr/lib64/lam -llam -lmpi -llamf77mpi
EXTRALIBS = -ldl -lpthread -lutil
PBLIBS = $(SCALAPACKSLIB) $(FBLACSLIB) $(BLASLIB) $(SMPLIB) $(LAMLIBS) $(EXTRALIBS)