Initializing AMReX (24.02-1-g296ed40e16ae)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-1-g296ed40e16ae) initialized Starting run at 09:35:45 UTC on 2024-02-02. Successfully read inputs file ... Castro git describe: 24.02-2-gcff739306 AMReX git describe: 24.02-1-g296ed40e1 Microphysics git describe: 24.02-4-g29b594fd 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.044003462 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024054485 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.064176379 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.048377056 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.069500088 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.08375631 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.067699109 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.069804114 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.057965529 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.067731789 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.071552385 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.050260723 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.057588225 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.04194375 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02395873 seconds Ending run at 09:35:45 UTC on 2024-02-02. Run time = 0.896556671 Run time without initialization = 0.775019293 Average number of zones advanced per microsecond: 3.382 Average number of zones advanced per microsecond per rank: 3.382 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8966 ... 0.8966 ... 0.8966 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2603 0.2603 0.2603 29.04% VisMF::Write(FabArray) 11 0.1947 0.1947 0.1947 21.72% MLCellLinOp::applyBC() 4351 0.07916 0.07916 0.07916 8.83% MLPoisson::Fsmooth() 3280 0.03356 0.03356 0.03356 3.74% FillBoundary_nowait() 3941 0.03163 0.03163 0.03163 3.53% StateData::FillBoundary(geom) 328 0.02661 0.02661 0.02661 2.97% amrex::Dot() 1114 0.02101 0.02101 0.02101 2.34% FabArray::norminf() 1061 0.01957 0.01957 0.01957 2.18% FabArray::setVal() 1062 0.01952 0.01952 0.01952 2.18% Castro::normalize_species() 62 0.0193 0.0193 0.0193 2.15% Castro::computeTemp() 63 0.01395 0.01395 0.01395 1.56% FabArray::ParallelCopy_nowait() 861 0.01339 0.01339 0.01339 1.49% FabArray::Saxpy() 1370 0.01297 0.01297 0.01297 1.45% Castro::enforce_min_density() 62 0.01133 0.01133 0.01133 1.26% amrex::Copy() 472 0.01071 0.01071 0.01071 1.19% StateDataPhysBCFunct::() 41 0.01057 0.01057 0.01057 1.18% MLCellLinOp::defineAuxData() 11 0.01053 0.01053 0.01053 1.17% MLPoisson::Fapply() 1060 0.01012 0.01012 0.01012 1.13% Gravity::fill_multipole_BCs() 11 0.008448 0.008448 0.008448 0.94% FabArray::Xpay() 739 0.007728 0.007728 0.007728 0.86% MLMG::addInterpCorrection() 410 0.006997 0.006997 0.006997 0.78% Amr::checkPoint() 3 0.006456 0.006456 0.006456 0.72% amrex::average_down 410 0.006236 0.006236 0.006236 0.70% Castro::estTimeStep() 21 0.006041 0.006041 0.006041 0.67% Castro::reset_internal_energy(MultiFab) 63 0.00486 0.00486 0.00486 0.54% BndryData::define() 11 0.003768 0.003768 0.003768 0.42% amrex::Add() 82 0.003593 0.003593 0.003593 0.40% Castro::construct_new_gravity_source() 10 0.003463 0.003463 0.003463 0.39% Castro::enforce_speed_limit() 62 0.002993 0.002993 0.002993 0.33% Castro::construct_old_gravity_source() 10 0.002964 0.002964 0.002964 0.33% Amr::writePlotFile() 2 0.002077 0.002077 0.002077 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00178 0.00178 0.00178 0.20% MLCGSolver::bicgstab 82 0.001724 0.001724 0.001724 0.19% Gravity::actual_solve_with_mlmg() 11 0.001653 0.001653 0.001653 0.18% check_for_negative_density() 10 0.001636 0.001636 0.001636 0.18% MLCellLinOp::setLevelBC() 11 0.001577 0.001577 0.001577 0.18% Castro::reset_internal_energy(Fab) 504 0.001536 0.001536 0.001536 0.17% Castro::initData() 1 0.001376 0.001376 0.001376 0.15% FabArray::mult() 43 0.001359 0.001359 0.001359 0.15% MLCellLinOp::prepareForSolve() 11 0.001329 0.001329 0.001329 0.15% FabArray::setDomainBndry() 41 0.001323 0.001323 0.001323 0.15% MultiFab::contains_nan() 20 0.001263 0.001263 0.001263 0.14% MLCellLinOp::smooth() 1640 0.001186 0.001186 0.001186 0.13% MLCellLinOp::compGrad() 11 0.00109 0.00109 0.00109 0.12% MLMG::prepareForSolve() 11 0.00101 0.00101 0.00101 0.11% FabArray::FillBoundary() 3941 0.0009038 0.0009038 0.0009038 0.10% FabArrayBase::getCPC() 1323 0.000827 0.000827 0.000827 0.09% FabArrayBase::CPC::define() 454 0.0006938 0.0006938 0.0006938 0.08% FabArrayBase::getFB() 3941 0.0006554 0.0006554 0.0006554 0.07% Gravity::get_new_grav_vector() 11 0.0006022 0.0006022 0.0006022 0.07% Amr::InitAmr() 1 0.0005547 0.0005547 0.0005547 0.06% Gravity::get_old_grav_vector() 10 0.0004824 0.0004824 0.0004824 0.05% MLCellLinOp::apply() 1060 0.0004387 0.0004387 0.0004387 0.05% AmrLevel::FillPatch() 41 0.0004305 0.0004305 0.0004305 0.05% Amr::coarseTimeStep() 10 0.0004005 0.0004005 0.0004005 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003641 0.0003641 0.0003641 0.04% MultiFab::max() 11 0.0003381 0.0003381 0.0003381 0.04% MLCellLinOp::defineBC() 11 0.0002893 0.0002893 0.0002893 0.03% main() 1 0.0002881 0.0002881 0.0002881 0.03% FabArray::ParallelCopy() 861 0.0002495 0.0002495 0.0002495 0.03% FillPatchIterator::Initialize 41 0.0002252 0.0002252 0.0002252 0.03% Castro::subcycle_advance_ctu() 10 0.0002162 0.0002162 0.0002162 0.02% MLMG::mgVcycle() 82 0.0002088 0.0002088 0.0002088 0.02% MLCellLinOp::correctionResidual() 410 0.000181 0.000181 0.000181 0.02% Amr::timeStep() 10 0.0001771 0.0001771 0.0001771 0.02% MLLinOp::defineGrids() 11 0.0001765 0.0001765 0.0001765 0.02% Castro::create_source_corrector() 10 0.0001603 0.0001603 0.0001603 0.02% StateData::checkPoint() 12 0.0001526 0.0001526 0.0001526 0.02% Gravity::update_max_rhs() 11 0.0001368 0.0001368 0.0001368 0.02% Gravity::solve_for_phi() 10 0.0001166 0.0001166 0.0001166 0.01% MLMG:computeResOfCorrection() 410 0.0001163 0.0001163 0.0001163 0.01% Castro::advance() 10 0.0001106 0.0001106 0.0001106 0.01% MLMG::mgVcycle_down::0 82 9.659e-05 9.659e-05 9.659e-05 0.01% MLMG::actualBottomSolve() 82 9.503e-05 9.503e-05 9.503e-05 0.01% Castro::Castro() 1 9.28e-05 9.28e-05 9.28e-05 0.01% FabArrayBase::FB::FB() 56 9.185e-05 9.185e-05 9.185e-05 0.01% AmrLevel::checkPoint() 3 8.967e-05 8.967e-05 8.967e-05 0.01% MLMG::mgVcycle_down::3 82 8.657e-05 8.657e-05 8.657e-05 0.01% Castro::construct_new_source() 50 8.582e-05 8.582e-05 8.582e-05 0.01% MLMG::mgVcycle_down::1 82 8.28e-05 8.28e-05 8.28e-05 0.01% MLMG::mgVcycle_down::2 82 8.268e-05 8.268e-05 8.268e-05 0.01% Castro::initialize_advance() 10 8.018e-05 8.018e-05 8.018e-05 0.01% MLMG::mgVcycle_down::4 82 7.978e-05 7.978e-05 7.978e-05 0.01% MLMG::solve() 11 7.933e-05 7.933e-05 7.933e-05 0.01% Castro::clean_state() 62 7.061e-05 7.061e-05 7.061e-05 0.01% Castro::enforce_consistent_e() 1 7.009e-05 7.009e-05 7.009e-05 0.01% Castro::finalize_advance() 10 6.771e-05 6.771e-05 6.771e-05 0.01% MLMG::mgVcycle_up::4 82 6.581e-05 6.581e-05 6.581e-05 0.01% Castro::initialize_do_advance() 10 6.334e-05 6.334e-05 6.334e-05 0.01% Castro::finalize_do_advance() 10 5.871e-05 5.871e-05 5.871e-05 0.01% MLMG::oneIter() 82 5.424e-05 5.424e-05 5.424e-05 0.01% MLMG::mgVcycle_up::0 82 5.364e-05 5.364e-05 5.364e-05 0.01% Castro::do_advance_ctu() 10 5.076e-05 5.076e-05 5.076e-05 0.01% MLCellLinOp::solutionResidual() 93 5.056e-05 5.056e-05 5.056e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.998e-05 4.998e-05 4.998e-05 0.01% MLMG::mgVcycle_up::1 82 4.93e-05 4.93e-05 4.93e-05 0.01% MLMG::mgVcycle_up::3 82 4.878e-05 4.878e-05 4.878e-05 0.01% MLMG::mgVcycle_up::2 82 4.718e-05 4.718e-05 4.718e-05 0.01% MLMG::ResNormInf() 93 4.055e-05 4.055e-05 4.055e-05 0.00% StateData::define() 4 3.746e-05 3.746e-05 3.746e-05 0.00% Castro::swap_state_time_levels() 10 3.724e-05 3.724e-05 3.724e-05 0.00% FillPatchSingleLevel 41 3.722e-05 3.722e-05 3.722e-05 0.00% MLMG::mgVcycle_bottom 82 3.471e-05 3.471e-05 3.471e-05 0.00% MLMG::computeResidual() 82 3.212e-05 3.212e-05 3.212e-05 0.00% Castro::initMFs() 1 3.111e-05 3.111e-05 3.111e-05 0.00% Amr::writeSmallPlotFile() 1 3.077e-05 3.077e-05 3.077e-05 0.00% Amr::FinalizeInit() 1 2.837e-05 2.837e-05 2.837e-05 0.00% makeSFC 55 2.82e-05 2.82e-05 2.82e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.61e-05 2.61e-05 2.61e-05 0.00% Castro::construct_new_gravity() 10 2.593e-05 2.593e-05 2.593e-05 0.00% Castro::buildMetrics() 1 2.483e-05 2.483e-05 2.483e-05 0.00% Amr::defBaseLevel() 1 2.365e-05 2.365e-05 2.365e-05 0.00% Castro::do_old_sources() 10 2.332e-05 2.332e-05 2.332e-05 0.00% MLPoisson::define() 11 2.104e-05 2.104e-05 2.104e-05 0.00% Castro::do_new_sources() 10 2.028e-05 2.028e-05 2.028e-05 0.00% Castro::construct_old_source() 50 1.824e-05 1.824e-05 1.824e-05 0.00% DistributionMapping::Distribute() 56 1.807e-05 1.807e-05 1.807e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.793e-05 1.793e-05 1.793e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.665e-05 1.665e-05 1.665e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.501e-05 1.501e-05 1.501e-05 0.00% MLPoisson::prepareForSolve() 11 1.424e-05 1.424e-05 1.424e-05 0.00% Castro::apply_source_to_state() 20 1.401e-05 1.401e-05 1.401e-05 0.00% MLLinOp::define() 11 1.335e-05 1.335e-05 1.335e-05 0.00% MLMG::computeMLResidual() 11 1.332e-05 1.332e-05 1.332e-05 0.00% Castro::check_for_nan() 20 1.327e-05 1.327e-05 1.327e-05 0.00% Castro::construct_old_gravity() 10 1.151e-05 1.151e-05 1.151e-05 0.00% Castro::post_init() 1 9.998e-06 9.998e-06 9.998e-06 0.00% Gravity::swapTimeLevels() 10 9.862e-06 9.862e-06 9.862e-06 0.00% Amr::initSubcycle() 1 9.2e-06 9.2e-06 9.2e-06 0.00% Gravity::actual_multilevel_solve() 1 8.202e-06 8.202e-06 8.202e-06 0.00% Castro::post_timestep() 10 8.133e-06 8.133e-06 8.133e-06 0.00% Castro::computeNewDt() 9 6.974e-06 6.974e-06 6.974e-06 0.00% MLMG::getGradSolution() 11 6.627e-06 6.627e-06 6.627e-06 0.00% Castro::expand_state() 10 6.319e-06 6.319e-06 6.319e-06 0.00% AmrLevel::checkPointPost() 3 5.192e-06 5.192e-06 5.192e-06 0.00% Gravity::set_mass_offset() 11 4.767e-06 4.767e-06 4.767e-06 0.00% Amr::InitializeInit() 1 4.634e-06 4.634e-06 4.634e-06 0.00% Castro::retry_advance_ctu() 10 4.256e-06 4.256e-06 4.256e-06 0.00% MLMG::MLRhsNormInf() 11 4.137e-06 4.137e-06 4.137e-06 0.00% MLMG::MLResNormInf() 11 3.734e-06 3.734e-06 3.734e-06 0.00% Castro::FluxRegCrseInit 10 3.341e-06 3.341e-06 3.341e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.171e-06 3.171e-06 3.171e-06 0.00% Castro::computeInitialDt() 2 2.875e-06 2.875e-06 2.875e-06 0.00% Castro::FluxRegFineAdd() 10 2.498e-06 2.498e-06 2.498e-06 0.00% Amr::init() 1 2.432e-06 2.432e-06 2.432e-06 0.00% AmrLevel::checkPointPre() 3 2.333e-06 2.333e-06 2.333e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.328e-06 2.328e-06 2.328e-06 0.00% Amr::initialInit() 1 1.289e-06 1.289e-06 1.289e-06 0.00% Castro::post_regrid() 1 1.28e-06 1.28e-06 1.28e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8966 0.8966 0.8966 100.00% Amr::coarseTimeStep() 10 0.7508 0.7508 0.7508 83.74% Amr::timeStep() 10 0.6351 0.6351 0.6351 70.84% Castro::advance() 10 0.6244 0.6244 0.6244 69.64% Castro::subcycle_advance_ctu() 10 0.6109 0.6109 0.6109 68.14% Castro::do_advance_ctu() 10 0.6107 0.6107 0.6107 68.11% Gravity::solve_phi_with_mlmg() 11 0.2982 0.2982 0.2982 33.26% Gravity::actual_solve_with_mlmg() 11 0.2893 0.2893 0.2893 32.27% Castro::construct_ctu_hydro_source() 10 0.2699 0.2699 0.2699 30.10% Castro::construct_new_gravity() 10 0.2697 0.2697 0.2697 30.08% MLMG::solve() 11 0.2671 0.2671 0.2671 29.79% Gravity::solve_for_phi() 10 0.2543 0.2543 0.2543 28.37% MLMG::oneIter() 82 0.2519 0.2519 0.2519 28.09% MLMG::mgVcycle() 82 0.2482 0.2482 0.2482 27.69% VisMF::Write(FabArray) 11 0.1947 0.1947 0.1947 21.72% Amr::checkPoint() 3 0.1559 0.1559 0.1559 17.39% AmrLevel::checkPoint() 3 0.1494 0.1494 0.1494 16.67% StateData::checkPoint() 12 0.1493 0.1493 0.1493 16.66% MLCellLinOp::smooth() 1640 0.1215 0.1215 0.1215 13.55% Amr::init() 1 0.1209 0.1209 0.1209 13.48% MLCellLinOp::applyBC() 4351 0.1124 0.1124 0.1124 12.54% MLMG::mgVcycle_bottom 82 0.07166 0.07166 0.07166 7.99% MLMG::actualBottomSolve() 82 0.07163 0.07163 0.07163 7.99% MLCGSolver::bicgstab 82 0.0709 0.0709 0.0709 7.91% Castro::clean_state() 62 0.05332 0.05332 0.05332 5.95% Amr::initialInit() 1 0.05268 0.05268 0.05268 5.88% Amr::FinalizeInit() 1 0.04813 0.04813 0.04813 5.37% Amr::writePlotFile() 2 0.04813 0.04813 0.04813 5.37% AmrLevel::FillPatch() 41 0.04715 0.04715 0.04715 5.26% Castro::post_init() 1 0.04661 0.04661 0.04661 5.20% Gravity::multilevel_solve_for_new_phi() 1 0.04429 0.04429 0.04429 4.94% Gravity::actual_multilevel_solve() 1 0.04427 0.04427 0.04427 4.94% FillPatchIterator::Initialize 41 0.04286 0.04286 0.04286 4.78% FillPatchIterator::FillFromLevel0() 41 0.04131 0.04131 0.04131 4.61% FillPatchSingleLevel 41 0.04126 0.04126 0.04126 4.60% StateDataPhysBCFunct::() 41 0.03718 0.03718 0.03718 4.15% MLCellLinOp::apply() 1060 0.0358 0.0358 0.0358 3.99% MLMG::mgVcycle_down::0 82 0.03486 0.03486 0.03486 3.89% MLPoisson::Fsmooth() 3280 0.03356 0.03356 0.03356 3.74% FabArray::FillBoundary() 3941 0.03328 0.03328 0.03328 3.71% FillBoundary_nowait() 3941 0.03237 0.03237 0.03237 3.61% StateData::FillBoundary(geom) 328 0.02661 0.02661 0.02661 2.97% MLMG::mgVcycle_up::0 82 0.02644 0.02644 0.02644 2.95% MLMG::mgVcycle_down::3 82 0.02173 0.02173 0.02173 2.42% amrex::Dot() 1114 0.02101 0.02101 0.02101 2.34% Castro::computeTemp() 63 0.02035 0.02035 0.02035 2.27% MLMG:computeResOfCorrection() 410 0.02029 0.02029 0.02029 2.26% Castro::initialize_do_advance() 10 0.02023 0.02023 0.02023 2.26% MLCellLinOp::correctionResidual() 410 0.02018 0.02018 0.02018 2.25% FabArray::norminf() 1061 0.01957 0.01957 0.01957 2.18% FabArray::setVal() 1062 0.01952 0.01952 0.01952 2.18% Castro::do_old_sources() 10 0.01931 0.01931 0.01931 2.15% Castro::normalize_species() 62 0.0193 0.0193 0.0193 2.15% MLPoisson::define() 11 0.01734 0.01734 0.01734 1.93% Gravity::get_new_grav_vector() 11 0.01727 0.01727 0.01727 1.93% MLMG::mgVcycle_down::1 82 0.01642 0.01642 0.01642 1.83% MLMG::mgVcycle_down::2 82 0.01533 0.01533 0.01533 1.71% Castro::construct_old_gravity() 10 0.01522 0.01522 0.01522 1.70% Gravity::get_old_grav_vector() 10 0.01521 0.01521 0.01521 1.70% MLMG::mgVcycle_down::4 82 0.01479 0.01479 0.01479 1.65% FabArray::ParallelCopy() 861 0.01445 0.01445 0.01445 1.61% FabArray::ParallelCopy_nowait() 861 0.0142 0.0142 0.0142 1.58% FabArray::Saxpy() 1370 0.01297 0.01297 0.01297 1.45% Castro::do_new_sources() 10 0.01295 0.01295 0.01295 1.44% Castro::initialize_advance() 10 0.01282 0.01282 0.01282 1.43% MLCGSolver::ParallelAllReduce 1832 0.01263 0.01263 0.01263 1.41% MLMG::addInterpCorrection() 410 0.01216 0.01216 0.01216 1.36% MLCellLinOp::defineAuxData() 11 0.01199 0.01199 0.01199 1.34% MLMG::mgVcycle_up::1 82 0.01191 0.01191 0.01191 1.33% MLMG::mgVcycle_up::4 82 0.01179 0.01179 0.01179 1.31% MLMG::mgVcycle_up::2 82 0.01167 0.01167 0.01167 1.30% amrex::average_down 410 0.01148 0.01148 0.01148 1.28% MLMG::mgVcycle_up::3 82 0.01142 0.01142 0.01142 1.27% Castro::enforce_min_density() 62 0.01133 0.01133 0.01133 1.26% Castro::expand_state() 10 0.01132 0.01132 0.01132 1.26% amrex::Copy() 472 0.01071 0.01071 0.01071 1.19% Castro::post_timestep() 10 0.01053 0.01053 0.01053 1.17% MLPoisson::Fapply() 1060 0.01012 0.01012 0.01012 1.13% Gravity::fill_multipole_BCs() 11 0.00868 0.00868 0.00868 0.97% FabArray::Xpay() 739 0.007728 0.007728 0.007728 0.86% MLCellLinOp::solutionResidual() 93 0.007591 0.007591 0.007591 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006396 0.006396 0.006396 0.71% MLMG::computeResidual() 82 0.006313 0.006313 0.006313 0.70% Castro::estTimeStep() 21 0.006041 0.006041 0.006041 0.67% MLMG::prepareForSolve() 11 0.005127 0.005127 0.005127 0.57% MLCellLinOp::defineBC() 11 0.005077 0.005077 0.005077 0.57% BndryData::define() 11 0.004788 0.004788 0.004788 0.53% Amr::InitializeInit() 1 0.004542 0.004542 0.004542 0.51% Amr::defBaseLevel() 1 0.004537 0.004537 0.004537 0.51% Castro::initData() 1 0.003874 0.003874 0.003874 0.43% amrex::Add() 82 0.003593 0.003593 0.003593 0.40% Castro::construct_new_source() 50 0.003549 0.003549 0.003549 0.40% Castro::construct_new_gravity_source() 10 0.003463 0.003463 0.003463 0.39% Castro::enforce_speed_limit() 62 0.002993 0.002993 0.002993 0.33% Castro::construct_old_source() 50 0.002983 0.002983 0.002983 0.33% Castro::construct_old_gravity_source() 10 0.002964 0.002964 0.002964 0.33% Castro::computeNewDt() 9 0.002637 0.002637 0.002637 0.29% Castro::finalize_do_advance() 10 0.002368 0.002368 0.002368 0.26% MLMG::ResNormInf() 93 0.002181 0.002181 0.002181 0.24% Castro::apply_source_to_state() 20 0.001869 0.001869 0.001869 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00178 0.00178 0.00178 0.20% check_for_negative_density() 10 0.001636 0.001636 0.001636 0.18% MLMG::getGradSolution() 11 0.001587 0.001587 0.001587 0.18% MLCellLinOp::compGrad() 11 0.00158 0.00158 0.00158 0.18% MLCellLinOp::setLevelBC() 11 0.001577 0.001577 0.001577 0.18% Castro::reset_internal_energy(Fab) 504 0.001536 0.001536 0.001536 0.17% FabArrayBase::getCPC() 1323 0.001521 0.001521 0.001521 0.17% FabArray::mult() 43 0.001359 0.001359 0.001359 0.15% MLPoisson::prepareForSolve() 11 0.001343 0.001343 0.001343 0.15% MLCellLinOp::prepareForSolve() 11 0.001329 0.001329 0.001329 0.15% MLMG::computeMLResidual() 11 0.001323 0.001323 0.001323 0.15% FabArray::setDomainBndry() 41 0.001323 0.001323 0.001323 0.15% Castro::check_for_nan() 20 0.001277 0.001277 0.001277 0.14% MultiFab::contains_nan() 20 0.001263 0.001263 0.001263 0.14% Castro::post_regrid() 1 0.001212 0.001212 0.001212 0.14% Castro::computeInitialDt() 2 0.001105 0.001105 0.001105 0.12% Gravity::update_max_rhs() 11 0.0009999 0.0009999 0.0009999 0.11% FabArrayBase::getFB() 3941 0.0007472 0.0007472 0.0007472 0.08% FabArrayBase::CPC::define() 454 0.0006938 0.0006938 0.0006938 0.08% Castro::finalize_advance() 10 0.0005912 0.0005912 0.0005912 0.07% Castro::Castro() 1 0.0005817 0.0005817 0.0005817 0.06% Amr::InitAmr() 1 0.0005639 0.0005639 0.0005639 0.06% Gravity::swapTimeLevels() 10 0.0004373 0.0004373 0.0004373 0.05% MLMG::MLResNormInf() 11 0.0003399 0.0003399 0.0003399 0.04% MultiFab::max() 11 0.0003381 0.0003381 0.0003381 0.04% Castro::buildMetrics() 1 0.0002887 0.0002887 0.0002887 0.03% MLLinOp::define() 11 0.0002524 0.0002524 0.0002524 0.03% MLLinOp::defineGrids() 11 0.000239 0.000239 0.000239 0.03% MLMG::MLRhsNormInf() 11 0.0002222 0.0002222 0.0002222 0.02% Castro::create_source_corrector() 10 0.0001603 0.0001603 0.0001603 0.02% FabArrayBase::FB::FB() 56 9.185e-05 9.185e-05 9.185e-05 0.01% Castro::enforce_consistent_e() 1 7.009e-05 7.009e-05 7.009e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.016e-05 6.016e-05 6.016e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.411e-05 5.411e-05 5.411e-05 0.01% makeSFC 55 4.515e-05 4.515e-05 4.515e-05 0.01% StateData::define() 4 3.746e-05 3.746e-05 3.746e-05 0.00% Castro::swap_state_time_levels() 10 3.724e-05 3.724e-05 3.724e-05 0.00% Castro::initMFs() 1 3.111e-05 3.111e-05 3.111e-05 0.00% Amr::writeSmallPlotFile() 1 3.077e-05 3.077e-05 3.077e-05 0.00% DistributionMapping::Distribute() 56 1.807e-05 1.807e-05 1.807e-05 0.00% Amr::initSubcycle() 1 9.2e-06 9.2e-06 9.2e-06 0.00% AmrLevel::checkPointPost() 3 5.192e-06 5.192e-06 5.192e-06 0.00% Gravity::set_mass_offset() 11 4.767e-06 4.767e-06 4.767e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.286e-06 4.286e-06 4.286e-06 0.00% Castro::retry_advance_ctu() 10 4.256e-06 4.256e-06 4.256e-06 0.00% Castro::FluxRegCrseInit 10 3.341e-06 3.341e-06 3.341e-06 0.00% Castro::FluxRegFineAdd() 10 2.498e-06 2.498e-06 2.498e-06 0.00% AmrLevel::checkPointPre() 3 2.333e-06 2.333e-06 2.333e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.328e-06 2.328e-06 2.328e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 93 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1019 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1497 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3665 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 200 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2149 B 2048 KiB Gravity::solve_for_phi() 80 80 580 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 335 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 213 KiB 671 KiB Castro::estTimeStep() 21 21 3284 B 480 KiB VisMF::Write(FabArray) 656 656 3447 B 320 KiB Castro::normalize_species() 62 62 7008 B 320 KiB amrex::average_down 1067 1067 1256 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1154 B 257 KiB amrex::Dot() 1360 1360 3457 B 160 KiB FabArray::norminf() 1143 1143 3367 B 160 KiB check_for_negative_density() 10 10 292 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3579 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 308 B 9648 B MLCellLinOp::applyBC() 8702 8702 219 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 377 B 1248 B MLCGSolver::bicgstab 410 410 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 553 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 90 KiB 8192 KiB VisMF::Write(FabArray) 744 744 421 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3579 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 308 B 9648 B MLCellLinOp::applyBC() 4351 4351 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B Gravity::get_new_grav_vector() 3 3 2893 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 40 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 305 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-1-g296ed40e16ae) finalized Initializing AMReX (24.02-1-g296ed40e16ae)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-1-g296ed40e16ae) initialized Starting run at 09:35:46 UTC on 2024-02-02. Successfully read inputs file ... Castro git describe: 24.02-2-gcff739306 AMReX git describe: 24.02-1-g296ed40e1 Microphysics git describe: 24.02-4-g29b594fd reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.524910891 Restart time = 0.071971084 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.068783378 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.065754681 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.074152579 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.065777052 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.072036666 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.068886967 seconds Ending run at 09:35:47 UTC on 2024-02-02. Run time = 0.488459713 Run time without initialization = 0.415841634 Average number of zones advanced per microsecond: 3.152 Average number of zones advanced per microsecond per rank: 3.152 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4885 ... 0.4885 ... 0.4885 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1514 0.1514 0.1514 30.99% VisMF::Read() 3 0.06057 0.06057 0.06057 12.40% Amr::writePlotFile() 1 0.04347 0.04347 0.04347 8.90% MLCellLinOp::applyBC() 1910 0.04126 0.04126 0.04126 8.45% VisMF::Write(FabArray) 1 0.02526 0.02526 0.02526 5.17% MLPoisson::Fsmooth() 1440 0.01451 0.01451 0.01451 2.97% FillBoundary_nowait() 1730 0.01281 0.01281 0.01281 2.62% StateData::FillBoundary(geom) 160 0.01258 0.01258 0.01258 2.57% Castro::normalize_species() 30 0.009578 0.009578 0.009578 1.96% amrex::Dot() 484 0.009038 0.009038 0.009038 1.85% FabArray::norminf() 465 0.008696 0.008696 0.008696 1.78% Castro::computeTemp() 30 0.00664 0.00664 0.00664 1.36% FabArray::setVal() 501 0.006291 0.006291 0.006291 1.29% FabArray::ParallelCopy_nowait() 380 0.006044 0.006044 0.006044 1.24% Castro::enforce_min_density() 30 0.005755 0.005755 0.005755 1.18% FabArray::Saxpy() 597 0.005711 0.005711 0.005711 1.17% MLCellLinOp::defineAuxData() 6 0.005575 0.005575 0.005575 1.14% StateDataPhysBCFunct::() 20 0.005471 0.005471 0.005471 1.12% amrex::Copy() 221 0.005345 0.005345 0.005345 1.09% Gravity::fill_multipole_BCs() 6 0.005216 0.005216 0.005216 1.07% Amr::restart() 1 0.004756 0.004756 0.004756 0.97% MLPoisson::Fapply() 464 0.004372 0.004372 0.004372 0.89% FabArray::Xpay() 325 0.003345 0.003345 0.003345 0.68% MLMG::addInterpCorrection() 180 0.003093 0.003093 0.003093 0.63% Castro::estTimeStep() 10 0.002833 0.002833 0.002833 0.58% amrex::average_down 180 0.002702 0.002702 0.002702 0.55% Castro::reset_internal_energy(MultiFab) 30 0.002029 0.002029 0.002029 0.42% BndryData::define() 6 0.002019 0.002019 0.002019 0.41% Castro::construct_new_gravity_source() 5 0.001835 0.001835 0.001835 0.38% amrex::Add() 36 0.001529 0.001529 0.001529 0.31% Castro::construct_old_gravity_source() 5 0.001504 0.001504 0.001504 0.31% Castro::enforce_speed_limit() 30 0.001124 0.001124 0.001124 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009518 0.0009518 0.0009518 0.19% check_for_negative_density() 5 0.00088 0.00088 0.00088 0.18% Gravity::actual_solve_with_mlmg() 6 0.0008752 0.0008752 0.0008752 0.18% MLCellLinOp::setLevelBC() 6 0.000844 0.000844 0.000844 0.17% Castro::reset_internal_energy(Fab) 240 0.0008042 0.0008042 0.0008042 0.16% MLCGSolver::bicgstab 36 0.0007707 0.0007707 0.0007707 0.16% MLCellLinOp::prepareForSolve() 6 0.0007324 0.0007324 0.0007324 0.15% FabArray::mult() 22 0.00068 0.00068 0.00068 0.14% FabArray::setDomainBndry() 20 0.0006631 0.0006631 0.0006631 0.14% MultiFab::contains_nan() 10 0.0006619 0.0006619 0.0006619 0.14% MLCellLinOp::compGrad() 6 0.0006 0.0006 0.0006 0.12% MLCellLinOp::smooth() 720 0.000587 0.000587 0.000587 0.12% MLMG::prepareForSolve() 6 0.0005619 0.0005619 0.0005619 0.12% Amr::InitAmr() 1 0.0004671 0.0004671 0.0004671 0.10% FabArrayBase::CPC::define() 244 0.0004279 0.0004279 0.0004279 0.09% FabArray::FillBoundary() 1730 0.0004076 0.0004076 0.0004076 0.08% FabArrayBase::getCPC() 632 0.0003991 0.0003991 0.0003991 0.08% Gravity::get_old_grav_vector() 5 0.0003383 0.0003383 0.0003383 0.07% Gravity::get_new_grav_vector() 5 0.0003233 0.0003233 0.0003233 0.07% main() 1 0.0002871 0.0002871 0.0002871 0.06% FabArrayBase::getFB() 1730 0.000267 0.000267 0.000267 0.05% AmrLevel::FillPatch() 20 0.0002073 0.0002073 0.0002073 0.04% MLCellLinOp::apply() 464 0.0002069 0.0002069 0.0002069 0.04% MultiFab::max() 6 0.0002043 0.0002043 0.0002043 0.04% Amr::coarseTimeStep() 5 0.0001752 0.0001752 0.0001752 0.04% MLCGSolver::ParallelAllReduce 798 0.0001596 0.0001596 0.0001596 0.03% MLCellLinOp::defineBC() 6 0.0001583 0.0001583 0.0001583 0.03% FabArray::ParallelCopy() 380 0.0001212 0.0001212 0.0001212 0.02% Castro::subcycle_advance_ctu() 5 0.0001151 0.0001151 0.0001151 0.02% FillPatchIterator::Initialize 20 0.0001073 0.0001073 0.0001073 0.02% Castro::create_source_corrector() 5 9.979e-05 9.979e-05 9.979e-05 0.02% MLLinOp::defineGrids() 6 9.647e-05 9.647e-05 9.647e-05 0.02% Amr::timeStep() 5 9.541e-05 9.541e-05 9.541e-05 0.02% MLMG::mgVcycle() 36 8.978e-05 8.978e-05 8.978e-05 0.02% AmrLevel::restart() 1 7.935e-05 7.935e-05 7.935e-05 0.02% MLCellLinOp::correctionResidual() 180 7.826e-05 7.826e-05 7.826e-05 0.02% StateData::restartDoit() 4 7.015e-05 7.015e-05 7.015e-05 0.01% Gravity::update_max_rhs() 6 6.725e-05 6.725e-05 6.725e-05 0.01% Castro::finalize_do_advance() 5 6.626e-05 6.626e-05 6.626e-05 0.01% Castro::initialize_do_advance() 5 6.337e-05 6.337e-05 6.337e-05 0.01% Castro::do_advance_ctu() 5 6.124e-05 6.124e-05 6.124e-05 0.01% FabArrayBase::FB::FB() 26 6.067e-05 6.067e-05 6.067e-05 0.01% Gravity::solve_for_phi() 5 5.983e-05 5.983e-05 5.983e-05 0.01% Castro::post_timestep() 5 5.485e-05 5.485e-05 5.485e-05 0.01% MLMG:computeResOfCorrection() 180 5.242e-05 5.242e-05 5.242e-05 0.01% MLMG::mgVcycle_down::0 36 4.801e-05 4.801e-05 4.801e-05 0.01% MLMG::actualBottomSolve() 36 4.372e-05 4.372e-05 4.372e-05 0.01% MLMG::mgVcycle_down::1 36 3.762e-05 3.762e-05 3.762e-05 0.01% Castro::initialize_advance() 5 3.716e-05 3.716e-05 3.716e-05 0.01% MLMG::solve() 6 3.654e-05 3.654e-05 3.654e-05 0.01% MLMG::mgVcycle_down::2 36 3.604e-05 3.604e-05 3.604e-05 0.01% MLMG::mgVcycle_down::4 36 3.576e-05 3.576e-05 3.576e-05 0.01% Castro::clean_state() 30 3.489e-05 3.489e-05 3.489e-05 0.01% Amr::writeSmallPlotFile() 1 3.326e-05 3.326e-05 3.326e-05 0.01% MLMG::mgVcycle_down::3 36 3.324e-05 3.324e-05 3.324e-05 0.01% Castro::advance() 5 3.125e-05 3.125e-05 3.125e-05 0.01% Castro::finalize_advance() 5 3.048e-05 3.048e-05 3.048e-05 0.01% Castro::construct_new_source() 25 3.028e-05 3.028e-05 3.028e-05 0.01% MLMG::mgVcycle_up::4 36 3.011e-05 3.011e-05 3.011e-05 0.01% Castro::buildMetrics() 1 2.949e-05 2.949e-05 2.949e-05 0.01% Castro::post_restart() 1 2.938e-05 2.938e-05 2.938e-05 0.01% Castro::construct_old_source() 25 2.644e-05 2.644e-05 2.644e-05 0.01% Castro::initMFs() 1 2.448e-05 2.448e-05 2.448e-05 0.01% MLCellLinOp::solutionResidual() 42 2.429e-05 2.429e-05 2.429e-05 0.00% MLMG::oneIter() 36 2.388e-05 2.388e-05 2.388e-05 0.00% Castro::swap_state_time_levels() 5 2.384e-05 2.384e-05 2.384e-05 0.00% MLMG::mgVcycle_up::0 36 2.379e-05 2.379e-05 2.379e-05 0.00% MLMG::mgVcycle_up::3 36 2.191e-05 2.191e-05 2.191e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.153e-05 2.153e-05 2.153e-05 0.00% MLMG::mgVcycle_up::2 36 2.117e-05 2.117e-05 2.117e-05 0.00% MLMG::mgVcycle_up::1 36 2.028e-05 2.028e-05 2.028e-05 0.00% MLMG::ResNormInf() 42 1.966e-05 1.966e-05 1.966e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.7e-05 1.7e-05 1.7e-05 0.00% FillPatchSingleLevel 20 1.61e-05 1.61e-05 1.61e-05 0.00% makeSFC 30 1.606e-05 1.606e-05 1.606e-05 0.00% MLMG::mgVcycle_bottom 36 1.584e-05 1.584e-05 1.584e-05 0.00% Castro::construct_new_gravity() 5 1.547e-05 1.547e-05 1.547e-05 0.00% MLPoisson::define() 6 1.463e-05 1.463e-05 1.463e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.454e-05 1.454e-05 1.454e-05 0.00% MLMG::computeResidual() 36 1.418e-05 1.418e-05 1.418e-05 0.00% Castro::do_old_sources() 5 1.21e-05 1.21e-05 1.21e-05 0.00% Castro::do_new_sources() 5 1.048e-05 1.048e-05 1.048e-05 0.00% MLPoisson::prepareForSolve() 6 1.027e-05 1.027e-05 1.027e-05 0.00% DistributionMapping::Distribute() 31 1e-05 1e-05 1e-05 0.00% Amr::initSubcycle() 1 9.395e-06 9.395e-06 9.395e-06 0.00% MLMG::computeMLResidual() 6 9.167e-06 9.167e-06 9.167e-06 0.00% Gravity::actual_multilevel_solve() 1 8.341e-06 8.341e-06 8.341e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.789e-06 7.789e-06 7.789e-06 0.00% MLLinOp::define() 6 6.68e-06 6.68e-06 6.68e-06 0.00% Castro::construct_old_gravity() 5 6.55e-06 6.55e-06 6.55e-06 0.00% Castro::apply_source_to_state() 10 6.416e-06 6.416e-06 6.416e-06 0.00% Castro::check_for_nan() 10 6.007e-06 6.007e-06 6.007e-06 0.00% Gravity::swapTimeLevels() 5 4.706e-06 4.706e-06 4.706e-06 0.00% MLMG::getGradSolution() 6 3.553e-06 3.553e-06 3.553e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.549e-06 3.549e-06 3.549e-06 0.00% Castro::computeNewDt() 5 3.487e-06 3.487e-06 3.487e-06 0.00% Castro::expand_state() 5 2.936e-06 2.936e-06 2.936e-06 0.00% Gravity::set_mass_offset() 6 2.566e-06 2.566e-06 2.566e-06 0.00% MLMG::MLResNormInf() 6 2.426e-06 2.426e-06 2.426e-06 0.00% MLMG::MLRhsNormInf() 6 2.403e-06 2.403e-06 2.403e-06 0.00% Castro::retry_advance_ctu() 5 2.051e-06 2.051e-06 2.051e-06 0.00% Castro::FluxRegCrseInit 5 1.58e-06 1.58e-06 1.58e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.312e-06 1.312e-06 1.312e-06 0.00% Castro::FluxRegFineAdd() 5 1.265e-06 1.265e-06 1.265e-06 0.00% Amr::init() 1 1.034e-06 1.034e-06 1.034e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4885 0.4885 0.4885 100.00% Amr::coarseTimeStep() 5 0.3467 0.3467 0.3467 70.97% Amr::timeStep() 5 0.3447 0.3447 0.3447 70.56% Castro::advance() 5 0.339 0.339 0.339 69.40% Castro::subcycle_advance_ctu() 5 0.3319 0.3319 0.3319 67.94% Castro::do_advance_ctu() 5 0.3318 0.3318 0.3318 67.92% Castro::construct_ctu_hydro_source() 5 0.1563 0.1563 0.1563 31.99% Castro::construct_new_gravity() 5 0.1395 0.1395 0.1395 28.56% Gravity::solve_phi_with_mlmg() 6 0.1371 0.1371 0.1371 28.06% Gravity::actual_solve_with_mlmg() 6 0.1316 0.1316 0.1316 26.94% Gravity::solve_for_phi() 5 0.1315 0.1315 0.1315 26.92% MLMG::solve() 6 0.1197 0.1197 0.1197 24.51% MLMG::oneIter() 36 0.1123 0.1123 0.1123 22.98% MLMG::mgVcycle() 36 0.1107 0.1107 0.1107 22.66% Amr::init() 1 0.07202 0.07202 0.07202 14.74% Amr::restart() 1 0.07202 0.07202 0.07202 14.74% Amr::writePlotFile() 1 0.06898 0.06898 0.06898 14.12% AmrLevel::restart() 1 0.06094 0.06094 0.06094 12.47% StateData::restartDoit() 4 0.06085 0.06085 0.06085 12.46% VisMF::Read() 3 0.06057 0.06057 0.06057 12.40% MLCellLinOp::smooth() 720 0.05864 0.05864 0.05864 12.00% MLCellLinOp::applyBC() 1910 0.0548 0.0548 0.0548 11.22% MLMG::mgVcycle_bottom 36 0.0311 0.0311 0.0311 6.37% MLMG::actualBottomSolve() 36 0.03108 0.03108 0.03108 6.36% MLCGSolver::bicgstab 36 0.03076 0.03076 0.03076 6.30% Castro::clean_state() 30 0.02597 0.02597 0.02597 5.32% VisMF::Write(FabArray) 1 0.02526 0.02526 0.02526 5.17% AmrLevel::FillPatch() 20 0.02299 0.02299 0.02299 4.71% FillPatchIterator::Initialize 20 0.0209 0.0209 0.0209 4.28% FillPatchIterator::FillFromLevel0() 20 0.02013 0.02013 0.02013 4.12% FillPatchSingleLevel 20 0.0201 0.0201 0.0201 4.12% StateDataPhysBCFunct::() 20 0.01805 0.01805 0.01805 3.69% MLCellLinOp::apply() 464 0.01556 0.01556 0.01556 3.19% MLMG::mgVcycle_down::0 36 0.01468 0.01468 0.01468 3.00% MLPoisson::Fsmooth() 1440 0.01451 0.01451 0.01451 2.97% FabArray::FillBoundary() 1730 0.01355 0.01355 0.01355 2.77% MLMG::mgVcycle_down::4 36 0.01348 0.01348 0.01348 2.76% FillBoundary_nowait() 1730 0.01314 0.01314 0.01314 2.69% StateData::FillBoundary(geom) 160 0.01258 0.01258 0.01258 2.57% MLMG::mgVcycle_up::0 36 0.01116 0.01116 0.01116 2.28% Castro::initialize_do_advance() 5 0.01061 0.01061 0.01061 2.17% Castro::normalize_species() 30 0.009578 0.009578 0.009578 1.96% Castro::computeTemp() 30 0.009474 0.009474 0.009474 1.94% MLPoisson::define() 6 0.009274 0.009274 0.009274 1.90% Castro::do_old_sources() 5 0.009242 0.009242 0.009242 1.89% amrex::Dot() 484 0.009038 0.009038 0.009038 1.85% FabArray::norminf() 465 0.008696 0.008696 0.008696 1.78% MLMG:computeResOfCorrection() 180 0.008629 0.008629 0.008629 1.77% MLCellLinOp::correctionResidual() 180 0.008576 0.008576 0.008576 1.76% Gravity::get_new_grav_vector() 5 0.007879 0.007879 0.007879 1.61% Castro::construct_old_gravity() 5 0.007662 0.007662 0.007662 1.57% Gravity::get_old_grav_vector() 5 0.007655 0.007655 0.007655 1.57% MLMG::mgVcycle_down::1 36 0.00716 0.00716 0.00716 1.47% Castro::do_new_sources() 5 0.006862 0.006862 0.006862 1.40% Castro::initialize_advance() 5 0.00681 0.00681 0.00681 1.39% MLMG::mgVcycle_down::2 36 0.006576 0.006576 0.006576 1.35% FabArray::ParallelCopy() 380 0.006574 0.006574 0.006574 1.35% FabArray::ParallelCopy_nowait() 380 0.006453 0.006453 0.006453 1.32% MLCellLinOp::defineAuxData() 6 0.006379 0.006379 0.006379 1.31% MLMG::mgVcycle_down::3 36 0.006377 0.006377 0.006377 1.31% FabArray::setVal() 501 0.006291 0.006291 0.006291 1.29% Castro::post_restart() 1 0.006147 0.006147 0.006147 1.26% Castro::expand_state() 5 0.006056 0.006056 0.006056 1.24% Gravity::multilevel_solve_for_new_phi() 1 0.005771 0.005771 0.005771 1.18% Castro::enforce_min_density() 30 0.005755 0.005755 0.005755 1.18% Gravity::actual_multilevel_solve() 1 0.005754 0.005754 0.005754 1.18% FabArray::Saxpy() 597 0.005711 0.005711 0.005711 1.17% Castro::post_timestep() 5 0.005544 0.005544 0.005544 1.14% MLCGSolver::ParallelAllReduce 798 0.005508 0.005508 0.005508 1.13% MLMG::addInterpCorrection() 180 0.00535 0.00535 0.00535 1.10% amrex::Copy() 221 0.005345 0.005345 0.005345 1.09% Gravity::fill_multipole_BCs() 6 0.005341 0.005341 0.005341 1.09% MLMG::mgVcycle_up::4 36 0.005115 0.005115 0.005115 1.05% MLMG::mgVcycle_up::1 36 0.005088 0.005088 0.005088 1.04% MLMG::mgVcycle_up::2 36 0.004997 0.004997 0.004997 1.02% amrex::average_down 180 0.00498 0.00498 0.00498 1.02% MLMG::mgVcycle_up::3 36 0.004886 0.004886 0.004886 1.00% MLPoisson::Fapply() 464 0.004372 0.004372 0.004372 0.89% MLCellLinOp::solutionResidual() 42 0.003531 0.003531 0.003531 0.72% FabArray::Xpay() 325 0.003345 0.003345 0.003345 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002834 0.002834 0.002834 0.58% Castro::estTimeStep() 10 0.002833 0.002833 0.002833 0.58% MLMG::prepareForSolve() 6 0.002792 0.002792 0.002792 0.57% MLMG::computeResidual() 36 0.002745 0.002745 0.002745 0.56% MLCellLinOp::defineBC() 6 0.002744 0.002744 0.002744 0.56% BndryData::define() 6 0.002586 0.002586 0.002586 0.53% Castro::construct_new_source() 25 0.001865 0.001865 0.001865 0.38% Castro::computeNewDt() 5 0.001841 0.001841 0.001841 0.38% Castro::construct_new_gravity_source() 5 0.001835 0.001835 0.001835 0.38% Castro::construct_old_source() 25 0.00153 0.00153 0.00153 0.31% amrex::Add() 36 0.001529 0.001529 0.001529 0.31% Castro::construct_old_gravity_source() 5 0.001504 0.001504 0.001504 0.31% Castro::enforce_speed_limit() 30 0.001124 0.001124 0.001124 0.23% Castro::finalize_do_advance() 5 0.001062 0.001062 0.001062 0.22% MLMG::ResNormInf() 42 0.0009702 0.0009702 0.0009702 0.20% Castro::apply_source_to_state() 10 0.0009685 0.0009685 0.0009685 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009518 0.0009518 0.0009518 0.19% check_for_negative_density() 5 0.00088 0.00088 0.00088 0.18% MLMG::getGradSolution() 6 0.0008792 0.0008792 0.0008792 0.18% MLCellLinOp::compGrad() 6 0.0008757 0.0008757 0.0008757 0.18% MLCellLinOp::setLevelBC() 6 0.000844 0.000844 0.000844 0.17% FabArrayBase::getCPC() 632 0.0008269 0.0008269 0.0008269 0.17% MLMG::computeMLResidual() 6 0.0008088 0.0008088 0.0008088 0.17% Castro::reset_internal_energy(Fab) 240 0.0008042 0.0008042 0.0008042 0.16% MLPoisson::prepareForSolve() 6 0.0007427 0.0007427 0.0007427 0.15% MLCellLinOp::prepareForSolve() 6 0.0007324 0.0007324 0.0007324 0.15% Gravity::update_max_rhs() 6 0.0007116 0.0007116 0.0007116 0.15% FabArray::mult() 22 0.00068 0.00068 0.00068 0.14% Castro::check_for_nan() 10 0.000668 0.000668 0.000668 0.14% FabArray::setDomainBndry() 20 0.0006631 0.0006631 0.0006631 0.14% MultiFab::contains_nan() 10 0.0006619 0.0006619 0.0006619 0.14% Amr::InitAmr() 1 0.0004765 0.0004765 0.0004765 0.10% FabArrayBase::CPC::define() 244 0.0004279 0.0004279 0.0004279 0.09% FabArrayBase::getFB() 1730 0.0003276 0.0003276 0.0003276 0.07% Castro::finalize_advance() 5 0.0002912 0.0002912 0.0002912 0.06% Gravity::swapTimeLevels() 5 0.0002267 0.0002267 0.0002267 0.05% MultiFab::max() 6 0.0002043 0.0002043 0.0002043 0.04% MLMG::MLResNormInf() 6 0.0001877 0.0001877 0.0001877 0.04% Castro::buildMetrics() 1 0.0001521 0.0001521 0.0001521 0.03% MLLinOp::define() 6 0.0001371 0.0001371 0.0001371 0.03% MLLinOp::defineGrids() 6 0.0001304 0.0001304 0.0001304 0.03% MLMG::MLRhsNormInf() 6 0.0001189 0.0001189 0.0001189 0.02% Castro::create_source_corrector() 5 9.979e-05 9.979e-05 9.979e-05 0.02% FabArrayBase::FB::FB() 26 6.067e-05 6.067e-05 6.067e-05 0.01% Amr::writeSmallPlotFile() 1 3.326e-05 3.326e-05 3.326e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.263e-05 3.263e-05 3.263e-05 0.01% makeSFC 30 2.484e-05 2.484e-05 2.484e-05 0.01% Castro::initMFs() 1 2.448e-05 2.448e-05 2.448e-05 0.01% Castro::swap_state_time_levels() 5 2.384e-05 2.384e-05 2.384e-05 0.00% DistributionMapping::Distribute() 31 1e-05 1e-05 1e-05 0.00% Amr::initSubcycle() 1 9.395e-06 9.395e-06 9.395e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.763e-06 4.763e-06 4.763e-06 0.00% Gravity::set_mass_offset() 6 2.566e-06 2.566e-06 2.566e-06 0.00% Castro::retry_advance_ctu() 5 2.051e-06 2.051e-06 2.051e-06 0.00% Castro::FluxRegCrseInit 5 1.58e-06 1.58e-06 1.58e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.312e-06 1.312e-06 1.312e-06 0.00% Castro::FluxRegFineAdd() 5 1.265e-06 1.265e-06 1.265e-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 162 MiB 9042 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 940 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1528 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6548 KiB 14 MiB MLMG::prepareForSolve() 361 361 3010 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 162 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 165 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6537 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2888 B 2048 KiB Gravity::solve_for_phi() 40 40 550 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 276 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 177 KiB 671 KiB Castro::estTimeStep() 10 10 2774 B 480 KiB VisMF::Write(FabArray) 112 112 2065 B 320 KiB Castro::normalize_species() 30 30 6382 B 320 KiB amrex::average_down 469 469 1018 B 257 KiB MLMG::addInterpCorrection() 468 468 943 B 257 KiB amrex::Dot() 592 592 2727 B 160 KiB FabArray::norminf() 501 501 2748 B 160 KiB check_for_negative_density() 5 5 289 B 160 KiB MultiFab::max() 6 6 65 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 2922 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 227 B 9648 B MLCellLinOp::applyBC() 3820 3820 192 B 9344 B amrex::Copy() 56 56 5579 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 311 B 1248 B MLCGSolver::bicgstab 180 180 75 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1011 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 76 KiB 8192 KiB VisMF::Write(FabArray) 120 120 134 KiB 3584 KiB VisMF::Read() 24 24 186 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2922 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 227 B 9648 B MLCellLinOp::applyBC() 1910 1910 191 B 9328 B amrex::Copy() 56 56 5579 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2577 B 3072 B StateData::FillBoundary(geom) 960 960 38 B 3024 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 483 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 20 B 400 B FabArray::norminf() 501 501 7 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-1-g296ed40e16ae) finalized