NWChem 6.6/CentOS 7 compile fails


Click here for full thread
Gets Around
The procedure was the same as shown in the top box, but with
export USE_SCALAPACK=y
was added to the environment variables, and the Tools_lib64 patch as applied.
Then I did
make nwchem_config
make 64_to_32
make >& make.log

The last 30 lines of the make.log file were exactly as shown in the top box.
Lines around 284-320 were as follows:

configure: Checks for BLAS,LAPACK,ScaLAPACK
configure: 
configure: Attempting to locate BLAS library
checking for BLAS with user-supplied flags... yes
configure: Attempting to locate LAPACK library
configure: WARNING: LAPACK library not found, using internal LAPACK
configure: Attempting to locate SCALAPACK library
checking for SCALAPACK with user-supplied flags... no
checking for SCALAPACK in generic library... yes
checking whether SCALAPACK implements pdsyevr... yes
configure: Attempting to locate ELPA library
checking for ELPA with user-supplied flags... yes
configure: 
configure: Checks for additional programs
configure: 
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for a sed that does not truncate output... /usr/bin/sed
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for m4... /usr/bin/m4
checking for perl... /usr/bin/perl
configure: 
configure: Libtool setup
configure: 
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes