Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-14-g7ee29121ed70) initialized Starting run at 07:50:32 UTC on 2023-10-17. Successfully read inputs file ... Castro git describe: 23.10-36-g466e5a562 AMReX git describe: 23.10-14-g7ee29121e Microphysics git describe: 23.10-10-g8b2c4854 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.050779498 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028386443 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.051079137 [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.067529649 [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.074586871 [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.065606605 [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.058917549 [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.049380275 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.051380488 [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.084708299 [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.081417551 [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.048438573 [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.053181794 [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.049009857 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.029363306 seconds Ending run at 07:50:33 UTC on 2023-10-17. Run time = 0.895834664 Run time without initialization = 0.765289495 Average number of zones advanced per microsecond: 3.425 Average number of zones advanced per microsecond per rank: 3.425 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8959 ... 0.8959 ... 0.8959 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2651 0.2651 0.2651 29.60% VisMF::Write(FabArray) 11 0.199 0.199 0.199 22.21% MLCellLinOp::applyBC() 4379 0.07696 0.07696 0.07696 8.59% MLPoisson::Fsmooth() 3240 0.03253 0.03253 0.03253 3.63% FillBoundary_nowait() 3974 0.03039 0.03039 0.03039 3.39% StateData::FillBoundary(geom) 328 0.02615 0.02615 0.02615 2.92% amrex::Dot() 1100 0.02082 0.02082 0.02082 2.32% Castro::normalize_species() 62 0.02011 0.02011 0.02011 2.24% Castro::computeTemp() 63 0.01588 0.01588 0.01588 1.77% amrex::Copy() 1019 0.01499 0.01499 0.01499 1.67% FabArray::norminf() 734 0.01454 0.01454 0.01454 1.62% FabArray::setVal() 1135 0.01339 0.01339 0.01339 1.49% FabArray::ParallelCopy_nowait() 851 0.01327 0.01327 0.01327 1.48% StateDataPhysBCFunct::() 41 0.01161 0.01161 0.01161 1.30% Castro::enforce_min_density() 62 0.01042 0.01042 0.01042 1.16% MLPoisson::Fapply() 1128 0.01041 0.01041 0.01041 1.16% MLCellLinOp::defineAuxData() 11 0.01014 0.01014 0.01014 1.13% Gravity::fill_multipole_BCs() 11 0.009236 0.009236 0.009236 1.03% FabArray::Saxpy() 803 0.008286 0.008286 0.008286 0.92% FabArray::Xpay() 811 0.008144 0.008144 0.008144 0.91% MLMG::addInterpCorrection() 405 0.006748 0.006748 0.006748 0.75% amrex::average_down 405 0.006097 0.006097 0.006097 0.68% Castro::estTimeStep() 21 0.005577 0.005577 0.005577 0.62% Amr::checkPoint() 3 0.005175 0.005175 0.005175 0.58% Castro::reset_internal_energy(MultiFab) 63 0.004869 0.004869 0.004869 0.54% FabArray::LinComb() 550 0.004556 0.004556 0.004556 0.51% amrex::Add() 162 0.004359 0.004359 0.004359 0.49% BndryData::define() 11 0.003835 0.003835 0.003835 0.43% Castro::construct_new_gravity_source() 10 0.003326 0.003326 0.003326 0.37% Castro::enforce_speed_limit() 62 0.003006 0.003006 0.003006 0.34% Castro::construct_old_gravity_source() 10 0.002909 0.002909 0.002909 0.32% Amr::writePlotFile() 2 0.002313 0.002313 0.002313 0.26% MLCGSolver::bicgstab 81 0.002245 0.002245 0.002245 0.25% check_for_negative_density() 10 0.001838 0.001838 0.001838 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001748 0.001748 0.001748 0.20% Castro::reset_internal_energy(Fab) 504 0.001663 0.001663 0.001663 0.19% Gravity::actual_solve_with_mlmg() 11 0.001549 0.001549 0.001549 0.17% MLCellLinOp::setLevelBC() 11 0.001469 0.001469 0.001469 0.16% Castro::initData() 1 0.001458 0.001458 0.001458 0.16% FabArray::mult() 43 0.001349 0.001349 0.001349 0.15% FabArray::setDomainBndry() 41 0.001334 0.001334 0.001334 0.15% MLCellLinOp::prepareForSolve() 11 0.001306 0.001306 0.001306 0.15% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.14% MLCellLinOp::smooth() 1620 0.00113 0.00113 0.00113 0.13% MLCellLinOp::compGrad() 11 0.001046 0.001046 0.001046 0.12% MLMG::prepareForSolve() 11 0.0009723 0.0009723 0.0009723 0.11% FabArrayBase::getCPC() 1313 0.0007747 0.0007747 0.0007747 0.09% FabArray::FillBoundary() 3974 0.0007734 0.0007734 0.0007734 0.09% FabArrayBase::getFB() 3974 0.0006509 0.0006509 0.0006509 0.07% FabArrayBase::CPC::define() 454 0.0006456 0.0006456 0.0006456 0.07% Gravity::get_new_grav_vector() 11 0.0005965 0.0005965 0.0005965 0.07% Amr::InitAmr() 1 0.0004966 0.0004966 0.0004966 0.06% Gravity::get_old_grav_vector() 10 0.0004754 0.0004754 0.0004754 0.05% MLCellLinOp::apply() 1128 0.0004599 0.0004599 0.0004599 0.05% Amr::coarseTimeStep() 10 0.0003585 0.0003585 0.0003585 0.04% AmrLevel::FillPatch() 41 0.0003265 0.0003265 0.0003265 0.04% MultiFab::max() 11 0.0003224 0.0003224 0.0003224 0.04% main() 1 0.0002964 0.0002964 0.0002964 0.03% MLCGSolver::ParallelAllReduce 1495 0.0002657 0.0002657 0.0002657 0.03% FabArray::ParallelCopy() 851 0.0002383 0.0002383 0.0002383 0.03% MLCellLinOp::correctionResidual() 486 0.0002304 0.0002304 0.0002304 0.03% MLCellLinOp::defineBC() 11 0.0002171 0.0002171 0.0002171 0.02% FillPatchIterator::Initialize 41 0.0002161 0.0002161 0.0002161 0.02% MLMG::mgVcycle() 81 0.0002106 0.0002106 0.0002106 0.02% Castro::subcycle_advance_ctu() 10 0.0001668 0.0001668 0.0001668 0.02% MLLinOp::defineGrids() 11 0.0001569 0.0001569 0.0001569 0.02% Gravity::solve_for_phi() 10 0.0001545 0.0001545 0.0001545 0.02% Amr::timeStep() 10 0.0001485 0.0001485 0.0001485 0.02% Castro::create_source_corrector() 10 0.000138 0.000138 0.000138 0.02% Gravity::update_max_rhs() 11 0.0001316 0.0001316 0.0001316 0.01% StateData::checkPoint() 12 0.0001174 0.0001174 0.0001174 0.01% MLMG:computeResOfCorrection() 405 0.000113 0.000113 0.000113 0.01% Castro::Castro() 1 0.000105 0.000105 0.000105 0.01% FabArrayBase::FB::FB() 56 9.03e-05 9.03e-05 9.03e-05 0.01% Castro::advance() 10 8.662e-05 8.662e-05 8.662e-05 0.01% MLMG::mgVcycle_down::0 81 8.501e-05 8.501e-05 8.501e-05 0.01% MLMG::actualBottomSolve() 81 8.418e-05 8.418e-05 8.418e-05 0.01% Castro::initialize_advance() 10 7.646e-05 7.646e-05 7.646e-05 0.01% MLMG::mgVcycle_down::1 81 7.434e-05 7.434e-05 7.434e-05 0.01% MLMG::mgVcycle_down::2 81 7.308e-05 7.308e-05 7.308e-05 0.01% Castro::clean_state() 62 7.135e-05 7.135e-05 7.135e-05 0.01% MLMG::mgVcycle_down::4 81 7.107e-05 7.107e-05 7.107e-05 0.01% MLMG::solve() 11 7.052e-05 7.052e-05 7.052e-05 0.01% Castro::construct_new_source() 50 7.038e-05 7.038e-05 7.038e-05 0.01% Castro::enforce_consistent_e() 1 6.814e-05 6.814e-05 6.814e-05 0.01% MLMG::mgVcycle_down::3 81 6.734e-05 6.734e-05 6.734e-05 0.01% AmrLevel::checkPoint() 3 6.528e-05 6.528e-05 6.528e-05 0.01% Castro::finalize_advance() 10 6.015e-05 6.015e-05 6.015e-05 0.01% MLMG::mgVcycle_up::4 81 5.879e-05 5.879e-05 5.879e-05 0.01% Castro::initialize_do_advance() 10 5.85e-05 5.85e-05 5.85e-05 0.01% MLMG::mgVcycle_up::0 81 5.244e-05 5.244e-05 5.244e-05 0.01% MLMG::oneIter() 81 5.215e-05 5.215e-05 5.215e-05 0.01% MLCellLinOp::solutionResidual() 92 4.95e-05 4.95e-05 4.95e-05 0.01% MLMG::mgVcycle_up::3 81 4.839e-05 4.839e-05 4.839e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.822e-05 4.822e-05 4.822e-05 0.01% MLMG::mgVcycle_up::2 81 4.669e-05 4.669e-05 4.669e-05 0.01% Castro::do_new_sources() 10 4.633e-05 4.633e-05 4.633e-05 0.01% MLMG::mgVcycle_up::1 81 4.616e-05 4.616e-05 4.616e-05 0.01% Castro::do_advance_ctu() 10 4.573e-05 4.573e-05 4.573e-05 0.01% Castro::finalize_do_advance() 10 4.277e-05 4.277e-05 4.277e-05 0.00% StateData::define() 4 4.052e-05 4.052e-05 4.052e-05 0.00% Castro::post_timestep() 10 3.862e-05 3.862e-05 3.862e-05 0.00% Castro::swap_state_time_levels() 10 3.567e-05 3.567e-05 3.567e-05 0.00% FillPatchSingleLevel 41 3.464e-05 3.464e-05 3.464e-05 0.00% MLMG::ResNormInf() 92 3.335e-05 3.335e-05 3.335e-05 0.00% MLMG::mgVcycle_bottom 81 3.313e-05 3.313e-05 3.313e-05 0.00% Castro::initMFs() 1 3.181e-05 3.181e-05 3.181e-05 0.00% Amr::defBaseLevel() 1 3.16e-05 3.16e-05 3.16e-05 0.00% MLMG::computeResidual() 81 3.046e-05 3.046e-05 3.046e-05 0.00% Amr::writeSmallPlotFile() 1 3.016e-05 3.016e-05 3.016e-05 0.00% Castro::buildMetrics() 1 2.988e-05 2.988e-05 2.988e-05 0.00% Amr::FinalizeInit() 1 2.734e-05 2.734e-05 2.734e-05 0.00% Castro::construct_new_gravity() 10 2.445e-05 2.445e-05 2.445e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.365e-05 2.365e-05 2.365e-05 0.00% makeSFC 55 2.36e-05 2.36e-05 2.36e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.182e-05 2.182e-05 2.182e-05 0.00% Castro::do_old_sources() 10 2.099e-05 2.099e-05 2.099e-05 0.00% MLPoisson::define() 11 2.074e-05 2.074e-05 2.074e-05 0.00% Castro::construct_old_source() 50 1.847e-05 1.847e-05 1.847e-05 0.00% DistributionMapping::Distribute() 56 1.569e-05 1.569e-05 1.569e-05 0.00% MLLinOp::define() 11 1.494e-05 1.494e-05 1.494e-05 0.00% Castro::check_for_nan() 20 1.316e-05 1.316e-05 1.316e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.237e-05 1.237e-05 1.237e-05 0.00% Castro::construct_old_gravity() 10 1.163e-05 1.163e-05 1.163e-05 0.00% Castro::apply_source_to_state() 20 1.104e-05 1.104e-05 1.104e-05 0.00% Amr::initSubcycle() 1 1.04e-05 1.04e-05 1.04e-05 0.00% Castro::post_init() 1 1.036e-05 1.036e-05 1.036e-05 0.00% Gravity::swapTimeLevels() 10 8.796e-06 8.796e-06 8.796e-06 0.00% AmrLevel::AmrLevel(dm) 1 8.495e-06 8.495e-06 8.495e-06 0.00% MLMG::computeMLResidual() 11 8.455e-06 8.455e-06 8.455e-06 0.00% Gravity::actual_multilevel_solve() 1 7.882e-06 7.882e-06 7.882e-06 0.00% MLPoisson::prepareForSolve() 11 7.65e-06 7.65e-06 7.65e-06 0.00% Castro::computeNewDt() 9 6.529e-06 6.529e-06 6.529e-06 0.00% Castro::expand_state() 10 5.51e-06 5.51e-06 5.51e-06 0.00% MLMG::getGradSolution() 11 5.286e-06 5.286e-06 5.286e-06 0.00% Amr::InitializeInit() 1 4.848e-06 4.848e-06 4.848e-06 0.00% AmrLevel::checkPointPost() 3 4.658e-06 4.658e-06 4.658e-06 0.00% MLMG::MLRhsNormInf() 11 4.227e-06 4.227e-06 4.227e-06 0.00% Castro::retry_advance_ctu() 10 4.191e-06 4.191e-06 4.191e-06 0.00% Gravity::set_mass_offset() 11 3.907e-06 3.907e-06 3.907e-06 0.00% MLMG::MLResNormInf() 11 3.561e-06 3.561e-06 3.561e-06 0.00% Castro::computeInitialDt() 2 3.502e-06 3.502e-06 3.502e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.189e-06 3.189e-06 3.189e-06 0.00% Castro::FluxRegCrseInit 10 2.766e-06 2.766e-06 2.766e-06 0.00% Amr::init() 1 2.57e-06 2.57e-06 2.57e-06 0.00% Castro::FluxRegFineAdd() 10 2.219e-06 2.219e-06 2.219e-06 0.00% AmrLevel::checkPointPre() 3 2.169e-06 2.169e-06 2.169e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.938e-06 1.938e-06 1.938e-06 0.00% Castro::post_regrid() 1 1.411e-06 1.411e-06 1.411e-06 0.00% Amr::initialInit() 1 9.57e-07 9.57e-07 9.57e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8958 0.8958 0.8958 100.00% Amr::coarseTimeStep() 10 0.7357 0.7357 0.7357 82.12% Amr::timeStep() 10 0.6337 0.6337 0.6337 70.73% Castro::advance() 10 0.6235 0.6235 0.6235 69.60% Castro::subcycle_advance_ctu() 10 0.6101 0.6101 0.6101 68.11% Castro::do_advance_ctu() 10 0.61 0.61 0.61 68.09% Gravity::solve_phi_with_mlmg() 11 0.2876 0.2876 0.2876 32.10% Gravity::actual_solve_with_mlmg() 11 0.2779 0.2779 0.2779 31.02% Castro::construct_ctu_hydro_source() 10 0.2768 0.2768 0.2768 30.90% Castro::construct_new_gravity() 10 0.2622 0.2622 0.2622 29.27% MLMG::solve() 11 0.2565 0.2565 0.2565 28.63% Gravity::solve_for_phi() 10 0.2463 0.2463 0.2463 27.49% MLMG::oneIter() 81 0.2416 0.2416 0.2416 26.97% MLMG::mgVcycle() 81 0.238 0.238 0.238 26.57% VisMF::Write(FabArray) 11 0.199 0.199 0.199 22.21% Amr::checkPoint() 3 0.1493 0.1493 0.1493 16.67% AmrLevel::checkPoint() 3 0.1441 0.1441 0.1441 16.09% StateData::checkPoint() 12 0.1441 0.1441 0.1441 16.08% Amr::init() 1 0.1299 0.1299 0.1299 14.50% MLCellLinOp::smooth() 1620 0.1164 0.1164 0.1164 13.00% MLCellLinOp::applyBC() 4379 0.1089 0.1089 0.1089 12.15% MLMG::mgVcycle_bottom 81 0.07444 0.07444 0.07444 8.31% MLMG::actualBottomSolve() 81 0.07441 0.07441 0.07441 8.31% MLCGSolver::bicgstab 81 0.0737 0.0737 0.0737 8.23% Amr::writePlotFile() 2 0.0579 0.0579 0.0579 6.46% Castro::clean_state() 62 0.05514 0.05514 0.05514 6.16% Amr::initialInit() 1 0.05062 0.05062 0.05062 5.65% AmrLevel::FillPatch() 41 0.04758 0.04758 0.04758 5.31% Amr::FinalizeInit() 1 0.04566 0.04566 0.04566 5.10% Castro::post_init() 1 0.04421 0.04421 0.04421 4.93% FillPatchIterator::Initialize 41 0.04341 0.04341 0.04341 4.85% FillPatchIterator::FillFromLevel0() 41 0.04186 0.04186 0.04186 4.67% FillPatchSingleLevel 41 0.04181 0.04181 0.04181 4.67% Gravity::multilevel_solve_for_new_phi() 1 0.04177 0.04177 0.04177 4.66% Gravity::actual_multilevel_solve() 1 0.04174 0.04174 0.04174 4.66% StateDataPhysBCFunct::() 41 0.03776 0.03776 0.03776 4.22% MLCellLinOp::apply() 1128 0.03647 0.03647 0.03647 4.07% MLMG::mgVcycle_down::0 81 0.03336 0.03336 0.03336 3.72% MLPoisson::Fsmooth() 3240 0.03253 0.03253 0.03253 3.63% FabArray::FillBoundary() 3974 0.03191 0.03191 0.03191 3.56% FillBoundary_nowait() 3974 0.03113 0.03113 0.03113 3.48% StateData::FillBoundary(geom) 328 0.02615 0.02615 0.02615 2.92% MLMG::mgVcycle_up::0 81 0.02514 0.02514 0.02514 2.81% Castro::computeTemp() 63 0.02241 0.02241 0.02241 2.50% MLCellLinOp::correctionResidual() 486 0.02218 0.02218 0.02218 2.48% Castro::initialize_do_advance() 10 0.02136 0.02136 0.02136 2.38% amrex::Dot() 1100 0.02082 0.02082 0.02082 2.32% Castro::normalize_species() 62 0.02011 0.02011 0.02011 2.24% MLMG:computeResOfCorrection() 405 0.01953 0.01953 0.01953 2.18% Castro::do_old_sources() 10 0.0194 0.0194 0.0194 2.17% Gravity::get_new_grav_vector() 11 0.01793 0.01793 0.01793 2.00% MLPoisson::define() 11 0.01681 0.01681 0.01681 1.88% MLMG::mgVcycle_down::1 81 0.016 0.016 0.016 1.79% Castro::construct_old_gravity() 10 0.01509 0.01509 0.01509 1.68% Gravity::get_old_grav_vector() 10 0.01508 0.01508 0.01508 1.68% amrex::Copy() 1019 0.01499 0.01499 0.01499 1.67% MLMG::mgVcycle_down::2 81 0.01485 0.01485 0.01485 1.66% FabArray::norminf() 734 0.01454 0.01454 0.01454 1.62% MLMG::mgVcycle_down::3 81 0.01444 0.01444 0.01444 1.61% FabArray::ParallelCopy() 851 0.01431 0.01431 0.01431 1.60% MLMG::mgVcycle_down::4 81 0.01425 0.01425 0.01425 1.59% FabArray::ParallelCopy_nowait() 851 0.01407 0.01407 0.01407 1.57% FabArray::setVal() 1135 0.01339 0.01339 0.01339 1.49% Castro::initialize_advance() 10 0.01272 0.01272 0.01272 1.42% MLCGSolver::ParallelAllReduce 1495 0.01244 0.01244 0.01244 1.39% Castro::do_new_sources() 10 0.01192 0.01192 0.01192 1.33% MLMG::addInterpCorrection() 405 0.01186 0.01186 0.01186 1.32% Castro::expand_state() 10 0.0117 0.0117 0.0117 1.31% MLMG::mgVcycle_up::1 81 0.01157 0.01157 0.01157 1.29% MLCellLinOp::defineAuxData() 11 0.01152 0.01152 0.01152 1.29% MLMG::mgVcycle_up::4 81 0.01148 0.01148 0.01148 1.28% amrex::average_down 405 0.01128 0.01128 0.01128 1.26% MLMG::mgVcycle_up::2 81 0.01125 0.01125 0.01125 1.26% MLMG::mgVcycle_up::3 81 0.01102 0.01102 0.01102 1.23% Castro::enforce_min_density() 62 0.01042 0.01042 0.01042 1.16% MLPoisson::Fapply() 1128 0.01041 0.01041 0.01041 1.16% Castro::post_timestep() 10 0.009975 0.009975 0.009975 1.11% Gravity::fill_multipole_BCs() 11 0.009477 0.009477 0.009477 1.06% FabArray::Saxpy() 803 0.008286 0.008286 0.008286 0.92% FabArray::Xpay() 811 0.008144 0.008144 0.008144 0.91% MLCellLinOp::solutionResidual() 92 0.007387 0.007387 0.007387 0.82% Castro::reset_internal_energy(MultiFab) 63 0.006532 0.006532 0.006532 0.73% MLMG::computeResidual() 81 0.006128 0.006128 0.006128 0.68% Castro::estTimeStep() 21 0.005577 0.005577 0.005577 0.62% MLMG::prepareForSolve() 11 0.00505 0.00505 0.00505 0.56% MLCellLinOp::defineBC() 11 0.005047 0.005047 0.005047 0.56% Amr::InitializeInit() 1 0.004957 0.004957 0.004957 0.55% Amr::defBaseLevel() 1 0.004952 0.004952 0.004952 0.55% BndryData::define() 11 0.00483 0.00483 0.00483 0.54% FabArray::LinComb() 550 0.004556 0.004556 0.004556 0.51% amrex::Add() 162 0.004359 0.004359 0.004359 0.49% Castro::initData() 1 0.004278 0.004278 0.004278 0.48% Castro::construct_new_source() 50 0.003397 0.003397 0.003397 0.38% Castro::construct_new_gravity_source() 10 0.003326 0.003326 0.003326 0.37% Castro::enforce_speed_limit() 62 0.003006 0.003006 0.003006 0.34% Castro::construct_old_source() 50 0.002928 0.002928 0.002928 0.33% Castro::construct_old_gravity_source() 10 0.002909 0.002909 0.002909 0.32% Castro::computeNewDt() 9 0.002382 0.002382 0.002382 0.27% Castro::finalize_do_advance() 10 0.00217 0.00217 0.00217 0.24% MLMG::ResNormInf() 92 0.002145 0.002145 0.002145 0.24% Castro::apply_source_to_state() 20 0.001861 0.001861 0.001861 0.21% check_for_negative_density() 10 0.001838 0.001838 0.001838 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001748 0.001748 0.001748 0.20% Castro::reset_internal_energy(Fab) 504 0.001663 0.001663 0.001663 0.19% MLMG::getGradSolution() 11 0.001531 0.001531 0.001531 0.17% MLCellLinOp::compGrad() 11 0.001525 0.001525 0.001525 0.17% MLCellLinOp::setLevelBC() 11 0.001469 0.001469 0.001469 0.16% FabArrayBase::getCPC() 1313 0.00142 0.00142 0.00142 0.16% FabArray::mult() 43 0.001349 0.001349 0.001349 0.15% FabArray::setDomainBndry() 41 0.001334 0.001334 0.001334 0.15% MLPoisson::prepareForSolve() 11 0.001314 0.001314 0.001314 0.15% MLCellLinOp::prepareForSolve() 11 0.001306 0.001306 0.001306 0.15% MLMG::computeMLResidual() 11 0.001298 0.001298 0.001298 0.14% Castro::check_for_nan() 20 0.001281 0.001281 0.001281 0.14% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.14% Castro::post_regrid() 1 0.001137 0.001137 0.001137 0.13% Castro::computeInitialDt() 2 0.001079 0.001079 0.001079 0.12% Gravity::update_max_rhs() 11 0.0009822 0.0009822 0.0009822 0.11% FabArrayBase::getFB() 3974 0.0007412 0.0007412 0.0007412 0.08% FabArrayBase::CPC::define() 454 0.0006456 0.0006456 0.0006456 0.07% Castro::Castro() 1 0.0005885 0.0005885 0.0005885 0.07% Castro::finalize_advance() 10 0.0005846 0.0005846 0.0005846 0.07% Amr::InitAmr() 1 0.000507 0.000507 0.000507 0.06% Gravity::swapTimeLevels() 10 0.000441 0.000441 0.000441 0.05% MLMG::MLResNormInf() 11 0.00033 0.00033 0.00033 0.04% MultiFab::max() 11 0.0003224 0.0003224 0.0003224 0.04% Castro::buildMetrics() 1 0.0002802 0.0002802 0.0002802 0.03% MLLinOp::define() 11 0.0002243 0.0002243 0.0002243 0.03% MLMG::MLRhsNormInf() 11 0.0002235 0.0002235 0.0002235 0.02% MLLinOp::defineGrids() 11 0.0002093 0.0002093 0.0002093 0.02% Castro::create_source_corrector() 10 0.000138 0.000138 0.000138 0.02% FabArrayBase::FB::FB() 56 9.03e-05 9.03e-05 9.03e-05 0.01% Castro::enforce_consistent_e() 1 6.814e-05 6.814e-05 6.814e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.046e-05 5.046e-05 5.046e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.902e-05 4.902e-05 4.902e-05 0.01% StateData::define() 4 4.052e-05 4.052e-05 4.052e-05 0.00% makeSFC 55 3.809e-05 3.809e-05 3.809e-05 0.00% Castro::swap_state_time_levels() 10 3.567e-05 3.567e-05 3.567e-05 0.00% Castro::initMFs() 1 3.181e-05 3.181e-05 3.181e-05 0.00% Amr::writeSmallPlotFile() 1 3.016e-05 3.016e-05 3.016e-05 0.00% DistributionMapping::Distribute() 56 1.569e-05 1.569e-05 1.569e-05 0.00% Amr::initSubcycle() 1 1.04e-05 1.04e-05 1.04e-05 0.00% AmrLevel::checkPointPost() 3 4.658e-06 4.658e-06 4.658e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.388e-06 4.388e-06 4.388e-06 0.00% Castro::retry_advance_ctu() 10 4.191e-06 4.191e-06 4.191e-06 0.00% Gravity::set_mass_offset() 11 3.907e-06 3.907e-06 3.907e-06 0.00% Castro::FluxRegCrseInit 10 2.766e-06 2.766e-06 2.766e-06 0.00% Castro::FluxRegFineAdd() 10 2.219e-06 2.219e-06 2.219e-06 0.00% AmrLevel::checkPointPre() 3 2.169e-06 2.169e-06 2.169e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.938e-06 1.938e-06 1.938e-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 142 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 139 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 1032 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1809 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3521 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2108 B 2048 KiB Gravity::solve_for_phi() 80 80 562 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3035 B 480 KiB VisMF::Write(FabArray) 656 656 3431 B 320 KiB Castro::normalize_species() 62 62 7310 B 320 KiB amrex::average_down 1054 1054 1255 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1133 B 257 KiB amrex::Dot() 1343 1343 3420 B 160 KiB FabArray::norminf() 896 896 2398 B 160 KiB check_for_negative_density() 10 10 315 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3437 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 297 B 9648 B MLCellLinOp::applyBC() 8758 8758 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3917 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 119 B 1472 B MLCellLinOp::defineBC() 66 66 362 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 578 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 507 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3437 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 297 B 9648 B MLCellLinOp::applyBC() 4379 4379 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3917 B 6144 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 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 293 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 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): 2541 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.10-14-g7ee29121ed70) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-14-g7ee29121ed70) initialized Starting run at 07:50:33 UTC on 2023-10-17. Successfully read inputs file ... Castro git describe: 23.10-36-g466e5a562 AMReX git describe: 23.10-14-g7ee29121e Microphysics git describe: 23.10-10-g8b2c4854 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.497684425 Restart time = 0.071448845 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.052885188 [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.047983741 [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.0506883 [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.0815741 [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.082228664 [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.029108152 seconds Ending run at 07:50:34 UTC on 2023-10-17. Run time = 0.417003916 Run time without initialization = 0.344935607 Average number of zones advanced per microsecond: 3.800 Average number of zones advanced per microsecond per rank: 3.800 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.417 ... 0.417 ... 0.417 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1266 0.1266 0.1266 30.35% VisMF::Read() 3 0.05999 0.05999 0.05999 14.38% MLCellLinOp::applyBC() 1946 0.03372 0.03372 0.03372 8.09% VisMF::Write(FabArray) 1 0.02758 0.02758 0.02758 6.61% MLPoisson::Fsmooth() 1440 0.01412 0.01412 0.01412 3.39% FillBoundary_nowait() 1766 0.0128 0.0128 0.0128 3.07% StateData::FillBoundary(geom) 160 0.01267 0.01267 0.01267 3.04% amrex::Dot() 484 0.009024 0.009024 0.009024 2.16% Castro::normalize_species() 30 0.008761 0.008761 0.008761 2.10% amrex::Copy() 463 0.007168 0.007168 0.007168 1.72% Castro::computeTemp() 30 0.007064 0.007064 0.007064 1.69% FabArray::setVal() 537 0.006523 0.006523 0.006523 1.56% FabArray::norminf() 326 0.006402 0.006402 0.006402 1.54% FabArray::ParallelCopy_nowait() 380 0.006034 0.006034 0.006034 1.45% Castro::enforce_min_density() 30 0.00577 0.00577 0.00577 1.38% Gravity::fill_multipole_BCs() 6 0.005546 0.005546 0.005546 1.33% MLCellLinOp::defineAuxData() 6 0.005431 0.005431 0.005431 1.30% StateDataPhysBCFunct::() 20 0.005045 0.005045 0.005045 1.21% Amr::restart() 1 0.004782 0.004782 0.004782 1.15% MLPoisson::Fapply() 500 0.004552 0.004552 0.004552 1.09% FabArray::Saxpy() 355 0.003736 0.003736 0.003736 0.90% FabArray::Xpay() 361 0.003593 0.003593 0.003593 0.86% Castro::estTimeStep() 10 0.003208 0.003208 0.003208 0.77% MLMG::addInterpCorrection() 180 0.00301 0.00301 0.00301 0.72% amrex::average_down 180 0.00268 0.00268 0.00268 0.64% Castro::enforce_speed_limit() 30 0.002571 0.002571 0.002571 0.62% FabArray::LinComb() 242 0.002248 0.002248 0.002248 0.54% BndryData::define() 6 0.002124 0.002124 0.002124 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002052 0.002052 0.002052 0.49% amrex::Add() 72 0.001883 0.001883 0.001883 0.45% Castro::construct_new_gravity_source() 5 0.001761 0.001761 0.001761 0.42% Castro::construct_old_gravity_source() 5 0.0015 0.0015 0.0015 0.36% Amr::writePlotFile() 1 0.001363 0.001363 0.001363 0.33% MLCGSolver::bicgstab 36 0.001015 0.001015 0.001015 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009541 0.0009541 0.0009541 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008282 0.0008282 0.0008282 0.20% MLCellLinOp::setLevelBC() 6 0.0008262 0.0008262 0.0008262 0.20% Castro::reset_internal_energy(Fab) 240 0.0007531 0.0007531 0.0007531 0.18% check_for_negative_density() 5 0.0007517 0.0007517 0.0007517 0.18% MLCellLinOp::prepareForSolve() 6 0.0007075 0.0007075 0.0007075 0.17% FabArray::mult() 22 0.0006837 0.0006837 0.0006837 0.16% FabArray::setDomainBndry() 20 0.0006703 0.0006703 0.0006703 0.16% MultiFab::contains_nan() 10 0.0006546 0.0006546 0.0006546 0.16% MLCellLinOp::compGrad() 6 0.0005831 0.0005831 0.0005831 0.14% MLMG::prepareForSolve() 6 0.0005313 0.0005313 0.0005313 0.13% MLCellLinOp::smooth() 720 0.000499 0.000499 0.000499 0.12% FabArrayBase::CPC::define() 244 0.0004164 0.0004164 0.0004164 0.10% Amr::InitAmr() 1 0.0004022 0.0004022 0.0004022 0.10% FabArrayBase::getCPC() 632 0.0003731 0.0003731 0.0003731 0.09% FabArray::FillBoundary() 1766 0.0003488 0.0003488 0.0003488 0.08% Gravity::get_old_grav_vector() 5 0.000318 0.000318 0.000318 0.08% FabArrayBase::getFB() 1766 0.0002891 0.0002891 0.0002891 0.07% main() 1 0.0002806 0.0002806 0.0002806 0.07% Gravity::get_new_grav_vector() 5 0.0002599 0.0002599 0.0002599 0.06% Amr::coarseTimeStep() 5 0.0002309 0.0002309 0.0002309 0.06% MLCellLinOp::apply() 500 0.0002045 0.0002045 0.0002045 0.05% MultiFab::max() 6 0.0002044 0.0002044 0.0002044 0.05% AmrLevel::FillPatch() 20 0.0001606 0.0001606 0.0001606 0.04% Castro::subcycle_advance_ctu() 5 0.0001484 0.0001484 0.0001484 0.04% MLCGSolver::ParallelAllReduce 659 0.000123 0.000123 0.000123 0.03% MLCellLinOp::defineBC() 6 0.0001171 0.0001171 0.0001171 0.03% FabArray::ParallelCopy() 380 0.0001132 0.0001132 0.0001132 0.03% FillPatchIterator::Initialize 20 0.0001057 0.0001057 0.0001057 0.03% MLCellLinOp::correctionResidual() 216 0.0001024 0.0001024 0.0001024 0.02% MLLinOp::defineGrids() 6 9.547e-05 9.547e-05 9.547e-05 0.02% MLMG::mgVcycle() 36 9.233e-05 9.233e-05 9.233e-05 0.02% Castro::do_new_sources() 5 8.786e-05 8.786e-05 8.786e-05 0.02% Castro::create_source_corrector() 5 8.323e-05 8.323e-05 8.323e-05 0.02% Amr::timeStep() 5 7.944e-05 7.944e-05 7.944e-05 0.02% Castro::advance() 5 7.847e-05 7.847e-05 7.847e-05 0.02% Gravity::update_max_rhs() 6 7.019e-05 7.019e-05 7.019e-05 0.02% Castro::finalize_do_advance() 5 7.013e-05 7.013e-05 7.013e-05 0.02% Gravity::solve_for_phi() 5 6.887e-05 6.887e-05 6.887e-05 0.02% AmrLevel::restart() 1 6.789e-05 6.789e-05 6.789e-05 0.02% StateData::restartDoit() 4 6.489e-05 6.489e-05 6.489e-05 0.02% Castro::initialize_do_advance() 5 6.402e-05 6.402e-05 6.402e-05 0.02% Castro::initialize_advance() 5 5.932e-05 5.932e-05 5.932e-05 0.01% FabArrayBase::FB::FB() 26 5.93e-05 5.93e-05 5.93e-05 0.01% MLMG:computeResOfCorrection() 180 5.282e-05 5.282e-05 5.282e-05 0.01% Castro::construct_new_source() 25 4.328e-05 4.328e-05 4.328e-05 0.01% Castro::do_advance_ctu() 5 4.222e-05 4.222e-05 4.222e-05 0.01% MLMG::actualBottomSolve() 36 4.067e-05 4.067e-05 4.067e-05 0.01% MLMG::mgVcycle_down::0 36 3.805e-05 3.805e-05 3.805e-05 0.01% MLMG::solve() 6 3.675e-05 3.675e-05 3.675e-05 0.01% MLMG::mgVcycle_down::1 36 3.472e-05 3.472e-05 3.472e-05 0.01% Castro::clean_state() 30 3.346e-05 3.346e-05 3.346e-05 0.01% MLMG::mgVcycle_down::4 36 3.299e-05 3.299e-05 3.299e-05 0.01% MLMG::mgVcycle_down::2 36 3.236e-05 3.236e-05 3.236e-05 0.01% MLMG::mgVcycle_up::4 36 3.174e-05 3.174e-05 3.174e-05 0.01% MLMG::mgVcycle_down::3 36 3.099e-05 3.099e-05 3.099e-05 0.01% Castro::finalize_advance() 5 2.907e-05 2.907e-05 2.907e-05 0.01% Castro::buildMetrics() 1 2.905e-05 2.905e-05 2.905e-05 0.01% Gravity::solve_phi_with_mlmg() 6 2.846e-05 2.846e-05 2.846e-05 0.01% Castro::post_restart() 1 2.758e-05 2.758e-05 2.758e-05 0.01% Amr::writeSmallPlotFile() 1 2.739e-05 2.739e-05 2.739e-05 0.01% Castro::construct_old_source() 25 2.676e-05 2.676e-05 2.676e-05 0.01% Castro::swap_state_time_levels() 5 2.552e-05 2.552e-05 2.552e-05 0.01% MLMG::oneIter() 36 2.351e-05 2.351e-05 2.351e-05 0.01% MLMG::mgVcycle_up::0 36 2.255e-05 2.255e-05 2.255e-05 0.01% Castro::initMFs() 1 2.254e-05 2.254e-05 2.254e-05 0.01% MLCellLinOp::solutionResidual() 42 2.245e-05 2.245e-05 2.245e-05 0.01% MLMG::mgVcycle_up::3 36 2.191e-05 2.191e-05 2.191e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.126e-05 2.126e-05 2.126e-05 0.01% MLMG::mgVcycle_up::2 36 2.04e-05 2.04e-05 2.04e-05 0.00% MLMG::mgVcycle_up::1 36 2.011e-05 2.011e-05 2.011e-05 0.00% MLMG::ResNormInf() 42 1.676e-05 1.676e-05 1.676e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.609e-05 1.609e-05 1.609e-05 0.00% MLMG::mgVcycle_bottom 36 1.571e-05 1.571e-05 1.571e-05 0.00% FillPatchSingleLevel 20 1.562e-05 1.562e-05 1.562e-05 0.00% MLMG::computeResidual() 36 1.427e-05 1.427e-05 1.427e-05 0.00% MLPoisson::define() 6 1.335e-05 1.335e-05 1.335e-05 0.00% makeSFC 30 1.315e-05 1.315e-05 1.315e-05 0.00% Castro::construct_new_gravity() 5 1.266e-05 1.266e-05 1.266e-05 0.00% Castro::do_old_sources() 5 1.137e-05 1.137e-05 1.137e-05 0.00% MLLinOp::define() 6 1.017e-05 1.017e-05 1.017e-05 0.00% Amr::initSubcycle() 1 9.876e-06 9.876e-06 9.876e-06 0.00% DistributionMapping::Distribute() 31 9.001e-06 9.001e-06 9.001e-06 0.00% Gravity::actual_multilevel_solve() 1 7.977e-06 7.977e-06 7.977e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.162e-06 7.162e-06 7.162e-06 0.00% Castro::check_for_nan() 10 7.126e-06 7.126e-06 7.126e-06 0.00% Castro::construct_old_gravity() 5 6.48e-06 6.48e-06 6.48e-06 0.00% Castro::FluxRegCrseInit 5 5.794e-06 5.794e-06 5.794e-06 0.00% Castro::apply_source_to_state() 10 5.649e-06 5.649e-06 5.649e-06 0.00% Castro::post_timestep() 5 4.253e-06 4.253e-06 4.253e-06 0.00% Gravity::swapTimeLevels() 5 4.226e-06 4.226e-06 4.226e-06 0.00% MLMG::computeMLResidual() 6 4.08e-06 4.08e-06 4.08e-06 0.00% MLPoisson::prepareForSolve() 6 3.974e-06 3.974e-06 3.974e-06 0.00% Castro::computeNewDt() 5 3.885e-06 3.885e-06 3.885e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.906e-06 2.906e-06 2.906e-06 0.00% MLMG::getGradSolution() 6 2.885e-06 2.885e-06 2.885e-06 0.00% Castro::expand_state() 5 2.553e-06 2.553e-06 2.553e-06 0.00% MLMG::MLRhsNormInf() 6 2.302e-06 2.302e-06 2.302e-06 0.00% MLMG::MLResNormInf() 6 2.248e-06 2.248e-06 2.248e-06 0.00% Castro::retry_advance_ctu() 5 2.028e-06 2.028e-06 2.028e-06 0.00% Gravity::set_mass_offset() 6 1.88e-06 1.88e-06 1.88e-06 0.00% Castro::FluxRegFineAdd() 5 1.293e-06 1.293e-06 1.293e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.127e-06 1.127e-06 1.127e-06 0.00% Amr::init() 1 9.42e-07 9.42e-07 9.42e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.417 0.417 0.417 100.00% Amr::coarseTimeStep() 5 0.3156 0.3156 0.3156 75.67% Amr::timeStep() 5 0.3133 0.3133 0.3133 75.13% Castro::advance() 5 0.3071 0.3071 0.3071 73.65% Castro::subcycle_advance_ctu() 5 0.2996 0.2996 0.2996 71.85% Castro::do_advance_ctu() 5 0.2995 0.2995 0.2995 71.82% Castro::construct_new_gravity() 5 0.1322 0.1322 0.1322 31.70% Castro::construct_ctu_hydro_source() 5 0.1314 0.1314 0.1314 31.50% Gravity::solve_phi_with_mlmg() 6 0.13 0.13 0.13 31.17% Gravity::solve_for_phi() 5 0.1244 0.1244 0.1244 29.82% Gravity::actual_solve_with_mlmg() 6 0.1242 0.1242 0.1242 29.78% MLMG::solve() 6 0.1125 0.1125 0.1125 26.98% MLMG::oneIter() 36 0.1052 0.1052 0.1052 25.22% MLMG::mgVcycle() 36 0.1036 0.1036 0.1036 24.85% Amr::init() 1 0.07152 0.07152 0.07152 17.15% Amr::restart() 1 0.07152 0.07152 0.07152 17.15% AmrLevel::restart() 1 0.06033 0.06033 0.06033 14.47% StateData::restartDoit() 4 0.06026 0.06026 0.06026 14.45% VisMF::Read() 3 0.05999 0.05999 0.05999 14.38% MLCellLinOp::smooth() 720 0.05028 0.05028 0.05028 12.06% MLCellLinOp::applyBC() 1946 0.04722 0.04722 0.04722 11.32% MLMG::mgVcycle_bottom 36 0.03263 0.03263 0.03263 7.82% MLMG::actualBottomSolve() 36 0.03262 0.03262 0.03262 7.82% MLCGSolver::bicgstab 36 0.03231 0.03231 0.03231 7.75% Amr::writePlotFile() 1 0.02919 0.02919 0.02919 7.00% VisMF::Write(FabArray) 1 0.02758 0.02758 0.02758 6.61% Castro::clean_state() 30 0.02701 0.02701 0.02701 6.48% AmrLevel::FillPatch() 20 0.0226 0.0226 0.0226 5.42% FillPatchIterator::Initialize 20 0.02055 0.02055 0.02055 4.93% FillPatchIterator::FillFromLevel0() 20 0.01977 0.01977 0.01977 4.74% FillPatchSingleLevel 20 0.01975 0.01975 0.01975 4.74% StateDataPhysBCFunct::() 20 0.01771 0.01771 0.01771 4.25% MLCellLinOp::apply() 500 0.01604 0.01604 0.01604 3.85% MLMG::mgVcycle_down::0 36 0.01441 0.01441 0.01441 3.45% MLPoisson::Fsmooth() 1440 0.01412 0.01412 0.01412 3.39% FabArray::FillBoundary() 1766 0.0135 0.0135 0.0135 3.24% FillBoundary_nowait() 1766 0.01315 0.01315 0.01315 3.15% StateData::FillBoundary(geom) 160 0.01267 0.01267 0.01267 3.04% Castro::initialize_do_advance() 5 0.01095 0.01095 0.01095 2.62% MLMG::mgVcycle_up::0 36 0.01085 0.01085 0.01085 2.60% Castro::computeTemp() 30 0.009869 0.009869 0.009869 2.37% MLCellLinOp::correctionResidual() 216 0.009686 0.009686 0.009686 2.32% Castro::do_old_sources() 5 0.009459 0.009459 0.009459 2.27% MLPoisson::define() 6 0.009164 0.009164 0.009164 2.20% amrex::Dot() 484 0.009024 0.009024 0.009024 2.16% Castro::normalize_species() 30 0.008761 0.008761 0.008761 2.10% MLMG:computeResOfCorrection() 180 0.008517 0.008517 0.008517 2.04% Gravity::get_new_grav_vector() 5 0.00769 0.00769 0.00769 1.84% Castro::construct_old_gravity() 5 0.007485 0.007485 0.007485 1.79% Gravity::get_old_grav_vector() 5 0.007478 0.007478 0.007478 1.79% amrex::Copy() 463 0.007168 0.007168 0.007168 1.72% Castro::initialize_advance() 5 0.007122 0.007122 0.007122 1.71% MLMG::mgVcycle_down::1 36 0.00703 0.00703 0.00703 1.69% FabArray::ParallelCopy() 380 0.006545 0.006545 0.006545 1.57% FabArray::setVal() 537 0.006523 0.006523 0.006523 1.56% MLMG::mgVcycle_down::2 36 0.006444 0.006444 0.006444 1.55% FabArray::ParallelCopy_nowait() 380 0.006432 0.006432 0.006432 1.54% FabArray::norminf() 326 0.006402 0.006402 0.006402 1.54% Castro::do_new_sources() 5 0.006327 0.006327 0.006327 1.52% MLMG::mgVcycle_down::4 36 0.006243 0.006243 0.006243 1.50% MLMG::mgVcycle_down::3 36 0.006239 0.006239 0.006239 1.50% Castro::post_restart() 1 0.006232 0.006232 0.006232 1.49% MLCellLinOp::defineAuxData() 6 0.006211 0.006211 0.006211 1.49% Castro::post_timestep() 5 0.006082 0.006082 0.006082 1.46% Castro::expand_state() 5 0.006025 0.006025 0.006025 1.44% Gravity::multilevel_solve_for_new_phi() 1 0.005862 0.005862 0.005862 1.41% Gravity::actual_multilevel_solve() 1 0.005846 0.005846 0.005846 1.40% Castro::enforce_min_density() 30 0.00577 0.00577 0.00577 1.38% Gravity::fill_multipole_BCs() 6 0.005669 0.005669 0.005669 1.36% MLCGSolver::ParallelAllReduce 659 0.005439 0.005439 0.005439 1.30% MLMG::addInterpCorrection() 180 0.00526 0.00526 0.00526 1.26% MLMG::mgVcycle_up::4 36 0.005037 0.005037 0.005037 1.21% MLMG::mgVcycle_up::1 36 0.004992 0.004992 0.004992 1.20% amrex::average_down 180 0.004953 0.004953 0.004953 1.19% MLMG::mgVcycle_up::2 36 0.004878 0.004878 0.004878 1.17% MLMG::mgVcycle_up::3 36 0.004778 0.004778 0.004778 1.15% MLPoisson::Fapply() 500 0.004552 0.004552 0.004552 1.09% FabArray::Saxpy() 355 0.003736 0.003736 0.003736 0.90% FabArray::Xpay() 361 0.003593 0.003593 0.003593 0.86% MLCellLinOp::solutionResidual() 42 0.003438 0.003438 0.003438 0.82% Castro::estTimeStep() 10 0.003208 0.003208 0.003208 0.77% Castro::reset_internal_energy(MultiFab) 30 0.002805 0.002805 0.002805 0.67% MLCellLinOp::defineBC() 6 0.002805 0.002805 0.002805 0.67% MLMG::prepareForSolve() 6 0.002739 0.002739 0.002739 0.66% BndryData::define() 6 0.002688 0.002688 0.002688 0.64% MLMG::computeResidual() 36 0.002685 0.002685 0.002685 0.64% Castro::enforce_speed_limit() 30 0.002571 0.002571 0.002571 0.62% FabArray::LinComb() 242 0.002248 0.002248 0.002248 0.54% Castro::computeNewDt() 5 0.002048 0.002048 0.002048 0.49% amrex::Add() 72 0.001883 0.001883 0.001883 0.45% Castro::construct_new_source() 25 0.001805 0.001805 0.001805 0.43% Castro::construct_new_gravity_source() 5 0.001761 0.001761 0.001761 0.42% Castro::construct_old_source() 25 0.001527 0.001527 0.001527 0.37% Castro::construct_old_gravity_source() 5 0.0015 0.0015 0.0015 0.36% Castro::finalize_do_advance() 5 0.001235 0.001235 0.001235 0.30% MLMG::ResNormInf() 42 0.000985 0.000985 0.000985 0.24% Castro::apply_source_to_state() 10 0.0009549 0.0009549 0.0009549 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009541 0.0009541 0.0009541 0.23% MLMG::getGradSolution() 6 0.0008594 0.0008594 0.0008594 0.21% MLCellLinOp::compGrad() 6 0.0008565 0.0008565 0.0008565 0.21% MLCellLinOp::setLevelBC() 6 0.0008262 0.0008262 0.0008262 0.20% FabArrayBase::getCPC() 632 0.0007895 0.0007895 0.0007895 0.19% MLMG::computeMLResidual() 6 0.0007714 0.0007714 0.0007714 0.18% Castro::reset_internal_energy(Fab) 240 0.0007531 0.0007531 0.0007531 0.18% check_for_negative_density() 5 0.0007517 0.0007517 0.0007517 0.18% Gravity::update_max_rhs() 6 0.000713 0.000713 0.000713 0.17% MLPoisson::prepareForSolve() 6 0.0007115 0.0007115 0.0007115 0.17% MLCellLinOp::prepareForSolve() 6 0.0007075 0.0007075 0.0007075 0.17% FabArray::mult() 22 0.0006837 0.0006837 0.0006837 0.16% FabArray::setDomainBndry() 20 0.0006703 0.0006703 0.0006703 0.16% Castro::check_for_nan() 10 0.0006617 0.0006617 0.0006617 0.16% MultiFab::contains_nan() 10 0.0006546 0.0006546 0.0006546 0.16% FabArrayBase::CPC::define() 244 0.0004164 0.0004164 0.0004164 0.10% Amr::InitAmr() 1 0.0004121 0.0004121 0.0004121 0.10% FabArrayBase::getFB() 1766 0.0003484 0.0003484 0.0003484 0.08% Castro::finalize_advance() 5 0.0002981 0.0002981 0.0002981 0.07% Gravity::swapTimeLevels() 5 0.0002267 0.0002267 0.0002267 0.05% MultiFab::max() 6 0.0002044 0.0002044 0.0002044 0.05% MLMG::MLResNormInf() 6 0.000188 0.000188 0.000188 0.05% Castro::buildMetrics() 1 0.0001495 0.0001495 0.0001495 0.04% MLLinOp::define() 6 0.0001348 0.0001348 0.0001348 0.03% MLLinOp::defineGrids() 6 0.0001247 0.0001247 0.0001247 0.03% MLMG::MLRhsNormInf() 6 0.000118 0.000118 0.000118 0.03% Castro::create_source_corrector() 5 8.323e-05 8.323e-05 8.323e-05 0.02% FabArrayBase::FB::FB() 26 5.93e-05 5.93e-05 5.93e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.807e-05 2.807e-05 2.807e-05 0.01% Amr::writeSmallPlotFile() 1 2.739e-05 2.739e-05 2.739e-05 0.01% Castro::swap_state_time_levels() 5 2.552e-05 2.552e-05 2.552e-05 0.01% Castro::initMFs() 1 2.254e-05 2.254e-05 2.254e-05 0.01% makeSFC 30 2.091e-05 2.091e-05 2.091e-05 0.01% Amr::initSubcycle() 1 9.876e-06 9.876e-06 9.876e-06 0.00% DistributionMapping::Distribute() 31 9.001e-06 9.001e-06 9.001e-06 0.00% Castro::FluxRegCrseInit 5 5.794e-06 5.794e-06 5.794e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.149e-06 4.149e-06 4.149e-06 0.00% Castro::retry_advance_ctu() 5 2.028e-06 2.028e-06 2.028e-06 0.00% Gravity::set_mass_offset() 6 1.88e-06 1.88e-06 1.88e-06 0.00% Castro::FluxRegFineAdd() 5 1.293e-06 1.293e-06 1.293e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.127e-06 1.127e-06 1.127e-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 210 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 139 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1089 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1951 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 6382 KiB 14 MiB MLMG::prepareForSolve() 361 361 3311 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 185 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 188 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6368 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3370 B 2048 KiB Gravity::solve_for_phi() 40 40 609 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 305 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 196 KiB 671 KiB Castro::estTimeStep() 10 10 3691 B 480 KiB VisMF::Write(FabArray) 112 112 1311 B 320 KiB Castro::normalize_species() 30 30 6834 B 320 KiB amrex::average_down 469 469 1163 B 257 KiB MLMG::addInterpCorrection() 468 468 1085 B 257 KiB amrex::Dot() 592 592 3177 B 160 KiB FabArray::norminf() 398 398 2264 B 160 KiB check_for_negative_density() 5 5 260 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3210 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 3892 3892 209 B 9344 B amrex::Copy() 56 56 5622 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 342 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1155 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 191 KiB 3584 KiB VisMF::Read() 24 24 217 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3210 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 1946 1946 208 B 9328 B amrex::Copy() 56 56 5622 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2496 B 3072 B StateData::FillBoundary(geom) 960 960 43 B 3024 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 501 B 1296 B amrex::average_down 37 37 210 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 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): 2541 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.10-14-g7ee29121ed70) finalized