Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel warning on new without delete #19

Open
drwells opened this issue Jan 25, 2024 · 0 comments
Open

Intel warning on new without delete #19

drwells opened this issue Jan 25, 2024 · 0 comments

Comments

@drwells
Copy link
Member

drwells commented Jan 25, 2024

I don't think its wrong, but I see warnings of the type

/nas/longleaf/home/drwells/autoibamr-dogwood-mvapich/packages/IBSAMRAI2-2024.01.24/include/StandardRefineTransactionFactory.C(106): warning #873: function "operator new(size_t={unsigned long}, SAMRAI::tbox::Arena *)" has no corresponding operator delete (to be called if an exception is thrown during initialization of an allocated object)
           new (pool) RefineTimeTransaction<DIM>(dst_level, src_level,
           ^
          detected during:
            instantiation of "SAMRAI::tbox::Pointer<SAMRAI::tbox::Transaction> SAMRAI::xfer::StandardRefineTransactionFactory<DIM>::allocate(SAMRAI::tbox::Pointer<SAMRAI::hier::PatchLevel<DIM>>, SAMRAI::tbox::Pointer<SAMRAI::hier::PatchLevel<DIM>>, SAMRAI::tbox::Pointer<SAMRAI::hier::BoxOverlap<DIM>>, int, int, int, const SAMRAI::hier::Box<DIM> &, bool, SAMRAI::tbox::Pointer<SAMRAI::tbox::Arena>) const [with DIM=2]" at line 34
            instantiation of "SAMRAI::xfer::StandardRefineTransactionFactory<DIM>::StandardRefineTransactionFactory() [with DIM=2]" at line 431 of "/nas/longleaf/home/drwells/autoibamr-dogwood-mvapich/packages/IBSAMRAI2-2024.01.24/include/RefineAlgorithm.C"
            instantiation of "SAMRAI::tbox::Pointer<SAMRAI::xfer::RefineSchedule<DIM>> SAMRAI::xfer::RefineAlgorithm<DIM>::createSchedule(SAMRAI::tbox::Pointer<SAMRAI::hier::PatchLevel<DIM>>, SAMRAI::tbox::Pointer<SAMRAI::hier::PatchLevel<DIM>>, int, SAMRAI::tbox::Pointer<SAMRAI::hier::PatchHierarchy<DIM>>, SAMRAI::xfer::RefinePatchStrategy<DIM> *, bool, SAMRAI::tbox::Pointer<SAMRAI::xfer::RefineTransactionFactory<DIM>>) [with DIM=2]" at line 761 of
                      "/nas/longleaf/home/drwells/autoibamr-dogwood-mvapich/packages/IBSAMRAI2-2024.01.24/include/LoadBalancer.C"
            instantiation of "void SAMRAI::mesh::LoadBalancer<DIM>::chopBoxesWithNonuniformWorkload(SAMRAI::hier::BoxArray<DIM> &, SAMRAI::tbox::Array<double> &, const SAMRAI::hier::BoxList<DIM> &, SAMRAI::tbox::Pointer<SAMRAI::hier::PatchHierarchy<DIM>>, int, const SAMRAI::hier::IntVector<DIM> &, int, const SAMRAI::hier::IntVector<DIM> &, const SAMRAI::hier::IntVector<DIM> &, const SAMRAI::hier::IntVector<DIM> &, const SAMRAI::hier::IntVector<DIM> &, const SAMRAI::hier::BoxArray<DIM> &) const
                      [with DIM=2]" at line 460 of "/nas/longleaf/home/drwells/autoibamr-dogwood-mvapich/packages/IBSAMRAI2-2024.01.24/include/LoadBalancer.C"
            instantiation of "void SAMRAI::mesh::LoadBalancer<DIM>::loadBalanceBoxes(SAMRAI::hier::BoxArray<DIM> &, SAMRAI::hier::ProcessorMapping &, const SAMRAI::hier::BoxList<DIM> &, SAMRAI::tbox::Pointer<SAMRAI::hier::PatchHierarchy<DIM>>, int, const SAMRAI::hier::BoxArray<DIM> &, const SAMRAI::hier::IntVector<DIM> &, const SAMRAI::hier::IntVector<DIM> &, const SAMRAI::hier::IntVector<DIM> &, const SAMRAI::hier::IntVector<DIM> &, const SAMRAI::hier::IntVector<DIM> &) const [with DIM=2]" at
                      line 90 of "/nas/longleaf/home/drwells/autoibamr-dogwood-mvapich/packages/IBSAMRAI2-2024.01.24/include/LoadBalancer.C"
            instantiation of "SAMRAI::mesh::LoadBalancer<DIM>::LoadBalancer(const std::string &, SAMRAI::tbox::Pointer<SAMRAI::tbox::Database>) [with DIM=2]" at line 494 of "/nas/longleaf/home/drwells/autoibamr-dogwood-mvapich/tmp/unpack/IBAMR-0.14.0-rc1/tests/IBFE/explicit_ex8.cpp"

when I compile with Intel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant