Initializing AMReX (24.04-26-gb029e4f335b0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-26-gb029e4f335b0) initialized Starting run at 08:57:57 UTC on 2024-04-26. Successfully read inputs file ... Castro git describe: 24.04-19-g9935adf51 AMReX git describe: 24.04-26-gb029e4f33 Microphysics git describe: 24.04-9-g4ad225b7 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.045270281 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025097724 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.066106414 [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.069721224 [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.070449506 [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.055581732 [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.069570384 [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.065619484 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.061373699 [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.071418707 [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.070386602 [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.053496333 [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.050828749 [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.043363711 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025207047 seconds Ending run at 08:57:58 UTC on 2024-04-26. Run time = 0.896095845 Run time without initialization = 0.773839332 Average number of zones advanced per microsecond: 3.388 Average number of zones advanced per microsecond per rank: 3.388 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8961 ... 0.8961 ... 0.8961 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2460 0.2460 0.2460 27.45% VisMF::Write(FabArray) 11 0.196 0.196 0.196 21.87% MLCellLinOp::applyBC() 4298 0.08125 0.08125 0.08125 9.07% MLPoisson::Fsmooth() 3240 0.0339 0.0339 0.0339 3.78% FillBoundary_nowait() 3893 0.03016 0.03016 0.03016 3.37% StateData::FillBoundary(geom) 328 0.02671 0.02671 0.02671 2.98% amrex::Dot() 1100 0.02189 0.02189 0.02189 2.44% FabArray::norminf() 1048 0.02022 0.02022 0.02022 2.26% Castro::normalize_species() 62 0.01976 0.01976 0.01976 2.21% MLCellLinOp::defineAuxData() 11 0.01723 0.01723 0.01723 1.92% Castro::computeTemp() 63 0.01676 0.01676 0.01676 1.87% FabArray::ParallelCopy_nowait() 851 0.01384 0.01384 0.01384 1.54% FabArray::setVal() 1054 0.01373 0.01373 0.01373 1.53% FabArray::Saxpy() 1353 0.01335 0.01335 0.01335 1.49% Castro::enforce_min_density() 62 0.0122 0.0122 0.0122 1.36% StateDataPhysBCFunct::() 41 0.01157 0.01157 0.01157 1.29% amrex::Copy() 469 0.01102 0.01102 0.01102 1.23% MLPoisson::Fapply() 1047 0.01052 0.01052 0.01052 1.17% Gravity::fill_multipole_BCs() 11 0.009857 0.009857 0.009857 1.10% FabArray::Xpay() 730 0.007931 0.007931 0.007931 0.89% MLMG::addInterpCorrection() 405 0.007075 0.007075 0.007075 0.79% amrex::average_down 405 0.0063 0.0063 0.0063 0.70% Amr::checkPoint() 3 0.005995 0.005995 0.005995 0.67% Castro::estTimeStep() 21 0.005896 0.005896 0.005896 0.66% Castro::reset_internal_energy(MultiFab) 63 0.004798 0.004798 0.004798 0.54% Castro::enforce_speed_limit() 62 0.004715 0.004715 0.004715 0.53% BndryData::define() 11 0.004118 0.004118 0.004118 0.46% amrex::Add() 81 0.003591 0.003591 0.003591 0.40% Castro::construct_new_gravity_source() 10 0.003222 0.003222 0.003222 0.36% Castro::construct_old_gravity_source() 10 0.002695 0.002695 0.002695 0.30% Amr::writePlotFile() 2 0.002136 0.002136 0.002136 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001848 0.001848 0.001848 0.21% check_for_negative_density() 10 0.001838 0.001838 0.001838 0.21% Castro::reset_internal_energy(Fab) 504 0.001782 0.001782 0.001782 0.20% MLCGSolver::bicgstab 81 0.00163 0.00163 0.00163 0.18% MLCellLinOp::setLevelBC() 11 0.001629 0.001629 0.001629 0.18% Gravity::actual_solve_with_mlmg() 11 0.00155 0.00155 0.00155 0.17% FabArray::setDomainBndry() 41 0.0014 0.0014 0.0014 0.16% Castro::initData() 1 0.001388 0.001388 0.001388 0.15% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% MLCellLinOp::prepareForSolve() 11 0.001363 0.001363 0.001363 0.15% MultiFab::contains_nan() 20 0.001269 0.001269 0.001269 0.14% MLCellLinOp::compGrad() 11 0.001081 0.001081 0.001081 0.12% MLCellLinOp::smooth() 1620 0.001064 0.001064 0.001064 0.12% MLMG::prepareForSolve() 11 0.000968 0.000968 0.000968 0.11% FabArrayBase::getCPC() 1313 0.0008041 0.0008041 0.0008041 0.09% FabArray::FillBoundary() 3893 0.0007533 0.0007533 0.0007533 0.08% Gravity::get_new_grav_vector() 11 0.000617 0.000617 0.000617 0.07% Gravity::get_old_grav_vector() 10 0.0004825 0.0004825 0.0004825 0.05% MLCellLinOp::apply() 1047 0.0004181 0.0004181 0.0004181 0.05% AmrLevel::FillPatch() 41 0.0004131 0.0004131 0.0004131 0.05% Amr::coarseTimeStep() 10 0.0003939 0.0003939 0.0003939 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003121 0.0003121 0.0003121 0.03% main() 1 0.0002916 0.0002916 0.0002916 0.03% Castro::subcycle_advance_ctu() 10 0.0002774 0.0002774 0.0002774 0.03% MLCellLinOp::defineBC() 11 0.0002704 0.0002704 0.0002704 0.03% FabArray::ParallelCopy() 851 0.0002623 0.0002623 0.0002623 0.03% FillPatchIterator::Initialize 41 0.0002215 0.0002215 0.0002215 0.02% MLMG::mgVcycle() 81 0.0002072 0.0002072 0.0002072 0.02% MLCellLinOp::correctionResidual() 405 0.0001641 0.0001641 0.0001641 0.02% Amr::timeStep() 10 0.0001471 0.0001471 0.0001471 0.02% Castro::advance() 10 0.0001265 0.0001265 0.0001265 0.01% StateData::checkPoint() 12 0.0001107 0.0001107 0.0001107 0.01% MLMG:computeResOfCorrection() 405 0.0001084 0.0001084 0.0001084 0.01% Gravity::solve_for_phi() 10 0.000106 0.000106 0.000106 0.01% MLMG::actualBottomSolve() 81 8.099e-05 8.099e-05 8.099e-05 0.01% Castro::clean_state() 62 8.093e-05 8.093e-05 8.093e-05 0.01% MLMG::mgVcycle_down::0 81 7.948e-05 7.948e-05 7.948e-05 0.01% Castro::initialize_advance() 10 7.512e-05 7.512e-05 7.512e-05 0.01% MLMG::solve() 11 7.078e-05 7.078e-05 7.078e-05 0.01% MLMG::mgVcycle_down::1 81 7.028e-05 7.028e-05 7.028e-05 0.01% MLMG::mgVcycle_down::2 81 6.778e-05 6.778e-05 6.778e-05 0.01% MLMG::mgVcycle_down::4 81 6.341e-05 6.341e-05 6.341e-05 0.01% AmrLevel::checkPoint() 3 6.099e-05 6.099e-05 6.099e-05 0.01% MLMG::mgVcycle_down::3 81 5.942e-05 5.942e-05 5.942e-05 0.01% Castro::initialize_do_advance() 10 5.646e-05 5.646e-05 5.646e-05 0.01% MLMG::mgVcycle_up::4 81 5.276e-05 5.276e-05 5.276e-05 0.01% MLMG::oneIter() 81 5.167e-05 5.167e-05 5.167e-05 0.01% Castro::construct_new_source() 50 4.961e-05 4.961e-05 4.961e-05 0.01% MLMG::mgVcycle_up::0 81 4.891e-05 4.891e-05 4.891e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.875e-05 4.875e-05 4.875e-05 0.01% MLMG::mgVcycle_up::3 81 4.74e-05 4.74e-05 4.74e-05 0.01% FillPatchSingleLevel 41 4.648e-05 4.648e-05 4.648e-05 0.01% MLMG::mgVcycle_up::1 81 4.564e-05 4.564e-05 4.564e-05 0.01% Castro::do_advance_ctu() 10 4.558e-05 4.558e-05 4.558e-05 0.01% MLCellLinOp::solutionResidual() 92 4.406e-05 4.406e-05 4.406e-05 0.00% MLMG::mgVcycle_up::2 81 4.406e-05 4.406e-05 4.406e-05 0.00% Castro::finalize_do_advance() 10 4.27e-05 4.27e-05 4.27e-05 0.00% MLMG::ResNormInf() 92 3.479e-05 3.479e-05 3.479e-05 0.00% MLMG::computeResidual() 81 3.343e-05 3.343e-05 3.343e-05 0.00% Amr::defBaseLevel() 1 3.167e-05 3.167e-05 3.167e-05 0.00% MLMG::mgVcycle_bottom 81 3.036e-05 3.036e-05 3.036e-05 0.00% Castro::construct_new_gravity() 10 2.853e-05 2.853e-05 2.853e-05 0.00% MLPoisson::define() 11 2.468e-05 2.468e-05 2.468e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.298e-05 2.298e-05 2.298e-05 0.00% Castro::do_old_sources() 10 2.063e-05 2.063e-05 2.063e-05 0.00% Castro::do_new_sources() 10 2.02e-05 2.02e-05 2.02e-05 0.00% Amr::FinalizeInit() 1 1.904e-05 1.904e-05 1.904e-05 0.00% Castro::construct_old_source() 50 1.891e-05 1.891e-05 1.891e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.672e-05 1.672e-05 1.672e-05 0.00% Castro::check_for_nan() 20 1.633e-05 1.633e-05 1.633e-05 0.00% Gravity::actual_multilevel_solve() 1 1.446e-05 1.446e-05 1.446e-05 0.00% Castro::apply_source_to_state() 20 1.316e-05 1.316e-05 1.316e-05 0.00% MLMG::computeMLResidual() 11 1.105e-05 1.105e-05 1.105e-05 0.00% Castro::construct_old_gravity() 10 1.016e-05 1.016e-05 1.016e-05 0.00% Castro::post_timestep() 10 9.645e-06 9.645e-06 9.645e-06 0.00% MLMG::getGradSolution() 11 6.474e-06 6.474e-06 6.474e-06 0.00% MLPoisson::prepareForSolve() 11 6.407e-06 6.407e-06 6.407e-06 0.00% Castro::computeNewDt() 9 6.232e-06 6.232e-06 6.232e-06 0.00% Amr::InitializeInit() 1 6.022e-06 6.022e-06 6.022e-06 0.00% Castro::expand_state() 10 5.691e-06 5.691e-06 5.691e-06 0.00% Castro::post_init() 1 3.884e-06 3.884e-06 3.884e-06 0.00% Amr::init() 1 2.186e-06 2.186e-06 2.186e-06 0.00% Amr::initialInit() 1 1.244e-06 1.244e-06 1.244e-06 0.00% Castro::post_regrid() 1 1.11e-06 1.11e-06 1.11e-06 0.00% Other 4704 0.003282 0.003282 0.003282 0.37% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8961 0.8961 0.8961 100.00% Amr::coarseTimeStep() 10 0.7484 0.7484 0.7484 83.51% Amr::timeStep() 10 0.6356 0.6356 0.6356 70.93% Castro::advance() 10 0.6237 0.6237 0.6237 69.60% Castro::subcycle_advance_ctu() 10 0.6086 0.6086 0.6086 67.91% Castro::do_advance_ctu() 10 0.6083 0.6083 0.6083 67.88% Gravity::solve_phi_with_mlmg() 11 0.304 0.304 0.304 33.92% Gravity::actual_solve_with_mlmg() 11 0.2937 0.2937 0.2937 32.77% Castro::construct_new_gravity() 10 0.2784 0.2784 0.2784 31.07% MLMG::solve() 11 0.2645 0.2645 0.2645 29.51% Gravity::solve_for_phi() 10 0.262 0.262 0.262 29.24% Castro::construct_ctu_hydro_source() 10 0.2574 0.2574 0.2574 28.72% MLMG::oneIter() 81 0.2488 0.2488 0.2488 27.76% MLMG::mgVcycle() 81 0.2451 0.2451 0.2451 27.36% VisMF::Write(FabArray) 11 0.196 0.196 0.196 21.87% Amr::checkPoint() 3 0.1544 0.1544 0.1544 17.23% AmrLevel::checkPoint() 3 0.1484 0.1484 0.1484 16.56% StateData::checkPoint() 12 0.1483 0.1483 0.1483 16.55% MLCellLinOp::smooth() 1620 0.1217 0.1217 0.1217 13.58% Amr::init() 1 0.1215 0.1215 0.1215 13.56% MLCellLinOp::applyBC() 4298 0.1129 0.1129 0.1129 12.59% MLMG::mgVcycle_bottom 81 0.07404 0.07404 0.07404 8.26% MLMG::actualBottomSolve() 81 0.07401 0.07401 0.07401 8.26% MLCGSolver::bicgstab 81 0.07319 0.07319 0.07319 8.17% Castro::clean_state() 62 0.05902 0.05902 0.05902 6.59% Amr::initialInit() 1 0.05105 0.05105 0.05105 5.70% Amr::writePlotFile() 2 0.05044 0.05044 0.05044 5.63% AmrLevel::FillPatch() 41 0.0484 0.0484 0.0484 5.40% Amr::FinalizeInit() 1 0.04615 0.04615 0.04615 5.15% Castro::post_init() 1 0.04474 0.04474 0.04474 4.99% FillPatchIterator::Initialize 41 0.04409 0.04409 0.04409 4.92% FillPatchIterator::FillFromLevel0() 41 0.04247 0.04247 0.04247 4.74% FillPatchSingleLevel 41 0.04242 0.04242 0.04242 4.73% Gravity::multilevel_solve_for_new_phi() 1 0.04238 0.04238 0.04238 4.73% Gravity::actual_multilevel_solve() 1 0.04236 0.04236 0.04236 4.73% StateDataPhysBCFunct::() 41 0.03827 0.03827 0.03827 4.27% MLCellLinOp::apply() 1047 0.03655 0.03655 0.03655 4.08% MLMG::mgVcycle_down::0 81 0.03446 0.03446 0.03446 3.85% MLPoisson::Fsmooth() 3240 0.0339 0.0339 0.0339 3.78% FabArray::FillBoundary() 3893 0.0316 0.0316 0.0316 3.53% FillBoundary_nowait() 3893 0.03085 0.03085 0.03085 3.44% StateData::FillBoundary(geom) 328 0.02671 0.02671 0.02671 2.98% MLMG::mgVcycle_up::0 81 0.02592 0.02592 0.02592 2.89% MLPoisson::define() 11 0.0244 0.0244 0.0244 2.72% Castro::computeTemp() 63 0.02334 0.02334 0.02334 2.60% amrex::Dot() 1100 0.02189 0.02189 0.02189 2.44% Castro::initialize_do_advance() 10 0.02173 0.02173 0.02173 2.42% MLMG:computeResOfCorrection() 405 0.02048 0.02048 0.02048 2.29% MLCellLinOp::correctionResidual() 405 0.02038 0.02038 0.02038 2.27% FabArray::norminf() 1048 0.02022 0.02022 0.02022 2.26% Castro::normalize_species() 62 0.01976 0.01976 0.01976 2.21% Castro::do_old_sources() 10 0.0195 0.0195 0.0195 2.18% MLCellLinOp::defineAuxData() 11 0.01871 0.01871 0.01871 2.09% Gravity::get_new_grav_vector() 11 0.0183 0.0183 0.0183 2.04% MLMG::mgVcycle_down::1 81 0.01682 0.01682 0.01682 1.88% MLMG::mgVcycle_down::2 81 0.01565 0.01565 0.01565 1.75% Castro::construct_old_gravity() 10 0.01547 0.01547 0.01547 1.73% Gravity::get_old_grav_vector() 10 0.01546 0.01546 0.01546 1.72% MLMG::mgVcycle_down::3 81 0.01522 0.01522 0.01522 1.70% MLMG::mgVcycle_down::4 81 0.01509 0.01509 0.01509 1.68% FabArray::ParallelCopy() 851 0.01489 0.01489 0.01489 1.66% FabArray::ParallelCopy_nowait() 851 0.01463 0.01463 0.01463 1.63% Castro::initialize_advance() 10 0.01438 0.01438 0.01438 1.60% FabArray::setVal() 1054 0.01373 0.01373 0.01373 1.53% FabArray::Saxpy() 1353 0.01335 0.01335 0.01335 1.49% MLCGSolver::ParallelAllReduce 1809 0.01313 0.01313 0.01313 1.46% Castro::do_new_sources() 10 0.01246 0.01246 0.01246 1.39% MLMG::addInterpCorrection() 405 0.01244 0.01244 0.01244 1.39% Castro::enforce_min_density() 62 0.0122 0.0122 0.0122 1.36% MLMG::mgVcycle_up::1 81 0.01214 0.01214 0.01214 1.35% MLMG::mgVcycle_up::4 81 0.01206 0.01206 0.01206 1.35% MLMG::mgVcycle_up::2 81 0.0119 0.0119 0.0119 1.33% Castro::expand_state() 10 0.01188 0.01188 0.01188 1.33% Castro::post_timestep() 10 0.01177 0.01177 0.01177 1.31% amrex::average_down 405 0.01172 0.01172 0.01172 1.31% MLMG::mgVcycle_up::3 81 0.01163 0.01163 0.01163 1.30% amrex::Copy() 469 0.01102 0.01102 0.01102 1.23% MLPoisson::Fapply() 1047 0.01052 0.01052 0.01052 1.17% Gravity::fill_multipole_BCs() 11 0.0101 0.0101 0.0101 1.13% FabArray::Xpay() 730 0.007931 0.007931 0.007931 0.89% MLCellLinOp::solutionResidual() 92 0.007836 0.007836 0.007836 0.87% Castro::reset_internal_energy(MultiFab) 63 0.00658 0.00658 0.00658 0.73% MLMG::computeResidual() 81 0.006547 0.006547 0.006547 0.73% Castro::estTimeStep() 21 0.005896 0.005896 0.005896 0.66% MLCellLinOp::defineBC() 11 0.005429 0.005429 0.005429 0.61% MLMG::prepareForSolve() 11 0.005306 0.005306 0.005306 0.59% BndryData::define() 11 0.005158 0.005158 0.005158 0.58% Amr::InitializeInit() 1 0.004896 0.004896 0.004896 0.55% Amr::defBaseLevel() 1 0.00489 0.00489 0.00489 0.55% Castro::enforce_speed_limit() 62 0.004715 0.004715 0.004715 0.53% Castro::initData() 1 0.004181 0.004181 0.004181 0.47% amrex::Add() 81 0.003591 0.003591 0.003591 0.40% Castro::construct_new_source() 50 0.003272 0.003272 0.003272 0.37% Castro::construct_new_gravity_source() 10 0.003222 0.003222 0.003222 0.36% Castro::construct_old_source() 50 0.002714 0.002714 0.002714 0.30% Castro::construct_old_gravity_source() 10 0.002695 0.002695 0.002695 0.30% Castro::computeNewDt() 9 0.002574 0.002574 0.002574 0.29% Castro::finalize_do_advance() 10 0.002384 0.002384 0.002384 0.27% MLMG::ResNormInf() 92 0.002196 0.002196 0.002196 0.24% Castro::apply_source_to_state() 20 0.001874 0.001874 0.001874 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001848 0.001848 0.001848 0.21% check_for_negative_density() 10 0.001838 0.001838 0.001838 0.21% Castro::reset_internal_energy(Fab) 504 0.001782 0.001782 0.001782 0.20% MLCellLinOp::setLevelBC() 11 0.001629 0.001629 0.001629 0.18% MLMG::getGradSolution() 11 0.001603 0.001603 0.001603 0.18% MLCellLinOp::compGrad() 11 0.001596 0.001596 0.001596 0.18% FabArrayBase::getCPC() 1313 0.001461 0.001461 0.001461 0.16% FabArray::setDomainBndry() 41 0.0014 0.0014 0.0014 0.16% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% MLPoisson::prepareForSolve() 11 0.00137 0.00137 0.00137 0.15% MLCellLinOp::prepareForSolve() 11 0.001363 0.001363 0.001363 0.15% MLMG::computeMLResidual() 11 0.001333 0.001333 0.001333 0.15% Castro::check_for_nan() 20 0.001285 0.001285 0.001285 0.14% MultiFab::contains_nan() 20 0.001269 0.001269 0.001269 0.14% Castro::post_regrid() 1 0.001126 0.001126 0.001126 0.13% Other 4704 0.008025 0.008025 0.008025 0.90% -------------------------------------------------------------------------------------------- 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 5724 KiB 9037 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 1046 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1571 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3629 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 212 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 176 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 19 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2152 B 2048 KiB Gravity::solve_for_phi() 80 80 598 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 215 KiB 671 KiB Castro::estTimeStep() 21 21 3210 B 480 KiB VisMF::Write(FabArray) 656 656 3522 B 320 KiB Castro::normalize_species() 62 62 7183 B 320 KiB amrex::average_down 1054 1054 1631 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1196 B 257 KiB amrex::Dot() 1343 1343 3615 B 160 KiB FabArray::norminf() 1129 1129 3492 B 160 KiB check_for_negative_density() 10 10 329 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3541 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 292 B 9648 B MLCellLinOp::applyBC() 8596 8596 225 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 374 B 1248 B MLCGSolver::bicgstab 405 405 98 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 661 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 427 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3541 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 292 B 9648 B MLCellLinOp::applyBC() 4298 4298 223 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B Gravity::get_new_grav_vector() 3 3 2899 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 302 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): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [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.04-26-gb029e4f335b0) finalized Initializing AMReX (24.04-26-gb029e4f335b0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-26-gb029e4f335b0) initialized Starting run at 08:57:59 UTC on 2024-04-26. Successfully read inputs file ... Castro git describe: 24.04-19-g9935adf51 AMReX git describe: 24.04-26-gb029e4f33 Microphysics git describe: 24.04-9-g4ad225b7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.519370237 Restart time = 0.070301853 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.070507025 [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.064648216 [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.078276011 [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.075992775 [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.055747792 [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.027043599 seconds Ending run at 08:57:59 UTC on 2024-04-26. Run time = 0.44362069 Run time without initialization = 0.372638022 Average number of zones advanced per microsecond: 3.517 Average number of zones advanced per microsecond per rank: 3.517 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4437 ... 0.4437 ... 0.4437 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1507 0.1507 0.1507 33.97% VisMF::Read() 3 0.05897 0.05897 0.05897 13.29% MLCellLinOp::applyBC() 1910 0.03601 0.03601 0.03601 8.12% VisMF::Write(FabArray) 1 0.02436 0.02436 0.02436 5.49% MLPoisson::Fsmooth() 1440 0.01497 0.01497 0.01497 3.38% FillBoundary_nowait() 1730 0.013 0.013 0.013 2.93% StateData::FillBoundary(geom) 160 0.01288 0.01288 0.01288 2.90% Castro::normalize_species() 30 0.01076 0.01076 0.01076 2.43% amrex::Dot() 484 0.009358 0.009358 0.009358 2.11% FabArray::norminf() 465 0.008752 0.008752 0.008752 1.97% Castro::computeTemp() 30 0.007508 0.007508 0.007508 1.69% FabArray::setVal() 501 0.006705 0.006705 0.006705 1.51% FabArray::ParallelCopy_nowait() 380 0.006263 0.006263 0.006263 1.41% FabArray::Saxpy() 597 0.005961 0.005961 0.005961 1.34% MLCellLinOp::defineAuxData() 6 0.005686 0.005686 0.005686 1.28% Gravity::fill_multipole_BCs() 6 0.005598 0.005598 0.005598 1.26% amrex::Copy() 221 0.005497 0.005497 0.005497 1.24% Castro::enforce_min_density() 30 0.005399 0.005399 0.005399 1.22% StateDataPhysBCFunct::() 20 0.005165 0.005165 0.005165 1.16% Amr::restart() 1 0.004927 0.004927 0.004927 1.11% MLPoisson::Fapply() 464 0.00457 0.00457 0.00457 1.03% FabArray::Xpay() 325 0.003556 0.003556 0.003556 0.80% MLMG::addInterpCorrection() 180 0.003119 0.003119 0.003119 0.70% Castro::estTimeStep() 10 0.002985 0.002985 0.002985 0.67% amrex::average_down 180 0.002776 0.002776 0.002776 0.63% Amr::writePlotFile() 1 0.00251 0.00251 0.00251 0.57% BndryData::define() 6 0.002236 0.002236 0.002236 0.50% Castro::construct_new_gravity_source() 5 0.0019 0.0019 0.0019 0.43% amrex::Add() 36 0.001558 0.001558 0.001558 0.35% Castro::reset_internal_energy(MultiFab) 30 0.001554 0.001554 0.001554 0.35% Castro::construct_old_gravity_source() 5 0.001525 0.001525 0.001525 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009825 0.0009825 0.0009825 0.22% check_for_negative_density() 5 0.0009228 0.0009228 0.0009228 0.21% MLCellLinOp::setLevelBC() 6 0.000886 0.000886 0.000886 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008717 0.0008717 0.0008717 0.20% Castro::enforce_speed_limit() 30 0.0008611 0.0008611 0.0008611 0.19% Castro::reset_internal_energy(Fab) 240 0.0008172 0.0008172 0.0008172 0.18% MLCellLinOp::prepareForSolve() 6 0.0007637 0.0007637 0.0007637 0.17% MLCGSolver::bicgstab 36 0.0007175 0.0007175 0.0007175 0.16% FabArray::setDomainBndry() 20 0.0007105 0.0007105 0.0007105 0.16% FabArray::mult() 22 0.0006946 0.0006946 0.0006946 0.16% MLCellLinOp::compGrad() 6 0.0006131 0.0006131 0.0006131 0.14% MLMG::prepareForSolve() 6 0.000558 0.000558 0.000558 0.13% MLCellLinOp::smooth() 720 0.0004925 0.0004925 0.0004925 0.11% FabArrayBase::getCPC() 632 0.0003608 0.0003608 0.0003608 0.08% Gravity::get_old_grav_vector() 5 0.0003484 0.0003484 0.0003484 0.08% FabArray::FillBoundary() 1730 0.0003317 0.0003317 0.0003317 0.07% Gravity::get_new_grav_vector() 5 0.0002924 0.0002924 0.0002924 0.07% main() 1 0.0002559 0.0002559 0.0002559 0.06% AmrLevel::FillPatch() 20 0.000203 0.000203 0.000203 0.05% MLCellLinOp::apply() 464 0.0001865 0.0001865 0.0001865 0.04% Amr::coarseTimeStep() 5 0.0001793 0.0001793 0.0001793 0.04% MLCellLinOp::defineBC() 6 0.0001462 0.0001462 0.0001462 0.03% MLCGSolver::ParallelAllReduce 798 0.0001347 0.0001347 0.0001347 0.03% Castro::do_advance_ctu() 5 0.0001248 0.0001248 0.0001248 0.03% FabArray::ParallelCopy() 380 0.0001156 0.0001156 0.0001156 0.03% FillPatchIterator::Initialize 20 0.0001089 0.0001089 0.0001089 0.02% Castro::subcycle_advance_ctu() 5 0.0001039 0.0001039 0.0001039 0.02% Amr::timeStep() 5 8.571e-05 8.571e-05 8.571e-05 0.02% MLMG::mgVcycle() 36 8.026e-05 8.026e-05 8.026e-05 0.02% MLCellLinOp::correctionResidual() 180 7.188e-05 7.188e-05 7.188e-05 0.02% AmrLevel::restart() 1 7.174e-05 7.174e-05 7.174e-05 0.02% StateData::restartDoit() 4 6.519e-05 6.519e-05 6.519e-05 0.01% Gravity::update_max_rhs() 6 6.241e-05 6.241e-05 6.241e-05 0.01% Castro::advance() 5 5.831e-05 5.831e-05 5.831e-05 0.01% Castro::construct_new_source() 25 5.088e-05 5.088e-05 5.088e-05 0.01% Castro::construct_old_source() 25 5.083e-05 5.083e-05 5.083e-05 0.01% Gravity::solve_for_phi() 5 5.037e-05 5.037e-05 5.037e-05 0.01% MLMG:computeResOfCorrection() 180 4.612e-05 4.612e-05 4.612e-05 0.01% Castro::finalize_do_advance() 5 4.419e-05 4.419e-05 4.419e-05 0.01% Castro::do_old_sources() 5 4.343e-05 4.343e-05 4.343e-05 0.01% MLMG::actualBottomSolve() 36 3.776e-05 3.776e-05 3.776e-05 0.01% Castro::initialize_advance() 5 3.552e-05 3.552e-05 3.552e-05 0.01% MLMG::mgVcycle_down::0 36 3.495e-05 3.495e-05 3.495e-05 0.01% Castro::post_timestep() 5 3.458e-05 3.458e-05 3.458e-05 0.01% MLMG::solve() 6 3.375e-05 3.375e-05 3.375e-05 0.01% MLMG::mgVcycle_down::1 36 3.164e-05 3.164e-05 3.164e-05 0.01% Castro::clean_state() 30 3.163e-05 3.163e-05 3.163e-05 0.01% MLMG::mgVcycle_down::2 36 2.967e-05 2.967e-05 2.967e-05 0.01% Castro::do_new_sources() 5 2.908e-05 2.908e-05 2.908e-05 0.01% Castro::initialize_do_advance() 5 2.884e-05 2.884e-05 2.884e-05 0.01% MLMG::mgVcycle_down::4 36 2.847e-05 2.847e-05 2.847e-05 0.01% MLMG::mgVcycle_down::3 36 2.778e-05 2.778e-05 2.778e-05 0.01% MLMG::mgVcycle_up::4 36 2.35e-05 2.35e-05 2.35e-05 0.01% MLMG::oneIter() 36 2.285e-05 2.285e-05 2.285e-05 0.01% Castro::post_restart() 1 2.195e-05 2.195e-05 2.195e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.161e-05 2.161e-05 2.161e-05 0.00% MLCellLinOp::solutionResidual() 42 2.07e-05 2.07e-05 2.07e-05 0.00% MLMG::mgVcycle_up::3 36 2.004e-05 2.004e-05 2.004e-05 0.00% MLMG::mgVcycle_up::0 36 1.98e-05 1.98e-05 1.98e-05 0.00% MLMG::mgVcycle_up::2 36 1.917e-05 1.917e-05 1.917e-05 0.00% MLPoisson::define() 6 1.907e-05 1.907e-05 1.907e-05 0.00% MLMG::mgVcycle_up::1 36 1.791e-05 1.791e-05 1.791e-05 0.00% MLMG::ResNormInf() 42 1.662e-05 1.662e-05 1.662e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.64e-05 1.64e-05 1.64e-05 0.00% FillPatchSingleLevel 20 1.625e-05 1.625e-05 1.625e-05 0.00% Gravity::actual_multilevel_solve() 1 1.605e-05 1.605e-05 1.605e-05 0.00% MLMG::computeResidual() 36 1.405e-05 1.405e-05 1.405e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.362e-05 1.362e-05 1.362e-05 0.00% MLMG::mgVcycle_bottom 36 1.356e-05 1.356e-05 1.356e-05 0.00% Castro::construct_new_gravity() 5 1.339e-05 1.339e-05 1.339e-05 0.00% Castro::expand_state() 5 8.738e-06 8.738e-06 8.738e-06 0.00% Castro::apply_source_to_state() 10 5.856e-06 5.856e-06 5.856e-06 0.00% Castro::check_for_nan() 10 5.666e-06 5.666e-06 5.666e-06 0.00% Castro::construct_old_gravity() 5 5.429e-06 5.429e-06 5.429e-06 0.00% MLMG::computeMLResidual() 6 4.435e-06 4.435e-06 4.435e-06 0.00% Castro::computeNewDt() 5 3.831e-06 3.831e-06 3.831e-06 0.00% MLPoisson::prepareForSolve() 6 3.473e-06 3.473e-06 3.473e-06 0.00% MLMG::getGradSolution() 6 3.176e-06 3.176e-06 3.176e-06 0.00% Amr::init() 1 8.92e-07 8.92e-07 8.92e-07 0.00% Other 2160 0.002533 0.002533 0.002533 0.57% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4436 0.4436 0.4436 99.99% Amr::coarseTimeStep() 5 0.3453 0.3453 0.3453 77.84% Amr::timeStep() 5 0.3433 0.3433 0.3433 77.37% Castro::advance() 5 0.3382 0.3382 0.3382 76.23% Castro::subcycle_advance_ctu() 5 0.3311 0.3311 0.3311 74.63% Castro::do_advance_ctu() 5 0.331 0.331 0.331 74.61% Castro::construct_ctu_hydro_source() 5 0.1566 0.1566 0.1566 35.30% Castro::construct_new_gravity() 5 0.1375 0.1375 0.1375 30.99% Gravity::solve_phi_with_mlmg() 6 0.1346 0.1346 0.1346 30.33% Gravity::solve_for_phi() 5 0.1293 0.1293 0.1293 29.14% Gravity::actual_solve_with_mlmg() 6 0.1287 0.1287 0.1287 29.01% MLMG::solve() 6 0.1165 0.1165 0.1165 26.25% MLMG::oneIter() 36 0.1086 0.1086 0.1086 24.48% MLMG::mgVcycle() 36 0.1071 0.1071 0.1071 24.13% Amr::init() 1 0.07036 0.07036 0.07036 15.86% Amr::restart() 1 0.07036 0.07036 0.07036 15.86% AmrLevel::restart() 1 0.05933 0.05933 0.05933 13.37% StateData::restartDoit() 4 0.05926 0.05926 0.05926 13.36% VisMF::Read() 3 0.05897 0.05897 0.05897 13.29% MLCellLinOp::smooth() 720 0.05339 0.05339 0.05339 12.03% MLCellLinOp::applyBC() 1910 0.04967 0.04967 0.04967 11.19% MLMG::mgVcycle_bottom 36 0.03201 0.03201 0.03201 7.21% MLMG::actualBottomSolve() 36 0.03199 0.03199 0.03199 7.21% MLCGSolver::bicgstab 36 0.03162 0.03162 0.03162 7.13% Amr::writePlotFile() 1 0.02713 0.02713 0.02713 6.11% Castro::clean_state() 30 0.02694 0.02694 0.02694 6.07% VisMF::Write(FabArray) 1 0.02436 0.02436 0.02436 5.49% AmrLevel::FillPatch() 20 0.02308 0.02308 0.02308 5.20% FillPatchIterator::Initialize 20 0.02096 0.02096 0.02096 4.72% FillPatchIterator::FillFromLevel0() 20 0.02014 0.02014 0.02014 4.54% FillPatchSingleLevel 20 0.02012 0.02012 0.02012 4.54% StateDataPhysBCFunct::() 20 0.01804 0.01804 0.01804 4.07% MLCellLinOp::apply() 464 0.01621 0.01621 0.01621 3.65% MLMG::mgVcycle_down::0 36 0.01518 0.01518 0.01518 3.42% MLPoisson::Fsmooth() 1440 0.01497 0.01497 0.01497 3.38% FabArray::FillBoundary() 1730 0.01366 0.01366 0.01366 3.08% FillBoundary_nowait() 1730 0.01332 0.01332 0.01332 3.00% StateData::FillBoundary(geom) 160 0.01288 0.01288 0.01288 2.90% MLMG::mgVcycle_up::0 36 0.01134 0.01134 0.01134 2.56% Castro::normalize_species() 30 0.01076 0.01076 0.01076 2.43% Castro::initialize_do_advance() 5 0.009961 0.009961 0.009961 2.25% Castro::computeTemp() 30 0.009879 0.009879 0.009879 2.23% Castro::do_old_sources() 5 0.009663 0.009663 0.009663 2.18% MLPoisson::define() 6 0.009605 0.009605 0.009605 2.16% amrex::Dot() 484 0.009358 0.009358 0.009358 2.11% MLMG:computeResOfCorrection() 180 0.008995 0.008995 0.008995 2.03% MLCellLinOp::correctionResidual() 180 0.008949 0.008949 0.008949 2.02% FabArray::norminf() 465 0.008752 0.008752 0.008752 1.97% Gravity::get_new_grav_vector() 5 0.008081 0.008081 0.008081 1.82% Castro::construct_old_gravity() 5 0.007857 0.007857 0.007857 1.77% Gravity::get_old_grav_vector() 5 0.007852 0.007852 0.007852 1.77% Castro::do_new_sources() 5 0.007719 0.007719 0.007719 1.74% MLMG::mgVcycle_down::1 36 0.007437 0.007437 0.007437 1.68% MLMG::mgVcycle_down::2 36 0.006826 0.006826 0.006826 1.54% FabArray::ParallelCopy() 380 0.006762 0.006762 0.006762 1.52% Castro::initialize_advance() 5 0.006713 0.006713 0.006713 1.51% FabArray::setVal() 501 0.006705 0.006705 0.006705 1.51% MLMG::mgVcycle_down::3 36 0.006677 0.006677 0.006677 1.50% FabArray::ParallelCopy_nowait() 380 0.006646 0.006646 0.006646 1.50% MLMG::mgVcycle_down::4 36 0.006614 0.006614 0.006614 1.49% MLCellLinOp::defineAuxData() 6 0.006474 0.006474 0.006474 1.46% FabArray::Saxpy() 597 0.005961 0.005961 0.005961 1.34% Castro::post_restart() 1 0.005906 0.005906 0.005906 1.33% Castro::expand_state() 5 0.00573 0.00573 0.00573 1.29% Gravity::fill_multipole_BCs() 6 0.005725 0.005725 0.005725 1.29% MLCGSolver::ParallelAllReduce 798 0.005656 0.005656 0.005656 1.27% Gravity::multilevel_solve_for_new_phi() 1 0.005544 0.005544 0.005544 1.25% Gravity::actual_multilevel_solve() 1 0.005528 0.005528 0.005528 1.25% amrex::Copy() 221 0.005497 0.005497 0.005497 1.24% MLMG::addInterpCorrection() 180 0.005449 0.005449 0.005449 1.23% Castro::enforce_min_density() 30 0.005399 0.005399 0.005399 1.22% MLMG::mgVcycle_up::4 36 0.005309 0.005309 0.005309 1.20% MLMG::mgVcycle_up::1 36 0.005298 0.005298 0.005298 1.19% MLMG::mgVcycle_up::2 36 0.005188 0.005188 0.005188 1.17% amrex::average_down 180 0.005142 0.005142 0.005142 1.16% MLMG::mgVcycle_up::3 36 0.005105 0.005105 0.005105 1.15% Castro::post_timestep() 5 0.004986 0.004986 0.004986 1.12% MLPoisson::Fapply() 464 0.00457 0.00457 0.00457 1.03% MLCellLinOp::solutionResidual() 42 0.003718 0.003718 0.003718 0.84% FabArray::Xpay() 325 0.003556 0.003556 0.003556 0.80% Castro::estTimeStep() 10 0.002985 0.002985 0.002985 0.67% MLCellLinOp::defineBC() 6 0.002972 0.002972 0.002972 0.67% MLMG::prepareForSolve() 6 0.002923 0.002923 0.002923 0.66% MLMG::computeResidual() 36 0.002903 0.002903 0.002903 0.65% BndryData::define() 6 0.002826 0.002826 0.002826 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002372 0.002372 0.002372 0.53% Castro::construct_new_source() 25 0.001951 0.001951 0.001951 0.44% Castro::computeNewDt() 5 0.001904 0.001904 0.001904 0.43% Castro::construct_new_gravity_source() 5 0.0019 0.0019 0.0019 0.43% Castro::construct_old_source() 25 0.001576 0.001576 0.001576 0.36% amrex::Add() 36 0.001558 0.001558 0.001558 0.35% Castro::construct_old_gravity_source() 5 0.001525 0.001525 0.001525 0.34% Castro::finalize_do_advance() 5 0.001129 0.001129 0.001129 0.25% MLMG::ResNormInf() 42 0.001003 0.001003 0.001003 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009825 0.0009825 0.0009825 0.22% Castro::apply_source_to_state() 10 0.0009672 0.0009672 0.0009672 0.22% check_for_negative_density() 5 0.0009228 0.0009228 0.0009228 0.21% MLMG::getGradSolution() 6 0.000906 0.000906 0.000906 0.20% MLCellLinOp::compGrad() 6 0.0009028 0.0009028 0.0009028 0.20% MLCellLinOp::setLevelBC() 6 0.000886 0.000886 0.000886 0.20% Castro::enforce_speed_limit() 30 0.0008611 0.0008611 0.0008611 0.19% MLMG::computeMLResidual() 6 0.0008341 0.0008341 0.0008341 0.19% Castro::reset_internal_energy(Fab) 240 0.0008172 0.0008172 0.0008172 0.18% FabArrayBase::getCPC() 632 0.0007787 0.0007787 0.0007787 0.18% MLPoisson::prepareForSolve() 6 0.0007672 0.0007672 0.0007672 0.17% MLCellLinOp::prepareForSolve() 6 0.0007637 0.0007637 0.0007637 0.17% Gravity::update_max_rhs() 6 0.000716 0.000716 0.000716 0.16% FabArray::setDomainBndry() 20 0.0007105 0.0007105 0.0007105 0.16% FabArray::mult() 22 0.0006946 0.0006946 0.0006946 0.16% Castro::check_for_nan() 10 0.0006648 0.0006648 0.0006648 0.15% Other 2160 0.003773 0.003773 0.003773 0.85% -------------------------------------------------------------------------------------------- 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 11 MiB 9037 MiB Castro::initMFs() 48 48 58 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 1017 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1625 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 6469 KiB 14 MiB MLMG::prepareForSolve() 361 361 3222 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6457 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3212 B 2048 KiB Gravity::solve_for_phi() 40 40 595 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 297 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3144 B 480 KiB VisMF::Write(FabArray) 112 112 1246 B 320 KiB Castro::normalize_species() 30 30 7905 B 320 KiB amrex::average_down 469 469 1385 B 257 KiB MLMG::addInterpCorrection() 468 468 1048 B 257 KiB amrex::Dot() 592 592 3117 B 160 KiB FabArray::norminf() 501 501 3051 B 160 KiB check_for_negative_density() 5 5 334 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3121 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 253 B 9648 B MLCellLinOp::applyBC() 3820 3820 203 B 9344 B amrex::Copy() 56 56 5893 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 334 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 1176 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 82 KiB 8192 KiB VisMF::Write(FabArray) 120 120 152 KiB 3584 KiB VisMF::Read() 24 24 202 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3121 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 253 B 9648 B MLCellLinOp::applyBC() 1910 1910 201 B 9328 B amrex::Copy() 56 56 5893 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2539 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2784 B MLMG::prepareForSolve() 7 7 794 B 1648 B amrex::average_down 37 37 465 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 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): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [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.04-26-gb029e4f335b0) finalized