Closed mbanck closed 9 years ago
Sorry about the inconvenience. There is a bug in pt2r12.cc.(08e982bae3f379b9a8a175d77b598e8070702abe)
I tested with the following options
-DLIBINT=/path_to_libint
-DBOOST=/path_to_boost
-DMPQC_CI=false
-DCMAKE_CXX_FLAGS=-std=c++11
-DMPI_C_COMPILER=clang
-DMPQC_R12=true
Can you pull the newest change and try it again? Let me know if you have other problems.
Thanks it compiles fine now. I'm seeing various assertion errors at runtime when trying to run some of the f12 testsuite inputs or samples. E.g. src/bin/mpqc/sample/mp2r12.in fails with "keyword corr_param must be given when corrfactor=stg" and if I add "corr_param = 1.5", I get the following at the (I guess) end:
E(MP2 OBS+CABS singles = (2)_S) = -0.011248337730678
Exited (2)_S energy evaluator
terminate called after throwing an instance of 'sc::Exception'
what(): assertion failed, at /home/mbanck/debian/debichem/packages/mpqc3-0.0~git20150912/src/lib/chemistry/qc/basis/intdescr.h:109
That's a different issue though, so closing this one for now.
Hrm, I figured out that this is due to 'stdapprox = "A'"' in that file; though I have to say the error message is not useful. If I change it to "stdapprox = C", the input runs fine.
If I don't turn on MPQC_NEW_FEATURES, but provide Libint2 (so -DMPQC_R12 is set), I get a compile error in pt2r12.cc:
Is this a supported configuration, and if so, is this a known issue or am I doing something wrong? MPQC3 builds fine for me if I omit Libint2.