Skip to content

Checkmate2 build issue with onnxruntime #36

@aseshkdatta

Description

@aseshkdatta

Hi,

I am having the following issue while trying to 'make' CheckMATE2 with onnxruntime.

src/analyses/ATLAS_13TeV/atlas_2106_09609.cc: In member function ‘float Atlas_2106_09609::Passes_Cuts_NNSR(std::vector<Jet*>, std::vector<Jet*>, std::vector<FinalStateObject*>)’:
src/analyses/ATLAS_13TeV/atlas_2106_09609.cc:784:15: error: missing template arguments before ‘b_cat’
784 | std::vector b_cat = jet_btag_category(sigjets, bjets);
| ^~~~~
src/analyses/ATLAS_13TeV/atlas_2106_09609.cc:806:56: error: ‘b_cat’ was not declared in this scope
806 | input_tensor_values.push_back(sigjets.size() > i ? b_cat[i] : 0);

Without onnxruntime, the build gets completed successfully and I can proceed with some test runs of CheckMATE2.
I am on Ubuntu 20.04 having gcc 9.4 along with onnxruntime-linux-x64-1.13.1.

Could you please observe and let me know how to circumvent the issue.

Thanks.
Asesh K Datta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions