HvD: In some cases you may want to force the internal BLAS and LAPACK libraries to be compiled. The way to do this is to set BLASOPT to " ". However, if that results in BLAS_LIB and LAPACK_LIB not being set then a subsequent  initialization will set these variables to something else. So I have added some else branches that will set BLAS_LIB and LAPACK_LIB to " " if the BLASOPT does not contain these libraries.
HvD: In some cases you may want to force the internal BLAS and LAPACK libraries
to be compiled. The way to do this is to set BLASOPT to " ". However, if that
results in BLAS_LIB and LAPACK_LIB not being set then a subsequent 
initialization will set these variables to something else. So I have added
some else branches that will set BLAS_LIB and LAPACK_LIB to " " if the BLASOPT
does not contain these libraries.





rangsimanketkaew/NWChem