IBAMR / IBSAMRAI2

SAMRAI 2.4.4 fork and associated patches.
Other
1 stars 1 forks source link

Intel warning on new without delete #19

Open drwells opened 7 months ago

drwells commented 7 months ago

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.