Dear all,
It is nice to have a newer version. After the update, i got an error while running as
"ATS | Beginning setup stage...
terminate called after throwing an instance of 'Errors::Message'
what(): factory requested via incorrect type: "N6Amanzi15CompositeVectorE"
[IF-SWS-4SKNCX3:68659] *** Process received signal ***
[IF-SWS-4SKNCX3:68659] Signal: Aborted (6)
[IF-SWS-4SKNCX3:68659] Signal code: (-6)
[IF-SWS-4SKNCX3:68659] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x45330)[0x709189a45330]
[IF-SWS-4SKNCX3:68659] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11c)[0x709189a9eb2c]
[IF-SWS-4SKNCX3:68659] [ 2] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x1e)[0x709189a4527e]
[IF-SWS-4SKNCX3:68659] [ 3] /lib/x86_64-linux-gnu/libc.so.6(abort+0xdf)[0x709189a288ff]
[IF-SWS-4SKNCX3:68659] [ 4] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xa5ff5)[0x709189ea5ff5]
[IF-SWS-4SKNCX3:68659] [ 5] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xbb0da)[0x709189ebb0da]
[IF-SWS-4SKNCX3:68659] [ 6] /lib/x86_64-linux-gnu/libstdc++.so.6(_ZSt10unexpectedv+0x0)[0x709189ea5a55]
[IF-SWS-4SKNCX3:68659] [ 7] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xbb391)[0x709189ebb391]
[IF-SWS-4SKNCX3:68659] [ 8] ats(_ZN10Exceptions12amanzi_throwIN6Errors7MessageEEEvRKT_+0x38)[0x5d34de40f025]
[IF-SWS-4SKNCX3:68659] [ 9] /root/ATS/ats-1.6/amanzi-install-ats-1.6-Release/lib/libats_surf_subsurf.so(_ZN6Amanzi5State7RequireINS_15CompositeVectorENS_20CompositeVectorSpaceEEERT0_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_3TagESD_b+0x4ff)[0x70918c9140af]
[IF-SWS-4SKNCX3:68659] [10] /root/ATS/ats-1.6/amanzi-install-ats-1.6-Release/lib/libstate.so(_ZN6Amanzi28EvaluatorIndependentFunction19EnsureCompatibilityERNS_5StateE+0x5a)[0x70918b3119da]
[IF-SWS-4SKNCX3:68659] [11] /root/ATS/ats-1.6/amanzi-install-ats-1.6-Release/lib/libstate.so(_ZN6Amanzi5State5SetupEv+0x7a8)[0x70918b2b90f8]
[IF-SWS-4SKNCX3:68659] [12] /root/ATS/ats-1.6/amanzi-install-ats-1.6-Release/lib/libats_executable.so(_ZN3ATS11Coordinator5setupEv+0x347)[0x70918ca15ca7]
[IF-SWS-4SKNCX3:68659] [13] /root/ATS/ats-1.6/amanzi-install-ats-1.6-Release/lib/libats_executable.so(_ZN3ATS9ATSDriver12cycle_driverEv+0x119)[0x70918ca2f799]
[IF-SWS-4SKNCX3:68659] [14] /root/ATS/ats-1.6/amanzi-install-ats-1.6-Release/lib/libats_executable.so(_ZN3ATS9ATSDriver3runEv+0xd)[0x70918ca3159d]
[IF-SWS-4SKNCX3:68659] [15] ats(+0x3b341)[0x5d34de413341]
[IF-SWS-4SKNCX3:68659] [16] /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca)[0x709189a2a1ca]
[IF-SWS-4SKNCX3:68659] [17] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x709189a2a28b]
[IF-SWS-4SKNCX3:68659] [18] ats(+0x3b895)[0x5d34de413895]
[IF-SWS-4SKNCX3:68659] *** End of error message ***
Aborted (core dumped)"
I just changed,
"flow_pk = ats_input_spec.public.add_leaf_pk(main_list, 'flow', main_list['cycle driver']['PK tree'],
'
pk-richards-steady-state-spec')" and
"precip.set_type('independent variable constant', ats_input_spec.public.known_specs['evaluator-independent-variable-constant-spec'])", these two sections in the watershed workflow.
note: while runing ats-demos, there was no problem. I also updated ats_input_spec.
Any insights or comments would be greatly appreciated.
Thanks.
suraj