Initializing AMReX (24.04-8-g2cd72a3bbaeb)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-8-g2cd72a3bbaeb) initialized Starting run at 08:14:41 UTC on 2024-04-08. Successfully read inputs file ... Castro git describe: 24.04-11-g2407e8176 AMReX git describe: 24.04-8-g2cd72a3bb Microphysics git describe: 24.04-4-ge5fecb7a 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.045957643 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025084183 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.066661485 [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.068756924 [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.071165391 [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.071583821 [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.06319304 [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.045049071 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.067459084 [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.073127343 [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.071425893 [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.055284037 [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.053761073 [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.108984015 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025212909 seconds Ending run at 08:14:42 UTC on 2024-04-08. Run time = 0.968921163 Run time without initialization = 0.84238344 Average number of zones advanced per microsecond: 3.112 Average number of zones advanced per microsecond per rank: 3.112 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.969 ... 0.969 ... 0.969 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2685 0.2685 0.2685 27.71% VisMF::Write(FabArray) 11 0.1778 0.1778 0.1778 18.35% MLCellLinOp::applyBC() 4351 0.08148 0.08148 0.08148 8.41% Amr::checkPoint() 3 0.06987 0.06987 0.06987 7.21% StateData::FillBoundary(geom) 328 0.03467 0.03467 0.03467 3.58% MLPoisson::Fsmooth() 3280 0.03385 0.03385 0.03385 3.49% FillBoundary_nowait() 3941 0.03037 0.03037 0.03037 3.13% amrex::Dot() 1114 0.02161 0.02161 0.02161 2.23% Castro::normalize_species() 62 0.02123 0.02123 0.02123 2.19% FabArray::norminf() 1061 0.02001 0.02001 0.02001 2.07% Castro::computeTemp() 63 0.01867 0.01867 0.01867 1.93% FabArray::ParallelCopy_nowait() 861 0.0138 0.0138 0.0138 1.42% FabArray::setVal() 1062 0.01353 0.01353 0.01353 1.40% Castro::enforce_min_density() 62 0.01352 0.01352 0.01352 1.40% FabArray::Saxpy() 1370 0.01322 0.01322 0.01322 1.36% StateDataPhysBCFunct::() 41 0.01262 0.01262 0.01262 1.30% amrex::Copy() 472 0.011 0.011 0.011 1.14% MLCellLinOp::defineAuxData() 11 0.01053 0.01053 0.01053 1.09% MLPoisson::Fapply() 1060 0.01041 0.01041 0.01041 1.07% Gravity::fill_multipole_BCs() 11 0.009566 0.009566 0.009566 0.99% FabArray::Xpay() 739 0.007901 0.007901 0.007901 0.82% MLMG::addInterpCorrection() 410 0.007044 0.007044 0.007044 0.73% amrex::average_down 410 0.006213 0.006213 0.006213 0.64% Castro::estTimeStep() 21 0.005886 0.005886 0.005886 0.61% Castro::reset_internal_energy(MultiFab) 63 0.005087 0.005087 0.005087 0.52% BndryData::define() 11 0.004035 0.004035 0.004035 0.42% amrex::Add() 82 0.003634 0.003634 0.003634 0.38% Castro::construct_new_gravity_source() 10 0.003553 0.003553 0.003553 0.37% Castro::construct_old_gravity_source() 10 0.002878 0.002878 0.002878 0.30% Castro::enforce_speed_limit() 62 0.002284 0.002284 0.002284 0.24% Amr::writePlotFile() 2 0.002121 0.002121 0.002121 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001825 0.001825 0.001825 0.19% check_for_negative_density() 10 0.001822 0.001822 0.001822 0.19% Castro::reset_internal_energy(Fab) 504 0.001803 0.001803 0.001803 0.19% MLCGSolver::bicgstab 82 0.001663 0.001663 0.001663 0.17% MLCellLinOp::setLevelBC() 11 0.001616 0.001616 0.001616 0.17% Gravity::actual_solve_with_mlmg() 11 0.00154 0.00154 0.00154 0.16% Castro::initData() 1 0.001504 0.001504 0.001504 0.16% FabArray::mult() 43 0.001393 0.001393 0.001393 0.14% FabArray::setDomainBndry() 41 0.00139 0.00139 0.00139 0.14% MLCellLinOp::prepareForSolve() 11 0.001332 0.001332 0.001332 0.14% MultiFab::contains_nan() 20 0.001271 0.001271 0.001271 0.13% MLCellLinOp::smooth() 1640 0.001226 0.001226 0.001226 0.13% MLCellLinOp::compGrad() 11 0.001077 0.001077 0.001077 0.11% MLMG::prepareForSolve() 11 0.0009533 0.0009533 0.0009533 0.10% FabArrayBase::getCPC() 1323 0.000827 0.000827 0.000827 0.09% FabArray::FillBoundary() 3941 0.0007875 0.0007875 0.0007875 0.08% FabArrayBase::CPC::define() 454 0.0006581 0.0006581 0.0006581 0.07% FabArrayBase::getFB() 3941 0.0006497 0.0006497 0.0006497 0.07% Gravity::get_new_grav_vector() 11 0.000611 0.000611 0.000611 0.06% Amr::InitAmr() 1 0.0005891 0.0005891 0.0005891 0.06% Gravity::get_old_grav_vector() 10 0.0004886 0.0004886 0.0004886 0.05% MLCellLinOp::apply() 1060 0.0004316 0.0004316 0.0004316 0.04% AmrLevel::FillPatch() 41 0.0004197 0.0004197 0.0004197 0.04% Amr::coarseTimeStep() 10 0.0003676 0.0003676 0.0003676 0.04% MultiFab::max() 11 0.0003371 0.0003371 0.0003371 0.03% MLCGSolver::ParallelAllReduce 1832 0.0003109 0.0003109 0.0003109 0.03% main() 1 0.000304 0.000304 0.000304 0.03% MLCellLinOp::defineBC() 11 0.0002615 0.0002615 0.0002615 0.03% FabArray::ParallelCopy() 861 0.0002464 0.0002464 0.0002464 0.03% FillPatchIterator::Initialize 41 0.0002137 0.0002137 0.0002137 0.02% MLMG::mgVcycle() 82 0.0001927 0.0001927 0.0001927 0.02% Castro::create_source_corrector() 10 0.0001805 0.0001805 0.0001805 0.02% Castro::subcycle_advance_ctu() 10 0.0001774 0.0001774 0.0001774 0.02% MLLinOp::defineGrids() 11 0.0001773 0.0001773 0.0001773 0.02% MLCellLinOp::correctionResidual() 410 0.0001771 0.0001771 0.0001771 0.02% Amr::timeStep() 10 0.0001562 0.0001562 0.0001562 0.02% StateData::checkPoint() 12 0.0001282 0.0001282 0.0001282 0.01% Gravity::update_max_rhs() 11 0.0001262 0.0001262 0.0001262 0.01% MLMG:computeResOfCorrection() 410 0.0001126 0.0001126 0.0001126 0.01% Gravity::solve_for_phi() 10 0.0001057 0.0001057 0.0001057 0.01% Castro::Castro() 1 9.656e-05 9.656e-05 9.656e-05 0.01% Castro::advance() 10 9.367e-05 9.367e-05 9.367e-05 0.01% AmrLevel::checkPoint() 3 9.044e-05 9.044e-05 9.044e-05 0.01% MLMG::actualBottomSolve() 82 8.504e-05 8.504e-05 8.504e-05 0.01% FabArrayBase::FB::FB() 56 8.34e-05 8.34e-05 8.34e-05 0.01% Castro::initialize_advance() 10 7.881e-05 7.881e-05 7.881e-05 0.01% MLMG::mgVcycle_down::0 82 7.75e-05 7.75e-05 7.75e-05 0.01% MLMG::mgVcycle_down::1 82 7.458e-05 7.458e-05 7.458e-05 0.01% Castro::clean_state() 62 7.18e-05 7.18e-05 7.18e-05 0.01% MLMG::mgVcycle_down::2 82 7.014e-05 7.014e-05 7.014e-05 0.01% Castro::finalize_advance() 10 6.967e-05 6.967e-05 6.967e-05 0.01% Castro::enforce_consistent_e() 1 6.871e-05 6.871e-05 6.871e-05 0.01% MLMG::solve() 11 6.721e-05 6.721e-05 6.721e-05 0.01% MLMG::mgVcycle_down::4 82 6.581e-05 6.581e-05 6.581e-05 0.01% MLMG::mgVcycle_down::3 82 6.428e-05 6.428e-05 6.428e-05 0.01% Castro::post_timestep() 10 6.39e-05 6.39e-05 6.39e-05 0.01% MLMG::oneIter() 82 5.812e-05 5.812e-05 5.812e-05 0.01% Castro::initialize_do_advance() 10 5.7e-05 5.7e-05 5.7e-05 0.01% MLMG::mgVcycle_up::4 82 5.697e-05 5.697e-05 5.697e-05 0.01% Castro::construct_new_source() 50 5.515e-05 5.515e-05 5.515e-05 0.01% MLMG::mgVcycle_up::0 82 5.242e-05 5.242e-05 5.242e-05 0.01% MLMG::mgVcycle_up::3 82 4.921e-05 4.921e-05 4.921e-05 0.01% Castro::do_advance_ctu() 10 4.9e-05 4.9e-05 4.9e-05 0.01% MLMG::mgVcycle_up::1 82 4.883e-05 4.883e-05 4.883e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.852e-05 4.852e-05 4.852e-05 0.01% Castro::finalize_do_advance() 10 4.688e-05 4.688e-05 4.688e-05 0.00% MLMG::mgVcycle_up::2 82 4.586e-05 4.586e-05 4.586e-05 0.00% MLCellLinOp::solutionResidual() 93 4.253e-05 4.253e-05 4.253e-05 0.00% FillPatchSingleLevel 41 3.909e-05 3.909e-05 3.909e-05 0.00% Castro::swap_state_time_levels() 10 3.795e-05 3.795e-05 3.795e-05 0.00% Castro::do_new_sources() 10 3.62e-05 3.62e-05 3.62e-05 0.00% StateData::define() 4 3.598e-05 3.598e-05 3.598e-05 0.00% Amr::writeSmallPlotFile() 1 3.587e-05 3.587e-05 3.587e-05 0.00% MLMG::mgVcycle_bottom 82 3.58e-05 3.58e-05 3.58e-05 0.00% Amr::defBaseLevel() 1 3.337e-05 3.337e-05 3.337e-05 0.00% MLMG::computeResidual() 82 3.166e-05 3.166e-05 3.166e-05 0.00% Castro::initMFs() 1 2.918e-05 2.918e-05 2.918e-05 0.00% MLMG::ResNormInf() 93 2.91e-05 2.91e-05 2.91e-05 0.00% makeSFC 55 2.808e-05 2.808e-05 2.808e-05 0.00% MLPoisson::define() 11 2.646e-05 2.646e-05 2.646e-05 0.00% Castro::buildMetrics() 1 2.519e-05 2.519e-05 2.519e-05 0.00% Castro::construct_new_gravity() 10 2.505e-05 2.505e-05 2.505e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.42e-05 2.42e-05 2.42e-05 0.00% Castro::do_old_sources() 10 2.057e-05 2.057e-05 2.057e-05 0.00% Castro::construct_old_source() 50 2.018e-05 2.018e-05 2.018e-05 0.00% Amr::FinalizeInit() 1 1.921e-05 1.921e-05 1.921e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.802e-05 1.802e-05 1.802e-05 0.00% MLLinOp::define() 11 1.671e-05 1.671e-05 1.671e-05 0.00% DistributionMapping::Distribute() 56 1.612e-05 1.612e-05 1.612e-05 0.00% Gravity::actual_multilevel_solve() 1 1.463e-05 1.463e-05 1.463e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.416e-05 1.416e-05 1.416e-05 0.00% Castro::apply_source_to_state() 20 1.41e-05 1.41e-05 1.41e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.293e-05 1.293e-05 1.293e-05 0.00% Castro::construct_old_gravity() 10 1.166e-05 1.166e-05 1.166e-05 0.00% Castro::check_for_nan() 20 1.16e-05 1.16e-05 1.16e-05 0.00% Amr::initSubcycle() 1 1.087e-05 1.087e-05 1.087e-05 0.00% Gravity::swapTimeLevels() 10 1.063e-05 1.063e-05 1.063e-05 0.00% MLMG::computeMLResidual() 11 9.377e-06 9.377e-06 9.377e-06 0.00% Amr::InitializeInit() 1 7.09e-06 7.09e-06 7.09e-06 0.00% Castro::expand_state() 10 6.582e-06 6.582e-06 6.582e-06 0.00% Castro::computeNewDt() 9 6.387e-06 6.387e-06 6.387e-06 0.00% MLPoisson::prepareForSolve() 11 6.386e-06 6.386e-06 6.386e-06 0.00% MLMG::getGradSolution() 11 6.037e-06 6.037e-06 6.037e-06 0.00% Gravity::set_mass_offset() 11 5.807e-06 5.807e-06 5.807e-06 0.00% AmrLevel::checkPointPost() 3 5.031e-06 5.031e-06 5.031e-06 0.00% Castro::retry_advance_ctu() 10 4.736e-06 4.736e-06 4.736e-06 0.00% AmrLevel::checkPointPre() 3 4.659e-06 4.659e-06 4.659e-06 0.00% Castro::FluxRegCrseInit 10 4.424e-06 4.424e-06 4.424e-06 0.00% Castro::post_init() 1 4.219e-06 4.219e-06 4.219e-06 0.00% MLMG::MLRhsNormInf() 11 4.175e-06 4.175e-06 4.175e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.875e-06 3.875e-06 3.875e-06 0.00% MLMG::MLResNormInf() 11 3.691e-06 3.691e-06 3.691e-06 0.00% Castro::computeInitialDt() 2 2.592e-06 2.592e-06 2.592e-06 0.00% Amr::init() 1 2.477e-06 2.477e-06 2.477e-06 0.00% Castro::FluxRegFineAdd() 10 2.366e-06 2.366e-06 2.366e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.975e-06 1.975e-06 1.975e-06 0.00% Castro::post_regrid() 1 1.54e-06 1.54e-06 1.54e-06 0.00% Amr::initialInit() 1 1.008e-06 1.008e-06 1.008e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9689 0.9689 0.9689 100.00% Amr::coarseTimeStep() 10 0.8169 0.8169 0.8169 84.31% Amr::timeStep() 10 0.6589 0.6589 0.6589 68.00% Castro::advance() 10 0.6483 0.6483 0.6483 66.90% Castro::subcycle_advance_ctu() 10 0.6331 0.6331 0.6331 65.34% Castro::do_advance_ctu() 10 0.6329 0.6329 0.6329 65.32% Gravity::solve_phi_with_mlmg() 11 0.2965 0.2965 0.2965 30.60% Gravity::actual_solve_with_mlmg() 11 0.2864 0.2864 0.2864 29.56% Castro::construct_ctu_hydro_source() 10 0.2804 0.2804 0.2804 28.94% Castro::construct_new_gravity() 10 0.2752 0.2752 0.2752 28.40% MLMG::solve() 11 0.2641 0.2641 0.2641 27.25% Gravity::solve_for_phi() 10 0.2512 0.2512 0.2512 25.92% MLMG::oneIter() 82 0.2486 0.2486 0.2486 25.65% MLMG::mgVcycle() 82 0.2449 0.2449 0.2449 25.27% Amr::checkPoint() 3 0.2002 0.2002 0.2002 20.66% VisMF::Write(FabArray) 11 0.1778 0.1778 0.1778 18.35% AmrLevel::checkPoint() 3 0.1303 0.1303 0.1303 13.44% StateData::checkPoint() 12 0.1302 0.1302 0.1302 13.44% Amr::init() 1 0.1258 0.1258 0.1258 12.99% MLCellLinOp::smooth() 1640 0.1222 0.1222 0.1222 12.61% MLCellLinOp::applyBC() 4351 0.1134 0.1134 0.1134 11.70% MLMG::mgVcycle_bottom 82 0.07343 0.07343 0.07343 7.58% MLMG::actualBottomSolve() 82 0.07339 0.07339 0.07339 7.57% MLCGSolver::bicgstab 82 0.07257 0.07257 0.07257 7.49% Castro::clean_state() 62 0.06169 0.06169 0.06169 6.37% AmrLevel::FillPatch() 41 0.05746 0.05746 0.05746 5.93% Amr::initialInit() 1 0.05465 0.05465 0.05465 5.64% FillPatchIterator::Initialize 41 0.05309 0.05309 0.05309 5.48% FillPatchIterator::FillFromLevel0() 41 0.05148 0.05148 0.05148 5.31% FillPatchSingleLevel 41 0.05144 0.05144 0.05144 5.31% Amr::writePlotFile() 2 0.05043 0.05043 0.05043 5.20% Amr::FinalizeInit() 1 0.04951 0.04951 0.04951 5.11% Castro::post_init() 1 0.04801 0.04801 0.04801 4.95% StateDataPhysBCFunct::() 41 0.04728 0.04728 0.04728 4.88% Gravity::multilevel_solve_for_new_phi() 1 0.04571 0.04571 0.04571 4.72% Gravity::actual_multilevel_solve() 1 0.04569 0.04569 0.04569 4.72% MLCellLinOp::apply() 1060 0.03658 0.03658 0.03658 3.78% StateData::FillBoundary(geom) 328 0.03467 0.03467 0.03467 3.58% MLMG::mgVcycle_down::0 82 0.03457 0.03457 0.03457 3.57% MLPoisson::Fsmooth() 3280 0.03385 0.03385 0.03385 3.49% FabArray::FillBoundary() 3941 0.03189 0.03189 0.03189 3.29% FillBoundary_nowait() 3941 0.0311 0.0311 0.0311 3.21% MLMG::mgVcycle_up::0 82 0.02613 0.02613 0.02613 2.70% Gravity::get_new_grav_vector() 11 0.02587 0.02587 0.02587 2.67% Castro::computeTemp() 63 0.02556 0.02556 0.02556 2.64% Castro::initialize_do_advance() 10 0.0231 0.0231 0.0231 2.38% amrex::Dot() 1114 0.02161 0.02161 0.02161 2.23% Castro::normalize_species() 62 0.02123 0.02123 0.02123 2.19% Castro::do_old_sources() 10 0.02056 0.02056 0.02056 2.12% MLMG:computeResOfCorrection() 410 0.02053 0.02053 0.02053 2.12% MLCellLinOp::correctionResidual() 410 0.02042 0.02042 0.02042 2.11% FabArray::norminf() 1061 0.02001 0.02001 0.02001 2.07% MLPoisson::define() 11 0.01759 0.01759 0.01759 1.82% MLMG::mgVcycle_down::1 82 0.0168 0.0168 0.0168 1.73% Castro::construct_old_gravity() 10 0.01608 0.01608 0.01608 1.66% Gravity::get_old_grav_vector() 10 0.01607 0.01607 0.01607 1.66% MLMG::mgVcycle_down::2 82 0.01565 0.01565 0.01565 1.61% MLMG::mgVcycle_down::3 82 0.01523 0.01523 0.01523 1.57% MLMG::mgVcycle_down::4 82 0.0151 0.0151 0.0151 1.56% FabArray::ParallelCopy() 861 0.01487 0.01487 0.01487 1.53% FabArray::ParallelCopy_nowait() 861 0.01463 0.01463 0.01463 1.51% Castro::initialize_advance() 10 0.01446 0.01446 0.01446 1.49% Castro::do_new_sources() 10 0.01438 0.01438 0.01438 1.48% FabArray::setVal() 1062 0.01353 0.01353 0.01353 1.40% Castro::enforce_min_density() 62 0.01352 0.01352 0.01352 1.40% FabArray::Saxpy() 1370 0.01322 0.01322 0.01322 1.36% MLCGSolver::ParallelAllReduce 1832 0.01292 0.01292 0.01292 1.33% MLMG::addInterpCorrection() 410 0.01239 0.01239 0.01239 1.28% Castro::expand_state() 10 0.0123 0.0123 0.0123 1.27% MLMG::mgVcycle_up::1 82 0.01218 0.01218 0.01218 1.26% MLMG::mgVcycle_up::4 82 0.01204 0.01204 0.01204 1.24% MLCellLinOp::defineAuxData() 11 0.01198 0.01198 0.01198 1.24% MLMG::mgVcycle_up::2 82 0.0119 0.0119 0.0119 1.23% MLMG::mgVcycle_up::3 82 0.01167 0.01167 0.01167 1.20% amrex::average_down 410 0.01163 0.01163 0.01163 1.20% amrex::Copy() 472 0.011 0.011 0.011 1.14% Castro::post_timestep() 10 0.01048 0.01048 0.01048 1.08% MLPoisson::Fapply() 1060 0.01041 0.01041 0.01041 1.07% Gravity::fill_multipole_BCs() 11 0.009807 0.009807 0.009807 1.01% FabArray::Xpay() 739 0.007901 0.007901 0.007901 0.82% MLCellLinOp::solutionResidual() 93 0.007816 0.007816 0.007816 0.81% Castro::reset_internal_energy(MultiFab) 63 0.006889 0.006889 0.006889 0.71% MLMG::computeResidual() 82 0.006559 0.006559 0.006559 0.68% Castro::estTimeStep() 21 0.005886 0.005886 0.005886 0.61% MLCellLinOp::defineBC() 11 0.005329 0.005329 0.005329 0.55% MLMG::prepareForSolve() 11 0.005171 0.005171 0.005171 0.53% Amr::InitializeInit() 1 0.005136 0.005136 0.005136 0.53% Amr::defBaseLevel() 1 0.005129 0.005129 0.005129 0.53% BndryData::define() 11 0.005068 0.005068 0.005068 0.52% Castro::initData() 1 0.004466 0.004466 0.004466 0.46% amrex::Add() 82 0.003634 0.003634 0.003634 0.38% Castro::construct_new_source() 50 0.003608 0.003608 0.003608 0.37% Castro::construct_new_gravity_source() 10 0.003553 0.003553 0.003553 0.37% Castro::construct_old_source() 50 0.002899 0.002899 0.002899 0.30% Castro::construct_old_gravity_source() 10 0.002878 0.002878 0.002878 0.30% Castro::computeNewDt() 9 0.002733 0.002733 0.002733 0.28% Castro::enforce_speed_limit() 62 0.002284 0.002284 0.002284 0.24% Castro::finalize_do_advance() 10 0.002184 0.002184 0.002184 0.23% MLMG::ResNormInf() 93 0.002177 0.002177 0.002177 0.22% Castro::apply_source_to_state() 20 0.001881 0.001881 0.001881 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001825 0.001825 0.001825 0.19% check_for_negative_density() 10 0.001822 0.001822 0.001822 0.19% Castro::reset_internal_energy(Fab) 504 0.001803 0.001803 0.001803 0.19% MLCellLinOp::setLevelBC() 11 0.001616 0.001616 0.001616 0.17% MLMG::getGradSolution() 11 0.001604 0.001604 0.001604 0.17% MLCellLinOp::compGrad() 11 0.001598 0.001598 0.001598 0.16% FabArrayBase::getCPC() 1323 0.001485 0.001485 0.001485 0.15% FabArray::mult() 43 0.001393 0.001393 0.001393 0.14% FabArray::setDomainBndry() 41 0.00139 0.00139 0.00139 0.14% MLPoisson::prepareForSolve() 11 0.001338 0.001338 0.001338 0.14% MLCellLinOp::prepareForSolve() 11 0.001332 0.001332 0.001332 0.14% MLMG::computeMLResidual() 11 0.001298 0.001298 0.001298 0.13% Castro::check_for_nan() 20 0.001282 0.001282 0.001282 0.13% MultiFab::contains_nan() 20 0.001271 0.001271 0.001271 0.13% Castro::post_regrid() 1 0.001208 0.001208 0.001208 0.12% Castro::computeInitialDt() 2 0.001025 0.001025 0.001025 0.11% Gravity::update_max_rhs() 11 0.001002 0.001002 0.001002 0.10% FabArrayBase::getFB() 3941 0.0007331 0.0007331 0.0007331 0.08% FabArrayBase::CPC::define() 454 0.0006581 0.0006581 0.0006581 0.07% Castro::finalize_advance() 10 0.0006243 0.0006243 0.0006243 0.06% Amr::InitAmr() 1 0.0006 0.0006 0.0006 0.06% Castro::Castro() 1 0.0005757 0.0005757 0.0005757 0.06% Gravity::swapTimeLevels() 10 0.0004816 0.0004816 0.0004816 0.05% MultiFab::max() 11 0.0003371 0.0003371 0.0003371 0.03% MLMG::MLResNormInf() 11 0.0003288 0.0003288 0.0003288 0.03% Castro::buildMetrics() 1 0.0002742 0.0002742 0.0002742 0.03% MLLinOp::define() 11 0.0002532 0.0002532 0.0002532 0.03% MLLinOp::defineGrids() 11 0.0002365 0.0002365 0.0002365 0.02% MLMG::MLRhsNormInf() 11 0.0002312 0.0002312 0.0002312 0.02% Castro::create_source_corrector() 10 0.0001805 0.0001805 0.0001805 0.02% FabArrayBase::FB::FB() 56 8.34e-05 8.34e-05 8.34e-05 0.01% Castro::enforce_consistent_e() 1 6.871e-05 6.871e-05 6.871e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.723e-05 5.723e-05 5.723e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.891e-05 4.891e-05 4.891e-05 0.01% makeSFC 55 4.307e-05 4.307e-05 4.307e-05 0.00% Castro::swap_state_time_levels() 10 3.795e-05 3.795e-05 3.795e-05 0.00% StateData::define() 4 3.598e-05 3.598e-05 3.598e-05 0.00% Amr::writeSmallPlotFile() 1 3.587e-05 3.587e-05 3.587e-05 0.00% Castro::initMFs() 1 2.918e-05 2.918e-05 2.918e-05 0.00% DistributionMapping::Distribute() 56 1.612e-05 1.612e-05 1.612e-05 0.00% Amr::initSubcycle() 1 1.087e-05 1.087e-05 1.087e-05 0.00% Gravity::set_mass_offset() 11 5.807e-06 5.807e-06 5.807e-06 0.00% AmrLevel::checkPointPost() 3 5.031e-06 5.031e-06 5.031e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.011e-06 5.011e-06 5.011e-06 0.00% Castro::retry_advance_ctu() 10 4.736e-06 4.736e-06 4.736e-06 0.00% AmrLevel::checkPointPre() 3 4.659e-06 4.659e-06 4.659e-06 0.00% Castro::FluxRegCrseInit 10 4.424e-06 4.424e-06 4.424e-06 0.00% Castro::FluxRegFineAdd() 10 2.366e-06 2.366e-06 2.366e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.975e-06 1.975e-06 1.975e-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 5554 KiB 9037 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 1082 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1452 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3352 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 276 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2004 B 2048 KiB Gravity::solve_for_phi() 80 80 530 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 306 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 195 KiB 671 KiB Castro::estTimeStep() 21 21 2962 B 480 KiB VisMF::Write(FabArray) 656 656 3202 B 320 KiB Castro::normalize_species() 62 62 7139 B 320 KiB amrex::average_down 1067 1067 1552 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1100 B 257 KiB amrex::Dot() 1360 1360 3290 B 160 KiB FabArray::norminf() 1143 1143 3189 B 160 KiB check_for_negative_density() 10 10 301 B 160 KiB Castro::initData() 1 1 48 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3272 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 272 B 9648 B MLCellLinOp::applyBC() 8702 8702 209 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3870 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 345 B 1248 B MLCGSolver::bicgstab 410 410 90 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 529 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 399 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3272 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 272 B 9648 B MLCellLinOp::applyBC() 4351 4351 207 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3870 B 6144 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 46 B 2784 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 279 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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.04-8-g2cd72a3bbaeb) finalized Initializing AMReX (24.04-8-g2cd72a3bbaeb)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-8-g2cd72a3bbaeb) initialized Starting run at 08:14:43 UTC on 2024-04-08. Successfully read inputs file ... Castro git describe: 24.04-11-g2407e8176 AMReX git describe: 24.04-8-g2cd72a3bb Microphysics git describe: 24.04-4-ge5fecb7a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.513000056 Restart time = 0.072571504 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.072486417 [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.078513049 [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.0778913 [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.052869468 [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.052744077 [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.034794751 seconds Ending run at 08:14:43 UTC on 2024-04-08. Run time = 0.443074312 Run time without initialization = 0.369831929 Average number of zones advanced per microsecond: 3.544 Average number of zones advanced per microsecond per rank: 3.544 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4431 ... 0.4431 ... 0.4431 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1379 0.1379 0.1379 31.11% VisMF::Read() 3 0.06113 0.06113 0.06113 13.80% MLCellLinOp::applyBC() 1910 0.03595 0.03595 0.03595 8.11% VisMF::Write(FabArray) 1 0.03202 0.03202 0.03202 7.23% MLPoisson::Fsmooth() 1440 0.01497 0.01497 0.01497 3.38% StateData::FillBoundary(geom) 160 0.01347 0.01347 0.01347 3.04% FillBoundary_nowait() 1730 0.01301 0.01301 0.01301 2.94% Castro::normalize_species() 30 0.01107 0.01107 0.01107 2.50% amrex::Dot() 484 0.009447 0.009447 0.009447 2.13% FabArray::norminf() 465 0.008799 0.008799 0.008799 1.99% Castro::computeTemp() 30 0.00738 0.00738 0.00738 1.67% Castro::enforce_min_density() 30 0.006743 0.006743 0.006743 1.52% FabArray::setVal() 501 0.006678 0.006678 0.006678 1.51% FabArray::ParallelCopy_nowait() 380 0.006341 0.006341 0.006341 1.43% FabArray::Saxpy() 597 0.005955 0.005955 0.005955 1.34% MLCellLinOp::defineAuxData() 6 0.005829 0.005829 0.005829 1.32% amrex::Copy() 221 0.005528 0.005528 0.005528 1.25% Gravity::fill_multipole_BCs() 6 0.005325 0.005325 0.005325 1.20% StateDataPhysBCFunct::() 20 0.005089 0.005089 0.005089 1.15% Amr::restart() 1 0.004978 0.004978 0.004978 1.12% MLPoisson::Fapply() 464 0.004608 0.004608 0.004608 1.04% FabArray::Xpay() 325 0.003534 0.003534 0.003534 0.80% Castro::estTimeStep() 10 0.003159 0.003159 0.003159 0.71% MLMG::addInterpCorrection() 180 0.003141 0.003141 0.003141 0.71% amrex::average_down 180 0.002769 0.002769 0.002769 0.62% Amr::writePlotFile() 1 0.002606 0.002606 0.002606 0.59% BndryData::define() 6 0.002237 0.002237 0.002237 0.50% Castro::construct_new_gravity_source() 5 0.001726 0.001726 0.001726 0.39% amrex::Add() 36 0.001549 0.001549 0.001549 0.35% Castro::construct_old_gravity_source() 5 0.001521 0.001521 0.001521 0.34% Castro::reset_internal_energy(MultiFab) 30 0.001479 0.001479 0.001479 0.33% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00102 0.00102 0.00102 0.23% check_for_negative_density() 5 0.0009643 0.0009643 0.0009643 0.22% Castro::reset_internal_energy(Fab) 240 0.0009289 0.0009289 0.0009289 0.21% MLCellLinOp::setLevelBC() 6 0.0009067 0.0009067 0.0009067 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008351 0.0008351 0.0008351 0.19% MLCellLinOp::prepareForSolve() 6 0.0007655 0.0007655 0.0007655 0.17% Castro::enforce_speed_limit() 30 0.0007231 0.0007231 0.0007231 0.16% FabArray::setDomainBndry() 20 0.0007224 0.0007224 0.0007224 0.16% MLCGSolver::bicgstab 36 0.000713 0.000713 0.000713 0.16% FabArray::mult() 22 0.0007028 0.0007028 0.0007028 0.16% MultiFab::contains_nan() 10 0.00067 0.00067 0.00067 0.15% MLCellLinOp::compGrad() 6 0.0006055 0.0006055 0.0006055 0.14% MLMG::prepareForSolve() 6 0.0005507 0.0005507 0.0005507 0.12% MLCellLinOp::smooth() 720 0.0005311 0.0005311 0.0005311 0.12% Amr::InitAmr() 1 0.0004946 0.0004946 0.0004946 0.11% FabArrayBase::CPC::define() 244 0.0004194 0.0004194 0.0004194 0.09% FabArrayBase::getCPC() 632 0.0003869 0.0003869 0.0003869 0.09% main() 1 0.0003567 0.0003567 0.0003567 0.08% FabArray::FillBoundary() 1730 0.0003475 0.0003475 0.0003475 0.08% Gravity::get_old_grav_vector() 5 0.0003469 0.0003469 0.0003469 0.08% Gravity::get_new_grav_vector() 5 0.0003209 0.0003209 0.0003209 0.07% FabArrayBase::getFB() 1730 0.0002896 0.0002896 0.0002896 0.07% MultiFab::max() 6 0.0002076 0.0002076 0.0002076 0.05% AmrLevel::FillPatch() 20 0.0002021 0.0002021 0.0002021 0.05% Amr::coarseTimeStep() 5 0.0001871 0.0001871 0.0001871 0.04% MLCellLinOp::apply() 464 0.0001833 0.0001833 0.0001833 0.04% MLCellLinOp::defineBC() 6 0.000142 0.000142 0.000142 0.03% MLCGSolver::ParallelAllReduce 798 0.0001327 0.0001327 0.0001327 0.03% FabArray::ParallelCopy() 380 0.0001143 0.0001143 0.0001143 0.03% Castro::create_source_corrector() 5 0.0001121 0.0001121 0.0001121 0.03% FillPatchIterator::Initialize 20 0.000108 0.000108 0.000108 0.02% MLLinOp::defineGrids() 6 0.0001028 0.0001028 0.0001028 0.02% Amr::timeStep() 5 8.981e-05 8.981e-05 8.981e-05 0.02% Castro::subcycle_advance_ctu() 5 8.971e-05 8.971e-05 8.971e-05 0.02% Castro::construct_new_source() 25 8.879e-05 8.879e-05 8.879e-05 0.02% MLMG::mgVcycle() 36 8.643e-05 8.643e-05 8.643e-05 0.02% Castro::do_advance_ctu() 5 8.247e-05 8.247e-05 8.247e-05 0.02% MLCellLinOp::correctionResidual() 180 7.231e-05 7.231e-05 7.231e-05 0.02% AmrLevel::restart() 1 7.22e-05 7.22e-05 7.22e-05 0.02% StateData::restartDoit() 4 6.614e-05 6.614e-05 6.614e-05 0.01% Gravity::update_max_rhs() 6 6.53e-05 6.53e-05 6.53e-05 0.01% Castro::finalize_do_advance() 5 6.149e-05 6.149e-05 6.149e-05 0.01% Castro::advance() 5 5.573e-05 5.573e-05 5.573e-05 0.01% FabArrayBase::FB::FB() 26 5.542e-05 5.542e-05 5.542e-05 0.01% Castro::post_timestep() 5 5.426e-05 5.426e-05 5.426e-05 0.01% Gravity::solve_for_phi() 5 5.186e-05 5.186e-05 5.186e-05 0.01% MLMG:computeResOfCorrection() 180 5.143e-05 5.143e-05 5.143e-05 0.01% Castro::construct_old_source() 25 5.03e-05 5.03e-05 5.03e-05 0.01% Castro::do_old_sources() 5 4.368e-05 4.368e-05 4.368e-05 0.01% MLMG::actualBottomSolve() 36 4.052e-05 4.052e-05 4.052e-05 0.01% Amr::writeSmallPlotFile() 1 4.019e-05 4.019e-05 4.019e-05 0.01% Castro::initialize_advance() 5 3.623e-05 3.623e-05 3.623e-05 0.01% MLMG::solve() 6 3.513e-05 3.513e-05 3.513e-05 0.01% Castro::clean_state() 30 3.504e-05 3.504e-05 3.504e-05 0.01% MLMG::mgVcycle_down::0 36 3.448e-05 3.448e-05 3.448e-05 0.01% MLMG::mgVcycle_down::1 36 3.285e-05 3.285e-05 3.285e-05 0.01% Castro::finalize_advance() 5 3.078e-05 3.078e-05 3.078e-05 0.01% MLMG::mgVcycle_down::2 36 3.025e-05 3.025e-05 3.025e-05 0.01% MLMG::mgVcycle_down::4 36 2.898e-05 2.898e-05 2.898e-05 0.01% Castro::initialize_do_advance() 5 2.884e-05 2.884e-05 2.884e-05 0.01% Castro::buildMetrics() 1 2.793e-05 2.793e-05 2.793e-05 0.01% MLMG::mgVcycle_down::3 36 2.752e-05 2.752e-05 2.752e-05 0.01% MLMG::mgVcycle_up::4 36 2.706e-05 2.706e-05 2.706e-05 0.01% MLMG::oneIter() 36 2.693e-05 2.693e-05 2.693e-05 0.01% Castro::swap_state_time_levels() 5 2.619e-05 2.619e-05 2.619e-05 0.01% Castro::initMFs() 1 2.444e-05 2.444e-05 2.444e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.326e-05 2.326e-05 2.326e-05 0.01% MLMG::mgVcycle_up::3 36 2.295e-05 2.295e-05 2.295e-05 0.01% MLMG::mgVcycle_up::0 36 2.193e-05 2.193e-05 2.193e-05 0.00% Castro::post_restart() 1 2.179e-05 2.179e-05 2.179e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.172e-05 2.172e-05 2.172e-05 0.00% MLMG::mgVcycle_up::2 36 2.079e-05 2.079e-05 2.079e-05 0.00% MLPoisson::define() 6 2.065e-05 2.065e-05 2.065e-05 0.00% MLMG::mgVcycle_up::1 36 2.028e-05 2.028e-05 2.028e-05 0.00% MLCellLinOp::solutionResidual() 42 1.995e-05 1.995e-05 1.995e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.853e-05 1.853e-05 1.853e-05 0.00% Gravity::actual_multilevel_solve() 1 1.743e-05 1.743e-05 1.743e-05 0.00% MLMG::ResNormInf() 42 1.681e-05 1.681e-05 1.681e-05 0.00% Amr::initSubcycle() 1 1.667e-05 1.667e-05 1.667e-05 0.00% FillPatchSingleLevel 20 1.622e-05 1.622e-05 1.622e-05 0.00% MLMG::mgVcycle_bottom 36 1.595e-05 1.595e-05 1.595e-05 0.00% makeSFC 30 1.43e-05 1.43e-05 1.43e-05 0.00% Castro::construct_new_gravity() 5 1.339e-05 1.339e-05 1.339e-05 0.00% MLMG::computeResidual() 36 1.315e-05 1.315e-05 1.315e-05 0.00% Castro::do_new_sources() 5 1.061e-05 1.061e-05 1.061e-05 0.00% DistributionMapping::Distribute() 31 1.029e-05 1.029e-05 1.029e-05 0.00% MLLinOp::makeAgglomeratedDMap 6 8.018e-06 8.018e-06 8.018e-06 0.00% Castro::check_for_nan() 10 7.368e-06 7.368e-06 7.368e-06 0.00% MLLinOp::define() 6 6.745e-06 6.745e-06 6.745e-06 0.00% Castro::apply_source_to_state() 10 6.689e-06 6.689e-06 6.689e-06 0.00% Castro::construct_old_gravity() 5 5.435e-06 5.435e-06 5.435e-06 0.00% Gravity::swapTimeLevels() 5 4.429e-06 4.429e-06 4.429e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.256e-06 4.256e-06 4.256e-06 0.00% MLMG::computeMLResidual() 6 4.247e-06 4.247e-06 4.247e-06 0.00% Castro::computeNewDt() 5 4.127e-06 4.127e-06 4.127e-06 0.00% Castro::expand_state() 5 3.536e-06 3.536e-06 3.536e-06 0.00% MLPoisson::prepareForSolve() 6 3.423e-06 3.423e-06 3.423e-06 0.00% MLMG::getGradSolution() 6 3.057e-06 3.057e-06 3.057e-06 0.00% Castro::retry_advance_ctu() 5 2.461e-06 2.461e-06 2.461e-06 0.00% MLMG::MLResNormInf() 6 2.284e-06 2.284e-06 2.284e-06 0.00% MLMG::MLRhsNormInf() 6 2.269e-06 2.269e-06 2.269e-06 0.00% Gravity::set_mass_offset() 6 2.218e-06 2.218e-06 2.218e-06 0.00% Castro::FluxRegCrseInit 5 1.757e-06 1.757e-06 1.757e-06 0.00% Castro::FluxRegFineAdd() 5 1.311e-06 1.311e-06 1.311e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.098e-06 1.098e-06 1.098e-06 0.00% Amr::init() 1 1.081e-06 1.081e-06 1.081e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4431 0.4431 0.4431 99.99% Amr::coarseTimeStep() 5 0.3347 0.3347 0.3347 75.53% Amr::timeStep() 5 0.3325 0.3325 0.3325 75.03% Castro::advance() 5 0.3271 0.3271 0.3271 73.83% Castro::subcycle_advance_ctu() 5 0.3195 0.3195 0.3195 72.09% Castro::do_advance_ctu() 5 0.3194 0.3194 0.3194 72.07% Castro::construct_ctu_hydro_source() 5 0.144 0.144 0.144 32.50% Castro::construct_new_gravity() 5 0.1376 0.1376 0.1376 31.04% Gravity::solve_phi_with_mlmg() 6 0.1347 0.1347 0.1347 30.40% Gravity::solve_for_phi() 5 0.1294 0.1294 0.1294 29.20% Gravity::actual_solve_with_mlmg() 6 0.1291 0.1291 0.1291 29.14% MLMG::solve() 6 0.1167 0.1167 0.1167 26.33% MLMG::oneIter() 36 0.1089 0.1089 0.1089 24.58% MLMG::mgVcycle() 36 0.1073 0.1073 0.1073 24.22% Amr::init() 1 0.07262 0.07262 0.07262 16.39% Amr::restart() 1 0.07262 0.07262 0.07262 16.39% AmrLevel::restart() 1 0.0615 0.0615 0.0615 13.88% StateData::restartDoit() 4 0.06142 0.06142 0.06142 13.86% VisMF::Read() 3 0.06113 0.06113 0.06113 13.80% MLCellLinOp::smooth() 720 0.05336 0.05336 0.05336 12.04% MLCellLinOp::applyBC() 1910 0.04965 0.04965 0.04965 11.20% Amr::writePlotFile() 1 0.03489 0.03489 0.03489 7.87% MLMG::mgVcycle_bottom 36 0.03219 0.03219 0.03219 7.26% MLMG::actualBottomSolve() 36 0.03217 0.03217 0.03217 7.26% VisMF::Write(FabArray) 1 0.03202 0.03202 0.03202 7.23% MLCGSolver::bicgstab 36 0.0318 0.0318 0.0318 7.18% Castro::clean_state() 30 0.02836 0.02836 0.02836 6.40% AmrLevel::FillPatch() 20 0.02364 0.02364 0.02364 5.34% FillPatchIterator::Initialize 20 0.02151 0.02151 0.02151 4.85% FillPatchIterator::FillFromLevel0() 20 0.02068 0.02068 0.02068 4.67% FillPatchSingleLevel 20 0.02066 0.02066 0.02066 4.66% StateDataPhysBCFunct::() 20 0.01856 0.01856 0.01856 4.19% MLCellLinOp::apply() 464 0.01629 0.01629 0.01629 3.68% MLMG::mgVcycle_down::0 36 0.01522 0.01522 0.01522 3.44% MLPoisson::Fsmooth() 1440 0.01497 0.01497 0.01497 3.38% FabArray::FillBoundary() 1730 0.0137 0.0137 0.0137 3.09% StateData::FillBoundary(geom) 160 0.01347 0.01347 0.01347 3.04% FillBoundary_nowait() 1730 0.01336 0.01336 0.01336 3.01% MLMG::mgVcycle_up::0 36 0.01131 0.01131 0.01131 2.55% Castro::initialize_do_advance() 5 0.01125 0.01125 0.01125 2.54% Castro::normalize_species() 30 0.01107 0.01107 0.01107 2.50% MLPoisson::define() 6 0.009801 0.009801 0.009801 2.21% Castro::computeTemp() 30 0.009788 0.009788 0.009788 2.21% Castro::do_old_sources() 5 0.009637 0.009637 0.009637 2.17% amrex::Dot() 484 0.009447 0.009447 0.009447 2.13% MLMG:computeResOfCorrection() 180 0.009031 0.009031 0.009031 2.04% MLCellLinOp::correctionResidual() 180 0.00898 0.00898 0.00898 2.03% FabArray::norminf() 465 0.008799 0.008799 0.008799 1.99% Gravity::get_new_grav_vector() 5 0.008036 0.008036 0.008036 1.81% Castro::construct_old_gravity() 5 0.007981 0.007981 0.007981 1.80% Gravity::get_old_grav_vector() 5 0.007976 0.007976 0.007976 1.80% MLMG::mgVcycle_down::1 36 0.007453 0.007453 0.007453 1.68% Castro::initialize_advance() 5 0.007314 0.007314 0.007314 1.65% Castro::do_new_sources() 5 0.007149 0.007149 0.007149 1.61% MLMG::mgVcycle_down::2 36 0.006861 0.006861 0.006861 1.55% FabArray::ParallelCopy() 380 0.006851 0.006851 0.006851 1.55% Castro::enforce_min_density() 30 0.006743 0.006743 0.006743 1.52% FabArray::ParallelCopy_nowait() 380 0.006736 0.006736 0.006736 1.52% FabArray::setVal() 501 0.006678 0.006678 0.006678 1.51% MLMG::mgVcycle_down::3 36 0.006658 0.006658 0.006658 1.50% MLCellLinOp::defineAuxData() 6 0.006652 0.006652 0.006652 1.50% MLMG::mgVcycle_down::4 36 0.006623 0.006623 0.006623 1.49% Castro::expand_state() 5 0.006312 0.006312 0.006312 1.42% Castro::post_restart() 1 0.005961 0.005961 0.005961 1.35% FabArray::Saxpy() 597 0.005955 0.005955 0.005955 1.34% MLCGSolver::ParallelAllReduce 798 0.005708 0.005708 0.005708 1.29% Gravity::multilevel_solve_for_new_phi() 1 0.00559 0.00559 0.00559 1.26% Gravity::actual_multilevel_solve() 1 0.005567 0.005567 0.005567 1.26% amrex::Copy() 221 0.005528 0.005528 0.005528 1.25% MLMG::addInterpCorrection() 180 0.005513 0.005513 0.005513 1.24% Gravity::fill_multipole_BCs() 6 0.005452 0.005452 0.005452 1.23% MLMG::mgVcycle_up::1 36 0.005314 0.005314 0.005314 1.20% MLMG::mgVcycle_up::4 36 0.005312 0.005312 0.005312 1.20% Castro::post_timestep() 5 0.005269 0.005269 0.005269 1.19% MLMG::mgVcycle_up::2 36 0.005203 0.005203 0.005203 1.17% amrex::average_down 180 0.00517 0.00517 0.00517 1.17% MLMG::mgVcycle_up::3 36 0.005099 0.005099 0.005099 1.15% MLPoisson::Fapply() 464 0.004608 0.004608 0.004608 1.04% MLCellLinOp::solutionResidual() 42 0.003692 0.003692 0.003692 0.83% FabArray::Xpay() 325 0.003534 0.003534 0.003534 0.80% Castro::estTimeStep() 10 0.003159 0.003159 0.003159 0.71% MLCellLinOp::defineBC() 6 0.002986 0.002986 0.002986 0.67% MLMG::prepareForSolve() 6 0.002922 0.002922 0.002922 0.66% MLMG::computeResidual() 36 0.002877 0.002877 0.002877 0.65% BndryData::define() 6 0.002844 0.002844 0.002844 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002408 0.002408 0.002408 0.54% Castro::computeNewDt() 5 0.001999 0.001999 0.001999 0.45% Castro::construct_new_source() 25 0.001815 0.001815 0.001815 0.41% Castro::construct_new_gravity_source() 5 0.001726 0.001726 0.001726 0.39% Castro::construct_old_source() 25 0.001572 0.001572 0.001572 0.35% amrex::Add() 36 0.001549 0.001549 0.001549 0.35% Castro::construct_old_gravity_source() 5 0.001521 0.001521 0.001521 0.34% Castro::finalize_do_advance() 5 0.001226 0.001226 0.001226 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00102 0.00102 0.00102 0.23% MLMG::ResNormInf() 42 0.000998 0.000998 0.000998 0.23% Castro::apply_source_to_state() 10 0.0009683 0.0009683 0.0009683 0.22% check_for_negative_density() 5 0.0009643 0.0009643 0.0009643 0.22% Castro::reset_internal_energy(Fab) 240 0.0009289 0.0009289 0.0009289 0.21% MLCellLinOp::setLevelBC() 6 0.0009067 0.0009067 0.0009067 0.20% MLMG::getGradSolution() 6 0.0009054 0.0009054 0.0009054 0.20% MLCellLinOp::compGrad() 6 0.0009023 0.0009023 0.0009023 0.20% MLMG::computeMLResidual() 6 0.0008316 0.0008316 0.0008316 0.19% FabArrayBase::getCPC() 632 0.0008063 0.0008063 0.0008063 0.18% MLPoisson::prepareForSolve() 6 0.0007689 0.0007689 0.0007689 0.17% MLCellLinOp::prepareForSolve() 6 0.0007655 0.0007655 0.0007655 0.17% Gravity::update_max_rhs() 6 0.0007295 0.0007295 0.0007295 0.16% Castro::enforce_speed_limit() 30 0.0007231 0.0007231 0.0007231 0.16% FabArray::setDomainBndry() 20 0.0007224 0.0007224 0.0007224 0.16% FabArray::mult() 22 0.0007028 0.0007028 0.0007028 0.16% Castro::check_for_nan() 10 0.0006774 0.0006774 0.0006774 0.15% MultiFab::contains_nan() 10 0.00067 0.00067 0.00067 0.15% Amr::InitAmr() 1 0.0005113 0.0005113 0.0005113 0.12% FabArrayBase::CPC::define() 244 0.0004194 0.0004194 0.0004194 0.09% FabArrayBase::getFB() 1730 0.000345 0.000345 0.000345 0.08% Castro::finalize_advance() 5 0.0003067 0.0003067 0.0003067 0.07% Gravity::swapTimeLevels() 5 0.0002508 0.0002508 0.0002508 0.06% MultiFab::max() 6 0.0002076 0.0002076 0.0002076 0.05% MLMG::MLResNormInf() 6 0.000192 0.000192 0.000192 0.04% Castro::buildMetrics() 1 0.0001585 0.0001585 0.0001585 0.04% MLLinOp::define() 6 0.0001417 0.0001417 0.0001417 0.03% MLLinOp::defineGrids() 6 0.000135 0.000135 0.000135 0.03% MLMG::MLRhsNormInf() 6 0.0001229 0.0001229 0.0001229 0.03% Castro::create_source_corrector() 5 0.0001121 0.0001121 0.0001121 0.03% FabArrayBase::FB::FB() 26 5.542e-05 5.542e-05 5.542e-05 0.01% Amr::writeSmallPlotFile() 1 4.019e-05 4.019e-05 4.019e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.107e-05 3.107e-05 3.107e-05 0.01% Castro::swap_state_time_levels() 5 2.619e-05 2.619e-05 2.619e-05 0.01% Castro::initMFs() 1 2.444e-05 2.444e-05 2.444e-05 0.01% makeSFC 30 2.305e-05 2.305e-05 2.305e-05 0.01% Amr::initSubcycle() 1 1.667e-05 1.667e-05 1.667e-05 0.00% DistributionMapping::Distribute() 31 1.029e-05 1.029e-05 1.029e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.789e-06 5.789e-06 5.789e-06 0.00% Castro::retry_advance_ctu() 5 2.461e-06 2.461e-06 2.461e-06 0.00% Gravity::set_mass_offset() 6 2.218e-06 2.218e-06 2.218e-06 0.00% Castro::FluxRegCrseInit 5 1.757e-06 1.757e-06 1.757e-06 0.00% Castro::FluxRegFineAdd() 5 1.311e-06 1.311e-06 1.311e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.098e-06 1.098e-06 1.098e-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 11 MiB 9037 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 1068 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2127 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 6427 KiB 14 MiB MLMG::prepareForSolve() 361 361 3232 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 186 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 185 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6414 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3277 B 2048 KiB Gravity::solve_for_phi() 40 40 596 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 298 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3323 B 480 KiB VisMF::Write(FabArray) 112 112 6479 B 320 KiB Castro::normalize_species() 30 30 8136 B 320 KiB amrex::average_down 469 469 1376 B 257 KiB MLMG::addInterpCorrection() 468 468 1067 B 257 KiB amrex::Dot() 592 592 3140 B 160 KiB FabArray::norminf() 501 501 3066 B 160 KiB check_for_negative_density() 5 5 349 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3131 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 252 B 9648 B MLCellLinOp::applyBC() 3820 3820 203 B 9344 B amrex::Copy() 56 56 5839 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 335 B 1248 B MLCGSolver::bicgstab 180 180 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1207 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 157 KiB 3584 KiB VisMF::Read() 24 24 210 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3131 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 253 B 9648 B MLCellLinOp::applyBC() 1910 1910 202 B 9328 B amrex::Copy() 56 56 5839 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2520 B 3072 B StateData::FillBoundary(geom) 960 960 41 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 791 B 1648 B amrex::average_down 37 37 459 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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.04-8-g2cd72a3bbaeb) finalized