Initializing AMReX (23.12-6-gedb4c25027ef)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-6-gedb4c25027ef) initialized Starting run at 08:49:41 UTC on 2023-12-07. Successfully read inputs file ... Castro git describe: 23.12-3-g8c346941c AMReX git describe: 23.12-6-gedb4c2502 Microphysics git describe: 23.12 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.051450444 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028732916 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.052591876 [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.048657618 [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.079727707 [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.080714488 [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.069167394 [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.050649523 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.06997989 [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.0756853 [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.073591198 [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.065670623 [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.073235237 [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.049462842 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.029441646 seconds Ending run at 08:49:42 UTC on 2023-12-07. Run time = 0.95181993 Run time without initialization = 0.819236869 Average number of zones advanced per microsecond: 3.200 Average number of zones advanced per microsecond per rank: 3.200 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9518 ... 0.9518 ... 0.9518 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3035 0.3035 0.3035 31.89% VisMF::Write(FabArray) 11 0.2009 0.2009 0.2009 21.11% MLCellLinOp::applyBC() 4379 0.07978 0.07978 0.07978 8.38% MLPoisson::Fsmooth() 3240 0.0332 0.0332 0.0332 3.49% FillBoundary_nowait() 3974 0.03083 0.03083 0.03083 3.24% StateData::FillBoundary(geom) 328 0.02726 0.02726 0.02726 2.86% amrex::Dot() 1100 0.02712 0.02712 0.02712 2.85% Castro::normalize_species() 62 0.0207 0.0207 0.0207 2.17% FabArray::norminf() 1048 0.01952 0.01952 0.01952 2.05% Castro::computeTemp() 63 0.01575 0.01575 0.01575 1.65% FabArray::setVal() 1135 0.01358 0.01358 0.01358 1.43% FabArray::ParallelCopy_nowait() 851 0.01358 0.01358 0.01358 1.43% FabArray::Saxpy() 1353 0.01291 0.01291 0.01291 1.36% Castro::enforce_min_density() 62 0.01081 0.01081 0.01081 1.14% amrex::Copy() 469 0.0108 0.0108 0.0108 1.13% MLPoisson::Fapply() 1128 0.0107 0.0107 0.0107 1.12% MLCellLinOp::defineAuxData() 11 0.01055 0.01055 0.01055 1.11% StateDataPhysBCFunct::() 41 0.0105 0.0105 0.0105 1.10% Gravity::fill_multipole_BCs() 11 0.009159 0.009159 0.009159 0.96% FabArray::Xpay() 811 0.008326 0.008326 0.008326 0.87% MLMG::addInterpCorrection() 405 0.00697 0.00697 0.00697 0.73% amrex::average_down 405 0.006159 0.006159 0.006159 0.65% Amr::checkPoint() 3 0.006015 0.006015 0.006015 0.63% Castro::estTimeStep() 21 0.005629 0.005629 0.005629 0.59% Castro::reset_internal_energy(MultiFab) 63 0.005154 0.005154 0.005154 0.54% amrex::Add() 162 0.004403 0.004403 0.004403 0.46% BndryData::define() 11 0.003894 0.003894 0.003894 0.41% Castro::construct_new_gravity_source() 10 0.003342 0.003342 0.003342 0.35% Castro::enforce_speed_limit() 62 0.003185 0.003185 0.003185 0.33% Castro::construct_old_gravity_source() 10 0.002873 0.002873 0.002873 0.30% Amr::writePlotFile() 2 0.002275 0.002275 0.002275 0.24% MLCGSolver::bicgstab 81 0.001845 0.001845 0.001845 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001788 0.001788 0.001788 0.19% check_for_negative_density() 10 0.001783 0.001783 0.001783 0.19% Castro::reset_internal_energy(Fab) 504 0.001703 0.001703 0.001703 0.18% Gravity::actual_solve_with_mlmg() 11 0.001629 0.001629 0.001629 0.17% MLCellLinOp::setLevelBC() 11 0.001539 0.001539 0.001539 0.16% Castro::initData() 1 0.001512 0.001512 0.001512 0.16% FabArray::mult() 43 0.001374 0.001374 0.001374 0.14% FabArray::setDomainBndry() 41 0.00137 0.00137 0.00137 0.14% MLCellLinOp::prepareForSolve() 11 0.001342 0.001342 0.001342 0.14% MultiFab::contains_nan() 20 0.001263 0.001263 0.001263 0.13% MLCellLinOp::smooth() 1620 0.001138 0.001138 0.001138 0.12% MLCellLinOp::compGrad() 11 0.001092 0.001092 0.001092 0.11% MLMG::prepareForSolve() 11 0.001015 0.001015 0.001015 0.11% FabArray::FillBoundary() 3974 0.0008794 0.0008794 0.0008794 0.09% FabArrayBase::getCPC() 1313 0.0007874 0.0007874 0.0007874 0.08% FabArrayBase::CPC::define() 454 0.0006853 0.0006853 0.0006853 0.07% FabArrayBase::getFB() 3974 0.0006621 0.0006621 0.0006621 0.07% Gravity::get_new_grav_vector() 11 0.000632 0.000632 0.000632 0.07% Amr::InitAmr() 1 0.0005345 0.0005345 0.0005345 0.06% Gravity::get_old_grav_vector() 10 0.0004832 0.0004832 0.0004832 0.05% MLCellLinOp::apply() 1128 0.0004635 0.0004635 0.0004635 0.05% AmrLevel::FillPatch() 41 0.0003778 0.0003778 0.0003778 0.04% Amr::coarseTimeStep() 10 0.0003665 0.0003665 0.0003665 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003539 0.0003539 0.0003539 0.04% MultiFab::max() 11 0.0003315 0.0003315 0.0003315 0.03% main() 1 0.000329 0.000329 0.000329 0.03% MLCellLinOp::defineBC() 11 0.0002614 0.0002614 0.0002614 0.03% FabArray::ParallelCopy() 851 0.0002379 0.0002379 0.0002379 0.02% FillPatchIterator::Initialize 41 0.0002273 0.0002273 0.0002273 0.02% MLCellLinOp::correctionResidual() 486 0.0002027 0.0002027 0.0002027 0.02% MLMG::mgVcycle() 81 0.0001923 0.0001923 0.0001923 0.02% Gravity::solve_for_phi() 10 0.0001792 0.0001792 0.0001792 0.02% Amr::timeStep() 10 0.000168 0.000168 0.000168 0.02% MLLinOp::defineGrids() 11 0.0001609 0.0001609 0.0001609 0.02% Castro::subcycle_advance_ctu() 10 0.0001534 0.0001534 0.0001534 0.02% Castro::create_source_corrector() 10 0.0001464 0.0001464 0.0001464 0.02% Gravity::update_max_rhs() 11 0.0001406 0.0001406 0.0001406 0.01% StateData::checkPoint() 12 0.0001405 0.0001405 0.0001405 0.01% MLMG:computeResOfCorrection() 405 0.0001115 0.0001115 0.0001115 0.01% MLMG::actualBottomSolve() 81 9.917e-05 9.917e-05 9.917e-05 0.01% MLMG::mgVcycle_down::0 81 9.688e-05 9.688e-05 9.688e-05 0.01% FabArrayBase::FB::FB() 56 9.393e-05 9.393e-05 9.393e-05 0.01% Castro::Castro() 1 9.328e-05 9.328e-05 9.328e-05 0.01% MLMG::solve() 11 8.83e-05 8.83e-05 8.83e-05 0.01% MLMG::mgVcycle_down::1 81 8.533e-05 8.533e-05 8.533e-05 0.01% AmrLevel::checkPoint() 3 8.485e-05 8.485e-05 8.485e-05 0.01% MLMG::mgVcycle_down::2 81 8.186e-05 8.186e-05 8.186e-05 0.01% Castro::do_new_sources() 10 7.904e-05 7.904e-05 7.904e-05 0.01% Castro::initialize_advance() 10 7.684e-05 7.684e-05 7.684e-05 0.01% MLMG::mgVcycle_down::3 81 7.677e-05 7.677e-05 7.677e-05 0.01% MLMG::mgVcycle_down::4 81 7.556e-05 7.556e-05 7.556e-05 0.01% Castro::clean_state() 62 7.405e-05 7.405e-05 7.405e-05 0.01% Castro::enforce_consistent_e() 1 7.3e-05 7.3e-05 7.3e-05 0.01% Castro::post_timestep() 10 7.243e-05 7.243e-05 7.243e-05 0.01% Castro::advance() 10 6.633e-05 6.633e-05 6.633e-05 0.01% Castro::finalize_advance() 10 6.342e-05 6.342e-05 6.342e-05 0.01% MLMG::mgVcycle_up::4 81 6.3e-05 6.3e-05 6.3e-05 0.01% Castro::initialize_do_advance() 10 6.265e-05 6.265e-05 6.265e-05 0.01% MLMG::mgVcycle_up::0 81 5.539e-05 5.539e-05 5.539e-05 0.01% MLMG::oneIter() 81 5.539e-05 5.539e-05 5.539e-05 0.01% MLMG::mgVcycle_up::3 81 5.176e-05 5.176e-05 5.176e-05 0.01% MLMG::mgVcycle_up::2 81 4.995e-05 4.995e-05 4.995e-05 0.01% MLCellLinOp::solutionResidual() 92 4.986e-05 4.986e-05 4.986e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.959e-05 4.959e-05 4.959e-05 0.01% MLMG::mgVcycle_up::1 81 4.958e-05 4.958e-05 4.958e-05 0.01% Castro::do_advance_ctu() 10 4.954e-05 4.954e-05 4.954e-05 0.01% StateData::define() 4 4.845e-05 4.845e-05 4.845e-05 0.01% Castro::finalize_do_advance() 10 4.491e-05 4.491e-05 4.491e-05 0.00% Castro::swap_state_time_levels() 10 4.138e-05 4.138e-05 4.138e-05 0.00% Castro::initMFs() 1 4.093e-05 4.093e-05 4.093e-05 0.00% MLMG::mgVcycle_bottom 81 3.837e-05 3.837e-05 3.837e-05 0.00% MLMG::ResNormInf() 92 3.834e-05 3.834e-05 3.834e-05 0.00% FillPatchSingleLevel 41 3.435e-05 3.435e-05 3.435e-05 0.00% Amr::writeSmallPlotFile() 1 3.251e-05 3.251e-05 3.251e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.221e-05 3.221e-05 3.221e-05 0.00% MLMG::computeResidual() 81 3.163e-05 3.163e-05 3.163e-05 0.00% Castro::construct_new_gravity() 10 2.945e-05 2.945e-05 2.945e-05 0.00% Amr::defBaseLevel() 1 2.797e-05 2.797e-05 2.797e-05 0.00% makeSFC 55 2.678e-05 2.678e-05 2.678e-05 0.00% Castro::buildMetrics() 1 2.631e-05 2.631e-05 2.631e-05 0.00% MLPoisson::define() 11 2.318e-05 2.318e-05 2.318e-05 0.00% Castro::do_old_sources() 10 2.236e-05 2.236e-05 2.236e-05 0.00% Amr::FinalizeInit() 1 2.164e-05 2.164e-05 2.164e-05 0.00% Castro::construct_old_source() 50 2.035e-05 2.035e-05 2.035e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.03e-05 2.03e-05 2.03e-05 0.00% Castro::construct_new_source() 50 1.898e-05 1.898e-05 1.898e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.88e-05 1.88e-05 1.88e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.501e-05 1.501e-05 1.501e-05 0.00% DistributionMapping::Distribute() 56 1.494e-05 1.494e-05 1.494e-05 0.00% MLPoisson::prepareForSolve() 11 1.485e-05 1.485e-05 1.485e-05 0.00% MLMG::computeMLResidual() 11 1.443e-05 1.443e-05 1.443e-05 0.00% Castro::check_for_nan() 20 1.303e-05 1.303e-05 1.303e-05 0.00% Castro::construct_old_gravity() 10 1.24e-05 1.24e-05 1.24e-05 0.00% Castro::post_init() 1 1.149e-05 1.149e-05 1.149e-05 0.00% Castro::apply_source_to_state() 20 1.074e-05 1.074e-05 1.074e-05 0.00% Amr::initSubcycle() 1 1.057e-05 1.057e-05 1.057e-05 0.00% MLLinOp::define() 11 1.016e-05 1.016e-05 1.016e-05 0.00% Gravity::swapTimeLevels() 10 8.465e-06 8.465e-06 8.465e-06 0.00% Gravity::actual_multilevel_solve() 1 8.425e-06 8.425e-06 8.425e-06 0.00% Castro::computeNewDt() 9 6.473e-06 6.473e-06 6.473e-06 0.00% MLMG::getGradSolution() 11 6.067e-06 6.067e-06 6.067e-06 0.00% Castro::expand_state() 10 5.688e-06 5.688e-06 5.688e-06 0.00% Amr::InitializeInit() 1 5.09e-06 5.09e-06 5.09e-06 0.00% Castro::retry_advance_ctu() 10 4.844e-06 4.844e-06 4.844e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.439e-06 4.439e-06 4.439e-06 0.00% AmrLevel::checkPointPost() 3 4.433e-06 4.433e-06 4.433e-06 0.00% MLMG::MLRhsNormInf() 11 4.147e-06 4.147e-06 4.147e-06 0.00% MLMG::MLResNormInf() 11 4.103e-06 4.103e-06 4.103e-06 0.00% Gravity::set_mass_offset() 11 4.068e-06 4.068e-06 4.068e-06 0.00% Castro::computeInitialDt() 2 3.129e-06 3.129e-06 3.129e-06 0.00% Castro::FluxRegCrseInit 10 2.937e-06 2.937e-06 2.937e-06 0.00% Amr::init() 1 2.722e-06 2.722e-06 2.722e-06 0.00% AmrLevel::checkPointPre() 3 2.525e-06 2.525e-06 2.525e-06 0.00% Castro::FluxRegFineAdd() 10 2.506e-06 2.506e-06 2.506e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.998e-06 1.998e-06 1.998e-06 0.00% Amr::initialInit() 1 1.419e-06 1.419e-06 1.419e-06 0.00% Castro::post_regrid() 1 1.288e-06 1.288e-06 1.288e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9518 0.9518 0.9518 100.00% Amr::coarseTimeStep() 10 0.7896 0.7896 0.7896 82.95% Amr::timeStep() 10 0.6857 0.6857 0.6857 72.04% Castro::advance() 10 0.6741 0.6741 0.6741 70.82% Castro::subcycle_advance_ctu() 10 0.6599 0.6599 0.6599 69.32% Castro::do_advance_ctu() 10 0.6597 0.6597 0.6597 69.31% Castro::construct_ctu_hydro_source() 10 0.3143 0.3143 0.3143 33.02% Gravity::solve_phi_with_mlmg() 11 0.3006 0.3006 0.3006 31.58% Gravity::actual_solve_with_mlmg() 11 0.2909 0.2909 0.2909 30.57% Castro::construct_new_gravity() 10 0.2744 0.2744 0.2744 28.82% MLMG::solve() 11 0.2688 0.2688 0.2688 28.24% Gravity::solve_for_phi() 10 0.2584 0.2584 0.2584 27.14% MLMG::oneIter() 81 0.2535 0.2535 0.2535 26.64% MLMG::mgVcycle() 81 0.2499 0.2499 0.2499 26.25% VisMF::Write(FabArray) 11 0.2009 0.2009 0.2009 21.11% Amr::checkPoint() 3 0.1517 0.1517 0.1517 15.94% AmrLevel::checkPoint() 3 0.1457 0.1457 0.1457 15.30% StateData::checkPoint() 12 0.1456 0.1456 0.1456 15.29% Amr::init() 1 0.1319 0.1319 0.1319 13.85% MLCellLinOp::smooth() 1620 0.1197 0.1197 0.1197 12.58% MLCellLinOp::applyBC() 4379 0.1123 0.1123 0.1123 11.79% MLMG::mgVcycle_bottom 81 0.08187 0.08187 0.08187 8.60% MLMG::actualBottomSolve() 81 0.08183 0.08183 0.08183 8.60% MLCGSolver::bicgstab 81 0.0811 0.0811 0.0811 8.52% Amr::writePlotFile() 2 0.0583 0.0583 0.0583 6.12% Castro::clean_state() 62 0.05645 0.05645 0.05645 5.93% Amr::initialInit() 1 0.05158 0.05158 0.05158 5.42% AmrLevel::FillPatch() 41 0.04772 0.04772 0.04772 5.01% Amr::FinalizeInit() 1 0.04656 0.04656 0.04656 4.89% Castro::post_init() 1 0.04511 0.04511 0.04511 4.74% FillPatchIterator::Initialize 41 0.04348 0.04348 0.04348 4.57% Gravity::multilevel_solve_for_new_phi() 1 0.04272 0.04272 0.04272 4.49% Gravity::actual_multilevel_solve() 1 0.04271 0.04271 0.04271 4.49% FillPatchIterator::FillFromLevel0() 41 0.04188 0.04188 0.04188 4.40% FillPatchSingleLevel 41 0.04183 0.04183 0.04183 4.40% StateDataPhysBCFunct::() 41 0.03776 0.03776 0.03776 3.97% MLCellLinOp::apply() 1128 0.03751 0.03751 0.03751 3.94% MLMG::mgVcycle_down::0 81 0.03419 0.03419 0.03419 3.59% MLPoisson::Fsmooth() 3240 0.0332 0.0332 0.0332 3.49% FabArray::FillBoundary() 3974 0.03247 0.03247 0.03247 3.41% FillBoundary_nowait() 3974 0.03159 0.03159 0.03159 3.32% StateData::FillBoundary(geom) 328 0.02726 0.02726 0.02726 2.86% amrex::Dot() 1100 0.02712 0.02712 0.02712 2.85% MLMG::mgVcycle_up::0 81 0.02588 0.02588 0.02588 2.72% MLCellLinOp::correctionResidual() 486 0.02276 0.02276 0.02276 2.39% Castro::computeTemp() 63 0.0226 0.0226 0.0226 2.37% Castro::normalize_species() 62 0.0207 0.0207 0.0207 2.17% Castro::initialize_do_advance() 10 0.02036 0.02036 0.02036 2.14% MLMG:computeResOfCorrection() 405 0.02 0.02 0.02 2.10% FabArray::norminf() 1048 0.01952 0.01952 0.01952 2.05% MLCGSolver::ParallelAllReduce 1809 0.01875 0.01875 0.01875 1.97% Castro::do_old_sources() 10 0.01856 0.01856 0.01856 1.95% Gravity::get_new_grav_vector() 11 0.01792 0.01792 0.01792 1.88% MLPoisson::define() 11 0.01741 0.01741 0.01741 1.83% MLMG::mgVcycle_down::1 81 0.0164 0.0164 0.0164 1.72% Castro::construct_old_gravity() 10 0.01535 0.01535 0.01535 1.61% Gravity::get_old_grav_vector() 10 0.01534 0.01534 0.01534 1.61% MLMG::mgVcycle_down::2 81 0.0152 0.0152 0.0152 1.60% MLMG::mgVcycle_down::3 81 0.01485 0.01485 0.01485 1.56% MLMG::mgVcycle_down::4 81 0.01465 0.01465 0.01465 1.54% FabArray::ParallelCopy() 851 0.01463 0.01463 0.01463 1.54% FabArray::ParallelCopy_nowait() 851 0.01439 0.01439 0.01439 1.51% Castro::do_new_sources() 10 0.01364 0.01364 0.01364 1.43% FabArray::setVal() 1135 0.01358 0.01358 0.01358 1.43% Castro::initialize_advance() 10 0.01358 0.01358 0.01358 1.43% FabArray::Saxpy() 1353 0.01291 0.01291 0.01291 1.36% MLMG::addInterpCorrection() 405 0.01225 0.01225 0.01225 1.29% MLCellLinOp::defineAuxData() 11 0.01199 0.01199 0.01199 1.26% MLMG::mgVcycle_up::1 81 0.01185 0.01185 0.01185 1.24% MLMG::mgVcycle_up::4 81 0.01182 0.01182 0.01182 1.24% Castro::expand_state() 10 0.0117 0.0117 0.0117 1.23% MLMG::mgVcycle_up::2 81 0.01163 0.01163 0.01163 1.22% amrex::average_down 405 0.01148 0.01148 0.01148 1.21% Castro::post_timestep() 10 0.01146 0.01146 0.01146 1.20% MLMG::mgVcycle_up::3 81 0.01137 0.01137 0.01137 1.19% Castro::enforce_min_density() 62 0.01081 0.01081 0.01081 1.14% amrex::Copy() 469 0.0108 0.0108 0.0108 1.13% MLPoisson::Fapply() 1128 0.0107 0.0107 0.0107 1.12% Gravity::fill_multipole_BCs() 11 0.009395 0.009395 0.009395 0.99% FabArray::Xpay() 811 0.008326 0.008326 0.008326 0.87% MLCellLinOp::solutionResidual() 92 0.007537 0.007537 0.007537 0.79% Castro::reset_internal_energy(MultiFab) 63 0.006857 0.006857 0.006857 0.72% MLMG::computeResidual() 81 0.006257 0.006257 0.006257 0.66% Castro::estTimeStep() 21 0.005629 0.005629 0.005629 0.59% MLMG::prepareForSolve() 11 0.00519 0.00519 0.00519 0.55% MLCellLinOp::defineBC() 11 0.005166 0.005166 0.005166 0.54% Amr::InitializeInit() 1 0.005011 0.005011 0.005011 0.53% Amr::defBaseLevel() 1 0.005006 0.005006 0.005006 0.53% BndryData::define() 11 0.004904 0.004904 0.004904 0.52% amrex::Add() 162 0.004403 0.004403 0.004403 0.46% Castro::initData() 1 0.004308 0.004308 0.004308 0.45% Castro::construct_new_source() 50 0.003361 0.003361 0.003361 0.35% Castro::construct_new_gravity_source() 10 0.003342 0.003342 0.003342 0.35% Castro::enforce_speed_limit() 62 0.003185 0.003185 0.003185 0.33% Castro::construct_old_source() 50 0.002893 0.002893 0.002893 0.30% Castro::construct_old_gravity_source() 10 0.002873 0.002873 0.002873 0.30% Castro::computeNewDt() 9 0.002428 0.002428 0.002428 0.26% MLMG::ResNormInf() 92 0.00216 0.00216 0.00216 0.23% Castro::finalize_do_advance() 10 0.002124 0.002124 0.002124 0.22% Castro::apply_source_to_state() 20 0.001869 0.001869 0.001869 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001788 0.001788 0.001788 0.19% check_for_negative_density() 10 0.001783 0.001783 0.001783 0.19% Castro::reset_internal_energy(Fab) 504 0.001703 0.001703 0.001703 0.18% MLMG::getGradSolution() 11 0.001593 0.001593 0.001593 0.17% MLCellLinOp::compGrad() 11 0.001587 0.001587 0.001587 0.17% MLCellLinOp::setLevelBC() 11 0.001539 0.001539 0.001539 0.16% FabArrayBase::getCPC() 1313 0.001473 0.001473 0.001473 0.15% FabArray::mult() 43 0.001374 0.001374 0.001374 0.14% FabArray::setDomainBndry() 41 0.00137 0.00137 0.00137 0.14% MLPoisson::prepareForSolve() 11 0.001357 0.001357 0.001357 0.14% MLCellLinOp::prepareForSolve() 11 0.001342 0.001342 0.001342 0.14% MLMG::computeMLResidual() 11 0.001326 0.001326 0.001326 0.14% Castro::check_for_nan() 20 0.001276 0.001276 0.001276 0.13% MultiFab::contains_nan() 20 0.001263 0.001263 0.001263 0.13% Castro::post_regrid() 1 0.001143 0.001143 0.001143 0.12% Castro::computeInitialDt() 2 0.001132 0.001132 0.001132 0.12% Gravity::update_max_rhs() 11 0.001018 0.001018 0.001018 0.11% FabArrayBase::getFB() 3974 0.0007561 0.0007561 0.0007561 0.08% FabArrayBase::CPC::define() 454 0.0006853 0.0006853 0.0006853 0.07% Castro::finalize_advance() 10 0.0005983 0.0005983 0.0005983 0.06% Castro::Castro() 1 0.0005956 0.0005956 0.0005956 0.06% Amr::InitAmr() 1 0.0005451 0.0005451 0.0005451 0.06% Gravity::swapTimeLevels() 10 0.0004458 0.0004458 0.0004458 0.05% MLMG::MLResNormInf() 11 0.0003327 0.0003327 0.0003327 0.03% MultiFab::max() 11 0.0003315 0.0003315 0.0003315 0.03% Castro::buildMetrics() 1 0.0002879 0.0002879 0.0002879 0.03% MLLinOp::define() 11 0.0002286 0.0002286 0.0002286 0.02% MLMG::MLRhsNormInf() 11 0.0002242 0.0002242 0.0002242 0.02% MLLinOp::defineGrids() 11 0.0002184 0.0002184 0.0002184 0.02% Castro::create_source_corrector() 10 0.0001464 0.0001464 0.0001464 0.02% FabArrayBase::FB::FB() 56 9.393e-05 9.393e-05 9.393e-05 0.01% Castro::enforce_consistent_e() 1 7.3e-05 7.3e-05 7.3e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.874e-05 6.874e-05 6.874e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.554e-05 5.554e-05 5.554e-05 0.01% StateData::define() 4 4.845e-05 4.845e-05 4.845e-05 0.01% Castro::swap_state_time_levels() 10 4.138e-05 4.138e-05 4.138e-05 0.00% Castro::initMFs() 1 4.093e-05 4.093e-05 4.093e-05 0.00% makeSFC 55 4.053e-05 4.053e-05 4.053e-05 0.00% Amr::writeSmallPlotFile() 1 3.251e-05 3.251e-05 3.251e-05 0.00% DistributionMapping::Distribute() 56 1.494e-05 1.494e-05 1.494e-05 0.00% Amr::initSubcycle() 1 1.057e-05 1.057e-05 1.057e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.632e-06 5.632e-06 5.632e-06 0.00% Castro::retry_advance_ctu() 10 4.844e-06 4.844e-06 4.844e-06 0.00% AmrLevel::checkPointPost() 3 4.433e-06 4.433e-06 4.433e-06 0.00% Gravity::set_mass_offset() 11 4.068e-06 4.068e-06 4.068e-06 0.00% Castro::FluxRegCrseInit 10 2.937e-06 2.937e-06 2.937e-06 0.00% AmrLevel::checkPointPre() 3 2.525e-06 2.525e-06 2.525e-06 0.00% Castro::FluxRegFineAdd() 10 2.506e-06 2.506e-06 2.506e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.998e-06 1.998e-06 1.998e-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 142 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 148 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 971 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1715 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3473 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 195 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 165 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2058 B 2048 KiB Gravity::solve_for_phi() 80 80 555 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 317 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 202 KiB 671 KiB Castro::estTimeStep() 21 21 2883 B 480 KiB VisMF::Write(FabArray) 656 656 3254 B 320 KiB Castro::normalize_species() 62 62 7084 B 320 KiB amrex::average_down 1054 1054 1208 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1083 B 257 KiB amrex::Dot() 1343 1343 4299 B 160 KiB FabArray::norminf() 1129 1129 3161 B 160 KiB check_for_negative_density() 10 10 295 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3392 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 284 B 9648 B MLCellLinOp::applyBC() 8758 8758 210 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3942 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 486 486 108 B 1280 B MLCellLinOp::defineBC() 66 66 357 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 580 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 480 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3392 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 284 B 9648 B MLCellLinOp::applyBC() 4379 4379 208 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3942 B 6144 B Gravity::get_new_grav_vector() 3 3 2907 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 38 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 271 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 289 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 26 B 400 B FabArray::norminf() 1129 1129 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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.12-6-gedb4c25027ef) finalized Initializing AMReX (23.12-6-gedb4c25027ef)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-6-gedb4c25027ef) initialized Starting run at 08:49:43 UTC on 2023-12-07. Successfully read inputs file ... Castro git describe: 23.12-3-g8c346941c AMReX git describe: 23.12-6-gedb4c2502 Microphysics git describe: 23.12 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.514083058 Restart time = 0.072840296 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.054246166 [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.049266711 [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.063527647 [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.083062875 [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.071493153 [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.037574687 seconds Ending run at 08:49:43 UTC on 2023-12-07. Run time = 0.433211055 Run time without initialization = 0.359736693 Average number of zones advanced per microsecond: 3.644 Average number of zones advanced per microsecond per rank: 3.644 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4332 ... 0.4332 ... 0.4332 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1288 0.1288 0.1288 29.73% VisMF::Read() 3 0.06102 0.06102 0.06102 14.09% VisMF::Write(FabArray) 1 0.03601 0.03601 0.03601 8.31% MLCellLinOp::applyBC() 1946 0.03474 0.03474 0.03474 8.02% MLPoisson::Fsmooth() 1440 0.01434 0.01434 0.01434 3.31% StateData::FillBoundary(geom) 160 0.01317 0.01317 0.01317 3.04% FillBoundary_nowait() 1766 0.01281 0.01281 0.01281 2.96% Castro::normalize_species() 30 0.009364 0.009364 0.009364 2.16% amrex::Dot() 484 0.009032 0.009032 0.009032 2.08% FabArray::norminf() 465 0.008799 0.008799 0.008799 2.03% Castro::computeTemp() 30 0.007177 0.007177 0.007177 1.66% FabArray::setVal() 537 0.006585 0.006585 0.006585 1.52% Castro::enforce_min_density() 30 0.006149 0.006149 0.006149 1.42% FabArray::ParallelCopy_nowait() 380 0.006093 0.006093 0.006093 1.41% FabArray::Saxpy() 597 0.005674 0.005674 0.005674 1.31% MLCellLinOp::defineAuxData() 6 0.005666 0.005666 0.005666 1.31% Gravity::fill_multipole_BCs() 6 0.00561 0.00561 0.00561 1.29% amrex::Copy() 221 0.005337 0.005337 0.005337 1.23% Amr::restart() 1 0.005032 0.005032 0.005032 1.16% StateDataPhysBCFunct::() 20 0.00478 0.00478 0.00478 1.10% MLPoisson::Fapply() 500 0.00465 0.00465 0.00465 1.07% FabArray::Xpay() 361 0.003658 0.003658 0.003658 0.84% Castro::estTimeStep() 10 0.003313 0.003313 0.003313 0.76% MLMG::addInterpCorrection() 180 0.003064 0.003064 0.003064 0.71% amrex::average_down 180 0.002728 0.002728 0.002728 0.63% Castro::enforce_speed_limit() 30 0.002571 0.002571 0.002571 0.59% Castro::reset_internal_energy(MultiFab) 30 0.002171 0.002171 0.002171 0.50% BndryData::define() 6 0.00209 0.00209 0.00209 0.48% amrex::Add() 72 0.001884 0.001884 0.001884 0.43% Castro::construct_new_gravity_source() 5 0.001773 0.001773 0.001773 0.41% Castro::construct_old_gravity_source() 5 0.001521 0.001521 0.001521 0.35% Amr::writePlotFile() 1 0.00139 0.00139 0.00139 0.32% check_for_negative_density() 5 0.00102 0.00102 0.00102 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009582 0.0009582 0.0009582 0.22% Gravity::actual_solve_with_mlmg() 6 0.0008486 0.0008486 0.0008486 0.20% MLCellLinOp::setLevelBC() 6 0.0008287 0.0008287 0.0008287 0.19% MLCGSolver::bicgstab 36 0.0008098 0.0008098 0.0008098 0.19% Castro::reset_internal_energy(Fab) 240 0.0008083 0.0008083 0.0008083 0.19% MLCellLinOp::prepareForSolve() 6 0.0007422 0.0007422 0.0007422 0.17% FabArray::mult() 22 0.000688 0.000688 0.000688 0.16% FabArray::setDomainBndry() 20 0.0006827 0.0006827 0.0006827 0.16% MultiFab::contains_nan() 10 0.0006504 0.0006504 0.0006504 0.15% MLCellLinOp::compGrad() 6 0.0005784 0.0005784 0.0005784 0.13% MLMG::prepareForSolve() 6 0.0005468 0.0005468 0.0005468 0.13% MLCellLinOp::smooth() 720 0.0005147 0.0005147 0.0005147 0.12% Amr::InitAmr() 1 0.0004446 0.0004446 0.0004446 0.10% FabArrayBase::CPC::define() 244 0.000425 0.000425 0.000425 0.10% FabArray::FillBoundary() 1766 0.0003882 0.0003882 0.0003882 0.09% main() 1 0.0003752 0.0003752 0.0003752 0.09% FabArrayBase::getCPC() 632 0.0003663 0.0003663 0.0003663 0.08% Gravity::get_old_grav_vector() 5 0.000323 0.000323 0.000323 0.07% FabArrayBase::getFB() 1766 0.0002892 0.0002892 0.0002892 0.07% Gravity::get_new_grav_vector() 5 0.0002609 0.0002609 0.0002609 0.06% Amr::coarseTimeStep() 5 0.0002158 0.0002158 0.0002158 0.05% MLCellLinOp::apply() 500 0.0002046 0.0002046 0.0002046 0.05% MultiFab::max() 6 0.000203 0.000203 0.000203 0.05% AmrLevel::FillPatch() 20 0.000188 0.000188 0.000188 0.04% Castro::subcycle_advance_ctu() 5 0.0001539 0.0001539 0.0001539 0.04% MLCGSolver::ParallelAllReduce 798 0.0001452 0.0001452 0.0001452 0.03% MLCellLinOp::defineBC() 6 0.0001348 0.0001348 0.0001348 0.03% FabArray::ParallelCopy() 380 0.0001072 0.0001072 0.0001072 0.02% FillPatchIterator::Initialize 20 0.0001054 0.0001054 0.0001054 0.02% Castro::create_source_corrector() 5 9.744e-05 9.744e-05 9.744e-05 0.02% MLCellLinOp::correctionResidual() 216 8.853e-05 8.853e-05 8.853e-05 0.02% MLMG::mgVcycle() 36 8.792e-05 8.792e-05 8.792e-05 0.02% MLLinOp::defineGrids() 6 8.629e-05 8.629e-05 8.629e-05 0.02% Amr::timeStep() 5 8.512e-05 8.512e-05 8.512e-05 0.02% StateData::restartDoit() 4 8.409e-05 8.409e-05 8.409e-05 0.02% AmrLevel::restart() 1 8.328e-05 8.328e-05 8.328e-05 0.02% Castro::advance() 5 7.913e-05 7.913e-05 7.913e-05 0.02% Gravity::solve_for_phi() 5 7.708e-05 7.708e-05 7.708e-05 0.02% Castro::finalize_do_advance() 5 6.642e-05 6.642e-05 6.642e-05 0.02% Gravity::update_max_rhs() 6 6.541e-05 6.541e-05 6.541e-05 0.02% Castro::initialize_do_advance() 5 6.474e-05 6.474e-05 6.474e-05 0.01% FabArrayBase::FB::FB() 26 6.227e-05 6.227e-05 6.227e-05 0.01% Castro::initialize_advance() 5 5.786e-05 5.786e-05 5.786e-05 0.01% MLMG:computeResOfCorrection() 180 5.16e-05 5.16e-05 5.16e-05 0.01% MLMG::mgVcycle_down::0 36 4.793e-05 4.793e-05 4.793e-05 0.01% Castro::construct_new_source() 25 4.431e-05 4.431e-05 4.431e-05 0.01% Castro::do_advance_ctu() 5 4.412e-05 4.412e-05 4.412e-05 0.01% MLMG::actualBottomSolve() 36 4.216e-05 4.216e-05 4.216e-05 0.01% MLMG::mgVcycle_down::1 36 3.811e-05 3.811e-05 3.811e-05 0.01% Amr::writeSmallPlotFile() 1 3.678e-05 3.678e-05 3.678e-05 0.01% MLMG::solve() 6 3.66e-05 3.66e-05 3.66e-05 0.01% MLMG::mgVcycle_down::2 36 3.557e-05 3.557e-05 3.557e-05 0.01% MLMG::mgVcycle_down::4 36 3.384e-05 3.384e-05 3.384e-05 0.01% Castro::clean_state() 30 3.31e-05 3.31e-05 3.31e-05 0.01% MLMG::mgVcycle_down::3 36 3.296e-05 3.296e-05 3.296e-05 0.01% Castro::post_restart() 1 3.128e-05 3.128e-05 3.128e-05 0.01% Castro::finalize_advance() 5 3.08e-05 3.08e-05 3.08e-05 0.01% MLMG::mgVcycle_up::4 36 2.92e-05 2.92e-05 2.92e-05 0.01% Castro::construct_old_source() 25 2.814e-05 2.814e-05 2.814e-05 0.01% Castro::do_new_sources() 5 2.801e-05 2.801e-05 2.801e-05 0.01% Castro::buildMetrics() 1 2.798e-05 2.798e-05 2.798e-05 0.01% Castro::initMFs() 1 2.55e-05 2.55e-05 2.55e-05 0.01% Castro::swap_state_time_levels() 5 2.521e-05 2.521e-05 2.521e-05 0.01% MLMG::mgVcycle_up::0 36 2.445e-05 2.445e-05 2.445e-05 0.01% MLMG::oneIter() 36 2.437e-05 2.437e-05 2.437e-05 0.01% MLMG::mgVcycle_up::3 36 2.313e-05 2.313e-05 2.313e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.273e-05 2.273e-05 2.273e-05 0.01% MLCellLinOp::solutionResidual() 42 2.212e-05 2.212e-05 2.212e-05 0.01% MLMG::mgVcycle_up::2 36 2.211e-05 2.211e-05 2.211e-05 0.01% MLMG::mgVcycle_up::1 36 2.086e-05 2.086e-05 2.086e-05 0.00% MLMG::ResNormInf() 42 1.913e-05 1.913e-05 1.913e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.741e-05 1.741e-05 1.741e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.629e-05 1.629e-05 1.629e-05 0.00% MLMG::mgVcycle_bottom 36 1.607e-05 1.607e-05 1.607e-05 0.00% FillPatchSingleLevel 20 1.548e-05 1.548e-05 1.548e-05 0.00% MLMG::computeResidual() 36 1.508e-05 1.508e-05 1.508e-05 0.00% MLPoisson::define() 6 1.469e-05 1.469e-05 1.469e-05 0.00% makeSFC 30 1.415e-05 1.415e-05 1.415e-05 0.00% Castro::construct_new_gravity() 5 1.222e-05 1.222e-05 1.222e-05 0.00% Castro::do_old_sources() 5 1.176e-05 1.176e-05 1.176e-05 0.00% MLMG::computeMLResidual() 6 9.901e-06 9.901e-06 9.901e-06 0.00% MLPoisson::prepareForSolve() 6 9.865e-06 9.865e-06 9.865e-06 0.00% Amr::initSubcycle() 1 9.779e-06 9.779e-06 9.779e-06 0.00% DistributionMapping::Distribute() 31 8.811e-06 8.811e-06 8.811e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.793e-06 7.793e-06 7.793e-06 0.00% Gravity::actual_multilevel_solve() 1 7.708e-06 7.708e-06 7.708e-06 0.00% Castro::check_for_nan() 10 6.898e-06 6.898e-06 6.898e-06 0.00% Castro::apply_source_to_state() 10 6.383e-06 6.383e-06 6.383e-06 0.00% Castro::construct_old_gravity() 5 6.111e-06 6.111e-06 6.111e-06 0.00% MLLinOp::define() 6 5.654e-06 5.654e-06 5.654e-06 0.00% Castro::post_timestep() 5 4.766e-06 4.766e-06 4.766e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.041e-06 4.041e-06 4.041e-06 0.00% Gravity::swapTimeLevels() 5 3.693e-06 3.693e-06 3.693e-06 0.00% Castro::computeNewDt() 5 3.48e-06 3.48e-06 3.48e-06 0.00% MLMG::getGradSolution() 6 3.155e-06 3.155e-06 3.155e-06 0.00% Castro::expand_state() 5 2.707e-06 2.707e-06 2.707e-06 0.00% MLMG::MLResNormInf() 6 2.436e-06 2.436e-06 2.436e-06 0.00% MLMG::MLRhsNormInf() 6 2.274e-06 2.274e-06 2.274e-06 0.00% Gravity::set_mass_offset() 6 2.02e-06 2.02e-06 2.02e-06 0.00% Castro::retry_advance_ctu() 5 1.95e-06 1.95e-06 1.95e-06 0.00% Castro::FluxRegCrseInit 5 1.622e-06 1.622e-06 1.622e-06 0.00% Castro::FluxRegFineAdd() 5 1.395e-06 1.395e-06 1.395e-06 0.00% Amr::init() 1 1.253e-06 1.253e-06 1.253e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.14e-06 1.14e-06 1.14e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4332 0.4332 0.4332 100.00% Amr::coarseTimeStep() 5 0.3218 0.3218 0.3218 74.28% Amr::timeStep() 5 0.3195 0.3195 0.3195 73.75% Castro::advance() 5 0.3133 0.3133 0.3133 72.31% Castro::subcycle_advance_ctu() 5 0.3057 0.3057 0.3057 70.55% Castro::do_advance_ctu() 5 0.3055 0.3055 0.3055 70.51% Castro::construct_ctu_hydro_source() 5 0.1347 0.1347 0.1347 31.09% Castro::construct_new_gravity() 5 0.1345 0.1345 0.1345 31.04% Gravity::solve_phi_with_mlmg() 6 0.1321 0.1321 0.1321 30.48% Gravity::solve_for_phi() 5 0.1264 0.1264 0.1264 29.19% Gravity::actual_solve_with_mlmg() 6 0.1262 0.1262 0.1262 29.13% MLMG::solve() 6 0.1143 0.1143 0.1143 26.38% MLMG::oneIter() 36 0.1068 0.1068 0.1068 24.65% MLMG::mgVcycle() 36 0.1053 0.1053 0.1053 24.30% Amr::init() 1 0.07289 0.07289 0.07289 16.82% Amr::restart() 1 0.07288 0.07288 0.07288 16.82% AmrLevel::restart() 1 0.06141 0.06141 0.06141 14.17% StateData::restartDoit() 4 0.06132 0.06132 0.06132 14.15% VisMF::Read() 3 0.06102 0.06102 0.06102 14.09% MLCellLinOp::smooth() 720 0.05142 0.05142 0.05142 11.87% MLCellLinOp::applyBC() 1946 0.04828 0.04828 0.04828 11.14% Amr::writePlotFile() 1 0.03767 0.03767 0.03767 8.69% VisMF::Write(FabArray) 1 0.03601 0.03601 0.03601 8.31% MLMG::mgVcycle_bottom 36 0.03286 0.03286 0.03286 7.58% MLMG::actualBottomSolve() 36 0.03284 0.03284 0.03284 7.58% MLCGSolver::bicgstab 36 0.03252 0.03252 0.03252 7.51% Castro::clean_state() 30 0.02827 0.02827 0.02827 6.53% AmrLevel::FillPatch() 20 0.02288 0.02288 0.02288 5.28% FillPatchIterator::Initialize 20 0.0208 0.0208 0.0208 4.80% FillPatchIterator::FillFromLevel0() 20 0.02001 0.02001 0.02001 4.62% FillPatchSingleLevel 20 0.01999 0.01999 0.01999 4.61% StateDataPhysBCFunct::() 20 0.01795 0.01795 0.01795 4.14% MLCellLinOp::apply() 500 0.0163 0.0163 0.0163 3.76% MLMG::mgVcycle_down::0 36 0.01462 0.01462 0.01462 3.37% MLPoisson::Fsmooth() 1440 0.01434 0.01434 0.01434 3.31% FabArray::FillBoundary() 1766 0.01355 0.01355 0.01355 3.13% StateData::FillBoundary(geom) 160 0.01317 0.01317 0.01317 3.04% FillBoundary_nowait() 1766 0.01316 0.01316 0.01316 3.04% MLMG::mgVcycle_up::0 36 0.01103 0.01103 0.01103 2.55% Castro::initialize_do_advance() 5 0.0108 0.0108 0.0108 2.49% Castro::computeTemp() 30 0.01016 0.01016 0.01016 2.34% MLCellLinOp::correctionResidual() 216 0.009815 0.009815 0.009815 2.27% Castro::do_old_sources() 5 0.009641 0.009641 0.009641 2.23% MLPoisson::define() 6 0.009384 0.009384 0.009384 2.17% Castro::normalize_species() 30 0.009364 0.009364 0.009364 2.16% amrex::Dot() 484 0.009032 0.009032 0.009032 2.08% FabArray::norminf() 465 0.008799 0.008799 0.008799 2.03% MLMG:computeResOfCorrection() 180 0.008625 0.008625 0.008625 1.99% Gravity::get_new_grav_vector() 5 0.007897 0.007897 0.007897 1.82% Castro::construct_old_gravity() 5 0.007725 0.007725 0.007725 1.78% Gravity::get_old_grav_vector() 5 0.007719 0.007719 0.007719 1.78% Castro::initialize_advance() 5 0.007236 0.007236 0.007236 1.67% MLMG::mgVcycle_down::1 36 0.007213 0.007213 0.007213 1.66% FabArray::ParallelCopy() 380 0.006593 0.006593 0.006593 1.52% FabArray::setVal() 537 0.006585 0.006585 0.006585 1.52% MLMG::mgVcycle_down::2 36 0.00658 0.00658 0.00658 1.52% FabArray::ParallelCopy_nowait() 380 0.006486 0.006486 0.006486 1.50% MLCellLinOp::defineAuxData() 6 0.006445 0.006445 0.006445 1.49% MLMG::mgVcycle_down::3 36 0.006398 0.006398 0.006398 1.48% MLMG::mgVcycle_down::4 36 0.006365 0.006365 0.006365 1.47% Castro::do_new_sources() 5 0.006356 0.006356 0.006356 1.47% Castro::post_restart() 1 0.006256 0.006256 0.006256 1.44% Castro::post_timestep() 5 0.006168 0.006168 0.006168 1.42% Castro::enforce_min_density() 30 0.006149 0.006149 0.006149 1.42% Gravity::multilevel_solve_for_new_phi() 1 0.005881 0.005881 0.005881 1.36% Gravity::actual_multilevel_solve() 1 0.005863 0.005863 0.005863 1.35% Castro::expand_state() 5 0.005861 0.005861 0.005861 1.35% Gravity::fill_multipole_BCs() 6 0.005734 0.005734 0.005734 1.32% FabArray::Saxpy() 597 0.005674 0.005674 0.005674 1.31% MLCGSolver::ParallelAllReduce 798 0.005485 0.005485 0.005485 1.27% amrex::Copy() 221 0.005337 0.005337 0.005337 1.23% MLMG::addInterpCorrection() 180 0.005324 0.005324 0.005324 1.23% MLMG::mgVcycle_up::4 36 0.00513 0.00513 0.00513 1.18% MLMG::mgVcycle_up::1 36 0.005102 0.005102 0.005102 1.18% amrex::average_down 180 0.005034 0.005034 0.005034 1.16% MLMG::mgVcycle_up::2 36 0.004991 0.004991 0.004991 1.15% MLMG::mgVcycle_up::3 36 0.00489 0.00489 0.00489 1.13% MLPoisson::Fapply() 500 0.00465 0.00465 0.00465 1.07% FabArray::Xpay() 361 0.003658 0.003658 0.003658 0.84% MLCellLinOp::solutionResidual() 42 0.003497 0.003497 0.003497 0.81% Castro::estTimeStep() 10 0.003313 0.003313 0.003313 0.76% Castro::reset_internal_energy(MultiFab) 30 0.002979 0.002979 0.002979 0.69% MLMG::prepareForSolve() 6 0.002806 0.002806 0.002806 0.65% MLCellLinOp::defineBC() 6 0.002802 0.002802 0.002802 0.65% MLMG::computeResidual() 36 0.002737 0.002737 0.002737 0.63% BndryData::define() 6 0.002667 0.002667 0.002667 0.62% Castro::enforce_speed_limit() 30 0.002571 0.002571 0.002571 0.59% Castro::computeNewDt() 5 0.002065 0.002065 0.002065 0.48% amrex::Add() 72 0.001884 0.001884 0.001884 0.43% Castro::construct_new_source() 25 0.001818 0.001818 0.001818 0.42% Castro::construct_new_gravity_source() 5 0.001773 0.001773 0.001773 0.41% Castro::construct_old_source() 25 0.001549 0.001549 0.001549 0.36% Castro::construct_old_gravity_source() 5 0.001521 0.001521 0.001521 0.35% Castro::finalize_do_advance() 5 0.001318 0.001318 0.001318 0.30% check_for_negative_density() 5 0.00102 0.00102 0.00102 0.24% MLMG::ResNormInf() 42 0.0009829 0.0009829 0.0009829 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009582 0.0009582 0.0009582 0.22% Castro::apply_source_to_state() 10 0.0009536 0.0009536 0.0009536 0.22% MLMG::getGradSolution() 6 0.0008594 0.0008594 0.0008594 0.20% MLCellLinOp::compGrad() 6 0.0008562 0.0008562 0.0008562 0.20% MLCellLinOp::setLevelBC() 6 0.0008287 0.0008287 0.0008287 0.19% Castro::reset_internal_energy(Fab) 240 0.0008083 0.0008083 0.0008083 0.19% FabArrayBase::getCPC() 632 0.0007913 0.0007913 0.0007913 0.18% MLMG::computeMLResidual() 6 0.0007849 0.0007849 0.0007849 0.18% MLPoisson::prepareForSolve() 6 0.000752 0.000752 0.000752 0.17% MLCellLinOp::prepareForSolve() 6 0.0007422 0.0007422 0.0007422 0.17% Gravity::update_max_rhs() 6 0.0007085 0.0007085 0.0007085 0.16% FabArray::mult() 22 0.000688 0.000688 0.000688 0.16% FabArray::setDomainBndry() 20 0.0006827 0.0006827 0.0006827 0.16% Castro::check_for_nan() 10 0.0006573 0.0006573 0.0006573 0.15% MultiFab::contains_nan() 10 0.0006504 0.0006504 0.0006504 0.15% Amr::InitAmr() 1 0.0004544 0.0004544 0.0004544 0.10% FabArrayBase::CPC::define() 244 0.000425 0.000425 0.000425 0.10% FabArrayBase::getFB() 1766 0.0003515 0.0003515 0.0003515 0.08% Castro::finalize_advance() 5 0.0003007 0.0003007 0.0003007 0.07% Gravity::swapTimeLevels() 5 0.0002268 0.0002268 0.0002268 0.05% MultiFab::max() 6 0.000203 0.000203 0.000203 0.05% MLMG::MLResNormInf() 6 0.0001905 0.0001905 0.0001905 0.04% Castro::buildMetrics() 1 0.0001585 0.0001585 0.0001585 0.04% MLLinOp::define() 6 0.0001225 0.0001225 0.0001225 0.03% MLMG::MLRhsNormInf() 6 0.000119 0.000119 0.000119 0.03% MLLinOp::defineGrids() 6 0.0001168 0.0001168 0.0001168 0.03% Castro::create_source_corrector() 5 9.744e-05 9.744e-05 9.744e-05 0.02% FabArrayBase::FB::FB() 26 6.227e-05 6.227e-05 6.227e-05 0.01% Amr::writeSmallPlotFile() 1 3.678e-05 3.678e-05 3.678e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.941e-05 2.941e-05 2.941e-05 0.01% Castro::initMFs() 1 2.55e-05 2.55e-05 2.55e-05 0.01% Castro::swap_state_time_levels() 5 2.521e-05 2.521e-05 2.521e-05 0.01% makeSFC 30 2.161e-05 2.161e-05 2.161e-05 0.00% Amr::initSubcycle() 1 9.779e-06 9.779e-06 9.779e-06 0.00% DistributionMapping::Distribute() 31 8.811e-06 8.811e-06 8.811e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.385e-06 5.385e-06 5.385e-06 0.00% Gravity::set_mass_offset() 6 2.02e-06 2.02e-06 2.02e-06 0.00% Castro::retry_advance_ctu() 5 1.95e-06 1.95e-06 1.95e-06 0.00% Castro::FluxRegCrseInit 5 1.622e-06 1.622e-06 1.622e-06 0.00% Castro::FluxRegFineAdd() 5 1.395e-06 1.395e-06 1.395e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.14e-06 1.14e-06 1.14e-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 204 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 139 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1042 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2439 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6402 KiB 14 MiB MLMG::prepareForSolve() 361 361 3237 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6388 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3244 B 2048 KiB Gravity::solve_for_phi() 40 40 596 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 298 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3670 B 480 KiB VisMF::Write(FabArray) 112 112 2408 B 320 KiB Castro::normalize_species() 30 30 7029 B 320 KiB amrex::average_down 469 469 1136 B 257 KiB MLMG::addInterpCorrection() 468 468 1055 B 257 KiB amrex::Dot() 592 592 3066 B 160 KiB FabArray::norminf() 501 501 3137 B 160 KiB check_for_negative_density() 5 5 350 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3139 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 257 B 9648 B MLCellLinOp::applyBC() 3892 3892 203 B 9344 B amrex::Copy() 56 56 5632 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 216 216 95 B 1280 B MLCellLinOp::defineBC() 36 36 335 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1187 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 240 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3139 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 257 B 9648 B MLCellLinOp::applyBC() 1946 1946 202 B 9328 B amrex::Copy() 56 56 5632 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2508 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 496 B 1296 B amrex::average_down 37 37 211 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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.12-6-gedb4c25027ef) finalized