Initializing AMReX (23.10-22-gbe6c6415467d)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-22-gbe6c6415467d) initialized Starting run at 08:12:37 UTC on 2023-10-31. Successfully read inputs file ... Castro git describe: 23.10-47-gebd2255bc AMReX git describe: 23.10-22-gbe6c64154 Microphysics git describe: 23.10-28-g153fbf87 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.049524131 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027390139 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.056738524 [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.077234645 [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.077675916 [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.058216698 [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.0637277 [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.048965862 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.078386161 [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.078030297 [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.052483334 [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.049760411 [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.071907846 [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.047519426 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02753178 seconds Ending run at 08:12:38 UTC on 2023-10-31. Run time = 0.92576203 Run time without initialization = 0.788938701 Average number of zones advanced per microsecond: 3.323 Average number of zones advanced per microsecond per rank: 3.323 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9258 ... 0.9258 ... 0.9258 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2621 0.2621 0.2621 28.32% VisMF::Write(FabArray) 11 0.1922 0.1922 0.1922 20.76% MLCellLinOp::applyBC() 4433 0.08418 0.08418 0.08418 9.09% StateData::FillBoundary(geom) 328 0.04883 0.04883 0.04883 5.27% MLPoisson::Fsmooth() 3280 0.03445 0.03445 0.03445 3.72% FillBoundary_nowait() 4023 0.03062 0.03062 0.03062 3.31% amrex::Dot() 1114 0.02165 0.02165 0.02165 2.34% Castro::normalize_species() 62 0.01779 0.01779 0.01779 1.92% Castro::computeTemp() 63 0.01724 0.01724 0.01724 1.86% amrex::Copy() 1029 0.01554 0.01554 0.01554 1.68% FabArray::norminf() 743 0.01512 0.01512 0.01512 1.63% FabArray::ParallelCopy_nowait() 861 0.01417 0.01417 0.01417 1.53% FabArray::setVal() 1144 0.01399 0.01399 0.01399 1.51% Castro::enforce_min_density() 62 0.01177 0.01177 0.01177 1.27% MLPoisson::Fapply() 1142 0.01102 0.01102 0.01102 1.19% MLCellLinOp::defineAuxData() 11 0.01093 0.01093 0.01093 1.18% Gravity::fill_multipole_BCs() 11 0.009042 0.009042 0.009042 0.98% FabArray::Saxpy() 813 0.008651 0.008651 0.008651 0.93% FabArray::Xpay() 821 0.008454 0.008454 0.008454 0.91% StateDataPhysBCFunct::() 41 0.007631 0.007631 0.007631 0.82% MLMG::addInterpCorrection() 410 0.007245 0.007245 0.007245 0.78% amrex::average_down 410 0.00655 0.00655 0.00655 0.71% Castro::estTimeStep() 21 0.006266 0.006266 0.006266 0.68% Amr::checkPoint() 3 0.00598 0.00598 0.00598 0.65% FabArray::LinComb() 557 0.00481 0.00481 0.00481 0.52% Castro::reset_internal_energy(MultiFab) 63 0.004716 0.004716 0.004716 0.51% amrex::Add() 164 0.004465 0.004465 0.004465 0.48% BndryData::define() 11 0.003881 0.003881 0.003881 0.42% Castro::construct_new_gravity_source() 10 0.003323 0.003323 0.003323 0.36% Castro::construct_old_gravity_source() 10 0.002915 0.002915 0.002915 0.31% Castro::enforce_speed_limit() 62 0.002832 0.002832 0.002832 0.31% MLCGSolver::bicgstab 82 0.002759 0.002759 0.002759 0.30% Amr::writePlotFile() 2 0.002223 0.002223 0.002223 0.24% check_for_negative_density() 10 0.002012 0.002012 0.002012 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001913 0.001913 0.001913 0.21% Castro::reset_internal_energy(Fab) 504 0.001906 0.001906 0.001906 0.21% Gravity::actual_solve_with_mlmg() 11 0.00162 0.00162 0.00162 0.17% MLCellLinOp::smooth() 1640 0.001604 0.001604 0.001604 0.17% MLCellLinOp::setLevelBC() 11 0.001527 0.001527 0.001527 0.16% Castro::initData() 1 0.001423 0.001423 0.001423 0.15% FabArray::mult() 43 0.001378 0.001378 0.001378 0.15% MLCellLinOp::prepareForSolve() 11 0.001375 0.001375 0.001375 0.15% FabArray::setDomainBndry() 41 0.001351 0.001351 0.001351 0.15% MultiFab::contains_nan() 20 0.001299 0.001299 0.001299 0.14% MLMG::prepareForSolve() 11 0.001068 0.001068 0.001068 0.12% MLCellLinOp::compGrad() 11 0.001059 0.001059 0.001059 0.11% FabArray::FillBoundary() 4023 0.0009484 0.0009484 0.0009484 0.10% FabArrayBase::getCPC() 1323 0.0008126 0.0008126 0.0008126 0.09% FabArrayBase::CPC::define() 454 0.0006952 0.0006952 0.0006952 0.08% FabArrayBase::getFB() 4023 0.0006771 0.0006771 0.0006771 0.07% MLCellLinOp::apply() 1142 0.0006248 0.0006248 0.0006248 0.07% Gravity::get_new_grav_vector() 11 0.0006111 0.0006111 0.0006111 0.07% Gravity::get_old_grav_vector() 10 0.0004923 0.0004923 0.0004923 0.05% Amr::InitAmr() 1 0.0004864 0.0004864 0.0004864 0.05% Amr::coarseTimeStep() 10 0.0004543 0.0004543 0.0004543 0.05% AmrLevel::FillPatch() 41 0.0004102 0.0004102 0.0004102 0.04% MultiFab::max() 11 0.000345 0.000345 0.000345 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003279 0.0003279 0.0003279 0.04% main() 1 0.000301 0.000301 0.000301 0.03% MLCellLinOp::correctionResidual() 492 0.0002874 0.0002874 0.0002874 0.03% FabArray::ParallelCopy() 861 0.0002848 0.0002848 0.0002848 0.03% MLCellLinOp::defineBC() 11 0.0002591 0.0002591 0.0002591 0.03% MLMG::mgVcycle() 82 0.0002555 0.0002555 0.0002555 0.03% FillPatchIterator::Initialize 41 0.0002482 0.0002482 0.0002482 0.03% Castro::subcycle_advance_ctu() 10 0.0002332 0.0002332 0.0002332 0.03% Amr::timeStep() 10 0.0001781 0.0001781 0.0001781 0.02% MLLinOp::defineGrids() 11 0.0001661 0.0001661 0.0001661 0.02% Gravity::solve_for_phi() 10 0.0001603 0.0001603 0.0001603 0.02% Gravity::update_max_rhs() 11 0.0001464 0.0001464 0.0001464 0.02% StateData::checkPoint() 12 0.0001436 0.0001436 0.0001436 0.02% Castro::create_source_corrector() 10 0.0001229 0.0001229 0.0001229 0.01% Castro::advance() 10 0.0001158 0.0001158 0.0001158 0.01% MLMG:computeResOfCorrection() 410 0.0001151 0.0001151 0.0001151 0.01% MLMG::mgVcycle_down::0 82 0.0001112 0.0001112 0.0001112 0.01% MLMG::mgVcycle_down::2 82 0.0001079 0.0001079 0.0001079 0.01% MLMG::mgVcycle_down::1 82 0.0001072 0.0001072 0.0001072 0.01% MLMG::mgVcycle_down::3 82 0.0001048 0.0001048 0.0001048 0.01% MLMG::actualBottomSolve() 82 0.000104 0.000104 0.000104 0.01% MLMG::mgVcycle_down::4 82 0.0001037 0.0001037 0.0001037 0.01% FabArrayBase::FB::FB() 56 9.938e-05 9.938e-05 9.938e-05 0.01% AmrLevel::checkPoint() 3 9.765e-05 9.765e-05 9.765e-05 0.01% Castro::clean_state() 62 9.3e-05 9.3e-05 9.3e-05 0.01% Castro::Castro() 1 9.267e-05 9.267e-05 9.267e-05 0.01% Castro::initialize_advance() 10 8.823e-05 8.823e-05 8.823e-05 0.01% MLMG::solve() 11 8.686e-05 8.686e-05 8.686e-05 0.01% Castro::do_new_sources() 10 7.569e-05 7.569e-05 7.569e-05 0.01% Castro::finalize_advance() 10 7.5e-05 7.5e-05 7.5e-05 0.01% Castro::initialize_do_advance() 10 7.184e-05 7.184e-05 7.184e-05 0.01% Castro::enforce_consistent_e() 1 7.059e-05 7.059e-05 7.059e-05 0.01% MLMG::mgVcycle_up::4 82 6.917e-05 6.917e-05 6.917e-05 0.01% Castro::construct_new_source() 50 6.55e-05 6.55e-05 6.55e-05 0.01% MLMG::mgVcycle_up::1 82 6.402e-05 6.402e-05 6.402e-05 0.01% MLMG::mgVcycle_up::0 82 6.305e-05 6.305e-05 6.305e-05 0.01% MLMG::mgVcycle_up::3 82 6.109e-05 6.109e-05 6.109e-05 0.01% MLCellLinOp::solutionResidual() 93 6.021e-05 6.021e-05 6.021e-05 0.01% MLMG::mgVcycle_up::2 82 5.844e-05 5.844e-05 5.844e-05 0.01% MLMG::oneIter() 82 5.842e-05 5.842e-05 5.842e-05 0.01% Castro::do_advance_ctu() 10 5.835e-05 5.835e-05 5.835e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.425e-05 5.425e-05 5.425e-05 0.01% Castro::finalize_do_advance() 10 4.506e-05 4.506e-05 4.506e-05 0.00% FillPatchSingleLevel 41 4.381e-05 4.381e-05 4.381e-05 0.00% Castro::post_timestep() 10 4.228e-05 4.228e-05 4.228e-05 0.00% Castro::swap_state_time_levels() 10 4.18e-05 4.18e-05 4.18e-05 0.00% StateData::define() 4 4.129e-05 4.129e-05 4.129e-05 0.00% MLMG::ResNormInf() 93 3.915e-05 3.915e-05 3.915e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.603e-05 3.603e-05 3.603e-05 0.00% Castro::construct_new_gravity() 10 3.367e-05 3.367e-05 3.367e-05 0.00% Castro::initMFs() 1 3.366e-05 3.366e-05 3.366e-05 0.00% MLMG::mgVcycle_bottom 82 3.354e-05 3.354e-05 3.354e-05 0.00% Amr::writeSmallPlotFile() 1 3.294e-05 3.294e-05 3.294e-05 0.00% MLMG::computeResidual() 82 3.263e-05 3.263e-05 3.263e-05 0.00% Amr::defBaseLevel() 1 3.248e-05 3.248e-05 3.248e-05 0.00% Castro::do_old_sources() 10 2.659e-05 2.659e-05 2.659e-05 0.00% Castro::buildMetrics() 1 2.622e-05 2.622e-05 2.622e-05 0.00% makeSFC 55 2.559e-05 2.559e-05 2.559e-05 0.00% Amr::FinalizeInit() 1 2.24e-05 2.24e-05 2.24e-05 0.00% MLPoisson::define() 11 2.185e-05 2.185e-05 2.185e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.902e-05 1.902e-05 1.902e-05 0.00% Castro::construct_old_source() 50 1.864e-05 1.864e-05 1.864e-05 0.00% DistributionMapping::Distribute() 56 1.707e-05 1.707e-05 1.707e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.466e-05 1.466e-05 1.466e-05 0.00% MLPoisson::prepareForSolve() 11 1.465e-05 1.465e-05 1.465e-05 0.00% MLMG::computeMLResidual() 11 1.453e-05 1.453e-05 1.453e-05 0.00% MLLinOp::define() 11 1.442e-05 1.442e-05 1.442e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.44e-05 1.44e-05 1.44e-05 0.00% Castro::construct_old_gravity() 10 1.361e-05 1.361e-05 1.361e-05 0.00% Gravity::swapTimeLevels() 10 1.328e-05 1.328e-05 1.328e-05 0.00% Castro::check_for_nan() 20 1.324e-05 1.324e-05 1.324e-05 0.00% Castro::apply_source_to_state() 20 1.281e-05 1.281e-05 1.281e-05 0.00% Castro::post_init() 1 1.125e-05 1.125e-05 1.125e-05 0.00% Amr::initSubcycle() 1 9.222e-06 9.222e-06 9.222e-06 0.00% Gravity::actual_multilevel_solve() 1 8.285e-06 8.285e-06 8.285e-06 0.00% Castro::computeNewDt() 9 7.594e-06 7.594e-06 7.594e-06 0.00% MLMG::getGradSolution() 11 6.675e-06 6.675e-06 6.675e-06 0.00% Castro::expand_state() 10 6.249e-06 6.249e-06 6.249e-06 0.00% AmrLevel::checkPointPost() 3 5.883e-06 5.883e-06 5.883e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.713e-06 5.713e-06 5.713e-06 0.00% Gravity::set_mass_offset() 11 4.907e-06 4.907e-06 4.907e-06 0.00% Castro::retry_advance_ctu() 10 4.761e-06 4.761e-06 4.761e-06 0.00% Amr::InitializeInit() 1 4.53e-06 4.53e-06 4.53e-06 0.00% MLMG::MLRhsNormInf() 11 4.429e-06 4.429e-06 4.429e-06 0.00% MLMG::MLResNormInf() 11 3.747e-06 3.747e-06 3.747e-06 0.00% Castro::computeInitialDt() 2 3.447e-06 3.447e-06 3.447e-06 0.00% Castro::FluxRegCrseInit 10 3.112e-06 3.112e-06 3.112e-06 0.00% Amr::init() 1 2.871e-06 2.871e-06 2.871e-06 0.00% AmrLevel::checkPointPre() 3 2.5e-06 2.5e-06 2.5e-06 0.00% Castro::FluxRegFineAdd() 10 2.352e-06 2.352e-06 2.352e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.969e-06 1.969e-06 1.969e-06 0.00% Castro::post_regrid() 1 1.613e-06 1.613e-06 1.613e-06 0.00% Amr::initialInit() 1 1.024e-06 1.024e-06 1.024e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9258 0.9258 0.9258 100.00% Amr::coarseTimeStep() 10 0.7612 0.7612 0.7612 82.22% Amr::timeStep() 10 0.6607 0.6607 0.6607 71.37% Castro::advance() 10 0.6498 0.6498 0.6498 70.19% Castro::subcycle_advance_ctu() 10 0.6364 0.6364 0.6364 68.74% Castro::do_advance_ctu() 10 0.6362 0.6362 0.6362 68.72% Gravity::solve_phi_with_mlmg() 11 0.3058 0.3058 0.3058 33.03% Gravity::actual_solve_with_mlmg() 11 0.2963 0.2963 0.2963 32.00% Castro::construct_new_gravity() 10 0.2796 0.2796 0.2796 30.20% MLMG::solve() 11 0.2736 0.2736 0.2736 29.56% Castro::construct_ctu_hydro_source() 10 0.2732 0.2732 0.2732 29.51% MLMG::oneIter() 82 0.2579 0.2579 0.2579 27.86% Gravity::solve_for_phi() 10 0.2576 0.2576 0.2576 27.82% MLMG::mgVcycle() 82 0.2542 0.2542 0.2542 27.46% VisMF::Write(FabArray) 11 0.1922 0.1922 0.1922 20.76% Amr::checkPoint() 3 0.1461 0.1461 0.1461 15.78% AmrLevel::checkPoint() 3 0.1401 0.1401 0.1401 15.14% StateData::checkPoint() 12 0.14 0.14 0.14 15.13% Amr::init() 1 0.1362 0.1362 0.1362 14.71% MLCellLinOp::smooth() 1640 0.1245 0.1245 0.1245 13.45% MLCellLinOp::applyBC() 4433 0.1165 0.1165 0.1165 12.59% MLMG::mgVcycle_bottom 82 0.0791 0.0791 0.0791 8.54% MLMG::actualBottomSolve() 82 0.07907 0.07907 0.07907 8.54% MLCGSolver::bicgstab 82 0.07831 0.07831 0.07831 8.46% AmrLevel::FillPatch() 41 0.06655 0.06655 0.06655 7.19% FillPatchIterator::Initialize 41 0.06223 0.06223 0.06223 6.72% FillPatchIterator::FillFromLevel0() 41 0.06063 0.06063 0.06063 6.55% FillPatchSingleLevel 41 0.06058 0.06058 0.06058 6.54% Amr::initialInit() 1 0.05918 0.05918 0.05918 6.39% StateDataPhysBCFunct::() 41 0.05646 0.05646 0.05646 6.10% Castro::clean_state() 62 0.05554 0.05554 0.05554 6.00% Amr::writePlotFile() 2 0.05503 0.05503 0.05503 5.94% Amr::FinalizeInit() 1 0.05421 0.05421 0.05421 5.86% Castro::post_init() 1 0.0527 0.0527 0.0527 5.69% StateData::FillBoundary(geom) 328 0.04883 0.04883 0.04883 5.27% Gravity::multilevel_solve_for_new_phi() 1 0.04872 0.04872 0.04872 5.26% Gravity::actual_multilevel_solve() 1 0.0487 0.0487 0.0487 5.26% MLCellLinOp::apply() 1142 0.03925 0.03925 0.03925 4.24% MLMG::mgVcycle_down::0 82 0.03474 0.03474 0.03474 3.75% MLPoisson::Fsmooth() 3280 0.03445 0.03445 0.03445 3.72% FabArray::FillBoundary() 4023 0.03235 0.03235 0.03235 3.49% FillBoundary_nowait() 4023 0.0314 0.0314 0.0314 3.39% MLMG::mgVcycle_up::0 82 0.02637 0.02637 0.02637 2.85% Gravity::get_new_grav_vector() 11 0.02554 0.02554 0.02554 2.76% Castro::computeTemp() 63 0.02386 0.02386 0.02386 2.58% MLCellLinOp::correctionResidual() 492 0.02358 0.02358 0.02358 2.55% Castro::construct_old_gravity() 10 0.02335 0.02335 0.02335 2.52% Gravity::get_old_grav_vector() 10 0.02334 0.02334 0.02334 2.52% Castro::initialize_do_advance() 10 0.02225 0.02225 0.02225 2.40% amrex::Dot() 1114 0.02165 0.02165 0.02165 2.34% MLMG:computeResOfCorrection() 410 0.02068 0.02068 0.02068 2.23% Castro::do_old_sources() 10 0.02066 0.02066 0.02066 2.23% MLPoisson::define() 11 0.01792 0.01792 0.01792 1.94% Castro::normalize_species() 62 0.01779 0.01779 0.01779 1.92% MLMG::mgVcycle_down::1 82 0.01721 0.01721 0.01721 1.86% MLMG::mgVcycle_down::2 82 0.01606 0.01606 0.01606 1.74% MLMG::mgVcycle_down::3 82 0.01572 0.01572 0.01572 1.70% MLMG::mgVcycle_down::4 82 0.01555 0.01555 0.01555 1.68% amrex::Copy() 1029 0.01554 0.01554 0.01554 1.68% FabArray::ParallelCopy() 861 0.01529 0.01529 0.01529 1.65% FabArray::norminf() 743 0.01512 0.01512 0.01512 1.63% FabArray::ParallelCopy_nowait() 861 0.01501 0.01501 0.01501 1.62% FabArray::setVal() 1144 0.01399 0.01399 0.01399 1.51% Castro::do_new_sources() 10 0.01354 0.01354 0.01354 1.46% MLCGSolver::ParallelAllReduce 1514 0.01299 0.01299 0.01299 1.40% MLMG::addInterpCorrection() 410 0.01283 0.01283 0.01283 1.39% Castro::expand_state() 10 0.01271 0.01271 0.01271 1.37% Castro::initialize_advance() 10 0.01266 0.01266 0.01266 1.37% MLMG::mgVcycle_up::1 82 0.01253 0.01253 0.01253 1.35% MLCellLinOp::defineAuxData() 11 0.01246 0.01246 0.01246 1.35% MLMG::mgVcycle_up::4 82 0.01237 0.01237 0.01237 1.34% MLMG::mgVcycle_up::2 82 0.01229 0.01229 0.01229 1.33% amrex::average_down 410 0.01218 0.01218 0.01218 1.32% MLMG::mgVcycle_up::3 82 0.01202 0.01202 0.01202 1.30% Castro::enforce_min_density() 62 0.01177 0.01177 0.01177 1.27% MLPoisson::Fapply() 1142 0.01102 0.01102 0.01102 1.19% Castro::post_timestep() 10 0.01071 0.01071 0.01071 1.16% Gravity::fill_multipole_BCs() 11 0.009273 0.009273 0.009273 1.00% FabArray::Saxpy() 813 0.008651 0.008651 0.008651 0.93% FabArray::Xpay() 821 0.008454 0.008454 0.008454 0.91% MLCellLinOp::solutionResidual() 93 0.007819 0.007819 0.007819 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006622 0.006622 0.006622 0.72% MLMG::computeResidual() 82 0.006485 0.006485 0.006485 0.70% Castro::estTimeStep() 21 0.006266 0.006266 0.006266 0.68% MLMG::prepareForSolve() 11 0.005331 0.005331 0.005331 0.58% MLCellLinOp::defineBC() 11 0.005203 0.005203 0.005203 0.56% Amr::InitializeInit() 1 0.004974 0.004974 0.004974 0.54% Amr::defBaseLevel() 1 0.004969 0.004969 0.004969 0.54% BndryData::define() 11 0.004944 0.004944 0.004944 0.53% FabArray::LinComb() 557 0.00481 0.00481 0.00481 0.52% amrex::Add() 164 0.004465 0.004465 0.004465 0.48% Castro::initData() 1 0.004266 0.004266 0.004266 0.46% Castro::construct_new_source() 50 0.003388 0.003388 0.003388 0.37% Castro::construct_new_gravity_source() 10 0.003323 0.003323 0.003323 0.36% Castro::construct_old_source() 50 0.002934 0.002934 0.002934 0.32% Castro::construct_old_gravity_source() 10 0.002915 0.002915 0.002915 0.31% Castro::enforce_speed_limit() 62 0.002832 0.002832 0.002832 0.31% Castro::computeNewDt() 9 0.002654 0.002654 0.002654 0.29% Castro::finalize_do_advance() 10 0.002594 0.002594 0.002594 0.28% MLMG::ResNormInf() 93 0.002224 0.002224 0.002224 0.24% check_for_negative_density() 10 0.002012 0.002012 0.002012 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001913 0.001913 0.001913 0.21% Castro::reset_internal_energy(Fab) 504 0.001906 0.001906 0.001906 0.21% Castro::apply_source_to_state() 20 0.001884 0.001884 0.001884 0.20% MLMG::getGradSolution() 11 0.001571 0.001571 0.001571 0.17% MLCellLinOp::compGrad() 11 0.001564 0.001564 0.001564 0.17% MLCellLinOp::setLevelBC() 11 0.001527 0.001527 0.001527 0.16% FabArrayBase::getCPC() 1323 0.001508 0.001508 0.001508 0.16% MLPoisson::prepareForSolve() 11 0.00139 0.00139 0.00139 0.15% MLMG::computeMLResidual() 11 0.001381 0.001381 0.001381 0.15% FabArray::mult() 43 0.001378 0.001378 0.001378 0.15% MLCellLinOp::prepareForSolve() 11 0.001375 0.001375 0.001375 0.15% FabArray::setDomainBndry() 41 0.001351 0.001351 0.001351 0.15% Castro::check_for_nan() 20 0.001312 0.001312 0.001312 0.14% MultiFab::contains_nan() 20 0.001299 0.001299 0.001299 0.14% Castro::post_regrid() 1 0.001187 0.001187 0.001187 0.13% Castro::computeInitialDt() 2 0.001074 0.001074 0.001074 0.12% Gravity::update_max_rhs() 11 0.001042 0.001042 0.001042 0.11% FabArrayBase::getFB() 4023 0.0007764 0.0007764 0.0007764 0.08% FabArrayBase::CPC::define() 454 0.0006952 0.0006952 0.0006952 0.08% Castro::finalize_advance() 10 0.0006184 0.0006184 0.0006184 0.07% Castro::Castro() 1 0.0006081 0.0006081 0.0006081 0.07% Amr::InitAmr() 1 0.0004957 0.0004957 0.0004957 0.05% Gravity::swapTimeLevels() 10 0.0004565 0.0004565 0.0004565 0.05% MultiFab::max() 11 0.000345 0.000345 0.000345 0.04% MLMG::MLResNormInf() 11 0.000338 0.000338 0.000338 0.04% Castro::buildMetrics() 1 0.000303 0.000303 0.000303 0.03% MLLinOp::define() 11 0.0002388 0.0002388 0.0002388 0.03% MLMG::MLRhsNormInf() 11 0.0002255 0.0002255 0.0002255 0.02% MLLinOp::defineGrids() 11 0.0002243 0.0002243 0.0002243 0.02% Castro::create_source_corrector() 10 0.0001229 0.0001229 0.0001229 0.01% FabArrayBase::FB::FB() 56 9.938e-05 9.938e-05 9.938e-05 0.01% Castro::enforce_consistent_e() 1 7.059e-05 7.059e-05 7.059e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.624e-05 5.624e-05 5.624e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.568e-05 5.568e-05 5.568e-05 0.01% Castro::swap_state_time_levels() 10 4.18e-05 4.18e-05 4.18e-05 0.00% makeSFC 55 4.158e-05 4.158e-05 4.158e-05 0.00% StateData::define() 4 4.129e-05 4.129e-05 4.129e-05 0.00% Castro::initMFs() 1 3.366e-05 3.366e-05 3.366e-05 0.00% Amr::writeSmallPlotFile() 1 3.294e-05 3.294e-05 3.294e-05 0.00% DistributionMapping::Distribute() 56 1.707e-05 1.707e-05 1.707e-05 0.00% Amr::initSubcycle() 1 9.222e-06 9.222e-06 9.222e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 6.806e-06 6.806e-06 6.806e-06 0.00% AmrLevel::checkPointPost() 3 5.883e-06 5.883e-06 5.883e-06 0.00% Gravity::set_mass_offset() 11 4.907e-06 4.907e-06 4.907e-06 0.00% Castro::retry_advance_ctu() 10 4.761e-06 4.761e-06 4.761e-06 0.00% Castro::FluxRegCrseInit 10 3.112e-06 3.112e-06 3.112e-06 0.00% AmrLevel::checkPointPre() 3 2.5e-06 2.5e-06 2.5e-06 0.00% Castro::FluxRegFineAdd() 10 2.352e-06 2.352e-06 2.352e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.969e-06 1.969e-06 1.969e-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 90 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 130 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 1272 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1664 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3634 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 285 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 258 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2161 B 2048 KiB Gravity::solve_for_phi() 80 80 569 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 107 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 3300 B 480 KiB VisMF::Write(FabArray) 656 656 3373 B 320 KiB Castro::normalize_species() 62 62 6249 B 320 KiB amrex::average_down 1067 1067 1270 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1158 B 257 KiB amrex::Dot() 1360 1360 3431 B 160 KiB FabArray::norminf() 907 907 2402 B 160 KiB check_for_negative_density() 10 10 329 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3548 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 287 B 9648 B MLCellLinOp::applyBC() 8866 8866 224 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B StateData::FillBoundary(geom) 1992 1992 32 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 123 B 1472 B MLCellLinOp::defineBC() 66 66 374 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 589 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 464 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3548 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 286 B 9648 B MLCellLinOp::applyBC() 4433 4433 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B Gravity::get_new_grav_vector() 3 3 2882 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 32 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 302 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 18 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): 2528 [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.10-22-gbe6c6415467d) finalized Initializing AMReX (23.10-22-gbe6c6415467d)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-22-gbe6c6415467d) initialized Starting run at 08:12:39 UTC on 2023-10-31. Successfully read inputs file ... Castro git describe: 23.10-47-gebd2255bc AMReX git describe: 23.10-22-gbe6c64154 Microphysics git describe: 23.10-28-g153fbf87 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.519444181 Restart time = 0.072380073 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.054728643 [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.046370225 [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.047395197 [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.069559013 [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.089140796 [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.030644667 seconds Ending run at 08:12:39 UTC on 2023-10-31. Run time = 0.411346052 Run time without initialization = 0.338336163 Average number of zones advanced per microsecond: 3.874 Average number of zones advanced per microsecond per rank: 3.874 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4114 ... 0.4114 ... 0.4114 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1161 0.1161 0.1161 28.22% VisMF::Read() 3 0.06084 0.06084 0.06084 14.79% MLCellLinOp::applyBC() 1946 0.03371 0.03371 0.03371 8.19% VisMF::Write(FabArray) 1 0.02819 0.02819 0.02819 6.85% MLPoisson::Fsmooth() 1440 0.01398 0.01398 0.01398 3.40% FillBoundary_nowait() 1766 0.01304 0.01304 0.01304 3.17% StateData::FillBoundary(geom) 160 0.01263 0.01263 0.01263 3.07% StateDataPhysBCFunct::() 20 0.01117 0.01117 0.01117 2.71% amrex::Dot() 484 0.008772 0.008772 0.008772 2.13% Castro::normalize_species() 30 0.008396 0.008396 0.008396 2.04% amrex::Copy() 463 0.00722 0.00722 0.00722 1.76% FabArray::norminf() 326 0.006524 0.006524 0.006524 1.59% FabArray::setVal() 537 0.006488 0.006488 0.006488 1.58% FabArray::ParallelCopy_nowait() 380 0.005943 0.005943 0.005943 1.44% Castro::computeTemp() 30 0.005864 0.005864 0.005864 1.43% Gravity::fill_multipole_BCs() 6 0.005499 0.005499 0.005499 1.34% MLCellLinOp::defineAuxData() 6 0.005426 0.005426 0.005426 1.32% Castro::enforce_min_density() 30 0.005151 0.005151 0.005151 1.25% Amr::restart() 1 0.004853 0.004853 0.004853 1.18% MLPoisson::Fapply() 500 0.004508 0.004508 0.004508 1.10% FabArray::Saxpy() 355 0.003682 0.003682 0.003682 0.89% FabArray::Xpay() 361 0.003534 0.003534 0.003534 0.86% MLMG::addInterpCorrection() 180 0.003013 0.003013 0.003013 0.73% Castro::estTimeStep() 10 0.002822 0.002822 0.002822 0.69% amrex::average_down 180 0.002646 0.002646 0.002646 0.64% Amr::writePlotFile() 1 0.00231 0.00231 0.00231 0.56% Castro::reset_internal_energy(MultiFab) 30 0.002063 0.002063 0.002063 0.50% BndryData::define() 6 0.001974 0.001974 0.001974 0.48% FabArray::LinComb() 242 0.001942 0.001942 0.001942 0.47% Castro::enforce_speed_limit() 30 0.001926 0.001926 0.001926 0.47% amrex::Add() 72 0.001887 0.001887 0.001887 0.46% Castro::construct_new_gravity_source() 5 0.001789 0.001789 0.001789 0.43% Castro::construct_old_gravity_source() 5 0.001468 0.001468 0.001468 0.36% MLCGSolver::bicgstab 36 0.001008 0.001008 0.001008 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009322 0.0009322 0.0009322 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008577 0.0008577 0.0008577 0.21% MLCellLinOp::setLevelBC() 6 0.0008205 0.0008205 0.0008205 0.20% check_for_negative_density() 5 0.0008171 0.0008171 0.0008171 0.20% Castro::reset_internal_energy(Fab) 240 0.0007536 0.0007536 0.0007536 0.18% MLCellLinOp::prepareForSolve() 6 0.0007158 0.0007158 0.0007158 0.17% FabArray::mult() 22 0.0006766 0.0006766 0.0006766 0.16% FabArray::setDomainBndry() 20 0.000663 0.000663 0.000663 0.16% MultiFab::contains_nan() 10 0.000653 0.000653 0.000653 0.16% MLCellLinOp::compGrad() 6 0.0005823 0.0005823 0.0005823 0.14% MLMG::prepareForSolve() 6 0.000554 0.000554 0.000554 0.13% MLCellLinOp::smooth() 720 0.00055 0.00055 0.00055 0.13% Amr::InitAmr() 1 0.0004399 0.0004399 0.0004399 0.11% FabArrayBase::CPC::define() 244 0.0004248 0.0004248 0.0004248 0.10% FabArray::FillBoundary() 1766 0.0003671 0.0003671 0.0003671 0.09% FabArrayBase::getCPC() 632 0.0003583 0.0003583 0.0003583 0.09% Gravity::get_old_grav_vector() 5 0.0003238 0.0003238 0.0003238 0.08% main() 1 0.000301 0.000301 0.000301 0.07% FabArrayBase::getFB() 1766 0.0002754 0.0002754 0.0002754 0.07% Gravity::get_new_grav_vector() 5 0.0002712 0.0002712 0.0002712 0.07% AmrLevel::FillPatch() 20 0.0002123 0.0002123 0.0002123 0.05% MLCellLinOp::apply() 500 0.0002043 0.0002043 0.0002043 0.05% MultiFab::max() 6 0.0001992 0.0001992 0.0001992 0.05% Amr::coarseTimeStep() 5 0.0001882 0.0001882 0.0001882 0.05% MLCGSolver::ParallelAllReduce 659 0.0001344 0.0001344 0.0001344 0.03% MLCellLinOp::defineBC() 6 0.0001298 0.0001298 0.0001298 0.03% Castro::subcycle_advance_ctu() 5 0.0001281 0.0001281 0.0001281 0.03% FabArray::ParallelCopy() 380 0.0001133 0.0001133 0.0001133 0.03% Castro::create_source_corrector() 5 0.0001128 0.0001128 0.0001128 0.03% FillPatchIterator::Initialize 20 0.0001107 0.0001107 0.0001107 0.03% MLCellLinOp::correctionResidual() 216 9.943e-05 9.943e-05 9.943e-05 0.02% Amr::timeStep() 5 9.176e-05 9.176e-05 9.176e-05 0.02% MLLinOp::defineGrids() 6 9.154e-05 9.154e-05 9.154e-05 0.02% MLMG::mgVcycle() 36 8.815e-05 8.815e-05 8.815e-05 0.02% Gravity::solve_for_phi() 5 8.275e-05 8.275e-05 8.275e-05 0.02% AmrLevel::restart() 1 8.021e-05 8.021e-05 8.021e-05 0.02% Castro::construct_new_source() 25 7.75e-05 7.75e-05 7.75e-05 0.02% Castro::finalize_do_advance() 5 7.472e-05 7.472e-05 7.472e-05 0.02% StateData::restartDoit() 4 7.149e-05 7.149e-05 7.149e-05 0.02% Castro::initialize_do_advance() 5 6.469e-05 6.469e-05 6.469e-05 0.02% Gravity::update_max_rhs() 6 6.446e-05 6.446e-05 6.446e-05 0.02% FabArrayBase::FB::FB() 26 5.992e-05 5.992e-05 5.992e-05 0.01% Castro::initialize_advance() 5 5.809e-05 5.809e-05 5.809e-05 0.01% Castro::advance() 5 5.543e-05 5.543e-05 5.543e-05 0.01% MLMG:computeResOfCorrection() 180 4.643e-05 4.643e-05 4.643e-05 0.01% Castro::finalize_advance() 5 4.404e-05 4.404e-05 4.404e-05 0.01% Castro::do_advance_ctu() 5 4.329e-05 4.329e-05 4.329e-05 0.01% MLMG::actualBottomSolve() 36 4.206e-05 4.206e-05 4.206e-05 0.01% MLMG::mgVcycle_down::1 36 3.932e-05 3.932e-05 3.932e-05 0.01% FillPatchIterator::FillFromLevel0() 20 3.898e-05 3.898e-05 3.898e-05 0.01% MLMG::mgVcycle_down::0 36 3.818e-05 3.818e-05 3.818e-05 0.01% MLMG::mgVcycle_down::3 36 3.521e-05 3.521e-05 3.521e-05 0.01% MLMG::solve() 6 3.483e-05 3.483e-05 3.483e-05 0.01% Castro::clean_state() 30 3.451e-05 3.451e-05 3.451e-05 0.01% Castro::do_new_sources() 5 3.438e-05 3.438e-05 3.438e-05 0.01% MLMG::mgVcycle_down::2 36 3.352e-05 3.352e-05 3.352e-05 0.01% MLMG::mgVcycle_down::4 36 3.223e-05 3.223e-05 3.223e-05 0.01% Castro::post_restart() 1 3.126e-05 3.126e-05 3.126e-05 0.01% Amr::writeSmallPlotFile() 1 3.019e-05 3.019e-05 3.019e-05 0.01% Castro::buildMetrics() 1 2.822e-05 2.822e-05 2.822e-05 0.01% Castro::construct_old_source() 25 2.714e-05 2.714e-05 2.714e-05 0.01% MLMG::mgVcycle_up::4 36 2.633e-05 2.633e-05 2.633e-05 0.01% Castro::swap_state_time_levels() 5 2.581e-05 2.581e-05 2.581e-05 0.01% Castro::initMFs() 1 2.501e-05 2.501e-05 2.501e-05 0.01% MLCellLinOp::solutionResidual() 42 2.319e-05 2.319e-05 2.319e-05 0.01% MLMG::oneIter() 36 2.302e-05 2.302e-05 2.302e-05 0.01% FillPatchSingleLevel 20 2.1e-05 2.1e-05 2.1e-05 0.01% MLMG::mgVcycle_up::0 36 2.019e-05 2.019e-05 2.019e-05 0.00% MLMG::mgVcycle_up::3 36 2.009e-05 2.009e-05 2.009e-05 0.00% MLMG::mgVcycle_up::2 36 1.945e-05 1.945e-05 1.945e-05 0.00% MLMG::ResNormInf() 42 1.843e-05 1.843e-05 1.843e-05 0.00% MLMG::mgVcycle_up::1 36 1.8e-05 1.8e-05 1.8e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.637e-05 1.637e-05 1.637e-05 0.00% MLMG::mgVcycle_bottom 36 1.497e-05 1.497e-05 1.497e-05 0.00% Castro::construct_new_gravity() 5 1.488e-05 1.488e-05 1.488e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.441e-05 1.441e-05 1.441e-05 0.00% MLMG::computeResidual() 36 1.41e-05 1.41e-05 1.41e-05 0.00% MLPoisson::define() 6 1.364e-05 1.364e-05 1.364e-05 0.00% makeSFC 30 1.321e-05 1.321e-05 1.321e-05 0.00% Castro::do_old_sources() 5 1.153e-05 1.153e-05 1.153e-05 0.00% Amr::initSubcycle() 1 1.003e-05 1.003e-05 1.003e-05 0.00% DistributionMapping::Distribute() 31 9.328e-06 9.328e-06 9.328e-06 0.00% MLPoisson::prepareForSolve() 6 8.983e-06 8.983e-06 8.983e-06 0.00% MLMG::computeMLResidual() 6 8.912e-06 8.912e-06 8.912e-06 0.00% Gravity::actual_multilevel_solve() 1 8.547e-06 8.547e-06 8.547e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.386e-06 7.386e-06 7.386e-06 0.00% Castro::post_timestep() 5 7.017e-06 7.017e-06 7.017e-06 0.00% Castro::check_for_nan() 10 6.735e-06 6.735e-06 6.735e-06 0.00% Castro::construct_old_gravity() 5 6.411e-06 6.411e-06 6.411e-06 0.00% Castro::apply_source_to_state() 10 5.981e-06 5.981e-06 5.981e-06 0.00% MLLinOp::define() 6 5.84e-06 5.84e-06 5.84e-06 0.00% Gravity::set_mass_offset() 6 5.21e-06 5.21e-06 5.21e-06 0.00% Gravity::swapTimeLevels() 5 4.374e-06 4.374e-06 4.374e-06 0.00% Castro::retry_advance_ctu() 5 3.541e-06 3.541e-06 3.541e-06 0.00% MLMG::getGradSolution() 6 3.215e-06 3.215e-06 3.215e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.075e-06 3.075e-06 3.075e-06 0.00% Castro::computeNewDt() 5 2.896e-06 2.896e-06 2.896e-06 0.00% Castro::expand_state() 5 2.807e-06 2.807e-06 2.807e-06 0.00% MLMG::MLResNormInf() 6 2.538e-06 2.538e-06 2.538e-06 0.00% MLMG::MLRhsNormInf() 6 2.118e-06 2.118e-06 2.118e-06 0.00% Castro::FluxRegCrseInit 5 1.684e-06 1.684e-06 1.684e-06 0.00% Castro::FluxRegFineAdd() 5 1.282e-06 1.282e-06 1.282e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.108e-06 1.108e-06 1.108e-06 0.00% Amr::init() 1 1.073e-06 1.073e-06 1.073e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4114 0.4114 0.4114 100.00% Amr::coarseTimeStep() 5 0.3074 0.3074 0.3074 74.72% Amr::timeStep() 5 0.3054 0.3054 0.3054 74.24% Castro::advance() 5 0.2996 0.2996 0.2996 72.84% Castro::subcycle_advance_ctu() 5 0.2925 0.2925 0.2925 71.11% Castro::do_advance_ctu() 5 0.2924 0.2924 0.2924 71.08% Castro::construct_new_gravity() 5 0.1379 0.1379 0.1379 33.52% Gravity::solve_phi_with_mlmg() 6 0.1291 0.1291 0.1291 31.38% Gravity::solve_for_phi() 5 0.1235 0.1235 0.1235 30.02% Gravity::actual_solve_with_mlmg() 6 0.1233 0.1233 0.1233 29.98% Castro::construct_ctu_hydro_source() 5 0.1209 0.1209 0.1209 29.39% MLMG::solve() 6 0.1118 0.1118 0.1118 27.18% MLMG::oneIter() 36 0.1045 0.1045 0.1045 25.40% MLMG::mgVcycle() 36 0.1029 0.1029 0.1029 25.02% Amr::init() 1 0.07244 0.07244 0.07244 17.61% Amr::restart() 1 0.07244 0.07244 0.07244 17.61% AmrLevel::restart() 1 0.06122 0.06122 0.06122 14.88% StateData::restartDoit() 4 0.06113 0.06113 0.06113 14.86% VisMF::Read() 3 0.06084 0.06084 0.06084 14.79% MLCellLinOp::smooth() 720 0.05048 0.05048 0.05048 12.27% MLCellLinOp::applyBC() 1946 0.04745 0.04745 0.04745 11.53% MLMG::mgVcycle_bottom 36 0.03204 0.03204 0.03204 7.79% MLMG::actualBottomSolve() 36 0.03202 0.03202 0.03202 7.78% MLCGSolver::bicgstab 36 0.03172 0.03172 0.03172 7.71% Amr::writePlotFile() 1 0.03076 0.03076 0.03076 7.48% AmrLevel::FillPatch() 20 0.02889 0.02889 0.02889 7.02% VisMF::Write(FabArray) 1 0.02819 0.02819 0.02819 6.85% FillPatchIterator::Initialize 20 0.02668 0.02668 0.02668 6.49% FillPatchIterator::FillFromLevel0() 20 0.0259 0.0259 0.0259 6.30% FillPatchSingleLevel 20 0.02587 0.02587 0.02587 6.29% Castro::clean_state() 30 0.02419 0.02419 0.02419 5.88% StateDataPhysBCFunct::() 20 0.0238 0.0238 0.0238 5.79% MLCellLinOp::apply() 500 0.01594 0.01594 0.01594 3.88% MLMG::mgVcycle_down::0 36 0.01456 0.01456 0.01456 3.54% Gravity::get_new_grav_vector() 5 0.01427 0.01427 0.01427 3.47% MLPoisson::Fsmooth() 1440 0.01398 0.01398 0.01398 3.40% FabArray::FillBoundary() 1766 0.01374 0.01374 0.01374 3.34% FillBoundary_nowait() 1766 0.01337 0.01337 0.01337 3.25% StateData::FillBoundary(geom) 160 0.01263 0.01263 0.01263 3.07% MLMG::mgVcycle_up::0 36 0.01097 0.01097 0.01097 2.67% Castro::initialize_do_advance() 5 0.009644 0.009644 0.009644 2.34% MLCellLinOp::correctionResidual() 216 0.009582 0.009582 0.009582 2.33% MLPoisson::define() 6 0.008989 0.008989 0.008989 2.19% Castro::do_old_sources() 5 0.008785 0.008785 0.008785 2.14% amrex::Dot() 484 0.008772 0.008772 0.008772 2.13% Castro::computeTemp() 30 0.008681 0.008681 0.008681 2.11% MLMG:computeResOfCorrection() 180 0.008415 0.008415 0.008415 2.05% Castro::normalize_species() 30 0.008396 0.008396 0.008396 2.04% Castro::construct_old_gravity() 5 0.00744 0.00744 0.00744 1.81% Gravity::get_old_grav_vector() 5 0.007433 0.007433 0.007433 1.81% amrex::Copy() 463 0.00722 0.00722 0.00722 1.76% MLMG::mgVcycle_down::1 36 0.006944 0.006944 0.006944 1.69% Castro::initialize_advance() 5 0.006741 0.006741 0.006741 1.64% FabArray::norminf() 326 0.006524 0.006524 0.006524 1.59% FabArray::setVal() 537 0.006488 0.006488 0.006488 1.58% FabArray::ParallelCopy() 380 0.006453 0.006453 0.006453 1.57% MLMG::mgVcycle_down::2 36 0.006378 0.006378 0.006378 1.55% FabArray::ParallelCopy_nowait() 380 0.00634 0.00634 0.00634 1.54% MLMG::mgVcycle_down::3 36 0.006215 0.006215 0.006215 1.51% MLCellLinOp::defineAuxData() 6 0.006195 0.006195 0.006195 1.51% Castro::post_restart() 1 0.006194 0.006194 0.006194 1.51% MLMG::mgVcycle_down::4 36 0.006143 0.006143 0.006143 1.49% Castro::do_new_sources() 5 0.006099 0.006099 0.006099 1.48% Gravity::multilevel_solve_for_new_phi() 1 0.005823 0.005823 0.005823 1.42% Gravity::actual_multilevel_solve() 1 0.005807 0.005807 0.005807 1.41% Castro::expand_state() 5 0.005739 0.005739 0.005739 1.40% Castro::post_timestep() 5 0.005665 0.005665 0.005665 1.38% Gravity::fill_multipole_BCs() 6 0.005617 0.005617 0.005617 1.37% MLCGSolver::ParallelAllReduce 659 0.005312 0.005312 0.005312 1.29% MLMG::addInterpCorrection() 180 0.005204 0.005204 0.005204 1.27% Castro::enforce_min_density() 30 0.005151 0.005151 0.005151 1.25% MLMG::mgVcycle_up::4 36 0.005016 0.005016 0.005016 1.22% MLMG::mgVcycle_up::1 36 0.00496 0.00496 0.00496 1.21% amrex::average_down 180 0.004864 0.004864 0.004864 1.18% MLMG::mgVcycle_up::2 36 0.004864 0.004864 0.004864 1.18% MLMG::mgVcycle_up::3 36 0.004775 0.004775 0.004775 1.16% MLPoisson::Fapply() 500 0.004508 0.004508 0.004508 1.10% FabArray::Saxpy() 355 0.003682 0.003682 0.003682 0.89% FabArray::Xpay() 361 0.003534 0.003534 0.003534 0.86% MLCellLinOp::solutionResidual() 42 0.003452 0.003452 0.003452 0.84% Castro::estTimeStep() 10 0.002822 0.002822 0.002822 0.69% Castro::reset_internal_energy(MultiFab) 30 0.002817 0.002817 0.002817 0.68% MLMG::prepareForSolve() 6 0.002748 0.002748 0.002748 0.67% MLMG::computeResidual() 36 0.0027 0.0027 0.0027 0.66% MLCellLinOp::defineBC() 6 0.002654 0.002654 0.002654 0.65% BndryData::define() 6 0.002524 0.002524 0.002524 0.61% FabArray::LinComb() 242 0.001942 0.001942 0.001942 0.47% Castro::enforce_speed_limit() 30 0.001926 0.001926 0.001926 0.47% amrex::Add() 72 0.001887 0.001887 0.001887 0.46% Castro::construct_new_source() 25 0.001866 0.001866 0.001866 0.45% Castro::computeNewDt() 5 0.00179 0.00179 0.00179 0.44% Castro::construct_new_gravity_source() 5 0.001789 0.001789 0.001789 0.43% Castro::construct_old_source() 25 0.001495 0.001495 0.001495 0.36% Castro::construct_old_gravity_source() 5 0.001468 0.001468 0.001468 0.36% Castro::finalize_do_advance() 5 0.00111 0.00111 0.00111 0.27% Castro::apply_source_to_state() 10 0.0009585 0.0009585 0.0009585 0.23% MLMG::ResNormInf() 42 0.0009489 0.0009489 0.0009489 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009322 0.0009322 0.0009322 0.23% MLMG::getGradSolution() 6 0.0008555 0.0008555 0.0008555 0.21% MLCellLinOp::compGrad() 6 0.0008523 0.0008523 0.0008523 0.21% MLCellLinOp::setLevelBC() 6 0.0008205 0.0008205 0.0008205 0.20% check_for_negative_density() 5 0.0008171 0.0008171 0.0008171 0.20% FabArrayBase::getCPC() 632 0.0007831 0.0007831 0.0007831 0.19% MLMG::computeMLResidual() 6 0.0007751 0.0007751 0.0007751 0.19% Castro::reset_internal_energy(Fab) 240 0.0007536 0.0007536 0.0007536 0.18% MLPoisson::prepareForSolve() 6 0.0007248 0.0007248 0.0007248 0.18% MLCellLinOp::prepareForSolve() 6 0.0007158 0.0007158 0.0007158 0.17% Gravity::update_max_rhs() 6 0.0006956 0.0006956 0.0006956 0.17% FabArray::mult() 22 0.0006766 0.0006766 0.0006766 0.16% FabArray::setDomainBndry() 20 0.000663 0.000663 0.000663 0.16% Castro::check_for_nan() 10 0.0006597 0.0006597 0.0006597 0.16% MultiFab::contains_nan() 10 0.000653 0.000653 0.000653 0.16% Amr::InitAmr() 1 0.0004499 0.0004499 0.0004499 0.11% FabArrayBase::CPC::define() 244 0.0004248 0.0004248 0.0004248 0.10% FabArrayBase::getFB() 1766 0.0003354 0.0003354 0.0003354 0.08% Castro::finalize_advance() 5 0.0003083 0.0003083 0.0003083 0.07% Gravity::swapTimeLevels() 5 0.0002241 0.0002241 0.0002241 0.05% MultiFab::max() 6 0.0001992 0.0001992 0.0001992 0.05% MLMG::MLResNormInf() 6 0.0001868 0.0001868 0.0001868 0.05% Castro::buildMetrics() 1 0.000151 0.000151 0.000151 0.04% MLLinOp::define() 6 0.0001271 0.0001271 0.0001271 0.03% MLLinOp::defineGrids() 6 0.0001212 0.0001212 0.0001212 0.03% MLMG::MLRhsNormInf() 6 0.0001164 0.0001164 0.0001164 0.03% Castro::create_source_corrector() 5 0.0001128 0.0001128 0.0001128 0.03% FabArrayBase::FB::FB() 26 5.992e-05 5.992e-05 5.992e-05 0.01% Amr::writeSmallPlotFile() 1 3.019e-05 3.019e-05 3.019e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.858e-05 2.858e-05 2.858e-05 0.01% Castro::swap_state_time_levels() 5 2.581e-05 2.581e-05 2.581e-05 0.01% Castro::initMFs() 1 2.501e-05 2.501e-05 2.501e-05 0.01% makeSFC 30 2.12e-05 2.12e-05 2.12e-05 0.01% Amr::initSubcycle() 1 1.003e-05 1.003e-05 1.003e-05 0.00% DistributionMapping::Distribute() 31 9.328e-06 9.328e-06 9.328e-06 0.00% Gravity::set_mass_offset() 6 5.21e-06 5.21e-06 5.21e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.411e-06 4.411e-06 4.411e-06 0.00% Castro::retry_advance_ctu() 5 3.541e-06 3.541e-06 3.541e-06 0.00% Castro::FluxRegCrseInit 5 1.684e-06 1.684e-06 1.684e-06 0.00% Castro::FluxRegFineAdd() 5 1.282e-06 1.282e-06 1.282e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.108e-06 1.108e-06 1.108e-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 200 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 127 MiB 692 MiB Castro::initMFs() 48 48 56 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1240 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2021 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 6347 KiB 14 MiB MLMG::prepareForSolve() 361 361 3336 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 187 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 355 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6334 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3352 B 2048 KiB Gravity::solve_for_phi() 40 40 613 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 307 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 197 KiB 671 KiB Castro::estTimeStep() 10 10 3281 B 480 KiB VisMF::Write(FabArray) 112 112 2402 B 320 KiB Castro::normalize_species() 30 30 6627 B 320 KiB amrex::average_down 469 469 1138 B 257 KiB MLMG::addInterpCorrection() 468 468 1076 B 257 KiB amrex::Dot() 592 592 3141 B 160 KiB FabArray::norminf() 398 398 2348 B 160 KiB check_for_negative_density() 5 5 315 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3234 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 275 B 9648 B MLCellLinOp::applyBC() 3892 3892 208 B 9344 B amrex::Copy() 56 56 5578 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 345 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1207 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 188 KiB 3584 KiB VisMF::Read() 24 24 223 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3234 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 1946 1946 207 B 9328 B amrex::Copy() 56 56 5578 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2482 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 502 B 1296 B amrex::average_down 37 37 207 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 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): 2528 [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.10-22-gbe6c6415467d) finalized