Initializing AMReX (24.01-7-g255d30f387cf)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-7-g255d30f387cf) initialized Starting run at 10:25:28 UTC on 2024-01-15. Successfully read inputs file ... Castro git describe: 24.01-11-g44d0e551d AMReX git describe: 24.01-7-g255d30f38 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 Successfully read inputs file ... INITIAL GRIDS Level 0 8 grids 262144 cells 100 % of domain smallest grid: 32 x 32 x 32 biggest grid: 32 x 32 x 32 CHECKPOINT: file = dustcollapse-restart_chk00000 checkPoint() time = 0.046543665 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025741795 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.066300539 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049220613 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.075244019 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.085578181 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.06467008 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.045424935 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.070113896 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.075093096 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.057404736 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.057602075 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.062466843 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.043693051 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025266993 seconds Ending run at 10:25:29 UTC on 2024-01-15. Run time = 0.906270584 Run time without initialization = 0.778751889 Average number of zones advanced per microsecond: 3.366 Average number of zones advanced per microsecond per rank: 3.366 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9063 ... 0.9063 ... 0.9063 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2848 0.2848 0.2848 31.42% VisMF::Write(FabArray) 11 0.1782 0.1782 0.1782 19.66% MLCellLinOp::applyBC() 4351 0.08071 0.08071 0.08071 8.91% MLPoisson::Fsmooth() 3280 0.0341 0.0341 0.0341 3.76% FillBoundary_nowait() 3941 0.03029 0.03029 0.03029 3.34% StateData::FillBoundary(geom) 328 0.02682 0.02682 0.02682 2.96% amrex::Dot() 1114 0.02177 0.02177 0.02177 2.40% Castro::normalize_species() 62 0.02091 0.02091 0.02091 2.31% FabArray::norminf() 1061 0.02013 0.02013 0.02013 2.22% Castro::computeTemp() 63 0.01454 0.01454 0.01454 1.60% FabArray::ParallelCopy_nowait() 861 0.01362 0.01362 0.01362 1.50% FabArray::setVal() 1062 0.01328 0.01328 0.01328 1.47% FabArray::Saxpy() 1370 0.01324 0.01324 0.01324 1.46% StateDataPhysBCFunct::() 41 0.01166 0.01166 0.01166 1.29% Castro::enforce_min_density() 62 0.01109 0.01109 0.01109 1.22% amrex::Copy() 472 0.01081 0.01081 0.01081 1.19% MLCellLinOp::defineAuxData() 11 0.01055 0.01055 0.01055 1.16% MLPoisson::Fapply() 1060 0.01038 0.01038 0.01038 1.14% Gravity::fill_multipole_BCs() 11 0.009473 0.009473 0.009473 1.05% FabArray::Xpay() 739 0.007857 0.007857 0.007857 0.87% MLMG::addInterpCorrection() 410 0.007062 0.007062 0.007062 0.78% amrex::average_down 410 0.006315 0.006315 0.006315 0.70% Castro::estTimeStep() 21 0.005932 0.005932 0.005932 0.65% Amr::checkPoint() 3 0.005902 0.005902 0.005902 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005055 0.005055 0.005055 0.56% BndryData::define() 11 0.003931 0.003931 0.003931 0.43% amrex::Add() 82 0.003588 0.003588 0.003588 0.40% Castro::construct_new_gravity_source() 10 0.003489 0.003489 0.003489 0.39% Castro::enforce_speed_limit() 62 0.0032 0.0032 0.0032 0.35% Castro::construct_old_gravity_source() 10 0.002951 0.002951 0.002951 0.33% Amr::writePlotFile() 2 0.002082 0.002082 0.002082 0.23% check_for_negative_density() 10 0.001915 0.001915 0.001915 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001796 0.001796 0.001796 0.20% MLCGSolver::bicgstab 82 0.001758 0.001758 0.001758 0.19% Castro::reset_internal_energy(Fab) 504 0.001613 0.001613 0.001613 0.18% Gravity::actual_solve_with_mlmg() 11 0.001586 0.001586 0.001586 0.18% MLCellLinOp::setLevelBC() 11 0.001582 0.001582 0.001582 0.17% Castro::initData() 1 0.001561 0.001561 0.001561 0.17% FabArray::mult() 43 0.00138 0.00138 0.00138 0.15% MLCellLinOp::prepareForSolve() 11 0.001366 0.001366 0.001366 0.15% FabArray::setDomainBndry() 41 0.001355 0.001355 0.001355 0.15% MLCellLinOp::smooth() 1640 0.001354 0.001354 0.001354 0.15% MultiFab::contains_nan() 20 0.001275 0.001275 0.001275 0.14% MLCellLinOp::compGrad() 11 0.001077 0.001077 0.001077 0.12% MLMG::prepareForSolve() 11 0.0009959 0.0009959 0.0009959 0.11% FabArray::FillBoundary() 3941 0.0008906 0.0008906 0.0008906 0.10% FabArrayBase::getCPC() 1323 0.0008036 0.0008036 0.0008036 0.09% FabArrayBase::CPC::define() 454 0.0006714 0.0006714 0.0006714 0.07% FabArrayBase::getFB() 3941 0.0006032 0.0006032 0.0006032 0.07% Gravity::get_new_grav_vector() 11 0.0006015 0.0006015 0.0006015 0.07% Amr::InitAmr() 1 0.0005813 0.0005813 0.0005813 0.06% Gravity::get_old_grav_vector() 10 0.0004896 0.0004896 0.0004896 0.05% MLCellLinOp::apply() 1060 0.0004707 0.0004707 0.0004707 0.05% AmrLevel::FillPatch() 41 0.0004101 0.0004101 0.0004101 0.05% Amr::coarseTimeStep() 10 0.0003844 0.0003844 0.0003844 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003751 0.0003751 0.0003751 0.04% MultiFab::max() 11 0.0003343 0.0003343 0.0003343 0.04% main() 1 0.000306 0.000306 0.000306 0.03% MLCellLinOp::defineBC() 11 0.0002838 0.0002838 0.0002838 0.03% FabArray::ParallelCopy() 861 0.0002547 0.0002547 0.0002547 0.03% FillPatchIterator::Initialize 41 0.0002214 0.0002214 0.0002214 0.02% MLMG::mgVcycle() 82 0.0002189 0.0002189 0.0002189 0.02% Castro::subcycle_advance_ctu() 10 0.0001803 0.0001803 0.0001803 0.02% MLCellLinOp::correctionResidual() 410 0.0001743 0.0001743 0.0001743 0.02% MLLinOp::defineGrids() 11 0.0001737 0.0001737 0.0001737 0.02% Amr::timeStep() 10 0.0001611 0.0001611 0.0001611 0.02% Castro::create_source_corrector() 10 0.0001577 0.0001577 0.0001577 0.02% StateData::checkPoint() 12 0.0001336 0.0001336 0.0001336 0.01% Gravity::update_max_rhs() 11 0.0001323 0.0001323 0.0001323 0.01% Gravity::solve_for_phi() 10 0.0001275 0.0001275 0.0001275 0.01% MLMG:computeResOfCorrection() 410 0.0001197 0.0001197 0.0001197 0.01% Castro::advance() 10 0.0001166 0.0001166 0.0001166 0.01% FabArrayBase::FB::FB() 56 0.0001137 0.0001137 0.0001137 0.01% MLMG::mgVcycle_down::0 82 9.685e-05 9.685e-05 9.685e-05 0.01% Castro::Castro() 1 9.558e-05 9.558e-05 9.558e-05 0.01% MLMG::actualBottomSolve() 82 9.413e-05 9.413e-05 9.413e-05 0.01% MLMG::mgVcycle_down::1 82 9.23e-05 9.23e-05 9.23e-05 0.01% MLMG::mgVcycle_down::2 82 8.593e-05 8.593e-05 8.593e-05 0.01% MLMG::mgVcycle_down::3 82 8.27e-05 8.27e-05 8.27e-05 0.01% Castro::clean_state() 62 8.261e-05 8.261e-05 8.261e-05 0.01% MLMG::mgVcycle_down::4 82 8.15e-05 8.15e-05 8.15e-05 0.01% AmrLevel::checkPoint() 3 7.858e-05 7.858e-05 7.858e-05 0.01% Castro::initialize_advance() 10 7.848e-05 7.848e-05 7.848e-05 0.01% MLMG::solve() 11 7.466e-05 7.466e-05 7.466e-05 0.01% Castro::enforce_consistent_e() 1 7.206e-05 7.206e-05 7.206e-05 0.01% MLMG::mgVcycle_up::4 82 6.589e-05 6.589e-05 6.589e-05 0.01% Castro::finalize_advance() 10 6.392e-05 6.392e-05 6.392e-05 0.01% Castro::initialize_do_advance() 10 6.253e-05 6.253e-05 6.253e-05 0.01% MLMG::mgVcycle_up::0 82 5.947e-05 5.947e-05 5.947e-05 0.01% MLMG::mgVcycle_up::1 82 5.931e-05 5.931e-05 5.931e-05 0.01% MLMG::mgVcycle_up::3 82 5.853e-05 5.853e-05 5.853e-05 0.01% MLMG::mgVcycle_up::2 82 5.498e-05 5.498e-05 5.498e-05 0.01% MLMG::oneIter() 82 5.364e-05 5.364e-05 5.364e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.352e-05 5.352e-05 5.352e-05 0.01% Castro::do_advance_ctu() 10 5.241e-05 5.241e-05 5.241e-05 0.01% MLCellLinOp::solutionResidual() 93 5.049e-05 5.049e-05 5.049e-05 0.01% Castro::finalize_do_advance() 10 4.904e-05 4.904e-05 4.904e-05 0.01% MLMG::ResNormInf() 93 4.056e-05 4.056e-05 4.056e-05 0.00% StateData::define() 4 3.915e-05 3.915e-05 3.915e-05 0.00% FillPatchSingleLevel 41 3.84e-05 3.84e-05 3.84e-05 0.00% Castro::swap_state_time_levels() 10 3.674e-05 3.674e-05 3.674e-05 0.00% MLMG::mgVcycle_bottom 82 3.576e-05 3.576e-05 3.576e-05 0.00% Castro::construct_new_gravity() 10 3.274e-05 3.274e-05 3.274e-05 0.00% MLMG::computeResidual() 82 3.273e-05 3.273e-05 3.273e-05 0.00% Amr::writeSmallPlotFile() 1 2.962e-05 2.962e-05 2.962e-05 0.00% Castro::initMFs() 1 2.903e-05 2.903e-05 2.903e-05 0.00% makeSFC 55 2.61e-05 2.61e-05 2.61e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.496e-05 2.496e-05 2.496e-05 0.00% Amr::defBaseLevel() 1 2.471e-05 2.471e-05 2.471e-05 0.00% MLPoisson::define() 11 2.356e-05 2.356e-05 2.356e-05 0.00% Castro::buildMetrics() 1 2.223e-05 2.223e-05 2.223e-05 0.00% Castro::do_old_sources() 10 2.213e-05 2.213e-05 2.213e-05 0.00% Castro::construct_new_source() 50 1.933e-05 1.933e-05 1.933e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.93e-05 1.93e-05 1.93e-05 0.00% Amr::FinalizeInit() 1 1.915e-05 1.915e-05 1.915e-05 0.00% Castro::construct_old_source() 50 1.874e-05 1.874e-05 1.874e-05 0.00% Castro::do_new_sources() 10 1.871e-05 1.871e-05 1.871e-05 0.00% DistributionMapping::Distribute() 56 1.68e-05 1.68e-05 1.68e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.663e-05 1.663e-05 1.663e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.566e-05 1.566e-05 1.566e-05 0.00% MLPoisson::prepareForSolve() 11 1.431e-05 1.431e-05 1.431e-05 0.00% Castro::check_for_nan() 20 1.363e-05 1.363e-05 1.363e-05 0.00% MLMG::computeMLResidual() 11 1.308e-05 1.308e-05 1.308e-05 0.00% Castro::apply_source_to_state() 20 1.194e-05 1.194e-05 1.194e-05 0.00% Castro::construct_old_gravity() 10 1.167e-05 1.167e-05 1.167e-05 0.00% MLLinOp::define() 11 1.13e-05 1.13e-05 1.13e-05 0.00% Castro::post_init() 1 9.401e-06 9.401e-06 9.401e-06 0.00% Amr::initSubcycle() 1 9.092e-06 9.092e-06 9.092e-06 0.00% Gravity::swapTimeLevels() 10 8.941e-06 8.941e-06 8.941e-06 0.00% Gravity::actual_multilevel_solve() 1 8.791e-06 8.791e-06 8.791e-06 0.00% Castro::post_timestep() 10 8.655e-06 8.655e-06 8.655e-06 0.00% Castro::computeNewDt() 9 6.556e-06 6.556e-06 6.556e-06 0.00% Castro::expand_state() 10 6.501e-06 6.501e-06 6.501e-06 0.00% MLMG::getGradSolution() 11 6.487e-06 6.487e-06 6.487e-06 0.00% Amr::InitializeInit() 1 5.055e-06 5.055e-06 5.055e-06 0.00% AmrLevel::checkPointPost() 3 4.863e-06 4.863e-06 4.863e-06 0.00% MLMG::MLRhsNormInf() 11 4.208e-06 4.208e-06 4.208e-06 0.00% MLMG::MLResNormInf() 11 4.156e-06 4.156e-06 4.156e-06 0.00% Castro::retry_advance_ctu() 10 4.128e-06 4.128e-06 4.128e-06 0.00% Gravity::set_mass_offset() 11 4.078e-06 4.078e-06 4.078e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.16e-06 3.16e-06 3.16e-06 0.00% Castro::computeInitialDt() 2 3.119e-06 3.119e-06 3.119e-06 0.00% Amr::init() 1 3.086e-06 3.086e-06 3.086e-06 0.00% Castro::FluxRegCrseInit 10 3.026e-06 3.026e-06 3.026e-06 0.00% AmrLevel::checkPointPre() 3 2.406e-06 2.406e-06 2.406e-06 0.00% Castro::FluxRegFineAdd() 10 2.276e-06 2.276e-06 2.276e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.049e-06 2.049e-06 2.049e-06 0.00% Castro::post_regrid() 1 1.34e-06 1.34e-06 1.34e-06 0.00% Amr::initialInit() 1 1.113e-06 1.113e-06 1.113e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9063 0.9063 0.9063 100.00% Amr::coarseTimeStep() 10 0.7533 0.7533 0.7533 83.11% Amr::timeStep() 10 0.6602 0.6602 0.6602 72.84% Castro::advance() 10 0.6495 0.6495 0.6495 71.67% Castro::subcycle_advance_ctu() 10 0.6346 0.6346 0.6346 70.02% Castro::do_advance_ctu() 10 0.6344 0.6344 0.6344 70.00% Gravity::solve_phi_with_mlmg() 11 0.2964 0.2964 0.2964 32.71% Castro::construct_ctu_hydro_source() 10 0.2955 0.2955 0.2955 32.60% Gravity::actual_solve_with_mlmg() 11 0.2865 0.2865 0.2865 31.61% Castro::construct_new_gravity() 10 0.2675 0.2675 0.2675 29.52% MLMG::solve() 11 0.2642 0.2642 0.2642 29.15% Gravity::solve_for_phi() 10 0.2513 0.2513 0.2513 27.73% MLMG::oneIter() 82 0.2487 0.2487 0.2487 27.44% MLMG::mgVcycle() 82 0.2451 0.2451 0.2451 27.04% VisMF::Write(FabArray) 11 0.1782 0.1782 0.1782 19.66% Amr::checkPoint() 3 0.1358 0.1358 0.1358 14.98% AmrLevel::checkPoint() 3 0.1299 0.1299 0.1299 14.33% StateData::checkPoint() 12 0.1298 0.1298 0.1298 14.32% Amr::init() 1 0.1268 0.1268 0.1268 13.99% MLCellLinOp::smooth() 1640 0.122 0.122 0.122 13.46% MLCellLinOp::applyBC() 4351 0.1126 0.1126 0.1126 12.42% MLMG::mgVcycle_bottom 82 0.07383 0.07383 0.07383 8.15% MLMG::actualBottomSolve() 82 0.07379 0.07379 0.07379 8.14% MLCGSolver::bicgstab 82 0.07303 0.07303 0.07303 8.06% Castro::clean_state() 62 0.05564 0.05564 0.05564 6.14% Amr::initialInit() 1 0.05438 0.05438 0.05438 6.00% Amr::writePlotFile() 2 0.05114 0.05114 0.05114 5.64% Amr::FinalizeInit() 1 0.04938 0.04938 0.04938 5.45% AmrLevel::FillPatch() 41 0.04848 0.04848 0.04848 5.35% Castro::post_init() 1 0.04791 0.04791 0.04791 5.29% Gravity::multilevel_solve_for_new_phi() 1 0.04556 0.04556 0.04556 5.03% Gravity::actual_multilevel_solve() 1 0.04554 0.04554 0.04554 5.02% FillPatchIterator::Initialize 41 0.04422 0.04422 0.04422 4.88% FillPatchIterator::FillFromLevel0() 41 0.04264 0.04264 0.04264 4.70% FillPatchSingleLevel 41 0.04259 0.04259 0.04259 4.70% StateDataPhysBCFunct::() 41 0.03848 0.03848 0.03848 4.25% MLCellLinOp::apply() 1060 0.03639 0.03639 0.03639 4.01% MLMG::mgVcycle_down::0 82 0.0343 0.0343 0.0343 3.78% MLPoisson::Fsmooth() 3280 0.0341 0.0341 0.0341 3.76% FabArray::FillBoundary() 3941 0.03189 0.03189 0.03189 3.52% FillBoundary_nowait() 3941 0.031 0.031 0.031 3.42% StateData::FillBoundary(geom) 328 0.02682 0.02682 0.02682 2.96% MLMG::mgVcycle_up::0 82 0.02594 0.02594 0.02594 2.86% amrex::Dot() 1114 0.02177 0.02177 0.02177 2.40% Castro::initialize_do_advance() 10 0.02171 0.02171 0.02171 2.40% Castro::computeTemp() 63 0.02121 0.02121 0.02121 2.34% Castro::normalize_species() 62 0.02091 0.02091 0.02091 2.31% MLMG:computeResOfCorrection() 410 0.02044 0.02044 0.02044 2.26% MLCellLinOp::correctionResidual() 410 0.02032 0.02032 0.02032 2.24% FabArray::norminf() 1061 0.02013 0.02013 0.02013 2.22% Castro::do_old_sources() 10 0.01894 0.01894 0.01894 2.09% Gravity::get_new_grav_vector() 11 0.0181 0.0181 0.0181 2.00% MLPoisson::define() 11 0.01751 0.01751 0.01751 1.93% MLMG::mgVcycle_down::1 82 0.01689 0.01689 0.01689 1.86% MLMG::mgVcycle_down::2 82 0.01572 0.01572 0.01572 1.73% Castro::construct_old_gravity() 10 0.01559 0.01559 0.01559 1.72% Gravity::get_old_grav_vector() 10 0.01558 0.01558 0.01558 1.72% MLMG::mgVcycle_down::3 82 0.01531 0.01531 0.01531 1.69% MLMG::mgVcycle_down::4 82 0.01512 0.01512 0.01512 1.67% FabArray::ParallelCopy() 861 0.01466 0.01466 0.01466 1.62% FabArray::ParallelCopy_nowait() 861 0.01441 0.01441 0.01441 1.59% Castro::initialize_advance() 10 0.01421 0.01421 0.01421 1.57% FabArray::setVal() 1062 0.01328 0.01328 0.01328 1.47% FabArray::Saxpy() 1370 0.01324 0.01324 0.01324 1.46% MLCGSolver::ParallelAllReduce 1832 0.0131 0.0131 0.0131 1.45% MLMG::addInterpCorrection() 410 0.01232 0.01232 0.01232 1.36% MLMG::mgVcycle_up::1 82 0.01215 0.01215 0.01215 1.34% MLMG::mgVcycle_up::4 82 0.01204 0.01204 0.01204 1.33% Castro::do_new_sources() 10 0.01201 0.01201 0.01201 1.33% MLCellLinOp::defineAuxData() 11 0.012 0.012 0.012 1.32% MLMG::mgVcycle_up::2 82 0.01192 0.01192 0.01192 1.32% Castro::expand_state() 10 0.01188 0.01188 0.01188 1.31% amrex::average_down 410 0.01165 0.01165 0.01165 1.29% MLMG::mgVcycle_up::3 82 0.01165 0.01165 0.01165 1.28% Castro::enforce_min_density() 62 0.01109 0.01109 0.01109 1.22% amrex::Copy() 472 0.01081 0.01081 0.01081 1.19% Castro::post_timestep() 10 0.01052 0.01052 0.01052 1.16% MLPoisson::Fapply() 1060 0.01038 0.01038 0.01038 1.14% Gravity::fill_multipole_BCs() 11 0.009704 0.009704 0.009704 1.07% FabArray::Xpay() 739 0.007857 0.007857 0.007857 0.87% MLCellLinOp::solutionResidual() 93 0.007712 0.007712 0.007712 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006669 0.006669 0.006669 0.74% MLMG::computeResidual() 82 0.006377 0.006377 0.006377 0.70% Castro::estTimeStep() 21 0.005932 0.005932 0.005932 0.65% MLCellLinOp::defineBC() 11 0.005246 0.005246 0.005246 0.58% MLMG::prepareForSolve() 11 0.005227 0.005227 0.005227 0.58% Amr::InitializeInit() 1 0.004995 0.004995 0.004995 0.55% Amr::defBaseLevel() 1 0.00499 0.00499 0.00499 0.55% BndryData::define() 11 0.004963 0.004963 0.004963 0.55% Castro::initData() 1 0.004328 0.004328 0.004328 0.48% amrex::Add() 82 0.003588 0.003588 0.003588 0.40% Castro::construct_new_source() 50 0.003509 0.003509 0.003509 0.39% Castro::construct_new_gravity_source() 10 0.003489 0.003489 0.003489 0.39% Castro::enforce_speed_limit() 62 0.0032 0.0032 0.0032 0.35% Castro::construct_old_source() 50 0.00297 0.00297 0.00297 0.33% Castro::construct_old_gravity_source() 10 0.002951 0.002951 0.002951 0.33% Castro::computeNewDt() 9 0.002708 0.002708 0.002708 0.30% Castro::finalize_do_advance() 10 0.002211 0.002211 0.002211 0.24% MLMG::ResNormInf() 93 0.0022 0.0022 0.0022 0.24% check_for_negative_density() 10 0.001915 0.001915 0.001915 0.21% Castro::apply_source_to_state() 20 0.001865 0.001865 0.001865 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001796 0.001796 0.001796 0.20% Castro::reset_internal_energy(Fab) 504 0.001613 0.001613 0.001613 0.18% MLCellLinOp::setLevelBC() 11 0.001582 0.001582 0.001582 0.17% MLMG::getGradSolution() 11 0.001578 0.001578 0.001578 0.17% MLCellLinOp::compGrad() 11 0.001571 0.001571 0.001571 0.17% FabArrayBase::getCPC() 1323 0.001475 0.001475 0.001475 0.16% MLMG::computeMLResidual() 11 0.001381 0.001381 0.001381 0.15% MLPoisson::prepareForSolve() 11 0.001381 0.001381 0.001381 0.15% FabArray::mult() 43 0.00138 0.00138 0.00138 0.15% MLCellLinOp::prepareForSolve() 11 0.001366 0.001366 0.001366 0.15% FabArray::setDomainBndry() 41 0.001355 0.001355 0.001355 0.15% Castro::check_for_nan() 20 0.001289 0.001289 0.001289 0.14% MultiFab::contains_nan() 20 0.001275 0.001275 0.001275 0.14% Castro::post_regrid() 1 0.001161 0.001161 0.001161 0.13% Castro::computeInitialDt() 2 0.001073 0.001073 0.001073 0.12% Gravity::update_max_rhs() 11 0.001001 0.001001 0.001001 0.11% FabArrayBase::getFB() 3941 0.0007169 0.0007169 0.0007169 0.08% FabArrayBase::CPC::define() 454 0.0006714 0.0006714 0.0006714 0.07% Amr::InitAmr() 1 0.0005904 0.0005904 0.0005904 0.07% Castro::finalize_advance() 10 0.0005855 0.0005855 0.0005855 0.06% Castro::Castro() 1 0.0005774 0.0005774 0.0005774 0.06% Gravity::swapTimeLevels() 10 0.0004522 0.0004522 0.0004522 0.05% MLMG::MLResNormInf() 11 0.0003445 0.0003445 0.0003445 0.04% MultiFab::max() 11 0.0003343 0.0003343 0.0003343 0.04% Castro::buildMetrics() 1 0.000282 0.000282 0.000282 0.03% MLLinOp::define() 11 0.0002443 0.0002443 0.0002443 0.03% MLLinOp::defineGrids() 11 0.000233 0.000233 0.000233 0.03% MLMG::MLRhsNormInf() 11 0.0002222 0.0002222 0.0002222 0.02% Castro::create_source_corrector() 10 0.0001577 0.0001577 0.0001577 0.02% FabArrayBase::FB::FB() 56 0.0001137 0.0001137 0.0001137 0.01% Castro::enforce_consistent_e() 1 7.206e-05 7.206e-05 7.206e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.734e-05 5.734e-05 5.734e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.578e-05 5.578e-05 5.578e-05 0.01% makeSFC 55 4.168e-05 4.168e-05 4.168e-05 0.00% StateData::define() 4 3.915e-05 3.915e-05 3.915e-05 0.00% Castro::swap_state_time_levels() 10 3.674e-05 3.674e-05 3.674e-05 0.00% Amr::writeSmallPlotFile() 1 2.962e-05 2.962e-05 2.962e-05 0.00% Castro::initMFs() 1 2.903e-05 2.903e-05 2.903e-05 0.00% DistributionMapping::Distribute() 56 1.68e-05 1.68e-05 1.68e-05 0.00% Amr::initSubcycle() 1 9.092e-06 9.092e-06 9.092e-06 0.00% AmrLevel::checkPointPost() 3 4.863e-06 4.863e-06 4.863e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.38e-06 4.38e-06 4.38e-06 0.00% Castro::retry_advance_ctu() 10 4.128e-06 4.128e-06 4.128e-06 0.00% Gravity::set_mass_offset() 11 4.078e-06 4.078e-06 4.078e-06 0.00% Castro::FluxRegCrseInit 10 3.026e-06 3.026e-06 3.026e-06 0.00% AmrLevel::checkPointPre() 3 2.406e-06 2.406e-06 2.406e-06 0.00% Castro::FluxRegFineAdd() 10 2.276e-06 2.276e-06 2.276e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.049e-06 2.049e-06 2.049e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 87 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1036 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1576 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3584 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 176 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2138 B 2048 KiB Gravity::solve_for_phi() 80 80 567 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 327 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 208 KiB 671 KiB Castro::estTimeStep() 21 21 3191 B 480 KiB VisMF::Write(FabArray) 656 656 3417 B 320 KiB Castro::normalize_species() 62 62 7511 B 320 KiB amrex::average_down 1067 1067 1258 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1151 B 257 KiB amrex::Dot() 1360 1360 3547 B 160 KiB FabArray::norminf() 1143 1143 3435 B 160 KiB check_for_negative_density() 10 10 333 B 160 KiB Castro::initData() 1 1 54 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3498 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 292 B 9648 B MLCellLinOp::applyBC() 8702 8702 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3924 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 369 B 1248 B MLCGSolver::bicgstab 410 410 97 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 575 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 429 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3498 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 292 B 9648 B MLCellLinOp::applyBC() 4351 4351 219 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3924 B 6144 B Gravity::get_new_grav_vector() 3 3 2889 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 298 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.01-7-g255d30f387cf) finalized Initializing AMReX (24.01-7-g255d30f387cf)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-7-g255d30f387cf) initialized Starting run at 10:25:30 UTC on 2024-01-15. Successfully read inputs file ... Castro git describe: 24.01-11-g44d0e551d AMReX git describe: 24.01-7-g255d30f38 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.513992061 Restart time = 0.071965427 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.068933511 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.050282418 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.056410562 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.078235136 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.079907116 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.036383763 seconds Ending run at 10:25:30 UTC on 2024-01-15. Run time = 0.443363093 Run time without initialization = 0.370687234 Average number of zones advanced per microsecond: 3.536 Average number of zones advanced per microsecond per rank: 3.536 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4434 ... 0.4434 ... 0.4434 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1412 0.1412 0.1412 31.84% VisMF::Read() 3 0.06034 0.06034 0.06034 13.61% MLCellLinOp::applyBC() 1910 0.03559 0.03559 0.03559 8.03% VisMF::Write(FabArray) 1 0.02705 0.02705 0.02705 6.10% MLPoisson::Fsmooth() 1440 0.01494 0.01494 0.01494 3.37% StateData::FillBoundary(geom) 160 0.01305 0.01305 0.01305 2.94% FillBoundary_nowait() 1730 0.01282 0.01282 0.01282 2.89% amrex::Copy() 221 0.01201 0.01201 0.01201 2.71% amrex::Dot() 484 0.009425 0.009425 0.009425 2.13% Castro::normalize_species() 30 0.009407 0.009407 0.009407 2.12% FabArray::norminf() 465 0.00898 0.00898 0.00898 2.03% Castro::computeTemp() 30 0.007345 0.007345 0.007345 1.66% FabArray::setVal() 501 0.006502 0.006502 0.006502 1.47% FabArray::ParallelCopy_nowait() 380 0.006212 0.006212 0.006212 1.40% FabArray::Saxpy() 597 0.005914 0.005914 0.005914 1.33% Castro::enforce_min_density() 30 0.005754 0.005754 0.005754 1.30% MLCellLinOp::defineAuxData() 6 0.005669 0.005669 0.005669 1.28% Gravity::fill_multipole_BCs() 6 0.005611 0.005611 0.005611 1.27% StateDataPhysBCFunct::() 20 0.004917 0.004917 0.004917 1.11% Amr::restart() 1 0.004914 0.004914 0.004914 1.11% MLPoisson::Fapply() 464 0.004547 0.004547 0.004547 1.03% FabArray::Xpay() 325 0.003474 0.003474 0.003474 0.78% MLMG::addInterpCorrection() 180 0.003207 0.003207 0.003207 0.72% Castro::estTimeStep() 10 0.002991 0.002991 0.002991 0.67% amrex::average_down 180 0.002789 0.002789 0.002789 0.63% Amr::writePlotFile() 1 0.002565 0.002565 0.002565 0.58% BndryData::define() 6 0.002123 0.002123 0.002123 0.48% Castro::reset_internal_energy(MultiFab) 30 0.002057 0.002057 0.002057 0.46% Castro::construct_new_gravity_source() 5 0.001874 0.001874 0.001874 0.42% amrex::Add() 36 0.001535 0.001535 0.001535 0.35% Castro::construct_old_gravity_source() 5 0.001514 0.001514 0.001514 0.34% check_for_negative_density() 5 0.001001 0.001001 0.001001 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009703 0.0009703 0.0009703 0.22% Castro::enforce_speed_limit() 30 0.0008797 0.0008797 0.0008797 0.20% MLCellLinOp::setLevelBC() 6 0.0008618 0.0008618 0.0008618 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008615 0.0008615 0.0008615 0.19% Castro::reset_internal_energy(Fab) 240 0.0007746 0.0007746 0.0007746 0.17% MLCellLinOp::prepareForSolve() 6 0.0007518 0.0007518 0.0007518 0.17% MLCGSolver::bicgstab 36 0.0007383 0.0007383 0.0007383 0.17% FabArray::setDomainBndry() 20 0.0006855 0.0006855 0.0006855 0.15% FabArray::mult() 22 0.0006849 0.0006849 0.0006849 0.15% MultiFab::contains_nan() 10 0.0006674 0.0006674 0.0006674 0.15% MLCellLinOp::compGrad() 6 0.000587 0.000587 0.000587 0.13% MLMG::prepareForSolve() 6 0.00056 0.00056 0.00056 0.13% MLCellLinOp::smooth() 720 0.0005123 0.0005123 0.0005123 0.12% Amr::InitAmr() 1 0.000498 0.000498 0.000498 0.11% FabArrayBase::CPC::define() 244 0.0004107 0.0004107 0.0004107 0.09% FabArray::FillBoundary() 1730 0.000392 0.000392 0.000392 0.09% FabArrayBase::getCPC() 632 0.0003866 0.0003866 0.0003866 0.09% main() 1 0.0003757 0.0003757 0.0003757 0.08% Gravity::get_old_grav_vector() 5 0.0003207 0.0003207 0.0003207 0.07% FabArrayBase::getFB() 1730 0.0002625 0.0002625 0.0002625 0.06% Gravity::get_new_grav_vector() 5 0.000262 0.000262 0.000262 0.06% MultiFab::max() 6 0.0002075 0.0002075 0.0002075 0.05% AmrLevel::FillPatch() 20 0.000201 0.000201 0.000201 0.05% Amr::coarseTimeStep() 5 0.0001945 0.0001945 0.0001945 0.04% MLCellLinOp::apply() 464 0.0001933 0.0001933 0.0001933 0.04% MLCellLinOp::defineBC() 6 0.0001592 0.0001592 0.0001592 0.04% MLCGSolver::ParallelAllReduce 798 0.0001557 0.0001557 0.0001557 0.04% FabArray::ParallelCopy() 380 0.0001137 0.0001137 0.0001137 0.03% FillPatchIterator::Initialize 20 0.0001108 0.0001108 0.0001108 0.02% Castro::create_source_corrector() 5 0.0001089 0.0001089 0.0001089 0.02% MLMG::mgVcycle() 36 9.547e-05 9.547e-05 9.547e-05 0.02% MLLinOp::defineGrids() 6 9.211e-05 9.211e-05 9.211e-05 0.02% Castro::subcycle_advance_ctu() 5 8.776e-05 8.776e-05 8.776e-05 0.02% Amr::timeStep() 5 8.736e-05 8.736e-05 8.736e-05 0.02% AmrLevel::restart() 1 7.943e-05 7.943e-05 7.943e-05 0.02% Castro::construct_new_source() 25 7.311e-05 7.311e-05 7.311e-05 0.02% MLCellLinOp::correctionResidual() 180 7.18e-05 7.18e-05 7.18e-05 0.02% StateData::restartDoit() 4 6.934e-05 6.934e-05 6.934e-05 0.02% Gravity::update_max_rhs() 6 6.745e-05 6.745e-05 6.745e-05 0.02% Castro::initialize_do_advance() 5 6.603e-05 6.603e-05 6.603e-05 0.01% FabArrayBase::FB::FB() 26 6.17e-05 6.17e-05 6.17e-05 0.01% Gravity::solve_for_phi() 5 5.779e-05 5.779e-05 5.779e-05 0.01% Castro::do_new_sources() 5 5.21e-05 5.21e-05 5.21e-05 0.01% MLMG:computeResOfCorrection() 180 5.031e-05 5.031e-05 5.031e-05 0.01% MLMG::mgVcycle_down::0 36 4.761e-05 4.761e-05 4.761e-05 0.01% Castro::do_advance_ctu() 5 4.333e-05 4.333e-05 4.333e-05 0.01% Castro::finalize_do_advance() 5 4.296e-05 4.296e-05 4.296e-05 0.01% MLMG::actualBottomSolve() 36 4.286e-05 4.286e-05 4.286e-05 0.01% Castro::post_timestep() 5 3.968e-05 3.968e-05 3.968e-05 0.01% MLMG::mgVcycle_down::1 36 3.951e-05 3.951e-05 3.951e-05 0.01% Castro::initialize_advance() 5 3.65e-05 3.65e-05 3.65e-05 0.01% Amr::writeSmallPlotFile() 1 3.627e-05 3.627e-05 3.627e-05 0.01% MLMG::mgVcycle_down::2 36 3.568e-05 3.568e-05 3.568e-05 0.01% MLMG::mgVcycle_down::4 36 3.552e-05 3.552e-05 3.552e-05 0.01% MLMG::solve() 6 3.503e-05 3.503e-05 3.503e-05 0.01% MLMG::mgVcycle_down::3 36 3.411e-05 3.411e-05 3.411e-05 0.01% Castro::advance() 5 3.259e-05 3.259e-05 3.259e-05 0.01% Castro::clean_state() 30 3.178e-05 3.178e-05 3.178e-05 0.01% Castro::finalize_advance() 5 3.13e-05 3.13e-05 3.13e-05 0.01% MLMG::mgVcycle_up::4 36 3.002e-05 3.002e-05 3.002e-05 0.01% Castro::post_restart() 1 2.996e-05 2.996e-05 2.996e-05 0.01% Castro::buildMetrics() 1 2.843e-05 2.843e-05 2.843e-05 0.01% Castro::construct_old_source() 25 2.726e-05 2.726e-05 2.726e-05 0.01% Castro::swap_state_time_levels() 5 2.575e-05 2.575e-05 2.575e-05 0.01% MLMG::mgVcycle_up::3 36 2.493e-05 2.493e-05 2.493e-05 0.01% MLMG::mgVcycle_up::0 36 2.488e-05 2.488e-05 2.488e-05 0.01% MLMG::oneIter() 36 2.483e-05 2.483e-05 2.483e-05 0.01% Castro::initMFs() 1 2.442e-05 2.442e-05 2.442e-05 0.01% MLCellLinOp::solutionResidual() 42 2.396e-05 2.396e-05 2.396e-05 0.01% MLMG::mgVcycle_up::2 36 2.329e-05 2.329e-05 2.329e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.313e-05 2.313e-05 2.313e-05 0.01% MLMG::mgVcycle_up::1 36 2.207e-05 2.207e-05 2.207e-05 0.00% MLMG::ResNormInf() 42 2.162e-05 2.162e-05 2.162e-05 0.00% Castro::construct_new_gravity() 5 1.762e-05 1.762e-05 1.762e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.702e-05 1.702e-05 1.702e-05 0.00% MLMG::mgVcycle_bottom 36 1.59e-05 1.59e-05 1.59e-05 0.00% FillPatchSingleLevel 20 1.58e-05 1.58e-05 1.58e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.52e-05 1.52e-05 1.52e-05 0.00% MLMG::computeResidual() 36 1.466e-05 1.466e-05 1.466e-05 0.00% makeSFC 30 1.39e-05 1.39e-05 1.39e-05 0.00% MLPoisson::define() 6 1.287e-05 1.287e-05 1.287e-05 0.00% Castro::do_old_sources() 5 1.212e-05 1.212e-05 1.212e-05 0.00% DistributionMapping::Distribute() 31 9.968e-06 9.968e-06 9.968e-06 0.00% MLPoisson::prepareForSolve() 6 9.253e-06 9.253e-06 9.253e-06 0.00% Amr::initSubcycle() 1 8.933e-06 8.933e-06 8.933e-06 0.00% Gravity::actual_multilevel_solve() 1 8.541e-06 8.541e-06 8.541e-06 0.00% MLMG::computeMLResidual() 6 8.158e-06 8.158e-06 8.158e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.327e-06 7.327e-06 7.327e-06 0.00% Castro::construct_old_gravity() 5 6.733e-06 6.733e-06 6.733e-06 0.00% MLLinOp::define() 6 6.291e-06 6.291e-06 6.291e-06 0.00% Castro::check_for_nan() 10 5.899e-06 5.899e-06 5.899e-06 0.00% Castro::apply_source_to_state() 10 5.726e-06 5.726e-06 5.726e-06 0.00% Gravity::swapTimeLevels() 5 4.213e-06 4.213e-06 4.213e-06 0.00% Castro::computeNewDt() 5 4.005e-06 4.005e-06 4.005e-06 0.00% MLMG::getGradSolution() 6 3.284e-06 3.284e-06 3.284e-06 0.00% Castro::expand_state() 5 3.226e-06 3.226e-06 3.226e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.22e-06 3.22e-06 3.22e-06 0.00% MLMG::MLResNormInf() 6 2.636e-06 2.636e-06 2.636e-06 0.00% MLMG::MLRhsNormInf() 6 2.325e-06 2.325e-06 2.325e-06 0.00% Gravity::set_mass_offset() 6 2.258e-06 2.258e-06 2.258e-06 0.00% Castro::retry_advance_ctu() 5 2.223e-06 2.223e-06 2.223e-06 0.00% Castro::FluxRegCrseInit 5 2.024e-06 2.024e-06 2.024e-06 0.00% Amr::init() 1 1.302e-06 1.302e-06 1.302e-06 0.00% Castro::FluxRegFineAdd() 5 1.283e-06 1.283e-06 1.283e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.234e-06 1.234e-06 1.234e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4434 0.4434 0.4434 100.00% Amr::coarseTimeStep() 5 0.334 0.334 0.334 75.32% Amr::timeStep() 5 0.3318 0.3318 0.3318 74.83% Castro::advance() 5 0.3271 0.3271 0.3271 73.78% Castro::subcycle_advance_ctu() 5 0.3195 0.3195 0.3195 72.05% Castro::do_advance_ctu() 5 0.3194 0.3194 0.3194 72.03% Castro::construct_ctu_hydro_source() 5 0.1471 0.1471 0.1471 33.17% Castro::construct_new_gravity() 5 0.1366 0.1366 0.1366 30.81% Gravity::solve_phi_with_mlmg() 6 0.1341 0.1341 0.1341 30.24% Gravity::solve_for_phi() 5 0.1284 0.1284 0.1284 28.97% Gravity::actual_solve_with_mlmg() 6 0.1282 0.1282 0.1282 28.91% MLMG::solve() 6 0.1162 0.1162 0.1162 26.20% MLMG::oneIter() 36 0.1085 0.1085 0.1085 24.47% MLMG::mgVcycle() 36 0.107 0.107 0.107 24.12% Amr::init() 1 0.07203 0.07203 0.07203 16.24% Amr::restart() 1 0.07202 0.07202 0.07202 16.24% AmrLevel::restart() 1 0.06071 0.06071 0.06071 13.69% StateData::restartDoit() 4 0.06062 0.06062 0.06062 13.67% VisMF::Read() 3 0.06034 0.06034 0.06034 13.61% MLCellLinOp::smooth() 720 0.053 0.053 0.053 11.95% MLCellLinOp::applyBC() 1910 0.04913 0.04913 0.04913 11.08% Amr::writePlotFile() 1 0.03647 0.03647 0.03647 8.23% MLMG::mgVcycle_bottom 36 0.03227 0.03227 0.03227 7.28% MLMG::actualBottomSolve() 36 0.03226 0.03226 0.03226 7.27% MLCGSolver::bicgstab 36 0.03192 0.03192 0.03192 7.20% VisMF::Write(FabArray) 1 0.02705 0.02705 0.02705 6.10% Castro::clean_state() 30 0.02625 0.02625 0.02625 5.92% AmrLevel::FillPatch() 20 0.02295 0.02295 0.02295 5.18% FillPatchIterator::Initialize 20 0.02085 0.02085 0.02085 4.70% FillPatchIterator::FillFromLevel0() 20 0.02005 0.02005 0.02005 4.52% FillPatchSingleLevel 20 0.02003 0.02003 0.02003 4.52% StateDataPhysBCFunct::() 20 0.01797 0.01797 0.01797 4.05% MLCellLinOp::apply() 464 0.01604 0.01604 0.01604 3.62% MLPoisson::Fsmooth() 1440 0.01494 0.01494 0.01494 3.37% MLMG::mgVcycle_down::0 36 0.01489 0.01489 0.01489 3.36% FabArray::FillBoundary() 1730 0.01353 0.01353 0.01353 3.05% FillBoundary_nowait() 1730 0.01314 0.01314 0.01314 2.96% StateData::FillBoundary(geom) 160 0.01305 0.01305 0.01305 2.94% amrex::Copy() 221 0.01201 0.01201 0.01201 2.71% Castro::initialize_do_advance() 5 0.01134 0.01134 0.01134 2.56% MLMG::mgVcycle_up::0 36 0.01123 0.01123 0.01123 2.53% Castro::computeTemp() 30 0.01018 0.01018 0.01018 2.30% MLPoisson::define() 6 0.009461 0.009461 0.009461 2.13% amrex::Dot() 484 0.009425 0.009425 0.009425 2.13% Castro::normalize_species() 30 0.009407 0.009407 0.009407 2.12% Castro::do_old_sources() 5 0.009294 0.009294 0.009294 2.10% FabArray::norminf() 465 0.00898 0.00898 0.00898 2.03% MLMG:computeResOfCorrection() 180 0.008893 0.008893 0.008893 2.01% MLCellLinOp::correctionResidual() 180 0.008842 0.008842 0.008842 1.99% Gravity::get_new_grav_vector() 5 0.008058 0.008058 0.008058 1.82% Castro::construct_old_gravity() 5 0.00769 0.00769 0.00769 1.73% Gravity::get_old_grav_vector() 5 0.007684 0.007684 0.007684 1.73% MLMG::mgVcycle_down::1 36 0.007442 0.007442 0.007442 1.68% Castro::initialize_advance() 5 0.007309 0.007309 0.007309 1.65% MLMG::mgVcycle_down::2 36 0.006836 0.006836 0.006836 1.54% FabArray::ParallelCopy() 380 0.006727 0.006727 0.006727 1.52% MLMG::mgVcycle_down::3 36 0.006679 0.006679 0.006679 1.51% FabArray::ParallelCopy_nowait() 380 0.006613 0.006613 0.006613 1.49% MLMG::mgVcycle_down::4 36 0.006584 0.006584 0.006584 1.48% FabArray::setVal() 501 0.006502 0.006502 0.006502 1.47% MLCellLinOp::defineAuxData() 6 0.006452 0.006452 0.006452 1.46% Castro::post_restart() 1 0.006231 0.006231 0.006231 1.41% FabArray::Saxpy() 597 0.005914 0.005914 0.005914 1.33% Castro::expand_state() 5 0.005872 0.005872 0.005872 1.32% Gravity::multilevel_solve_for_new_phi() 1 0.005856 0.005856 0.005856 1.32% Gravity::actual_multilevel_solve() 1 0.005839 0.005839 0.005839 1.32% Castro::do_new_sources() 5 0.005785 0.005785 0.005785 1.30% Castro::enforce_min_density() 30 0.005754 0.005754 0.005754 1.30% Gravity::fill_multipole_BCs() 6 0.005737 0.005737 0.005737 1.29% MLCGSolver::ParallelAllReduce 798 0.005732 0.005732 0.005732 1.29% MLMG::addInterpCorrection() 180 0.005546 0.005546 0.005546 1.25% MLMG::mgVcycle_up::4 36 0.00532 0.00532 0.00532 1.20% MLMG::mgVcycle_up::1 36 0.005308 0.005308 0.005308 1.20% MLMG::mgVcycle_up::2 36 0.005197 0.005197 0.005197 1.17% amrex::average_down 180 0.005127 0.005127 0.005127 1.16% MLMG::mgVcycle_up::3 36 0.005109 0.005109 0.005109 1.15% Castro::post_timestep() 5 0.004598 0.004598 0.004598 1.04% MLPoisson::Fapply() 464 0.004547 0.004547 0.004547 1.03% MLCellLinOp::solutionResidual() 42 0.003596 0.003596 0.003596 0.81% FabArray::Xpay() 325 0.003474 0.003474 0.003474 0.78% Castro::estTimeStep() 10 0.002991 0.002991 0.002991 0.67% MLMG::prepareForSolve() 6 0.002867 0.002867 0.002867 0.65% MLCellLinOp::defineBC() 6 0.002866 0.002866 0.002866 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002832 0.002832 0.002832 0.64% MLMG::computeResidual() 36 0.00281 0.00281 0.00281 0.63% BndryData::define() 6 0.002707 0.002707 0.002707 0.61% Castro::computeNewDt() 5 0.001956 0.001956 0.001956 0.44% Castro::construct_new_source() 25 0.001948 0.001948 0.001948 0.44% Castro::construct_new_gravity_source() 5 0.001874 0.001874 0.001874 0.42% Castro::construct_old_source() 25 0.001542 0.001542 0.001542 0.35% amrex::Add() 36 0.001535 0.001535 0.001535 0.35% Castro::construct_old_gravity_source() 5 0.001514 0.001514 0.001514 0.34% Castro::finalize_do_advance() 5 0.001082 0.001082 0.001082 0.24% check_for_negative_density() 5 0.001001 0.001001 0.001001 0.23% MLMG::ResNormInf() 42 0.000989 0.000989 0.000989 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009703 0.0009703 0.0009703 0.22% Castro::apply_source_to_state() 10 0.0009566 0.0009566 0.0009566 0.22% Castro::enforce_speed_limit() 30 0.0008797 0.0008797 0.0008797 0.20% MLMG::getGradSolution() 6 0.0008713 0.0008713 0.0008713 0.20% MLCellLinOp::compGrad() 6 0.000868 0.000868 0.000868 0.20% MLCellLinOp::setLevelBC() 6 0.0008618 0.0008618 0.0008618 0.19% MLMG::computeMLResidual() 6 0.0008088 0.0008088 0.0008088 0.18% FabArrayBase::getCPC() 632 0.0007973 0.0007973 0.0007973 0.18% Castro::reset_internal_energy(Fab) 240 0.0007746 0.0007746 0.0007746 0.17% MLPoisson::prepareForSolve() 6 0.0007611 0.0007611 0.0007611 0.17% MLCellLinOp::prepareForSolve() 6 0.0007518 0.0007518 0.0007518 0.17% Gravity::update_max_rhs() 6 0.0007175 0.0007175 0.0007175 0.16% FabArray::setDomainBndry() 20 0.0006855 0.0006855 0.0006855 0.15% FabArray::mult() 22 0.0006849 0.0006849 0.0006849 0.15% Castro::check_for_nan() 10 0.0006733 0.0006733 0.0006733 0.15% MultiFab::contains_nan() 10 0.0006674 0.0006674 0.0006674 0.15% Amr::InitAmr() 1 0.0005069 0.0005069 0.0005069 0.11% FabArrayBase::CPC::define() 244 0.0004107 0.0004107 0.0004107 0.09% FabArrayBase::getFB() 1730 0.0003242 0.0003242 0.0003242 0.07% Castro::finalize_advance() 5 0.000294 0.000294 0.000294 0.07% Gravity::swapTimeLevels() 5 0.0002347 0.0002347 0.0002347 0.05% MultiFab::max() 6 0.0002075 0.0002075 0.0002075 0.05% MLMG::MLResNormInf() 6 0.0001902 0.0001902 0.0001902 0.04% Castro::buildMetrics() 1 0.000148 0.000148 0.000148 0.03% MLLinOp::define() 6 0.0001296 0.0001296 0.0001296 0.03% MLLinOp::defineGrids() 6 0.0001233 0.0001233 0.0001233 0.03% MLMG::MLRhsNormInf() 6 0.0001192 0.0001192 0.0001192 0.03% Castro::create_source_corrector() 5 0.0001089 0.0001089 0.0001089 0.02% FabArrayBase::FB::FB() 26 6.17e-05 6.17e-05 6.17e-05 0.01% Amr::writeSmallPlotFile() 1 3.627e-05 3.627e-05 3.627e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.991e-05 2.991e-05 2.991e-05 0.01% Castro::swap_state_time_levels() 5 2.575e-05 2.575e-05 2.575e-05 0.01% Castro::initMFs() 1 2.442e-05 2.442e-05 2.442e-05 0.01% makeSFC 30 2.259e-05 2.259e-05 2.259e-05 0.01% DistributionMapping::Distribute() 31 9.968e-06 9.968e-06 9.968e-06 0.00% Amr::initSubcycle() 1 8.933e-06 8.933e-06 8.933e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.501e-06 4.501e-06 4.501e-06 0.00% Gravity::set_mass_offset() 6 2.258e-06 2.258e-06 2.258e-06 0.00% Castro::retry_advance_ctu() 5 2.223e-06 2.223e-06 2.223e-06 0.00% Castro::FluxRegCrseInit 5 2.024e-06 2.024e-06 2.024e-06 0.00% Castro::FluxRegFineAdd() 5 1.283e-06 1.283e-06 1.283e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.234e-06 1.234e-06 1.234e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 178 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1018 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2229 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6442 KiB 14 MiB MLMG::prepareForSolve() 361 361 3214 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 179 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6429 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3208 B 2048 KiB Gravity::solve_for_phi() 40 40 592 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 296 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 190 KiB 671 KiB Castro::estTimeStep() 10 10 3197 B 480 KiB VisMF::Write(FabArray) 112 112 2415 B 320 KiB Castro::normalize_species() 30 30 6905 B 320 KiB amrex::average_down 469 469 1118 B 257 KiB MLMG::addInterpCorrection() 468 468 1045 B 257 KiB amrex::Dot() 592 592 3129 B 160 KiB FabArray::norminf() 501 501 3131 B 160 KiB check_for_negative_density() 5 5 363 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3116 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 250 B 9648 B MLCellLinOp::applyBC() 3820 3820 199 B 9344 B amrex::Copy() 56 56 5572 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 333 B 1248 B MLCGSolver::bicgstab 180 180 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1101 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 159 KiB 3584 KiB VisMF::Read() 24 24 206 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3116 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 250 B 9648 B MLCellLinOp::applyBC() 1910 1910 199 B 9328 B amrex::Copy() 56 56 5572 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2525 B 3072 B StateData::FillBoundary(geom) 960 960 37 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 496 B 1296 B amrex::average_down 37 37 204 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.01-7-g255d30f387cf) finalized