Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-24-g6535763b2178) initialized Starting run at 07:54:59 UTC on 2023-08-11. Successfully read inputs file ... Castro git describe: 23.08-3-g76295aa13 AMReX git describe: 23.08-24-g6535763b2 Microphysics git describe: 23.08-5-gb3d1571d 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.057914942 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033095188 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.047658473 [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 at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049777022 [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 at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.072882425 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.079751051 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.063188233 [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.056849163 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.051068919 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.07082293 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.071595979 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.065902062 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.068327619 [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.057041886 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033060551 seconds Ending run at 07:55:00 UTC on 2023-08-11. Run time = 0.928172789 Run time without initialization = 0.788584562 Average number of zones advanced per microsecond: 3.324 Average number of zones advanced per microsecond per rank: 3.324 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9282 ... 0.9282 ... 0.9282 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2774 0.2774 0.2774 29.88% VisMF::Write(FabArray) 11 0.2312 0.2312 0.2312 24.90% MLCellLinOp::applyBC() 4433 0.07619 0.07619 0.07619 8.21% MLPoisson::Fsmooth() 3280 0.03175 0.03175 0.03175 3.42% FillBoundary_nowait() 4023 0.03143 0.03143 0.03143 3.39% StateData::FillBoundary(geom) 328 0.02416 0.02416 0.02416 2.60% amrex::Dot() 1114 0.02004 0.02004 0.02004 2.16% Castro::normalize_species() 62 0.01832 0.01832 0.01832 1.97% Castro::computeTemp() 63 0.01556 0.01556 0.01556 1.68% amrex::Copy() 1029 0.01463 0.01463 0.01463 1.58% FabArray::norminf() 743 0.0146 0.0146 0.0146 1.57% FabArray::ParallelCopy_nowait() 861 0.0131 0.0131 0.0131 1.41% FabArray::setVal() 1144 0.01298 0.01298 0.01298 1.40% StateDataPhysBCFunct::() 41 0.01288 0.01288 0.01288 1.39% MLPoisson::Fapply() 1142 0.01011 0.01011 0.01011 1.09% MLCellLinOp::defineAuxData() 11 0.01009 0.01009 0.01009 1.09% Castro::enforce_min_density() 62 0.009932 0.009932 0.009932 1.07% FabArray::Saxpy() 813 0.007929 0.007929 0.007929 0.85% FabArray::Xpay() 821 0.007873 0.007873 0.007873 0.85% MLMG::addInterpCorrection() 410 0.006639 0.006639 0.006639 0.72% Gravity::fill_multipole_BCs() 11 0.006437 0.006437 0.006437 0.69% amrex::average_down 410 0.005904 0.005904 0.005904 0.64% Castro::estTimeStep() 21 0.005546 0.005546 0.005546 0.60% Castro::reset_internal_energy(MultiFab) 63 0.005052 0.005052 0.005052 0.54% FabArray::LinComb() 557 0.004384 0.004384 0.004384 0.47% amrex::Add() 164 0.0043 0.0043 0.0043 0.46% BndryData::define() 11 0.004071 0.004071 0.004071 0.44% Amr::checkPoint() 3 0.003954 0.003954 0.003954 0.43% Castro::construct_new_gravity_source() 10 0.003129 0.003129 0.003129 0.34% Castro::enforce_speed_limit() 62 0.002998 0.002998 0.002998 0.32% Castro::construct_old_gravity_source() 10 0.002756 0.002756 0.002756 0.30% Amr::writePlotFile() 2 0.002362 0.002362 0.002362 0.25% MLCGSolver::bicgstab 82 0.002165 0.002165 0.002165 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001778 0.001778 0.001778 0.19% MLCellLinOp::setLevelBC() 11 0.001522 0.001522 0.001522 0.16% Gravity::actual_solve_with_mlmg() 11 0.001476 0.001476 0.001476 0.16% Castro::reset_internal_energy(Fab) 504 0.001411 0.001411 0.001411 0.15% FabArray::mult() 43 0.001319 0.001319 0.001319 0.14% FabArray::setDomainBndry() 41 0.001276 0.001276 0.001276 0.14% check_for_negative_density() 10 0.001261 0.001261 0.001261 0.14% Castro::initData() 1 0.001236 0.001236 0.001236 0.13% MultiFab::contains_nan() 20 0.001204 0.001204 0.001204 0.13% MLCellLinOp::prepareForSolve() 11 0.001203 0.001203 0.001203 0.13% MLMG::prepareForSolve() 11 0.001056 0.001056 0.001056 0.11% MLCellLinOp::smooth() 1640 0.001056 0.001056 0.001056 0.11% MLCellLinOp::compGrad() 11 0.0008972 0.0008972 0.0008972 0.10% FabArray::FillBoundary() 4023 0.0008625 0.0008625 0.0008625 0.09% FabArrayBase::getCPC() 1323 0.0007828 0.0007828 0.0007828 0.08% FabArrayBase::CPC::define() 454 0.0007367 0.0007367 0.0007367 0.08% FabArrayBase::getFB() 4023 0.0006345 0.0006345 0.0006345 0.07% Gravity::get_new_grav_vector() 11 0.000532 0.000532 0.000532 0.06% Amr::InitAmr() 1 0.0004886 0.0004886 0.0004886 0.05% Gravity::get_old_grav_vector() 10 0.0004749 0.0004749 0.0004749 0.05% MLCellLinOp::apply() 1142 0.0004416 0.0004416 0.0004416 0.05% MLLinOp::defineGrids() 11 0.0003756 0.0003756 0.0003756 0.04% Amr::coarseTimeStep() 10 0.0003687 0.0003687 0.0003687 0.04% MLMG::mgVcycle() 82 0.000342 0.000342 0.000342 0.04% AmrLevel::FillPatch() 41 0.0003273 0.0003273 0.0003273 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002992 0.0002992 0.0002992 0.03% main() 1 0.0002874 0.0002874 0.0002874 0.03% MLCellLinOp::defineBC() 11 0.0002609 0.0002609 0.0002609 0.03% MultiFab::max() 11 0.0002573 0.0002573 0.0002573 0.03% MLCellLinOp::correctionResidual() 492 0.0002397 0.0002397 0.0002397 0.03% FabArray::ParallelCopy() 861 0.0002391 0.0002391 0.0002391 0.03% FillPatchIterator::Initialize 41 0.0001998 0.0001998 0.0001998 0.02% Castro::create_source_corrector() 10 0.0001747 0.0001747 0.0001747 0.02% Castro::subcycle_advance_ctu() 10 0.0001734 0.0001734 0.0001734 0.02% Amr::timeStep() 10 0.0001586 0.0001586 0.0001586 0.02% StateData::checkPoint() 12 0.0001369 0.0001369 0.0001369 0.01% Gravity::update_max_rhs() 11 0.0001246 0.0001246 0.0001246 0.01% Gravity::solve_for_phi() 10 0.0001178 0.0001178 0.0001178 0.01% MLMG:computeResOfCorrection() 410 0.0001176 0.0001176 0.0001176 0.01% MLMG::mgVcycle_down::0 82 9.372e-05 9.372e-05 9.372e-05 0.01% FabArrayBase::FB::FB() 56 9.308e-05 9.308e-05 9.308e-05 0.01% Castro::advance() 10 9.239e-05 9.239e-05 9.239e-05 0.01% MLMG::actualBottomSolve() 82 9.21e-05 9.21e-05 9.21e-05 0.01% Castro::Castro() 1 8.51e-05 8.51e-05 8.51e-05 0.01% MLMG::mgVcycle_down::1 82 8.419e-05 8.419e-05 8.419e-05 0.01% MLMG::mgVcycle_down::2 82 8.178e-05 8.178e-05 8.178e-05 0.01% MLMG::mgVcycle_down::4 82 7.944e-05 7.944e-05 7.944e-05 0.01% Castro::construct_new_source() 50 7.852e-05 7.852e-05 7.852e-05 0.01% Castro::initialize_advance() 10 7.792e-05 7.792e-05 7.792e-05 0.01% MLMG::mgVcycle_down::3 82 7.769e-05 7.769e-05 7.769e-05 0.01% AmrLevel::checkPoint() 3 7.536e-05 7.536e-05 7.536e-05 0.01% MLMG::solve() 11 6.998e-05 6.998e-05 6.998e-05 0.01% Castro::clean_state() 62 6.491e-05 6.491e-05 6.491e-05 0.01% MLMG::mgVcycle_up::4 82 6.101e-05 6.101e-05 6.101e-05 0.01% Castro::finalize_advance() 10 5.968e-05 5.968e-05 5.968e-05 0.01% Castro::initialize_do_advance() 10 5.603e-05 5.603e-05 5.603e-05 0.01% MLMG::oneIter() 82 5.542e-05 5.542e-05 5.542e-05 0.01% MLCellLinOp::solutionResidual() 93 5.446e-05 5.446e-05 5.446e-05 0.01% MLMG::mgVcycle_up::1 82 5.433e-05 5.433e-05 5.433e-05 0.01% MLMG::mgVcycle_up::0 82 5.392e-05 5.392e-05 5.392e-05 0.01% Castro::do_new_sources() 10 5.114e-05 5.114e-05 5.114e-05 0.01% MLMG::mgVcycle_up::3 82 4.983e-05 4.983e-05 4.983e-05 0.01% MLMG::mgVcycle_up::2 82 4.895e-05 4.895e-05 4.895e-05 0.01% Castro::do_advance_ctu() 10 4.614e-05 4.614e-05 4.614e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.491e-05 4.491e-05 4.491e-05 0.00% Castro::finalize_do_advance() 10 3.947e-05 3.947e-05 3.947e-05 0.00% Castro::swap_state_time_levels() 10 3.933e-05 3.933e-05 3.933e-05 0.00% StateData::define() 4 3.577e-05 3.577e-05 3.577e-05 0.00% MLMG::ResNormInf() 93 3.444e-05 3.444e-05 3.444e-05 0.00% MLMG::mgVcycle_bottom 82 3.318e-05 3.318e-05 3.318e-05 0.00% Castro::enforce_consistent_e() 1 3.269e-05 3.269e-05 3.269e-05 0.00% MLMG::computeResidual() 82 3.185e-05 3.185e-05 3.185e-05 0.00% FillPatchSingleLevel 41 3.162e-05 3.162e-05 3.162e-05 0.00% MLPoisson::define() 11 2.914e-05 2.914e-05 2.914e-05 0.00% makeSFC 55 2.658e-05 2.658e-05 2.658e-05 0.00% Castro::construct_new_gravity() 10 2.592e-05 2.592e-05 2.592e-05 0.00% Amr::writeSmallPlotFile() 1 2.544e-05 2.544e-05 2.544e-05 0.00% Castro::initMFs() 1 2.448e-05 2.448e-05 2.448e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.253e-05 2.253e-05 2.253e-05 0.00% Amr::FinalizeInit() 1 2.056e-05 2.056e-05 2.056e-05 0.00% Castro::do_old_sources() 10 2.048e-05 2.048e-05 2.048e-05 0.00% Castro::construct_old_source() 50 1.907e-05 1.907e-05 1.907e-05 0.00% Castro::buildMetrics() 1 1.732e-05 1.732e-05 1.732e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.68e-05 1.68e-05 1.68e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.667e-05 1.667e-05 1.667e-05 0.00% DistributionMapping::Distribute() 56 1.579e-05 1.579e-05 1.579e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.551e-05 1.551e-05 1.551e-05 0.00% MLPoisson::prepareForSolve() 11 1.465e-05 1.465e-05 1.465e-05 0.00% Amr::defBaseLevel() 1 1.329e-05 1.329e-05 1.329e-05 0.00% Castro::check_for_nan() 20 1.172e-05 1.172e-05 1.172e-05 0.00% Castro::construct_old_gravity() 10 1.068e-05 1.068e-05 1.068e-05 0.00% MLLinOp::define() 11 1.018e-05 1.018e-05 1.018e-05 0.00% Castro::apply_source_to_state() 20 1.013e-05 1.013e-05 1.013e-05 0.00% Amr::initSubcycle() 1 8.687e-06 8.687e-06 8.687e-06 0.00% MLMG::computeMLResidual() 11 8.332e-06 8.332e-06 8.332e-06 0.00% Gravity::swapTimeLevels() 10 8.175e-06 8.175e-06 8.175e-06 0.00% Gravity::actual_multilevel_solve() 1 7.655e-06 7.655e-06 7.655e-06 0.00% Castro::post_timestep() 10 7.163e-06 7.163e-06 7.163e-06 0.00% Castro::computeNewDt() 9 6.658e-06 6.658e-06 6.658e-06 0.00% MLMG::getGradSolution() 11 5.758e-06 5.758e-06 5.758e-06 0.00% Castro::expand_state() 10 5.643e-06 5.643e-06 5.643e-06 0.00% AmrLevel::checkPointPost() 3 5.496e-06 5.496e-06 5.496e-06 0.00% Amr::InitializeInit() 1 4.944e-06 4.944e-06 4.944e-06 0.00% MLMG::MLRhsNormInf() 11 4.674e-06 4.674e-06 4.674e-06 0.00% MLMG::MLResNormInf() 11 4.238e-06 4.238e-06 4.238e-06 0.00% Castro::retry_advance_ctu() 10 4.233e-06 4.233e-06 4.233e-06 0.00% Castro::post_init() 1 3.725e-06 3.725e-06 3.725e-06 0.00% Gravity::set_mass_offset() 11 3.648e-06 3.648e-06 3.648e-06 0.00% Castro::computeInitialDt() 2 2.721e-06 2.721e-06 2.721e-06 0.00% Castro::FluxRegCrseInit 10 2.634e-06 2.634e-06 2.634e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.54e-06 2.54e-06 2.54e-06 0.00% Amr::init() 1 2.432e-06 2.432e-06 2.432e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.061e-06 2.061e-06 2.061e-06 0.00% Castro::FluxRegFineAdd() 10 1.861e-06 1.861e-06 1.861e-06 0.00% AmrLevel::checkPointPre() 3 1.671e-06 1.671e-06 1.671e-06 0.00% Castro::post_regrid() 1 1.249e-06 1.249e-06 1.249e-06 0.00% Amr::initialInit() 1 1.092e-06 1.092e-06 1.092e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9282 0.9282 0.9282 100.00% Amr::coarseTimeStep() 10 0.7553 0.7553 0.7553 81.37% Amr::timeStep() 10 0.6378 0.6378 0.6378 68.72% Castro::advance() 10 0.6269 0.6269 0.6269 67.54% Castro::subcycle_advance_ctu() 10 0.613 0.613 0.613 66.04% Castro::do_advance_ctu() 10 0.6128 0.6128 0.6128 66.02% Castro::construct_ctu_hydro_source() 10 0.2862 0.2862 0.2862 30.84% Gravity::solve_phi_with_mlmg() 11 0.2821 0.2821 0.2821 30.39% Gravity::actual_solve_with_mlmg() 11 0.2751 0.2751 0.2751 29.64% Castro::construct_new_gravity() 10 0.2576 0.2576 0.2576 27.75% MLMG::solve() 11 0.2534 0.2534 0.2534 27.30% Gravity::solve_for_phi() 10 0.2422 0.2422 0.2422 26.09% MLMG::oneIter() 82 0.2388 0.2388 0.2388 25.73% MLMG::mgVcycle() 82 0.2352 0.2352 0.2352 25.34% VisMF::Write(FabArray) 11 0.2312 0.2312 0.2312 24.90% Amr::checkPoint() 3 0.1719 0.1719 0.1719 18.52% AmrLevel::checkPoint() 3 0.168 0.168 0.168 18.10% StateData::checkPoint() 12 0.1679 0.1679 0.1679 18.09% Amr::init() 1 0.139 0.139 0.139 14.97% MLCellLinOp::smooth() 1640 0.1162 0.1162 0.1162 12.52% MLCellLinOp::applyBC() 4433 0.1092 0.1092 0.1092 11.77% MLMG::mgVcycle_bottom 82 0.07229 0.07229 0.07229 7.79% MLMG::actualBottomSolve() 82 0.07226 0.07226 0.07226 7.78% MLCGSolver::bicgstab 82 0.07157 0.07157 0.07157 7.71% Amr::writePlotFile() 2 0.06628 0.06628 0.06628 7.14% Castro::clean_state() 62 0.05253 0.05253 0.05253 5.66% Amr::initialInit() 1 0.04783 0.04783 0.04783 5.15% AmrLevel::FillPatch() 41 0.04673 0.04673 0.04673 5.03% Amr::FinalizeInit() 1 0.04361 0.04361 0.04361 4.70% FillPatchIterator::Initialize 41 0.0426 0.0426 0.0426 4.59% Castro::post_init() 1 0.04229 0.04229 0.04229 4.56% FillPatchIterator::FillFromLevel0() 41 0.04113 0.04113 0.04113 4.43% FillPatchSingleLevel 41 0.04108 0.04108 0.04108 4.43% Gravity::multilevel_solve_for_new_phi() 1 0.04033 0.04033 0.04033 4.35% Gravity::actual_multilevel_solve() 1 0.04031 0.04031 0.04031 4.34% StateDataPhysBCFunct::() 41 0.03704 0.03704 0.03704 3.99% MLCellLinOp::apply() 1142 0.03589 0.03589 0.03589 3.87% MLMG::mgVcycle_down::0 82 0.03417 0.03417 0.03417 3.68% FabArray::FillBoundary() 4023 0.03302 0.03302 0.03302 3.56% FillBoundary_nowait() 4023 0.03216 0.03216 0.03216 3.46% MLPoisson::Fsmooth() 3280 0.03175 0.03175 0.03175 3.42% MLMG::mgVcycle_up::0 82 0.0256 0.0256 0.0256 2.76% StateData::FillBoundary(geom) 328 0.02416 0.02416 0.02416 2.60% Castro::computeTemp() 63 0.02203 0.02203 0.02203 2.37% MLCellLinOp::correctionResidual() 492 0.02201 0.02201 0.02201 2.37% Castro::initialize_do_advance() 10 0.02126 0.02126 0.02126 2.29% amrex::Dot() 1114 0.02004 0.02004 0.02004 2.16% MLMG:computeResOfCorrection() 410 0.01942 0.01942 0.01942 2.09% Castro::do_old_sources() 10 0.01843 0.01843 0.01843 1.99% Castro::normalize_species() 62 0.01832 0.01832 0.01832 1.97% MLPoisson::define() 11 0.01736 0.01736 0.01736 1.87% Gravity::get_new_grav_vector() 11 0.01704 0.01704 0.01704 1.84% MLMG::mgVcycle_down::1 82 0.01558 0.01558 0.01558 1.68% amrex::Copy() 1029 0.01463 0.01463 0.01463 1.58% FabArray::norminf() 743 0.0146 0.0146 0.0146 1.57% MLMG::mgVcycle_down::2 82 0.01451 0.01451 0.01451 1.56% Castro::construct_old_gravity() 10 0.01444 0.01444 0.01444 1.56% Gravity::get_old_grav_vector() 10 0.01443 0.01443 0.01443 1.55% MLMG::mgVcycle_down::3 82 0.01419 0.01419 0.01419 1.53% FabArray::ParallelCopy() 861 0.01417 0.01417 0.01417 1.53% MLMG::mgVcycle_down::4 82 0.01402 0.01402 0.01402 1.51% FabArray::ParallelCopy_nowait() 861 0.01393 0.01393 0.01393 1.50% Castro::initialize_advance() 10 0.01324 0.01324 0.01324 1.43% FabArray::setVal() 1144 0.01298 0.01298 0.01298 1.40% Castro::expand_state() 10 0.01205 0.01205 0.01205 1.30% MLCGSolver::ParallelAllReduce 1514 0.01203 0.01203 0.01203 1.30% MLMG::addInterpCorrection() 410 0.01169 0.01169 0.01169 1.26% Castro::do_new_sources() 10 0.0116 0.0116 0.0116 1.25% MLCellLinOp::defineAuxData() 11 0.01152 0.01152 0.01152 1.24% MLMG::mgVcycle_up::1 82 0.0113 0.0113 0.0113 1.22% MLMG::mgVcycle_up::4 82 0.01128 0.01128 0.01128 1.22% MLMG::mgVcycle_up::2 82 0.01103 0.01103 0.01103 1.19% amrex::average_down 410 0.01101 0.01101 0.01101 1.19% MLMG::mgVcycle_up::3 82 0.01086 0.01086 0.01086 1.17% Castro::post_timestep() 10 0.01077 0.01077 0.01077 1.16% MLPoisson::Fapply() 1142 0.01011 0.01011 0.01011 1.09% Castro::enforce_min_density() 62 0.009932 0.009932 0.009932 1.07% FabArray::Saxpy() 813 0.007929 0.007929 0.007929 0.85% FabArray::Xpay() 821 0.007873 0.007873 0.007873 0.85% MLCellLinOp::solutionResidual() 93 0.007077 0.007077 0.007077 0.76% Gravity::fill_multipole_BCs() 11 0.006723 0.006723 0.006723 0.72% Castro::reset_internal_energy(MultiFab) 63 0.006463 0.006463 0.006463 0.70% MLMG::computeResidual() 82 0.006065 0.006065 0.006065 0.65% Castro::estTimeStep() 21 0.005546 0.005546 0.005546 0.60% MLCellLinOp::defineBC() 11 0.005368 0.005368 0.005368 0.58% BndryData::define() 11 0.005107 0.005107 0.005107 0.55% MLMG::prepareForSolve() 11 0.005043 0.005043 0.005043 0.54% FabArray::LinComb() 557 0.004384 0.004384 0.004384 0.47% amrex::Add() 164 0.0043 0.0043 0.0043 0.46% Amr::InitializeInit() 1 0.004218 0.004218 0.004218 0.45% Amr::defBaseLevel() 1 0.004213 0.004213 0.004213 0.45% Castro::initData() 1 0.003726 0.003726 0.003726 0.40% Castro::construct_new_source() 50 0.003207 0.003207 0.003207 0.35% Castro::construct_new_gravity_source() 10 0.003129 0.003129 0.003129 0.34% Castro::enforce_speed_limit() 62 0.002998 0.002998 0.002998 0.32% Castro::construct_old_source() 50 0.002775 0.002775 0.002775 0.30% Castro::construct_old_gravity_source() 10 0.002756 0.002756 0.002756 0.30% Castro::computeNewDt() 9 0.002434 0.002434 0.002434 0.26% Castro::finalize_do_advance() 10 0.002308 0.002308 0.002308 0.25% MLMG::ResNormInf() 93 0.002134 0.002134 0.002134 0.23% Castro::apply_source_to_state() 20 0.001809 0.001809 0.001809 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001778 0.001778 0.001778 0.19% MLCellLinOp::setLevelBC() 11 0.001522 0.001522 0.001522 0.16% FabArrayBase::getCPC() 1323 0.00152 0.00152 0.00152 0.16% Castro::reset_internal_energy(Fab) 504 0.001411 0.001411 0.001411 0.15% MLMG::getGradSolution() 11 0.00137 0.00137 0.00137 0.15% MLCellLinOp::compGrad() 11 0.001364 0.001364 0.001364 0.15% FabArray::mult() 43 0.001319 0.001319 0.001319 0.14% FabArray::setDomainBndry() 41 0.001276 0.001276 0.001276 0.14% check_for_negative_density() 10 0.001261 0.001261 0.001261 0.14% MLPoisson::prepareForSolve() 11 0.001218 0.001218 0.001218 0.13% Castro::check_for_nan() 20 0.001215 0.001215 0.001215 0.13% MultiFab::contains_nan() 20 0.001204 0.001204 0.001204 0.13% MLCellLinOp::prepareForSolve() 11 0.001203 0.001203 0.001203 0.13% Castro::post_regrid() 1 0.001145 0.001145 0.001145 0.12% MLMG::computeMLResidual() 11 0.001052 0.001052 0.001052 0.11% Castro::computeInitialDt() 2 0.0008529 0.0008529 0.0008529 0.09% Gravity::update_max_rhs() 11 0.0008328 0.0008328 0.0008328 0.09% FabArrayBase::CPC::define() 454 0.0007367 0.0007367 0.0007367 0.08% FabArrayBase::getFB() 4023 0.0007275 0.0007275 0.0007275 0.08% Castro::finalize_advance() 10 0.0005697 0.0005697 0.0005697 0.06% Amr::InitAmr() 1 0.0004973 0.0004973 0.0004973 0.05% MLLinOp::define() 11 0.0004446 0.0004446 0.0004446 0.05% Gravity::swapTimeLevels() 10 0.0004397 0.0004397 0.0004397 0.05% MLLinOp::defineGrids() 11 0.0004344 0.0004344 0.0004344 0.05% Castro::Castro() 1 0.0004177 0.0004177 0.0004177 0.05% MLMG::MLResNormInf() 11 0.0002907 0.0002907 0.0002907 0.03% MultiFab::max() 11 0.0002573 0.0002573 0.0002573 0.03% MLMG::MLRhsNormInf() 11 0.0002268 0.0002268 0.0002268 0.02% Castro::create_source_corrector() 10 0.0001747 0.0001747 0.0001747 0.02% Castro::buildMetrics() 1 0.0001485 0.0001485 0.0001485 0.02% FabArrayBase::FB::FB() 56 9.308e-05 9.308e-05 9.308e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.669e-05 5.669e-05 5.669e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.257e-05 5.257e-05 5.257e-05 0.01% makeSFC 55 4.118e-05 4.118e-05 4.118e-05 0.00% Castro::swap_state_time_levels() 10 3.933e-05 3.933e-05 3.933e-05 0.00% StateData::define() 4 3.577e-05 3.577e-05 3.577e-05 0.00% Castro::enforce_consistent_e() 1 3.269e-05 3.269e-05 3.269e-05 0.00% Amr::writeSmallPlotFile() 1 2.544e-05 2.544e-05 2.544e-05 0.00% Castro::initMFs() 1 2.448e-05 2.448e-05 2.448e-05 0.00% DistributionMapping::Distribute() 56 1.579e-05 1.579e-05 1.579e-05 0.00% Amr::initSubcycle() 1 8.687e-06 8.687e-06 8.687e-06 0.00% AmrLevel::checkPointPost() 3 5.496e-06 5.496e-06 5.496e-06 0.00% Castro::retry_advance_ctu() 10 4.233e-06 4.233e-06 4.233e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.719e-06 3.719e-06 3.719e-06 0.00% Gravity::set_mass_offset() 11 3.648e-06 3.648e-06 3.648e-06 0.00% Castro::FluxRegCrseInit 10 2.634e-06 2.634e-06 2.634e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.061e-06 2.061e-06 2.061e-06 0.00% Castro::FluxRegFineAdd() 10 1.861e-06 1.861e-06 1.861e-06 0.00% AmrLevel::checkPointPre() 3 1.671e-06 1.671e-06 1.671e-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 89 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 141 MiB 692 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 1002 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2007 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 3356 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 190 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 159 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7528 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1722 B 2048 KiB Gravity::solve_for_phi() 80 80 533 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 88 KiB 2048 KiB BndryData::define() 1056 1056 307 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 195 KiB 671 KiB Castro::estTimeStep() 21 21 2915 B 480 KiB VisMF::Write(FabArray) 656 656 3174 B 320 KiB Castro::normalize_species() 62 62 6432 B 320 KiB amrex::average_down 1067 1067 1201 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1085 B 257 KiB amrex::Dot() 1360 1360 3169 B 160 KiB FabArray::norminf() 907 907 2329 B 160 KiB check_for_negative_density() 10 10 214 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 42 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3277 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 296 B 9648 B MLCellLinOp::applyBC() 8866 8866 210 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3866 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 112 B 1472 B MLCellLinOp::defineBC() 66 66 345 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 573 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 47 KiB 8192 KiB VisMF::Write(FabArray) 744 744 575 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3277 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 296 B 9648 B MLCellLinOp::applyBC() 4433 4433 208 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3866 B 6144 B Gravity::get_new_grav_vector() 3 3 2915 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 2976 B Gravity::fill_multipole_BCs() 33 33 3 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 279 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 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): 2422 [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.08-24-g6535763b2178) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-24-g6535763b2178) initialized Starting run at 07:55:01 UTC on 2023-08-11. Successfully read inputs file ... Castro git describe: 23.08-3-g76295aa13 AMReX git describe: 23.08-24-g6535763b2 Microphysics git describe: 23.08-5-gb3d1571d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.509713784 Restart time = 0.044742979 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.047996126 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.048897083 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.076225078 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.078911278 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.065674402 [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.032683077 seconds Ending run at 07:55:02 UTC on 2023-08-11. Run time = 0.396096047 Run time without initialization = 0.350792145 Average number of zones advanced per microsecond: 3.736 Average number of zones advanced per microsecond per rank: 3.736 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3961 ... 0.3961 ... 0.3961 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1376 0.1376 0.1376 34.74% VisMF::Read() 3 0.03863 0.03863 0.03863 9.75% MLCellLinOp::applyBC() 1946 0.03252 0.03252 0.03252 8.21% VisMF::Write(FabArray) 1 0.03107 0.03107 0.03107 7.84% MLPoisson::Fsmooth() 1440 0.01354 0.01354 0.01354 3.42% FillBoundary_nowait() 1766 0.0126 0.0126 0.0126 3.18% StateData::FillBoundary(geom) 160 0.01166 0.01166 0.01166 2.94% Castro::normalize_species() 30 0.01033 0.01033 0.01033 2.61% amrex::Dot() 484 0.008472 0.008472 0.008472 2.14% amrex::Copy() 463 0.006847 0.006847 0.006847 1.73% FabArray::setVal() 537 0.00605 0.00605 0.00605 1.53% FabArray::norminf() 326 0.005995 0.005995 0.005995 1.51% FabArray::ParallelCopy_nowait() 380 0.005893 0.005893 0.005893 1.49% Castro::computeTemp() 30 0.005686 0.005686 0.005686 1.44% Castro::enforce_min_density() 30 0.005213 0.005213 0.005213 1.32% MLCellLinOp::defineAuxData() 6 0.004979 0.004979 0.004979 1.26% StateDataPhysBCFunct::() 20 0.004709 0.004709 0.004709 1.19% MLPoisson::Fapply() 500 0.00429 0.00429 0.00429 1.08% Castro::estTimeStep() 10 0.003832 0.003832 0.003832 0.97% FabArray::Saxpy() 355 0.003505 0.003505 0.003505 0.88% FabArray::Xpay() 361 0.003402 0.003402 0.003402 0.86% Gravity::fill_multipole_BCs() 6 0.00335 0.00335 0.00335 0.85% MLMG::addInterpCorrection() 180 0.002855 0.002855 0.002855 0.72% amrex::average_down 180 0.002553 0.002553 0.002553 0.64% Amr::restart() 1 0.002468 0.002468 0.002468 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002202 0.002202 0.002202 0.56% BndryData::define() 6 0.001909 0.001909 0.001909 0.48% FabArray::LinComb() 242 0.001851 0.001851 0.001851 0.47% amrex::Add() 72 0.001825 0.001825 0.001825 0.46% Castro::construct_new_gravity_source() 5 0.0016 0.0016 0.0016 0.40% Amr::writePlotFile() 1 0.001441 0.001441 0.001441 0.36% Castro::construct_old_gravity_source() 5 0.001412 0.001412 0.001412 0.36% MLCGSolver::bicgstab 36 0.0009309 0.0009309 0.0009309 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008599 0.0008599 0.0008599 0.22% Castro::reset_internal_energy(Fab) 240 0.0007882 0.0007882 0.0007882 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007734 0.0007734 0.0007734 0.20% MLCellLinOp::setLevelBC() 6 0.0007317 0.0007317 0.0007317 0.18% check_for_negative_density() 5 0.0007073 0.0007073 0.0007073 0.18% Castro::subcycle_advance_ctu() 5 0.0006983 0.0006983 0.0006983 0.18% FabArray::mult() 22 0.0006424 0.0006424 0.0006424 0.16% FabArray::setDomainBndry() 20 0.0006273 0.0006273 0.0006273 0.16% MultiFab::contains_nan() 10 0.0005903 0.0005903 0.0005903 0.15% MLCellLinOp::prepareForSolve() 6 0.0005848 0.0005848 0.0005848 0.15% MLCellLinOp::compGrad() 6 0.0004825 0.0004825 0.0004825 0.12% MLMG::prepareForSolve() 6 0.0004792 0.0004792 0.0004792 0.12% MLCellLinOp::smooth() 720 0.0004732 0.0004732 0.0004732 0.12% Castro::enforce_speed_limit() 30 0.0004184 0.0004184 0.0004184 0.11% FabArrayBase::CPC::define() 244 0.0004132 0.0004132 0.0004132 0.10% Amr::InitAmr() 1 0.0003762 0.0003762 0.0003762 0.09% FabArray::FillBoundary() 1766 0.0003665 0.0003665 0.0003665 0.09% FabArrayBase::getCPC() 632 0.0003566 0.0003566 0.0003566 0.09% main() 1 0.0002843 0.0002843 0.0002843 0.07% FabArrayBase::getFB() 1766 0.0002608 0.0002608 0.0002608 0.07% Gravity::get_old_grav_vector() 5 0.0002591 0.0002591 0.0002591 0.07% Gravity::get_new_grav_vector() 5 0.0002325 0.0002325 0.0002325 0.06% MLLinOp::defineGrids() 6 0.0001839 0.0001839 0.0001839 0.05% MLCellLinOp::apply() 500 0.0001829 0.0001829 0.0001829 0.05% AmrLevel::FillPatch() 20 0.0001594 0.0001594 0.0001594 0.04% Amr::coarseTimeStep() 5 0.0001576 0.0001576 0.0001576 0.04% MLMG::mgVcycle() 36 0.0001453 0.0001453 0.0001453 0.04% MultiFab::max() 6 0.0001329 0.0001329 0.0001329 0.03% MLCGSolver::ParallelAllReduce 659 0.0001271 0.0001271 0.0001271 0.03% Castro::finalize_do_advance() 5 0.0001219 0.0001219 0.0001219 0.03% MLCellLinOp::defineBC() 6 0.0001148 0.0001148 0.0001148 0.03% FabArray::ParallelCopy() 380 0.000112 0.000112 0.000112 0.03% Castro::construct_new_source() 25 0.000104 0.000104 0.000104 0.03% Castro::do_new_sources() 5 0.0001017 0.0001017 0.0001017 0.03% FillPatchIterator::Initialize 20 0.0001002 0.0001002 0.0001002 0.03% MLCellLinOp::correctionResidual() 216 9.491e-05 9.491e-05 9.491e-05 0.02% Amr::timeStep() 5 9.199e-05 9.199e-05 9.199e-05 0.02% Castro::create_source_corrector() 5 8.887e-05 8.887e-05 8.887e-05 0.02% AmrLevel::restart() 1 7.503e-05 7.503e-05 7.503e-05 0.02% Gravity::update_max_rhs() 6 6.906e-05 6.906e-05 6.906e-05 0.02% StateData::restartDoit() 4 6.02e-05 6.02e-05 6.02e-05 0.02% FabArrayBase::FB::FB() 26 5.91e-05 5.91e-05 5.91e-05 0.01% Gravity::solve_for_phi() 5 5.159e-05 5.159e-05 5.159e-05 0.01% MLMG:computeResOfCorrection() 180 4.994e-05 4.994e-05 4.994e-05 0.01% MLMG::actualBottomSolve() 36 4.162e-05 4.162e-05 4.162e-05 0.01% MLMG::mgVcycle_down::1 36 4.063e-05 4.063e-05 4.063e-05 0.01% MLMG::mgVcycle_down::0 36 3.885e-05 3.885e-05 3.885e-05 0.01% Castro::initialize_advance() 5 3.832e-05 3.832e-05 3.832e-05 0.01% Castro::finalize_advance() 5 3.817e-05 3.817e-05 3.817e-05 0.01% Castro::advance() 5 3.714e-05 3.714e-05 3.714e-05 0.01% MLMG::mgVcycle_down::4 36 3.599e-05 3.599e-05 3.599e-05 0.01% MLMG::mgVcycle_down::2 36 3.561e-05 3.561e-05 3.561e-05 0.01% MLMG::mgVcycle_down::3 36 3.466e-05 3.466e-05 3.466e-05 0.01% Castro::post_timestep() 5 3.27e-05 3.27e-05 3.27e-05 0.01% Castro::clean_state() 30 3.147e-05 3.147e-05 3.147e-05 0.01% MLMG::solve() 6 2.984e-05 2.984e-05 2.984e-05 0.01% MLMG::mgVcycle_up::4 36 2.845e-05 2.845e-05 2.845e-05 0.01% Castro::initialize_do_advance() 5 2.77e-05 2.77e-05 2.77e-05 0.01% Castro::buildMetrics() 1 2.668e-05 2.668e-05 2.668e-05 0.01% Amr::writeSmallPlotFile() 1 2.635e-05 2.635e-05 2.635e-05 0.01% Castro::initMFs() 1 2.633e-05 2.633e-05 2.633e-05 0.01% Castro::swap_state_time_levels() 5 2.465e-05 2.465e-05 2.465e-05 0.01% MLMG::mgVcycle_up::0 36 2.434e-05 2.434e-05 2.434e-05 0.01% MLMG::oneIter() 36 2.433e-05 2.433e-05 2.433e-05 0.01% Castro::do_advance_ctu() 5 2.398e-05 2.398e-05 2.398e-05 0.01% MLMG::mgVcycle_up::3 36 2.344e-05 2.344e-05 2.344e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.253e-05 2.253e-05 2.253e-05 0.01% MLMG::mgVcycle_up::2 36 2.249e-05 2.249e-05 2.249e-05 0.01% MLMG::mgVcycle_up::1 36 2.163e-05 2.163e-05 2.163e-05 0.01% MLCellLinOp::solutionResidual() 42 2.111e-05 2.111e-05 2.111e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.059e-05 2.059e-05 2.059e-05 0.01% MLPoisson::define() 6 2.017e-05 2.017e-05 2.017e-05 0.01% Castro::post_restart() 1 1.92e-05 1.92e-05 1.92e-05 0.00% MLMG::ResNormInf() 42 1.704e-05 1.704e-05 1.704e-05 0.00% MLMG::mgVcycle_bottom 36 1.523e-05 1.523e-05 1.523e-05 0.00% FillPatchSingleLevel 20 1.388e-05 1.388e-05 1.388e-05 0.00% makeSFC 30 1.333e-05 1.333e-05 1.333e-05 0.00% MLMG::computeResidual() 36 1.326e-05 1.326e-05 1.326e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.228e-05 1.228e-05 1.228e-05 0.00% Castro::construct_new_gravity() 5 1.208e-05 1.208e-05 1.208e-05 0.00% Castro::do_old_sources() 5 1.074e-05 1.074e-05 1.074e-05 0.00% Castro::construct_old_gravity() 5 1.028e-05 1.028e-05 1.028e-05 0.00% Castro::construct_old_source() 25 1.01e-05 1.01e-05 1.01e-05 0.00% MLPoisson::prepareForSolve() 6 1.008e-05 1.008e-05 1.008e-05 0.00% Amr::initSubcycle() 1 8.962e-06 8.962e-06 8.962e-06 0.00% DistributionMapping::Distribute() 31 8.333e-06 8.333e-06 8.333e-06 0.00% Gravity::actual_multilevel_solve() 1 7.457e-06 7.457e-06 7.457e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.166e-06 7.166e-06 7.166e-06 0.00% Castro::check_for_nan() 10 5.466e-06 5.466e-06 5.466e-06 0.00% MLLinOp::define() 6 5.113e-06 5.113e-06 5.113e-06 0.00% Castro::apply_source_to_state() 10 5.07e-06 5.07e-06 5.07e-06 0.00% MLMG::computeMLResidual() 6 3.984e-06 3.984e-06 3.984e-06 0.00% Gravity::swapTimeLevels() 5 3.955e-06 3.955e-06 3.955e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.286e-06 3.286e-06 3.286e-06 0.00% Castro::computeNewDt() 5 3.188e-06 3.188e-06 3.188e-06 0.00% MLMG::getGradSolution() 6 3.042e-06 3.042e-06 3.042e-06 0.00% Castro::retry_advance_ctu() 5 2.96e-06 2.96e-06 2.96e-06 0.00% Castro::expand_state() 5 2.559e-06 2.559e-06 2.559e-06 0.00% MLMG::MLResNormInf() 6 2.289e-06 2.289e-06 2.289e-06 0.00% MLMG::MLRhsNormInf() 6 2.077e-06 2.077e-06 2.077e-06 0.00% Gravity::set_mass_offset() 6 2.042e-06 2.042e-06 2.042e-06 0.00% Castro::FluxRegCrseInit 5 2.003e-06 2.003e-06 2.003e-06 0.00% Castro::FluxRegFineAdd() 5 1.475e-06 1.475e-06 1.475e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.36e-07 9.36e-07 9.36e-07 0.00% Amr::init() 1 8.72e-07 8.72e-07 8.72e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3961 0.3961 0.3961 100.00% Amr::coarseTimeStep() 5 0.3179 0.3179 0.3179 80.24% Amr::timeStep() 5 0.316 0.316 0.316 79.76% Castro::advance() 5 0.3119 0.3119 0.3119 78.75% Castro::subcycle_advance_ctu() 5 0.305 0.305 0.305 77.01% Castro::do_advance_ctu() 5 0.3043 0.3043 0.3043 76.83% Castro::construct_ctu_hydro_source() 5 0.1423 0.1423 0.1423 35.91% Castro::construct_new_gravity() 5 0.1262 0.1262 0.1262 31.87% Gravity::solve_phi_with_mlmg() 6 0.1217 0.1217 0.1217 30.72% Gravity::solve_for_phi() 5 0.1187 0.1187 0.1187 29.97% Gravity::actual_solve_with_mlmg() 6 0.1181 0.1181 0.1181 29.81% MLMG::solve() 6 0.1074 0.1074 0.1074 27.10% MLMG::oneIter() 36 0.1007 0.1007 0.1007 25.41% MLMG::mgVcycle() 36 0.09911 0.09911 0.09911 25.02% MLCellLinOp::smooth() 720 0.04879 0.04879 0.04879 12.32% MLCellLinOp::applyBC() 1946 0.04581 0.04581 0.04581 11.56% Amr::init() 1 0.04479 0.04479 0.04479 11.31% Amr::restart() 1 0.04479 0.04479 0.04479 11.31% AmrLevel::restart() 1 0.03882 0.03882 0.03882 9.80% StateData::restartDoit() 4 0.03874 0.03874 0.03874 9.78% VisMF::Read() 3 0.03863 0.03863 0.03863 9.75% Amr::writePlotFile() 1 0.03277 0.03277 0.03277 8.27% VisMF::Write(FabArray) 1 0.03107 0.03107 0.03107 7.84% MLMG::mgVcycle_bottom 36 0.03041 0.03041 0.03041 7.68% MLMG::actualBottomSolve() 36 0.0304 0.0304 0.0304 7.67% MLCGSolver::bicgstab 36 0.0301 0.0301 0.0301 7.60% Castro::clean_state() 30 0.02467 0.02467 0.02467 6.23% AmrLevel::FillPatch() 20 0.0212 0.0212 0.0212 5.35% FillPatchIterator::Initialize 20 0.01915 0.01915 0.01915 4.83% FillPatchIterator::FillFromLevel0() 20 0.01842 0.01842 0.01842 4.65% FillPatchSingleLevel 20 0.0184 0.0184 0.0184 4.64% StateDataPhysBCFunct::() 20 0.01637 0.01637 0.01637 4.13% MLCellLinOp::apply() 500 0.01525 0.01525 0.01525 3.85% MLMG::mgVcycle_down::0 36 0.0141 0.0141 0.0141 3.56% MLPoisson::Fsmooth() 1440 0.01354 0.01354 0.01354 3.42% FabArray::FillBoundary() 1766 0.01329 0.01329 0.01329 3.36% FillBoundary_nowait() 1766 0.01292 0.01292 0.01292 3.26% StateData::FillBoundary(geom) 160 0.01166 0.01166 0.01166 2.94% MLMG::mgVcycle_up::0 36 0.01065 0.01065 0.01065 2.69% Castro::normalize_species() 30 0.01033 0.01033 0.01033 2.61% Castro::initialize_do_advance() 5 0.009737 0.009737 0.009737 2.46% MLCellLinOp::correctionResidual() 216 0.00929 0.00929 0.00929 2.35% Castro::do_old_sources() 5 0.008859 0.008859 0.008859 2.24% Castro::computeTemp() 30 0.008677 0.008677 0.008677 2.19% MLPoisson::define() 6 0.008484 0.008484 0.008484 2.14% amrex::Dot() 484 0.008472 0.008472 0.008472 2.14% MLMG:computeResOfCorrection() 180 0.008176 0.008176 0.008176 2.06% Gravity::get_new_grav_vector() 5 0.007407 0.007407 0.007407 1.87% Castro::do_new_sources() 5 0.007289 0.007289 0.007289 1.84% Castro::construct_old_gravity() 5 0.007246 0.007246 0.007246 1.83% Gravity::get_old_grav_vector() 5 0.007235 0.007235 0.007235 1.83% amrex::Copy() 463 0.006847 0.006847 0.006847 1.73% MLMG::mgVcycle_down::1 36 0.006616 0.006616 0.006616 1.67% Castro::initialize_advance() 5 0.00655 0.00655 0.00655 1.65% FabArray::ParallelCopy() 380 0.006391 0.006391 0.006391 1.61% FabArray::ParallelCopy_nowait() 380 0.006279 0.006279 0.006279 1.59% MLMG::mgVcycle_down::2 36 0.006198 0.006198 0.006198 1.56% FabArray::setVal() 537 0.00605 0.00605 0.00605 1.53% MLMG::mgVcycle_down::3 36 0.006033 0.006033 0.006033 1.52% FabArray::norminf() 326 0.005995 0.005995 0.005995 1.51% MLMG::mgVcycle_down::4 36 0.005969 0.005969 0.005969 1.51% MLCellLinOp::defineAuxData() 6 0.005678 0.005678 0.005678 1.43% Castro::enforce_min_density() 30 0.005213 0.005213 0.005213 1.32% Castro::expand_state() 5 0.005183 0.005183 0.005183 1.31% MLCGSolver::ParallelAllReduce 659 0.005127 0.005127 0.005127 1.29% MLMG::addInterpCorrection() 180 0.00503 0.00503 0.00503 1.27% MLMG::mgVcycle_up::4 36 0.004834 0.004834 0.004834 1.22% MLMG::mgVcycle_up::1 36 0.004816 0.004816 0.004816 1.22% amrex::average_down 180 0.004758 0.004758 0.004758 1.20% MLMG::mgVcycle_up::2 36 0.004707 0.004707 0.004707 1.19% MLMG::mgVcycle_up::3 36 0.004626 0.004626 0.004626 1.17% MLPoisson::Fapply() 500 0.00429 0.00429 0.00429 1.08% Castro::post_timestep() 5 0.003936 0.003936 0.003936 0.99% Castro::estTimeStep() 10 0.003832 0.003832 0.003832 0.97% FabArray::Saxpy() 355 0.003505 0.003505 0.003505 0.88% Gravity::fill_multipole_BCs() 6 0.003489 0.003489 0.003489 0.88% FabArray::Xpay() 361 0.003402 0.003402 0.003402 0.86% Castro::post_restart() 1 0.003324 0.003324 0.003324 0.84% Gravity::multilevel_solve_for_new_phi() 1 0.003212 0.003212 0.003212 0.81% Gravity::actual_multilevel_solve() 1 0.00319 0.00319 0.00319 0.81% MLCellLinOp::solutionResidual() 42 0.003146 0.003146 0.003146 0.79% Castro::reset_internal_energy(MultiFab) 30 0.00299 0.00299 0.00299 0.75% MLMG::computeResidual() 36 0.002604 0.002604 0.002604 0.66% MLCellLinOp::defineBC() 6 0.002568 0.002568 0.002568 0.65% MLMG::prepareForSolve() 6 0.002464 0.002464 0.002464 0.62% BndryData::define() 6 0.002453 0.002453 0.002453 0.62% Castro::finalize_do_advance() 5 0.002229 0.002229 0.002229 0.56% FabArray::LinComb() 242 0.001851 0.001851 0.001851 0.47% amrex::Add() 72 0.001825 0.001825 0.001825 0.46% Castro::computeNewDt() 5 0.001728 0.001728 0.001728 0.44% Castro::construct_new_source() 25 0.001705 0.001705 0.001705 0.43% Castro::construct_new_gravity_source() 5 0.0016 0.0016 0.0016 0.40% Castro::construct_old_source() 25 0.001422 0.001422 0.001422 0.36% Castro::construct_old_gravity_source() 5 0.001412 0.001412 0.001412 0.36% MLMG::ResNormInf() 42 0.0009324 0.0009324 0.0009324 0.24% Castro::apply_source_to_state() 10 0.0009169 0.0009169 0.0009169 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008599 0.0008599 0.0008599 0.22% Castro::reset_internal_energy(Fab) 240 0.0007882 0.0007882 0.0007882 0.20% FabArrayBase::getCPC() 632 0.0007697 0.0007697 0.0007697 0.19% MLMG::getGradSolution() 6 0.0007461 0.0007461 0.0007461 0.19% MLCellLinOp::compGrad() 6 0.000743 0.000743 0.000743 0.19% MLCellLinOp::setLevelBC() 6 0.0007317 0.0007317 0.0007317 0.18% check_for_negative_density() 5 0.0007073 0.0007073 0.0007073 0.18% FabArray::mult() 22 0.0006424 0.0006424 0.0006424 0.16% FabArray::setDomainBndry() 20 0.0006273 0.0006273 0.0006273 0.16% Castro::check_for_nan() 10 0.0005958 0.0005958 0.0005958 0.15% MLPoisson::prepareForSolve() 6 0.0005949 0.0005949 0.0005949 0.15% MultiFab::contains_nan() 10 0.0005903 0.0005903 0.0005903 0.15% MLCellLinOp::prepareForSolve() 6 0.0005848 0.0005848 0.0005848 0.15% MLMG::computeMLResidual() 6 0.0005596 0.0005596 0.0005596 0.14% Gravity::update_max_rhs() 6 0.000444 0.000444 0.000444 0.11% Castro::enforce_speed_limit() 30 0.0004184 0.0004184 0.0004184 0.11% FabArrayBase::CPC::define() 244 0.0004132 0.0004132 0.0004132 0.10% Amr::InitAmr() 1 0.0003851 0.0003851 0.0003851 0.10% FabArrayBase::getFB() 1766 0.0003199 0.0003199 0.0003199 0.08% Castro::finalize_advance() 5 0.0003088 0.0003088 0.0003088 0.08% Gravity::swapTimeLevels() 5 0.000219 0.000219 0.000219 0.06% MLLinOp::define() 6 0.0002175 0.0002175 0.0002175 0.05% MLLinOp::defineGrids() 6 0.0002123 0.0002123 0.0002123 0.05% MLMG::MLResNormInf() 6 0.0001491 0.0001491 0.0001491 0.04% Castro::buildMetrics() 1 0.0001433 0.0001433 0.0001433 0.04% MultiFab::max() 6 0.0001329 0.0001329 0.0001329 0.03% MLMG::MLRhsNormInf() 6 0.000119 0.000119 0.000119 0.03% Castro::create_source_corrector() 5 8.887e-05 8.887e-05 8.887e-05 0.02% FabArrayBase::FB::FB() 26 5.91e-05 5.91e-05 5.91e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.748e-05 2.748e-05 2.748e-05 0.01% Amr::writeSmallPlotFile() 1 2.635e-05 2.635e-05 2.635e-05 0.01% Castro::initMFs() 1 2.633e-05 2.633e-05 2.633e-05 0.01% Castro::swap_state_time_levels() 5 2.465e-05 2.465e-05 2.465e-05 0.01% makeSFC 30 2.032e-05 2.032e-05 2.032e-05 0.01% Amr::initSubcycle() 1 8.962e-06 8.962e-06 8.962e-06 0.00% DistributionMapping::Distribute() 31 8.333e-06 8.333e-06 8.333e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.635e-06 4.635e-06 4.635e-06 0.00% Castro::retry_advance_ctu() 5 2.96e-06 2.96e-06 2.96e-06 0.00% Gravity::set_mass_offset() 6 2.042e-06 2.042e-06 2.042e-06 0.00% Castro::FluxRegCrseInit 5 2.003e-06 2.003e-06 2.003e-06 0.00% Castro::FluxRegFineAdd() 5 1.475e-06 1.475e-06 1.475e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.36e-07 9.36e-07 9.36e-07 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 203 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 149 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1042 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2314 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6770 KiB 14 MiB MLMG::prepareForSolve() 361 361 3328 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 189 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 191 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6765 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2157 B 2048 KiB Gravity::solve_for_phi() 40 40 612 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 306 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 196 KiB 671 KiB Castro::estTimeStep() 10 10 4627 B 480 KiB VisMF::Write(FabArray) 112 112 1219 B 320 KiB Castro::normalize_species() 30 30 8493 B 320 KiB amrex::average_down 469 469 1173 B 257 KiB MLMG::addInterpCorrection() 468 468 1091 B 257 KiB amrex::Dot() 592 592 3141 B 160 KiB FabArray::norminf() 398 398 2231 B 160 KiB check_for_negative_density() 5 5 283 B 160 KiB MultiFab::max() 6 6 51 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3236 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 3892 3892 213 B 9344 B amrex::Copy() 56 56 5998 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 46 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 110 B 1472 B MLCellLinOp::defineBC() 36 36 344 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1286 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 110 KiB 8192 KiB VisMF::Write(FabArray) 120 120 241 KiB 3584 KiB VisMF::Read() 24 24 189 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3236 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 1946 1946 212 B 9328 B amrex::Copy() 56 56 5999 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2678 B 3072 B StateData::FillBoundary(geom) 960 960 46 B 2880 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 518 B 1296 B amrex::average_down 37 37 227 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() 398 398 16 B 272 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): 2422 [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.08-24-g6535763b2178) finalized