Initializing AMReX (24.01-1-gf1ec8df75c56)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-1-gf1ec8df75c56) initialized Starting run at 09:08:30 UTC on 2024-01-08. Successfully read inputs file ... Castro git describe: 24.01-5-g92138399c AMReX git describe: 24.01-1-gf1ec8df75 Microphysics git describe: 24.01-8-g518b421f 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.046592419 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025750793 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.066595587 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050441506 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.073644421 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.077042978 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.054949527 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.045448669 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.063307092 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.074482209 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.072888505 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.058399013 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.058930235 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.043536511 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024844389 seconds Ending run at 09:08:31 UTC on 2024-01-08. Run time = 0.892570779 Run time without initialization = 0.765232393 Average number of zones advanced per microsecond: 3.426 Average number of zones advanced per microsecond per rank: 3.426 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8926 ... 0.8926 ... 0.8926 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2647 0.2647 0.2647 29.65% VisMF::Write(FabArray) 11 0.1776 0.1776 0.1776 19.90% MLCellLinOp::applyBC() 4351 0.08694 0.08694 0.08694 9.74% MLPoisson::Fsmooth() 3280 0.03424 0.03424 0.03424 3.84% FillBoundary_nowait() 3941 0.03046 0.03046 0.03046 3.41% StateData::FillBoundary(geom) 328 0.02663 0.02663 0.02663 2.98% amrex::Dot() 1114 0.02184 0.02184 0.02184 2.45% FabArray::norminf() 1061 0.02021 0.02021 0.02021 2.26% Castro::normalize_species() 62 0.02017 0.02017 0.02017 2.26% Castro::computeTemp() 63 0.01619 0.01619 0.01619 1.81% FabArray::ParallelCopy_nowait() 861 0.01358 0.01358 0.01358 1.52% FabArray::Saxpy() 1370 0.01325 0.01325 0.01325 1.48% FabArray::setVal() 1062 0.01319 0.01319 0.01319 1.48% StateDataPhysBCFunct::() 41 0.01161 0.01161 0.01161 1.30% Castro::enforce_min_density() 62 0.01157 0.01157 0.01157 1.30% amrex::Copy() 472 0.0108 0.0108 0.0108 1.21% MLCellLinOp::defineAuxData() 11 0.01042 0.01042 0.01042 1.17% MLPoisson::Fapply() 1060 0.01037 0.01037 0.01037 1.16% Gravity::fill_multipole_BCs() 11 0.009021 0.009021 0.009021 1.01% FabArray::Xpay() 739 0.007854 0.007854 0.007854 0.88% MLMG::addInterpCorrection() 410 0.007066 0.007066 0.007066 0.79% amrex::average_down 410 0.006328 0.006328 0.006328 0.71% Castro::estTimeStep() 21 0.006168 0.006168 0.006168 0.69% Amr::checkPoint() 3 0.005984 0.005984 0.005984 0.67% Castro::reset_internal_energy(MultiFab) 63 0.005175 0.005175 0.005175 0.58% BndryData::define() 11 0.003928 0.003928 0.003928 0.44% amrex::Add() 82 0.003594 0.003594 0.003594 0.40% Castro::enforce_speed_limit() 62 0.003373 0.003373 0.003373 0.38% Castro::construct_new_gravity_source() 10 0.003274 0.003274 0.003274 0.37% Castro::construct_old_gravity_source() 10 0.00296 0.00296 0.00296 0.33% Amr::writePlotFile() 2 0.002092 0.002092 0.002092 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001785 0.001785 0.001785 0.20% check_for_negative_density() 10 0.001784 0.001784 0.001784 0.20% MLCGSolver::bicgstab 82 0.00169 0.00169 0.00169 0.19% Castro::reset_internal_energy(Fab) 504 0.001645 0.001645 0.001645 0.18% Gravity::actual_solve_with_mlmg() 11 0.001641 0.001641 0.001641 0.18% MLCellLinOp::setLevelBC() 11 0.001573 0.001573 0.001573 0.18% Castro::initData() 1 0.001556 0.001556 0.001556 0.17% FabArray::setDomainBndry() 41 0.00137 0.00137 0.00137 0.15% FabArray::mult() 43 0.001365 0.001365 0.001365 0.15% MLCellLinOp::prepareForSolve() 11 0.001352 0.001352 0.001352 0.15% MultiFab::contains_nan() 20 0.001254 0.001254 0.001254 0.14% MLCellLinOp::smooth() 1640 0.001109 0.001109 0.001109 0.12% MLCellLinOp::compGrad() 11 0.001088 0.001088 0.001088 0.12% MLMG::prepareForSolve() 11 0.0009859 0.0009859 0.0009859 0.11% FabArray::FillBoundary() 3941 0.0008759 0.0008759 0.0008759 0.10% FabArrayBase::getCPC() 1323 0.000788 0.000788 0.000788 0.09% FabArrayBase::CPC::define() 454 0.0006641 0.0006641 0.0006641 0.07% Gravity::get_new_grav_vector() 11 0.0006123 0.0006123 0.0006123 0.07% FabArrayBase::getFB() 3941 0.0006009 0.0006009 0.0006009 0.07% Amr::InitAmr() 1 0.0005806 0.0005806 0.0005806 0.07% Gravity::get_old_grav_vector() 10 0.0004847 0.0004847 0.0004847 0.05% AmrLevel::FillPatch() 41 0.0004228 0.0004228 0.0004228 0.05% Amr::coarseTimeStep() 10 0.0004101 0.0004101 0.0004101 0.05% MLCellLinOp::apply() 1060 0.0004065 0.0004065 0.0004065 0.05% MLCGSolver::ParallelAllReduce 1832 0.000357 0.000357 0.000357 0.04% MultiFab::max() 11 0.000327 0.000327 0.000327 0.04% main() 1 0.0003135 0.0003135 0.0003135 0.04% MLCellLinOp::defineBC() 11 0.0002846 0.0002846 0.0002846 0.03% FabArray::ParallelCopy() 861 0.0002358 0.0002358 0.0002358 0.03% FillPatchIterator::Initialize 41 0.0002221 0.0002221 0.0002221 0.02% MLMG::mgVcycle() 82 0.0001999 0.0001999 0.0001999 0.02% Castro::subcycle_advance_ctu() 10 0.000191 0.000191 0.000191 0.02% MLCellLinOp::correctionResidual() 410 0.0001733 0.0001733 0.0001733 0.02% MLLinOp::defineGrids() 11 0.0001643 0.0001643 0.0001643 0.02% Amr::timeStep() 10 0.0001614 0.0001614 0.0001614 0.02% Castro::create_source_corrector() 10 0.0001583 0.0001583 0.0001583 0.02% StateData::checkPoint() 12 0.0001408 0.0001408 0.0001408 0.02% Gravity::update_max_rhs() 11 0.0001296 0.0001296 0.0001296 0.01% Castro::advance() 10 0.0001174 0.0001174 0.0001174 0.01% MLMG:computeResOfCorrection() 410 0.0001149 0.0001149 0.0001149 0.01% Gravity::solve_for_phi() 10 0.0001111 0.0001111 0.0001111 0.01% Castro::construct_new_source() 50 0.0001006 0.0001006 0.0001006 0.01% FabArrayBase::FB::FB() 56 9.202e-05 9.202e-05 9.202e-05 0.01% MLMG::actualBottomSolve() 82 9.097e-05 9.097e-05 9.097e-05 0.01% MLMG::mgVcycle_down::0 82 8.849e-05 8.849e-05 8.849e-05 0.01% Castro::Castro() 1 8.649e-05 8.649e-05 8.649e-05 0.01% MLMG::mgVcycle_down::2 82 8.451e-05 8.451e-05 8.451e-05 0.01% MLMG::mgVcycle_down::1 82 8.085e-05 8.085e-05 8.085e-05 0.01% MLMG::mgVcycle_down::4 82 7.744e-05 7.744e-05 7.744e-05 0.01% AmrLevel::checkPoint() 3 7.723e-05 7.723e-05 7.723e-05 0.01% MLMG::mgVcycle_down::3 82 7.715e-05 7.715e-05 7.715e-05 0.01% Castro::initialize_advance() 10 7.691e-05 7.691e-05 7.691e-05 0.01% Castro::enforce_consistent_e() 1 7.613e-05 7.613e-05 7.613e-05 0.01% Castro::clean_state() 62 7.126e-05 7.126e-05 7.126e-05 0.01% MLMG::solve() 11 6.886e-05 6.886e-05 6.886e-05 0.01% Castro::finalize_advance() 10 6.485e-05 6.485e-05 6.485e-05 0.01% MLMG::mgVcycle_up::4 82 6.28e-05 6.28e-05 6.28e-05 0.01% Castro::initialize_do_advance() 10 6.023e-05 6.023e-05 6.023e-05 0.01% Castro::do_new_sources() 10 5.73e-05 5.73e-05 5.73e-05 0.01% MLMG::oneIter() 82 5.428e-05 5.428e-05 5.428e-05 0.01% MLCellLinOp::solutionResidual() 93 5.031e-05 5.031e-05 5.031e-05 0.01% MLMG::mgVcycle_up::0 82 5.01e-05 5.01e-05 5.01e-05 0.01% MLMG::mgVcycle_up::3 82 4.911e-05 4.911e-05 4.911e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.762e-05 4.762e-05 4.762e-05 0.01% MLMG::mgVcycle_up::1 82 4.732e-05 4.732e-05 4.732e-05 0.01% Castro::do_advance_ctu() 10 4.65e-05 4.65e-05 4.65e-05 0.01% MLMG::mgVcycle_up::2 82 4.644e-05 4.644e-05 4.644e-05 0.01% Castro::finalize_do_advance() 10 4.535e-05 4.535e-05 4.535e-05 0.01% StateData::define() 4 4.064e-05 4.064e-05 4.064e-05 0.00% MLMG::ResNormInf() 93 3.595e-05 3.595e-05 3.595e-05 0.00% Castro::swap_state_time_levels() 10 3.57e-05 3.57e-05 3.57e-05 0.00% FillPatchSingleLevel 41 3.402e-05 3.402e-05 3.402e-05 0.00% MLMG::computeResidual() 82 3.325e-05 3.325e-05 3.325e-05 0.00% MLMG::mgVcycle_bottom 82 3.295e-05 3.295e-05 3.295e-05 0.00% Amr::writeSmallPlotFile() 1 3.181e-05 3.181e-05 3.181e-05 0.00% Castro::initMFs() 1 3.132e-05 3.132e-05 3.132e-05 0.00% makeSFC 55 2.654e-05 2.654e-05 2.654e-05 0.00% Castro::construct_new_gravity() 10 2.62e-05 2.62e-05 2.62e-05 0.00% Amr::defBaseLevel() 1 2.488e-05 2.488e-05 2.488e-05 0.00% Castro::buildMetrics() 1 2.46e-05 2.46e-05 2.46e-05 0.00% Castro::do_old_sources() 10 2.292e-05 2.292e-05 2.292e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.204e-05 2.204e-05 2.204e-05 0.00% Amr::FinalizeInit() 1 2.166e-05 2.166e-05 2.166e-05 0.00% MLPoisson::define() 11 1.993e-05 1.993e-05 1.993e-05 0.00% Castro::construct_old_source() 50 1.818e-05 1.818e-05 1.818e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.76e-05 1.76e-05 1.76e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.735e-05 1.735e-05 1.735e-05 0.00% MLMG::computeMLResidual() 11 1.616e-05 1.616e-05 1.616e-05 0.00% DistributionMapping::Distribute() 56 1.596e-05 1.596e-05 1.596e-05 0.00% MLPoisson::prepareForSolve() 11 1.377e-05 1.377e-05 1.377e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.267e-05 1.267e-05 1.267e-05 0.00% Amr::initSubcycle() 1 1.193e-05 1.193e-05 1.193e-05 0.00% Castro::construct_old_gravity() 10 1.191e-05 1.191e-05 1.191e-05 0.00% MLLinOp::define() 11 1.166e-05 1.166e-05 1.166e-05 0.00% Castro::apply_source_to_state() 20 1.144e-05 1.144e-05 1.144e-05 0.00% Castro::check_for_nan() 20 1.086e-05 1.086e-05 1.086e-05 0.00% Castro::post_init() 1 9.657e-06 9.657e-06 9.657e-06 0.00% Gravity::swapTimeLevels() 10 9.364e-06 9.364e-06 9.364e-06 0.00% Gravity::actual_multilevel_solve() 1 8.202e-06 8.202e-06 8.202e-06 0.00% Castro::post_timestep() 10 7.939e-06 7.939e-06 7.939e-06 0.00% Castro::computeNewDt() 9 6.518e-06 6.518e-06 6.518e-06 0.00% MLMG::getGradSolution() 11 6.31e-06 6.31e-06 6.31e-06 0.00% Castro::expand_state() 10 6.225e-06 6.225e-06 6.225e-06 0.00% AmrLevel::checkPointPost() 3 5.103e-06 5.103e-06 5.103e-06 0.00% Amr::InitializeInit() 1 4.776e-06 4.776e-06 4.776e-06 0.00% MLMG::MLRhsNormInf() 11 4.115e-06 4.115e-06 4.115e-06 0.00% Castro::retry_advance_ctu() 10 4.063e-06 4.063e-06 4.063e-06 0.00% Gravity::set_mass_offset() 11 3.883e-06 3.883e-06 3.883e-06 0.00% MLMG::MLResNormInf() 11 3.677e-06 3.677e-06 3.677e-06 0.00% Castro::computeInitialDt() 2 3.332e-06 3.332e-06 3.332e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.112e-06 3.112e-06 3.112e-06 0.00% Castro::FluxRegCrseInit 10 2.773e-06 2.773e-06 2.773e-06 0.00% Castro::FluxRegFineAdd() 10 2.509e-06 2.509e-06 2.509e-06 0.00% Amr::init() 1 2.295e-06 2.295e-06 2.295e-06 0.00% AmrLevel::checkPointPre() 3 2.218e-06 2.218e-06 2.218e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.134e-06 2.134e-06 2.134e-06 0.00% Castro::post_regrid() 1 1.239e-06 1.239e-06 1.239e-06 0.00% Amr::initialInit() 1 1.041e-06 1.041e-06 1.041e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8926 0.8926 0.8926 100.00% Amr::coarseTimeStep() 10 0.7402 0.7402 0.7402 82.92% Amr::timeStep() 10 0.6471 0.6471 0.6471 72.50% Castro::advance() 10 0.6364 0.6364 0.6364 71.30% Castro::subcycle_advance_ctu() 10 0.6218 0.6218 0.6218 69.66% Castro::do_advance_ctu() 10 0.6216 0.6216 0.6216 69.64% Gravity::solve_phi_with_mlmg() 11 0.3019 0.3019 0.3019 33.82% Gravity::actual_solve_with_mlmg() 11 0.2924 0.2924 0.2924 32.76% Castro::construct_ctu_hydro_source() 10 0.2761 0.2761 0.2761 30.93% Castro::construct_new_gravity() 10 0.2731 0.2731 0.2731 30.59% MLMG::solve() 11 0.2703 0.2703 0.2703 30.28% Gravity::solve_for_phi() 10 0.257 0.257 0.257 28.80% MLMG::oneIter() 82 0.2549 0.2549 0.2549 28.56% MLMG::mgVcycle() 82 0.2513 0.2513 0.2513 28.15% VisMF::Write(FabArray) 11 0.1776 0.1776 0.1776 19.90% Amr::checkPoint() 3 0.1357 0.1357 0.1357 15.20% AmrLevel::checkPoint() 3 0.1297 0.1297 0.1297 14.53% StateData::checkPoint() 12 0.1296 0.1296 0.1296 14.52% Amr::init() 1 0.1266 0.1266 0.1266 14.18% MLCellLinOp::smooth() 1640 0.1217 0.1217 0.1217 13.64% MLCellLinOp::applyBC() 4351 0.119 0.119 0.119 13.33% MLMG::mgVcycle_bottom 82 0.08049 0.08049 0.08049 9.02% MLMG::actualBottomSolve() 82 0.08046 0.08046 0.08046 9.01% MLCGSolver::bicgstab 82 0.07971 0.07971 0.07971 8.93% Castro::clean_state() 62 0.05709 0.05709 0.05709 6.40% Amr::initialInit() 1 0.05416 0.05416 0.05416 6.07% Amr::writePlotFile() 2 0.05071 0.05071 0.05071 5.68% Amr::FinalizeInit() 1 0.04896 0.04896 0.04896 5.48% AmrLevel::FillPatch() 41 0.04822 0.04822 0.04822 5.40% Castro::post_init() 1 0.04751 0.04751 0.04751 5.32% Gravity::multilevel_solve_for_new_phi() 1 0.04527 0.04527 0.04527 5.07% Gravity::actual_multilevel_solve() 1 0.04525 0.04525 0.04525 5.07% FillPatchIterator::Initialize 41 0.04393 0.04393 0.04393 4.92% MLCellLinOp::apply() 1060 0.04289 0.04289 0.04289 4.80% FillPatchIterator::FillFromLevel0() 41 0.04234 0.04234 0.04234 4.74% FillPatchSingleLevel 41 0.04229 0.04229 0.04229 4.74% StateDataPhysBCFunct::() 41 0.03825 0.03825 0.03825 4.28% MLMG::mgVcycle_down::0 82 0.03427 0.03427 0.03427 3.84% MLPoisson::Fsmooth() 3280 0.03424 0.03424 0.03424 3.84% FabArray::FillBoundary() 3941 0.03203 0.03203 0.03203 3.59% FillBoundary_nowait() 3941 0.03115 0.03115 0.03115 3.49% StateData::FillBoundary(geom) 328 0.02663 0.02663 0.02663 2.98% MLMG::mgVcycle_up::0 82 0.02599 0.02599 0.02599 2.91% Castro::computeTemp() 63 0.02301 0.02301 0.02301 2.58% Castro::initialize_do_advance() 10 0.02199 0.02199 0.02199 2.46% amrex::Dot() 1114 0.02184 0.02184 0.02184 2.45% MLMG:computeResOfCorrection() 410 0.02037 0.02037 0.02037 2.28% MLCellLinOp::correctionResidual() 410 0.02026 0.02026 0.02026 2.27% FabArray::norminf() 1061 0.02021 0.02021 0.02021 2.26% Castro::normalize_species() 62 0.02017 0.02017 0.02017 2.26% Castro::do_old_sources() 10 0.0194 0.0194 0.0194 2.17% Gravity::get_new_grav_vector() 11 0.01785 0.01785 0.01785 2.00% MLPoisson::define() 11 0.01733 0.01733 0.01733 1.94% MLMG::mgVcycle_down::1 82 0.01674 0.01674 0.01674 1.88% MLMG::mgVcycle_down::2 82 0.01563 0.01563 0.01563 1.75% Castro::construct_old_gravity() 10 0.01549 0.01549 0.01549 1.74% Gravity::get_old_grav_vector() 10 0.01548 0.01548 0.01548 1.73% MLMG::mgVcycle_down::3 82 0.0152 0.0152 0.0152 1.70% MLMG::mgVcycle_down::4 82 0.01506 0.01506 0.01506 1.69% FabArray::ParallelCopy() 861 0.0146 0.0146 0.0146 1.64% FabArray::ParallelCopy_nowait() 861 0.01436 0.01436 0.01436 1.61% Castro::initialize_advance() 10 0.01387 0.01387 0.01387 1.55% FabArray::Saxpy() 1370 0.01325 0.01325 0.01325 1.48% FabArray::setVal() 1062 0.01319 0.01319 0.01319 1.48% MLCGSolver::ParallelAllReduce 1832 0.01307 0.01307 0.01307 1.46% MLMG::addInterpCorrection() 410 0.01235 0.01235 0.01235 1.38% Castro::do_new_sources() 10 0.01221 0.01221 0.01221 1.37% MLMG::mgVcycle_up::1 82 0.01212 0.01212 0.01212 1.36% MLMG::mgVcycle_up::4 82 0.01204 0.01204 0.01204 1.35% Castro::expand_state() 10 0.01201 0.01201 0.01201 1.35% MLMG::mgVcycle_up::2 82 0.01192 0.01192 0.01192 1.33% MLCellLinOp::defineAuxData() 11 0.01183 0.01183 0.01183 1.33% amrex::average_down 410 0.01163 0.01163 0.01163 1.30% MLMG::mgVcycle_up::3 82 0.0116 0.0116 0.0116 1.30% Castro::enforce_min_density() 62 0.01157 0.01157 0.01157 1.30% amrex::Copy() 472 0.0108 0.0108 0.0108 1.21% Castro::post_timestep() 10 0.01054 0.01054 0.01054 1.18% MLPoisson::Fapply() 1060 0.01037 0.01037 0.01037 1.16% Gravity::fill_multipole_BCs() 11 0.009249 0.009249 0.009249 1.04% FabArray::Xpay() 739 0.007854 0.007854 0.007854 0.88% MLCellLinOp::solutionResidual() 93 0.007653 0.007653 0.007653 0.86% Castro::reset_internal_energy(MultiFab) 63 0.00682 0.00682 0.00682 0.76% MLMG::computeResidual() 82 0.006373 0.006373 0.006373 0.71% Castro::estTimeStep() 21 0.006168 0.006168 0.006168 0.69% MLCellLinOp::defineBC() 11 0.005243 0.005243 0.005243 0.59% Amr::InitializeInit() 1 0.005207 0.005207 0.005207 0.58% Amr::defBaseLevel() 1 0.005202 0.005202 0.005202 0.58% MLMG::prepareForSolve() 11 0.005199 0.005199 0.005199 0.58% BndryData::define() 11 0.004958 0.004958 0.004958 0.56% Castro::initData() 1 0.004553 0.004553 0.004553 0.51% amrex::Add() 82 0.003594 0.003594 0.003594 0.40% Castro::construct_new_source() 50 0.003375 0.003375 0.003375 0.38% Castro::enforce_speed_limit() 62 0.003373 0.003373 0.003373 0.38% Castro::construct_new_gravity_source() 10 0.003274 0.003274 0.003274 0.37% Castro::construct_old_source() 50 0.002978 0.002978 0.002978 0.33% Castro::construct_old_gravity_source() 10 0.00296 0.00296 0.00296 0.33% Castro::computeNewDt() 9 0.002777 0.002777 0.002777 0.31% Castro::finalize_do_advance() 10 0.002387 0.002387 0.002387 0.27% MLMG::ResNormInf() 93 0.002205 0.002205 0.002205 0.25% Castro::apply_source_to_state() 20 0.001867 0.001867 0.001867 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001785 0.001785 0.001785 0.20% check_for_negative_density() 10 0.001784 0.001784 0.001784 0.20% Castro::reset_internal_energy(Fab) 504 0.001645 0.001645 0.001645 0.18% MLMG::getGradSolution() 11 0.001585 0.001585 0.001585 0.18% MLCellLinOp::compGrad() 11 0.001579 0.001579 0.001579 0.18% MLCellLinOp::setLevelBC() 11 0.001573 0.001573 0.001573 0.18% FabArrayBase::getCPC() 1323 0.001452 0.001452 0.001452 0.16% FabArray::setDomainBndry() 41 0.00137 0.00137 0.00137 0.15% MLPoisson::prepareForSolve() 11 0.001366 0.001366 0.001366 0.15% FabArray::mult() 43 0.001365 0.001365 0.001365 0.15% MLCellLinOp::prepareForSolve() 11 0.001352 0.001352 0.001352 0.15% MLMG::computeMLResidual() 11 0.00133 0.00133 0.00133 0.15% Castro::check_for_nan() 20 0.001265 0.001265 0.001265 0.14% MultiFab::contains_nan() 20 0.001254 0.001254 0.001254 0.14% Castro::post_regrid() 1 0.001144 0.001144 0.001144 0.13% Castro::computeInitialDt() 2 0.001059 0.001059 0.001059 0.12% Gravity::update_max_rhs() 11 0.0009879 0.0009879 0.0009879 0.11% FabArrayBase::getFB() 3941 0.0006929 0.0006929 0.0006929 0.08% FabArrayBase::CPC::define() 454 0.0006641 0.0006641 0.0006641 0.07% Castro::finalize_advance() 10 0.0006042 0.0006042 0.0006042 0.07% Amr::InitAmr() 1 0.0005926 0.0005926 0.0005926 0.07% Castro::Castro() 1 0.0005619 0.0005619 0.0005619 0.06% Gravity::swapTimeLevels() 10 0.000442 0.000442 0.000442 0.05% MLMG::MLResNormInf() 11 0.0003355 0.0003355 0.0003355 0.04% MultiFab::max() 11 0.000327 0.000327 0.000327 0.04% Castro::buildMetrics() 1 0.0002732 0.0002732 0.0002732 0.03% MLLinOp::define() 11 0.0002321 0.0002321 0.0002321 0.03% MLMG::MLRhsNormInf() 11 0.0002226 0.0002226 0.0002226 0.02% MLLinOp::defineGrids() 11 0.0002205 0.0002205 0.0002205 0.02% Castro::create_source_corrector() 10 0.0001583 0.0001583 0.0001583 0.02% FabArrayBase::FB::FB() 56 9.202e-05 9.202e-05 9.202e-05 0.01% Castro::enforce_consistent_e() 1 7.613e-05 7.613e-05 7.613e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.8e-05 5.8e-05 5.8e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.403e-05 5.403e-05 5.403e-05 0.01% makeSFC 55 4.136e-05 4.136e-05 4.136e-05 0.00% StateData::define() 4 4.064e-05 4.064e-05 4.064e-05 0.00% Castro::swap_state_time_levels() 10 3.57e-05 3.57e-05 3.57e-05 0.00% Amr::writeSmallPlotFile() 1 3.181e-05 3.181e-05 3.181e-05 0.00% Castro::initMFs() 1 3.132e-05 3.132e-05 3.132e-05 0.00% DistributionMapping::Distribute() 56 1.596e-05 1.596e-05 1.596e-05 0.00% Amr::initSubcycle() 1 1.193e-05 1.193e-05 1.193e-05 0.00% AmrLevel::checkPointPost() 3 5.103e-06 5.103e-06 5.103e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.264e-06 4.264e-06 4.264e-06 0.00% Castro::retry_advance_ctu() 10 4.063e-06 4.063e-06 4.063e-06 0.00% Gravity::set_mass_offset() 11 3.883e-06 3.883e-06 3.883e-06 0.00% Castro::FluxRegCrseInit 10 2.773e-06 2.773e-06 2.773e-06 0.00% Castro::FluxRegFineAdd() 10 2.509e-06 2.509e-06 2.509e-06 0.00% AmrLevel::checkPointPre() 3 2.218e-06 2.218e-06 2.218e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.134e-06 2.134e-06 2.134e-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 93 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1052 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1586 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3724 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7514 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2142 B 2048 KiB Gravity::solve_for_phi() 80 80 589 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 340 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 216 KiB 671 KiB Castro::estTimeStep() 21 21 3370 B 480 KiB VisMF::Write(FabArray) 656 656 3485 B 320 KiB Castro::normalize_species() 62 62 7359 B 320 KiB amrex::average_down 1067 1067 1276 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1166 B 257 KiB amrex::Dot() 1360 1360 3611 B 160 KiB FabArray::norminf() 1143 1143 3499 B 160 KiB check_for_negative_density() 10 10 321 B 160 KiB Castro::initData() 1 1 55 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 3637 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 8702 8702 232 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3935 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 383 B 1248 B MLCGSolver::bicgstab 410 410 107 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 653 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 433 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3637 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 4351 4351 230 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3935 B 6144 B Gravity::get_new_grav_vector() 3 3 2886 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 310 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 28 B 400 B FabArray::norminf() 1143 1143 11 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.01-1-gf1ec8df75c56) finalized Initializing AMReX (24.01-1-gf1ec8df75c56)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-1-gf1ec8df75c56) initialized Starting run at 09:08:32 UTC on 2024-01-08. Successfully read inputs file ... Castro git describe: 24.01-5-g92138399c AMReX git describe: 24.01-1-gf1ec8df75 Microphysics git describe: 24.01-8-g518b421f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.495503338 Restart time = 0.077524509 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.070534868 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.049174116 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.07810735 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.084177789 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.055042155 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028609478 seconds Ending run at 09:08:32 UTC on 2024-01-08. Run time = 0.44436928 Run time without initialization = 0.366186448 Average number of zones advanced per microsecond: 3.579 Average number of zones advanced per microsecond per rank: 3.579 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4444 ... 0.4444 ... 0.4444 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1372 0.1372 0.1372 30.86% VisMF::Read() 3 0.06587 0.06587 0.06587 14.82% MLCellLinOp::applyBC() 1910 0.03512 0.03512 0.03512 7.90% VisMF::Write(FabArray) 1 0.02596 0.02596 0.02596 5.84% MLPoisson::Fsmooth() 1440 0.01486 0.01486 0.01486 3.34% StateData::FillBoundary(geom) 160 0.01279 0.01279 0.01279 2.88% FillBoundary_nowait() 1730 0.01274 0.01274 0.01274 2.87% Castro::enforce_min_density() 30 0.01207 0.01207 0.01207 2.71% Castro::normalize_species() 30 0.009501 0.009501 0.009501 2.14% amrex::Dot() 484 0.009352 0.009352 0.009352 2.10% FabArray::norminf() 465 0.008965 0.008965 0.008965 2.02% Castro::computeTemp() 30 0.007721 0.007721 0.007721 1.74% FabArray::setVal() 501 0.006466 0.006466 0.006466 1.46% FabArray::ParallelCopy_nowait() 380 0.006195 0.006195 0.006195 1.39% FabArray::Saxpy() 597 0.005834 0.005834 0.005834 1.31% MLCellLinOp::defineAuxData() 6 0.005649 0.005649 0.005649 1.27% Gravity::fill_multipole_BCs() 6 0.005615 0.005615 0.005615 1.26% amrex::Copy() 221 0.005459 0.005459 0.005459 1.23% StateDataPhysBCFunct::() 20 0.004952 0.004952 0.004952 1.11% Amr::restart() 1 0.004817 0.004817 0.004817 1.08% MLPoisson::Fapply() 464 0.004494 0.004494 0.004494 1.01% FabArray::Xpay() 325 0.003448 0.003448 0.003448 0.78% MLMG::addInterpCorrection() 180 0.003171 0.003171 0.003171 0.71% Castro::estTimeStep() 10 0.002907 0.002907 0.002907 0.65% Castro::enforce_speed_limit() 30 0.002799 0.002799 0.002799 0.63% amrex::average_down 180 0.002752 0.002752 0.002752 0.62% Amr::writePlotFile() 1 0.002504 0.002504 0.002504 0.56% BndryData::define() 6 0.002126 0.002126 0.002126 0.48% Castro::reset_internal_energy(MultiFab) 30 0.002033 0.002033 0.002033 0.46% Castro::construct_new_gravity_source() 5 0.001731 0.001731 0.001731 0.39% amrex::Add() 36 0.001536 0.001536 0.001536 0.35% Castro::construct_old_gravity_source() 5 0.001498 0.001498 0.001498 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009695 0.0009695 0.0009695 0.22% check_for_negative_density() 5 0.0009425 0.0009425 0.0009425 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008846 0.0008846 0.0008846 0.20% MLCellLinOp::setLevelBC() 6 0.0008781 0.0008781 0.0008781 0.20% Castro::reset_internal_energy(Fab) 240 0.0008233 0.0008233 0.0008233 0.19% MLCellLinOp::prepareForSolve() 6 0.0007714 0.0007714 0.0007714 0.17% MLCGSolver::bicgstab 36 0.0007383 0.0007383 0.0007383 0.17% FabArray::mult() 22 0.0006957 0.0006957 0.0006957 0.16% FabArray::setDomainBndry() 20 0.0006902 0.0006902 0.0006902 0.16% MultiFab::contains_nan() 10 0.0006588 0.0006588 0.0006588 0.15% MLCellLinOp::compGrad() 6 0.0006074 0.0006074 0.0006074 0.14% MLMG::prepareForSolve() 6 0.0005604 0.0005604 0.0005604 0.13% MLCellLinOp::smooth() 720 0.0004872 0.0004872 0.0004872 0.11% Amr::InitAmr() 1 0.000476 0.000476 0.000476 0.11% FabArrayBase::CPC::define() 244 0.0004142 0.0004142 0.0004142 0.09% FabArray::FillBoundary() 1730 0.000374 0.000374 0.000374 0.08% FabArrayBase::getCPC() 632 0.0003639 0.0003639 0.0003639 0.08% Gravity::get_old_grav_vector() 5 0.0003199 0.0003199 0.0003199 0.07% main() 1 0.0002965 0.0002965 0.0002965 0.07% Gravity::get_new_grav_vector() 5 0.0002633 0.0002633 0.0002633 0.06% FabArrayBase::getFB() 1730 0.0002524 0.0002524 0.0002524 0.06% Amr::coarseTimeStep() 5 0.0002459 0.0002459 0.0002459 0.06% MultiFab::max() 6 0.0002139 0.0002139 0.0002139 0.05% AmrLevel::FillPatch() 20 0.0002055 0.0002055 0.0002055 0.05% MLCellLinOp::apply() 464 0.000174 0.000174 0.000174 0.04% MLCGSolver::ParallelAllReduce 798 0.0001514 0.0001514 0.0001514 0.03% MLCellLinOp::defineBC() 6 0.0001477 0.0001477 0.0001477 0.03% FabArray::ParallelCopy() 380 0.0001139 0.0001139 0.0001139 0.03% FillPatchIterator::Initialize 20 0.0001083 0.0001083 0.0001083 0.02% Castro::create_source_corrector() 5 0.0001041 0.0001041 0.0001041 0.02% Castro::do_new_sources() 5 9.616e-05 9.616e-05 9.616e-05 0.02% Amr::timeStep() 5 9.525e-05 9.525e-05 9.525e-05 0.02% Castro::subcycle_advance_ctu() 5 9.487e-05 9.487e-05 9.487e-05 0.02% MLLinOp::defineGrids() 6 9.274e-05 9.274e-05 9.274e-05 0.02% Castro::construct_new_source() 25 8.825e-05 8.825e-05 8.825e-05 0.02% MLMG::mgVcycle() 36 8.789e-05 8.789e-05 8.789e-05 0.02% AmrLevel::restart() 1 8.133e-05 8.133e-05 8.133e-05 0.02% MLCellLinOp::correctionResidual() 180 7.847e-05 7.847e-05 7.847e-05 0.02% Gravity::update_max_rhs() 6 7.342e-05 7.342e-05 7.342e-05 0.02% StateData::restartDoit() 4 7.05e-05 7.05e-05 7.05e-05 0.02% Castro::initialize_do_advance() 5 6.841e-05 6.841e-05 6.841e-05 0.02% Castro::do_advance_ctu() 5 6.77e-05 6.77e-05 6.77e-05 0.02% Castro::finalize_do_advance() 5 6.045e-05 6.045e-05 6.045e-05 0.01% Castro::initialize_advance() 5 6.033e-05 6.033e-05 6.033e-05 0.01% FabArrayBase::FB::FB() 26 5.968e-05 5.968e-05 5.968e-05 0.01% Castro::finalize_advance() 5 5.672e-05 5.672e-05 5.672e-05 0.01% Gravity::solve_for_phi() 5 5.438e-05 5.438e-05 5.438e-05 0.01% MLMG:computeResOfCorrection() 180 5.404e-05 5.404e-05 5.404e-05 0.01% MLMG::mgVcycle_down::0 36 4.58e-05 4.58e-05 4.58e-05 0.01% MLMG::actualBottomSolve() 36 4.085e-05 4.085e-05 4.085e-05 0.01% Castro::post_restart() 1 4.048e-05 4.048e-05 4.048e-05 0.01% Castro::clean_state() 30 3.914e-05 3.914e-05 3.914e-05 0.01% Castro::post_timestep() 5 3.781e-05 3.781e-05 3.781e-05 0.01% MLMG::mgVcycle_down::1 36 3.74e-05 3.74e-05 3.74e-05 0.01% MLMG::mgVcycle_down::2 36 3.648e-05 3.648e-05 3.648e-05 0.01% Castro::advance() 5 3.601e-05 3.601e-05 3.601e-05 0.01% MLMG::mgVcycle_down::4 36 3.479e-05 3.479e-05 3.479e-05 0.01% MLMG::solve() 6 3.393e-05 3.393e-05 3.393e-05 0.01% MLMG::mgVcycle_down::3 36 3.392e-05 3.392e-05 3.392e-05 0.01% Amr::writeSmallPlotFile() 1 3.307e-05 3.307e-05 3.307e-05 0.01% Castro::buildMetrics() 1 3.075e-05 3.075e-05 3.075e-05 0.01% MLMG::mgVcycle_up::4 36 2.805e-05 2.805e-05 2.805e-05 0.01% Castro::construct_old_source() 25 2.662e-05 2.662e-05 2.662e-05 0.01% Castro::initMFs() 1 2.609e-05 2.609e-05 2.609e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.483e-05 2.483e-05 2.483e-05 0.01% Castro::swap_state_time_levels() 5 2.465e-05 2.465e-05 2.465e-05 0.01% MLMG::oneIter() 36 2.436e-05 2.436e-05 2.436e-05 0.01% MLMG::mgVcycle_up::0 36 2.168e-05 2.168e-05 2.168e-05 0.00% MLCellLinOp::solutionResidual() 42 2.16e-05 2.16e-05 2.16e-05 0.00% MLMG::mgVcycle_up::3 36 2.13e-05 2.13e-05 2.13e-05 0.00% MLMG::mgVcycle_up::2 36 1.994e-05 1.994e-05 1.994e-05 0.00% MLMG::mgVcycle_up::1 36 1.94e-05 1.94e-05 1.94e-05 0.00% MLMG::ResNormInf() 42 1.829e-05 1.829e-05 1.829e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.688e-05 1.688e-05 1.688e-05 0.00% FillPatchSingleLevel 20 1.653e-05 1.653e-05 1.653e-05 0.00% MLMG::mgVcycle_bottom 36 1.48e-05 1.48e-05 1.48e-05 0.00% makeSFC 30 1.466e-05 1.466e-05 1.466e-05 0.00% MLMG::computeResidual() 36 1.437e-05 1.437e-05 1.437e-05 0.00% MLPoisson::define() 6 1.396e-05 1.396e-05 1.396e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.346e-05 1.346e-05 1.346e-05 0.00% Castro::construct_new_gravity() 5 1.241e-05 1.241e-05 1.241e-05 0.00% Castro::do_old_sources() 5 1.193e-05 1.193e-05 1.193e-05 0.00% Amr::initSubcycle() 1 9.638e-06 9.638e-06 9.638e-06 0.00% DistributionMapping::Distribute() 31 9.615e-06 9.615e-06 9.615e-06 0.00% MLPoisson::prepareForSolve() 6 9.325e-06 9.325e-06 9.325e-06 0.00% MLMG::computeMLResidual() 6 8.848e-06 8.848e-06 8.848e-06 0.00% Gravity::actual_multilevel_solve() 1 8.175e-06 8.175e-06 8.175e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.984e-06 6.984e-06 6.984e-06 0.00% MLLinOp::define() 6 6.22e-06 6.22e-06 6.22e-06 0.00% Castro::construct_old_gravity() 5 6.072e-06 6.072e-06 6.072e-06 0.00% Castro::apply_source_to_state() 10 5.861e-06 5.861e-06 5.861e-06 0.00% Castro::check_for_nan() 10 5.71e-06 5.71e-06 5.71e-06 0.00% Gravity::swapTimeLevels() 5 5.685e-06 5.685e-06 5.685e-06 0.00% Castro::FluxRegCrseInit 5 4.537e-06 4.537e-06 4.537e-06 0.00% Castro::retry_advance_ctu() 5 3.739e-06 3.739e-06 3.739e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.597e-06 3.597e-06 3.597e-06 0.00% Gravity::set_mass_offset() 6 3.539e-06 3.539e-06 3.539e-06 0.00% MLMG::getGradSolution() 6 3.477e-06 3.477e-06 3.477e-06 0.00% Castro::computeNewDt() 5 3.474e-06 3.474e-06 3.474e-06 0.00% Castro::expand_state() 5 2.866e-06 2.866e-06 2.866e-06 0.00% MLLinOp::makeSubCommunicator() 6 2.583e-06 2.583e-06 2.583e-06 0.00% MLMG::MLResNormInf() 6 2.243e-06 2.243e-06 2.243e-06 0.00% MLMG::MLRhsNormInf() 6 2.146e-06 2.146e-06 2.146e-06 0.00% Castro::FluxRegFineAdd() 5 1.277e-06 1.277e-06 1.277e-06 0.00% Amr::init() 1 9.46e-07 9.46e-07 9.46e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4444 0.4444 0.4444 100.00% Amr::coarseTimeStep() 5 0.3373 0.3373 0.3373 75.89% Amr::timeStep() 5 0.3352 0.3352 0.3352 75.42% Castro::advance() 5 0.3287 0.3287 0.3287 73.97% Castro::subcycle_advance_ctu() 5 0.3211 0.3211 0.3211 72.26% Castro::do_advance_ctu() 5 0.321 0.321 0.321 72.24% Castro::construct_ctu_hydro_source() 5 0.1428 0.1428 0.1428 32.13% Castro::construct_new_gravity() 5 0.1352 0.1352 0.1352 30.42% Gravity::solve_phi_with_mlmg() 6 0.1329 0.1329 0.1329 29.92% Gravity::solve_for_phi() 5 0.1273 0.1273 0.1273 28.64% Gravity::actual_solve_with_mlmg() 6 0.1271 0.1271 0.1271 28.60% MLMG::solve() 6 0.115 0.115 0.115 25.88% MLMG::oneIter() 36 0.1074 0.1074 0.1074 24.17% MLMG::mgVcycle() 36 0.1058 0.1058 0.1058 23.82% Amr::init() 1 0.07757 0.07757 0.07757 17.46% Amr::restart() 1 0.07757 0.07757 0.07757 17.46% AmrLevel::restart() 1 0.06625 0.06625 0.06625 14.91% StateData::restartDoit() 4 0.06616 0.06616 0.06616 14.89% VisMF::Read() 3 0.06587 0.06587 0.06587 14.82% MLCellLinOp::smooth() 720 0.05247 0.05247 0.05247 11.81% MLCellLinOp::applyBC() 1910 0.04855 0.04855 0.04855 10.93% Castro::clean_state() 30 0.03498 0.03498 0.03498 7.87% MLMG::mgVcycle_bottom 36 0.03196 0.03196 0.03196 7.19% MLMG::actualBottomSolve() 36 0.03195 0.03195 0.03195 7.19% MLCGSolver::bicgstab 36 0.03162 0.03162 0.03162 7.11% Amr::writePlotFile() 1 0.02872 0.02872 0.02872 6.46% VisMF::Write(FabArray) 1 0.02596 0.02596 0.02596 5.84% AmrLevel::FillPatch() 20 0.02277 0.02277 0.02277 5.12% FillPatchIterator::Initialize 20 0.02067 0.02067 0.02067 4.65% FillPatchIterator::FillFromLevel0() 20 0.01987 0.01987 0.01987 4.47% FillPatchSingleLevel 20 0.01985 0.01985 0.01985 4.47% StateDataPhysBCFunct::() 20 0.01775 0.01775 0.01775 3.99% MLCellLinOp::apply() 464 0.01583 0.01583 0.01583 3.56% MLPoisson::Fsmooth() 1440 0.01486 0.01486 0.01486 3.34% MLMG::mgVcycle_down::0 36 0.01475 0.01475 0.01475 3.32% FabArray::FillBoundary() 1730 0.01343 0.01343 0.01343 3.02% Castro::do_new_sources() 5 0.01336 0.01336 0.01336 3.01% FillBoundary_nowait() 1730 0.01305 0.01305 0.01305 2.94% StateData::FillBoundary(geom) 160 0.01279 0.01279 0.01279 2.88% Castro::enforce_min_density() 30 0.01207 0.01207 0.01207 2.71% MLMG::mgVcycle_up::0 36 0.01111 0.01111 0.01111 2.50% Castro::initialize_do_advance() 5 0.01108 0.01108 0.01108 2.49% Castro::computeTemp() 30 0.01058 0.01058 0.01058 2.38% Castro::normalize_species() 30 0.009501 0.009501 0.009501 2.14% MLPoisson::define() 6 0.009429 0.009429 0.009429 2.12% amrex::Dot() 484 0.009352 0.009352 0.009352 2.10% Castro::do_old_sources() 5 0.009318 0.009318 0.009318 2.10% FabArray::norminf() 465 0.008965 0.008965 0.008965 2.02% MLMG:computeResOfCorrection() 180 0.008823 0.008823 0.008823 1.99% MLCellLinOp::correctionResidual() 180 0.008769 0.008769 0.008769 1.97% Gravity::get_new_grav_vector() 5 0.007808 0.007808 0.007808 1.76% Castro::construct_old_gravity() 5 0.007622 0.007622 0.007622 1.72% Gravity::get_old_grav_vector() 5 0.007616 0.007616 0.007616 1.71% MLMG::mgVcycle_down::1 36 0.007381 0.007381 0.007381 1.66% Castro::initialize_advance() 5 0.007235 0.007235 0.007235 1.63% MLMG::mgVcycle_down::2 36 0.006729 0.006729 0.006729 1.51% FabArray::ParallelCopy() 380 0.006696 0.006696 0.006696 1.51% MLMG::mgVcycle_down::3 36 0.006592 0.006592 0.006592 1.48% FabArray::ParallelCopy_nowait() 380 0.006582 0.006582 0.006582 1.48% MLMG::mgVcycle_down::4 36 0.006522 0.006522 0.006522 1.47% FabArray::setVal() 501 0.006466 0.006466 0.006466 1.46% MLCellLinOp::defineAuxData() 6 0.00643 0.00643 0.00643 1.45% Castro::post_timestep() 5 0.006341 0.006341 0.006341 1.43% Castro::post_restart() 1 0.006321 0.006321 0.006321 1.42% Castro::expand_state() 5 0.006032 0.006032 0.006032 1.36% Gravity::multilevel_solve_for_new_phi() 1 0.005921 0.005921 0.005921 1.33% Gravity::actual_multilevel_solve() 1 0.005904 0.005904 0.005904 1.33% FabArray::Saxpy() 597 0.005834 0.005834 0.005834 1.31% Gravity::fill_multipole_BCs() 6 0.005741 0.005741 0.005741 1.29% MLCGSolver::ParallelAllReduce 798 0.005699 0.005699 0.005699 1.28% MLMG::addInterpCorrection() 180 0.005478 0.005478 0.005478 1.23% amrex::Copy() 221 0.005459 0.005459 0.005459 1.23% MLMG::mgVcycle_up::4 36 0.005279 0.005279 0.005279 1.19% MLMG::mgVcycle_up::1 36 0.00525 0.00525 0.00525 1.18% MLMG::mgVcycle_up::2 36 0.005132 0.005132 0.005132 1.15% amrex::average_down 180 0.005058 0.005058 0.005058 1.14% MLMG::mgVcycle_up::3 36 0.005049 0.005049 0.005049 1.14% MLPoisson::Fapply() 464 0.004494 0.004494 0.004494 1.01% MLCellLinOp::solutionResidual() 42 0.003554 0.003554 0.003554 0.80% FabArray::Xpay() 325 0.003448 0.003448 0.003448 0.78% Castro::estTimeStep() 10 0.002907 0.002907 0.002907 0.65% MLMG::prepareForSolve() 6 0.002882 0.002882 0.002882 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002856 0.002856 0.002856 0.64% MLCellLinOp::defineBC() 6 0.002853 0.002853 0.002853 0.64% Castro::enforce_speed_limit() 30 0.002799 0.002799 0.002799 0.63% MLMG::computeResidual() 36 0.002768 0.002768 0.002768 0.62% BndryData::define() 6 0.002706 0.002706 0.002706 0.61% Castro::computeNewDt() 5 0.001849 0.001849 0.001849 0.42% Castro::construct_new_source() 25 0.001819 0.001819 0.001819 0.41% Castro::construct_new_gravity_source() 5 0.001731 0.001731 0.001731 0.39% amrex::Add() 36 0.001536 0.001536 0.001536 0.35% Castro::construct_old_source() 25 0.001524 0.001524 0.001524 0.34% Castro::construct_old_gravity_source() 5 0.001498 0.001498 0.001498 0.34% Castro::finalize_do_advance() 5 0.001123 0.001123 0.001123 0.25% MLMG::ResNormInf() 42 0.0009852 0.0009852 0.0009852 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009695 0.0009695 0.0009695 0.22% Castro::apply_source_to_state() 10 0.0009561 0.0009561 0.0009561 0.22% check_for_negative_density() 5 0.0009425 0.0009425 0.0009425 0.21% MLMG::getGradSolution() 6 0.0008908 0.0008908 0.0008908 0.20% MLCellLinOp::compGrad() 6 0.0008873 0.0008873 0.0008873 0.20% MLCellLinOp::setLevelBC() 6 0.0008781 0.0008781 0.0008781 0.20% Castro::reset_internal_energy(Fab) 240 0.0008233 0.0008233 0.0008233 0.19% MLMG::computeMLResidual() 6 0.0008091 0.0008091 0.0008091 0.18% MLPoisson::prepareForSolve() 6 0.0007807 0.0007807 0.0007807 0.18% FabArrayBase::getCPC() 632 0.0007781 0.0007781 0.0007781 0.18% Gravity::update_max_rhs() 6 0.0007756 0.0007756 0.0007756 0.17% MLCellLinOp::prepareForSolve() 6 0.0007714 0.0007714 0.0007714 0.17% FabArray::mult() 22 0.0006957 0.0006957 0.0006957 0.16% FabArray::setDomainBndry() 20 0.0006902 0.0006902 0.0006902 0.16% Castro::check_for_nan() 10 0.0006645 0.0006645 0.0006645 0.15% MultiFab::contains_nan() 10 0.0006588 0.0006588 0.0006588 0.15% Amr::InitAmr() 1 0.0004856 0.0004856 0.0004856 0.11% FabArrayBase::CPC::define() 244 0.0004142 0.0004142 0.0004142 0.09% Castro::finalize_advance() 5 0.0003343 0.0003343 0.0003343 0.08% FabArrayBase::getFB() 1730 0.0003121 0.0003121 0.0003121 0.07% Gravity::swapTimeLevels() 5 0.000234 0.000234 0.000234 0.05% MultiFab::max() 6 0.0002139 0.0002139 0.0002139 0.05% MLMG::MLResNormInf() 6 0.0001927 0.0001927 0.0001927 0.04% Castro::buildMetrics() 1 0.0001568 0.0001568 0.0001568 0.04% MLLinOp::define() 6 0.0001315 0.0001315 0.0001315 0.03% MLLinOp::defineGrids() 6 0.0001252 0.0001252 0.0001252 0.03% MLMG::MLRhsNormInf() 6 0.0001194 0.0001194 0.0001194 0.03% Castro::create_source_corrector() 5 0.0001041 0.0001041 0.0001041 0.02% FabArrayBase::FB::FB() 26 5.968e-05 5.968e-05 5.968e-05 0.01% Amr::writeSmallPlotFile() 1 3.307e-05 3.307e-05 3.307e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.993e-05 2.993e-05 2.993e-05 0.01% Castro::initMFs() 1 2.609e-05 2.609e-05 2.609e-05 0.01% Castro::swap_state_time_levels() 5 2.465e-05 2.465e-05 2.465e-05 0.01% makeSFC 30 2.294e-05 2.294e-05 2.294e-05 0.01% Amr::initSubcycle() 1 9.638e-06 9.638e-06 9.638e-06 0.00% DistributionMapping::Distribute() 31 9.615e-06 9.615e-06 9.615e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.926e-06 4.926e-06 4.926e-06 0.00% Castro::FluxRegCrseInit 5 4.537e-06 4.537e-06 4.537e-06 0.00% Castro::retry_advance_ctu() 5 3.739e-06 3.739e-06 3.739e-06 0.00% Gravity::set_mass_offset() 6 3.539e-06 3.539e-06 3.539e-06 0.00% MLLinOp::makeSubCommunicator() 6 2.583e-06 2.583e-06 2.583e-06 0.00% Castro::FluxRegFineAdd() 5 1.277e-06 1.277e-06 1.277e-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 189 MiB 9042 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 1022 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1723 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 6353 KiB 14 MiB MLMG::prepareForSolve() 361 361 3175 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 177 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 179 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6340 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3455 B 2048 KiB Gravity::solve_for_phi() 40 40 585 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 293 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 188 KiB 671 KiB Castro::estTimeStep() 10 10 3091 B 480 KiB VisMF::Write(FabArray) 112 112 2225 B 320 KiB Castro::normalize_species() 30 30 6930 B 320 KiB amrex::average_down 469 469 1100 B 257 KiB MLMG::addInterpCorrection() 468 468 1047 B 257 KiB amrex::Dot() 592 592 3104 B 160 KiB FabArray::norminf() 501 501 3108 B 160 KiB check_for_negative_density() 5 5 340 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 3078 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 248 B 9648 B MLCellLinOp::applyBC() 3820 3820 197 B 9344 B amrex::Copy() 56 56 5474 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 329 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1193 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 154 KiB 3584 KiB VisMF::Read() 24 24 229 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3078 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 248 B 9648 B MLCellLinOp::applyBC() 1910 1910 196 B 9328 B amrex::Copy() 56 56 5474 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2488 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 489 B 1296 B amrex::average_down 37 37 199 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 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.01-1-gf1ec8df75c56) finalized