Skip to content

CRTT0Matching libraries have the same name #274

Open

Description

@ikatza

I encountered this exception when running cafmaker on a local installation that has both sbndcode and icaruscode. I guess the library specification CRTT0Matching should be specific to each experiment?

%MSG-s ArtException:  Early 27-Jun-2022 13:48:13 CDT JobSetup
cet::exception caught in art
---- Configuration BEGIN
  The following were encountered while processing the module configurations:
    ERROR: Configuration of module with label pandoraTrackCRTHit encountered the following error:
  ---- Configuration BEGIN
    Library specification "CRTT0Matching" corresponds to multiple libraries:
    /sbnd/data/users/icaza/work/fm_tn2/localProducts_larsoft_v09_53_02_e20_prof/icaruscode/v09_53_02/slf7.x86_64.e20.prof/lib/libicaruscode_CRT_CRTT0Matching_module.so
    /sbnd/data/users/icaza/work/fm_tn2/localProducts_larsoft_v09_53_02_e20_prof/sbndcode/v09_53_02/slf7.x86_64.e20.prof/lib/libsbndcode_CRT_CRTTools_CRTT0Matching_module.so
  ---- Configuration END
---- Configuration END

Activity

  1. PetrilloAtWork commented on Aug 30, 2022

    @PetrilloAtWork
    Member

    Has this been addressed?
    The modules can still have the same names, and all works well as long as the FHiCL configuration specified the full name of the module: module_type: "sbndcode/CRT/CRTTools/CRTT0Matching" for SBND (ICARUS is already doing the same).

  2. PetrilloAtWork commented on Aug 30, 2022

    @PetrilloAtWork
    Member

    Is that approach acceptable to SBND?

  3. cjbacchus commented on Aug 30, 2022

    @cjbacchus
    Contributor

    I didn't even know you could do that...
    I would personally definitely prefer to change the actual class names.

  4. ikatza commented on Sep 5, 2022

    @ikatza
    MemberAuthor

    It hasn't been addressed as of v09_56_00. I don't have much stake in this issue, I only figured to report it. Maybe the people who worked on the CRTT0Matching should give their opinion?

  5. wesketchum commented on Sep 9, 2022

    @wesketchum
    Contributor

    We should agree on a fix. For the moment, can we modify the SBND fhicls to do as @PetrilloAtWork recommends, and then from there we can try to do some cleanup of this code?

    @ilepetic @FernandaPsihas others maybe can comment ...

  6. self-assigned this
    on Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions