Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-7-g6d30e83c944e) initialized Starting run at 09:13:45 UTC on 2023-03-13. Successfully read inputs file ... Castro git describe: 23.03-2-g0304294be AMReX git describe: 23.03-7-g6d30e83c9 Microphysics git describe: 23.03-12-g1f07dde0 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.05945718 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033865425 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047050576 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050777329 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.057188917 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.059330888 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.059209047 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.057704774 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.06950801 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.067734892 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.063939978 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.057097034 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.062364298 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.057817761 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033574835 seconds Ending run at 09:13:46 UTC on 2023-03-13. Run time = 0.886413644 Run time without initialization = 0.743926266 Average number of zones advanced per microsecond: 3.524 Average number of zones advanced per microsecond per rank: 3.524 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8864 ... 0.8864 ... 0.8864 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2355 0.2355 0.2355 26.57% Castro::construct_ctu_hydro_source() 10 0.2326 0.2326 0.2326 26.24% MLCellLinOp::applyBC() 4433 0.07723 0.07723 0.07723 8.71% MLPoisson::Fsmooth() 3280 0.03239 0.03239 0.03239 3.65% FillBoundary_nowait() 4023 0.03016 0.03016 0.03016 3.40% StateData::FillBoundary(geom) 328 0.02507 0.02507 0.02507 2.83% amrex::Dot() 1114 0.02081 0.02081 0.02081 2.35% Castro::normalize_species() 62 0.01624 0.01624 0.01624 1.83% amrex::Copy() 1029 0.01489 0.01489 0.01489 1.68% Castro::computeTemp() 63 0.01484 0.01484 0.01484 1.67% FabArray::norminf() 743 0.01439 0.01439 0.01439 1.62% FabArray::ParallelCopy_nowait() 861 0.01351 0.01351 0.01351 1.52% FabArray::setVal() 1144 0.0132 0.0132 0.0132 1.49% StateDataPhysBCFunct::() 41 0.01283 0.01283 0.01283 1.45% MLPoisson::Fapply() 1142 0.01041 0.01041 0.01041 1.17% MLCellLinOp::defineAuxData() 11 0.009995 0.009995 0.009995 1.13% Castro::enforce_min_density() 62 0.009533 0.009533 0.009533 1.08% FabArray::Saxpy() 813 0.008209 0.008209 0.008209 0.93% FabArray::Xpay() 821 0.008081 0.008081 0.008081 0.91% MLMG::addInterpCorrection() 410 0.006852 0.006852 0.006852 0.77% Gravity::fill_multipole_BCs() 11 0.006561 0.006561 0.006561 0.74% amrex::average_down 410 0.006002 0.006002 0.006002 0.68% FabArray::LinComb() 557 0.004549 0.004549 0.004549 0.51% Castro::reset_internal_energy(MultiFab) 63 0.004431 0.004431 0.004431 0.50% amrex::Add() 164 0.004335 0.004335 0.004335 0.49% Castro::estTimeStep() 21 0.004214 0.004214 0.004214 0.48% Amr::checkPoint() 3 0.00401 0.00401 0.00401 0.45% BndryData::define() 11 0.003852 0.003852 0.003852 0.43% Castro::do_advance_ctu() 10 0.00349 0.00349 0.00349 0.39% Castro::construct_new_gravity_source() 10 0.00331 0.00331 0.00331 0.37% Castro::construct_old_gravity_source() 10 0.002674 0.002674 0.002674 0.30% Amr::writePlotFile() 2 0.002448 0.002448 0.002448 0.28% MLCGSolver::bicgstab 82 0.002278 0.002278 0.002278 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001777 0.001777 0.001777 0.20% Castro::reset_internal_energy(Fab) 504 0.001539 0.001539 0.001539 0.17% Gravity::actual_solve_with_mlmg() 11 0.001484 0.001484 0.001484 0.17% MLCellLinOp::setLevelBC() 11 0.001413 0.001413 0.001413 0.16% FabArray::mult() 43 0.001317 0.001317 0.001317 0.15% FabArray::setDomainBndry() 41 0.001307 0.001307 0.001307 0.15% Castro::enforce_speed_limit() 62 0.00127 0.00127 0.00127 0.14% MultiFab::contains_nan() 20 0.001195 0.001195 0.001195 0.13% Castro::initData() 1 0.001192 0.001192 0.001192 0.13% MLCellLinOp::prepareForSolve() 11 0.001164 0.001164 0.001164 0.13% MLCellLinOp::smooth() 1640 0.001085 0.001085 0.001085 0.12% MLCellLinOp::compGrad() 11 0.0009148 0.0009148 0.0009148 0.10% MLMG::prepareForSolve() 11 0.0008813 0.0008813 0.0008813 0.10% FabArray::FillBoundary() 4023 0.0008095 0.0008095 0.0008095 0.09% FabArrayBase::getCPC() 1323 0.0007705 0.0007705 0.0007705 0.09% FabArrayBase::CPC::define() 454 0.0006679 0.0006679 0.0006679 0.08% Gravity::get_new_grav_vector() 11 0.0006289 0.0006289 0.0006289 0.07% FabArrayBase::getFB() 4023 0.000603 0.000603 0.000603 0.07% Gravity::get_old_grav_vector() 10 0.0005445 0.0005445 0.0005445 0.06% Amr::InitAmr() 1 0.0004966 0.0004966 0.0004966 0.06% MLCellLinOp::apply() 1142 0.0004624 0.0004624 0.0004624 0.05% MLMG::mgVcycle() 82 0.0003977 0.0003977 0.0003977 0.04% MLLinOp::defineGrids() 11 0.0003651 0.0003651 0.0003651 0.04% Amr::coarseTimeStep() 10 0.0003205 0.0003205 0.0003205 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002937 0.0002937 0.0002937 0.03% main() 1 0.000293 0.000293 0.000293 0.03% MultiFab::max() 11 0.0002587 0.0002587 0.0002587 0.03% FillPatchIterator::Initialize 41 0.0002446 0.0002446 0.0002446 0.03% FabArray::ParallelCopy() 861 0.0002438 0.0002438 0.0002438 0.03% MLCellLinOp::correctionResidual() 492 0.0002286 0.0002286 0.0002286 0.03% MLCellLinOp::defineBC() 11 0.0002219 0.0002219 0.0002219 0.03% Castro::subcycle_advance_ctu() 10 0.0001607 0.0001607 0.0001607 0.02% Amr::timeStep() 10 0.0001501 0.0001501 0.0001501 0.02% StateData::checkPoint() 12 0.0001335 0.0001335 0.0001335 0.02% MLMG:computeResOfCorrection() 410 0.0001208 0.0001208 0.0001208 0.01% Gravity::update_max_rhs() 11 0.00012 0.00012 0.00012 0.01% Gravity::solve_for_phi() 10 0.0001157 0.0001157 0.0001157 0.01% MLMG::mgVcycle_down::0 82 9.111e-05 9.111e-05 9.111e-05 0.01% MLMG::actualBottomSolve() 82 9.104e-05 9.104e-05 9.104e-05 0.01% FabArrayBase::FB::FB() 56 8.703e-05 8.703e-05 8.703e-05 0.01% Castro::Castro() 1 8.43e-05 8.43e-05 8.43e-05 0.01% MLMG::mgVcycle_down::1 82 8.294e-05 8.294e-05 8.294e-05 0.01% MLMG::mgVcycle_down::2 82 8.094e-05 8.094e-05 8.094e-05 0.01% MLMG::solve() 11 7.739e-05 7.739e-05 7.739e-05 0.01% Castro::expand_state() 10 7.67e-05 7.67e-05 7.67e-05 0.01% MLMG::mgVcycle_down::3 82 7.653e-05 7.653e-05 7.653e-05 0.01% MLMG::mgVcycle_down::4 82 7.536e-05 7.536e-05 7.536e-05 0.01% Castro::initialize_advance() 10 7.455e-05 7.455e-05 7.455e-05 0.01% AmrLevel::checkPoint() 3 7.447e-05 7.447e-05 7.447e-05 0.01% Castro::clean_state() 62 7.418e-05 7.418e-05 7.418e-05 0.01% MLMG::mgVcycle_up::4 82 6.386e-05 6.386e-05 6.386e-05 0.01% Castro::advance() 10 6.316e-05 6.316e-05 6.316e-05 0.01% Castro::finalize_advance() 10 6.128e-05 6.128e-05 6.128e-05 0.01% MLMG::mgVcycle_up::0 82 5.592e-05 5.592e-05 5.592e-05 0.01% MLMG::oneIter() 82 5.574e-05 5.574e-05 5.574e-05 0.01% MLMG::mgVcycle_up::1 82 5.471e-05 5.471e-05 5.471e-05 0.01% MLCellLinOp::solutionResidual() 93 5.427e-05 5.427e-05 5.427e-05 0.01% Castro::initialize_do_advance() 10 5.322e-05 5.322e-05 5.322e-05 0.01% MLMG::mgVcycle_up::3 82 5.283e-05 5.283e-05 5.283e-05 0.01% MLMG::mgVcycle_up::2 82 5.235e-05 5.235e-05 5.235e-05 0.01% Castro::swap_state_time_levels() 10 3.991e-05 3.991e-05 3.991e-05 0.00% Castro::finalize_do_advance() 10 3.664e-05 3.664e-05 3.664e-05 0.00% Castro::enforce_consistent_e() 1 3.541e-05 3.541e-05 3.541e-05 0.00% StateData::define() 4 3.434e-05 3.434e-05 3.434e-05 0.00% MLMG::ResNormInf() 93 3.23e-05 3.23e-05 3.23e-05 0.00% MLMG::mgVcycle_bottom 82 3.229e-05 3.229e-05 3.229e-05 0.00% MLMG::computeResidual() 82 3.223e-05 3.223e-05 3.223e-05 0.00% FillPatchSingleLevel 41 2.992e-05 2.992e-05 2.992e-05 0.00% Amr::writeSmallPlotFile() 1 2.531e-05 2.531e-05 2.531e-05 0.00% Castro::construct_new_gravity() 10 2.474e-05 2.474e-05 2.474e-05 0.00% makeSFC 55 2.351e-05 2.351e-05 2.351e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.3e-05 2.3e-05 2.3e-05 0.00% Castro::initMFs() 1 2.206e-05 2.206e-05 2.206e-05 0.00% MLPoisson::define() 11 2.184e-05 2.184e-05 2.184e-05 0.00% Amr::FinalizeInit() 1 2.03e-05 2.03e-05 2.03e-05 0.00% Castro::construct_old_source() 50 1.819e-05 1.819e-05 1.819e-05 0.00% Castro::buildMetrics() 1 1.743e-05 1.743e-05 1.743e-05 0.00% Castro::construct_new_source() 50 1.727e-05 1.727e-05 1.727e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.71e-05 1.71e-05 1.71e-05 0.00% Castro::do_new_sources() 10 1.707e-05 1.707e-05 1.707e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.634e-05 1.634e-05 1.634e-05 0.00% DistributionMapping::Distribute() 56 1.573e-05 1.573e-05 1.573e-05 0.00% Castro::do_old_sources() 10 1.551e-05 1.551e-05 1.551e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.496e-05 1.496e-05 1.496e-05 0.00% MLPoisson::prepareForSolve() 11 1.486e-05 1.486e-05 1.486e-05 0.00% Amr::defBaseLevel() 1 1.403e-05 1.403e-05 1.403e-05 0.00% Castro::check_for_nan() 20 1.123e-05 1.123e-05 1.123e-05 0.00% Castro::apply_source_to_state() 20 1.018e-05 1.018e-05 1.018e-05 0.00% MLLinOp::define() 11 1.008e-05 1.008e-05 1.008e-05 0.00% Castro::construct_old_gravity() 10 9.586e-06 9.586e-06 9.586e-06 0.00% Gravity::swapTimeLevels() 10 9.499e-06 9.499e-06 9.499e-06 0.00% Amr::initSubcycle() 1 9.319e-06 9.319e-06 9.319e-06 0.00% Castro::post_timestep() 10 8.328e-06 8.328e-06 8.328e-06 0.00% Gravity::actual_multilevel_solve() 1 7.895e-06 7.895e-06 7.895e-06 0.00% MLMG::computeMLResidual() 11 7.633e-06 7.633e-06 7.633e-06 0.00% Castro::computeNewDt() 9 6.745e-06 6.745e-06 6.745e-06 0.00% MLMG::getGradSolution() 11 5.905e-06 5.905e-06 5.905e-06 0.00% Amr::InitializeInit() 1 5.139e-06 5.139e-06 5.139e-06 0.00% AmrLevel::checkPointPost() 3 4.723e-06 4.723e-06 4.723e-06 0.00% Castro::retry_advance_ctu() 10 4.581e-06 4.581e-06 4.581e-06 0.00% Castro::post_init() 1 4.426e-06 4.426e-06 4.426e-06 0.00% Castro::create_source_corrector() 10 4.165e-06 4.165e-06 4.165e-06 0.00% Gravity::set_mass_offset() 11 4.109e-06 4.109e-06 4.109e-06 0.00% MLMG::MLRhsNormInf() 11 3.803e-06 3.803e-06 3.803e-06 0.00% MLMG::MLResNormInf() 11 3.523e-06 3.523e-06 3.523e-06 0.00% Castro::FluxRegCrseInit 10 3.07e-06 3.07e-06 3.07e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.886e-06 2.886e-06 2.886e-06 0.00% Castro::computeInitialDt() 2 2.834e-06 2.834e-06 2.834e-06 0.00% Amr::init() 1 2.352e-06 2.352e-06 2.352e-06 0.00% Castro::FluxRegFineAdd() 10 2.197e-06 2.197e-06 2.197e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.844e-06 1.844e-06 1.844e-06 0.00% AmrLevel::checkPointPre() 3 1.73e-06 1.73e-06 1.73e-06 0.00% Amr::initialInit() 1 1.175e-06 1.175e-06 1.175e-06 0.00% Castro::post_regrid() 1 9.21e-07 9.21e-07 9.21e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8864 0.8864 0.8864 100.00% Amr::coarseTimeStep() 10 0.7101 0.7101 0.7101 80.11% Amr::timeStep() 10 0.5917 0.5917 0.5917 66.75% Castro::advance() 10 0.5835 0.5835 0.5835 65.83% Castro::subcycle_advance_ctu() 10 0.5708 0.5708 0.5708 64.39% Castro::do_advance_ctu() 10 0.5706 0.5706 0.5706 64.37% Gravity::solve_phi_with_mlmg() 11 0.2846 0.2846 0.2846 32.10% Gravity::actual_solve_with_mlmg() 11 0.2775 0.2775 0.2775 31.30% Castro::construct_new_gravity() 10 0.26 0.26 0.26 29.33% MLMG::solve() 11 0.2563 0.2563 0.2563 28.91% Gravity::solve_for_phi() 10 0.2439 0.2439 0.2439 27.51% MLMG::oneIter() 82 0.2419 0.2419 0.2419 27.29% MLMG::mgVcycle() 82 0.2383 0.2383 0.2383 26.88% VisMF::Write(FabArray) 11 0.2355 0.2355 0.2355 26.57% Castro::construct_ctu_hydro_source() 10 0.2326 0.2326 0.2326 26.24% Amr::checkPoint() 3 0.1751 0.1751 0.1751 19.76% AmrLevel::checkPoint() 3 0.1711 0.1711 0.1711 19.30% StateData::checkPoint() 12 0.171 0.171 0.171 19.29% Amr::init() 1 0.1418 0.1418 0.1418 16.00% MLCellLinOp::smooth() 1640 0.1165 0.1165 0.1165 13.14% MLCellLinOp::applyBC() 4433 0.1089 0.1089 0.1089 12.28% MLMG::mgVcycle_bottom 82 0.07428 0.07428 0.07428 8.38% MLMG::actualBottomSolve() 82 0.07425 0.07425 0.07425 8.38% MLCGSolver::bicgstab 82 0.07354 0.07354 0.07354 8.30% Amr::writePlotFile() 2 0.06758 0.06758 0.06758 7.62% Amr::initialInit() 1 0.04839 0.04839 0.04839 5.46% Castro::clean_state() 62 0.04706 0.04706 0.04706 5.31% Amr::FinalizeInit() 1 0.04428 0.04428 0.04428 4.99% FillPatchIterator::Initialize 41 0.04355 0.04355 0.04355 4.91% Castro::post_init() 1 0.04297 0.04297 0.04297 4.85% FillPatchSingleLevel 41 0.042 0.042 0.042 4.74% Gravity::multilevel_solve_for_new_phi() 1 0.04109 0.04109 0.04109 4.64% Gravity::actual_multilevel_solve() 1 0.04107 0.04107 0.04107 4.63% StateDataPhysBCFunct::() 41 0.0379 0.0379 0.0379 4.28% MLCellLinOp::apply() 1142 0.03631 0.03631 0.03631 4.10% MLMG::mgVcycle_down::0 82 0.03341 0.03341 0.03341 3.77% MLPoisson::Fsmooth() 3280 0.03239 0.03239 0.03239 3.65% FabArray::FillBoundary() 4023 0.03166 0.03166 0.03166 3.57% FillBoundary_nowait() 4023 0.03085 0.03085 0.03085 3.48% MLMG::mgVcycle_up::0 82 0.0253 0.0253 0.0253 2.85% StateData::FillBoundary(geom) 328 0.02507 0.02507 0.02507 2.83% MLCellLinOp::correctionResidual() 492 0.02213 0.02213 0.02213 2.50% amrex::Dot() 1114 0.02081 0.02081 0.02081 2.35% Castro::computeTemp() 63 0.02081 0.02081 0.02081 2.35% MLMG:computeResOfCorrection() 410 0.01946 0.01946 0.01946 2.20% Castro::initialize_do_advance() 10 0.0192 0.0192 0.0192 2.17% Gravity::get_new_grav_vector() 11 0.01768 0.01768 0.01768 1.99% MLPoisson::define() 11 0.01692 0.01692 0.01692 1.91% Castro::normalize_species() 62 0.01624 0.01624 0.01624 1.83% MLMG::mgVcycle_down::1 82 0.01582 0.01582 0.01582 1.79% Castro::construct_old_gravity() 10 0.01545 0.01545 0.01545 1.74% Gravity::get_old_grav_vector() 10 0.01544 0.01544 0.01544 1.74% amrex::Copy() 1029 0.01489 0.01489 0.01489 1.68% MLMG::mgVcycle_down::2 82 0.01476 0.01476 0.01476 1.66% FabArray::ParallelCopy() 861 0.01456 0.01456 0.01456 1.64% MLMG::mgVcycle_down::3 82 0.01442 0.01442 0.01442 1.63% FabArray::norminf() 743 0.01439 0.01439 0.01439 1.62% FabArray::ParallelCopy_nowait() 861 0.01432 0.01432 0.01432 1.62% MLMG::mgVcycle_down::4 82 0.01426 0.01426 0.01426 1.61% FabArray::setVal() 1144 0.0132 0.0132 0.0132 1.49% MLCGSolver::ParallelAllReduce 1514 0.01247 0.01247 0.01247 1.41% Castro::do_new_sources() 10 0.01242 0.01242 0.01242 1.40% Castro::initialize_advance() 10 0.01213 0.01213 0.01213 1.37% MLMG::addInterpCorrection() 410 0.0121 0.0121 0.0121 1.37% Castro::expand_state() 10 0.01168 0.01168 0.01168 1.32% MLMG::mgVcycle_up::4 82 0.01161 0.01161 0.01161 1.31% MLMG::mgVcycle_up::1 82 0.01154 0.01154 0.01154 1.30% MLCellLinOp::defineAuxData() 11 0.01137 0.01137 0.01137 1.28% MLMG::mgVcycle_up::2 82 0.01135 0.01135 0.01135 1.28% amrex::average_down 410 0.01124 0.01124 0.01124 1.27% MLMG::mgVcycle_up::3 82 0.01113 0.01113 0.01113 1.26% Castro::do_old_sources() 10 0.01062 0.01062 0.01062 1.20% MLPoisson::Fapply() 1142 0.01041 0.01041 0.01041 1.17% Castro::enforce_min_density() 62 0.009533 0.009533 0.009533 1.08% FabArray::Saxpy() 813 0.008209 0.008209 0.008209 0.93% FabArray::Xpay() 821 0.008081 0.008081 0.008081 0.91% Castro::post_timestep() 10 0.007986 0.007986 0.007986 0.90% MLCellLinOp::solutionResidual() 93 0.007211 0.007211 0.007211 0.81% Gravity::fill_multipole_BCs() 11 0.006838 0.006838 0.006838 0.77% MLMG::computeResidual() 82 0.006211 0.006211 0.006211 0.70% Castro::reset_internal_energy(MultiFab) 63 0.00597 0.00597 0.00597 0.67% MLCellLinOp::defineBC() 11 0.005104 0.005104 0.005104 0.58% BndryData::define() 11 0.004882 0.004882 0.004882 0.55% MLMG::prepareForSolve() 11 0.004755 0.004755 0.004755 0.54% FabArray::LinComb() 557 0.004549 0.004549 0.004549 0.51% amrex::Add() 164 0.004335 0.004335 0.004335 0.49% Castro::estTimeStep() 21 0.004214 0.004214 0.004214 0.48% Amr::InitializeInit() 1 0.004114 0.004114 0.004114 0.46% Amr::defBaseLevel() 1 0.004109 0.004109 0.004109 0.46% Castro::initData() 1 0.003612 0.003612 0.003612 0.41% Castro::construct_new_source() 50 0.003328 0.003328 0.003328 0.38% Castro::construct_new_gravity_source() 10 0.00331 0.00331 0.00331 0.37% Castro::construct_old_source() 50 0.002692 0.002692 0.002692 0.30% Castro::construct_old_gravity_source() 10 0.002674 0.002674 0.002674 0.30% MLMG::ResNormInf() 93 0.002071 0.002071 0.002071 0.23% Castro::computeNewDt() 9 0.001834 0.001834 0.001834 0.21% Castro::apply_source_to_state() 20 0.001813 0.001813 0.001813 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001777 0.001777 0.001777 0.20% Castro::reset_internal_energy(Fab) 504 0.001539 0.001539 0.001539 0.17% FabArrayBase::getCPC() 1323 0.001438 0.001438 0.001438 0.16% MLCellLinOp::setLevelBC() 11 0.001413 0.001413 0.001413 0.16% MLMG::getGradSolution() 11 0.001394 0.001394 0.001394 0.16% MLCellLinOp::compGrad() 11 0.001388 0.001388 0.001388 0.16% FabArray::mult() 43 0.001317 0.001317 0.001317 0.15% FabArray::setDomainBndry() 41 0.001307 0.001307 0.001307 0.15% Castro::enforce_speed_limit() 62 0.00127 0.00127 0.00127 0.14% Castro::check_for_nan() 20 0.001207 0.001207 0.001207 0.14% MultiFab::contains_nan() 20 0.001195 0.001195 0.001195 0.13% MLPoisson::prepareForSolve() 11 0.001179 0.001179 0.001179 0.13% MLCellLinOp::prepareForSolve() 11 0.001164 0.001164 0.001164 0.13% Castro::post_regrid() 1 0.001132 0.001132 0.001132 0.13% MLMG::computeMLResidual() 11 0.00104 0.00104 0.00104 0.12% Castro::computeInitialDt() 2 0.0008459 0.0008459 0.0008459 0.10% Gravity::update_max_rhs() 11 0.0008289 0.0008289 0.0008289 0.09% FabArrayBase::getFB() 4023 0.0006901 0.0006901 0.0006901 0.08% FabArrayBase::CPC::define() 454 0.0006679 0.0006679 0.0006679 0.08% Castro::finalize_advance() 10 0.0005806 0.0005806 0.0005806 0.07% Amr::InitAmr() 1 0.0005059 0.0005059 0.0005059 0.06% Gravity::swapTimeLevels() 10 0.0004357 0.0004357 0.0004357 0.05% MLLinOp::define() 11 0.0004299 0.0004299 0.0004299 0.05% Castro::Castro() 1 0.0004285 0.0004285 0.0004285 0.05% MLLinOp::defineGrids() 11 0.0004198 0.0004198 0.0004198 0.05% MLMG::MLResNormInf() 11 0.0002848 0.0002848 0.0002848 0.03% MultiFab::max() 11 0.0002587 0.0002587 0.0002587 0.03% MLMG::MLRhsNormInf() 11 0.0002202 0.0002202 0.0002202 0.02% Castro::buildMetrics() 1 0.0001584 0.0001584 0.0001584 0.02% FabArrayBase::FB::FB() 56 8.703e-05 8.703e-05 8.703e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.281e-05 5.281e-05 5.281e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.068e-05 5.068e-05 5.068e-05 0.01% Castro::swap_state_time_levels() 10 3.991e-05 3.991e-05 3.991e-05 0.00% makeSFC 55 3.785e-05 3.785e-05 3.785e-05 0.00% Castro::finalize_do_advance() 10 3.664e-05 3.664e-05 3.664e-05 0.00% Castro::enforce_consistent_e() 1 3.541e-05 3.541e-05 3.541e-05 0.00% StateData::define() 4 3.434e-05 3.434e-05 3.434e-05 0.00% Amr::writeSmallPlotFile() 1 2.531e-05 2.531e-05 2.531e-05 0.00% Castro::initMFs() 1 2.206e-05 2.206e-05 2.206e-05 0.00% DistributionMapping::Distribute() 56 1.573e-05 1.573e-05 1.573e-05 0.00% Amr::initSubcycle() 1 9.319e-06 9.319e-06 9.319e-06 0.00% AmrLevel::checkPointPost() 3 4.723e-06 4.723e-06 4.723e-06 0.00% Castro::retry_advance_ctu() 10 4.581e-06 4.581e-06 4.581e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.275e-06 4.275e-06 4.275e-06 0.00% Castro::create_source_corrector() 10 4.165e-06 4.165e-06 4.165e-06 0.00% Gravity::set_mass_offset() 11 4.109e-06 4.109e-06 4.109e-06 0.00% Castro::FluxRegCrseInit 10 3.07e-06 3.07e-06 3.07e-06 0.00% Castro::FluxRegFineAdd() 10 2.197e-06 2.197e-06 2.197e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.844e-06 1.844e-06 1.844e-06 0.00% AmrLevel::checkPointPre() 3 1.73e-06 1.73e-06 1.73e-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 98 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 124 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1043 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2141 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3556 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1789 B 2048 KiB Gravity::solve_for_phi() 80 80 562 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 94 KiB 2048 KiB BndryData::define() 1056 1056 324 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 2312 B 480 KiB VisMF::Write(FabArray) 656 656 3395 B 320 KiB Castro::normalize_species() 62 62 5968 B 320 KiB amrex::average_down 1067 1067 1263 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1162 B 257 KiB amrex::Dot() 1360 1360 3458 B 160 KiB FabArray::norminf() 907 907 2397 B 160 KiB Castro::do_advance_ctu() 10 10 617 B 160 KiB MultiFab::max() 11 11 45 B 160 KiB Castro::initData() 1 1 28 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3476 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 297 B 9648 B MLCellLinOp::applyBC() 8866 8866 224 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B StateData::FillBoundary(geom) 1992 1992 49 B 3072 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 120 B 1472 B MLCellLinOp::defineBC() 66 66 366 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 556 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 50 KiB 8192 KiB VisMF::Write(FabArray) 744 744 622 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3476 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 296 B 9648 B MLCellLinOp::applyBC() 4433 4433 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B StateData::FillBoundary(geom) 1992 1992 49 B 3072 B Gravity::get_new_grav_vector() 3 3 2905 B 3072 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 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 296 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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 (23.03-7-g6d30e83c944e) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-7-g6d30e83c944e) initialized Starting run at 09:13:46 UTC on 2023-03-13. Successfully read inputs file ... Castro git describe: 23.03-2-g0304294be AMReX git describe: 23.03-7-g6d30e83c9 Microphysics git describe: 23.03-12-g1f07dde0 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.47375044 Restart time = 0.047486203 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.050571549 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.047419611 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.04944633 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.058668432 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.078305955 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033470066 seconds Ending run at 09:13:47 UTC on 2023-03-13. Run time = 0.366425197 Run time without initialization = 0.318339087 Average number of zones advanced per microsecond: 4.117 Average number of zones advanced per microsecond per rank: 4.117 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3665 ... 0.3665 ... 0.3665 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0958 0.0958 0.0958 26.14% VisMF::Read() 3 0.04124 0.04124 0.04124 11.25% MLCellLinOp::applyBC() 1946 0.03341 0.03341 0.03341 9.12% VisMF::Write(FabArray) 1 0.03188 0.03188 0.03188 8.70% MLPoisson::Fsmooth() 1440 0.01411 0.01411 0.01411 3.85% FillBoundary_nowait() 1766 0.01269 0.01269 0.01269 3.46% StateData::FillBoundary(geom) 160 0.01215 0.01215 0.01215 3.32% Castro::normalize_species() 30 0.009186 0.009186 0.009186 2.51% amrex::Dot() 484 0.00884 0.00884 0.00884 2.41% Castro::computeTemp() 30 0.007597 0.007597 0.007597 2.07% amrex::Copy() 463 0.006972 0.006972 0.006972 1.90% FabArray::setVal() 537 0.006282 0.006282 0.006282 1.71% FabArray::norminf() 326 0.006222 0.006222 0.006222 1.70% FabArray::ParallelCopy_nowait() 380 0.006075 0.006075 0.006075 1.66% StateDataPhysBCFunct::() 20 0.00576 0.00576 0.00576 1.57% MLCellLinOp::defineAuxData() 6 0.005293 0.005293 0.005293 1.44% Castro::enforce_min_density() 30 0.004503 0.004503 0.004503 1.23% MLPoisson::Fapply() 500 0.004502 0.004502 0.004502 1.23% FabArray::Saxpy() 355 0.003664 0.003664 0.003664 1.00% FabArray::Xpay() 361 0.00351 0.00351 0.00351 0.96% MLMG::addInterpCorrection() 180 0.002958 0.002958 0.002958 0.81% Gravity::fill_multipole_BCs() 6 0.002932 0.002932 0.002932 0.80% Castro::estTimeStep() 10 0.002733 0.002733 0.002733 0.75% amrex::average_down 180 0.002594 0.002594 0.002594 0.71% Amr::restart() 1 0.002455 0.002455 0.002455 0.67% Castro::do_advance_ctu() 5 0.0023 0.0023 0.0023 0.63% BndryData::define() 6 0.002065 0.002065 0.002065 0.56% Castro::reset_internal_energy(MultiFab) 30 0.00204 0.00204 0.00204 0.56% FabArray::LinComb() 242 0.001931 0.001931 0.001931 0.53% amrex::Add() 72 0.001862 0.001862 0.001862 0.51% Castro::reset_internal_energy(Fab) 240 0.001764 0.001764 0.001764 0.48% Castro::construct_new_gravity_source() 5 0.001692 0.001692 0.001692 0.46% Castro::construct_old_gravity_source() 5 0.001432 0.001432 0.001432 0.39% Amr::writePlotFile() 1 0.001414 0.001414 0.001414 0.39% MLCGSolver::bicgstab 36 0.001001 0.001001 0.001001 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009134 0.0009134 0.0009134 0.25% Castro::subcycle_advance_ctu() 5 0.0008881 0.0008881 0.0008881 0.24% Castro::post_timestep() 5 0.0008378 0.0008378 0.0008378 0.23% Castro::advance() 5 0.0008305 0.0008305 0.0008305 0.23% Gravity::actual_solve_with_mlmg() 6 0.0007825 0.0007825 0.0007825 0.21% MLCellLinOp::setLevelBC() 6 0.000748 0.000748 0.000748 0.20% FabArray::setDomainBndry() 20 0.000657 0.000657 0.000657 0.18% FabArray::mult() 22 0.0006485 0.0006485 0.0006485 0.18% MLCellLinOp::prepareForSolve() 6 0.000612 0.000612 0.000612 0.17% MultiFab::contains_nan() 10 0.0005937 0.0005937 0.0005937 0.16% Castro::enforce_speed_limit() 30 0.0005216 0.0005216 0.0005216 0.14% MLMG::prepareForSolve() 6 0.0004994 0.0004994 0.0004994 0.14% MLCellLinOp::compGrad() 6 0.0004902 0.0004902 0.0004902 0.13% MLCellLinOp::smooth() 720 0.0004767 0.0004767 0.0004767 0.13% Amr::InitAmr() 1 0.0004103 0.0004103 0.0004103 0.11% FabArrayBase::CPC::define() 244 0.0004057 0.0004057 0.0004057 0.11% FabArray::FillBoundary() 1766 0.0003617 0.0003617 0.0003617 0.10% FabArrayBase::getCPC() 632 0.0003564 0.0003564 0.0003564 0.10% Gravity::get_old_grav_vector() 5 0.0003507 0.0003507 0.0003507 0.10% main() 1 0.0002789 0.0002789 0.0002789 0.08% Gravity::get_new_grav_vector() 5 0.000273 0.000273 0.000273 0.07% FabArrayBase::getFB() 1766 0.0002612 0.0002612 0.0002612 0.07% Amr::coarseTimeStep() 5 0.0002285 0.0002285 0.0002285 0.06% MLCellLinOp::apply() 500 0.0002064 0.0002064 0.0002064 0.06% MLLinOp::defineGrids() 6 0.0001814 0.0001814 0.0001814 0.05% MLMG::mgVcycle() 36 0.0001801 0.0001801 0.0001801 0.05% MultiFab::max() 6 0.0001371 0.0001371 0.0001371 0.04% MLCGSolver::ParallelAllReduce 659 0.0001297 0.0001297 0.0001297 0.04% FillPatchIterator::Initialize 20 0.0001205 0.0001205 0.0001205 0.03% MLCellLinOp::defineBC() 6 0.0001183 0.0001183 0.0001183 0.03% Castro::construct_new_source() 25 0.0001156 0.0001156 0.0001156 0.03% FabArray::ParallelCopy() 380 0.0001085 0.0001085 0.0001085 0.03% MLCellLinOp::correctionResidual() 216 9.988e-05 9.988e-05 9.988e-05 0.03% Castro::finalize_advance() 5 9.538e-05 9.538e-05 9.538e-05 0.03% Amr::timeStep() 5 9.04e-05 9.04e-05 9.04e-05 0.02% Castro::computeNewDt() 5 8.245e-05 8.245e-05 8.245e-05 0.02% AmrLevel::restart() 1 7.622e-05 7.622e-05 7.622e-05 0.02% StateData::restartDoit() 4 6.43e-05 6.43e-05 6.43e-05 0.02% Gravity::update_max_rhs() 6 6.011e-05 6.011e-05 6.011e-05 0.02% Castro::expand_state() 5 5.931e-05 5.931e-05 5.931e-05 0.02% FabArrayBase::FB::FB() 26 5.852e-05 5.852e-05 5.852e-05 0.02% Castro::create_source_corrector() 5 5.836e-05 5.836e-05 5.836e-05 0.02% MLMG:computeResOfCorrection() 180 5.303e-05 5.303e-05 5.303e-05 0.01% Castro::construct_new_gravity() 5 5.229e-05 5.229e-05 5.229e-05 0.01% Gravity::solve_for_phi() 5 5.208e-05 5.208e-05 5.208e-05 0.01% Castro::initialize_do_advance() 5 5.156e-05 5.156e-05 5.156e-05 0.01% MLMG::actualBottomSolve() 36 4.173e-05 4.173e-05 4.173e-05 0.01% MLMG::mgVcycle_down::0 36 4.013e-05 4.013e-05 4.013e-05 0.01% MLMG::mgVcycle_down::1 36 3.768e-05 3.768e-05 3.768e-05 0.01% MLMG::solve() 6 3.683e-05 3.683e-05 3.683e-05 0.01% Castro::clean_state() 30 3.661e-05 3.661e-05 3.661e-05 0.01% Castro::initialize_advance() 5 3.549e-05 3.549e-05 3.549e-05 0.01% MLMG::mgVcycle_down::2 36 3.475e-05 3.475e-05 3.475e-05 0.01% MLMG::mgVcycle_down::4 36 3.437e-05 3.437e-05 3.437e-05 0.01% MLMG::mgVcycle_down::3 36 3.37e-05 3.37e-05 3.37e-05 0.01% Castro::construct_old_source() 25 3.042e-05 3.042e-05 3.042e-05 0.01% MLMG::mgVcycle_up::4 36 2.971e-05 2.971e-05 2.971e-05 0.01% Castro::buildMetrics() 1 2.627e-05 2.627e-05 2.627e-05 0.01% MLMG::mgVcycle_up::0 36 2.574e-05 2.574e-05 2.574e-05 0.01% Castro::post_restart() 1 2.479e-05 2.479e-05 2.479e-05 0.01% Castro::initMFs() 1 2.455e-05 2.455e-05 2.455e-05 0.01% MLMG::mgVcycle_up::3 36 2.438e-05 2.438e-05 2.438e-05 0.01% MLMG::oneIter() 36 2.392e-05 2.392e-05 2.392e-05 0.01% Amr::writeSmallPlotFile() 1 2.375e-05 2.375e-05 2.375e-05 0.01% MLMG::mgVcycle_up::2 36 2.355e-05 2.355e-05 2.355e-05 0.01% Castro::swap_state_time_levels() 5 2.335e-05 2.335e-05 2.335e-05 0.01% MLMG::mgVcycle_up::1 36 2.307e-05 2.307e-05 2.307e-05 0.01% MLCellLinOp::solutionResidual() 42 2.262e-05 2.262e-05 2.262e-05 0.01% Castro::finalize_do_advance() 5 1.953e-05 1.953e-05 1.953e-05 0.01% MLMG::ResNormInf() 42 1.685e-05 1.685e-05 1.685e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.588e-05 1.588e-05 1.588e-05 0.00% MLMG::computeResidual() 36 1.485e-05 1.485e-05 1.485e-05 0.00% MLMG::mgVcycle_bottom 36 1.478e-05 1.478e-05 1.478e-05 0.00% MLPoisson::define() 6 1.454e-05 1.454e-05 1.454e-05 0.00% FillPatchSingleLevel 20 1.443e-05 1.443e-05 1.443e-05 0.00% makeSFC 30 1.412e-05 1.412e-05 1.412e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.176e-05 1.176e-05 1.176e-05 0.00% MLPoisson::prepareForSolve() 6 9.943e-06 9.943e-06 9.943e-06 0.00% Castro::do_new_sources() 5 9.701e-06 9.701e-06 9.701e-06 0.00% DistributionMapping::Distribute() 31 8.81e-06 8.81e-06 8.81e-06 0.00% Amr::initSubcycle() 1 8.749e-06 8.749e-06 8.749e-06 0.00% Castro::do_old_sources() 5 8.119e-06 8.119e-06 8.119e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.86e-06 7.86e-06 7.86e-06 0.00% Gravity::actual_multilevel_solve() 1 7.778e-06 7.778e-06 7.778e-06 0.00% Castro::check_for_nan() 10 5.523e-06 5.523e-06 5.523e-06 0.00% Castro::apply_source_to_state() 10 5.48e-06 5.48e-06 5.48e-06 0.00% MLLinOp::define() 6 5.205e-06 5.205e-06 5.205e-06 0.00% Castro::construct_old_gravity() 5 5.142e-06 5.142e-06 5.142e-06 0.00% Gravity::swapTimeLevels() 5 4.28e-06 4.28e-06 4.28e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.658e-06 3.658e-06 3.658e-06 0.00% MLMG::computeMLResidual() 6 3.55e-06 3.55e-06 3.55e-06 0.00% MLMG::getGradSolution() 6 2.979e-06 2.979e-06 2.979e-06 0.00% Gravity::set_mass_offset() 6 2.949e-06 2.949e-06 2.949e-06 0.00% MLMG::MLResNormInf() 6 2.267e-06 2.267e-06 2.267e-06 0.00% MLMG::MLRhsNormInf() 6 2.111e-06 2.111e-06 2.111e-06 0.00% Castro::retry_advance_ctu() 5 2.049e-06 2.049e-06 2.049e-06 0.00% Castro::FluxRegCrseInit 5 1.873e-06 1.873e-06 1.873e-06 0.00% Castro::FluxRegFineAdd() 5 1.353e-06 1.353e-06 1.353e-06 0.00% Amr::init() 1 1.208e-06 1.208e-06 1.208e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.051e-06 1.051e-06 1.051e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3664 0.3664 0.3664 100.00% Amr::coarseTimeStep() 5 0.2846 0.2846 0.2846 77.67% Amr::timeStep() 5 0.2829 0.2829 0.2829 77.19% Castro::advance() 5 0.2763 0.2763 0.2763 75.39% Castro::subcycle_advance_ctu() 5 0.2691 0.2691 0.2691 73.42% Castro::do_advance_ctu() 5 0.2682 0.2682 0.2682 73.18% Castro::construct_new_gravity() 5 0.1302 0.1302 0.1302 35.53% Gravity::solve_phi_with_mlmg() 6 0.1253 0.1253 0.1253 34.20% Gravity::solve_for_phi() 5 0.1222 0.1222 0.1222 33.35% Gravity::actual_solve_with_mlmg() 6 0.1222 0.1222 0.1222 33.34% MLMG::solve() 6 0.1109 0.1109 0.1109 30.25% MLMG::oneIter() 36 0.1039 0.1039 0.1039 28.36% MLMG::mgVcycle() 36 0.1024 0.1024 0.1024 27.94% Castro::construct_ctu_hydro_source() 5 0.0958 0.0958 0.0958 26.14% MLCellLinOp::smooth() 720 0.05006 0.05006 0.05006 13.66% Amr::init() 1 0.04753 0.04753 0.04753 12.97% Amr::restart() 1 0.04753 0.04753 0.04753 12.97% MLCellLinOp::applyBC() 1946 0.04678 0.04678 0.04678 12.77% AmrLevel::restart() 1 0.04144 0.04144 0.04144 11.31% StateData::restartDoit() 4 0.04135 0.04135 0.04135 11.29% VisMF::Read() 3 0.04124 0.04124 0.04124 11.25% Amr::writePlotFile() 1 0.03355 0.03355 0.03355 9.16% VisMF::Write(FabArray) 1 0.03188 0.03188 0.03188 8.70% MLMG::mgVcycle_bottom 36 0.03183 0.03183 0.03183 8.69% MLMG::actualBottomSolve() 36 0.03181 0.03181 0.03181 8.68% MLCGSolver::bicgstab 36 0.03151 0.03151 0.03151 8.60% Castro::clean_state() 30 0.02565 0.02565 0.02565 7.00% FillPatchIterator::Initialize 20 0.02075 0.02075 0.02075 5.66% FillPatchSingleLevel 20 0.01998 0.01998 0.01998 5.45% StateDataPhysBCFunct::() 20 0.01791 0.01791 0.01791 4.89% MLCellLinOp::apply() 500 0.01574 0.01574 0.01574 4.30% MLMG::mgVcycle_down::0 36 0.01426 0.01426 0.01426 3.89% MLPoisson::Fsmooth() 1440 0.01411 0.01411 0.01411 3.85% FabArray::FillBoundary() 1766 0.01337 0.01337 0.01337 3.65% FillBoundary_nowait() 1766 0.01301 0.01301 0.01301 3.55% StateData::FillBoundary(geom) 160 0.01215 0.01215 0.01215 3.32% Castro::computeTemp() 30 0.0114 0.0114 0.0114 3.11% MLMG::mgVcycle_up::0 36 0.01078 0.01078 0.01078 2.94% Castro::initialize_do_advance() 5 0.009912 0.009912 0.009912 2.70% MLCellLinOp::correctionResidual() 216 0.009517 0.009517 0.009517 2.60% Castro::normalize_species() 30 0.009186 0.009186 0.009186 2.51% MLPoisson::define() 6 0.009006 0.009006 0.009006 2.46% amrex::Dot() 484 0.00884 0.00884 0.00884 2.41% MLMG:computeResOfCorrection() 180 0.008367 0.008367 0.008367 2.28% Castro::do_new_sources() 5 0.007893 0.007893 0.007893 2.15% Gravity::get_new_grav_vector() 5 0.007849 0.007849 0.007849 2.14% Castro::construct_old_gravity() 5 0.007645 0.007645 0.007645 2.09% Gravity::get_old_grav_vector() 5 0.00764 0.00764 0.00764 2.08% amrex::Copy() 463 0.006972 0.006972 0.006972 1.90% MLMG::mgVcycle_down::1 36 0.006834 0.006834 0.006834 1.87% FabArray::ParallelCopy() 380 0.006562 0.006562 0.006562 1.79% Castro::post_timestep() 5 0.006478 0.006478 0.006478 1.77% FabArray::ParallelCopy_nowait() 380 0.006453 0.006453 0.006453 1.76% MLMG::mgVcycle_down::2 36 0.006406 0.006406 0.006406 1.75% FabArray::setVal() 537 0.006282 0.006282 0.006282 1.71% MLMG::mgVcycle_down::3 36 0.006223 0.006223 0.006223 1.70% FabArray::norminf() 326 0.006222 0.006222 0.006222 1.70% MLMG::mgVcycle_down::4 36 0.006167 0.006167 0.006167 1.68% Castro::initialize_advance() 5 0.006033 0.006033 0.006033 1.65% MLCellLinOp::defineAuxData() 6 0.006024 0.006024 0.006024 1.64% Castro::expand_state() 5 0.005884 0.005884 0.005884 1.61% Castro::do_old_sources() 5 0.005449 0.005449 0.005449 1.49% MLCGSolver::ParallelAllReduce 659 0.005343 0.005343 0.005343 1.46% MLMG::addInterpCorrection() 180 0.005197 0.005197 0.005197 1.42% MLMG::mgVcycle_up::4 36 0.005026 0.005026 0.005026 1.37% MLMG::mgVcycle_up::1 36 0.00498 0.00498 0.00498 1.36% MLMG::mgVcycle_up::2 36 0.004884 0.004884 0.004884 1.33% amrex::average_down 180 0.004869 0.004869 0.004869 1.33% MLMG::mgVcycle_up::3 36 0.004803 0.004803 0.004803 1.31% Castro::enforce_min_density() 30 0.004503 0.004503 0.004503 1.23% MLPoisson::Fapply() 500 0.004502 0.004502 0.004502 1.23% Castro::reset_internal_energy(MultiFab) 30 0.003803 0.003803 0.003803 1.04% FabArray::Saxpy() 355 0.003664 0.003664 0.003664 1.00% FabArray::Xpay() 361 0.00351 0.00351 0.00351 0.96% Castro::post_restart() 1 0.003465 0.003465 0.003465 0.95% Gravity::multilevel_solve_for_new_phi() 1 0.003351 0.003351 0.003351 0.91% Gravity::actual_multilevel_solve() 1 0.003335 0.003335 0.003335 0.91% MLCellLinOp::solutionResidual() 42 0.00325 0.00325 0.00325 0.89% Gravity::fill_multipole_BCs() 6 0.00306 0.00306 0.00306 0.84% MLCellLinOp::defineBC() 6 0.00275 0.00275 0.00275 0.75% Castro::estTimeStep() 10 0.002733 0.002733 0.002733 0.75% MLMG::computeResidual() 36 0.002692 0.002692 0.002692 0.73% BndryData::define() 6 0.002632 0.002632 0.002632 0.72% MLMG::prepareForSolve() 6 0.002588 0.002588 0.002588 0.71% FabArray::LinComb() 242 0.001931 0.001931 0.001931 0.53% amrex::Add() 72 0.001862 0.001862 0.001862 0.51% Castro::construct_new_source() 25 0.001807 0.001807 0.001807 0.49% Castro::reset_internal_energy(Fab) 240 0.001764 0.001764 0.001764 0.48% Castro::construct_new_gravity_source() 5 0.001692 0.001692 0.001692 0.46% Castro::computeNewDt() 5 0.001549 0.001549 0.001549 0.42% Castro::construct_old_source() 25 0.001462 0.001462 0.001462 0.40% Castro::construct_old_gravity_source() 5 0.001432 0.001432 0.001432 0.39% Castro::apply_source_to_state() 10 0.0009225 0.0009225 0.0009225 0.25% MLMG::ResNormInf() 42 0.0009189 0.0009189 0.0009189 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009134 0.0009134 0.0009134 0.25% FabArrayBase::getCPC() 632 0.0007621 0.0007621 0.0007621 0.21% MLMG::getGradSolution() 6 0.0007582 0.0007582 0.0007582 0.21% MLCellLinOp::compGrad() 6 0.0007552 0.0007552 0.0007552 0.21% MLCellLinOp::setLevelBC() 6 0.000748 0.000748 0.000748 0.20% FabArray::setDomainBndry() 20 0.000657 0.000657 0.000657 0.18% FabArray::mult() 22 0.0006485 0.0006485 0.0006485 0.18% MLPoisson::prepareForSolve() 6 0.000622 0.000622 0.000622 0.17% MLCellLinOp::prepareForSolve() 6 0.000612 0.000612 0.000612 0.17% Castro::check_for_nan() 10 0.0005992 0.0005992 0.0005992 0.16% MultiFab::contains_nan() 10 0.0005937 0.0005937 0.0005937 0.16% MLMG::computeMLResidual() 6 0.0005761 0.0005761 0.0005761 0.16% Castro::enforce_speed_limit() 30 0.0005216 0.0005216 0.0005216 0.14% Gravity::update_max_rhs() 6 0.000447 0.000447 0.000447 0.12% Amr::InitAmr() 1 0.0004191 0.0004191 0.0004191 0.11% FabArrayBase::CPC::define() 244 0.0004057 0.0004057 0.0004057 0.11% Castro::finalize_advance() 5 0.0003587 0.0003587 0.0003587 0.10% FabArrayBase::getFB() 1766 0.0003197 0.0003197 0.0003197 0.09% Gravity::swapTimeLevels() 5 0.0002447 0.0002447 0.0002447 0.07% MLLinOp::define() 6 0.000217 0.000217 0.000217 0.06% MLLinOp::defineGrids() 6 0.0002118 0.0002118 0.0002118 0.06% MLMG::MLResNormInf() 6 0.0001512 0.0001512 0.0001512 0.04% Castro::buildMetrics() 1 0.0001477 0.0001477 0.0001477 0.04% MultiFab::max() 6 0.0001371 0.0001371 0.0001371 0.04% MLMG::MLRhsNormInf() 6 0.0001185 0.0001185 0.0001185 0.03% FabArrayBase::FB::FB() 26 5.852e-05 5.852e-05 5.852e-05 0.02% Castro::create_source_corrector() 5 5.836e-05 5.836e-05 5.836e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.936e-05 2.936e-05 2.936e-05 0.01% Castro::initMFs() 1 2.455e-05 2.455e-05 2.455e-05 0.01% Amr::writeSmallPlotFile() 1 2.375e-05 2.375e-05 2.375e-05 0.01% Castro::swap_state_time_levels() 5 2.335e-05 2.335e-05 2.335e-05 0.01% makeSFC 30 2.15e-05 2.15e-05 2.15e-05 0.01% Castro::finalize_do_advance() 5 1.953e-05 1.953e-05 1.953e-05 0.01% DistributionMapping::Distribute() 31 8.81e-06 8.81e-06 8.81e-06 0.00% Amr::initSubcycle() 1 8.749e-06 8.749e-06 8.749e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.086e-06 5.086e-06 5.086e-06 0.00% Gravity::set_mass_offset() 6 2.949e-06 2.949e-06 2.949e-06 0.00% Castro::retry_advance_ctu() 5 2.049e-06 2.049e-06 2.049e-06 0.00% Castro::FluxRegCrseInit 5 1.873e-06 1.873e-06 1.873e-06 0.00% Castro::FluxRegFineAdd() 5 1.353e-06 1.353e-06 1.353e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.051e-06 1.051e-06 1.051e-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 237 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 114 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1232 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2562 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 6650 KiB 14 MiB MLMG::prepareForSolve() 361 361 3713 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 214 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 219 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6645 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 12 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2359 B 2048 KiB Gravity::solve_for_phi() 40 40 681 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 341 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 219 KiB 671 KiB Castro::estTimeStep() 10 10 3423 B 480 KiB VisMF::Write(FabArray) 112 112 1352 B 320 KiB Castro::normalize_species() 30 30 8160 B 320 KiB amrex::average_down 469 469 1272 B 257 KiB MLMG::addInterpCorrection() 468 468 1212 B 257 KiB amrex::Dot() 592 592 3563 B 160 KiB FabArray::norminf() 398 398 2512 B 160 KiB Castro::do_advance_ctu() 5 5 585 B 160 KiB MultiFab::max() 6 6 57 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3611 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 53 B 10 KiB FillBoundary_nowait() 336 336 300 B 9648 B MLCellLinOp::applyBC() 3892 3892 236 B 9344 B amrex::Copy() 56 56 5914 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 54 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 125 B 1472 B MLCellLinOp::defineBC() 36 36 383 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1323 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 121 KiB 8192 KiB VisMF::Write(FabArray) 120 120 269 KiB 3584 KiB VisMF::Read() 24 24 210 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3611 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 53 B 10 KiB FillBoundary_nowait() 336 336 300 B 9648 B MLCellLinOp::applyBC() 1946 1946 234 B 9328 B amrex::Copy() 56 56 5914 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2617 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 55 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 546 B 1296 B amrex::average_down 37 37 220 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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 (23.03-7-g6d30e83c944e) finalized