Initializing AMReX (24.01-31-gab99ea69089f)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-31-gab99ea69089f) initialized Starting run at 09:40:32 UTC on 2024-01-30. Successfully read inputs file ... Castro git describe: 24.01-24-g6d8abef7c AMReX git describe: 24.01-31-gab99ea690 Microphysics git describe: 24.01-19-g6d5a4e1a 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.045404456 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025493942 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.067180923 [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.068963925 [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.070649486 [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.056596409 [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.069648577 [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.046027433 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.063359226 [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.070915745 [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.07110825 [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.051541263 [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.067930128 [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.044061201 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025282014 seconds Ending run at 09:40:33 UTC on 2024-01-30. Run time = 0.900309787 Run time without initialization = 0.77401766 Average number of zones advanced per microsecond: 3.387 Average number of zones advanced per microsecond per rank: 3.387 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9003 ... 0.9003 ... 0.9003 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2703 0.2703 0.2703 30.02% VisMF::Write(FabArray) 11 0.1777 0.1777 0.1777 19.74% MLCellLinOp::applyBC() 4351 0.08032 0.08032 0.08032 8.92% MLPoisson::Fsmooth() 3280 0.03407 0.03407 0.03407 3.78% FillBoundary_nowait() 3941 0.02995 0.02995 0.02995 3.33% StateData::FillBoundary(geom) 328 0.02708 0.02708 0.02708 3.01% amrex::Dot() 1114 0.02169 0.02169 0.02169 2.41% Castro::normalize_species() 62 0.02024 0.02024 0.02024 2.25% FabArray::norminf() 1061 0.02016 0.02016 0.02016 2.24% FabArray::ParallelCopy_nowait() 861 0.01931 0.01931 0.01931 2.14% Castro::computeTemp() 63 0.01594 0.01594 0.01594 1.77% FabArray::Saxpy() 1370 0.01325 0.01325 0.01325 1.47% FabArray::setVal() 1062 0.01325 0.01325 0.01325 1.47% Castro::enforce_min_density() 62 0.01319 0.01319 0.01319 1.46% StateDataPhysBCFunct::() 41 0.01144 0.01144 0.01144 1.27% MLCellLinOp::defineAuxData() 11 0.01093 0.01093 0.01093 1.21% amrex::Copy() 472 0.01085 0.01085 0.01085 1.21% MLPoisson::Fapply() 1060 0.01035 0.01035 0.01035 1.15% Gravity::fill_multipole_BCs() 11 0.008756 0.008756 0.008756 0.97% FabArray::Xpay() 739 0.007849 0.007849 0.007849 0.87% MLMG::addInterpCorrection() 410 0.007024 0.007024 0.007024 0.78% Castro::estTimeStep() 21 0.006524 0.006524 0.006524 0.72% amrex::average_down 410 0.006236 0.006236 0.006236 0.69% Amr::checkPoint() 3 0.005948 0.005948 0.005948 0.66% Castro::reset_internal_energy(MultiFab) 63 0.004907 0.004907 0.004907 0.55% Castro::enforce_speed_limit() 62 0.004315 0.004315 0.004315 0.48% BndryData::define() 11 0.003917 0.003917 0.003917 0.44% amrex::Add() 82 0.003591 0.003591 0.003591 0.40% Castro::construct_new_gravity_source() 10 0.003518 0.003518 0.003518 0.39% Castro::construct_old_gravity_source() 10 0.003011 0.003011 0.003011 0.33% Amr::writePlotFile() 2 0.002108 0.002108 0.002108 0.23% check_for_negative_density() 10 0.00184 0.00184 0.00184 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001793 0.001793 0.001793 0.20% Castro::reset_internal_energy(Fab) 504 0.001726 0.001726 0.001726 0.19% MLCGSolver::bicgstab 82 0.001725 0.001725 0.001725 0.19% Gravity::actual_solve_with_mlmg() 11 0.00161 0.00161 0.00161 0.18% MLCellLinOp::setLevelBC() 11 0.001596 0.001596 0.001596 0.18% Castro::initData() 1 0.001546 0.001546 0.001546 0.17% FabArray::mult() 43 0.001376 0.001376 0.001376 0.15% FabArray::setDomainBndry() 41 0.001363 0.001363 0.001363 0.15% MLCellLinOp::prepareForSolve() 11 0.001362 0.001362 0.001362 0.15% MultiFab::contains_nan() 20 0.001301 0.001301 0.001301 0.14% MLCellLinOp::smooth() 1640 0.001219 0.001219 0.001219 0.14% MLCellLinOp::compGrad() 11 0.001067 0.001067 0.001067 0.12% MLMG::prepareForSolve() 11 0.0009904 0.0009904 0.0009904 0.11% FabArray::FillBoundary() 3941 0.0008746 0.0008746 0.0008746 0.10% FabArrayBase::getCPC() 1323 0.0007959 0.0007959 0.0007959 0.09% FabArrayBase::CPC::define() 454 0.0006774 0.0006774 0.0006774 0.08% FabArrayBase::getFB() 3941 0.0006343 0.0006343 0.0006343 0.07% Gravity::get_new_grav_vector() 11 0.0006033 0.0006033 0.0006033 0.07% Amr::InitAmr() 1 0.0005938 0.0005938 0.0005938 0.07% Gravity::get_old_grav_vector() 10 0.0004839 0.0004839 0.0004839 0.05% Amr::coarseTimeStep() 10 0.0004458 0.0004458 0.0004458 0.05% MLCellLinOp::apply() 1060 0.0004431 0.0004431 0.0004431 0.05% AmrLevel::FillPatch() 41 0.0004327 0.0004327 0.0004327 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003432 0.0003432 0.0003432 0.04% MultiFab::max() 11 0.0003377 0.0003377 0.0003377 0.04% main() 1 0.0003034 0.0003034 0.0003034 0.03% MLCellLinOp::defineBC() 11 0.0002851 0.0002851 0.0002851 0.03% FabArray::ParallelCopy() 861 0.0002435 0.0002435 0.0002435 0.03% Castro::subcycle_advance_ctu() 10 0.0002417 0.0002417 0.0002417 0.03% FillPatchIterator::Initialize 41 0.0002182 0.0002182 0.0002182 0.02% MLMG::mgVcycle() 82 0.0002033 0.0002033 0.0002033 0.02% Amr::timeStep() 10 0.0001877 0.0001877 0.0001877 0.02% MLCellLinOp::correctionResidual() 410 0.0001773 0.0001773 0.0001773 0.02% MLLinOp::defineGrids() 11 0.0001742 0.0001742 0.0001742 0.02% Castro::create_source_corrector() 10 0.0001692 0.0001692 0.0001692 0.02% StateData::checkPoint() 12 0.0001375 0.0001375 0.0001375 0.02% Castro::advance() 10 0.0001334 0.0001334 0.0001334 0.01% Gravity::update_max_rhs() 11 0.0001313 0.0001313 0.0001313 0.01% MLMG:computeResOfCorrection() 410 0.0001121 0.0001121 0.0001121 0.01% Gravity::solve_for_phi() 10 0.0001117 0.0001117 0.0001117 0.01% MLMG::mgVcycle_down::0 82 0.0001005 0.0001005 0.0001005 0.01% Castro::Castro() 1 9.745e-05 9.745e-05 9.745e-05 0.01% MLMG::actualBottomSolve() 82 9.237e-05 9.237e-05 9.237e-05 0.01% Castro::clean_state() 62 9.025e-05 9.025e-05 9.025e-05 0.01% FabArrayBase::FB::FB() 56 8.885e-05 8.885e-05 8.885e-05 0.01% MLMG::mgVcycle_down::2 82 8.307e-05 8.307e-05 8.307e-05 0.01% MLMG::mgVcycle_down::1 82 8.219e-05 8.219e-05 8.219e-05 0.01% Castro::initialize_advance() 10 8.087e-05 8.087e-05 8.087e-05 0.01% MLMG::mgVcycle_down::4 82 7.908e-05 7.908e-05 7.908e-05 0.01% AmrLevel::checkPoint() 3 7.879e-05 7.879e-05 7.879e-05 0.01% MLMG::solve() 11 7.792e-05 7.792e-05 7.792e-05 0.01% MLMG::mgVcycle_down::3 82 7.733e-05 7.733e-05 7.733e-05 0.01% Castro::construct_new_source() 50 7.269e-05 7.269e-05 7.269e-05 0.01% Castro::enforce_consistent_e() 1 7.053e-05 7.053e-05 7.053e-05 0.01% Castro::initialize_do_advance() 10 6.978e-05 6.978e-05 6.978e-05 0.01% Castro::finalize_advance() 10 6.45e-05 6.45e-05 6.45e-05 0.01% MLMG::mgVcycle_up::4 82 6.2e-05 6.2e-05 6.2e-05 0.01% MLMG::oneIter() 82 5.511e-05 5.511e-05 5.511e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.47e-05 5.47e-05 5.47e-05 0.01% Castro::do_advance_ctu() 10 5.432e-05 5.432e-05 5.432e-05 0.01% MLCellLinOp::solutionResidual() 93 5.279e-05 5.279e-05 5.279e-05 0.01% MLMG::mgVcycle_up::0 82 5.156e-05 5.156e-05 5.156e-05 0.01% MLMG::mgVcycle_up::3 82 4.845e-05 4.845e-05 4.845e-05 0.01% MLMG::mgVcycle_up::1 82 4.792e-05 4.792e-05 4.792e-05 0.01% MLMG::mgVcycle_up::2 82 4.677e-05 4.677e-05 4.677e-05 0.01% Castro::finalize_do_advance() 10 4.654e-05 4.654e-05 4.654e-05 0.01% StateData::define() 4 4.201e-05 4.201e-05 4.201e-05 0.00% MLMG::ResNormInf() 93 3.946e-05 3.946e-05 3.946e-05 0.00% FillPatchSingleLevel 41 3.865e-05 3.865e-05 3.865e-05 0.00% Castro::initMFs() 1 3.841e-05 3.841e-05 3.841e-05 0.00% Castro::swap_state_time_levels() 10 3.689e-05 3.689e-05 3.689e-05 0.00% MLMG::mgVcycle_bottom 82 3.343e-05 3.343e-05 3.343e-05 0.00% Amr::writeSmallPlotFile() 1 3.048e-05 3.048e-05 3.048e-05 0.00% MLMG::computeResidual() 82 2.958e-05 2.958e-05 2.958e-05 0.00% Castro::construct_new_gravity() 10 2.918e-05 2.918e-05 2.918e-05 0.00% Amr::defBaseLevel() 1 2.869e-05 2.869e-05 2.869e-05 0.00% Castro::buildMetrics() 1 2.741e-05 2.741e-05 2.741e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.603e-05 2.603e-05 2.603e-05 0.00% makeSFC 55 2.54e-05 2.54e-05 2.54e-05 0.00% Castro::construct_old_source() 50 2.39e-05 2.39e-05 2.39e-05 0.00% Castro::do_old_sources() 10 2.316e-05 2.316e-05 2.316e-05 0.00% Amr::FinalizeInit() 1 2.192e-05 2.192e-05 2.192e-05 0.00% MLPoisson::define() 11 2.101e-05 2.101e-05 2.101e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.915e-05 1.915e-05 1.915e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.893e-05 1.893e-05 1.893e-05 0.00% Castro::do_new_sources() 10 1.845e-05 1.845e-05 1.845e-05 0.00% DistributionMapping::Distribute() 56 1.794e-05 1.794e-05 1.794e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.525e-05 1.525e-05 1.525e-05 0.00% MLLinOp::define() 11 1.441e-05 1.441e-05 1.441e-05 0.00% MLPoisson::prepareForSolve() 11 1.363e-05 1.363e-05 1.363e-05 0.00% MLMG::computeMLResidual() 11 1.276e-05 1.276e-05 1.276e-05 0.00% Castro::construct_old_gravity() 10 1.199e-05 1.199e-05 1.199e-05 0.00% Castro::check_for_nan() 20 1.159e-05 1.159e-05 1.159e-05 0.00% Castro::post_init() 1 1.119e-05 1.119e-05 1.119e-05 0.00% Castro::apply_source_to_state() 20 1.101e-05 1.101e-05 1.101e-05 0.00% Amr::initSubcycle() 1 1.034e-05 1.034e-05 1.034e-05 0.00% Gravity::swapTimeLevels() 10 9.384e-06 9.384e-06 9.384e-06 0.00% Gravity::actual_multilevel_solve() 1 9.008e-06 9.008e-06 9.008e-06 0.00% Castro::post_timestep() 10 8.235e-06 8.235e-06 8.235e-06 0.00% MLMG::getGradSolution() 11 6.554e-06 6.554e-06 6.554e-06 0.00% Castro::computeNewDt() 9 6.235e-06 6.235e-06 6.235e-06 0.00% Castro::expand_state() 10 5.743e-06 5.743e-06 5.743e-06 0.00% Amr::InitializeInit() 1 5.181e-06 5.181e-06 5.181e-06 0.00% Castro::retry_advance_ctu() 10 4.921e-06 4.921e-06 4.921e-06 0.00% AmrLevel::checkPointPost() 3 4.767e-06 4.767e-06 4.767e-06 0.00% MLMG::MLRhsNormInf() 11 4.358e-06 4.358e-06 4.358e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.15e-06 4.15e-06 4.15e-06 0.00% Gravity::set_mass_offset() 11 3.878e-06 3.878e-06 3.878e-06 0.00% Castro::computeInitialDt() 2 3.85e-06 3.85e-06 3.85e-06 0.00% MLMG::MLResNormInf() 11 3.532e-06 3.532e-06 3.532e-06 0.00% Amr::init() 1 3.103e-06 3.103e-06 3.103e-06 0.00% Castro::FluxRegCrseInit 10 2.783e-06 2.783e-06 2.783e-06 0.00% Castro::FluxRegFineAdd() 10 2.376e-06 2.376e-06 2.376e-06 0.00% AmrLevel::checkPointPre() 3 2.292e-06 2.292e-06 2.292e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.109e-06 2.109e-06 2.109e-06 0.00% Amr::initialInit() 1 1.729e-06 1.729e-06 1.729e-06 0.00% Castro::post_regrid() 1 1.591e-06 1.591e-06 1.591e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9003 0.9003 0.9003 100.00% Amr::coarseTimeStep() 10 0.7485 0.7485 0.7485 83.14% Amr::timeStep() 10 0.6542 0.6542 0.6542 72.66% Castro::advance() 10 0.6422 0.6422 0.6422 71.33% Castro::subcycle_advance_ctu() 10 0.6272 0.6272 0.6272 69.66% Castro::do_advance_ctu() 10 0.627 0.627 0.627 69.64% Gravity::solve_phi_with_mlmg() 11 0.2948 0.2948 0.2948 32.74% Gravity::actual_solve_with_mlmg() 11 0.2855 0.2855 0.2855 31.71% Castro::construct_ctu_hydro_source() 10 0.2809 0.2809 0.2809 31.20% Castro::construct_new_gravity() 10 0.2654 0.2654 0.2654 29.47% MLMG::solve() 11 0.2629 0.2629 0.2629 29.20% Gravity::solve_for_phi() 10 0.2496 0.2496 0.2496 27.72% MLMG::oneIter() 82 0.2475 0.2475 0.2475 27.48% MLMG::mgVcycle() 82 0.2438 0.2438 0.2438 27.08% VisMF::Write(FabArray) 11 0.1777 0.1777 0.1777 19.74% Amr::checkPoint() 3 0.1356 0.1356 0.1356 15.07% AmrLevel::checkPoint() 3 0.1297 0.1297 0.1297 14.40% StateData::checkPoint() 12 0.1296 0.1296 0.1296 14.39% Amr::init() 1 0.1256 0.1256 0.1256 13.95% MLCellLinOp::smooth() 1640 0.1212 0.1212 0.1212 13.46% MLCellLinOp::applyBC() 4351 0.1119 0.1119 0.1119 12.42% MLMG::mgVcycle_bottom 82 0.07363 0.07363 0.07363 8.18% MLMG::actualBottomSolve() 82 0.0736 0.0736 0.0736 8.17% MLCGSolver::bicgstab 82 0.07285 0.07285 0.07285 8.09% Castro::clean_state() 62 0.05953 0.05953 0.05953 6.61% Amr::initialInit() 1 0.05452 0.05452 0.05452 6.06% AmrLevel::FillPatch() 41 0.05423 0.05423 0.05423 6.02% Amr::writePlotFile() 2 0.05089 0.05089 0.05089 5.65% FillPatchIterator::Initialize 41 0.04992 0.04992 0.04992 5.55% Amr::FinalizeInit() 1 0.04951 0.04951 0.04951 5.50% FillPatchIterator::FillFromLevel0() 41 0.04834 0.04834 0.04834 5.37% FillPatchSingleLevel 41 0.04829 0.04829 0.04829 5.36% Castro::post_init() 1 0.04804 0.04804 0.04804 5.34% Gravity::multilevel_solve_for_new_phi() 1 0.04561 0.04561 0.04561 5.07% Gravity::actual_multilevel_solve() 1 0.04559 0.04559 0.04559 5.06% StateDataPhysBCFunct::() 41 0.03852 0.03852 0.03852 4.28% MLCellLinOp::apply() 1060 0.03626 0.03626 0.03626 4.03% MLMG::mgVcycle_down::0 82 0.03419 0.03419 0.03419 3.80% MLPoisson::Fsmooth() 3280 0.03407 0.03407 0.03407 3.78% FabArray::FillBoundary() 3941 0.03155 0.03155 0.03155 3.50% FillBoundary_nowait() 3941 0.03067 0.03067 0.03067 3.41% StateData::FillBoundary(geom) 328 0.02708 0.02708 0.02708 3.01% Castro::do_old_sources() 10 0.02574 0.02574 0.02574 2.86% MLMG::mgVcycle_up::0 82 0.02566 0.02566 0.02566 2.85% Castro::initialize_do_advance() 10 0.02291 0.02291 0.02291 2.54% Castro::computeTemp() 63 0.02257 0.02257 0.02257 2.51% amrex::Dot() 1114 0.02169 0.02169 0.02169 2.41% MLMG:computeResOfCorrection() 410 0.02042 0.02042 0.02042 2.27% FabArray::ParallelCopy() 861 0.02034 0.02034 0.02034 2.26% MLCellLinOp::correctionResidual() 410 0.02031 0.02031 0.02031 2.26% Castro::normalize_species() 62 0.02024 0.02024 0.02024 2.25% FabArray::norminf() 1061 0.02016 0.02016 0.02016 2.24% FabArray::ParallelCopy_nowait() 861 0.02009 0.02009 0.02009 2.23% MLPoisson::define() 11 0.01788 0.01788 0.01788 1.99% Gravity::get_new_grav_vector() 11 0.01776 0.01776 0.01776 1.97% MLMG::mgVcycle_down::1 82 0.01673 0.01673 0.01673 1.86% MLMG::mgVcycle_down::2 82 0.01557 0.01557 0.01557 1.73% Castro::construct_old_gravity() 10 0.01548 0.01548 0.01548 1.72% Gravity::get_old_grav_vector() 10 0.01547 0.01547 0.01547 1.72% MLMG::mgVcycle_down::3 82 0.0152 0.0152 0.0152 1.69% MLMG::mgVcycle_down::4 82 0.01506 0.01506 0.01506 1.67% Castro::initialize_advance() 10 0.01429 0.01429 0.01429 1.59% FabArray::Saxpy() 1370 0.01325 0.01325 0.01325 1.47% FabArray::setVal() 1062 0.01325 0.01325 0.01325 1.47% Castro::enforce_min_density() 62 0.01319 0.01319 0.01319 1.46% MLCGSolver::ParallelAllReduce 1832 0.01304 0.01304 0.01304 1.45% Castro::do_new_sources() 10 0.01295 0.01295 0.01295 1.44% MLCellLinOp::defineAuxData() 11 0.0124 0.0124 0.0124 1.38% MLMG::addInterpCorrection() 410 0.01229 0.01229 0.01229 1.37% MLMG::mgVcycle_up::1 82 0.0121 0.0121 0.0121 1.34% Castro::expand_state() 10 0.01206 0.01206 0.01206 1.34% MLMG::mgVcycle_up::4 82 0.01198 0.01198 0.01198 1.33% MLMG::mgVcycle_up::2 82 0.0119 0.0119 0.0119 1.32% Castro::post_timestep() 10 0.01181 0.01181 0.01181 1.31% MLMG::mgVcycle_up::3 82 0.01158 0.01158 0.01158 1.29% amrex::average_down 410 0.01157 0.01157 0.01157 1.29% amrex::Copy() 472 0.01085 0.01085 0.01085 1.21% MLPoisson::Fapply() 1060 0.01035 0.01035 0.01035 1.15% Gravity::fill_multipole_BCs() 11 0.008991 0.008991 0.008991 1.00% FabArray::Xpay() 739 0.007849 0.007849 0.007849 0.87% MLCellLinOp::solutionResidual() 93 0.007667 0.007667 0.007667 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006633 0.006633 0.006633 0.74% Castro::estTimeStep() 21 0.006524 0.006524 0.006524 0.72% MLMG::computeResidual() 82 0.006368 0.006368 0.006368 0.71% MLCellLinOp::defineBC() 11 0.005221 0.005221 0.005221 0.58% MLMG::prepareForSolve() 11 0.005217 0.005217 0.005217 0.58% Amr::InitializeInit() 1 0.005011 0.005011 0.005011 0.56% Amr::defBaseLevel() 1 0.005005 0.005005 0.005005 0.56% BndryData::define() 11 0.004935 0.004935 0.004935 0.55% Castro::enforce_speed_limit() 62 0.004315 0.004315 0.004315 0.48% Castro::initData() 1 0.004312 0.004312 0.004312 0.48% amrex::Add() 82 0.003591 0.003591 0.003591 0.40% Castro::construct_new_source() 50 0.003591 0.003591 0.003591 0.40% Castro::construct_new_gravity_source() 10 0.003518 0.003518 0.003518 0.39% Castro::construct_old_source() 50 0.003035 0.003035 0.003035 0.34% Castro::construct_old_gravity_source() 10 0.003011 0.003011 0.003011 0.33% Castro::computeNewDt() 9 0.002826 0.002826 0.002826 0.31% Castro::finalize_do_advance() 10 0.002628 0.002628 0.002628 0.29% MLMG::ResNormInf() 93 0.002199 0.002199 0.002199 0.24% Castro::apply_source_to_state() 20 0.001871 0.001871 0.001871 0.21% check_for_negative_density() 10 0.00184 0.00184 0.00184 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001793 0.001793 0.001793 0.20% Castro::reset_internal_energy(Fab) 504 0.001726 0.001726 0.001726 0.19% MLCellLinOp::setLevelBC() 11 0.001596 0.001596 0.001596 0.18% MLMG::getGradSolution() 11 0.001564 0.001564 0.001564 0.17% MLCellLinOp::compGrad() 11 0.001557 0.001557 0.001557 0.17% FabArrayBase::getCPC() 1323 0.001473 0.001473 0.001473 0.16% MLPoisson::prepareForSolve() 11 0.001376 0.001376 0.001376 0.15% FabArray::mult() 43 0.001376 0.001376 0.001376 0.15% FabArray::setDomainBndry() 41 0.001363 0.001363 0.001363 0.15% MLCellLinOp::prepareForSolve() 11 0.001362 0.001362 0.001362 0.15% MLMG::computeMLResidual() 11 0.001341 0.001341 0.001341 0.15% Castro::check_for_nan() 20 0.001312 0.001312 0.001312 0.15% MultiFab::contains_nan() 20 0.001301 0.001301 0.001301 0.14% Castro::post_regrid() 1 0.001151 0.001151 0.001151 0.13% Castro::computeInitialDt() 2 0.001127 0.001127 0.001127 0.13% Gravity::update_max_rhs() 11 0.001015 0.001015 0.001015 0.11% FabArrayBase::getFB() 3941 0.0007231 0.0007231 0.0007231 0.08% FabArrayBase::CPC::define() 454 0.0006774 0.0006774 0.0006774 0.08% Amr::InitAmr() 1 0.0006041 0.0006041 0.0006041 0.07% Castro::Castro() 1 0.0005978 0.0005978 0.0005978 0.07% Castro::finalize_advance() 10 0.000593 0.000593 0.000593 0.07% Gravity::swapTimeLevels() 10 0.0004578 0.0004578 0.0004578 0.05% MultiFab::max() 11 0.0003377 0.0003377 0.0003377 0.04% MLMG::MLResNormInf() 11 0.0003325 0.0003325 0.0003325 0.04% Castro::buildMetrics() 1 0.0002845 0.0002845 0.0002845 0.03% MLLinOp::define() 11 0.0002481 0.0002481 0.0002481 0.03% MLLinOp::defineGrids() 11 0.0002337 0.0002337 0.0002337 0.03% MLMG::MLRhsNormInf() 11 0.0002231 0.0002231 0.0002231 0.02% Castro::create_source_corrector() 10 0.0001692 0.0001692 0.0001692 0.02% FabArrayBase::FB::FB() 56 8.885e-05 8.885e-05 8.885e-05 0.01% Castro::enforce_consistent_e() 1 7.053e-05 7.053e-05 7.053e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.117e-05 6.117e-05 6.117e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.742e-05 5.742e-05 5.742e-05 0.01% makeSFC 55 4.216e-05 4.216e-05 4.216e-05 0.00% StateData::define() 4 4.201e-05 4.201e-05 4.201e-05 0.00% Castro::initMFs() 1 3.841e-05 3.841e-05 3.841e-05 0.00% Castro::swap_state_time_levels() 10 3.689e-05 3.689e-05 3.689e-05 0.00% Amr::writeSmallPlotFile() 1 3.048e-05 3.048e-05 3.048e-05 0.00% DistributionMapping::Distribute() 56 1.794e-05 1.794e-05 1.794e-05 0.00% Amr::initSubcycle() 1 1.034e-05 1.034e-05 1.034e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.337e-06 5.337e-06 5.337e-06 0.00% Castro::retry_advance_ctu() 10 4.921e-06 4.921e-06 4.921e-06 0.00% AmrLevel::checkPointPost() 3 4.767e-06 4.767e-06 4.767e-06 0.00% Gravity::set_mass_offset() 11 3.878e-06 3.878e-06 3.878e-06 0.00% Castro::FluxRegCrseInit 10 2.783e-06 2.783e-06 2.783e-06 0.00% Castro::FluxRegFineAdd() 10 2.376e-06 2.376e-06 2.376e-06 0.00% AmrLevel::checkPointPre() 3 2.292e-06 2.292e-06 2.292e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.109e-06 2.109e-06 2.109e-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 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1205 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1578 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 3590 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2183 B 2048 KiB Gravity::solve_for_phi() 80 80 567 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 3534 B 480 KiB VisMF::Write(FabArray) 656 656 3436 B 320 KiB Castro::normalize_species() 62 62 7318 B 320 KiB amrex::average_down 1067 1067 1266 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1156 B 257 KiB amrex::Dot() 1360 1360 3560 B 160 KiB FabArray::norminf() 1143 1143 3462 B 160 KiB check_for_negative_density() 10 10 328 B 160 KiB Castro::initData() 1 1 55 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 3504 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 114 B 10 KiB FillBoundary_nowait() 760 760 290 B 9648 B MLCellLinOp::applyBC() 8702 8702 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3919 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 370 B 1248 B MLCGSolver::bicgstab 410 410 97 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 573 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 430 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3504 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 114 B 10 KiB FillBoundary_nowait() 760 760 290 B 9648 B MLCellLinOp::applyBC() 4351 4351 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3919 B 6144 B Gravity::get_new_grav_vector() 3 3 2887 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 299 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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.01-31-gab99ea69089f) finalized Initializing AMReX (24.01-31-gab99ea69089f)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-31-gab99ea69089f) initialized Starting run at 09:40:34 UTC on 2024-01-30. Successfully read inputs file ... Castro git describe: 24.01-24-g6d8abef7c AMReX git describe: 24.01-31-gab99ea690 Microphysics git describe: 24.01-19-g6d5a4e1a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.505424191 Restart time = 0.072905085 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.06658773 [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.049444142 [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.079152527 [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.080481017 [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.058580958 [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.028872069 seconds Ending run at 09:40:34 UTC on 2024-01-30. Run time = 0.437255844 Run time without initialization = 0.363613043 Average number of zones advanced per microsecond: 3.605 Average number of zones advanced per microsecond per rank: 3.605 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4373 ... 0.4373 ... 0.4373 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1377 0.1377 0.1377 31.48% VisMF::Read() 3 0.06133 0.06133 0.06133 14.02% MLCellLinOp::applyBC() 1910 0.03505 0.03505 0.03505 8.02% VisMF::Write(FabArray) 1 0.02615 0.02615 0.02615 5.98% MLPoisson::Fsmooth() 1440 0.01483 0.01483 0.01483 3.39% StateData::FillBoundary(geom) 160 0.01296 0.01296 0.01296 2.96% FillBoundary_nowait() 1730 0.0128 0.0128 0.0128 2.93% Castro::computeTemp() 30 0.01263 0.01263 0.01263 2.89% Castro::normalize_species() 30 0.01088 0.01088 0.01088 2.49% amrex::Dot() 484 0.00931 0.00931 0.00931 2.13% FabArray::norminf() 465 0.00895 0.00895 0.00895 2.05% FabArray::setVal() 501 0.006484 0.006484 0.006484 1.48% FabArray::ParallelCopy_nowait() 380 0.006137 0.006137 0.006137 1.40% FabArray::Saxpy() 597 0.005884 0.005884 0.005884 1.35% MLCellLinOp::defineAuxData() 6 0.00568 0.00568 0.00568 1.30% amrex::Copy() 221 0.005467 0.005467 0.005467 1.25% Gravity::fill_multipole_BCs() 6 0.005342 0.005342 0.005342 1.22% Amr::restart() 1 0.004877 0.004877 0.004877 1.12% Castro::enforce_min_density() 30 0.004763 0.004763 0.004763 1.09% StateDataPhysBCFunct::() 20 0.004725 0.004725 0.004725 1.08% MLPoisson::Fapply() 464 0.004513 0.004513 0.004513 1.03% FabArray::Xpay() 325 0.003458 0.003458 0.003458 0.79% MLMG::addInterpCorrection() 180 0.00313 0.00313 0.00313 0.72% Castro::estTimeStep() 10 0.00283 0.00283 0.00283 0.65% amrex::average_down 180 0.002758 0.002758 0.002758 0.63% Amr::writePlotFile() 1 0.00255 0.00255 0.00255 0.58% BndryData::define() 6 0.002167 0.002167 0.002167 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002128 0.002128 0.002128 0.49% Castro::construct_new_gravity_source() 5 0.001731 0.001731 0.001731 0.40% amrex::Add() 36 0.001526 0.001526 0.001526 0.35% Castro::construct_old_gravity_source() 5 0.001509 0.001509 0.001509 0.35% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009654 0.0009654 0.0009654 0.22% check_for_negative_density() 5 0.0009267 0.0009267 0.0009267 0.21% MLCellLinOp::setLevelBC() 6 0.0008729 0.0008729 0.0008729 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008708 0.0008708 0.0008708 0.20% Castro::reset_internal_energy(Fab) 240 0.0007806 0.0007806 0.0007806 0.18% Castro::enforce_speed_limit() 30 0.0007619 0.0007619 0.0007619 0.17% MLCellLinOp::prepareForSolve() 6 0.00076 0.00076 0.00076 0.17% MLCGSolver::bicgstab 36 0.0007567 0.0007567 0.0007567 0.17% FabArray::setDomainBndry() 20 0.0007207 0.0007207 0.0007207 0.16% FabArray::mult() 22 0.0006862 0.0006862 0.0006862 0.16% MultiFab::contains_nan() 10 0.000661 0.000661 0.000661 0.15% MLCellLinOp::compGrad() 6 0.0005986 0.0005986 0.0005986 0.14% MLMG::prepareForSolve() 6 0.000561 0.000561 0.000561 0.13% MLCellLinOp::smooth() 720 0.0005425 0.0005425 0.0005425 0.12% Amr::InitAmr() 1 0.000508 0.000508 0.000508 0.12% FabArrayBase::CPC::define() 244 0.000414 0.000414 0.000414 0.09% FabArray::FillBoundary() 1730 0.0003874 0.0003874 0.0003874 0.09% FabArrayBase::getCPC() 632 0.0003664 0.0003664 0.0003664 0.08% Gravity::get_old_grav_vector() 5 0.0003399 0.0003399 0.0003399 0.08% main() 1 0.0003232 0.0003232 0.0003232 0.07% Gravity::get_new_grav_vector() 5 0.0002891 0.0002891 0.0002891 0.07% FabArrayBase::getFB() 1730 0.0002688 0.0002688 0.0002688 0.06% MultiFab::max() 6 0.0002177 0.0002177 0.0002177 0.05% Amr::coarseTimeStep() 5 0.0002049 0.0002049 0.0002049 0.05% MLCellLinOp::apply() 464 0.0001993 0.0001993 0.0001993 0.05% AmrLevel::FillPatch() 20 0.0001977 0.0001977 0.0001977 0.05% MLCGSolver::ParallelAllReduce 798 0.0001599 0.0001599 0.0001599 0.04% MLCellLinOp::defineBC() 6 0.0001575 0.0001575 0.0001575 0.04% Castro::subcycle_advance_ctu() 5 0.0001223 0.0001223 0.0001223 0.03% FabArray::ParallelCopy() 380 0.0001084 0.0001084 0.0001084 0.02% FillPatchIterator::Initialize 20 0.0001061 0.0001061 0.0001061 0.02% Castro::finalize_do_advance() 5 0.0001047 0.0001047 0.0001047 0.02% Castro::create_source_corrector() 5 0.0001042 0.0001042 0.0001042 0.02% MLMG::mgVcycle() 36 9.735e-05 9.735e-05 9.735e-05 0.02% Amr::timeStep() 5 9.645e-05 9.645e-05 9.645e-05 0.02% MLLinOp::defineGrids() 6 9.094e-05 9.094e-05 9.094e-05 0.02% AmrLevel::restart() 1 7.977e-05 7.977e-05 7.977e-05 0.02% MLCellLinOp::correctionResidual() 180 7.511e-05 7.511e-05 7.511e-05 0.02% Castro::do_advance_ctu() 5 7.009e-05 7.009e-05 7.009e-05 0.02% Gravity::update_max_rhs() 6 6.783e-05 6.783e-05 6.783e-05 0.02% Castro::initialize_do_advance() 5 6.773e-05 6.773e-05 6.773e-05 0.02% StateData::restartDoit() 4 6.569e-05 6.569e-05 6.569e-05 0.02% FabArrayBase::FB::FB() 26 5.986e-05 5.986e-05 5.986e-05 0.01% Castro::finalize_advance() 5 5.489e-05 5.489e-05 5.489e-05 0.01% Gravity::solve_for_phi() 5 5.32e-05 5.32e-05 5.32e-05 0.01% MLMG:computeResOfCorrection() 180 5.097e-05 5.097e-05 5.097e-05 0.01% MLMG::mgVcycle_down::0 36 4.62e-05 4.62e-05 4.62e-05 0.01% Castro::do_new_sources() 5 4.603e-05 4.603e-05 4.603e-05 0.01% MLMG::actualBottomSolve() 36 4.247e-05 4.247e-05 4.247e-05 0.01% Castro::advance() 5 4.131e-05 4.131e-05 4.131e-05 0.01% MLMG::solve() 6 3.781e-05 3.781e-05 3.781e-05 0.01% Castro::initialize_advance() 5 3.664e-05 3.664e-05 3.664e-05 0.01% MLMG::mgVcycle_down::1 36 3.581e-05 3.581e-05 3.581e-05 0.01% MLMG::mgVcycle_down::2 36 3.573e-05 3.573e-05 3.573e-05 0.01% Castro::clean_state() 30 3.485e-05 3.485e-05 3.485e-05 0.01% MLMG::mgVcycle_down::4 36 3.381e-05 3.381e-05 3.381e-05 0.01% FillPatchIterator::FillFromLevel0() 20 3.319e-05 3.319e-05 3.319e-05 0.01% MLMG::mgVcycle_down::3 36 3.267e-05 3.267e-05 3.267e-05 0.01% Amr::writeSmallPlotFile() 1 3.186e-05 3.186e-05 3.186e-05 0.01% Castro::post_timestep() 5 3.019e-05 3.019e-05 3.019e-05 0.01% Castro::post_restart() 1 2.92e-05 2.92e-05 2.92e-05 0.01% Castro::buildMetrics() 1 2.843e-05 2.843e-05 2.843e-05 0.01% MLMG::mgVcycle_up::4 36 2.841e-05 2.841e-05 2.841e-05 0.01% Castro::construct_old_source() 25 2.788e-05 2.788e-05 2.788e-05 0.01% Castro::swap_state_time_levels() 5 2.484e-05 2.484e-05 2.484e-05 0.01% Castro::initMFs() 1 2.476e-05 2.476e-05 2.476e-05 0.01% MLMG::oneIter() 36 2.397e-05 2.397e-05 2.397e-05 0.01% MLCellLinOp::solutionResidual() 42 2.384e-05 2.384e-05 2.384e-05 0.01% MLMG::mgVcycle_up::0 36 2.355e-05 2.355e-05 2.355e-05 0.01% MLMG::mgVcycle_up::3 36 2.244e-05 2.244e-05 2.244e-05 0.01% MLMG::mgVcycle_up::2 36 2.185e-05 2.185e-05 2.185e-05 0.00% MLMG::mgVcycle_up::1 36 2.048e-05 2.048e-05 2.048e-05 0.00% MLMG::ResNormInf() 42 1.977e-05 1.977e-05 1.977e-05 0.00% FillPatchSingleLevel 20 1.777e-05 1.777e-05 1.777e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.705e-05 1.705e-05 1.705e-05 0.00% MLMG::mgVcycle_bottom 36 1.571e-05 1.571e-05 1.571e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.421e-05 1.421e-05 1.421e-05 0.00% makeSFC 30 1.399e-05 1.399e-05 1.399e-05 0.00% MLMG::computeResidual() 36 1.376e-05 1.376e-05 1.376e-05 0.00% MLPoisson::define() 6 1.343e-05 1.343e-05 1.343e-05 0.00% Castro::construct_new_gravity() 5 1.295e-05 1.295e-05 1.295e-05 0.00% Castro::construct_new_source() 25 1.226e-05 1.226e-05 1.226e-05 0.00% Castro::do_old_sources() 5 1.191e-05 1.191e-05 1.191e-05 0.00% Amr::initSubcycle() 1 9.836e-06 9.836e-06 9.836e-06 0.00% DistributionMapping::Distribute() 31 9.807e-06 9.807e-06 9.807e-06 0.00% MLPoisson::prepareForSolve() 6 8.975e-06 8.975e-06 8.975e-06 0.00% Gravity::actual_multilevel_solve() 1 8.635e-06 8.635e-06 8.635e-06 0.00% MLMG::computeMLResidual() 6 8.225e-06 8.225e-06 8.225e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.452e-06 7.452e-06 7.452e-06 0.00% Castro::construct_old_gravity() 5 6.728e-06 6.728e-06 6.728e-06 0.00% Castro::retry_advance_ctu() 5 6.493e-06 6.493e-06 6.493e-06 0.00% Castro::check_for_nan() 10 6.293e-06 6.293e-06 6.293e-06 0.00% Castro::apply_source_to_state() 10 6.273e-06 6.273e-06 6.273e-06 0.00% MLLinOp::define() 6 6.086e-06 6.086e-06 6.086e-06 0.00% Gravity::swapTimeLevels() 5 5.454e-06 5.454e-06 5.454e-06 0.00% Castro::FluxRegCrseInit 5 4.345e-06 4.345e-06 4.345e-06 0.00% Gravity::set_mass_offset() 6 3.82e-06 3.82e-06 3.82e-06 0.00% MLMG::getGradSolution() 6 3.692e-06 3.692e-06 3.692e-06 0.00% Castro::computeNewDt() 5 3.511e-06 3.511e-06 3.511e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.171e-06 3.171e-06 3.171e-06 0.00% Castro::expand_state() 5 3.033e-06 3.033e-06 3.033e-06 0.00% Castro::FluxRegFineAdd() 5 2.603e-06 2.603e-06 2.603e-06 0.00% MLMG::MLRhsNormInf() 6 2.295e-06 2.295e-06 2.295e-06 0.00% MLMG::MLResNormInf() 6 2.287e-06 2.287e-06 2.287e-06 0.00% Amr::init() 1 1.203e-06 1.203e-06 1.203e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.105e-06 1.105e-06 1.105e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4373 0.4373 0.4373 99.99% Amr::coarseTimeStep() 5 0.3344 0.3344 0.3344 76.48% Amr::timeStep() 5 0.3325 0.3325 0.3325 76.04% Castro::advance() 5 0.3275 0.3275 0.3275 74.90% Castro::subcycle_advance_ctu() 5 0.3198 0.3198 0.3198 73.12% Castro::do_advance_ctu() 5 0.3196 0.3196 0.3196 73.09% Castro::construct_ctu_hydro_source() 5 0.1436 0.1436 0.1436 32.84% Castro::construct_new_gravity() 5 0.1352 0.1352 0.1352 30.91% Gravity::solve_phi_with_mlmg() 6 0.1328 0.1328 0.1328 30.37% Gravity::actual_solve_with_mlmg() 6 0.1272 0.1272 0.1272 29.09% Gravity::solve_for_phi() 5 0.1272 0.1272 0.1272 29.09% MLMG::solve() 6 0.1151 0.1151 0.1151 26.32% MLMG::oneIter() 36 0.1075 0.1075 0.1075 24.58% MLMG::mgVcycle() 36 0.1059 0.1059 0.1059 24.22% Amr::init() 1 0.07298 0.07298 0.07298 16.69% Amr::restart() 1 0.07298 0.07298 0.07298 16.69% AmrLevel::restart() 1 0.06169 0.06169 0.06169 14.11% StateData::restartDoit() 4 0.0616 0.0616 0.0616 14.09% VisMF::Read() 3 0.06133 0.06133 0.06133 14.02% MLCellLinOp::smooth() 720 0.05251 0.05251 0.05251 12.01% MLCellLinOp::applyBC() 1910 0.04856 0.04856 0.04856 11.11% MLMG::mgVcycle_bottom 36 0.032 0.032 0.032 7.32% MLMG::actualBottomSolve() 36 0.03199 0.03199 0.03199 7.31% Castro::clean_state() 30 0.03197 0.03197 0.03197 7.31% MLCGSolver::bicgstab 36 0.03165 0.03165 0.03165 7.24% Amr::writePlotFile() 1 0.02897 0.02897 0.02897 6.63% VisMF::Write(FabArray) 1 0.02615 0.02615 0.02615 5.98% AmrLevel::FillPatch() 20 0.02268 0.02268 0.02268 5.19% FillPatchIterator::Initialize 20 0.02059 0.02059 0.02059 4.71% FillPatchIterator::FillFromLevel0() 20 0.01976 0.01976 0.01976 4.52% FillPatchSingleLevel 20 0.01973 0.01973 0.01973 4.51% StateDataPhysBCFunct::() 20 0.01769 0.01769 0.01769 4.04% MLCellLinOp::apply() 464 0.01585 0.01585 0.01585 3.63% Castro::computeTemp() 30 0.01554 0.01554 0.01554 3.55% MLMG::mgVcycle_down::0 36 0.01484 0.01484 0.01484 3.39% MLPoisson::Fsmooth() 1440 0.01483 0.01483 0.01483 3.39% FabArray::FillBoundary() 1730 0.01351 0.01351 0.01351 3.09% FillBoundary_nowait() 1730 0.01312 0.01312 0.01312 3.00% StateData::FillBoundary(geom) 160 0.01296 0.01296 0.01296 2.96% Castro::do_new_sources() 5 0.01237 0.01237 0.01237 2.83% MLMG::mgVcycle_up::0 36 0.01115 0.01115 0.01115 2.55% Castro::normalize_species() 30 0.01088 0.01088 0.01088 2.49% Castro::initialize_do_advance() 5 0.009754 0.009754 0.009754 2.23% MLPoisson::define() 6 0.009507 0.009507 0.009507 2.17% amrex::Dot() 484 0.00931 0.00931 0.00931 2.13% Castro::do_old_sources() 5 0.009226 0.009226 0.009226 2.11% FabArray::norminf() 465 0.00895 0.00895 0.00895 2.05% MLMG:computeResOfCorrection() 180 0.008832 0.008832 0.008832 2.02% MLCellLinOp::correctionResidual() 180 0.008781 0.008781 0.008781 2.01% Gravity::get_new_grav_vector() 5 0.007836 0.007836 0.007836 1.79% Castro::construct_old_gravity() 5 0.007754 0.007754 0.007754 1.77% Gravity::get_old_grav_vector() 5 0.007747 0.007747 0.007747 1.77% Castro::initialize_advance() 5 0.007377 0.007377 0.007377 1.69% MLMG::mgVcycle_down::1 36 0.00733 0.00733 0.00733 1.68% MLMG::mgVcycle_down::2 36 0.006744 0.006744 0.006744 1.54% FabArray::ParallelCopy() 380 0.006629 0.006629 0.006629 1.52% MLMG::mgVcycle_down::3 36 0.006575 0.006575 0.006575 1.50% MLMG::mgVcycle_down::4 36 0.006567 0.006567 0.006567 1.50% FabArray::ParallelCopy_nowait() 380 0.006521 0.006521 0.006521 1.49% FabArray::setVal() 501 0.006484 0.006484 0.006484 1.48% MLCellLinOp::defineAuxData() 6 0.006465 0.006465 0.006465 1.48% Castro::post_restart() 1 0.006236 0.006236 0.006236 1.43% FabArray::Saxpy() 597 0.005884 0.005884 0.005884 1.35% Gravity::multilevel_solve_for_new_phi() 1 0.005849 0.005849 0.005849 1.34% Gravity::actual_multilevel_solve() 1 0.005832 0.005832 0.005832 1.33% Castro::expand_state() 5 0.0057 0.0057 0.0057 1.30% MLCGSolver::ParallelAllReduce 798 0.00567 0.00567 0.00567 1.30% Gravity::fill_multipole_BCs() 6 0.005467 0.005467 0.005467 1.25% amrex::Copy() 221 0.005467 0.005467 0.005467 1.25% MLMG::addInterpCorrection() 180 0.005409 0.005409 0.005409 1.24% MLMG::mgVcycle_up::4 36 0.005271 0.005271 0.005271 1.21% MLMG::mgVcycle_up::1 36 0.005209 0.005209 0.005209 1.19% MLMG::mgVcycle_up::2 36 0.005105 0.005105 0.005105 1.17% amrex::average_down 180 0.005086 0.005086 0.005086 1.16% MLMG::mgVcycle_up::3 36 0.005033 0.005033 0.005033 1.15% Castro::post_timestep() 5 0.004918 0.004918 0.004918 1.12% Castro::enforce_min_density() 30 0.004763 0.004763 0.004763 1.09% MLPoisson::Fapply() 464 0.004513 0.004513 0.004513 1.03% MLCellLinOp::solutionResidual() 42 0.003574 0.003574 0.003574 0.82% FabArray::Xpay() 325 0.003458 0.003458 0.003458 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002909 0.002909 0.002909 0.67% MLCellLinOp::defineBC() 6 0.0029 0.0029 0.0029 0.66% MLMG::prepareForSolve() 6 0.002886 0.002886 0.002886 0.66% Castro::estTimeStep() 10 0.00283 0.00283 0.00283 0.65% MLMG::computeResidual() 36 0.002792 0.002792 0.002792 0.64% BndryData::define() 6 0.002743 0.002743 0.002743 0.63% Castro::construct_new_source() 25 0.001743 0.001743 0.001743 0.40% Castro::construct_new_gravity_source() 5 0.001731 0.001731 0.001731 0.40% Castro::computeNewDt() 5 0.001698 0.001698 0.001698 0.39% Castro::construct_old_source() 25 0.001537 0.001537 0.001537 0.35% amrex::Add() 36 0.001526 0.001526 0.001526 0.35% Castro::construct_old_gravity_source() 5 0.001509 0.001509 0.001509 0.35% Castro::finalize_do_advance() 5 0.00124 0.00124 0.00124 0.28% MLMG::ResNormInf() 42 0.0009828 0.0009828 0.0009828 0.22% Castro::apply_source_to_state() 10 0.0009675 0.0009675 0.0009675 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009654 0.0009654 0.0009654 0.22% check_for_negative_density() 5 0.0009267 0.0009267 0.0009267 0.21% MLMG::getGradSolution() 6 0.0008835 0.0008835 0.0008835 0.20% MLCellLinOp::compGrad() 6 0.0008798 0.0008798 0.0008798 0.20% MLCellLinOp::setLevelBC() 6 0.0008729 0.0008729 0.0008729 0.20% MLMG::computeMLResidual() 6 0.0008042 0.0008042 0.0008042 0.18% Castro::reset_internal_energy(Fab) 240 0.0007806 0.0007806 0.0007806 0.18% FabArrayBase::getCPC() 632 0.0007804 0.0007804 0.0007804 0.18% MLPoisson::prepareForSolve() 6 0.000769 0.000769 0.000769 0.18% Castro::enforce_speed_limit() 30 0.0007619 0.0007619 0.0007619 0.17% MLCellLinOp::prepareForSolve() 6 0.00076 0.00076 0.00076 0.17% Gravity::update_max_rhs() 6 0.0007486 0.0007486 0.0007486 0.17% FabArray::setDomainBndry() 20 0.0007207 0.0007207 0.0007207 0.16% FabArray::mult() 22 0.0006862 0.0006862 0.0006862 0.16% Castro::check_for_nan() 10 0.0006673 0.0006673 0.0006673 0.15% MultiFab::contains_nan() 10 0.000661 0.000661 0.000661 0.15% Amr::InitAmr() 1 0.0005178 0.0005178 0.0005178 0.12% FabArrayBase::CPC::define() 244 0.000414 0.000414 0.000414 0.09% Castro::finalize_advance() 5 0.0003438 0.0003438 0.0003438 0.08% FabArrayBase::getFB() 1730 0.0003286 0.0003286 0.0003286 0.08% Gravity::swapTimeLevels() 5 0.0002331 0.0002331 0.0002331 0.05% MultiFab::max() 6 0.0002177 0.0002177 0.0002177 0.05% MLMG::MLResNormInf() 6 0.0001906 0.0001906 0.0001906 0.04% Castro::buildMetrics() 1 0.0001509 0.0001509 0.0001509 0.03% MLLinOp::define() 6 0.0001281 0.0001281 0.0001281 0.03% MLLinOp::defineGrids() 6 0.000122 0.000122 0.000122 0.03% MLMG::MLRhsNormInf() 6 0.0001191 0.0001191 0.0001191 0.03% Castro::create_source_corrector() 5 0.0001042 0.0001042 0.0001042 0.02% FabArrayBase::FB::FB() 26 5.986e-05 5.986e-05 5.986e-05 0.01% Amr::writeSmallPlotFile() 1 3.186e-05 3.186e-05 3.186e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.995e-05 2.995e-05 2.995e-05 0.01% Castro::swap_state_time_levels() 5 2.484e-05 2.484e-05 2.484e-05 0.01% Castro::initMFs() 1 2.476e-05 2.476e-05 2.476e-05 0.01% makeSFC 30 2.25e-05 2.25e-05 2.25e-05 0.01% Amr::initSubcycle() 1 9.836e-06 9.836e-06 9.836e-06 0.00% DistributionMapping::Distribute() 31 9.807e-06 9.807e-06 9.807e-06 0.00% Castro::retry_advance_ctu() 5 6.493e-06 6.493e-06 6.493e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.473e-06 4.473e-06 4.473e-06 0.00% Castro::FluxRegCrseInit 5 4.345e-06 4.345e-06 4.345e-06 0.00% Gravity::set_mass_offset() 6 3.82e-06 3.82e-06 3.82e-06 0.00% Castro::FluxRegFineAdd() 5 2.603e-06 2.603e-06 2.603e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.105e-06 1.105e-06 1.105e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 190 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1018 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1766 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 6411 KiB 14 MiB MLMG::prepareForSolve() 361 361 3230 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 183 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6398 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3400 B 2048 KiB Gravity::solve_for_phi() 40 40 594 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 298 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3061 B 480 KiB VisMF::Write(FabArray) 112 112 2354 B 320 KiB Castro::normalize_species() 30 30 8098 B 320 KiB amrex::average_down 469 469 1119 B 257 KiB MLMG::addInterpCorrection() 468 468 1047 B 257 KiB amrex::Dot() 592 592 3140 B 160 KiB FabArray::norminf() 501 501 3161 B 160 KiB check_for_negative_density() 5 5 340 B 160 KiB MultiFab::max() 6 6 78 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3130 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 3820 3820 201 B 9344 B amrex::Copy() 56 56 5556 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 334 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1176 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 157 KiB 3584 KiB VisMF::Read() 24 24 212 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3130 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 1910 1910 200 B 9328 B amrex::Copy() 56 56 5556 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2512 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 496 B 1296 B amrex::average_down 37 37 204 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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.01-31-gab99ea69089f) finalized