Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-26-g4167cbe534a0) initialized Starting run at 09:12:15 UTC on 2023-05-23. Successfully read inputs file ... Castro git describe: 23.05-25-g99ae92958 AMReX git describe: 23.05-26-g4167cbe53 Microphysics git describe: 23.05-12-g1f8fd85f 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.057808865 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033009221 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.045642677 [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 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.047645861 [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 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.049690978 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.048454355 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.061645462 [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.057136557 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.069718681 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.059295241 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.063566891 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.06247043 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.06596569 [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.056897328 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032970831 seconds Ending run at 09:12:16 UTC on 2023-05-23. Run time = 0.860225871 Run time without initialization = 0.721737102 Average number of zones advanced per microsecond: 3.632 Average number of zones advanced per microsecond per rank: 3.632 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8603 ... 0.8603 ... 0.8603 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2311 0.2311 0.2311 26.86% Castro::construct_ctu_hydro_source() 10 0.2237 0.2237 0.2237 26.00% MLCellLinOp::applyBC() 4433 0.07494 0.07494 0.07494 8.71% MLPoisson::Fsmooth() 3280 0.03165 0.03165 0.03165 3.68% FillBoundary_nowait() 4023 0.03143 0.03143 0.03143 3.65% StateData::FillBoundary(geom) 328 0.02389 0.02389 0.02389 2.78% amrex::Dot() 1114 0.01984 0.01984 0.01984 2.31% Castro::normalize_species() 62 0.01593 0.01593 0.01593 1.85% amrex::Copy() 1029 0.01447 0.01447 0.01447 1.68% FabArray::norminf() 743 0.01401 0.01401 0.01401 1.63% Castro::computeTemp() 63 0.01383 0.01383 0.01383 1.61% FabArray::ParallelCopy_nowait() 861 0.01286 0.01286 0.01286 1.50% FabArray::setVal() 1144 0.01282 0.01282 0.01282 1.49% StateDataPhysBCFunct::() 41 0.01246 0.01246 0.01246 1.45% MLPoisson::Fapply() 1142 0.01012 0.01012 0.01012 1.18% MLCellLinOp::defineAuxData() 11 0.009331 0.009331 0.009331 1.08% Castro::enforce_min_density() 62 0.009007 0.009007 0.009007 1.05% FabArray::Saxpy() 813 0.007966 0.007966 0.007966 0.93% FabArray::Xpay() 821 0.007845 0.007845 0.007845 0.91% MLMG::addInterpCorrection() 410 0.00648 0.00648 0.00648 0.75% Gravity::fill_multipole_BCs() 11 0.006216 0.006216 0.006216 0.72% amrex::average_down 410 0.005798 0.005798 0.005798 0.67% Castro::estTimeStep() 21 0.00441 0.00441 0.00441 0.51% FabArray::LinComb() 557 0.004402 0.004402 0.004402 0.51% amrex::Add() 164 0.004366 0.004366 0.004366 0.51% Castro::reset_internal_energy(MultiFab) 63 0.0043 0.0043 0.0043 0.50% Amr::checkPoint() 3 0.003926 0.003926 0.003926 0.46% BndryData::define() 11 0.003519 0.003519 0.003519 0.41% Castro::construct_new_gravity_source() 10 0.003091 0.003091 0.003091 0.36% Castro::construct_old_gravity_source() 10 0.002546 0.002546 0.002546 0.30% Castro::do_advance_ctu() 10 0.002536 0.002536 0.002536 0.29% Amr::writePlotFile() 2 0.00233 0.00233 0.00233 0.27% MLCGSolver::bicgstab 82 0.002099 0.002099 0.002099 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001621 0.001621 0.001621 0.19% Castro::reset_internal_energy(Fab) 504 0.001501 0.001501 0.001501 0.17% Gravity::actual_solve_with_mlmg() 11 0.001454 0.001454 0.001454 0.17% MLCellLinOp::setLevelBC() 11 0.001355 0.001355 0.001355 0.16% FabArray::mult() 43 0.001304 0.001304 0.001304 0.15% FabArray::setDomainBndry() 41 0.001288 0.001288 0.001288 0.15% Castro::initData() 1 0.001237 0.001237 0.001237 0.14% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.14% Castro::enforce_speed_limit() 62 0.001124 0.001124 0.001124 0.13% MLCellLinOp::prepareForSolve() 11 0.001103 0.001103 0.001103 0.13% MLCellLinOp::smooth() 1640 0.001048 0.001048 0.001048 0.12% MLCellLinOp::compGrad() 11 0.0009037 0.0009037 0.0009037 0.11% FabArray::FillBoundary() 4023 0.0009021 0.0009021 0.0009021 0.10% MLMG::prepareForSolve() 11 0.0008577 0.0008577 0.0008577 0.10% FabArrayBase::getCPC() 1323 0.0007138 0.0007138 0.0007138 0.08% FabArrayBase::CPC::define() 454 0.0006669 0.0006669 0.0006669 0.08% Gravity::get_new_grav_vector() 11 0.0006225 0.0006225 0.0006225 0.07% FabArrayBase::getFB() 4023 0.000599 0.000599 0.000599 0.07% Gravity::get_old_grav_vector() 10 0.0005526 0.0005526 0.0005526 0.06% Amr::InitAmr() 1 0.0004673 0.0004673 0.0004673 0.05% MLCellLinOp::apply() 1142 0.0004269 0.0004269 0.0004269 0.05% MLLinOp::defineGrids() 11 0.0003812 0.0003812 0.0003812 0.04% Amr::coarseTimeStep() 10 0.0003558 0.0003558 0.0003558 0.04% MLMG::mgVcycle() 82 0.0003334 0.0003334 0.0003334 0.04% main() 1 0.0002971 0.0002971 0.0002971 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002838 0.0002838 0.0002838 0.03% MultiFab::max() 11 0.0002541 0.0002541 0.0002541 0.03% FabArray::ParallelCopy() 861 0.0002303 0.0002303 0.0002303 0.03% FillPatchIterator::Initialize 41 0.0002277 0.0002277 0.0002277 0.03% MLCellLinOp::correctionResidual() 492 0.0002116 0.0002116 0.0002116 0.02% MLCellLinOp::defineBC() 11 0.0002061 0.0002061 0.0002061 0.02% Castro::subcycle_advance_ctu() 10 0.0002059 0.0002059 0.0002059 0.02% Castro::create_source_corrector() 10 0.0001525 0.0001525 0.0001525 0.02% Amr::timeStep() 10 0.0001503 0.0001503 0.0001503 0.02% StateData::checkPoint() 12 0.0001364 0.0001364 0.0001364 0.02% Gravity::update_max_rhs() 11 0.0001274 0.0001274 0.0001274 0.01% MLMG:computeResOfCorrection() 410 0.0001077 0.0001077 0.0001077 0.01% Gravity::solve_for_phi() 10 0.0001064 0.0001064 0.0001064 0.01% Castro::Castro() 1 8.775e-05 8.775e-05 8.775e-05 0.01% Castro::advance() 10 8.633e-05 8.633e-05 8.633e-05 0.01% FabArrayBase::FB::FB() 56 8.592e-05 8.592e-05 8.592e-05 0.01% AmrLevel::checkPoint() 3 8.433e-05 8.433e-05 8.433e-05 0.01% MLMG::actualBottomSolve() 82 8.248e-05 8.248e-05 8.248e-05 0.01% MLMG::mgVcycle_down::0 82 7.92e-05 7.92e-05 7.92e-05 0.01% Castro::expand_state() 10 7.704e-05 7.704e-05 7.704e-05 0.01% MLMG::mgVcycle_down::4 82 7.269e-05 7.269e-05 7.269e-05 0.01% MLMG::mgVcycle_down::2 82 7.268e-05 7.268e-05 7.268e-05 0.01% MLMG::mgVcycle_down::1 82 7.177e-05 7.177e-05 7.177e-05 0.01% Castro::clean_state() 62 7.043e-05 7.043e-05 7.043e-05 0.01% Castro::construct_new_source() 50 6.951e-05 6.951e-05 6.951e-05 0.01% MLMG::mgVcycle_down::3 82 6.943e-05 6.943e-05 6.943e-05 0.01% Castro::initialize_advance() 10 6.86e-05 6.86e-05 6.86e-05 0.01% MLMG::solve() 11 6.714e-05 6.714e-05 6.714e-05 0.01% Castro::initialize_do_advance() 10 6.318e-05 6.318e-05 6.318e-05 0.01% Castro::finalize_advance() 10 5.892e-05 5.892e-05 5.892e-05 0.01% MLMG::oneIter() 82 5.753e-05 5.753e-05 5.753e-05 0.01% MLMG::mgVcycle_up::4 82 5.518e-05 5.518e-05 5.518e-05 0.01% MLMG::mgVcycle_up::1 82 5.128e-05 5.128e-05 5.128e-05 0.01% MLMG::mgVcycle_up::0 82 4.953e-05 4.953e-05 4.953e-05 0.01% MLMG::mgVcycle_up::2 82 4.885e-05 4.885e-05 4.885e-05 0.01% MLMG::mgVcycle_up::3 82 4.879e-05 4.879e-05 4.879e-05 0.01% MLCellLinOp::solutionResidual() 93 4.866e-05 4.866e-05 4.866e-05 0.01% Castro::swap_state_time_levels() 10 3.811e-05 3.811e-05 3.811e-05 0.00% StateData::define() 4 3.583e-05 3.583e-05 3.583e-05 0.00% Castro::finalize_do_advance() 10 3.499e-05 3.499e-05 3.499e-05 0.00% FillPatchSingleLevel 41 3.302e-05 3.302e-05 3.302e-05 0.00% MLMG::computeResidual() 82 3.231e-05 3.231e-05 3.231e-05 0.00% MLMG::ResNormInf() 93 3.205e-05 3.205e-05 3.205e-05 0.00% Castro::enforce_consistent_e() 1 3.183e-05 3.183e-05 3.183e-05 0.00% MLPoisson::define() 11 3.156e-05 3.156e-05 3.156e-05 0.00% MLMG::mgVcycle_bottom 82 3.039e-05 3.039e-05 3.039e-05 0.00% Castro::construct_new_gravity() 10 2.504e-05 2.504e-05 2.504e-05 0.00% Castro::initMFs() 1 2.477e-05 2.477e-05 2.477e-05 0.00% Amr::writeSmallPlotFile() 1 2.427e-05 2.427e-05 2.427e-05 0.00% makeSFC 55 2.407e-05 2.407e-05 2.407e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.179e-05 2.179e-05 2.179e-05 0.00% Amr::defBaseLevel() 1 2.051e-05 2.051e-05 2.051e-05 0.00% Amr::FinalizeInit() 1 2.035e-05 2.035e-05 2.035e-05 0.00% MLLinOp::define() 11 1.859e-05 1.859e-05 1.859e-05 0.00% Castro::construct_old_source() 50 1.801e-05 1.801e-05 1.801e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.743e-05 1.743e-05 1.743e-05 0.00% Castro::buildMetrics() 1 1.724e-05 1.724e-05 1.724e-05 0.00% Castro::do_new_sources() 10 1.592e-05 1.592e-05 1.592e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.553e-05 1.553e-05 1.553e-05 0.00% DistributionMapping::Distribute() 56 1.459e-05 1.459e-05 1.459e-05 0.00% Castro::do_old_sources() 10 1.436e-05 1.436e-05 1.436e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.357e-05 1.357e-05 1.357e-05 0.00% Castro::apply_source_to_state() 20 1.164e-05 1.164e-05 1.164e-05 0.00% Castro::check_for_nan() 20 1.042e-05 1.042e-05 1.042e-05 0.00% Castro::construct_old_gravity() 10 9.057e-06 9.057e-06 9.057e-06 0.00% Amr::initSubcycle() 1 8.492e-06 8.492e-06 8.492e-06 0.00% MLPoisson::prepareForSolve() 11 8.192e-06 8.192e-06 8.192e-06 0.00% Gravity::swapTimeLevels() 10 7.881e-06 7.881e-06 7.881e-06 0.00% MLMG::computeMLResidual() 11 7.759e-06 7.759e-06 7.759e-06 0.00% Gravity::actual_multilevel_solve() 1 7.735e-06 7.735e-06 7.735e-06 0.00% Castro::computeNewDt() 9 7.046e-06 7.046e-06 7.046e-06 0.00% Castro::post_timestep() 10 6.923e-06 6.923e-06 6.923e-06 0.00% MLMG::getGradSolution() 11 6.116e-06 6.116e-06 6.116e-06 0.00% AmrLevel::checkPointPost() 3 5.53e-06 5.53e-06 5.53e-06 0.00% Amr::InitializeInit() 1 4.729e-06 4.729e-06 4.729e-06 0.00% Gravity::set_mass_offset() 11 4.079e-06 4.079e-06 4.079e-06 0.00% Castro::post_init() 1 3.79e-06 3.79e-06 3.79e-06 0.00% MLMG::MLRhsNormInf() 11 3.726e-06 3.726e-06 3.726e-06 0.00% MLMG::MLResNormInf() 11 3.523e-06 3.523e-06 3.523e-06 0.00% Castro::retry_advance_ctu() 10 3.476e-06 3.476e-06 3.476e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.026e-06 3.026e-06 3.026e-06 0.00% Castro::computeInitialDt() 2 2.748e-06 2.748e-06 2.748e-06 0.00% Castro::FluxRegCrseInit 10 2.652e-06 2.652e-06 2.652e-06 0.00% Amr::init() 1 2.421e-06 2.421e-06 2.421e-06 0.00% Castro::FluxRegFineAdd() 10 1.948e-06 1.948e-06 1.948e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.851e-06 1.851e-06 1.851e-06 0.00% AmrLevel::checkPointPre() 3 1.509e-06 1.509e-06 1.509e-06 0.00% Amr::initialInit() 1 1.369e-06 1.369e-06 1.369e-06 0.00% Castro::post_regrid() 1 8.6e-07 8.6e-07 8.6e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8602 0.8602 0.8602 100.00% Amr::coarseTimeStep() 10 0.6885 0.6885 0.6885 80.04% Amr::timeStep() 10 0.5713 0.5713 0.5713 66.41% Castro::advance() 10 0.5634 0.5634 0.5634 65.49% Castro::subcycle_advance_ctu() 10 0.5517 0.5517 0.5517 64.13% Castro::do_advance_ctu() 10 0.5515 0.5515 0.5515 64.11% Gravity::solve_phi_with_mlmg() 11 0.2767 0.2767 0.2767 32.16% Gravity::actual_solve_with_mlmg() 11 0.27 0.27 0.27 31.38% Castro::construct_new_gravity() 10 0.2526 0.2526 0.2526 29.37% MLMG::solve() 11 0.25 0.25 0.25 29.07% Gravity::solve_for_phi() 10 0.2375 0.2375 0.2375 27.61% MLMG::oneIter() 82 0.236 0.236 0.236 27.44% MLMG::mgVcycle() 82 0.2323 0.2323 0.2323 27.01% VisMF::Write(FabArray) 11 0.2311 0.2311 0.2311 26.86% Castro::construct_ctu_hydro_source() 10 0.2237 0.2237 0.2237 26.00% Amr::checkPoint() 3 0.172 0.172 0.172 19.99% AmrLevel::checkPoint() 3 0.168 0.168 0.168 19.53% StateData::checkPoint() 12 0.1679 0.1679 0.1679 19.52% Amr::init() 1 0.1379 0.1379 0.1379 16.03% MLCellLinOp::smooth() 1640 0.1152 0.1152 0.1152 13.39% MLCellLinOp::applyBC() 4433 0.108 0.108 0.108 12.55% MLMG::mgVcycle_bottom 82 0.07125 0.07125 0.07125 8.28% MLMG::actualBottomSolve() 82 0.07122 0.07122 0.07122 8.28% MLCGSolver::bicgstab 82 0.07055 0.07055 0.07055 8.20% Amr::writePlotFile() 2 0.0661 0.0661 0.0661 7.68% Amr::initialInit() 1 0.04694 0.04694 0.04694 5.46% Castro::clean_state() 62 0.04499 0.04499 0.04499 5.23% Amr::FinalizeInit() 1 0.04281 0.04281 0.04281 4.98% FillPatchIterator::Initialize 41 0.04191 0.04191 0.04191 4.87% Castro::post_init() 1 0.04142 0.04142 0.04142 4.81% FillPatchSingleLevel 41 0.04039 0.04039 0.04039 4.70% Gravity::multilevel_solve_for_new_phi() 1 0.03959 0.03959 0.03959 4.60% Gravity::actual_multilevel_solve() 1 0.03958 0.03958 0.03958 4.60% StateDataPhysBCFunct::() 41 0.03635 0.03635 0.03635 4.23% MLCellLinOp::apply() 1142 0.03551 0.03551 0.03551 4.13% MLMG::mgVcycle_down::0 82 0.03371 0.03371 0.03371 3.92% FabArray::FillBoundary() 4023 0.03302 0.03302 0.03302 3.84% FillBoundary_nowait() 4023 0.03211 0.03211 0.03211 3.73% MLPoisson::Fsmooth() 3280 0.03165 0.03165 0.03165 3.68% MLMG::mgVcycle_up::0 82 0.0255 0.0255 0.0255 2.96% StateData::FillBoundary(geom) 328 0.02389 0.02389 0.02389 2.78% MLCellLinOp::correctionResidual() 492 0.02184 0.02184 0.02184 2.54% amrex::Dot() 1114 0.01984 0.01984 0.01984 2.31% Castro::computeTemp() 63 0.01963 0.01963 0.01963 2.28% MLMG:computeResOfCorrection() 410 0.01927 0.01927 0.01927 2.24% Castro::initialize_do_advance() 10 0.01905 0.01905 0.01905 2.21% Gravity::get_new_grav_vector() 11 0.01669 0.01669 0.01669 1.94% Castro::normalize_species() 62 0.01593 0.01593 0.01593 1.85% MLPoisson::define() 11 0.01575 0.01575 0.01575 1.83% MLMG::mgVcycle_down::1 82 0.01535 0.01535 0.01535 1.78% Castro::construct_old_gravity() 10 0.01462 0.01462 0.01462 1.70% Gravity::get_old_grav_vector() 10 0.01461 0.01461 0.01461 1.70% amrex::Copy() 1029 0.01447 0.01447 0.01447 1.68% MLMG::mgVcycle_down::2 82 0.01435 0.01435 0.01435 1.67% FabArray::norminf() 743 0.01401 0.01401 0.01401 1.63% MLMG::mgVcycle_down::3 82 0.01399 0.01399 0.01399 1.63% FabArray::ParallelCopy() 861 0.01388 0.01388 0.01388 1.61% MLMG::mgVcycle_down::4 82 0.01385 0.01385 0.01385 1.61% FabArray::ParallelCopy_nowait() 861 0.01365 0.01365 0.01365 1.59% FabArray::setVal() 1144 0.01282 0.01282 0.01282 1.49% Castro::do_new_sources() 10 0.01205 0.01205 0.01205 1.40% MLCGSolver::ParallelAllReduce 1514 0.01192 0.01192 0.01192 1.39% Castro::expand_state() 10 0.01175 0.01175 0.01175 1.37% MLMG::addInterpCorrection() 410 0.0114 0.0114 0.0114 1.32% MLMG::mgVcycle_up::1 82 0.01126 0.01126 0.01126 1.31% MLMG::mgVcycle_up::4 82 0.0111 0.0111 0.0111 1.29% Castro::initialize_advance() 10 0.01103 0.01103 0.01103 1.28% Castro::do_old_sources() 10 0.01097 0.01097 0.01097 1.27% MLMG::mgVcycle_up::2 82 0.01093 0.01093 0.01093 1.27% amrex::average_down 410 0.01076 0.01076 0.01076 1.25% MLMG::mgVcycle_up::3 82 0.01069 0.01069 0.01069 1.24% MLCellLinOp::defineAuxData() 11 0.01061 0.01061 0.01061 1.23% MLPoisson::Fapply() 1142 0.01012 0.01012 0.01012 1.18% Castro::enforce_min_density() 62 0.009007 0.009007 0.009007 1.05% FabArray::Saxpy() 813 0.007966 0.007966 0.007966 0.93% FabArray::Xpay() 821 0.007845 0.007845 0.007845 0.91% Castro::post_timestep() 10 0.00777 0.00777 0.00777 0.90% MLCellLinOp::solutionResidual() 93 0.007047 0.007047 0.007047 0.82% Gravity::fill_multipole_BCs() 11 0.006473 0.006473 0.006473 0.75% MLMG::computeResidual() 82 0.006082 0.006082 0.006082 0.71% Castro::reset_internal_energy(MultiFab) 63 0.005801 0.005801 0.005801 0.67% MLCellLinOp::defineBC() 11 0.004663 0.004663 0.004663 0.54% MLMG::prepareForSolve() 11 0.004546 0.004546 0.004546 0.53% BndryData::define() 11 0.004457 0.004457 0.004457 0.52% Castro::estTimeStep() 21 0.00441 0.00441 0.00441 0.51% FabArray::LinComb() 557 0.004402 0.004402 0.004402 0.51% amrex::Add() 164 0.004366 0.004366 0.004366 0.51% Amr::InitializeInit() 1 0.004126 0.004126 0.004126 0.48% Amr::defBaseLevel() 1 0.004122 0.004122 0.004122 0.48% Castro::initData() 1 0.003605 0.003605 0.003605 0.42% Castro::construct_new_source() 50 0.003161 0.003161 0.003161 0.37% Castro::construct_new_gravity_source() 10 0.003091 0.003091 0.003091 0.36% Castro::construct_old_source() 50 0.002564 0.002564 0.002564 0.30% Castro::construct_old_gravity_source() 10 0.002546 0.002546 0.002546 0.30% MLMG::ResNormInf() 93 0.002089 0.002089 0.002089 0.24% Castro::computeNewDt() 9 0.002048 0.002048 0.002048 0.24% Castro::apply_source_to_state() 20 0.001814 0.001814 0.001814 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001621 0.001621 0.001621 0.19% Castro::reset_internal_energy(Fab) 504 0.001501 0.001501 0.001501 0.17% FabArrayBase::getCPC() 1323 0.001381 0.001381 0.001381 0.16% MLMG::getGradSolution() 11 0.001374 0.001374 0.001374 0.16% MLCellLinOp::compGrad() 11 0.001368 0.001368 0.001368 0.16% MLCellLinOp::setLevelBC() 11 0.001355 0.001355 0.001355 0.16% FabArray::mult() 43 0.001304 0.001304 0.001304 0.15% FabArray::setDomainBndry() 41 0.001288 0.001288 0.001288 0.15% Castro::check_for_nan() 20 0.001207 0.001207 0.001207 0.14% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.14% Castro::post_regrid() 1 0.001146 0.001146 0.001146 0.13% Castro::enforce_speed_limit() 62 0.001124 0.001124 0.001124 0.13% MLPoisson::prepareForSolve() 11 0.001111 0.001111 0.001111 0.13% MLCellLinOp::prepareForSolve() 11 0.001103 0.001103 0.001103 0.13% MLMG::computeMLResidual() 11 0.001005 0.001005 0.001005 0.12% Castro::computeInitialDt() 2 0.0009325 0.0009325 0.0009325 0.11% Gravity::update_max_rhs() 11 0.0008134 0.0008134 0.0008134 0.09% FabArrayBase::getFB() 4023 0.0006849 0.0006849 0.0006849 0.08% FabArrayBase::CPC::define() 454 0.0006669 0.0006669 0.0006669 0.08% Castro::finalize_advance() 10 0.0005692 0.0005692 0.0005692 0.07% Amr::InitAmr() 1 0.0004758 0.0004758 0.0004758 0.06% MLLinOp::define() 11 0.0004526 0.0004526 0.0004526 0.05% Castro::Castro() 1 0.0004382 0.0004382 0.0004382 0.05% MLLinOp::defineGrids() 11 0.000434 0.000434 0.000434 0.05% Gravity::swapTimeLevels() 10 0.0004245 0.0004245 0.0004245 0.05% MLMG::MLResNormInf() 11 0.0002888 0.0002888 0.0002888 0.03% MultiFab::max() 11 0.0002541 0.0002541 0.0002541 0.03% MLMG::MLRhsNormInf() 11 0.0002173 0.0002173 0.0002173 0.03% Castro::buildMetrics() 1 0.0001665 0.0001665 0.0001665 0.02% Castro::create_source_corrector() 10 0.0001525 0.0001525 0.0001525 0.02% FabArrayBase::FB::FB() 56 8.592e-05 8.592e-05 8.592e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.326e-05 5.326e-05 5.326e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.088e-05 5.088e-05 5.088e-05 0.01% Castro::swap_state_time_levels() 10 3.811e-05 3.811e-05 3.811e-05 0.00% makeSFC 55 3.731e-05 3.731e-05 3.731e-05 0.00% StateData::define() 4 3.583e-05 3.583e-05 3.583e-05 0.00% Castro::finalize_do_advance() 10 3.499e-05 3.499e-05 3.499e-05 0.00% Castro::enforce_consistent_e() 1 3.183e-05 3.183e-05 3.183e-05 0.00% Castro::initMFs() 1 2.477e-05 2.477e-05 2.477e-05 0.00% Amr::writeSmallPlotFile() 1 2.427e-05 2.427e-05 2.427e-05 0.00% DistributionMapping::Distribute() 56 1.459e-05 1.459e-05 1.459e-05 0.00% Amr::initSubcycle() 1 8.492e-06 8.492e-06 8.492e-06 0.00% AmrLevel::checkPointPost() 3 5.53e-06 5.53e-06 5.53e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.375e-06 4.375e-06 4.375e-06 0.00% Gravity::set_mass_offset() 11 4.079e-06 4.079e-06 4.079e-06 0.00% Castro::retry_advance_ctu() 10 3.476e-06 3.476e-06 3.476e-06 0.00% Castro::FluxRegCrseInit 10 2.652e-06 2.652e-06 2.652e-06 0.00% Castro::FluxRegFineAdd() 10 1.948e-06 1.948e-06 1.948e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.851e-06 1.851e-06 1.851e-06 0.00% AmrLevel::checkPointPre() 3 1.509e-06 1.509e-06 1.509e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 93 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 125 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1058 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2160 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7613 KiB 14 MiB MLMG::prepareForSolve() 660 660 3576 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7524 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1810 B 2048 KiB Gravity::solve_for_phi() 80 80 564 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 94 KiB 2048 KiB BndryData::define() 1056 1056 326 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 2426 B 480 KiB VisMF::Write(FabArray) 656 656 3424 B 320 KiB Castro::normalize_species() 62 62 6029 B 320 KiB amrex::average_down 1067 1067 1258 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1149 B 257 KiB amrex::Dot() 1360 1360 3405 B 160 KiB FabArray::norminf() 907 907 2415 B 160 KiB Castro::do_advance_ctu() 10 10 439 B 160 KiB MultiFab::max() 11 11 45 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3497 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 321 B 9648 B MLCellLinOp::applyBC() 8866 8866 225 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3854 B 6144 B StateData::FillBoundary(geom) 1992 1992 50 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 119 B 1472 B MLCellLinOp::defineBC() 66 66 367 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 626 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 50 KiB 8192 KiB VisMF::Write(FabArray) 744 744 620 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3497 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 321 B 9648 B MLCellLinOp::applyBC() 4433 4433 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3854 B 6144 B Gravity::get_new_grav_vector() 3 3 2905 B 3072 B StateData::FillBoundary(geom) 1992 1992 50 B 2880 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 297 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [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.05-26-g4167cbe534a0) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-26-g4167cbe534a0) initialized Starting run at 09:12:17 UTC on 2023-05-23. Successfully read inputs file ... Castro git describe: 23.05-25-g99ae92958 AMReX git describe: 23.05-26-g4167cbe53 Microphysics git describe: 23.05-12-g1f8fd85f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.44869888 Restart time = 0.045857331 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.047585812 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.048239908 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.056970708 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.060590496 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.064401494 [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.032977358 seconds Ending run at 09:12:17 UTC on 2023-05-23. Run time = 0.357590623 Run time without initialization = 0.311170447 Average number of zones advanced per microsecond: 4.212 Average number of zones advanced per microsecond per rank: 4.212 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3576 ... 0.3576 ... 0.3576 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1011 0.1011 0.1011 28.26% VisMF::Read() 3 0.03963 0.03963 0.03963 11.08% MLCellLinOp::applyBC() 1946 0.03245 0.03245 0.03245 9.07% VisMF::Write(FabArray) 1 0.03144 0.03144 0.03144 8.79% MLPoisson::Fsmooth() 1440 0.01353 0.01353 0.01353 3.78% FillBoundary_nowait() 1766 0.01283 0.01283 0.01283 3.59% StateData::FillBoundary(geom) 160 0.01191 0.01191 0.01191 3.33% amrex::Dot() 484 0.00847 0.00847 0.00847 2.37% amrex::Copy() 463 0.006813 0.006813 0.006813 1.91% Castro::enforce_min_density() 30 0.006241 0.006241 0.006241 1.75% FabArray::setVal() 537 0.006097 0.006097 0.006097 1.70% FabArray::norminf() 326 0.006047 0.006047 0.006047 1.69% FabArray::ParallelCopy_nowait() 380 0.005893 0.005893 0.005893 1.65% Castro::normalize_species() 30 0.005804 0.005804 0.005804 1.62% Castro::computeTemp() 30 0.005753 0.005753 0.005753 1.61% StateDataPhysBCFunct::() 20 0.005416 0.005416 0.005416 1.51% MLCellLinOp::defineAuxData() 6 0.005167 0.005167 0.005167 1.44% MLPoisson::Fapply() 500 0.004292 0.004292 0.004292 1.20% FabArray::Saxpy() 355 0.003536 0.003536 0.003536 0.99% FabArray::Xpay() 361 0.003399 0.003399 0.003399 0.95% Gravity::fill_multipole_BCs() 6 0.003286 0.003286 0.003286 0.92% MLMG::addInterpCorrection() 180 0.002797 0.002797 0.002797 0.78% Castro::estTimeStep() 10 0.002675 0.002675 0.002675 0.75% amrex::average_down 180 0.002516 0.002516 0.002516 0.70% Amr::restart() 1 0.002494 0.002494 0.002494 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002433 0.002433 0.002433 0.68% BndryData::define() 6 0.001919 0.001919 0.001919 0.54% FabArray::LinComb() 242 0.001878 0.001878 0.001878 0.53% amrex::Add() 72 0.001826 0.001826 0.001826 0.51% Castro::construct_new_gravity_source() 5 0.001687 0.001687 0.001687 0.47% Castro::construct_old_gravity_source() 5 0.001407 0.001407 0.001407 0.39% Castro::do_advance_ctu() 5 0.001372 0.001372 0.001372 0.38% Amr::writePlotFile() 1 0.001368 0.001368 0.001368 0.38% MLCGSolver::bicgstab 36 0.0009594 0.0009594 0.0009594 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009299 0.0009299 0.0009299 0.26% Gravity::actual_solve_with_mlmg() 6 0.0007848 0.0007848 0.0007848 0.22% MLCellLinOp::setLevelBC() 6 0.0007143 0.0007143 0.0007143 0.20% Castro::reset_internal_energy(Fab) 240 0.0006666 0.0006666 0.0006666 0.19% FabArray::mult() 22 0.000644 0.000644 0.000644 0.18% FabArray::setDomainBndry() 20 0.0006273 0.0006273 0.0006273 0.18% MLCellLinOp::prepareForSolve() 6 0.0005982 0.0005982 0.0005982 0.17% MultiFab::contains_nan() 10 0.0005977 0.0005977 0.0005977 0.17% Castro::enforce_speed_limit() 30 0.0004989 0.0004989 0.0004989 0.14% MLMG::prepareForSolve() 6 0.0004808 0.0004808 0.0004808 0.13% MLCellLinOp::compGrad() 6 0.0004794 0.0004794 0.0004794 0.13% MLCellLinOp::smooth() 720 0.000461 0.000461 0.000461 0.13% FabArrayBase::CPC::define() 244 0.0004353 0.0004353 0.0004353 0.12% FabArray::FillBoundary() 1766 0.0003859 0.0003859 0.0003859 0.11% Amr::InitAmr() 1 0.0003743 0.0003743 0.0003743 0.10% FabArrayBase::getCPC() 632 0.0003628 0.0003628 0.0003628 0.10% Gravity::get_old_grav_vector() 5 0.0003011 0.0003011 0.0003011 0.08% main() 1 0.0002839 0.0002839 0.0002839 0.08% Gravity::get_new_grav_vector() 5 0.0002741 0.0002741 0.0002741 0.08% FabArrayBase::getFB() 1766 0.0002502 0.0002502 0.0002502 0.07% MLLinOp::defineGrids() 6 0.0002087 0.0002087 0.0002087 0.06% MLCellLinOp::apply() 500 0.0001978 0.0001978 0.0001978 0.06% Amr::coarseTimeStep() 5 0.0001655 0.0001655 0.0001655 0.05% MLMG::mgVcycle() 36 0.0001503 0.0001503 0.0001503 0.04% MultiFab::max() 6 0.0001345 0.0001345 0.0001345 0.04% MLCGSolver::ParallelAllReduce 659 0.000126 0.000126 0.000126 0.04% FillPatchIterator::Initialize 20 0.0001148 0.0001148 0.0001148 0.03% Castro::create_source_corrector() 5 0.000109 0.000109 0.000109 0.03% MLCellLinOp::defineBC() 6 0.0001086 0.0001086 0.0001086 0.03% FabArray::ParallelCopy() 380 0.0001033 0.0001033 0.0001033 0.03% MLCellLinOp::correctionResidual() 216 9.057e-05 9.057e-05 9.057e-05 0.03% Amr::timeStep() 5 8.6e-05 8.6e-05 8.6e-05 0.02% AmrLevel::restart() 1 8.469e-05 8.469e-05 8.469e-05 0.02% Castro::subcycle_advance_ctu() 5 7.492e-05 7.492e-05 7.492e-05 0.02% StateData::restartDoit() 4 6.522e-05 6.522e-05 6.522e-05 0.02% Gravity::solve_for_phi() 5 6.297e-05 6.297e-05 6.297e-05 0.02% Gravity::update_max_rhs() 6 6.034e-05 6.034e-05 6.034e-05 0.02% FabArrayBase::FB::FB() 26 5.996e-05 5.996e-05 5.996e-05 0.02% MLMG:computeResOfCorrection() 180 4.756e-05 4.756e-05 4.756e-05 0.01% Castro::expand_state() 5 4.306e-05 4.306e-05 4.306e-05 0.01% MLMG::actualBottomSolve() 36 3.767e-05 3.767e-05 3.767e-05 0.01% MLMG::mgVcycle_down::0 36 3.632e-05 3.632e-05 3.632e-05 0.01% Castro::initialize_advance() 5 3.417e-05 3.417e-05 3.417e-05 0.01% Castro::clean_state() 30 3.328e-05 3.328e-05 3.328e-05 0.01% MLMG::mgVcycle_down::1 36 3.285e-05 3.285e-05 3.285e-05 0.01% Castro::buildMetrics() 1 3.282e-05 3.282e-05 3.282e-05 0.01% MLMG::solve() 6 3.232e-05 3.232e-05 3.232e-05 0.01% MLMG::mgVcycle_down::2 36 3.131e-05 3.131e-05 3.131e-05 0.01% MLMG::mgVcycle_down::4 36 3.122e-05 3.122e-05 3.122e-05 0.01% Castro::advance() 5 3.115e-05 3.115e-05 3.115e-05 0.01% MLMG::mgVcycle_down::3 36 3.04e-05 3.04e-05 3.04e-05 0.01% Castro::finalize_advance() 5 2.999e-05 2.999e-05 2.999e-05 0.01% Castro::initialize_do_advance() 5 2.67e-05 2.67e-05 2.67e-05 0.01% MLMG::mgVcycle_up::4 36 2.584e-05 2.584e-05 2.584e-05 0.01% Amr::writeSmallPlotFile() 1 2.575e-05 2.575e-05 2.575e-05 0.01% MLMG::oneIter() 36 2.497e-05 2.497e-05 2.497e-05 0.01% Castro::initMFs() 1 2.493e-05 2.493e-05 2.493e-05 0.01% Castro::swap_state_time_levels() 5 2.381e-05 2.381e-05 2.381e-05 0.01% MLMG::mgVcycle_up::0 36 2.199e-05 2.199e-05 2.199e-05 0.01% MLCellLinOp::solutionResidual() 42 2.105e-05 2.105e-05 2.105e-05 0.01% MLMG::mgVcycle_up::3 36 2.098e-05 2.098e-05 2.098e-05 0.01% MLMG::mgVcycle_up::2 36 2.085e-05 2.085e-05 2.085e-05 0.01% Castro::post_restart() 1 2.065e-05 2.065e-05 2.065e-05 0.01% MLMG::mgVcycle_up::1 36 2.054e-05 2.054e-05 2.054e-05 0.01% MLPoisson::define() 6 2.053e-05 2.053e-05 2.053e-05 0.01% Castro::finalize_do_advance() 5 2.017e-05 2.017e-05 2.017e-05 0.01% MLMG::ResNormInf() 42 1.711e-05 1.711e-05 1.711e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.566e-05 1.566e-05 1.566e-05 0.00% MLMG::mgVcycle_bottom 36 1.488e-05 1.488e-05 1.488e-05 0.00% MLMG::computeResidual() 36 1.416e-05 1.416e-05 1.416e-05 0.00% FillPatchSingleLevel 20 1.375e-05 1.375e-05 1.375e-05 0.00% makeSFC 30 1.316e-05 1.316e-05 1.316e-05 0.00% Castro::construct_new_gravity() 5 1.242e-05 1.242e-05 1.242e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.189e-05 1.189e-05 1.189e-05 0.00% MLLinOp::define() 6 1.121e-05 1.121e-05 1.121e-05 0.00% Castro::construct_old_source() 25 1.02e-05 1.02e-05 1.02e-05 0.00% Castro::construct_new_source() 25 9.353e-06 9.353e-06 9.353e-06 0.00% DistributionMapping::Distribute() 31 9.258e-06 9.258e-06 9.258e-06 0.00% Castro::do_new_sources() 5 8.934e-06 8.934e-06 8.934e-06 0.00% Castro::do_old_sources() 5 8.526e-06 8.526e-06 8.526e-06 0.00% Amr::initSubcycle() 1 8.448e-06 8.448e-06 8.448e-06 0.00% Gravity::actual_multilevel_solve() 1 7.603e-06 7.603e-06 7.603e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.422e-06 7.422e-06 7.422e-06 0.00% Castro::apply_source_to_state() 10 5.852e-06 5.852e-06 5.852e-06 0.00% Castro::check_for_nan() 10 5.843e-06 5.843e-06 5.843e-06 0.00% Castro::construct_old_gravity() 5 5.54e-06 5.54e-06 5.54e-06 0.00% Castro::post_timestep() 5 4.484e-06 4.484e-06 4.484e-06 0.00% MLPoisson::prepareForSolve() 6 4.448e-06 4.448e-06 4.448e-06 0.00% Gravity::swapTimeLevels() 5 3.792e-06 3.792e-06 3.792e-06 0.00% MLMG::computeMLResidual() 6 3.647e-06 3.647e-06 3.647e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.396e-06 3.396e-06 3.396e-06 0.00% Castro::computeNewDt() 5 3.121e-06 3.121e-06 3.121e-06 0.00% MLMG::getGradSolution() 6 3.035e-06 3.035e-06 3.035e-06 0.00% MLMG::MLResNormInf() 6 2.282e-06 2.282e-06 2.282e-06 0.00% Gravity::set_mass_offset() 6 2.157e-06 2.157e-06 2.157e-06 0.00% MLMG::MLRhsNormInf() 6 2.065e-06 2.065e-06 2.065e-06 0.00% Castro::retry_advance_ctu() 5 1.862e-06 1.862e-06 1.862e-06 0.00% Castro::FluxRegCrseInit 5 1.417e-06 1.417e-06 1.417e-06 0.00% Castro::FluxRegFineAdd() 5 1.22e-06 1.22e-06 1.22e-06 0.00% Amr::init() 1 1.201e-06 1.201e-06 1.201e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.145e-06 1.145e-06 1.145e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3576 0.3576 0.3576 100.00% Amr::coarseTimeStep() 5 0.2779 0.2779 0.2779 77.72% Amr::timeStep() 5 0.2758 0.2758 0.2758 77.12% Castro::advance() 5 0.273 0.273 0.273 76.35% Castro::subcycle_advance_ctu() 5 0.2663 0.2663 0.2663 74.46% Castro::do_advance_ctu() 5 0.2662 0.2662 0.2662 74.44% Castro::construct_new_gravity() 5 0.1266 0.1266 0.1266 35.40% Gravity::solve_phi_with_mlmg() 6 0.1221 0.1221 0.1221 34.15% Gravity::solve_for_phi() 5 0.1191 0.1191 0.1191 33.30% Gravity::actual_solve_with_mlmg() 6 0.1186 0.1186 0.1186 33.16% MLMG::solve() 6 0.1076 0.1076 0.1076 30.07% Castro::construct_ctu_hydro_source() 5 0.1011 0.1011 0.1011 28.26% MLMG::oneIter() 36 0.1008 0.1008 0.1008 28.19% MLMG::mgVcycle() 36 0.09927 0.09927 0.09927 27.76% MLCellLinOp::smooth() 720 0.04892 0.04892 0.04892 13.68% MLCellLinOp::applyBC() 1946 0.04598 0.04598 0.04598 12.86% Amr::init() 1 0.0459 0.0459 0.0459 12.83% Amr::restart() 1 0.0459 0.0459 0.0459 12.83% AmrLevel::restart() 1 0.03984 0.03984 0.03984 11.14% StateData::restartDoit() 4 0.03975 0.03975 0.03975 11.12% VisMF::Read() 3 0.03963 0.03963 0.03963 11.08% Amr::writePlotFile() 1 0.03306 0.03306 0.03306 9.25% VisMF::Write(FabArray) 1 0.03144 0.03144 0.03144 8.79% MLMG::mgVcycle_bottom 36 0.03059 0.03059 0.03059 8.55% MLMG::actualBottomSolve() 36 0.03058 0.03058 0.03058 8.55% MLCGSolver::bicgstab 36 0.03029 0.03029 0.03029 8.47% Castro::clean_state() 30 0.02143 0.02143 0.02143 5.99% FillPatchIterator::Initialize 20 0.02012 0.02012 0.02012 5.63% FillPatchSingleLevel 20 0.01938 0.01938 0.01938 5.42% StateDataPhysBCFunct::() 20 0.01733 0.01733 0.01733 4.85% MLCellLinOp::apply() 500 0.01528 0.01528 0.01528 4.27% MLMG::mgVcycle_down::0 36 0.0142 0.0142 0.0142 3.97% MLPoisson::Fsmooth() 1440 0.01353 0.01353 0.01353 3.78% FabArray::FillBoundary() 1766 0.01353 0.01353 0.01353 3.78% FillBoundary_nowait() 1766 0.01314 0.01314 0.01314 3.67% StateData::FillBoundary(geom) 160 0.01191 0.01191 0.01191 3.33% MLMG::mgVcycle_up::0 36 0.01067 0.01067 0.01067 2.98% Castro::initialize_do_advance() 5 0.009779 0.009779 0.009779 2.73% MLCellLinOp::correctionResidual() 216 0.009287 0.009287 0.009287 2.60% Castro::computeTemp() 30 0.008852 0.008852 0.008852 2.48% MLPoisson::define() 6 0.008801 0.008801 0.008801 2.46% amrex::Dot() 484 0.00847 0.00847 0.00847 2.37% MLMG:computeResOfCorrection() 180 0.008161 0.008161 0.008161 2.28% Castro::construct_old_gravity() 5 0.007418 0.007418 0.007418 2.07% Gravity::get_old_grav_vector() 5 0.007412 0.007412 0.007412 2.07% Gravity::get_new_grav_vector() 5 0.007403 0.007403 0.007403 2.07% amrex::Copy() 463 0.006813 0.006813 0.006813 1.91% Castro::do_new_sources() 5 0.00676 0.00676 0.00676 1.89% MLMG::mgVcycle_down::1 36 0.006592 0.006592 0.006592 1.84% Castro::initialize_advance() 5 0.00645 0.00645 0.00645 1.80% FabArray::ParallelCopy() 380 0.006388 0.006388 0.006388 1.79% FabArray::ParallelCopy_nowait() 380 0.006285 0.006285 0.006285 1.76% Castro::enforce_min_density() 30 0.006241 0.006241 0.006241 1.75% MLMG::mgVcycle_down::2 36 0.006161 0.006161 0.006161 1.72% FabArray::setVal() 537 0.006097 0.006097 0.006097 1.70% FabArray::norminf() 326 0.006047 0.006047 0.006047 1.69% MLMG::mgVcycle_down::3 36 0.006022 0.006022 0.006022 1.68% MLMG::mgVcycle_down::4 36 0.005967 0.005967 0.005967 1.67% MLCellLinOp::defineAuxData() 6 0.00596 0.00596 0.00596 1.67% Castro::expand_state() 5 0.005946 0.005946 0.005946 1.66% Castro::normalize_species() 30 0.005804 0.005804 0.005804 1.62% MLCGSolver::ParallelAllReduce 659 0.005118 0.005118 0.005118 1.43% Castro::do_old_sources() 5 0.00505 0.00505 0.00505 1.41% MLMG::addInterpCorrection() 180 0.00496 0.00496 0.00496 1.39% MLMG::mgVcycle_up::1 36 0.00482 0.00482 0.00482 1.35% MLMG::mgVcycle_up::4 36 0.004772 0.004772 0.004772 1.33% MLMG::mgVcycle_up::2 36 0.00471 0.00471 0.00471 1.32% amrex::average_down 180 0.004705 0.004705 0.004705 1.32% MLMG::mgVcycle_up::3 36 0.00462 0.00462 0.00462 1.29% MLPoisson::Fapply() 500 0.004292 0.004292 0.004292 1.20% FabArray::Saxpy() 355 0.003536 0.003536 0.003536 0.99% Gravity::fill_multipole_BCs() 6 0.003418 0.003418 0.003418 0.96% FabArray::Xpay() 361 0.003399 0.003399 0.003399 0.95% Castro::post_restart() 1 0.003388 0.003388 0.003388 0.95% Gravity::multilevel_solve_for_new_phi() 1 0.003283 0.003283 0.003283 0.92% Gravity::actual_multilevel_solve() 1 0.003267 0.003267 0.003267 0.91% MLCellLinOp::solutionResidual() 42 0.003169 0.003169 0.003169 0.89% Castro::reset_internal_energy(MultiFab) 30 0.003099 0.003099 0.003099 0.87% Castro::estTimeStep() 10 0.002675 0.002675 0.002675 0.75% Castro::post_timestep() 5 0.002664 0.002664 0.002664 0.74% MLMG::computeResidual() 36 0.002628 0.002628 0.002628 0.73% MLCellLinOp::defineBC() 6 0.002571 0.002571 0.002571 0.72% MLMG::prepareForSolve() 6 0.002474 0.002474 0.002474 0.69% BndryData::define() 6 0.002463 0.002463 0.002463 0.69% Castro::computeNewDt() 5 0.001981 0.001981 0.001981 0.55% FabArray::LinComb() 242 0.001878 0.001878 0.001878 0.53% amrex::Add() 72 0.001826 0.001826 0.001826 0.51% Castro::construct_new_source() 25 0.001696 0.001696 0.001696 0.47% Castro::construct_new_gravity_source() 5 0.001687 0.001687 0.001687 0.47% Castro::construct_old_source() 25 0.001417 0.001417 0.001417 0.40% Castro::construct_old_gravity_source() 5 0.001407 0.001407 0.001407 0.39% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009299 0.0009299 0.0009299 0.26% MLMG::ResNormInf() 42 0.0009254 0.0009254 0.0009254 0.26% Castro::apply_source_to_state() 10 0.0009223 0.0009223 0.0009223 0.26% FabArrayBase::getCPC() 632 0.0007982 0.0007982 0.0007982 0.22% MLMG::getGradSolution() 6 0.0007405 0.0007405 0.0007405 0.21% MLCellLinOp::compGrad() 6 0.0007375 0.0007375 0.0007375 0.21% MLCellLinOp::setLevelBC() 6 0.0007143 0.0007143 0.0007143 0.20% Castro::reset_internal_energy(Fab) 240 0.0006666 0.0006666 0.0006666 0.19% FabArray::mult() 22 0.000644 0.000644 0.000644 0.18% FabArray::setDomainBndry() 20 0.0006273 0.0006273 0.0006273 0.18% Castro::check_for_nan() 10 0.0006036 0.0006036 0.0006036 0.17% MLPoisson::prepareForSolve() 6 0.0006026 0.0006026 0.0006026 0.17% MLCellLinOp::prepareForSolve() 6 0.0005982 0.0005982 0.0005982 0.17% MultiFab::contains_nan() 10 0.0005977 0.0005977 0.0005977 0.17% MLMG::computeMLResidual() 6 0.0005595 0.0005595 0.0005595 0.16% Castro::enforce_speed_limit() 30 0.0004989 0.0004989 0.0004989 0.14% Gravity::update_max_rhs() 6 0.0004359 0.0004359 0.0004359 0.12% FabArrayBase::CPC::define() 244 0.0004353 0.0004353 0.0004353 0.12% Amr::InitAmr() 1 0.0003827 0.0003827 0.0003827 0.11% FabArrayBase::getFB() 1766 0.0003102 0.0003102 0.0003102 0.09% Castro::finalize_advance() 5 0.0002861 0.0002861 0.0002861 0.08% MLLinOp::define() 6 0.0002496 0.0002496 0.0002496 0.07% MLLinOp::defineGrids() 6 0.0002384 0.0002384 0.0002384 0.07% Gravity::swapTimeLevels() 5 0.0002236 0.0002236 0.0002236 0.06% MLMG::MLResNormInf() 6 0.000153 0.000153 0.000153 0.04% Castro::buildMetrics() 1 0.0001514 0.0001514 0.0001514 0.04% MultiFab::max() 6 0.0001345 0.0001345 0.0001345 0.04% MLMG::MLRhsNormInf() 6 0.0001159 0.0001159 0.0001159 0.03% Castro::create_source_corrector() 5 0.000109 0.000109 0.000109 0.03% FabArrayBase::FB::FB() 26 5.996e-05 5.996e-05 5.996e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.853e-05 2.853e-05 2.853e-05 0.01% Amr::writeSmallPlotFile() 1 2.575e-05 2.575e-05 2.575e-05 0.01% Castro::initMFs() 1 2.493e-05 2.493e-05 2.493e-05 0.01% Castro::swap_state_time_levels() 5 2.381e-05 2.381e-05 2.381e-05 0.01% makeSFC 30 2.111e-05 2.111e-05 2.111e-05 0.01% Castro::finalize_do_advance() 5 2.017e-05 2.017e-05 2.017e-05 0.01% DistributionMapping::Distribute() 31 9.258e-06 9.258e-06 9.258e-06 0.00% Amr::initSubcycle() 1 8.448e-06 8.448e-06 8.448e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.71e-06 4.71e-06 4.71e-06 0.00% Gravity::set_mass_offset() 6 2.157e-06 2.157e-06 2.157e-06 0.00% Castro::retry_advance_ctu() 5 1.862e-06 1.862e-06 1.862e-06 0.00% Castro::FluxRegCrseInit 5 1.417e-06 1.417e-06 1.417e-06 0.00% Castro::FluxRegFineAdd() 5 1.22e-06 1.22e-06 1.22e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.145e-06 1.145e-06 1.145e-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 224 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 131 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1247 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2586 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 6661 KiB 14 MiB MLMG::prepareForSolve() 361 361 3692 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 214 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 211 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6656 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2352 B 2048 KiB Gravity::solve_for_phi() 40 40 680 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 339 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 218 KiB 671 KiB Castro::estTimeStep() 10 10 2516 B 480 KiB VisMF::Write(FabArray) 112 112 1345 B 320 KiB Castro::normalize_species() 30 30 5267 B 320 KiB amrex::average_down 469 469 1274 B 257 KiB MLMG::addInterpCorrection() 468 468 1200 B 257 KiB amrex::Dot() 592 592 3488 B 160 KiB FabArray::norminf() 398 398 2500 B 160 KiB Castro::do_advance_ctu() 5 5 588 B 160 KiB MultiFab::max() 6 6 57 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3591 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 54 B 10 KiB FillBoundary_nowait() 336 336 313 B 9648 B MLCellLinOp::applyBC() 3892 3892 234 B 9344 B amrex::Copy() 56 56 5944 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 50 B 3456 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 123 B 1472 B MLCellLinOp::defineBC() 36 36 381 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1513 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 122 KiB 8192 KiB VisMF::Write(FabArray) 120 120 270 KiB 3584 KiB VisMF::Read() 24 24 215 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3591 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 54 B 10 KiB FillBoundary_nowait() 336 336 313 B 9648 B MLCellLinOp::applyBC() 1946 1946 233 B 9328 B amrex::Copy() 56 56 5944 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 51 B 3456 B Gravity::get_old_grav_vector() 3 3 2622 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 544 B 1296 B amrex::average_down 37 37 221 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [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.05-26-g4167cbe534a0) finalized