Finally sorted out the problem with conflicting LAPACK libraries!