This is either the result of using USE_64TO32=y incorrectly or linking an LP64 BLAS/LAPACK library with NWChem, which is ILP64 by default.
The essential environment variables to debug are BLASOPT / BLAS_LIB / LAPACK_LIB. The quick fix, which is not great for performance, is to set USE_INTERNALBLAS=y.
Jeff