Closed wavefunction91 closed 8 years ago
I should also note that the seg fault also happens if I put a print statement before the eigen map
fairly sure you did not do libint2::init() before doing this ... please check (I made the same mistake and reproduced your error).
also, you probably want to pass basis sets by reference since they have deep copy semantics.
Ah, yes, you're absolutely correct (this was done outside CQ, so I just forgot the add that line). As for the BasisSet pass, that's actually what I do, I just dictated it quickly as I didn't copy/paste.
On Thu, Jan 28, 2016 at 8:24 AM, Eduard Valeyev notifications@github.com wrote:
Closed #48 https://github.com/evaleev/libint/issues/48.
— Reply to this email directly or view it on GitHub https://github.com/evaleev/libint/issues/48#event-529927798.
David Williams-Young Department of Chemistry University of Washington Xiaosong Li Research Group
I've recently compiled the latest change set of Libint on OSX with clang++ and ran into a problem with segmentation full whenever I hit basis functions with L > 1.
and libint configure
The code that seg faults is thus:
and the output is
I've tried this with obs1 and obs1 in the ovelap call with the exact same problem. The point of this code is to compute the overlap of basis sets at different geometries, but it fails for the "vanilla" usage as well (passing only obs1 into the compute function)