Initializing AMReX (24.02-34-g3525b4a3f27e)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-34-g3525b4a3f27e) initialized Starting run at 09:20:52 UTC on 2024-03-05. Successfully read inputs file ... Castro git describe: 24.02-27-g465a83f5a AMReX git describe: 24.02-34-g3525b4a3f Microphysics git describe: 24.03-1-gce331bc8 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.043468738 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.023964972 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.066125349 [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.051128481 [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.069781671 [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.077573292 [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.061930061 [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.043241106 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.051815735 [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.048157646 [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.071297777 [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.066881735 [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.065003828 [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.042010398 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.023958239 seconds Ending run at 09:20:52 UTC on 2024-03-05. Run time = 0.861361473 Run time without initialization = 0.739572022 Average number of zones advanced per microsecond: 3.545 Average number of zones advanced per microsecond per rank: 3.545 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8614 ... 0.8614 ... 0.8614 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2487 0.2487 0.2487 28.88% VisMF::Write(FabArray) 11 0.1681 0.1681 0.1681 19.51% MLCellLinOp::applyBC() 4351 0.07918 0.07918 0.07918 9.19% MLPoisson::Fsmooth() 3280 0.03244 0.03244 0.03244 3.77% FillBoundary_nowait() 3941 0.03186 0.03186 0.03186 3.70% StateData::FillBoundary(geom) 328 0.0258 0.0258 0.0258 3.00% Castro::normalize_species() 62 0.02117 0.02117 0.02117 2.46% amrex::Dot() 1114 0.02067 0.02067 0.02067 2.40% FabArray::norminf() 1061 0.01931 0.01931 0.01931 2.24% amrex::Copy() 472 0.01737 0.01737 0.01737 2.02% Castro::computeTemp() 63 0.01539 0.01539 0.01539 1.79% Castro::enforce_min_density() 62 0.01355 0.01355 0.01355 1.57% FabArray::ParallelCopy_nowait() 861 0.01339 0.01339 0.01339 1.55% FabArray::setVal() 1062 0.01319 0.01319 0.01319 1.53% FabArray::Saxpy() 1370 0.01268 0.01268 0.01268 1.47% StateDataPhysBCFunct::() 41 0.01229 0.01229 0.01229 1.43% MLPoisson::Fapply() 1060 0.01008 0.01008 0.01008 1.17% MLCellLinOp::defineAuxData() 11 0.01006 0.01006 0.01006 1.17% Gravity::fill_multipole_BCs() 11 0.008813 0.008813 0.008813 1.02% FabArray::Xpay() 739 0.007672 0.007672 0.007672 0.89% MLMG::addInterpCorrection() 410 0.006983 0.006983 0.006983 0.81% amrex::average_down 410 0.006199 0.006199 0.006199 0.72% Amr::checkPoint() 3 0.005966 0.005966 0.005966 0.69% Castro::reset_internal_energy(MultiFab) 63 0.005448 0.005448 0.005448 0.63% Castro::estTimeStep() 21 0.005125 0.005125 0.005125 0.59% BndryData::define() 11 0.003839 0.003839 0.003839 0.45% amrex::Add() 82 0.003598 0.003598 0.003598 0.42% Castro::construct_new_gravity_source() 10 0.003521 0.003521 0.003521 0.41% Castro::construct_old_gravity_source() 10 0.002997 0.002997 0.002997 0.35% Castro::enforce_speed_limit() 62 0.002236 0.002236 0.002236 0.26% Amr::writePlotFile() 2 0.002106 0.002106 0.002106 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001742 0.001742 0.001742 0.20% MLCGSolver::bicgstab 82 0.001638 0.001638 0.001638 0.19% Castro::reset_internal_energy(Fab) 504 0.001617 0.001617 0.001617 0.19% check_for_negative_density() 10 0.001583 0.001583 0.001583 0.18% Gravity::actual_solve_with_mlmg() 11 0.00157 0.00157 0.00157 0.18% MLCellLinOp::setLevelBC() 11 0.001551 0.001551 0.001551 0.18% Castro::initData() 1 0.001504 0.001504 0.001504 0.17% FabArray::mult() 43 0.001369 0.001369 0.001369 0.16% FabArray::setDomainBndry() 41 0.001325 0.001325 0.001325 0.15% MLCellLinOp::prepareForSolve() 11 0.001322 0.001322 0.001322 0.15% MultiFab::contains_nan() 20 0.001274 0.001274 0.001274 0.15% MLCellLinOp::smooth() 1640 0.00116 0.00116 0.00116 0.13% MLCellLinOp::compGrad() 11 0.001069 0.001069 0.001069 0.12% MLMG::prepareForSolve() 11 0.0009895 0.0009895 0.0009895 0.11% FabArray::FillBoundary() 3941 0.0008269 0.0008269 0.0008269 0.10% FabArrayBase::getCPC() 1323 0.0007922 0.0007922 0.0007922 0.09% FabArrayBase::CPC::define() 454 0.0006767 0.0006767 0.0006767 0.08% FabArrayBase::getFB() 3941 0.0006492 0.0006492 0.0006492 0.08% Gravity::get_new_grav_vector() 11 0.0006224 0.0006224 0.0006224 0.07% Amr::InitAmr() 1 0.0005683 0.0005683 0.0005683 0.07% Gravity::get_old_grav_vector() 10 0.0004834 0.0004834 0.0004834 0.06% AmrLevel::FillPatch() 41 0.0004833 0.0004833 0.0004833 0.06% MLCellLinOp::apply() 1060 0.000397 0.000397 0.000397 0.05% Amr::coarseTimeStep() 10 0.0003615 0.0003615 0.0003615 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003596 0.0003596 0.0003596 0.04% MultiFab::max() 11 0.0003322 0.0003322 0.0003322 0.04% main() 1 0.0002945 0.0002945 0.0002945 0.03% MLCellLinOp::defineBC() 11 0.0002913 0.0002913 0.0002913 0.03% FabArray::ParallelCopy() 861 0.0002593 0.0002593 0.0002593 0.03% FillPatchIterator::Initialize 41 0.0002225 0.0002225 0.0002225 0.03% MLMG::mgVcycle() 82 0.000204 0.000204 0.000204 0.02% Castro::create_source_corrector() 10 0.0001799 0.0001799 0.0001799 0.02% Amr::timeStep() 10 0.0001677 0.0001677 0.0001677 0.02% MLCellLinOp::correctionResidual() 410 0.0001674 0.0001674 0.0001674 0.02% MLLinOp::defineGrids() 11 0.0001666 0.0001666 0.0001666 0.02% Castro::subcycle_advance_ctu() 10 0.000164 0.000164 0.000164 0.02% StateData::checkPoint() 12 0.0001362 0.0001362 0.0001362 0.02% Gravity::update_max_rhs() 11 0.0001328 0.0001328 0.0001328 0.02% MLMG:computeResOfCorrection() 410 0.0001198 0.0001198 0.0001198 0.01% Gravity::solve_for_phi() 10 0.0001115 0.0001115 0.0001115 0.01% FabArrayBase::FB::FB() 56 9.771e-05 9.771e-05 9.771e-05 0.01% MLMG::mgVcycle_down::0 82 9.079e-05 9.079e-05 9.079e-05 0.01% MLMG::actualBottomSolve() 82 8.845e-05 8.845e-05 8.845e-05 0.01% Castro::Castro() 1 8.64e-05 8.64e-05 8.64e-05 0.01% Castro::post_timestep() 10 8.238e-05 8.238e-05 8.238e-05 0.01% MLMG::mgVcycle_down::2 82 8.169e-05 8.169e-05 8.169e-05 0.01% MLMG::mgVcycle_down::1 82 8.154e-05 8.154e-05 8.154e-05 0.01% MLMG::mgVcycle_down::4 82 7.871e-05 7.871e-05 7.871e-05 0.01% Castro::initialize_advance() 10 7.845e-05 7.845e-05 7.845e-05 0.01% AmrLevel::checkPoint() 3 7.844e-05 7.844e-05 7.844e-05 0.01% Castro::finalize_advance() 10 7.754e-05 7.754e-05 7.754e-05 0.01% MLMG::mgVcycle_down::3 82 7.714e-05 7.714e-05 7.714e-05 0.01% Castro::construct_new_source() 50 7.646e-05 7.646e-05 7.646e-05 0.01% Castro::clean_state() 62 7.438e-05 7.438e-05 7.438e-05 0.01% MLMG::solve() 11 7.207e-05 7.207e-05 7.207e-05 0.01% Castro::advance() 10 6.777e-05 6.777e-05 6.777e-05 0.01% Castro::enforce_consistent_e() 1 6.211e-05 6.211e-05 6.211e-05 0.01% Castro::initialize_do_advance() 10 6.174e-05 6.174e-05 6.174e-05 0.01% MLMG::mgVcycle_up::4 82 5.845e-05 5.845e-05 5.845e-05 0.01% Castro::do_new_sources() 10 5.544e-05 5.544e-05 5.544e-05 0.01% MLMG::mgVcycle_up::0 82 5.338e-05 5.338e-05 5.338e-05 0.01% MLMG::oneIter() 82 5.318e-05 5.318e-05 5.318e-05 0.01% Castro::finalize_do_advance() 10 5.306e-05 5.306e-05 5.306e-05 0.01% MLMG::mgVcycle_up::3 82 5.097e-05 5.097e-05 5.097e-05 0.01% MLMG::mgVcycle_up::1 82 5.051e-05 5.051e-05 5.051e-05 0.01% MLMG::mgVcycle_up::2 82 4.979e-05 4.979e-05 4.979e-05 0.01% Castro::do_advance_ctu() 10 4.939e-05 4.939e-05 4.939e-05 0.01% MLCellLinOp::solutionResidual() 93 4.895e-05 4.895e-05 4.895e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.732e-05 4.732e-05 4.732e-05 0.01% Castro::swap_state_time_levels() 10 3.886e-05 3.886e-05 3.886e-05 0.00% StateData::define() 4 3.774e-05 3.774e-05 3.774e-05 0.00% makeSFC 55 3.559e-05 3.559e-05 3.559e-05 0.00% Castro::initMFs() 1 3.5e-05 3.5e-05 3.5e-05 0.00% FillPatchSingleLevel 41 3.433e-05 3.433e-05 3.433e-05 0.00% Amr::writeSmallPlotFile() 1 3.38e-05 3.38e-05 3.38e-05 0.00% MLMG::ResNormInf() 93 3.366e-05 3.366e-05 3.366e-05 0.00% MLMG::computeResidual() 82 3.366e-05 3.366e-05 3.366e-05 0.00% MLMG::mgVcycle_bottom 82 3.114e-05 3.114e-05 3.114e-05 0.00% Castro::construct_new_gravity() 10 2.821e-05 2.821e-05 2.821e-05 0.00% Castro::buildMetrics() 1 2.415e-05 2.415e-05 2.415e-05 0.00% Amr::defBaseLevel() 1 2.398e-05 2.398e-05 2.398e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.381e-05 2.381e-05 2.381e-05 0.00% Amr::FinalizeInit() 1 2.175e-05 2.175e-05 2.175e-05 0.00% Castro::do_old_sources() 10 2.13e-05 2.13e-05 2.13e-05 0.00% MLPoisson::define() 11 2.115e-05 2.115e-05 2.115e-05 0.00% Castro::construct_old_source() 50 1.998e-05 1.998e-05 1.998e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.894e-05 1.894e-05 1.894e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.783e-05 1.783e-05 1.783e-05 0.00% DistributionMapping::Distribute() 56 1.653e-05 1.653e-05 1.653e-05 0.00% Castro::apply_source_to_state() 20 1.47e-05 1.47e-05 1.47e-05 0.00% MLPoisson::prepareForSolve() 11 1.459e-05 1.459e-05 1.459e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.308e-05 1.308e-05 1.308e-05 0.00% MLLinOp::define() 11 1.206e-05 1.206e-05 1.206e-05 0.00% Castro::construct_old_gravity() 10 1.13e-05 1.13e-05 1.13e-05 0.00% Castro::check_for_nan() 20 1.09e-05 1.09e-05 1.09e-05 0.00% Castro::post_init() 1 1.072e-05 1.072e-05 1.072e-05 0.00% Gravity::actual_multilevel_solve() 1 1.067e-05 1.067e-05 1.067e-05 0.00% Gravity::swapTimeLevels() 10 1.066e-05 1.066e-05 1.066e-05 0.00% Amr::initSubcycle() 1 9.18e-06 9.18e-06 9.18e-06 0.00% MLMG::computeMLResidual() 11 9.162e-06 9.162e-06 9.162e-06 0.00% Castro::expand_state() 10 6.451e-06 6.451e-06 6.451e-06 0.00% MLMG::getGradSolution() 11 6.152e-06 6.152e-06 6.152e-06 0.00% Castro::computeNewDt() 9 6.137e-06 6.137e-06 6.137e-06 0.00% Castro::computeInitialDt() 2 5.892e-06 5.892e-06 5.892e-06 0.00% AmrLevel::checkPointPost() 3 5.529e-06 5.529e-06 5.529e-06 0.00% Gravity::set_mass_offset() 11 5.397e-06 5.397e-06 5.397e-06 0.00% Amr::InitializeInit() 1 5.246e-06 5.246e-06 5.246e-06 0.00% Castro::retry_advance_ctu() 10 4.61e-06 4.61e-06 4.61e-06 0.00% MLMG::MLRhsNormInf() 11 4.271e-06 4.271e-06 4.271e-06 0.00% Castro::post_regrid() 1 4.146e-06 4.146e-06 4.146e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.028e-06 4.028e-06 4.028e-06 0.00% MLMG::MLResNormInf() 11 3.99e-06 3.99e-06 3.99e-06 0.00% Amr::init() 1 3.21e-06 3.21e-06 3.21e-06 0.00% Castro::FluxRegCrseInit 10 2.941e-06 2.941e-06 2.941e-06 0.00% AmrLevel::checkPointPre() 3 2.187e-06 2.187e-06 2.187e-06 0.00% Castro::FluxRegFineAdd() 10 2.061e-06 2.061e-06 2.061e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.018e-06 2.018e-06 2.018e-06 0.00% Amr::initialInit() 1 1.019e-06 1.019e-06 1.019e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8614 0.8614 0.8614 100.00% Amr::coarseTimeStep() 10 0.7154 0.7154 0.7154 83.05% Amr::timeStep() 10 0.6265 0.6265 0.6265 72.74% Castro::advance() 10 0.616 0.616 0.616 71.51% Castro::subcycle_advance_ctu() 10 0.6022 0.6022 0.6022 69.90% Castro::do_advance_ctu() 10 0.602 0.602 0.602 69.89% Gravity::solve_phi_with_mlmg() 11 0.2892 0.2892 0.2892 33.57% Gravity::actual_solve_with_mlmg() 11 0.2799 0.2799 0.2799 32.49% Castro::construct_new_gravity() 10 0.2673 0.2673 0.2673 31.03% Castro::construct_ctu_hydro_source() 10 0.2593 0.2593 0.2593 30.11% MLMG::solve() 11 0.2583 0.2583 0.2583 29.99% Gravity::solve_for_phi() 10 0.2448 0.2448 0.2448 28.42% MLMG::oneIter() 82 0.243 0.243 0.243 28.21% MLMG::mgVcycle() 82 0.2394 0.2394 0.2394 27.79% VisMF::Write(FabArray) 11 0.1681 0.1681 0.1681 19.51% Amr::checkPoint() 3 0.1288 0.1288 0.1288 14.96% AmrLevel::checkPoint() 3 0.1229 0.1229 0.1229 14.26% StateData::checkPoint() 12 0.1228 0.1228 0.1228 14.25% Amr::init() 1 0.1211 0.1211 0.1211 14.06% MLCellLinOp::smooth() 1640 0.1205 0.1205 0.1205 13.99% MLCellLinOp::applyBC() 4351 0.1126 0.1126 0.1126 13.07% MLMG::mgVcycle_bottom 82 0.07053 0.07053 0.07053 8.19% MLMG::actualBottomSolve() 82 0.0705 0.0705 0.0705 8.18% MLCGSolver::bicgstab 82 0.06968 0.06968 0.06968 8.09% Castro::clean_state() 62 0.05852 0.05852 0.05852 6.79% AmrLevel::FillPatch() 41 0.05476 0.05476 0.05476 6.36% Amr::initialInit() 1 0.05354 0.05354 0.05354 6.22% Amr::FinalizeInit() 1 0.04857 0.04857 0.04857 5.64% Amr::writePlotFile() 2 0.04804 0.04804 0.04804 5.58% Castro::post_init() 1 0.04718 0.04718 0.04718 5.48% Gravity::multilevel_solve_for_new_phi() 1 0.04476 0.04476 0.04476 5.20% Gravity::actual_multilevel_solve() 1 0.04475 0.04475 0.04475 5.19% FillPatchIterator::Initialize 41 0.04381 0.04381 0.04381 5.09% FillPatchIterator::FillFromLevel0() 41 0.04226 0.04226 0.04226 4.91% FillPatchSingleLevel 41 0.04221 0.04221 0.04221 4.90% StateDataPhysBCFunct::() 41 0.03809 0.03809 0.03809 4.42% MLCellLinOp::apply() 1060 0.03571 0.03571 0.03571 4.15% MLMG::mgVcycle_down::0 82 0.03496 0.03496 0.03496 4.06% FabArray::FillBoundary() 3941 0.03343 0.03343 0.03343 3.88% FillBoundary_nowait() 3941 0.0326 0.0326 0.0326 3.78% MLPoisson::Fsmooth() 3280 0.03244 0.03244 0.03244 3.77% MLMG::mgVcycle_up::0 82 0.02656 0.02656 0.02656 3.08% StateData::FillBoundary(geom) 328 0.0258 0.0258 0.0258 3.00% Gravity::get_new_grav_vector() 11 0.02441 0.02441 0.02441 2.83% Castro::initialize_do_advance() 10 0.02325 0.02325 0.02325 2.70% Castro::computeTemp() 63 0.02245 0.02245 0.02245 2.61% Castro::normalize_species() 62 0.02117 0.02117 0.02117 2.46% amrex::Dot() 1114 0.02067 0.02067 0.02067 2.40% MLMG:computeResOfCorrection() 410 0.02019 0.02019 0.02019 2.34% MLCellLinOp::correctionResidual() 410 0.02007 0.02007 0.02007 2.33% Castro::do_old_sources() 10 0.01995 0.01995 0.01995 2.32% FabArray::norminf() 1061 0.01931 0.01931 0.01931 2.24% amrex::Copy() 472 0.01737 0.01737 0.01737 2.02% MLPoisson::define() 11 0.01687 0.01687 0.01687 1.96% MLMG::mgVcycle_down::1 82 0.0163 0.0163 0.0163 1.89% MLMG::mgVcycle_down::2 82 0.01523 0.01523 0.01523 1.77% Castro::construct_old_gravity() 10 0.01502 0.01502 0.01502 1.74% Gravity::get_old_grav_vector() 10 0.01501 0.01501 0.01501 1.74% MLMG::mgVcycle_down::3 82 0.01479 0.01479 0.01479 1.72% MLMG::mgVcycle_down::4 82 0.01464 0.01464 0.01464 1.70% FabArray::ParallelCopy() 861 0.01445 0.01445 0.01445 1.68% Castro::do_new_sources() 10 0.01441 0.01441 0.01441 1.67% FabArray::ParallelCopy_nowait() 861 0.01419 0.01419 0.01419 1.65% Castro::enforce_min_density() 62 0.01355 0.01355 0.01355 1.57% FabArray::setVal() 1062 0.01319 0.01319 0.01319 1.53% Castro::initialize_advance() 10 0.01316 0.01316 0.01316 1.53% FabArray::Saxpy() 1370 0.01268 0.01268 0.01268 1.47% Castro::expand_state() 10 0.01257 0.01257 0.01257 1.46% MLCGSolver::ParallelAllReduce 1832 0.01247 0.01247 0.01247 1.45% MLMG::addInterpCorrection() 410 0.01213 0.01213 0.01213 1.41% MLMG::mgVcycle_up::1 82 0.01177 0.01177 0.01177 1.37% MLMG::mgVcycle_up::4 82 0.01168 0.01168 0.01168 1.36% MLMG::mgVcycle_up::2 82 0.01148 0.01148 0.01148 1.33% MLCellLinOp::defineAuxData() 11 0.01146 0.01146 0.01146 1.33% amrex::average_down 410 0.01142 0.01142 0.01142 1.33% MLMG::mgVcycle_up::3 82 0.01124 0.01124 0.01124 1.31% Castro::post_timestep() 10 0.01037 0.01037 0.01037 1.20% MLPoisson::Fapply() 1060 0.01008 0.01008 0.01008 1.17% Gravity::fill_multipole_BCs() 11 0.009038 0.009038 0.009038 1.05% FabArray::Xpay() 739 0.007672 0.007672 0.007672 0.89% MLCellLinOp::solutionResidual() 93 0.00766 0.00766 0.00766 0.89% Castro::reset_internal_energy(MultiFab) 63 0.007066 0.007066 0.007066 0.82% MLMG::computeResidual() 82 0.006363 0.006363 0.006363 0.74% MLCellLinOp::defineBC() 11 0.005146 0.005146 0.005146 0.60% MLMG::prepareForSolve() 11 0.005138 0.005138 0.005138 0.60% Castro::estTimeStep() 21 0.005125 0.005125 0.005125 0.59% Amr::InitializeInit() 1 0.004967 0.004967 0.004967 0.58% Amr::defBaseLevel() 1 0.004962 0.004962 0.004962 0.58% BndryData::define() 11 0.004855 0.004855 0.004855 0.56% Castro::initData() 1 0.0043 0.0043 0.0043 0.50% amrex::Add() 82 0.003598 0.003598 0.003598 0.42% Castro::construct_new_source() 50 0.003598 0.003598 0.003598 0.42% Castro::construct_new_gravity_source() 10 0.003521 0.003521 0.003521 0.41% Castro::construct_old_source() 50 0.003017 0.003017 0.003017 0.35% Castro::construct_old_gravity_source() 10 0.002997 0.002997 0.002997 0.35% Castro::computeNewDt() 9 0.002371 0.002371 0.002371 0.28% Castro::enforce_speed_limit() 62 0.002236 0.002236 0.002236 0.26% MLMG::ResNormInf() 93 0.002171 0.002171 0.002171 0.25% Castro::apply_source_to_state() 20 0.001874 0.001874 0.001874 0.22% Castro::finalize_do_advance() 10 0.001766 0.001766 0.001766 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001742 0.001742 0.001742 0.20% Castro::reset_internal_energy(Fab) 504 0.001617 0.001617 0.001617 0.19% check_for_negative_density() 10 0.001583 0.001583 0.001583 0.18% MLMG::getGradSolution() 11 0.001566 0.001566 0.001566 0.18% MLCellLinOp::compGrad() 11 0.00156 0.00156 0.00156 0.18% MLCellLinOp::setLevelBC() 11 0.001551 0.001551 0.001551 0.18% FabArrayBase::getCPC() 1323 0.001469 0.001469 0.001469 0.17% FabArray::mult() 43 0.001369 0.001369 0.001369 0.16% MLMG::computeMLResidual() 11 0.00134 0.00134 0.00134 0.16% MLPoisson::prepareForSolve() 11 0.001336 0.001336 0.001336 0.16% FabArray::setDomainBndry() 41 0.001325 0.001325 0.001325 0.15% MLCellLinOp::prepareForSolve() 11 0.001322 0.001322 0.001322 0.15% Castro::check_for_nan() 20 0.001285 0.001285 0.001285 0.15% MultiFab::contains_nan() 20 0.001274 0.001274 0.001274 0.15% Castro::post_regrid() 1 0.001085 0.001085 0.001085 0.13% Castro::computeInitialDt() 2 0.001053 0.001053 0.001053 0.12% Gravity::update_max_rhs() 11 0.001036 0.001036 0.001036 0.12% FabArrayBase::getFB() 3941 0.0007469 0.0007469 0.0007469 0.09% FabArrayBase::CPC::define() 454 0.0006767 0.0006767 0.0006767 0.08% Castro::finalize_advance() 10 0.0006161 0.0006161 0.0006161 0.07% Amr::InitAmr() 1 0.0005775 0.0005775 0.0005775 0.07% Castro::Castro() 1 0.0005762 0.0005762 0.0005762 0.07% Gravity::swapTimeLevels() 10 0.0004548 0.0004548 0.0004548 0.05% MLMG::MLResNormInf() 11 0.0003333 0.0003333 0.0003333 0.04% MultiFab::max() 11 0.0003322 0.0003322 0.0003322 0.04% Castro::buildMetrics() 1 0.0002826 0.0002826 0.0002826 0.03% MLLinOp::define() 11 0.0002447 0.0002447 0.0002447 0.03% MLLinOp::defineGrids() 11 0.0002327 0.0002327 0.0002327 0.03% MLMG::MLRhsNormInf() 11 0.000227 0.000227 0.000227 0.03% Castro::create_source_corrector() 10 0.0001799 0.0001799 0.0001799 0.02% FabArrayBase::FB::FB() 56 9.771e-05 9.771e-05 9.771e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.403e-05 6.403e-05 6.403e-05 0.01% Castro::enforce_consistent_e() 1 6.211e-05 6.211e-05 6.211e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.668e-05 5.668e-05 5.668e-05 0.01% makeSFC 55 5.096e-05 5.096e-05 5.096e-05 0.01% Castro::swap_state_time_levels() 10 3.886e-05 3.886e-05 3.886e-05 0.00% StateData::define() 4 3.774e-05 3.774e-05 3.774e-05 0.00% Castro::initMFs() 1 3.5e-05 3.5e-05 3.5e-05 0.00% Amr::writeSmallPlotFile() 1 3.38e-05 3.38e-05 3.38e-05 0.00% DistributionMapping::Distribute() 56 1.653e-05 1.653e-05 1.653e-05 0.00% Amr::initSubcycle() 1 9.18e-06 9.18e-06 9.18e-06 0.00% AmrLevel::checkPointPost() 3 5.529e-06 5.529e-06 5.529e-06 0.00% Gravity::set_mass_offset() 11 5.397e-06 5.397e-06 5.397e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.193e-06 5.193e-06 5.193e-06 0.00% Castro::retry_advance_ctu() 10 4.61e-06 4.61e-06 4.61e-06 0.00% Castro::FluxRegCrseInit 10 2.941e-06 2.941e-06 2.941e-06 0.00% AmrLevel::checkPointPre() 3 2.187e-06 2.187e-06 2.187e-06 0.00% Castro::FluxRegFineAdd() 10 2.061e-06 2.061e-06 2.061e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.018e-06 2.018e-06 2.018e-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 91 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 1186 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1555 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3688 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 293 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 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 2329 B 2048 KiB Gravity::solve_for_phi() 80 80 581 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 106 KiB 2048 KiB BndryData::define() 1056 1056 337 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 214 KiB 671 KiB Castro::estTimeStep() 21 21 2899 B 480 KiB VisMF::Write(FabArray) 656 656 3518 B 320 KiB Castro::normalize_species() 62 62 8004 B 320 KiB amrex::average_down 1067 1067 1640 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1217 B 257 KiB amrex::Dot() 1360 1360 3542 B 160 KiB FabArray::norminf() 1143 1143 3457 B 160 KiB check_for_negative_density() 10 10 294 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 59 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 29 B 20 KiB MLPoisson::Fsmooth() 132 132 3599 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 323 B 9648 B MLCellLinOp::applyBC() 8702 8702 230 B 9344 B MLCellLinOp::prepareForSolve() 66 66 4 B 7792 B amrex::Copy() 100 100 3938 B 6144 B StateData::FillBoundary(geom) 1992 1992 48 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 380 B 1248 B MLCGSolver::bicgstab 410 410 97 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 607 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 43 KiB 8192 KiB VisMF::Write(FabArray) 744 744 418 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3599 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 323 B 9648 B MLCellLinOp::applyBC() 4351 4351 229 B 9328 B MLCellLinOp::prepareForSolve() 66 66 4 B 7792 B amrex::Copy() 100 100 3938 B 6144 B Gravity::get_new_grav_vector() 3 3 2883 B 3072 B StateData::FillBoundary(geom) 1992 1992 48 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 616 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 307 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [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.02-34-g3525b4a3f27e) finalized Initializing AMReX (24.02-34-g3525b4a3f27e)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-34-g3525b4a3f27e) initialized Starting run at 09:20:53 UTC on 2024-03-05. Successfully read inputs file ... Castro git describe: 24.02-27-g465a83f5a AMReX git describe: 24.02-34-g3525b4a3f Microphysics git describe: 24.03-1-gce331bc8 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.491610602 Restart time = 0.072002367 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.070838213 [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.04801949 [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.070393349 [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.074360173 [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.072605732 [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.027739657 seconds Ending run at 09:20:54 UTC on 2024-03-05. Run time = 0.437062152 Run time without initialization = 0.36440303 Average number of zones advanced per microsecond: 3.597 Average number of zones advanced per microsecond per rank: 3.597 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4371 ... 0.4371 ... 0.4371 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1418 0.1418 0.1418 32.44% VisMF::Read() 3 0.06044 0.06044 0.06044 13.83% MLCellLinOp::applyBC() 1910 0.04189 0.04189 0.04189 9.58% VisMF::Write(FabArray) 1 0.02509 0.02509 0.02509 5.74% MLPoisson::Fsmooth() 1440 0.01431 0.01431 0.01431 3.27% FillBoundary_nowait() 1730 0.01299 0.01299 0.01299 2.97% StateData::FillBoundary(geom) 160 0.01205 0.01205 0.01205 2.76% amrex::Dot() 484 0.008942 0.008942 0.008942 2.05% Castro::normalize_species() 30 0.008828 0.008828 0.008828 2.02% FabArray::norminf() 465 0.008431 0.008431 0.008431 1.93% FabArray::setVal() 501 0.006417 0.006417 0.006417 1.47% Castro::computeTemp() 30 0.006306 0.006306 0.006306 1.44% FabArray::ParallelCopy_nowait() 380 0.006127 0.006127 0.006127 1.40% Castro::enforce_min_density() 30 0.006078 0.006078 0.006078 1.39% FabArray::Saxpy() 597 0.005701 0.005701 0.005701 1.30% MLCellLinOp::defineAuxData() 6 0.005465 0.005465 0.005465 1.25% Gravity::fill_multipole_BCs() 6 0.005453 0.005453 0.005453 1.25% amrex::Copy() 221 0.005376 0.005376 0.005376 1.23% Amr::restart() 1 0.004752 0.004752 0.004752 1.09% StateDataPhysBCFunct::() 20 0.004723 0.004723 0.004723 1.08% MLPoisson::Fapply() 464 0.004446 0.004446 0.004446 1.02% FabArray::Xpay() 325 0.003429 0.003429 0.003429 0.78% MLMG::addInterpCorrection() 180 0.003136 0.003136 0.003136 0.72% amrex::average_down 180 0.002984 0.002984 0.002984 0.68% Castro::estTimeStep() 10 0.00266 0.00266 0.00266 0.61% Amr::writePlotFile() 1 0.002496 0.002496 0.002496 0.57% BndryData::define() 6 0.002102 0.002102 0.002102 0.48% Castro::reset_internal_energy(MultiFab) 30 0.002066 0.002066 0.002066 0.47% Castro::construct_new_gravity_source() 5 0.00187 0.00187 0.00187 0.43% Castro::enforce_speed_limit() 30 0.001822 0.001822 0.001822 0.42% amrex::Add() 36 0.001548 0.001548 0.001548 0.35% Castro::construct_old_gravity_source() 5 0.001492 0.001492 0.001492 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009457 0.0009457 0.0009457 0.22% Gravity::actual_solve_with_mlmg() 6 0.000888 0.000888 0.000888 0.20% check_for_negative_density() 5 0.0008613 0.0008613 0.0008613 0.20% MLCellLinOp::setLevelBC() 6 0.0008524 0.0008524 0.0008524 0.20% MLCellLinOp::prepareForSolve() 6 0.0007496 0.0007496 0.0007496 0.17% Castro::reset_internal_energy(Fab) 240 0.0007304 0.0007304 0.0007304 0.17% MLCGSolver::bicgstab 36 0.000715 0.000715 0.000715 0.16% FabArray::mult() 22 0.0006915 0.0006915 0.0006915 0.16% FabArray::setDomainBndry() 20 0.0006902 0.0006902 0.0006902 0.16% MultiFab::contains_nan() 10 0.000649 0.000649 0.000649 0.15% MLCellLinOp::compGrad() 6 0.0006176 0.0006176 0.0006176 0.14% MLMG::prepareForSolve() 6 0.0005642 0.0005642 0.0005642 0.13% MLCellLinOp::smooth() 720 0.000528 0.000528 0.000528 0.12% Amr::InitAmr() 1 0.0004776 0.0004776 0.0004776 0.11% FabArrayBase::CPC::define() 244 0.0004217 0.0004217 0.0004217 0.10% FabArrayBase::getCPC() 632 0.0003869 0.0003869 0.0003869 0.09% FabArray::FillBoundary() 1730 0.0003573 0.0003573 0.0003573 0.08% Gravity::get_old_grav_vector() 5 0.0003182 0.0003182 0.0003182 0.07% main() 1 0.00028 0.00028 0.00028 0.06% FabArrayBase::getFB() 1730 0.000272 0.000272 0.000272 0.06% Gravity::get_new_grav_vector() 5 0.0002695 0.0002695 0.0002695 0.06% MultiFab::max() 6 0.0002052 0.0002052 0.0002052 0.05% AmrLevel::FillPatch() 20 0.0001992 0.0001992 0.0001992 0.05% MLCellLinOp::apply() 464 0.000187 0.000187 0.000187 0.04% Amr::coarseTimeStep() 5 0.0001738 0.0001738 0.0001738 0.04% MLCGSolver::ParallelAllReduce 798 0.0001548 0.0001548 0.0001548 0.04% MLCellLinOp::defineBC() 6 0.0001534 0.0001534 0.0001534 0.04% FabArray::ParallelCopy() 380 0.0001181 0.0001181 0.0001181 0.03% FillPatchIterator::Initialize 20 0.0001081 0.0001081 0.0001081 0.02% Castro::create_source_corrector() 5 0.0001043 0.0001043 0.0001043 0.02% MLLinOp::defineGrids() 6 9.651e-05 9.651e-05 9.651e-05 0.02% Castro::subcycle_advance_ctu() 5 9.277e-05 9.277e-05 9.277e-05 0.02% Amr::timeStep() 5 9.233e-05 9.233e-05 9.233e-05 0.02% MLMG::mgVcycle() 36 9.03e-05 9.03e-05 9.03e-05 0.02% AmrLevel::restart() 1 8.76e-05 8.76e-05 8.76e-05 0.02% MLCellLinOp::correctionResidual() 180 7.748e-05 7.748e-05 7.748e-05 0.02% StateData::restartDoit() 4 6.967e-05 6.967e-05 6.967e-05 0.02% Castro::construct_new_source() 25 6.899e-05 6.899e-05 6.899e-05 0.02% Gravity::update_max_rhs() 6 6.628e-05 6.628e-05 6.628e-05 0.02% Castro::initialize_do_advance() 5 6.465e-05 6.465e-05 6.465e-05 0.01% FabArrayBase::FB::FB() 26 6.098e-05 6.098e-05 6.098e-05 0.01% Castro::post_timestep() 5 5.944e-05 5.944e-05 5.944e-05 0.01% MLMG:computeResOfCorrection() 180 5.915e-05 5.915e-05 5.915e-05 0.01% Gravity::solve_for_phi() 5 5.529e-05 5.529e-05 5.529e-05 0.01% Castro::finalize_do_advance() 5 4.519e-05 4.519e-05 4.519e-05 0.01% MLMG::actualBottomSolve() 36 4.402e-05 4.402e-05 4.402e-05 0.01% Castro::do_advance_ctu() 5 4.205e-05 4.205e-05 4.205e-05 0.01% MLMG::mgVcycle_down::4 36 4.19e-05 4.19e-05 4.19e-05 0.01% MLMG::mgVcycle_down::0 36 3.961e-05 3.961e-05 3.961e-05 0.01% MLMG::mgVcycle_down::1 36 3.951e-05 3.951e-05 3.951e-05 0.01% MLMG::mgVcycle_down::2 36 3.715e-05 3.715e-05 3.715e-05 0.01% MLMG::mgVcycle_down::3 36 3.711e-05 3.711e-05 3.711e-05 0.01% Castro::initialize_advance() 5 3.583e-05 3.583e-05 3.583e-05 0.01% Amr::writeSmallPlotFile() 1 3.492e-05 3.492e-05 3.492e-05 0.01% Castro::advance() 5 3.467e-05 3.467e-05 3.467e-05 0.01% MLMG::solve() 6 3.391e-05 3.391e-05 3.391e-05 0.01% Castro::finalize_advance() 5 3.3e-05 3.3e-05 3.3e-05 0.01% Castro::initMFs() 1 3.18e-05 3.18e-05 3.18e-05 0.01% Castro::clean_state() 30 3.064e-05 3.064e-05 3.064e-05 0.01% Castro::post_restart() 1 2.992e-05 2.992e-05 2.992e-05 0.01% MLMG::mgVcycle_up::4 36 2.921e-05 2.921e-05 2.921e-05 0.01% Castro::buildMetrics() 1 2.883e-05 2.883e-05 2.883e-05 0.01% Castro::do_new_sources() 5 2.752e-05 2.752e-05 2.752e-05 0.01% Castro::construct_old_source() 25 2.724e-05 2.724e-05 2.724e-05 0.01% MLMG::oneIter() 36 2.615e-05 2.615e-05 2.615e-05 0.01% Castro::swap_state_time_levels() 5 2.526e-05 2.526e-05 2.526e-05 0.01% MLCellLinOp::solutionResidual() 42 2.41e-05 2.41e-05 2.41e-05 0.01% MLMG::mgVcycle_up::3 36 2.407e-05 2.407e-05 2.407e-05 0.01% MLMG::mgVcycle_up::0 36 2.351e-05 2.351e-05 2.351e-05 0.01% MLMG::mgVcycle_up::2 36 2.203e-05 2.203e-05 2.203e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.201e-05 2.201e-05 2.201e-05 0.01% MLMG::mgVcycle_up::1 36 2.195e-05 2.195e-05 2.195e-05 0.01% MLMG::ResNormInf() 42 1.858e-05 1.858e-05 1.858e-05 0.00% Castro::construct_new_gravity() 5 1.718e-05 1.718e-05 1.718e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.689e-05 1.689e-05 1.689e-05 0.00% MLPoisson::define() 6 1.54e-05 1.54e-05 1.54e-05 0.00% MLMG::mgVcycle_bottom 36 1.534e-05 1.534e-05 1.534e-05 0.00% makeSFC 30 1.523e-05 1.523e-05 1.523e-05 0.00% MLMG::computeResidual() 36 1.478e-05 1.478e-05 1.478e-05 0.00% FillPatchSingleLevel 20 1.428e-05 1.428e-05 1.428e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.32e-05 1.32e-05 1.32e-05 0.00% MLPoisson::prepareForSolve() 6 1.171e-05 1.171e-05 1.171e-05 0.00% Amr::initSubcycle() 1 1.162e-05 1.162e-05 1.162e-05 0.00% Castro::do_old_sources() 5 1.158e-05 1.158e-05 1.158e-05 0.00% DistributionMapping::Distribute() 31 9.949e-06 9.949e-06 9.949e-06 0.00% Gravity::actual_multilevel_solve() 1 8.375e-06 8.375e-06 8.375e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.879e-06 6.879e-06 6.879e-06 0.00% MLLinOp::define() 6 6.658e-06 6.658e-06 6.658e-06 0.00% Castro::construct_old_gravity() 5 6.213e-06 6.213e-06 6.213e-06 0.00% Castro::check_for_nan() 10 6.047e-06 6.047e-06 6.047e-06 0.00% Castro::apply_source_to_state() 10 5.846e-06 5.846e-06 5.846e-06 0.00% MLMG::computeMLResidual() 6 4.539e-06 4.539e-06 4.539e-06 0.00% Gravity::swapTimeLevels() 5 4.133e-06 4.133e-06 4.133e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.425e-06 3.425e-06 3.425e-06 0.00% MLMG::getGradSolution() 6 3.399e-06 3.399e-06 3.399e-06 0.00% Castro::computeNewDt() 5 3.167e-06 3.167e-06 3.167e-06 0.00% Castro::expand_state() 5 2.92e-06 2.92e-06 2.92e-06 0.00% MLMG::MLResNormInf() 6 2.489e-06 2.489e-06 2.489e-06 0.00% Gravity::set_mass_offset() 6 2.401e-06 2.401e-06 2.401e-06 0.00% MLMG::MLRhsNormInf() 6 2.309e-06 2.309e-06 2.309e-06 0.00% Castro::retry_advance_ctu() 5 2.111e-06 2.111e-06 2.111e-06 0.00% Amr::init() 1 1.711e-06 1.711e-06 1.711e-06 0.00% Castro::FluxRegCrseInit 5 1.696e-06 1.696e-06 1.696e-06 0.00% Castro::FluxRegFineAdd() 5 1.253e-06 1.253e-06 1.253e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.152e-06 1.152e-06 1.152e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4371 0.4371 0.4371 100.00% Amr::coarseTimeStep() 5 0.3364 0.3364 0.3364 76.96% Amr::timeStep() 5 0.3345 0.3345 0.3345 76.52% Castro::advance() 5 0.3287 0.3287 0.3287 75.20% Castro::subcycle_advance_ctu() 5 0.3213 0.3213 0.3213 73.51% Castro::do_advance_ctu() 5 0.3212 0.3212 0.3212 73.49% Castro::construct_ctu_hydro_source() 5 0.1468 0.1468 0.1468 33.58% Castro::construct_new_gravity() 5 0.1401 0.1401 0.1401 32.04% Gravity::solve_phi_with_mlmg() 6 0.138 0.138 0.138 31.58% Gravity::solve_for_phi() 5 0.1324 0.1324 0.1324 30.28% Gravity::actual_solve_with_mlmg() 6 0.1323 0.1323 0.1323 30.27% MLMG::solve() 6 0.1205 0.1205 0.1205 27.56% MLMG::oneIter() 36 0.1129 0.1129 0.1129 25.83% MLMG::mgVcycle() 36 0.1113 0.1113 0.1113 25.47% Amr::init() 1 0.07205 0.07205 0.07205 16.48% Amr::restart() 1 0.07205 0.07205 0.07205 16.48% AmrLevel::restart() 1 0.06083 0.06083 0.06083 13.92% StateData::restartDoit() 4 0.06074 0.06074 0.06074 13.90% VisMF::Read() 3 0.06044 0.06044 0.06044 13.83% MLCellLinOp::applyBC() 1910 0.05557 0.05557 0.05557 12.71% MLCellLinOp::smooth() 720 0.05206 0.05206 0.05206 11.91% MLMG::mgVcycle_bottom 36 0.03074 0.03074 0.03074 7.03% MLMG::actualBottomSolve() 36 0.03072 0.03072 0.03072 7.03% MLCGSolver::bicgstab 36 0.03036 0.03036 0.03036 6.95% Amr::writePlotFile() 1 0.02784 0.02784 0.02784 6.37% Castro::clean_state() 30 0.02586 0.02586 0.02586 5.92% VisMF::Write(FabArray) 1 0.02509 0.02509 0.02509 5.74% MLCellLinOp::apply() 464 0.0227 0.0227 0.0227 5.19% AmrLevel::FillPatch() 20 0.02175 0.02175 0.02175 4.98% FillPatchIterator::Initialize 20 0.01966 0.01966 0.01966 4.50% FillPatchIterator::FillFromLevel0() 20 0.01887 0.01887 0.01887 4.32% FillPatchSingleLevel 20 0.01884 0.01884 0.01884 4.31% StateDataPhysBCFunct::() 20 0.01677 0.01677 0.01677 3.84% MLMG:computeResOfCorrection() 180 0.01576 0.01576 0.01576 3.61% MLCellLinOp::correctionResidual() 180 0.0157 0.0157 0.0157 3.59% MLMG::mgVcycle_down::0 36 0.01511 0.01511 0.01511 3.46% MLPoisson::Fsmooth() 1440 0.01431 0.01431 0.01431 3.27% FabArray::FillBoundary() 1730 0.01368 0.01368 0.01368 3.13% MLMG::mgVcycle_down::3 36 0.01354 0.01354 0.01354 3.10% FillBoundary_nowait() 1730 0.01332 0.01332 0.01332 3.05% StateData::FillBoundary(geom) 160 0.01205 0.01205 0.01205 2.76% MLMG::mgVcycle_up::0 36 0.01122 0.01122 0.01122 2.57% Castro::initialize_do_advance() 5 0.01017 0.01017 0.01017 2.33% Castro::do_old_sources() 5 0.009227 0.009227 0.009227 2.11% MLPoisson::define() 6 0.009217 0.009217 0.009217 2.11% Castro::computeTemp() 30 0.009103 0.009103 0.009103 2.08% amrex::Dot() 484 0.008942 0.008942 0.008942 2.05% Castro::normalize_species() 30 0.008828 0.008828 0.008828 2.02% FabArray::norminf() 465 0.008431 0.008431 0.008431 1.93% Gravity::get_new_grav_vector() 5 0.007569 0.007569 0.007569 1.73% Castro::construct_old_gravity() 5 0.007383 0.007383 0.007383 1.69% Gravity::get_old_grav_vector() 5 0.007377 0.007377 0.007377 1.69% MLMG::mgVcycle_down::1 36 0.007271 0.007271 0.007271 1.66% Castro::initialize_advance() 5 0.007027 0.007027 0.007027 1.61% FabArray::ParallelCopy() 380 0.006652 0.006652 0.006652 1.52% MLMG::mgVcycle_down::2 36 0.006617 0.006617 0.006617 1.51% FabArray::ParallelCopy_nowait() 380 0.006534 0.006534 0.006534 1.49% MLMG::mgVcycle_down::4 36 0.006454 0.006454 0.006454 1.48% FabArray::setVal() 501 0.006417 0.006417 0.006417 1.47% Castro::post_restart() 1 0.006278 0.006278 0.006278 1.44% MLCellLinOp::defineAuxData() 6 0.006238 0.006238 0.006238 1.43% Castro::do_new_sources() 5 0.006127 0.006127 0.006127 1.40% Castro::enforce_min_density() 30 0.006078 0.006078 0.006078 1.39% Gravity::multilevel_solve_for_new_phi() 1 0.005898 0.005898 0.005898 1.35% Gravity::actual_multilevel_solve() 1 0.005881 0.005881 0.005881 1.35% Castro::post_timestep() 5 0.005707 0.005707 0.005707 1.31% FabArray::Saxpy() 597 0.005701 0.005701 0.005701 1.30% Castro::expand_state() 5 0.005584 0.005584 0.005584 1.28% Gravity::fill_multipole_BCs() 6 0.005582 0.005582 0.005582 1.28% MLCGSolver::ParallelAllReduce 798 0.005473 0.005473 0.005473 1.25% MLMG::addInterpCorrection() 180 0.005381 0.005381 0.005381 1.23% amrex::Copy() 221 0.005376 0.005376 0.005376 1.23% amrex::average_down 180 0.005331 0.005331 0.005331 1.22% MLMG::mgVcycle_up::1 36 0.005156 0.005156 0.005156 1.18% MLMG::mgVcycle_up::4 36 0.005154 0.005154 0.005154 1.18% MLMG::mgVcycle_up::2 36 0.005031 0.005031 0.005031 1.15% MLMG::mgVcycle_up::3 36 0.00493 0.00493 0.00493 1.13% MLPoisson::Fapply() 464 0.004446 0.004446 0.004446 1.02% MLCellLinOp::solutionResidual() 42 0.003572 0.003572 0.003572 0.82% FabArray::Xpay() 325 0.003429 0.003429 0.003429 0.78% MLMG::prepareForSolve() 6 0.002839 0.002839 0.002839 0.65% MLCellLinOp::defineBC() 6 0.002829 0.002829 0.002829 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002797 0.002797 0.002797 0.64% MLMG::computeResidual() 36 0.002793 0.002793 0.002793 0.64% BndryData::define() 6 0.002675 0.002675 0.002675 0.61% Castro::estTimeStep() 10 0.00266 0.00266 0.00266 0.61% Castro::construct_new_source() 25 0.001939 0.001939 0.001939 0.44% Castro::construct_new_gravity_source() 5 0.00187 0.00187 0.00187 0.43% Castro::enforce_speed_limit() 30 0.001822 0.001822 0.001822 0.42% Castro::computeNewDt() 5 0.001724 0.001724 0.001724 0.39% amrex::Add() 36 0.001548 0.001548 0.001548 0.35% Castro::construct_old_source() 25 0.001519 0.001519 0.001519 0.35% Castro::construct_old_gravity_source() 5 0.001492 0.001492 0.001492 0.34% MLMG::ResNormInf() 42 0.000985 0.000985 0.000985 0.23% Castro::finalize_do_advance() 5 0.0009842 0.0009842 0.0009842 0.23% Castro::apply_source_to_state() 10 0.0009558 0.0009558 0.0009558 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009457 0.0009457 0.0009457 0.22% MLMG::getGradSolution() 6 0.0009028 0.0009028 0.0009028 0.21% MLCellLinOp::compGrad() 6 0.0008994 0.0008994 0.0008994 0.21% check_for_negative_density() 5 0.0008613 0.0008613 0.0008613 0.20% MLCellLinOp::setLevelBC() 6 0.0008524 0.0008524 0.0008524 0.20% FabArrayBase::getCPC() 632 0.0008086 0.0008086 0.0008086 0.18% MLMG::computeMLResidual() 6 0.0007984 0.0007984 0.0007984 0.18% MLPoisson::prepareForSolve() 6 0.0007613 0.0007613 0.0007613 0.17% MLCellLinOp::prepareForSolve() 6 0.0007496 0.0007496 0.0007496 0.17% Castro::reset_internal_energy(Fab) 240 0.0007304 0.0007304 0.0007304 0.17% Gravity::update_max_rhs() 6 0.0007179 0.0007179 0.0007179 0.16% FabArray::mult() 22 0.0006915 0.0006915 0.0006915 0.16% FabArray::setDomainBndry() 20 0.0006902 0.0006902 0.0006902 0.16% Castro::check_for_nan() 10 0.000655 0.000655 0.000655 0.15% MultiFab::contains_nan() 10 0.000649 0.000649 0.000649 0.15% Amr::InitAmr() 1 0.0004892 0.0004892 0.0004892 0.11% FabArrayBase::CPC::define() 244 0.0004217 0.0004217 0.0004217 0.10% FabArrayBase::getFB() 1730 0.000333 0.000333 0.000333 0.08% Castro::finalize_advance() 5 0.0002994 0.0002994 0.0002994 0.07% Gravity::swapTimeLevels() 5 0.0002378 0.0002378 0.0002378 0.05% MultiFab::max() 6 0.0002052 0.0002052 0.0002052 0.05% MLMG::MLResNormInf() 6 0.0001933 0.0001933 0.0001933 0.04% Castro::buildMetrics() 1 0.0001559 0.0001559 0.0001559 0.04% MLLinOp::define() 6 0.0001347 0.0001347 0.0001347 0.03% MLLinOp::defineGrids() 6 0.0001281 0.0001281 0.0001281 0.03% MLMG::MLRhsNormInf() 6 0.0001209 0.0001209 0.0001209 0.03% Castro::create_source_corrector() 5 0.0001043 0.0001043 0.0001043 0.02% FabArrayBase::FB::FB() 26 6.098e-05 6.098e-05 6.098e-05 0.01% Amr::writeSmallPlotFile() 1 3.492e-05 3.492e-05 3.492e-05 0.01% Castro::initMFs() 1 3.18e-05 3.18e-05 3.18e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.042e-05 3.042e-05 3.042e-05 0.01% Castro::swap_state_time_levels() 5 2.526e-05 2.526e-05 2.526e-05 0.01% makeSFC 30 2.354e-05 2.354e-05 2.354e-05 0.01% Amr::initSubcycle() 1 1.162e-05 1.162e-05 1.162e-05 0.00% DistributionMapping::Distribute() 31 9.949e-06 9.949e-06 9.949e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.063e-06 5.063e-06 5.063e-06 0.00% Gravity::set_mass_offset() 6 2.401e-06 2.401e-06 2.401e-06 0.00% Castro::retry_advance_ctu() 5 2.111e-06 2.111e-06 2.111e-06 0.00% Castro::FluxRegCrseInit 5 1.696e-06 1.696e-06 1.696e-06 0.00% Castro::FluxRegFineAdd() 5 1.253e-06 1.253e-06 1.253e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.152e-06 1.152e-06 1.152e-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 180 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 982 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1695 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 6428 KiB 14 MiB MLMG::prepareForSolve() 361 361 3385 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 175 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6415 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3261 B 2048 KiB Gravity::solve_for_phi() 40 40 619 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 2869 B 480 KiB VisMF::Write(FabArray) 112 112 2308 B 320 KiB Castro::normalize_species() 30 30 6570 B 320 KiB amrex::average_down 469 469 1504 B 257 KiB MLMG::addInterpCorrection() 468 468 1064 B 257 KiB amrex::Dot() 592 592 3019 B 160 KiB FabArray::norminf() 501 501 2977 B 160 KiB check_for_negative_density() 5 5 316 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3284 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 257 B 9648 B MLCellLinOp::applyBC() 3820 3820 219 B 9344 B amrex::Copy() 56 56 5860 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 350 B 1248 B MLCGSolver::bicgstab 180 180 83 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1198 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 149 KiB 3584 KiB VisMF::Read() 24 24 208 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3284 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 257 B 9648 B MLCellLinOp::applyBC() 1910 1910 217 B 9328 B amrex::Copy() 56 56 5860 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2519 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2640 B MLMG::prepareForSolve() 7 7 803 B 1648 B amrex::average_down 37 37 459 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): 12056 Free GPU global memory (MB): 2167 [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.02-34-g3525b4a3f27e) finalized