Initializing AMReX (23.12-9-gd884f44493c0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-9-gd884f44493c0) initialized Starting run at 00:04:56 UTC on 2023-12-12. Successfully read inputs file ... Castro git describe: 23.12-7-gd4ebfae6a AMReX git describe: 23.12-9-gd884f4449 Microphysics git describe: 23.12-1-gbdf6a18e 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.045453982 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024999068 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.051665652 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050346763 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.073833372 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.087064624 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.067760083 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.045368419 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.059043207 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.074433271 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.071886591 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.05196952 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.061824569 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.043306608 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024605683 seconds Ending run at 00:04:57 UTC on 2023-12-12. Run time = 0.890459114 Run time without initialization = 0.763809438 Average number of zones advanced per microsecond: 3.432 Average number of zones advanced per microsecond per rank: 3.432 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8905 ... 0.8905 ... 0.8905 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2613 0.2613 0.2613 29.34% VisMF::Write(FabArray) 11 0.1762 0.1762 0.1762 19.79% MLCellLinOp::applyBC() 4433 0.08116 0.08116 0.08116 9.11% StateData::FillBoundary(geom) 328 0.03487 0.03487 0.03487 3.92% MLPoisson::Fsmooth() 3280 0.0338 0.0338 0.0338 3.80% FillBoundary_nowait() 4023 0.03035 0.03035 0.03035 3.41% amrex::Dot() 1114 0.02148 0.02148 0.02148 2.41% Castro::normalize_species() 62 0.0201 0.0201 0.0201 2.26% FabArray::norminf() 1061 0.01995 0.01995 0.01995 2.24% Castro::computeTemp() 63 0.0156 0.0156 0.0156 1.75% FabArray::ParallelCopy_nowait() 861 0.01379 0.01379 0.01379 1.55% FabArray::setVal() 1144 0.01371 0.01371 0.01371 1.54% FabArray::Saxpy() 1370 0.01302 0.01302 0.01302 1.46% Castro::enforce_min_density() 62 0.01298 0.01298 0.01298 1.46% StateDataPhysBCFunct::() 41 0.01108 0.01108 0.01108 1.24% MLPoisson::Fapply() 1142 0.01089 0.01089 0.01089 1.22% amrex::Copy() 472 0.01083 0.01083 0.01083 1.22% MLCellLinOp::defineAuxData() 11 0.01051 0.01051 0.01051 1.18% Gravity::fill_multipole_BCs() 11 0.009319 0.009319 0.009319 1.05% FabArray::Xpay() 821 0.008403 0.008403 0.008403 0.94% MLMG::addInterpCorrection() 410 0.007047 0.007047 0.007047 0.79% amrex::average_down 410 0.006307 0.006307 0.006307 0.71% Castro::estTimeStep() 21 0.006064 0.006064 0.006064 0.68% Amr::checkPoint() 3 0.005252 0.005252 0.005252 0.59% Castro::reset_internal_energy(MultiFab) 63 0.005058 0.005058 0.005058 0.57% amrex::Add() 164 0.004421 0.004421 0.004421 0.50% BndryData::define() 11 0.003946 0.003946 0.003946 0.44% Castro::construct_new_gravity_source() 10 0.003358 0.003358 0.003358 0.38% Castro::construct_old_gravity_source() 10 0.002981 0.002981 0.002981 0.33% Castro::enforce_speed_limit() 62 0.002438 0.002438 0.002438 0.27% check_for_negative_density() 10 0.001899 0.001899 0.001899 0.21% MLCGSolver::bicgstab 82 0.001875 0.001875 0.001875 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001853 0.001853 0.001853 0.21% Amr::writePlotFile() 2 0.001778 0.001778 0.001778 0.20% Castro::reset_internal_energy(Fab) 504 0.001602 0.001602 0.001602 0.18% Gravity::actual_solve_with_mlmg() 11 0.001573 0.001573 0.001573 0.18% MLCellLinOp::setLevelBC() 11 0.001557 0.001557 0.001557 0.17% Castro::initData() 1 0.001529 0.001529 0.001529 0.17% FabArray::setDomainBndry() 41 0.001363 0.001363 0.001363 0.15% FabArray::mult() 43 0.001358 0.001358 0.001358 0.15% MLCellLinOp::prepareForSolve() 11 0.001335 0.001335 0.001335 0.15% MultiFab::contains_nan() 20 0.001258 0.001258 0.001258 0.14% MLCellLinOp::smooth() 1640 0.001206 0.001206 0.001206 0.14% MLCellLinOp::compGrad() 11 0.001063 0.001063 0.001063 0.12% MLMG::prepareForSolve() 11 0.001 0.001 0.001 0.11% FabArray::FillBoundary() 4023 0.0009368 0.0009368 0.0009368 0.11% FabArrayBase::getCPC() 1323 0.0008079 0.0008079 0.0008079 0.09% FabArrayBase::CPC::define() 454 0.0006934 0.0006934 0.0006934 0.08% FabArrayBase::getFB() 4023 0.0006754 0.0006754 0.0006754 0.08% Gravity::get_new_grav_vector() 11 0.0006008 0.0006008 0.0006008 0.07% MLCellLinOp::apply() 1142 0.000487 0.000487 0.000487 0.05% Gravity::get_old_grav_vector() 10 0.0004852 0.0004852 0.0004852 0.05% Amr::InitAmr() 1 0.0004833 0.0004833 0.0004833 0.05% AmrLevel::FillPatch() 41 0.0003836 0.0003836 0.0003836 0.04% Amr::coarseTimeStep() 10 0.0003736 0.0003736 0.0003736 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003494 0.0003494 0.0003494 0.04% MultiFab::max() 11 0.0003372 0.0003372 0.0003372 0.04% main() 1 0.0003176 0.0003176 0.0003176 0.04% MLCellLinOp::defineBC() 11 0.0002626 0.0002626 0.0002626 0.03% FabArray::ParallelCopy() 861 0.0002587 0.0002587 0.0002587 0.03% Castro::subcycle_advance_ctu() 10 0.0002322 0.0002322 0.0002322 0.03% MLCellLinOp::correctionResidual() 492 0.0002234 0.0002234 0.0002234 0.03% FillPatchIterator::Initialize 41 0.0002162 0.0002162 0.0002162 0.02% MLMG::mgVcycle() 82 0.000204 0.000204 0.000204 0.02% Castro::create_source_corrector() 10 0.0001702 0.0001702 0.0001702 0.02% Amr::timeStep() 10 0.0001511 0.0001511 0.0001511 0.02% MLLinOp::defineGrids() 11 0.0001493 0.0001493 0.0001493 0.02% Gravity::solve_for_phi() 10 0.0001483 0.0001483 0.0001483 0.02% StateData::checkPoint() 12 0.0001316 0.0001316 0.0001316 0.01% Gravity::update_max_rhs() 11 0.0001288 0.0001288 0.0001288 0.01% MLMG:computeResOfCorrection() 410 0.0001176 0.0001176 0.0001176 0.01% Castro::advance() 10 0.0001151 0.0001151 0.0001151 0.01% MLMG::mgVcycle_down::0 82 9.636e-05 9.636e-05 9.636e-05 0.01% FabArrayBase::FB::FB() 56 9.631e-05 9.631e-05 9.631e-05 0.01% MLMG::actualBottomSolve() 82 9.512e-05 9.512e-05 9.512e-05 0.01% MLMG::mgVcycle_down::1 82 8.814e-05 8.814e-05 8.814e-05 0.01% Castro::Castro() 1 8.581e-05 8.581e-05 8.581e-05 0.01% MLMG::mgVcycle_down::2 82 8.301e-05 8.301e-05 8.301e-05 0.01% MLMG::mgVcycle_down::4 82 7.77e-05 7.77e-05 7.77e-05 0.01% MLMG::mgVcycle_down::3 82 7.692e-05 7.692e-05 7.692e-05 0.01% Castro::initialize_advance() 10 7.37e-05 7.37e-05 7.37e-05 0.01% MLMG::solve() 11 7.299e-05 7.299e-05 7.299e-05 0.01% Castro::enforce_consistent_e() 1 7.165e-05 7.165e-05 7.165e-05 0.01% Castro::clean_state() 62 7.126e-05 7.126e-05 7.126e-05 0.01% Castro::construct_new_source() 50 7.012e-05 7.012e-05 7.012e-05 0.01% AmrLevel::checkPoint() 3 6.878e-05 6.878e-05 6.878e-05 0.01% Castro::finalize_advance() 10 6.754e-05 6.754e-05 6.754e-05 0.01% MLMG::mgVcycle_up::4 82 6.609e-05 6.609e-05 6.609e-05 0.01% Castro::initialize_do_advance() 10 5.801e-05 5.801e-05 5.801e-05 0.01% MLMG::mgVcycle_up::0 82 5.559e-05 5.559e-05 5.559e-05 0.01% MLMG::oneIter() 82 5.426e-05 5.426e-05 5.426e-05 0.01% MLMG::mgVcycle_up::3 82 5.243e-05 5.243e-05 5.243e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.165e-05 5.165e-05 5.165e-05 0.01% MLMG::mgVcycle_up::1 82 5.09e-05 5.09e-05 5.09e-05 0.01% MLCellLinOp::solutionResidual() 93 5.011e-05 5.011e-05 5.011e-05 0.01% Castro::do_new_sources() 10 4.939e-05 4.939e-05 4.939e-05 0.01% MLMG::mgVcycle_up::2 82 4.912e-05 4.912e-05 4.912e-05 0.01% Castro::finalize_do_advance() 10 4.67e-05 4.67e-05 4.67e-05 0.01% Castro::do_advance_ctu() 10 4.437e-05 4.437e-05 4.437e-05 0.00% StateData::define() 4 4.269e-05 4.269e-05 4.269e-05 0.00% MLMG::mgVcycle_bottom 82 3.66e-05 3.66e-05 3.66e-05 0.00% MLMG::ResNormInf() 93 3.624e-05 3.624e-05 3.624e-05 0.00% Castro::swap_state_time_levels() 10 3.593e-05 3.593e-05 3.593e-05 0.00% MLMG::computeResidual() 82 3.486e-05 3.486e-05 3.486e-05 0.00% FillPatchSingleLevel 41 3.402e-05 3.402e-05 3.402e-05 0.00% Amr::writeSmallPlotFile() 1 3.364e-05 3.364e-05 3.364e-05 0.00% Castro::initMFs() 1 3.221e-05 3.221e-05 3.221e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.169e-05 3.169e-05 3.169e-05 0.00% Castro::buildMetrics() 1 3.07e-05 3.07e-05 3.07e-05 0.00% Castro::construct_new_gravity() 10 2.646e-05 2.646e-05 2.646e-05 0.00% makeSFC 55 2.522e-05 2.522e-05 2.522e-05 0.00% Amr::defBaseLevel() 1 2.314e-05 2.314e-05 2.314e-05 0.00% MLPoisson::define() 11 2.184e-05 2.184e-05 2.184e-05 0.00% Castro::do_old_sources() 10 2.146e-05 2.146e-05 2.146e-05 0.00% Castro::construct_old_source() 50 1.893e-05 1.893e-05 1.893e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.872e-05 1.872e-05 1.872e-05 0.00% Amr::FinalizeInit() 1 1.856e-05 1.856e-05 1.856e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.667e-05 1.667e-05 1.667e-05 0.00% DistributionMapping::Distribute() 56 1.463e-05 1.463e-05 1.463e-05 0.00% MLPoisson::prepareForSolve() 11 1.453e-05 1.453e-05 1.453e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.386e-05 1.386e-05 1.386e-05 0.00% MLMG::computeMLResidual() 11 1.333e-05 1.333e-05 1.333e-05 0.00% Castro::apply_source_to_state() 20 1.246e-05 1.246e-05 1.246e-05 0.00% Castro::construct_old_gravity() 10 1.233e-05 1.233e-05 1.233e-05 0.00% Castro::check_for_nan() 20 1.135e-05 1.135e-05 1.135e-05 0.00% MLLinOp::define() 11 1.062e-05 1.062e-05 1.062e-05 0.00% Castro::post_init() 1 1.02e-05 1.02e-05 1.02e-05 0.00% Amr::initSubcycle() 1 8.961e-06 8.961e-06 8.961e-06 0.00% Gravity::swapTimeLevels() 10 8.955e-06 8.955e-06 8.955e-06 0.00% Castro::post_timestep() 10 8.349e-06 8.349e-06 8.349e-06 0.00% Gravity::actual_multilevel_solve() 1 8.105e-06 8.105e-06 8.105e-06 0.00% Castro::computeNewDt() 9 6.828e-06 6.828e-06 6.828e-06 0.00% MLMG::getGradSolution() 11 6.742e-06 6.742e-06 6.742e-06 0.00% Gravity::set_mass_offset() 11 6.118e-06 6.118e-06 6.118e-06 0.00% Castro::retry_advance_ctu() 10 5.837e-06 5.837e-06 5.837e-06 0.00% Castro::expand_state() 10 5.641e-06 5.641e-06 5.641e-06 0.00% AmrLevel::checkPointPost() 3 5.003e-06 5.003e-06 5.003e-06 0.00% Amr::InitializeInit() 1 4.502e-06 4.502e-06 4.502e-06 0.00% MLMG::MLRhsNormInf() 11 4.343e-06 4.343e-06 4.343e-06 0.00% MLMG::MLResNormInf() 11 3.889e-06 3.889e-06 3.889e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.275e-06 3.275e-06 3.275e-06 0.00% Castro::FluxRegCrseInit 10 2.898e-06 2.898e-06 2.898e-06 0.00% Castro::computeInitialDt() 2 2.767e-06 2.767e-06 2.767e-06 0.00% AmrLevel::checkPointPre() 3 2.4e-06 2.4e-06 2.4e-06 0.00% Amr::init() 1 2.349e-06 2.349e-06 2.349e-06 0.00% Castro::FluxRegFineAdd() 10 2.233e-06 2.233e-06 2.233e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.028e-06 2.028e-06 2.028e-06 0.00% Castro::post_regrid() 1 1.39e-06 1.39e-06 1.39e-06 0.00% Amr::initialInit() 1 1.196e-06 1.196e-06 1.196e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8905 0.8905 0.8905 100.00% Amr::coarseTimeStep() 10 0.7389 0.7389 0.7389 82.98% Amr::timeStep() 10 0.6463 0.6463 0.6463 72.58% Castro::advance() 10 0.636 0.636 0.636 71.42% Castro::subcycle_advance_ctu() 10 0.6208 0.6208 0.6208 69.71% Castro::do_advance_ctu() 10 0.6205 0.6205 0.6205 69.68% Gravity::solve_phi_with_mlmg() 11 0.2982 0.2982 0.2982 33.49% Gravity::actual_solve_with_mlmg() 11 0.2885 0.2885 0.2885 32.39% Castro::construct_new_gravity() 10 0.2757 0.2757 0.2757 30.96% Castro::construct_ctu_hydro_source() 10 0.273 0.273 0.273 30.65% MLMG::solve() 11 0.2663 0.2663 0.2663 29.90% Gravity::solve_for_phi() 10 0.2524 0.2524 0.2524 28.34% MLMG::oneIter() 82 0.2509 0.2509 0.2509 28.18% MLMG::mgVcycle() 82 0.2473 0.2473 0.2473 27.77% VisMF::Write(FabArray) 11 0.1762 0.1762 0.1762 19.79% Amr::checkPoint() 3 0.1342 0.1342 0.1342 15.08% AmrLevel::checkPoint() 3 0.129 0.129 0.129 14.48% StateData::checkPoint() 12 0.1289 0.1289 0.1289 14.48% Amr::init() 1 0.126 0.126 0.126 14.15% MLCellLinOp::smooth() 1640 0.121 0.121 0.121 13.59% MLCellLinOp::applyBC() 4433 0.1132 0.1132 0.1132 12.71% MLMG::mgVcycle_bottom 82 0.07724 0.07724 0.07724 8.67% MLMG::actualBottomSolve() 82 0.0772 0.0772 0.0772 8.67% MLCGSolver::bicgstab 82 0.07646 0.07646 0.07646 8.59% Castro::clean_state() 62 0.05691 0.05691 0.05691 6.39% AmrLevel::FillPatch() 41 0.05592 0.05592 0.05592 6.28% Amr::initialInit() 1 0.05546 0.05546 0.05546 6.23% FillPatchIterator::Initialize 41 0.05165 0.05165 0.05165 5.80% Amr::FinalizeInit() 1 0.0504 0.0504 0.0504 5.66% FillPatchIterator::FillFromLevel0() 41 0.05007 0.05007 0.05007 5.62% FillPatchSingleLevel 41 0.05002 0.05002 0.05002 5.62% Amr::writePlotFile() 2 0.04973 0.04973 0.04973 5.58% Castro::post_init() 1 0.04887 0.04887 0.04887 5.49% Gravity::multilevel_solve_for_new_phi() 1 0.04638 0.04638 0.04638 5.21% Gravity::actual_multilevel_solve() 1 0.04636 0.04636 0.04636 5.21% StateDataPhysBCFunct::() 41 0.04596 0.04596 0.04596 5.16% MLCellLinOp::apply() 1142 0.03814 0.03814 0.03814 4.28% StateData::FillBoundary(geom) 328 0.03487 0.03487 0.03487 3.92% MLMG::mgVcycle_down::0 82 0.03427 0.03427 0.03427 3.85% MLPoisson::Fsmooth() 3280 0.0338 0.0338 0.0338 3.80% FabArray::FillBoundary() 4023 0.03205 0.03205 0.03205 3.60% FillBoundary_nowait() 4023 0.03112 0.03112 0.03112 3.49% MLMG::mgVcycle_up::0 82 0.0258 0.0258 0.0258 2.90% Gravity::get_new_grav_vector() 11 0.02542 0.02542 0.02542 2.85% MLCellLinOp::correctionResidual() 492 0.02306 0.02306 0.02306 2.59% Castro::computeTemp() 63 0.02226 0.02226 0.02226 2.50% Castro::initialize_do_advance() 10 0.02217 0.02217 0.02217 2.49% amrex::Dot() 1114 0.02148 0.02148 0.02148 2.41% MLMG:computeResOfCorrection() 410 0.02025 0.02025 0.02025 2.27% Castro::normalize_species() 62 0.0201 0.0201 0.0201 2.26% FabArray::norminf() 1061 0.01995 0.01995 0.01995 2.24% Castro::do_old_sources() 10 0.01893 0.01893 0.01893 2.13% MLPoisson::define() 11 0.0175 0.0175 0.0175 1.96% MLMG::mgVcycle_down::1 82 0.01668 0.01668 0.01668 1.87% Castro::construct_old_gravity() 10 0.01551 0.01551 0.01551 1.74% MLMG::mgVcycle_down::2 82 0.01551 0.01551 0.01551 1.74% Gravity::get_old_grav_vector() 10 0.0155 0.0155 0.0155 1.74% MLMG::mgVcycle_down::3 82 0.01511 0.01511 0.01511 1.70% MLMG::mgVcycle_down::4 82 0.01502 0.01502 0.01502 1.69% FabArray::ParallelCopy() 861 0.01487 0.01487 0.01487 1.67% FabArray::ParallelCopy_nowait() 861 0.01461 0.01461 0.01461 1.64% Castro::initialize_advance() 10 0.01447 0.01447 0.01447 1.63% FabArray::setVal() 1144 0.01371 0.01371 0.01371 1.54% FabArray::Saxpy() 1370 0.01302 0.01302 0.01302 1.46% Castro::enforce_min_density() 62 0.01298 0.01298 0.01298 1.46% MLCGSolver::ParallelAllReduce 1832 0.0129 0.0129 0.0129 1.45% MLMG::addInterpCorrection() 410 0.01242 0.01242 0.01242 1.39% Castro::expand_state() 10 0.01219 0.01219 0.01219 1.37% MLMG::mgVcycle_up::1 82 0.01205 0.01205 0.01205 1.35% MLMG::mgVcycle_up::4 82 0.01202 0.01202 0.01202 1.35% MLCellLinOp::defineAuxData() 11 0.01199 0.01199 0.01199 1.35% Castro::do_new_sources() 10 0.01188 0.01188 0.01188 1.33% MLMG::mgVcycle_up::2 82 0.01181 0.01181 0.01181 1.33% amrex::average_down 410 0.01177 0.01177 0.01177 1.32% MLMG::mgVcycle_up::3 82 0.01158 0.01158 0.01158 1.30% MLPoisson::Fapply() 1142 0.01089 0.01089 0.01089 1.22% amrex::Copy() 472 0.01083 0.01083 0.01083 1.22% Castro::post_timestep() 10 0.01021 0.01021 0.01021 1.15% Gravity::fill_multipole_BCs() 11 0.009551 0.009551 0.009551 1.07% FabArray::Xpay() 821 0.008403 0.008403 0.008403 0.94% MLCellLinOp::solutionResidual() 93 0.007625 0.007625 0.007625 0.86% Castro::reset_internal_energy(MultiFab) 63 0.00666 0.00666 0.00666 0.75% MLMG::computeResidual() 82 0.006327 0.006327 0.006327 0.71% Castro::estTimeStep() 21 0.006064 0.006064 0.006064 0.68% MLCellLinOp::defineBC() 11 0.005267 0.005267 0.005267 0.59% MLMG::prepareForSolve() 11 0.005176 0.005176 0.005176 0.58% Amr::InitializeInit() 1 0.005064 0.005064 0.005064 0.57% Amr::defBaseLevel() 1 0.005059 0.005059 0.005059 0.57% BndryData::define() 11 0.005004 0.005004 0.005004 0.56% amrex::Add() 164 0.004421 0.004421 0.004421 0.50% Castro::initData() 1 0.004399 0.004399 0.004399 0.49% Castro::construct_new_source() 50 0.003429 0.003429 0.003429 0.39% Castro::construct_new_gravity_source() 10 0.003358 0.003358 0.003358 0.38% Castro::construct_old_source() 50 0.003 0.003 0.003 0.34% Castro::construct_old_gravity_source() 10 0.002981 0.002981 0.002981 0.33% Castro::computeNewDt() 9 0.00271 0.00271 0.00271 0.30% Castro::enforce_speed_limit() 62 0.002438 0.002438 0.002438 0.27% Castro::finalize_do_advance() 10 0.002376 0.002376 0.002376 0.27% MLMG::ResNormInf() 93 0.00219 0.00219 0.00219 0.25% check_for_negative_density() 10 0.001899 0.001899 0.001899 0.21% Castro::apply_source_to_state() 20 0.001866 0.001866 0.001866 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001853 0.001853 0.001853 0.21% Castro::reset_internal_energy(Fab) 504 0.001602 0.001602 0.001602 0.18% MLCellLinOp::setLevelBC() 11 0.001557 0.001557 0.001557 0.17% MLMG::getGradSolution() 11 0.001557 0.001557 0.001557 0.17% MLCellLinOp::compGrad() 11 0.00155 0.00155 0.00155 0.17% FabArrayBase::getCPC() 1323 0.001501 0.001501 0.001501 0.17% FabArray::setDomainBndry() 41 0.001363 0.001363 0.001363 0.15% FabArray::mult() 43 0.001358 0.001358 0.001358 0.15% MLPoisson::prepareForSolve() 11 0.00135 0.00135 0.00135 0.15% MLMG::computeMLResidual() 11 0.001347 0.001347 0.001347 0.15% MLCellLinOp::prepareForSolve() 11 0.001335 0.001335 0.001335 0.15% Castro::check_for_nan() 20 0.001269 0.001269 0.001269 0.14% MultiFab::contains_nan() 20 0.001258 0.001258 0.001258 0.14% Castro::post_regrid() 1 0.001239 0.001239 0.001239 0.14% Castro::computeInitialDt() 2 0.001034 0.001034 0.001034 0.12% Gravity::update_max_rhs() 11 0.0009867 0.0009867 0.0009867 0.11% FabArrayBase::getFB() 4023 0.0007717 0.0007717 0.0007717 0.09% FabArrayBase::CPC::define() 454 0.0006934 0.0006934 0.0006934 0.08% Castro::finalize_advance() 10 0.0006229 0.0006229 0.0006229 0.07% Castro::Castro() 1 0.0005732 0.0005732 0.0005732 0.06% Amr::InitAmr() 1 0.0004922 0.0004922 0.0004922 0.06% Gravity::swapTimeLevels() 10 0.0004368 0.0004368 0.0004368 0.05% MLMG::MLResNormInf() 11 0.0003527 0.0003527 0.0003527 0.04% MultiFab::max() 11 0.0003372 0.0003372 0.0003372 0.04% Castro::buildMetrics() 1 0.0002835 0.0002835 0.0002835 0.03% MLMG::MLRhsNormInf() 11 0.0002376 0.0002376 0.0002376 0.03% MLLinOp::define() 11 0.0002145 0.0002145 0.0002145 0.02% MLLinOp::defineGrids() 11 0.0002039 0.0002039 0.0002039 0.02% Castro::create_source_corrector() 10 0.0001702 0.0001702 0.0001702 0.02% FabArrayBase::FB::FB() 56 9.631e-05 9.631e-05 9.631e-05 0.01% Castro::enforce_consistent_e() 1 7.165e-05 7.165e-05 7.165e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.936e-05 5.936e-05 5.936e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.259e-05 5.259e-05 5.259e-05 0.01% StateData::define() 4 4.269e-05 4.269e-05 4.269e-05 0.00% makeSFC 55 3.873e-05 3.873e-05 3.873e-05 0.00% Castro::swap_state_time_levels() 10 3.593e-05 3.593e-05 3.593e-05 0.00% Amr::writeSmallPlotFile() 1 3.364e-05 3.364e-05 3.364e-05 0.00% Castro::initMFs() 1 3.221e-05 3.221e-05 3.221e-05 0.00% DistributionMapping::Distribute() 56 1.463e-05 1.463e-05 1.463e-05 0.00% Amr::initSubcycle() 1 8.961e-06 8.961e-06 8.961e-06 0.00% Gravity::set_mass_offset() 11 6.118e-06 6.118e-06 6.118e-06 0.00% Castro::retry_advance_ctu() 10 5.837e-06 5.837e-06 5.837e-06 0.00% AmrLevel::checkPointPost() 3 5.003e-06 5.003e-06 5.003e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.386e-06 4.386e-06 4.386e-06 0.00% Castro::FluxRegCrseInit 10 2.898e-06 2.898e-06 2.898e-06 0.00% AmrLevel::checkPointPre() 3 2.4e-06 2.4e-06 2.4e-06 0.00% Castro::FluxRegFineAdd() 10 2.233e-06 2.233e-06 2.233e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.028e-06 2.028e-06 2.028e-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 99 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 136 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1149 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1568 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3677 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 295 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2140 B 2048 KiB Gravity::solve_for_phi() 80 80 579 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 106 KiB 2048 KiB BndryData::define() 1056 1056 336 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 214 KiB 671 KiB Castro::estTimeStep() 21 21 3321 B 480 KiB VisMF::Write(FabArray) 656 656 3447 B 320 KiB Castro::normalize_species() 62 62 7352 B 320 KiB amrex::average_down 1067 1067 1301 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1176 B 257 KiB amrex::Dot() 1360 1360 3553 B 160 KiB FabArray::norminf() 1143 1143 3454 B 160 KiB check_for_negative_density() 10 10 325 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3590 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 297 B 9648 B MLCellLinOp::applyBC() 8866 8866 227 B 9344 B MLCellLinOp::prepareForSolve() 66 66 4 B 7792 B amrex::Copy() 100 100 3962 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 492 492 108 B 1280 B MLCellLinOp::defineBC() 66 66 378 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 573 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 430 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3590 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 297 B 9648 B MLCellLinOp::applyBC() 4433 4433 225 B 9328 B MLCellLinOp::prepareForSolve() 66 66 4 B 7792 B amrex::Copy() 100 100 3962 B 6144 B Gravity::get_new_grav_vector() 3 3 2883 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 45 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 306 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): 2541 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.12-9-gd884f44493c0) finalized Initializing AMReX (23.12-9-gd884f44493c0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-9-gd884f44493c0) initialized Starting run at 00:04:58 UTC on 2023-12-12. Successfully read inputs file ... Castro git describe: 23.12-7-gd4ebfae6a AMReX git describe: 23.12-9-gd884f4449 Microphysics git describe: 23.12-1-gbdf6a18e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.502721005 Restart time = 0.072836064 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.054176589 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.049565728 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.071733936 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.08036779 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.072155729 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027530414 seconds Ending run at 00:04:58 UTC on 2023-12-12. Run time = 0.429495049 Run time without initialization = 0.356045256 Average number of zones advanced per microsecond: 3.681 Average number of zones advanced per microsecond per rank: 3.681 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4295 ... 0.4295 ... 0.4295 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1350 0.1350 0.1350 31.42% VisMF::Read() 3 0.0613 0.0613 0.0613 14.27% MLCellLinOp::applyBC() 1946 0.03509 0.03509 0.03509 8.17% VisMF::Write(FabArray) 1 0.02529 0.02529 0.02529 5.89% MLPoisson::Fsmooth() 1440 0.01442 0.01442 0.01442 3.36% StateData::FillBoundary(geom) 160 0.0133 0.0133 0.0133 3.10% FillBoundary_nowait() 1766 0.01278 0.01278 0.01278 2.98% Castro::normalize_species() 30 0.01021 0.01021 0.01021 2.38% amrex::Dot() 484 0.009097 0.009097 0.009097 2.12% FabArray::norminf() 465 0.008828 0.008828 0.008828 2.06% Castro::computeTemp() 30 0.008073 0.008073 0.008073 1.88% FabArray::setVal() 537 0.006621 0.006621 0.006621 1.54% FabArray::ParallelCopy_nowait() 380 0.006181 0.006181 0.006181 1.44% Castro::enforce_min_density() 30 0.006123 0.006123 0.006123 1.43% Gravity::fill_multipole_BCs() 6 0.00572 0.00572 0.00572 1.33% FabArray::Saxpy() 597 0.005662 0.005662 0.005662 1.32% MLCellLinOp::defineAuxData() 6 0.00561 0.00561 0.00561 1.31% amrex::Copy() 221 0.005354 0.005354 0.005354 1.25% Amr::restart() 1 0.004713 0.004713 0.004713 1.10% MLPoisson::Fapply() 500 0.004663 0.004663 0.004663 1.09% StateDataPhysBCFunct::() 20 0.00452 0.00452 0.00452 1.05% FabArray::Xpay() 361 0.003664 0.003664 0.003664 0.85% Castro::estTimeStep() 10 0.003192 0.003192 0.003192 0.74% MLMG::addInterpCorrection() 180 0.00308 0.00308 0.00308 0.72% amrex::average_down 180 0.002773 0.002773 0.002773 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002122 0.002122 0.002122 0.49% BndryData::define() 6 0.002122 0.002122 0.002122 0.49% Amr::writePlotFile() 1 0.002082 0.002082 0.002082 0.48% amrex::Add() 72 0.001892 0.001892 0.001892 0.44% Castro::construct_new_gravity_source() 5 0.001705 0.001705 0.001705 0.40% Castro::construct_old_gravity_source() 5 0.001444 0.001444 0.001444 0.34% check_for_negative_density() 5 0.001041 0.001041 0.001041 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009689 0.0009689 0.0009689 0.23% MLCellLinOp::setLevelBC() 6 0.0008542 0.0008542 0.0008542 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008479 0.0008479 0.0008479 0.20% Castro::reset_internal_energy(Fab) 240 0.0008369 0.0008369 0.0008369 0.19% MLCGSolver::bicgstab 36 0.0008086 0.0008086 0.0008086 0.19% MLCellLinOp::prepareForSolve() 6 0.0007465 0.0007465 0.0007465 0.17% FabArray::setDomainBndry() 20 0.0006819 0.0006819 0.0006819 0.16% FabArray::mult() 22 0.0006805 0.0006805 0.0006805 0.16% MultiFab::contains_nan() 10 0.0006628 0.0006628 0.0006628 0.15% Castro::enforce_speed_limit() 30 0.0006561 0.0006561 0.0006561 0.15% MLCellLinOp::compGrad() 6 0.0005912 0.0005912 0.0005912 0.14% MLMG::prepareForSolve() 6 0.0005551 0.0005551 0.0005551 0.13% MLCellLinOp::smooth() 720 0.0005178 0.0005178 0.0005178 0.12% FabArrayBase::CPC::define() 244 0.0004351 0.0004351 0.0004351 0.10% Amr::InitAmr() 1 0.0004255 0.0004255 0.0004255 0.10% FabArray::FillBoundary() 1766 0.0003977 0.0003977 0.0003977 0.09% FabArrayBase::getCPC() 632 0.0003686 0.0003686 0.0003686 0.09% Gravity::get_old_grav_vector() 5 0.0003233 0.0003233 0.0003233 0.08% FabArrayBase::getFB() 1766 0.0002986 0.0002986 0.0002986 0.07% main() 1 0.0002961 0.0002961 0.0002961 0.07% Gravity::get_new_grav_vector() 5 0.0002607 0.0002607 0.0002607 0.06% Amr::coarseTimeStep() 5 0.0002515 0.0002515 0.0002515 0.06% MLCellLinOp::apply() 500 0.0002078 0.0002078 0.0002078 0.05% MultiFab::max() 6 0.0002027 0.0002027 0.0002027 0.05% AmrLevel::FillPatch() 20 0.0001802 0.0001802 0.0001802 0.04% Castro::subcycle_advance_ctu() 5 0.000162 0.000162 0.000162 0.04% MLCGSolver::ParallelAllReduce 798 0.0001457 0.0001457 0.0001457 0.03% MLCellLinOp::defineBC() 6 0.0001375 0.0001375 0.0001375 0.03% FabArray::ParallelCopy() 380 0.000116 0.000116 0.000116 0.03% FillPatchIterator::Initialize 20 0.0001068 0.0001068 0.0001068 0.02% Castro::create_source_corrector() 5 0.000105 0.000105 0.000105 0.02% Gravity::solve_for_phi() 5 0.0001003 0.0001003 0.0001003 0.02% MLCellLinOp::correctionResidual() 216 9.457e-05 9.457e-05 9.457e-05 0.02% MLLinOp::defineGrids() 6 9.126e-05 9.126e-05 9.126e-05 0.02% MLMG::mgVcycle() 36 8.791e-05 8.791e-05 8.791e-05 0.02% Castro::advance() 5 8.133e-05 8.133e-05 8.133e-05 0.02% Amr::timeStep() 5 7.965e-05 7.965e-05 7.965e-05 0.02% AmrLevel::restart() 1 7.589e-05 7.589e-05 7.589e-05 0.02% StateData::restartDoit() 4 6.911e-05 6.911e-05 6.911e-05 0.02% Castro::initialize_do_advance() 5 6.489e-05 6.489e-05 6.489e-05 0.02% Gravity::update_max_rhs() 6 6.377e-05 6.377e-05 6.377e-05 0.01% FabArrayBase::FB::FB() 26 6.364e-05 6.364e-05 6.364e-05 0.01% Castro::initialize_advance() 5 5.835e-05 5.835e-05 5.835e-05 0.01% MLMG::mgVcycle_down::0 36 4.987e-05 4.987e-05 4.987e-05 0.01% MLMG:computeResOfCorrection() 180 4.944e-05 4.944e-05 4.944e-05 0.01% Castro::finalize_do_advance() 5 4.643e-05 4.643e-05 4.643e-05 0.01% MLMG::actualBottomSolve() 36 4.349e-05 4.349e-05 4.349e-05 0.01% Castro::do_advance_ctu() 5 4.31e-05 4.31e-05 4.31e-05 0.01% MLMG::mgVcycle_down::1 36 3.939e-05 3.939e-05 3.939e-05 0.01% Castro::clean_state() 30 3.592e-05 3.592e-05 3.592e-05 0.01% MLMG::mgVcycle_down::2 36 3.513e-05 3.513e-05 3.513e-05 0.01% MLMG::solve() 6 3.43e-05 3.43e-05 3.43e-05 0.01% MLMG::mgVcycle_down::4 36 3.374e-05 3.374e-05 3.374e-05 0.01% MLMG::mgVcycle_down::3 36 3.266e-05 3.266e-05 3.266e-05 0.01% Castro::post_restart() 1 3.114e-05 3.114e-05 3.114e-05 0.01% MLMG::mgVcycle_up::4 36 3.024e-05 3.024e-05 3.024e-05 0.01% Castro::finalize_advance() 5 3.005e-05 3.005e-05 3.005e-05 0.01% Amr::writeSmallPlotFile() 1 2.92e-05 2.92e-05 2.92e-05 0.01% Castro::construct_old_source() 25 2.707e-05 2.707e-05 2.707e-05 0.01% Castro::buildMetrics() 1 2.695e-05 2.695e-05 2.695e-05 0.01% Castro::initMFs() 1 2.439e-05 2.439e-05 2.439e-05 0.01% MLMG::mgVcycle_up::0 36 2.432e-05 2.432e-05 2.432e-05 0.01% Castro::swap_state_time_levels() 5 2.413e-05 2.413e-05 2.413e-05 0.01% MLMG::oneIter() 36 2.388e-05 2.388e-05 2.388e-05 0.01% MLMG::mgVcycle_up::3 36 2.33e-05 2.33e-05 2.33e-05 0.01% MLMG::mgVcycle_up::2 36 2.241e-05 2.241e-05 2.241e-05 0.01% MLCellLinOp::solutionResidual() 42 2.219e-05 2.219e-05 2.219e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.186e-05 2.186e-05 2.186e-05 0.01% MLMG::mgVcycle_up::1 36 2.141e-05 2.141e-05 2.141e-05 0.00% Castro::construct_new_gravity() 5 1.852e-05 1.852e-05 1.852e-05 0.00% MLMG::ResNormInf() 42 1.843e-05 1.843e-05 1.843e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.719e-05 1.719e-05 1.719e-05 0.00% MLMG::mgVcycle_bottom 36 1.648e-05 1.648e-05 1.648e-05 0.00% FillPatchSingleLevel 20 1.536e-05 1.536e-05 1.536e-05 0.00% MLMG::computeResidual() 36 1.522e-05 1.522e-05 1.522e-05 0.00% MLPoisson::define() 6 1.42e-05 1.42e-05 1.42e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.419e-05 1.419e-05 1.419e-05 0.00% makeSFC 30 1.402e-05 1.402e-05 1.402e-05 0.00% Castro::do_old_sources() 5 1.145e-05 1.145e-05 1.145e-05 0.00% Castro::construct_new_source() 25 1.037e-05 1.037e-05 1.037e-05 0.00% Castro::do_new_sources() 5 9.44e-06 9.44e-06 9.44e-06 0.00% MLPoisson::prepareForSolve() 6 9.332e-06 9.332e-06 9.332e-06 0.00% MLMG::computeMLResidual() 6 9.12e-06 9.12e-06 9.12e-06 0.00% Amr::initSubcycle() 1 9.094e-06 9.094e-06 9.094e-06 0.00% DistributionMapping::Distribute() 31 8.782e-06 8.782e-06 8.782e-06 0.00% Gravity::actual_multilevel_solve() 1 8.339e-06 8.339e-06 8.339e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.156e-06 7.156e-06 7.156e-06 0.00% Castro::check_for_nan() 10 6.32e-06 6.32e-06 6.32e-06 0.00% MLLinOp::define() 6 6.146e-06 6.146e-06 6.146e-06 0.00% Castro::apply_source_to_state() 10 5.92e-06 5.92e-06 5.92e-06 0.00% Castro::construct_old_gravity() 5 5.726e-06 5.726e-06 5.726e-06 0.00% Castro::post_timestep() 5 5.115e-06 5.115e-06 5.115e-06 0.00% Castro::computeNewDt() 5 4.05e-06 4.05e-06 4.05e-06 0.00% Gravity::swapTimeLevels() 5 3.843e-06 3.843e-06 3.843e-06 0.00% MLMG::getGradSolution() 6 3.695e-06 3.695e-06 3.695e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.197e-06 3.197e-06 3.197e-06 0.00% Castro::expand_state() 5 2.988e-06 2.988e-06 2.988e-06 0.00% Gravity::set_mass_offset() 6 2.596e-06 2.596e-06 2.596e-06 0.00% MLMG::MLResNormInf() 6 2.555e-06 2.555e-06 2.555e-06 0.00% MLMG::MLRhsNormInf() 6 2.389e-06 2.389e-06 2.389e-06 0.00% Castro::retry_advance_ctu() 5 2.042e-06 2.042e-06 2.042e-06 0.00% Castro::FluxRegCrseInit 5 1.587e-06 1.587e-06 1.587e-06 0.00% Amr::init() 1 1.276e-06 1.276e-06 1.276e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.072e-06 1.072e-06 1.072e-06 0.00% Castro::FluxRegFineAdd() 5 1.038e-06 1.038e-06 1.038e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4295 0.4295 0.4295 100.00% Amr::coarseTimeStep() 5 0.3282 0.3282 0.3282 76.42% Amr::timeStep() 5 0.3259 0.3259 0.3259 75.89% Castro::advance() 5 0.3213 0.3213 0.3213 74.80% Castro::subcycle_advance_ctu() 5 0.314 0.314 0.314 73.09% Castro::do_advance_ctu() 5 0.3138 0.3138 0.3138 73.06% Castro::construct_ctu_hydro_source() 5 0.1411 0.1411 0.1411 32.86% Castro::construct_new_gravity() 5 0.1355 0.1355 0.1355 31.54% Gravity::solve_phi_with_mlmg() 6 0.1329 0.1329 0.1329 30.95% Gravity::solve_for_phi() 5 0.1273 0.1273 0.1273 29.64% Gravity::actual_solve_with_mlmg() 6 0.127 0.127 0.127 29.56% MLMG::solve() 6 0.115 0.115 0.115 26.78% MLMG::oneIter() 36 0.1075 0.1075 0.1075 25.03% MLMG::mgVcycle() 36 0.106 0.106 0.106 24.67% Amr::init() 1 0.07288 0.07288 0.07288 16.97% Amr::restart() 1 0.07288 0.07288 0.07288 16.97% AmrLevel::restart() 1 0.06167 0.06167 0.06167 14.36% StateData::restartDoit() 4 0.06159 0.06159 0.06159 14.34% VisMF::Read() 3 0.0613 0.0613 0.0613 14.27% MLCellLinOp::smooth() 720 0.05164 0.05164 0.05164 12.02% MLCellLinOp::applyBC() 1946 0.04864 0.04864 0.04864 11.32% MLMG::mgVcycle_bottom 36 0.03308 0.03308 0.03308 7.70% MLMG::actualBottomSolve() 36 0.03307 0.03307 0.03307 7.70% MLCGSolver::bicgstab 36 0.03275 0.03275 0.03275 7.62% Castro::clean_state() 30 0.02805 0.02805 0.02805 6.53% Amr::writePlotFile() 1 0.02762 0.02762 0.02762 6.43% VisMF::Write(FabArray) 1 0.02529 0.02529 0.02529 5.89% AmrLevel::FillPatch() 20 0.02278 0.02278 0.02278 5.30% FillPatchIterator::Initialize 20 0.0207 0.0207 0.0207 4.82% FillPatchIterator::FillFromLevel0() 20 0.01991 0.01991 0.01991 4.64% FillPatchSingleLevel 20 0.01989 0.01989 0.01989 4.63% StateDataPhysBCFunct::() 20 0.01782 0.01782 0.01782 4.15% MLCellLinOp::apply() 500 0.01652 0.01652 0.01652 3.85% MLMG::mgVcycle_down::0 36 0.01469 0.01469 0.01469 3.42% MLPoisson::Fsmooth() 1440 0.01442 0.01442 0.01442 3.36% FabArray::FillBoundary() 1766 0.01354 0.01354 0.01354 3.15% StateData::FillBoundary(geom) 160 0.0133 0.0133 0.0133 3.10% FillBoundary_nowait() 1766 0.01314 0.01314 0.01314 3.06% Castro::computeTemp() 30 0.01103 0.01103 0.01103 2.57% MLMG::mgVcycle_up::0 36 0.01102 0.01102 0.01102 2.56% Castro::initialize_do_advance() 5 0.0106 0.0106 0.0106 2.47% Castro::normalize_species() 30 0.01021 0.01021 0.01021 2.38% MLCellLinOp::correctionResidual() 216 0.009931 0.009931 0.009931 2.31% Castro::do_old_sources() 5 0.009765 0.009765 0.009765 2.27% MLPoisson::define() 6 0.009378 0.009378 0.009378 2.18% amrex::Dot() 484 0.009097 0.009097 0.009097 2.12% FabArray::norminf() 465 0.008828 0.008828 0.008828 2.06% MLMG:computeResOfCorrection() 180 0.008708 0.008708 0.008708 2.03% Gravity::get_new_grav_vector() 5 0.008056 0.008056 0.008056 1.88% Castro::construct_old_gravity() 5 0.007672 0.007672 0.007672 1.79% Gravity::get_old_grav_vector() 5 0.007666 0.007666 0.007666 1.78% Castro::do_new_sources() 5 0.007432 0.007432 0.007432 1.73% MLMG::mgVcycle_down::1 36 0.007226 0.007226 0.007226 1.68% Castro::initialize_advance() 5 0.006948 0.006948 0.006948 1.62% FabArray::ParallelCopy() 380 0.006702 0.006702 0.006702 1.56% MLMG::mgVcycle_down::2 36 0.006623 0.006623 0.006623 1.54% FabArray::setVal() 537 0.006621 0.006621 0.006621 1.54% FabArray::ParallelCopy_nowait() 380 0.006586 0.006586 0.006586 1.53% MLMG::mgVcycle_down::3 36 0.006464 0.006464 0.006464 1.50% MLMG::mgVcycle_down::4 36 0.006416 0.006416 0.006416 1.49% MLCellLinOp::defineAuxData() 6 0.006397 0.006397 0.006397 1.49% Castro::post_restart() 1 0.006316 0.006316 0.006316 1.47% Castro::enforce_min_density() 30 0.006123 0.006123 0.006123 1.43% Gravity::multilevel_solve_for_new_phi() 1 0.005937 0.005937 0.005937 1.38% Gravity::actual_multilevel_solve() 1 0.00592 0.00592 0.00592 1.38% Gravity::fill_multipole_BCs() 6 0.005845 0.005845 0.005845 1.36% Castro::expand_state() 5 0.005704 0.005704 0.005704 1.33% FabArray::Saxpy() 597 0.005662 0.005662 0.005662 1.32% MLCGSolver::ParallelAllReduce 798 0.005541 0.005541 0.005541 1.29% MLMG::addInterpCorrection() 180 0.005382 0.005382 0.005382 1.25% amrex::Copy() 221 0.005354 0.005354 0.005354 1.25% MLMG::mgVcycle_up::4 36 0.005205 0.005205 0.005205 1.21% MLMG::mgVcycle_up::1 36 0.005143 0.005143 0.005143 1.20% amrex::average_down 180 0.005112 0.005112 0.005112 1.19% MLMG::mgVcycle_up::2 36 0.005063 0.005063 0.005063 1.18% MLMG::mgVcycle_up::3 36 0.004942 0.004942 0.004942 1.15% MLPoisson::Fapply() 500 0.004663 0.004663 0.004663 1.09% Castro::post_timestep() 5 0.004588 0.004588 0.004588 1.07% FabArray::Xpay() 361 0.003664 0.003664 0.003664 0.85% MLCellLinOp::solutionResidual() 42 0.003521 0.003521 0.003521 0.82% Castro::estTimeStep() 10 0.003192 0.003192 0.003192 0.74% Castro::reset_internal_energy(MultiFab) 30 0.002959 0.002959 0.002959 0.69% MLCellLinOp::defineBC() 6 0.00284 0.00284 0.00284 0.66% MLMG::prepareForSolve() 6 0.002828 0.002828 0.002828 0.66% MLMG::computeResidual() 36 0.002735 0.002735 0.002735 0.64% BndryData::define() 6 0.002703 0.002703 0.002703 0.63% Castro::computeNewDt() 5 0.00204 0.00204 0.00204 0.48% amrex::Add() 72 0.001892 0.001892 0.001892 0.44% Castro::construct_new_source() 25 0.001715 0.001715 0.001715 0.40% Castro::construct_new_gravity_source() 5 0.001705 0.001705 0.001705 0.40% Castro::construct_old_source() 25 0.001471 0.001471 0.001471 0.34% Castro::construct_old_gravity_source() 5 0.001444 0.001444 0.001444 0.34% Castro::finalize_do_advance() 5 0.001202 0.001202 0.001202 0.28% check_for_negative_density() 5 0.001041 0.001041 0.001041 0.24% MLMG::ResNormInf() 42 0.0009756 0.0009756 0.0009756 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009689 0.0009689 0.0009689 0.23% Castro::apply_source_to_state() 10 0.0009598 0.0009598 0.0009598 0.22% MLMG::getGradSolution() 6 0.0008724 0.0008724 0.0008724 0.20% MLCellLinOp::compGrad() 6 0.0008687 0.0008687 0.0008687 0.20% MLCellLinOp::setLevelBC() 6 0.0008542 0.0008542 0.0008542 0.20% Castro::reset_internal_energy(Fab) 240 0.0008369 0.0008369 0.0008369 0.19% MLMG::computeMLResidual() 6 0.0008101 0.0008101 0.0008101 0.19% FabArrayBase::getCPC() 632 0.0008037 0.0008037 0.0008037 0.19% MLPoisson::prepareForSolve() 6 0.0007559 0.0007559 0.0007559 0.18% MLCellLinOp::prepareForSolve() 6 0.0007465 0.0007465 0.0007465 0.17% Gravity::update_max_rhs() 6 0.0007075 0.0007075 0.0007075 0.16% FabArray::setDomainBndry() 20 0.0006819 0.0006819 0.0006819 0.16% FabArray::mult() 22 0.0006805 0.0006805 0.0006805 0.16% Castro::check_for_nan() 10 0.0006691 0.0006691 0.0006691 0.16% MultiFab::contains_nan() 10 0.0006628 0.0006628 0.0006628 0.15% Castro::enforce_speed_limit() 30 0.0006561 0.0006561 0.0006561 0.15% FabArrayBase::CPC::define() 244 0.0004351 0.0004351 0.0004351 0.10% Amr::InitAmr() 1 0.0004346 0.0004346 0.0004346 0.10% FabArrayBase::getFB() 1766 0.0003622 0.0003622 0.0003622 0.08% Castro::finalize_advance() 5 0.0002942 0.0002942 0.0002942 0.07% Gravity::swapTimeLevels() 5 0.0002296 0.0002296 0.0002296 0.05% MultiFab::max() 6 0.0002027 0.0002027 0.0002027 0.05% MLMG::MLResNormInf() 6 0.0001925 0.0001925 0.0001925 0.04% Castro::buildMetrics() 1 0.0001512 0.0001512 0.0001512 0.04% MLLinOp::define() 6 0.0001272 0.0001272 0.0001272 0.03% MLLinOp::defineGrids() 6 0.0001211 0.0001211 0.0001211 0.03% MLMG::MLRhsNormInf() 6 0.0001188 0.0001188 0.0001188 0.03% Castro::create_source_corrector() 5 0.000105 0.000105 0.000105 0.02% FabArrayBase::FB::FB() 26 6.364e-05 6.364e-05 6.364e-05 0.01% Amr::writeSmallPlotFile() 1 2.92e-05 2.92e-05 2.92e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.876e-05 2.876e-05 2.876e-05 0.01% Castro::initMFs() 1 2.439e-05 2.439e-05 2.439e-05 0.01% Castro::swap_state_time_levels() 5 2.413e-05 2.413e-05 2.413e-05 0.01% makeSFC 30 2.16e-05 2.16e-05 2.16e-05 0.01% Amr::initSubcycle() 1 9.094e-06 9.094e-06 9.094e-06 0.00% DistributionMapping::Distribute() 31 8.782e-06 8.782e-06 8.782e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.394e-06 4.394e-06 4.394e-06 0.00% Gravity::set_mass_offset() 6 2.596e-06 2.596e-06 2.596e-06 0.00% Castro::retry_advance_ctu() 5 2.042e-06 2.042e-06 2.042e-06 0.00% Castro::FluxRegCrseInit 5 1.587e-06 1.587e-06 1.587e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.072e-06 1.072e-06 1.072e-06 0.00% Castro::FluxRegFineAdd() 5 1.038e-06 1.038e-06 1.038e-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 193 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 148 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1037 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1738 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 6395 KiB 14 MiB MLMG::prepareForSolve() 361 361 3286 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 192 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6382 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3271 B 2048 KiB Gravity::solve_for_phi() 40 40 605 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 303 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 194 KiB 671 KiB Castro::estTimeStep() 10 10 3562 B 480 KiB VisMF::Write(FabArray) 112 112 2345 B 320 KiB Castro::normalize_species() 30 30 7736 B 320 KiB amrex::average_down 469 469 1159 B 257 KiB MLMG::addInterpCorrection() 468 468 1070 B 257 KiB amrex::Dot() 592 592 3116 B 160 KiB FabArray::norminf() 501 501 3173 B 160 KiB check_for_negative_density() 5 5 381 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3186 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 3892 3892 206 B 9344 B amrex::Copy() 56 56 5631 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 2208 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 216 216 96 B 1280 B MLCellLinOp::defineBC() 36 36 340 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1164 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 155 KiB 3584 KiB VisMF::Read() 24 24 215 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3186 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 1946 1946 204 B 9328 B amrex::Copy() 56 56 5631 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2505 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2208 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 500 B 1296 B amrex::average_down 37 37 210 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.12-9-gd884f44493c0) finalized