Initializing AMReX (23.11-3-g606a94c69d64)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-3-g606a94c69d64) initialized Starting run at 08:59:50 UTC on 2023-11-02. Successfully read inputs file ... Castro git describe: 23.11-1-g445a2ee3c AMReX git describe: 23.11-3-g606a94c69 Microphysics git describe: 23.11 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.051592335 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028714354 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.051878919 [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.049754775 [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.078453905 [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.080675607 [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.066469859 [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.051216896 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.050169386 [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.072088848 [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.083439748 [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.068248962 [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.060037364 [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.0488321 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028150148 seconds Ending run at 08:59:51 UTC on 2023-11-02. Run time = 0.923109989 Run time without initialization = 0.790094506 Average number of zones advanced per microsecond: 3.318 Average number of zones advanced per microsecond per rank: 3.318 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9231 ... 0.9231 ... 0.9231 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2842 0.2842 0.2842 30.78% VisMF::Write(FabArray) 11 0.1998 0.1998 0.1998 21.65% MLCellLinOp::applyBC() 4379 0.07906 0.07906 0.07906 8.56% MLPoisson::Fsmooth() 3240 0.03296 0.03296 0.03296 3.57% FillBoundary_nowait() 3974 0.03055 0.03055 0.03055 3.31% StateData::FillBoundary(geom) 328 0.02624 0.02624 0.02624 2.84% amrex::Dot() 1100 0.02085 0.02085 0.02085 2.26% Castro::normalize_species() 62 0.02038 0.02038 0.02038 2.21% amrex::Copy() 1019 0.01512 0.01512 0.01512 1.64% Castro::computeTemp() 63 0.01494 0.01494 0.01494 1.62% FabArray::norminf() 734 0.0146 0.0146 0.0146 1.58% FabArray::setVal() 1135 0.0135 0.0135 0.0135 1.46% FabArray::ParallelCopy_nowait() 851 0.01342 0.01342 0.01342 1.45% StateDataPhysBCFunct::() 41 0.01188 0.01188 0.01188 1.29% Castro::enforce_min_density() 62 0.01126 0.01126 0.01126 1.22% MLPoisson::Fapply() 1128 0.01061 0.01061 0.01061 1.15% MLCellLinOp::defineAuxData() 11 0.01026 0.01026 0.01026 1.11% Gravity::fill_multipole_BCs() 11 0.00925 0.00925 0.00925 1.00% FabArray::Saxpy() 803 0.008422 0.008422 0.008422 0.91% FabArray::Xpay() 811 0.008245 0.008245 0.008245 0.89% MLMG::addInterpCorrection() 405 0.006816 0.006816 0.006816 0.74% amrex::average_down 405 0.00611 0.00611 0.00611 0.66% Castro::estTimeStep() 21 0.006044 0.006044 0.006044 0.65% Amr::checkPoint() 3 0.005924 0.005924 0.005924 0.64% Castro::reset_internal_energy(MultiFab) 63 0.005226 0.005226 0.005226 0.57% FabArray::LinComb() 550 0.004636 0.004636 0.004636 0.50% amrex::Add() 162 0.00441 0.00441 0.00441 0.48% BndryData::define() 11 0.003854 0.003854 0.003854 0.42% Castro::enforce_speed_limit() 62 0.003438 0.003438 0.003438 0.37% Castro::construct_new_gravity_source() 10 0.003366 0.003366 0.003366 0.36% Castro::construct_old_gravity_source() 10 0.002901 0.002901 0.002901 0.31% MLCGSolver::bicgstab 81 0.002295 0.002295 0.002295 0.25% Amr::writePlotFile() 2 0.002293 0.002293 0.002293 0.25% check_for_negative_density() 10 0.001935 0.001935 0.001935 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001771 0.001771 0.001771 0.19% Gravity::actual_solve_with_mlmg() 11 0.001637 0.001637 0.001637 0.18% Castro::initData() 1 0.001587 0.001587 0.001587 0.17% Castro::reset_internal_energy(Fab) 504 0.001577 0.001577 0.001577 0.17% MLCellLinOp::setLevelBC() 11 0.001527 0.001527 0.001527 0.17% FabArray::mult() 43 0.001362 0.001362 0.001362 0.15% FabArray::setDomainBndry() 41 0.001353 0.001353 0.001353 0.15% MLCellLinOp::prepareForSolve() 11 0.001323 0.001323 0.001323 0.14% MultiFab::contains_nan() 20 0.001272 0.001272 0.001272 0.14% MLCellLinOp::smooth() 1620 0.001205 0.001205 0.001205 0.13% MLCellLinOp::compGrad() 11 0.001066 0.001066 0.001066 0.12% MLMG::prepareForSolve() 11 0.0009823 0.0009823 0.0009823 0.11% FabArray::FillBoundary() 3974 0.0008219 0.0008219 0.0008219 0.09% FabArrayBase::getCPC() 1313 0.0007631 0.0007631 0.0007631 0.08% FabArrayBase::CPC::define() 454 0.0006594 0.0006594 0.0006594 0.07% FabArrayBase::getFB() 3974 0.000643 0.000643 0.000643 0.07% Gravity::get_new_grav_vector() 11 0.0006112 0.0006112 0.0006112 0.07% Amr::InitAmr() 1 0.0005235 0.0005235 0.0005235 0.06% Gravity::get_old_grav_vector() 10 0.0004817 0.0004817 0.0004817 0.05% MLCellLinOp::apply() 1128 0.0004807 0.0004807 0.0004807 0.05% AmrLevel::FillPatch() 41 0.0003735 0.0003735 0.0003735 0.04% main() 1 0.0003718 0.0003718 0.0003718 0.04% Amr::coarseTimeStep() 10 0.0003462 0.0003462 0.0003462 0.04% MultiFab::max() 11 0.0003238 0.0003238 0.0003238 0.04% MLCGSolver::ParallelAllReduce 1495 0.0002997 0.0002997 0.0002997 0.03% MLCellLinOp::defineBC() 11 0.0002461 0.0002461 0.0002461 0.03% FabArray::ParallelCopy() 851 0.000242 0.000242 0.000242 0.03% MLCellLinOp::correctionResidual() 486 0.0002317 0.0002317 0.0002317 0.03% FillPatchIterator::Initialize 41 0.0002272 0.0002272 0.0002272 0.02% MLMG::mgVcycle() 81 0.0001943 0.0001943 0.0001943 0.02% Castro::subcycle_advance_ctu() 10 0.000181 0.000181 0.000181 0.02% MLLinOp::defineGrids() 11 0.0001807 0.0001807 0.0001807 0.02% Castro::create_source_corrector() 10 0.0001797 0.0001797 0.0001797 0.02% Gravity::solve_for_phi() 10 0.0001659 0.0001659 0.0001659 0.02% Amr::timeStep() 10 0.0001576 0.0001576 0.0001576 0.02% StateData::checkPoint() 12 0.0001358 0.0001358 0.0001358 0.01% Gravity::update_max_rhs() 11 0.0001274 0.0001274 0.0001274 0.01% MLMG:computeResOfCorrection() 405 0.0001097 0.0001097 0.0001097 0.01% Castro::advance() 10 9.328e-05 9.328e-05 9.328e-05 0.01% FabArrayBase::FB::FB() 56 9.165e-05 9.165e-05 9.165e-05 0.01% Castro::Castro() 1 9.141e-05 9.141e-05 9.141e-05 0.01% MLMG::actualBottomSolve() 81 9.117e-05 9.117e-05 9.117e-05 0.01% MLMG::mgVcycle_down::0 81 8.476e-05 8.476e-05 8.476e-05 0.01% Castro::initialize_advance() 10 7.847e-05 7.847e-05 7.847e-05 0.01% AmrLevel::checkPoint() 3 7.79e-05 7.79e-05 7.79e-05 0.01% MLMG::mgVcycle_down::1 81 7.472e-05 7.472e-05 7.472e-05 0.01% Castro::clean_state() 62 7.457e-05 7.457e-05 7.457e-05 0.01% MLMG::solve() 11 7.444e-05 7.444e-05 7.444e-05 0.01% MLMG::mgVcycle_down::2 81 7.359e-05 7.359e-05 7.359e-05 0.01% MLMG::mgVcycle_down::4 81 7.102e-05 7.102e-05 7.102e-05 0.01% MLMG::mgVcycle_down::3 81 6.957e-05 6.957e-05 6.957e-05 0.01% Castro::finalize_advance() 10 6.943e-05 6.943e-05 6.943e-05 0.01% Castro::enforce_consistent_e() 1 6.914e-05 6.914e-05 6.914e-05 0.01% Castro::initialize_do_advance() 10 6.034e-05 6.034e-05 6.034e-05 0.01% MLMG::mgVcycle_up::4 81 5.386e-05 5.386e-05 5.386e-05 0.01% Castro::do_new_sources() 10 5.321e-05 5.321e-05 5.321e-05 0.01% MLMG::oneIter() 81 5.208e-05 5.208e-05 5.208e-05 0.01% MLCellLinOp::solutionResidual() 92 5.115e-05 5.115e-05 5.115e-05 0.01% Castro::finalize_do_advance() 10 5.094e-05 5.094e-05 5.094e-05 0.01% StateData::define() 4 4.966e-05 4.966e-05 4.966e-05 0.01% MLMG::mgVcycle_up::0 81 4.789e-05 4.789e-05 4.789e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.732e-05 4.732e-05 4.732e-05 0.01% Castro::do_advance_ctu() 10 4.703e-05 4.703e-05 4.703e-05 0.01% MLMG::mgVcycle_up::3 81 4.508e-05 4.508e-05 4.508e-05 0.00% MLMG::mgVcycle_up::1 81 4.499e-05 4.499e-05 4.499e-05 0.00% Castro::construct_new_source() 50 4.404e-05 4.404e-05 4.404e-05 0.00% MLMG::mgVcycle_up::2 81 4.34e-05 4.34e-05 4.34e-05 0.00% Amr::defBaseLevel() 1 4.054e-05 4.054e-05 4.054e-05 0.00% Castro::swap_state_time_levels() 10 3.67e-05 3.67e-05 3.67e-05 0.00% FillPatchSingleLevel 41 3.664e-05 3.664e-05 3.664e-05 0.00% MLMG::ResNormInf() 92 3.517e-05 3.517e-05 3.517e-05 0.00% Castro::post_timestep() 10 3.485e-05 3.485e-05 3.485e-05 0.00% Castro::initMFs() 1 3.234e-05 3.234e-05 3.234e-05 0.00% MLMG::mgVcycle_bottom 81 3.231e-05 3.231e-05 3.231e-05 0.00% MLMG::computeResidual() 81 3.225e-05 3.225e-05 3.225e-05 0.00% Amr::writeSmallPlotFile() 1 3.059e-05 3.059e-05 3.059e-05 0.00% Castro::construct_new_gravity() 10 2.975e-05 2.975e-05 2.975e-05 0.00% Castro::buildMetrics() 1 2.547e-05 2.547e-05 2.547e-05 0.00% makeSFC 55 2.527e-05 2.527e-05 2.527e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.302e-05 2.302e-05 2.302e-05 0.00% Castro::do_old_sources() 10 2.205e-05 2.205e-05 2.205e-05 0.00% Amr::FinalizeInit() 1 2.098e-05 2.098e-05 2.098e-05 0.00% MLPoisson::define() 11 2.051e-05 2.051e-05 2.051e-05 0.00% Castro::construct_old_source() 50 1.849e-05 1.849e-05 1.849e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.807e-05 1.807e-05 1.807e-05 0.00% DistributionMapping::Distribute() 56 1.481e-05 1.481e-05 1.481e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.367e-05 1.367e-05 1.367e-05 0.00% MLMG::computeMLResidual() 11 1.32e-05 1.32e-05 1.32e-05 0.00% Castro::construct_old_gravity() 10 1.275e-05 1.275e-05 1.275e-05 0.00% MLPoisson::prepareForSolve() 11 1.273e-05 1.273e-05 1.273e-05 0.00% Castro::check_for_nan() 20 1.256e-05 1.256e-05 1.256e-05 0.00% Castro::apply_source_to_state() 20 1.185e-05 1.185e-05 1.185e-05 0.00% MLLinOp::define() 11 1.097e-05 1.097e-05 1.097e-05 0.00% Amr::initSubcycle() 1 1.043e-05 1.043e-05 1.043e-05 0.00% Castro::post_init() 1 9.957e-06 9.957e-06 9.957e-06 0.00% Gravity::swapTimeLevels() 10 9.631e-06 9.631e-06 9.631e-06 0.00% Gravity::actual_multilevel_solve() 1 8.167e-06 8.167e-06 8.167e-06 0.00% AmrLevel::AmrLevel(dm) 1 7.885e-06 7.885e-06 7.885e-06 0.00% Castro::computeNewDt() 9 6.775e-06 6.775e-06 6.775e-06 0.00% MLMG::getGradSolution() 11 6.328e-06 6.328e-06 6.328e-06 0.00% Castro::expand_state() 10 6.108e-06 6.108e-06 6.108e-06 0.00% AmrLevel::checkPointPost() 3 5.525e-06 5.525e-06 5.525e-06 0.00% Amr::InitializeInit() 1 4.807e-06 4.807e-06 4.807e-06 0.00% MLMG::MLRhsNormInf() 11 4.168e-06 4.168e-06 4.168e-06 0.00% Gravity::set_mass_offset() 11 4.118e-06 4.118e-06 4.118e-06 0.00% Castro::retry_advance_ctu() 10 3.974e-06 3.974e-06 3.974e-06 0.00% MLMG::MLResNormInf() 11 3.68e-06 3.68e-06 3.68e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.965e-06 2.965e-06 2.965e-06 0.00% Castro::FluxRegCrseInit 10 2.896e-06 2.896e-06 2.896e-06 0.00% Castro::FluxRegFineAdd() 10 2.672e-06 2.672e-06 2.672e-06 0.00% Castro::computeInitialDt() 2 2.587e-06 2.587e-06 2.587e-06 0.00% Amr::init() 1 2.243e-06 2.243e-06 2.243e-06 0.00% AmrLevel::checkPointPre() 3 2.067e-06 2.067e-06 2.067e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.969e-06 1.969e-06 1.969e-06 0.00% Castro::post_regrid() 1 1.067e-06 1.067e-06 1.067e-06 0.00% Amr::initialInit() 1 1.056e-06 1.056e-06 1.056e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9231 0.9231 0.9231 100.00% Amr::coarseTimeStep() 10 0.7617 0.7617 0.7617 82.51% Amr::timeStep() 10 0.6577 0.6577 0.6577 71.24% Castro::advance() 10 0.6462 0.6462 0.6462 70.00% Castro::subcycle_advance_ctu() 10 0.6313 0.6313 0.6313 68.39% Castro::do_advance_ctu() 10 0.6311 0.6311 0.6311 68.37% Castro::construct_ctu_hydro_source() 10 0.2954 0.2954 0.2954 32.00% Gravity::solve_phi_with_mlmg() 11 0.2919 0.2919 0.2919 31.62% Gravity::actual_solve_with_mlmg() 11 0.2822 0.2822 0.2822 30.57% Castro::construct_new_gravity() 10 0.266 0.266 0.266 28.82% MLMG::solve() 11 0.2605 0.2605 0.2605 28.22% Gravity::solve_for_phi() 10 0.2497 0.2497 0.2497 27.05% MLMG::oneIter() 81 0.2454 0.2454 0.2454 26.58% MLMG::mgVcycle() 81 0.2417 0.2417 0.2417 26.19% VisMF::Write(FabArray) 11 0.1998 0.1998 0.1998 21.65% Amr::checkPoint() 3 0.1518 0.1518 0.1518 16.44% AmrLevel::checkPoint() 3 0.1459 0.1459 0.1459 15.80% StateData::checkPoint() 12 0.1458 0.1458 0.1458 15.79% Amr::init() 1 0.1323 0.1323 0.1323 14.33% MLCellLinOp::smooth() 1620 0.1185 0.1185 0.1185 12.84% MLCellLinOp::applyBC() 4379 0.1112 0.1112 0.1112 12.04% MLMG::mgVcycle_bottom 81 0.07535 0.07535 0.07535 8.16% MLMG::actualBottomSolve() 81 0.07532 0.07532 0.07532 8.16% MLCGSolver::bicgstab 81 0.0746 0.0746 0.0746 8.08% Amr::writePlotFile() 2 0.05698 0.05698 0.05698 6.17% Castro::clean_state() 62 0.05582 0.05582 0.05582 6.05% Amr::initialInit() 1 0.05186 0.05186 0.05186 5.62% AmrLevel::FillPatch() 41 0.04811 0.04811 0.04811 5.21% Amr::FinalizeInit() 1 0.04655 0.04655 0.04655 5.04% Castro::post_init() 1 0.04512 0.04512 0.04512 4.89% FillPatchIterator::Initialize 41 0.04385 0.04385 0.04385 4.75% Gravity::multilevel_solve_for_new_phi() 1 0.04276 0.04276 0.04276 4.63% Gravity::actual_multilevel_solve() 1 0.04274 0.04274 0.04274 4.63% FillPatchIterator::FillFromLevel0() 41 0.04227 0.04227 0.04227 4.58% FillPatchSingleLevel 41 0.04222 0.04222 0.04222 4.57% StateDataPhysBCFunct::() 41 0.03812 0.03812 0.03812 4.13% MLCellLinOp::apply() 1128 0.03741 0.03741 0.03741 4.05% MLMG::mgVcycle_down::0 81 0.03402 0.03402 0.03402 3.69% MLPoisson::Fsmooth() 3240 0.03296 0.03296 0.03296 3.57% FabArray::FillBoundary() 3974 0.03211 0.03211 0.03211 3.48% FillBoundary_nowait() 3974 0.03128 0.03128 0.03128 3.39% StateData::FillBoundary(geom) 328 0.02624 0.02624 0.02624 2.84% MLMG::mgVcycle_up::0 81 0.02556 0.02556 0.02556 2.77% MLCellLinOp::correctionResidual() 486 0.02276 0.02276 0.02276 2.47% Castro::computeTemp() 63 0.02175 0.02175 0.02175 2.36% Castro::initialize_do_advance() 10 0.02099 0.02099 0.02099 2.27% amrex::Dot() 1100 0.02085 0.02085 0.02085 2.26% Castro::normalize_species() 62 0.02038 0.02038 0.02038 2.21% MLMG:computeResOfCorrection() 405 0.02006 0.02006 0.02006 2.17% Gravity::get_new_grav_vector() 11 0.01826 0.01826 0.01826 1.98% Castro::do_old_sources() 10 0.01802 0.01802 0.01802 1.95% MLPoisson::define() 11 0.01701 0.01701 0.01701 1.84% MLMG::mgVcycle_down::1 81 0.01622 0.01622 0.01622 1.76% Castro::construct_old_gravity() 10 0.01552 0.01552 0.01552 1.68% Gravity::get_old_grav_vector() 10 0.01551 0.01551 0.01551 1.68% amrex::Copy() 1019 0.01512 0.01512 0.01512 1.64% MLMG::mgVcycle_down::2 81 0.01508 0.01508 0.01508 1.63% MLMG::mgVcycle_down::3 81 0.0147 0.0147 0.0147 1.59% FabArray::norminf() 734 0.0146 0.0146 0.0146 1.58% MLMG::mgVcycle_down::4 81 0.01452 0.01452 0.01452 1.57% FabArray::ParallelCopy() 851 0.01446 0.01446 0.01446 1.57% FabArray::ParallelCopy_nowait() 851 0.01422 0.01422 0.01422 1.54% Castro::initialize_advance() 10 0.01421 0.01421 0.01421 1.54% FabArray::setVal() 1135 0.0135 0.0135 0.0135 1.46% MLCGSolver::ParallelAllReduce 1495 0.01248 0.01248 0.01248 1.35% MLMG::addInterpCorrection() 405 0.01198 0.01198 0.01198 1.30% Castro::do_new_sources() 10 0.01192 0.01192 0.01192 1.29% MLMG::mgVcycle_up::1 81 0.01174 0.01174 0.01174 1.27% MLCellLinOp::defineAuxData() 11 0.01165 0.01165 0.01165 1.26% Castro::expand_state() 10 0.01164 0.01164 0.01164 1.26% MLMG::mgVcycle_up::4 81 0.01158 0.01158 0.01158 1.25% MLMG::mgVcycle_up::2 81 0.01153 0.01153 0.01153 1.25% amrex::average_down 405 0.01135 0.01135 0.01135 1.23% Castro::post_timestep() 10 0.0113 0.0113 0.0113 1.22% Castro::enforce_min_density() 62 0.01126 0.01126 0.01126 1.22% MLMG::mgVcycle_up::3 81 0.01122 0.01122 0.01122 1.22% MLPoisson::Fapply() 1128 0.01061 0.01061 0.01061 1.15% Gravity::fill_multipole_BCs() 11 0.00948 0.00948 0.00948 1.03% FabArray::Saxpy() 803 0.008422 0.008422 0.008422 0.91% FabArray::Xpay() 811 0.008245 0.008245 0.008245 0.89% MLCellLinOp::solutionResidual() 92 0.007531 0.007531 0.007531 0.82% Castro::reset_internal_energy(MultiFab) 63 0.006804 0.006804 0.006804 0.74% MLMG::computeResidual() 81 0.006223 0.006223 0.006223 0.67% Castro::estTimeStep() 21 0.006044 0.006044 0.006044 0.65% Amr::InitializeInit() 1 0.005311 0.005311 0.005311 0.58% Amr::defBaseLevel() 1 0.005306 0.005306 0.005306 0.57% MLCellLinOp::defineBC() 11 0.005094 0.005094 0.005094 0.55% MLMG::prepareForSolve() 11 0.005091 0.005091 0.005091 0.55% BndryData::define() 11 0.004848 0.004848 0.004848 0.53% FabArray::LinComb() 550 0.004636 0.004636 0.004636 0.50% Castro::initData() 1 0.004623 0.004623 0.004623 0.50% amrex::Add() 162 0.00441 0.00441 0.00441 0.48% Castro::enforce_speed_limit() 62 0.003438 0.003438 0.003438 0.37% Castro::construct_new_source() 50 0.00341 0.00341 0.00341 0.37% Castro::construct_new_gravity_source() 10 0.003366 0.003366 0.003366 0.36% Castro::construct_old_source() 50 0.00292 0.00292 0.00292 0.32% Castro::construct_old_gravity_source() 10 0.002901 0.002901 0.002901 0.31% Castro::computeNewDt() 9 0.002729 0.002729 0.002729 0.30% Castro::finalize_do_advance() 10 0.002301 0.002301 0.002301 0.25% MLMG::ResNormInf() 92 0.002169 0.002169 0.002169 0.23% check_for_negative_density() 10 0.001935 0.001935 0.001935 0.21% Castro::apply_source_to_state() 20 0.001857 0.001857 0.001857 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001771 0.001771 0.001771 0.19% Castro::reset_internal_energy(Fab) 504 0.001577 0.001577 0.001577 0.17% MLMG::getGradSolution() 11 0.001558 0.001558 0.001558 0.17% MLCellLinOp::compGrad() 11 0.001552 0.001552 0.001552 0.17% MLCellLinOp::setLevelBC() 11 0.001527 0.001527 0.001527 0.17% FabArrayBase::getCPC() 1313 0.001422 0.001422 0.001422 0.15% FabArray::mult() 43 0.001362 0.001362 0.001362 0.15% FabArray::setDomainBndry() 41 0.001353 0.001353 0.001353 0.15% MLMG::computeMLResidual() 11 0.001353 0.001353 0.001353 0.15% MLPoisson::prepareForSolve() 11 0.001336 0.001336 0.001336 0.14% MLCellLinOp::prepareForSolve() 11 0.001323 0.001323 0.001323 0.14% Castro::check_for_nan() 20 0.001284 0.001284 0.001284 0.14% MultiFab::contains_nan() 20 0.001272 0.001272 0.001272 0.14% Castro::post_regrid() 1 0.001133 0.001133 0.001133 0.12% Castro::computeInitialDt() 2 0.001074 0.001074 0.001074 0.12% Gravity::update_max_rhs() 11 0.0009722 0.0009722 0.0009722 0.11% FabArrayBase::getFB() 3974 0.0007346 0.0007346 0.0007346 0.08% FabArrayBase::CPC::define() 454 0.0006594 0.0006594 0.0006594 0.07% Castro::finalize_advance() 10 0.0005975 0.0005975 0.0005975 0.06% Castro::Castro() 1 0.0005813 0.0005813 0.0005813 0.06% Amr::InitAmr() 1 0.0005339 0.0005339 0.0005339 0.06% Gravity::swapTimeLevels() 10 0.0004403 0.0004403 0.0004403 0.05% MLMG::MLResNormInf() 11 0.0003329 0.0003329 0.0003329 0.04% MultiFab::max() 11 0.0003238 0.0003238 0.0003238 0.04% Castro::buildMetrics() 1 0.000285 0.000285 0.000285 0.03% MLLinOp::define() 11 0.0002461 0.0002461 0.0002461 0.03% MLLinOp::defineGrids() 11 0.0002352 0.0002352 0.0002352 0.03% MLMG::MLRhsNormInf() 11 0.0002216 0.0002216 0.0002216 0.02% Castro::create_source_corrector() 10 0.0001797 0.0001797 0.0001797 0.02% FabArrayBase::FB::FB() 56 9.165e-05 9.165e-05 9.165e-05 0.01% Castro::enforce_consistent_e() 1 6.914e-05 6.914e-05 6.914e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.755e-05 5.755e-05 5.755e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.255e-05 5.255e-05 5.255e-05 0.01% StateData::define() 4 4.966e-05 4.966e-05 4.966e-05 0.01% makeSFC 55 3.887e-05 3.887e-05 3.887e-05 0.00% Castro::swap_state_time_levels() 10 3.67e-05 3.67e-05 3.67e-05 0.00% Castro::initMFs() 1 3.234e-05 3.234e-05 3.234e-05 0.00% Amr::writeSmallPlotFile() 1 3.059e-05 3.059e-05 3.059e-05 0.00% DistributionMapping::Distribute() 56 1.481e-05 1.481e-05 1.481e-05 0.00% Amr::initSubcycle() 1 1.043e-05 1.043e-05 1.043e-05 0.00% AmrLevel::checkPointPost() 3 5.525e-06 5.525e-06 5.525e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.179e-06 4.179e-06 4.179e-06 0.00% Gravity::set_mass_offset() 11 4.118e-06 4.118e-06 4.118e-06 0.00% Castro::retry_advance_ctu() 10 3.974e-06 3.974e-06 3.974e-06 0.00% Castro::FluxRegCrseInit 10 2.896e-06 2.896e-06 2.896e-06 0.00% Castro::FluxRegFineAdd() 10 2.672e-06 2.672e-06 2.672e-06 0.00% AmrLevel::checkPointPre() 3 2.067e-06 2.067e-06 2.067e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.969e-06 1.969e-06 1.969e-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 89 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 144 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 1002 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1728 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3470 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2035 B 2048 KiB Gravity::solve_for_phi() 80 80 553 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 94 KiB 2048 KiB BndryData::define() 1056 1056 317 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 202 KiB 671 KiB Castro::estTimeStep() 21 21 3193 B 480 KiB VisMF::Write(FabArray) 656 656 3310 B 320 KiB Castro::normalize_species() 62 62 7189 B 320 KiB amrex::average_down 1054 1054 1228 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1113 B 257 KiB amrex::Dot() 1343 1343 3325 B 160 KiB FabArray::norminf() 896 896 2336 B 160 KiB check_for_negative_density() 10 10 317 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3388 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 290 B 9648 B MLCellLinOp::applyBC() 8758 8758 216 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3916 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 117 B 1472 B MLCellLinOp::defineBC() 66 66 357 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 580 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 487 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3388 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 290 B 9648 B MLCellLinOp::applyBC() 4379 4379 214 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3916 B 6144 B Gravity::get_new_grav_vector() 3 3 2901 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 43 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 270 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 289 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 896 896 17 B 272 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): 2528 [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.11-3-g606a94c69d64) finalized Initializing AMReX (23.11-3-g606a94c69d64)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-3-g606a94c69d64) initialized Starting run at 08:59:52 UTC on 2023-11-02. Successfully read inputs file ... Castro git describe: 23.11-1-g445a2ee3c AMReX git describe: 23.11-3-g606a94c69 Microphysics git describe: 23.11 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.511398995 Restart time = 0.071990094 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.053565328 [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.050461451 [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.074725325 [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.084575804 [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.072479201 [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.124335663 seconds Ending run at 08:59:52 UTC on 2023-11-02. Run time = 0.533246443 Run time without initialization = 0.460642546 Average number of zones advanced per microsecond: 2.845 Average number of zones advanced per microsecond per rank: 2.845 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.5333 ... 0.5333 ... 0.5333 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1446 0.1446 0.1446 27.12% Amr::writePlotFile() 1 0.08819 0.08819 0.08819 16.54% VisMF::Read() 3 0.06039 0.06039 0.06039 11.33% VisMF::Write(FabArray) 1 0.03597 0.03597 0.03597 6.74% MLCellLinOp::applyBC() 1946 0.03473 0.03473 0.03473 6.51% MLPoisson::Fsmooth() 1440 0.01435 0.01435 0.01435 2.69% FillBoundary_nowait() 1766 0.01288 0.01288 0.01288 2.42% StateData::FillBoundary(geom) 160 0.01288 0.01288 0.01288 2.41% Castro::normalize_species() 30 0.009758 0.009758 0.009758 1.83% amrex::Dot() 484 0.00908 0.00908 0.00908 1.70% amrex::Copy() 463 0.007258 0.007258 0.007258 1.36% Castro::computeTemp() 30 0.00689 0.00689 0.00689 1.29% FabArray::norminf() 326 0.006731 0.006731 0.006731 1.26% FabArray::setVal() 537 0.006573 0.006573 0.006573 1.23% FabArray::ParallelCopy_nowait() 380 0.006163 0.006163 0.006163 1.16% MLCellLinOp::defineAuxData() 6 0.005541 0.005541 0.005541 1.04% Gravity::fill_multipole_BCs() 6 0.005539 0.005539 0.005539 1.04% Castro::enforce_min_density() 30 0.005445 0.005445 0.005445 1.02% StateDataPhysBCFunct::() 20 0.005248 0.005248 0.005248 0.98% Amr::restart() 1 0.004824 0.004824 0.004824 0.90% MLPoisson::Fapply() 500 0.00463 0.00463 0.00463 0.87% FabArray::Saxpy() 355 0.003807 0.003807 0.003807 0.71% FabArray::Xpay() 361 0.003656 0.003656 0.003656 0.69% Castro::estTimeStep() 10 0.003168 0.003168 0.003168 0.59% MLMG::addInterpCorrection() 180 0.003087 0.003087 0.003087 0.58% amrex::average_down 180 0.002738 0.002738 0.002738 0.51% BndryData::define() 6 0.002105 0.002105 0.002105 0.39% Castro::reset_internal_energy(MultiFab) 30 0.002071 0.002071 0.002071 0.39% FabArray::LinComb() 242 0.002017 0.002017 0.002017 0.38% amrex::Add() 72 0.001905 0.001905 0.001905 0.36% Castro::construct_new_gravity_source() 5 0.001804 0.001804 0.001804 0.34% Castro::construct_old_gravity_source() 5 0.001511 0.001511 0.001511 0.28% Castro::enforce_speed_limit() 30 0.001211 0.001211 0.001211 0.23% MLCGSolver::bicgstab 36 0.001025 0.001025 0.001025 0.19% check_for_negative_density() 5 0.001015 0.001015 0.001015 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009538 0.0009538 0.0009538 0.18% Gravity::actual_solve_with_mlmg() 6 0.0008566 0.0008566 0.0008566 0.16% MLCellLinOp::setLevelBC() 6 0.000849 0.000849 0.000849 0.16% Castro::reset_internal_energy(Fab) 240 0.0007928 0.0007928 0.0007928 0.15% MLCellLinOp::prepareForSolve() 6 0.0007292 0.0007292 0.0007292 0.14% FabArray::setDomainBndry() 20 0.0006894 0.0006894 0.0006894 0.13% FabArray::mult() 22 0.0006808 0.0006808 0.0006808 0.13% MultiFab::contains_nan() 10 0.0006462 0.0006462 0.0006462 0.12% MLCellLinOp::compGrad() 6 0.0005891 0.0005891 0.0005891 0.11% MLCellLinOp::smooth() 720 0.0005568 0.0005568 0.0005568 0.10% MLMG::prepareForSolve() 6 0.0005564 0.0005564 0.0005564 0.10% Amr::InitAmr() 1 0.0004201 0.0004201 0.0004201 0.08% FabArrayBase::CPC::define() 244 0.0004181 0.0004181 0.0004181 0.08% FabArray::FillBoundary() 1766 0.000378 0.000378 0.000378 0.07% FabArrayBase::getCPC() 632 0.0003641 0.0003641 0.0003641 0.07% Gravity::get_old_grav_vector() 5 0.0003585 0.0003585 0.0003585 0.07% main() 1 0.0003438 0.0003438 0.0003438 0.06% Gravity::get_new_grav_vector() 5 0.000286 0.000286 0.000286 0.05% FabArrayBase::getFB() 1766 0.0002762 0.0002762 0.0002762 0.05% MLCellLinOp::apply() 500 0.0002111 0.0002111 0.0002111 0.04% MultiFab::max() 6 0.0002034 0.0002034 0.0002034 0.04% AmrLevel::FillPatch() 20 0.0001929 0.0001929 0.0001929 0.04% Amr::coarseTimeStep() 5 0.0001719 0.0001719 0.0001719 0.03% MLCellLinOp::defineBC() 6 0.0001338 0.0001338 0.0001338 0.03% MLCGSolver::ParallelAllReduce 659 0.0001328 0.0001328 0.0001328 0.02% FabArray::ParallelCopy() 380 0.0001138 0.0001138 0.0001138 0.02% FillPatchIterator::Initialize 20 0.0001082 0.0001082 0.0001082 0.02% MLCellLinOp::correctionResidual() 216 0.0001054 0.0001054 0.0001054 0.02% Castro::create_source_corrector() 5 0.0001023 0.0001023 0.0001023 0.02% Castro::subcycle_advance_ctu() 5 0.0001011 0.0001011 0.0001011 0.02% Castro::finalize_do_advance() 5 9.337e-05 9.337e-05 9.337e-05 0.02% MLLinOp::defineGrids() 6 8.864e-05 8.864e-05 8.864e-05 0.02% MLMG::mgVcycle() 36 8.829e-05 8.829e-05 8.829e-05 0.02% Amr::timeStep() 5 8.441e-05 8.441e-05 8.441e-05 0.02% Castro::initialize_advance() 5 8.376e-05 8.376e-05 8.376e-05 0.02% AmrLevel::restart() 1 7.943e-05 7.943e-05 7.943e-05 0.01% Gravity::solve_for_phi() 5 7.243e-05 7.243e-05 7.243e-05 0.01% Castro::do_new_sources() 5 7.231e-05 7.231e-05 7.231e-05 0.01% StateData::restartDoit() 4 7.194e-05 7.194e-05 7.194e-05 0.01% Castro::initialize_do_advance() 5 6.666e-05 6.666e-05 6.666e-05 0.01% Castro::do_advance_ctu() 5 6.521e-05 6.521e-05 6.521e-05 0.01% Gravity::update_max_rhs() 6 6.326e-05 6.326e-05 6.326e-05 0.01% FabArrayBase::FB::FB() 26 6.042e-05 6.042e-05 6.042e-05 0.01% Castro::advance() 5 5.755e-05 5.755e-05 5.755e-05 0.01% MLMG:computeResOfCorrection() 180 4.872e-05 4.872e-05 4.872e-05 0.01% Castro::construct_new_source() 25 4.644e-05 4.644e-05 4.644e-05 0.01% MLMG::actualBottomSolve() 36 4.289e-05 4.289e-05 4.289e-05 0.01% MLMG::mgVcycle_down::0 36 4.032e-05 4.032e-05 4.032e-05 0.01% Castro::post_timestep() 5 3.883e-05 3.883e-05 3.883e-05 0.01% MLMG::solve() 6 3.655e-05 3.655e-05 3.655e-05 0.01% MLMG::mgVcycle_down::1 36 3.564e-05 3.564e-05 3.564e-05 0.01% MLMG::mgVcycle_down::2 36 3.414e-05 3.414e-05 3.414e-05 0.01% Amr::writeSmallPlotFile() 1 3.341e-05 3.341e-05 3.341e-05 0.01% MLMG::mgVcycle_down::4 36 3.291e-05 3.291e-05 3.291e-05 0.01% Castro::clean_state() 30 3.284e-05 3.284e-05 3.284e-05 0.01% MLMG::mgVcycle_down::3 36 3.242e-05 3.242e-05 3.242e-05 0.01% Castro::finalize_advance() 5 3.125e-05 3.125e-05 3.125e-05 0.01% Castro::post_restart() 1 3.124e-05 3.124e-05 3.124e-05 0.01% MLMG::mgVcycle_up::4 36 2.785e-05 2.785e-05 2.785e-05 0.01% Castro::buildMetrics() 1 2.759e-05 2.759e-05 2.759e-05 0.01% Castro::construct_old_source() 25 2.688e-05 2.688e-05 2.688e-05 0.01% Castro::swap_state_time_levels() 5 2.594e-05 2.594e-05 2.594e-05 0.00% Castro::initMFs() 1 2.481e-05 2.481e-05 2.481e-05 0.00% MLCellLinOp::solutionResidual() 42 2.355e-05 2.355e-05 2.355e-05 0.00% MLMG::oneIter() 36 2.341e-05 2.341e-05 2.341e-05 0.00% MLMG::mgVcycle_up::3 36 2.206e-05 2.206e-05 2.206e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.202e-05 2.202e-05 2.202e-05 0.00% MLMG::mgVcycle_up::0 36 2.174e-05 2.174e-05 2.174e-05 0.00% MLMG::mgVcycle_up::2 36 2.136e-05 2.136e-05 2.136e-05 0.00% MLMG::mgVcycle_up::1 36 2.079e-05 2.079e-05 2.079e-05 0.00% MLMG::ResNormInf() 42 1.892e-05 1.892e-05 1.892e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.654e-05 1.654e-05 1.654e-05 0.00% FillPatchSingleLevel 20 1.571e-05 1.571e-05 1.571e-05 0.00% MLMG::mgVcycle_bottom 36 1.463e-05 1.463e-05 1.463e-05 0.00% MLPoisson::define() 6 1.395e-05 1.395e-05 1.395e-05 0.00% makeSFC 30 1.385e-05 1.385e-05 1.385e-05 0.00% MLMG::computeResidual() 36 1.356e-05 1.356e-05 1.356e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.338e-05 1.338e-05 1.338e-05 0.00% Castro::do_old_sources() 5 1.28e-05 1.28e-05 1.28e-05 0.00% Castro::construct_new_gravity() 5 1.269e-05 1.269e-05 1.269e-05 0.00% DistributionMapping::Distribute() 31 9.015e-06 9.015e-06 9.015e-06 0.00% Amr::initSubcycle() 1 8.969e-06 8.969e-06 8.969e-06 0.00% MLPoisson::prepareForSolve() 6 8.839e-06 8.839e-06 8.839e-06 0.00% MLMG::computeMLResidual() 6 8.573e-06 8.573e-06 8.573e-06 0.00% Gravity::actual_multilevel_solve() 1 8.427e-06 8.427e-06 8.427e-06 0.00% Castro::check_for_nan() 10 7.159e-06 7.159e-06 7.159e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.885e-06 6.885e-06 6.885e-06 0.00% Castro::construct_old_gravity() 5 6.38e-06 6.38e-06 6.38e-06 0.00% MLLinOp::define() 6 6.071e-06 6.071e-06 6.071e-06 0.00% Castro::apply_source_to_state() 10 5.599e-06 5.599e-06 5.599e-06 0.00% Gravity::swapTimeLevels() 5 4.266e-06 4.266e-06 4.266e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.395e-06 3.395e-06 3.395e-06 0.00% MLMG::getGradSolution() 6 3.383e-06 3.383e-06 3.383e-06 0.00% Castro::computeNewDt() 5 3.178e-06 3.178e-06 3.178e-06 0.00% Castro::expand_state() 5 2.833e-06 2.833e-06 2.833e-06 0.00% MLMG::MLResNormInf() 6 2.315e-06 2.315e-06 2.315e-06 0.00% MLMG::MLRhsNormInf() 6 2.22e-06 2.22e-06 2.22e-06 0.00% Castro::retry_advance_ctu() 5 2.193e-06 2.193e-06 2.193e-06 0.00% Gravity::set_mass_offset() 6 2.064e-06 2.064e-06 2.064e-06 0.00% Castro::FluxRegCrseInit 5 1.481e-06 1.481e-06 1.481e-06 0.00% Castro::FluxRegFineAdd() 5 1.321e-06 1.321e-06 1.321e-06 0.00% Amr::init() 1 1.11e-06 1.11e-06 1.11e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.105e-06 1.105e-06 1.105e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.5333 0.5333 0.5333 100.00% Amr::coarseTimeStep() 5 0.336 0.336 0.336 63.00% Amr::timeStep() 5 0.3338 0.3338 0.3338 62.59% Castro::advance() 5 0.3281 0.3281 0.3281 61.52% Castro::subcycle_advance_ctu() 5 0.321 0.321 0.321 60.20% Castro::do_advance_ctu() 5 0.3209 0.3209 0.3209 60.18% Castro::construct_ctu_hydro_source() 5 0.1501 0.1501 0.1501 28.14% Castro::construct_new_gravity() 5 0.1349 0.1349 0.1349 25.29% Gravity::solve_phi_with_mlmg() 6 0.1323 0.1323 0.1323 24.81% Gravity::solve_for_phi() 5 0.1266 0.1266 0.1266 23.75% Gravity::actual_solve_with_mlmg() 6 0.1265 0.1265 0.1265 23.73% Amr::writePlotFile() 1 0.1244 0.1244 0.1244 23.33% MLMG::solve() 6 0.1147 0.1147 0.1147 21.51% MLMG::oneIter() 36 0.1072 0.1072 0.1072 20.11% MLMG::mgVcycle() 36 0.1057 0.1057 0.1057 19.81% Amr::init() 1 0.07205 0.07205 0.07205 13.51% Amr::restart() 1 0.07205 0.07205 0.07205 13.51% AmrLevel::restart() 1 0.06076 0.06076 0.06076 11.39% StateData::restartDoit() 4 0.06068 0.06068 0.06068 11.38% VisMF::Read() 3 0.06039 0.06039 0.06039 11.33% MLCellLinOp::smooth() 720 0.05141 0.05141 0.05141 9.64% MLCellLinOp::applyBC() 1946 0.04832 0.04832 0.04832 9.06% VisMF::Write(FabArray) 1 0.03597 0.03597 0.03597 6.74% MLMG::mgVcycle_bottom 36 0.03318 0.03318 0.03318 6.22% MLMG::actualBottomSolve() 36 0.03316 0.03316 0.03316 6.22% MLCGSolver::bicgstab 36 0.03285 0.03285 0.03285 6.16% Castro::clean_state() 30 0.0262 0.0262 0.0262 4.91% AmrLevel::FillPatch() 20 0.0231 0.0231 0.0231 4.33% FillPatchIterator::Initialize 20 0.02102 0.02102 0.02102 3.94% FillPatchIterator::FillFromLevel0() 20 0.02022 0.02022 0.02022 3.79% FillPatchSingleLevel 20 0.0202 0.0202 0.0202 3.79% StateDataPhysBCFunct::() 20 0.01812 0.01812 0.01812 3.40% MLCellLinOp::apply() 500 0.01639 0.01639 0.01639 3.07% MLMG::mgVcycle_down::0 36 0.01466 0.01466 0.01466 2.75% MLPoisson::Fsmooth() 1440 0.01435 0.01435 0.01435 2.69% FabArray::FillBoundary() 1766 0.01359 0.01359 0.01359 2.55% FillBoundary_nowait() 1766 0.01322 0.01322 0.01322 2.48% StateData::FillBoundary(geom) 160 0.01288 0.01288 0.01288 2.41% MLMG::mgVcycle_up::0 36 0.01102 0.01102 0.01102 2.07% Castro::initialize_do_advance() 5 0.009865 0.009865 0.009865 1.85% MLCellLinOp::correctionResidual() 216 0.009834 0.009834 0.009834 1.84% Castro::normalize_species() 30 0.009758 0.009758 0.009758 1.83% Castro::computeTemp() 30 0.009754 0.009754 0.009754 1.83% Castro::do_old_sources() 5 0.009518 0.009518 0.009518 1.78% MLPoisson::define() 6 0.009253 0.009253 0.009253 1.74% amrex::Dot() 484 0.00908 0.00908 0.00908 1.70% MLMG:computeResOfCorrection() 180 0.008639 0.008639 0.008639 1.62% Gravity::get_new_grav_vector() 5 0.008095 0.008095 0.008095 1.52% Castro::construct_old_gravity() 5 0.007794 0.007794 0.007794 1.46% Gravity::get_old_grav_vector() 5 0.007788 0.007788 0.007788 1.46% amrex::Copy() 463 0.007258 0.007258 0.007258 1.36% MLMG::mgVcycle_down::1 36 0.007165 0.007165 0.007165 1.34% Castro::do_new_sources() 5 0.007032 0.007032 0.007032 1.32% FabArray::norminf() 326 0.006731 0.006731 0.006731 1.26% Castro::initialize_advance() 5 0.006687 0.006687 0.006687 1.25% FabArray::ParallelCopy() 380 0.006678 0.006678 0.006678 1.25% MLMG::mgVcycle_down::2 36 0.006589 0.006589 0.006589 1.24% FabArray::setVal() 537 0.006573 0.006573 0.006573 1.23% FabArray::ParallelCopy_nowait() 380 0.006564 0.006564 0.006564 1.23% MLMG::mgVcycle_down::3 36 0.006409 0.006409 0.006409 1.20% MLMG::mgVcycle_down::4 36 0.006327 0.006327 0.006327 1.19% MLCellLinOp::defineAuxData() 6 0.006296 0.006296 0.006296 1.18% Castro::post_restart() 1 0.006294 0.006294 0.006294 1.18% Gravity::multilevel_solve_for_new_phi() 1 0.005918 0.005918 0.005918 1.11% Gravity::actual_multilevel_solve() 1 0.005902 0.005902 0.005902 1.11% Castro::expand_state() 5 0.005821 0.005821 0.005821 1.09% Gravity::fill_multipole_BCs() 6 0.005661 0.005661 0.005661 1.06% Castro::post_timestep() 5 0.005634 0.005634 0.005634 1.06% MLCGSolver::ParallelAllReduce 659 0.005507 0.005507 0.005507 1.03% Castro::enforce_min_density() 30 0.005445 0.005445 0.005445 1.02% MLMG::addInterpCorrection() 180 0.005382 0.005382 0.005382 1.01% MLMG::mgVcycle_up::4 36 0.005148 0.005148 0.005148 0.97% MLMG::mgVcycle_up::1 36 0.005107 0.005107 0.005107 0.96% amrex::average_down 180 0.005062 0.005062 0.005062 0.95% MLMG::mgVcycle_up::2 36 0.005037 0.005037 0.005037 0.94% MLMG::mgVcycle_up::3 36 0.004939 0.004939 0.004939 0.93% MLPoisson::Fapply() 500 0.00463 0.00463 0.00463 0.87% FabArray::Saxpy() 355 0.003807 0.003807 0.003807 0.71% FabArray::Xpay() 361 0.003656 0.003656 0.003656 0.69% MLCellLinOp::solutionResidual() 42 0.003537 0.003537 0.003537 0.66% Castro::estTimeStep() 10 0.003168 0.003168 0.003168 0.59% Castro::reset_internal_energy(MultiFab) 30 0.002864 0.002864 0.002864 0.54% MLCellLinOp::defineBC() 6 0.00282 0.00282 0.00282 0.53% MLMG::prepareForSolve() 6 0.002801 0.002801 0.002801 0.53% MLMG::computeResidual() 36 0.002778 0.002778 0.002778 0.52% BndryData::define() 6 0.002686 0.002686 0.002686 0.50% Castro::computeNewDt() 5 0.002024 0.002024 0.002024 0.38% FabArray::LinComb() 242 0.002017 0.002017 0.002017 0.38% amrex::Add() 72 0.001905 0.001905 0.001905 0.36% Castro::construct_new_source() 25 0.00185 0.00185 0.00185 0.35% Castro::construct_new_gravity_source() 5 0.001804 0.001804 0.001804 0.34% Castro::construct_old_source() 25 0.001538 0.001538 0.001538 0.29% Castro::construct_old_gravity_source() 5 0.001511 0.001511 0.001511 0.28% Castro::finalize_do_advance() 5 0.00124 0.00124 0.00124 0.23% Castro::enforce_speed_limit() 30 0.001211 0.001211 0.001211 0.23% check_for_negative_density() 5 0.001015 0.001015 0.001015 0.19% MLMG::ResNormInf() 42 0.0009625 0.0009625 0.0009625 0.18% Castro::apply_source_to_state() 10 0.0009561 0.0009561 0.0009561 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009538 0.0009538 0.0009538 0.18% MLMG::getGradSolution() 6 0.0008676 0.0008676 0.0008676 0.16% MLCellLinOp::compGrad() 6 0.0008643 0.0008643 0.0008643 0.16% MLCellLinOp::setLevelBC() 6 0.000849 0.000849 0.000849 0.16% Castro::reset_internal_energy(Fab) 240 0.0007928 0.0007928 0.0007928 0.15% FabArrayBase::getCPC() 632 0.0007822 0.0007822 0.0007822 0.15% MLMG::computeMLResidual() 6 0.000782 0.000782 0.000782 0.15% MLPoisson::prepareForSolve() 6 0.000738 0.000738 0.000738 0.14% MLCellLinOp::prepareForSolve() 6 0.0007292 0.0007292 0.0007292 0.14% Gravity::update_max_rhs() 6 0.0007066 0.0007066 0.0007066 0.13% FabArray::setDomainBndry() 20 0.0006894 0.0006894 0.0006894 0.13% FabArray::mult() 22 0.0006808 0.0006808 0.0006808 0.13% Castro::check_for_nan() 10 0.0006533 0.0006533 0.0006533 0.12% MultiFab::contains_nan() 10 0.0006462 0.0006462 0.0006462 0.12% Amr::InitAmr() 1 0.0004291 0.0004291 0.0004291 0.08% FabArrayBase::CPC::define() 244 0.0004181 0.0004181 0.0004181 0.08% FabArrayBase::getFB() 1766 0.0003366 0.0003366 0.0003366 0.06% Castro::finalize_advance() 5 0.000298 0.000298 0.000298 0.06% Gravity::swapTimeLevels() 5 0.0002289 0.0002289 0.0002289 0.04% MultiFab::max() 6 0.0002034 0.0002034 0.0002034 0.04% MLMG::MLResNormInf() 6 0.0001912 0.0001912 0.0001912 0.04% Castro::buildMetrics() 1 0.0001476 0.0001476 0.0001476 0.03% MLLinOp::define() 6 0.0001239 0.0001239 0.0001239 0.02% MLMG::MLRhsNormInf() 6 0.0001189 0.0001189 0.0001189 0.02% MLLinOp::defineGrids() 6 0.0001178 0.0001178 0.0001178 0.02% Castro::create_source_corrector() 5 0.0001023 0.0001023 0.0001023 0.02% FabArrayBase::FB::FB() 26 6.042e-05 6.042e-05 6.042e-05 0.01% Amr::writeSmallPlotFile() 1 3.341e-05 3.341e-05 3.341e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.807e-05 2.807e-05 2.807e-05 0.01% Castro::swap_state_time_levels() 5 2.594e-05 2.594e-05 2.594e-05 0.00% Castro::initMFs() 1 2.481e-05 2.481e-05 2.481e-05 0.00% makeSFC 30 2.119e-05 2.119e-05 2.119e-05 0.00% DistributionMapping::Distribute() 31 9.015e-06 9.015e-06 9.015e-06 0.00% Amr::initSubcycle() 1 8.969e-06 8.969e-06 8.969e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.077e-06 5.077e-06 5.077e-06 0.00% Castro::retry_advance_ctu() 5 2.193e-06 2.193e-06 2.193e-06 0.00% Gravity::set_mass_offset() 6 2.064e-06 2.064e-06 2.064e-06 0.00% Castro::FluxRegCrseInit 5 1.481e-06 1.481e-06 1.481e-06 0.00% Castro::FluxRegFineAdd() 5 1.321e-06 1.321e-06 1.321e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.105e-06 1.105e-06 1.105e-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 157 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 124 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 850 KiB 39 MiB Castro::initialize_do_advance() 40 40 23 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1981 KiB 28 MiB Castro::initialize_advance() 40 40 14 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6637 KiB 14 MiB MLMG::prepareForSolve() 361 361 2641 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 151 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 155 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6626 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2633 B 2048 KiB Gravity::solve_for_phi() 40 40 485 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 22 KiB 2048 KiB BndryData::define() 576 576 243 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 156 KiB 671 KiB Castro::estTimeStep() 10 10 2849 B 480 KiB VisMF::Write(FabArray) 112 112 1956 B 320 KiB Castro::normalize_species() 30 30 5959 B 320 KiB amrex::average_down 469 469 975 B 257 KiB MLMG::addInterpCorrection() 468 468 854 B 257 KiB amrex::Dot() 592 592 2503 B 160 KiB FabArray::norminf() 398 398 1870 B 160 KiB check_for_negative_density() 5 5 281 B 160 KiB MultiFab::max() 6 6 59 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 24 B 20 KiB MLPoisson::Fsmooth() 60 60 2561 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 36 B 10 KiB FillBoundary_nowait() 336 336 209 B 9648 B MLCellLinOp::applyBC() 3892 3892 165 B 9344 B amrex::Copy() 56 56 5634 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 33 B 2304 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 89 B 1472 B MLCellLinOp::defineBC() 36 36 273 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 955 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 68 KiB 8192 KiB VisMF::Write(FabArray) 120 120 195 KiB 3584 KiB VisMF::Read() 24 24 170 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2561 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 36 B 10 KiB FillBoundary_nowait() 336 336 209 B 9648 B MLCellLinOp::applyBC() 1946 1946 164 B 9328 B amrex::Copy() 56 56 5634 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2619 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 33 B 2304 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 455 B 1296 B amrex::average_down 37 37 223 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 18 B 400 B FabArray::norminf() 398 398 13 B 272 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): 2528 [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.11-3-g606a94c69d64) finalized