Initializing AMReX (24.04-27-gd857968968ae)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-27-gd857968968ae) initialized Starting run at 08:11:59 UTC on 2024-04-29. Successfully read inputs file ... Castro git describe: 24.04-24-gdda3ea60d AMReX git describe: 24.04-27-gd85796896 Microphysics git describe: 24.04-9-g4ad225b7 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.046543768 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025925546 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.065421966 [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.06717893 [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.079053151 [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.070456484 [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.063680798 [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.045327981 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.05335723 [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.075280355 [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.076772773 [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.057671107 [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.059508704 [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.044444734 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025321468 seconds Ending run at 08:12:00 UTC on 2024-04-29. Run time = 0.913774906 Run time without initialization = 0.784181788 Average number of zones advanced per microsecond: 3.343 Average number of zones advanced per microsecond per rank: 3.343 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9138 ... 0.9138 ... 0.9138 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2800 0.2800 0.2800 30.64% VisMF::Write(FabArray) 11 0.1789 0.1789 0.1789 19.58% MLCellLinOp::applyBC() 4351 0.08219 0.08219 0.08219 8.99% MLPoisson::Fsmooth() 3280 0.03435 0.03435 0.03435 3.76% FillBoundary_nowait() 3941 0.03152 0.03152 0.03152 3.45% StateData::FillBoundary(geom) 328 0.02728 0.02728 0.02728 2.99% amrex::Dot() 1114 0.02211 0.02211 0.02211 2.42% Castro::normalize_species() 62 0.02053 0.02053 0.02053 2.25% FabArray::norminf() 1061 0.02035 0.02035 0.02035 2.23% Castro::computeTemp() 63 0.01796 0.01796 0.01796 1.97% FabArray::ParallelCopy_nowait() 861 0.01389 0.01389 0.01389 1.52% FabArray::setVal() 1062 0.01379 0.01379 0.01379 1.51% Castro::enforce_min_density() 62 0.01348 0.01348 0.01348 1.47% FabArray::Saxpy() 1370 0.01343 0.01343 0.01343 1.47% StateDataPhysBCFunct::() 41 0.01254 0.01254 0.01254 1.37% amrex::Copy() 472 0.01104 0.01104 0.01104 1.21% MLPoisson::Fapply() 1060 0.01097 0.01097 0.01097 1.20% MLCellLinOp::defineAuxData() 11 0.01082 0.01082 0.01082 1.18% Gravity::fill_multipole_BCs() 11 0.009908 0.009908 0.009908 1.08% FabArray::Xpay() 739 0.008122 0.008122 0.008122 0.89% MLMG::addInterpCorrection() 410 0.007138 0.007138 0.007138 0.78% amrex::average_down 410 0.006319 0.006319 0.006319 0.69% Castro::estTimeStep() 21 0.006203 0.006203 0.006203 0.68% Amr::checkPoint() 3 0.00611 0.00611 0.00611 0.67% Castro::reset_internal_energy(MultiFab) 63 0.004507 0.004507 0.004507 0.49% BndryData::define() 11 0.00413 0.00413 0.00413 0.45% amrex::Add() 82 0.003626 0.003626 0.003626 0.40% Castro::construct_new_gravity_source() 10 0.003559 0.003559 0.003559 0.39% Castro::construct_old_gravity_source() 10 0.002997 0.002997 0.002997 0.33% Amr::writePlotFile() 2 0.002129 0.002129 0.002129 0.23% check_for_negative_density() 10 0.001953 0.001953 0.001953 0.21% Castro::reset_internal_energy(Fab) 504 0.001909 0.001909 0.001909 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001832 0.001832 0.001832 0.20% Castro::enforce_speed_limit() 62 0.001693 0.001693 0.001693 0.19% MLCellLinOp::setLevelBC() 11 0.001611 0.001611 0.001611 0.18% MLCGSolver::bicgstab 82 0.001591 0.001591 0.001591 0.17% Gravity::actual_solve_with_mlmg() 11 0.00155 0.00155 0.00155 0.17% Castro::initData() 1 0.001478 0.001478 0.001478 0.16% FabArray::setDomainBndry() 41 0.001419 0.001419 0.001419 0.16% FabArray::mult() 43 0.001409 0.001409 0.001409 0.15% MLCellLinOp::prepareForSolve() 11 0.001325 0.001325 0.001325 0.15% MultiFab::contains_nan() 20 0.001291 0.001291 0.001291 0.14% MLCellLinOp::smooth() 1640 0.001076 0.001076 0.001076 0.12% MLCellLinOp::compGrad() 11 0.001062 0.001062 0.001062 0.12% MLMG::prepareForSolve() 11 0.0009677 0.0009677 0.0009677 0.11% FabArrayBase::getCPC() 1323 0.0007979 0.0007979 0.0007979 0.09% FabArray::FillBoundary() 3941 0.000786 0.000786 0.000786 0.09% Gravity::get_new_grav_vector() 11 0.0006181 0.0006181 0.0006181 0.07% Gravity::get_old_grav_vector() 10 0.0004816 0.0004816 0.0004816 0.05% MLCellLinOp::apply() 1060 0.0004431 0.0004431 0.0004431 0.05% AmrLevel::FillPatch() 41 0.0004109 0.0004109 0.0004109 0.04% main() 1 0.0003969 0.0003969 0.0003969 0.04% Amr::coarseTimeStep() 10 0.0003954 0.0003954 0.0003954 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003346 0.0003346 0.0003346 0.04% MLCellLinOp::defineBC() 11 0.0002781 0.0002781 0.0002781 0.03% FabArray::ParallelCopy() 861 0.0002599 0.0002599 0.0002599 0.03% FillPatchIterator::Initialize 41 0.0002151 0.0002151 0.0002151 0.02% MLMG::mgVcycle() 82 0.0001969 0.0001969 0.0001969 0.02% Castro::subcycle_advance_ctu() 10 0.0001805 0.0001805 0.0001805 0.02% MLCellLinOp::correctionResidual() 410 0.0001672 0.0001672 0.0001672 0.02% Amr::timeStep() 10 0.0001605 0.0001605 0.0001605 0.02% Gravity::solve_for_phi() 10 0.0001213 0.0001213 0.0001213 0.01% Castro::advance() 10 0.0001184 0.0001184 0.0001184 0.01% StateData::checkPoint() 12 0.0001128 0.0001128 0.0001128 0.01% MLMG:computeResOfCorrection() 410 0.0001061 0.0001061 0.0001061 0.01% MLMG::actualBottomSolve() 82 8.632e-05 8.632e-05 8.632e-05 0.01% MLMG::mgVcycle_down::1 82 8.118e-05 8.118e-05 8.118e-05 0.01% Castro::clean_state() 62 8.102e-05 8.102e-05 8.102e-05 0.01% Castro::initialize_advance() 10 8.081e-05 8.081e-05 8.081e-05 0.01% Castro::construct_new_source() 50 7.83e-05 7.83e-05 7.83e-05 0.01% MLMG::solve() 11 7.81e-05 7.81e-05 7.81e-05 0.01% MLMG::mgVcycle_down::0 82 7.75e-05 7.75e-05 7.75e-05 0.01% MLMG::mgVcycle_down::2 82 7.097e-05 7.097e-05 7.097e-05 0.01% MLMG::mgVcycle_down::4 82 6.694e-05 6.694e-05 6.694e-05 0.01% MLMG::mgVcycle_down::3 82 6.456e-05 6.456e-05 6.456e-05 0.01% AmrLevel::checkPoint() 3 6.153e-05 6.153e-05 6.153e-05 0.01% Castro::initialize_do_advance() 10 5.867e-05 5.867e-05 5.867e-05 0.01% MLMG::oneIter() 82 5.488e-05 5.488e-05 5.488e-05 0.01% MLMG::mgVcycle_up::4 82 5.233e-05 5.233e-05 5.233e-05 0.01% Castro::do_advance_ctu() 10 5.222e-05 5.222e-05 5.222e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.933e-05 4.933e-05 4.933e-05 0.01% MLMG::mgVcycle_up::0 82 4.726e-05 4.726e-05 4.726e-05 0.01% Castro::finalize_do_advance() 10 4.518e-05 4.518e-05 4.518e-05 0.00% MLCellLinOp::solutionResidual() 93 4.504e-05 4.504e-05 4.504e-05 0.00% MLMG::mgVcycle_up::1 82 4.375e-05 4.375e-05 4.375e-05 0.00% MLMG::mgVcycle_up::3 82 4.369e-05 4.369e-05 4.369e-05 0.00% MLMG::mgVcycle_up::2 82 4.333e-05 4.333e-05 4.333e-05 0.00% FillPatchSingleLevel 41 3.861e-05 3.861e-05 3.861e-05 0.00% MLMG::mgVcycle_bottom 82 3.691e-05 3.691e-05 3.691e-05 0.00% Castro::post_timestep() 10 3.606e-05 3.606e-05 3.606e-05 0.00% Amr::defBaseLevel() 1 3.416e-05 3.416e-05 3.416e-05 0.00% MLMG::computeResidual() 82 3.301e-05 3.301e-05 3.301e-05 0.00% MLMG::ResNormInf() 93 3.292e-05 3.292e-05 3.292e-05 0.00% Castro::construct_new_gravity() 10 2.681e-05 2.681e-05 2.681e-05 0.00% MLPoisson::define() 11 2.58e-05 2.58e-05 2.58e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.513e-05 2.513e-05 2.513e-05 0.00% Castro::do_old_sources() 10 2.094e-05 2.094e-05 2.094e-05 0.00% Amr::FinalizeInit() 1 1.966e-05 1.966e-05 1.966e-05 0.00% Castro::construct_old_source() 50 1.924e-05 1.924e-05 1.924e-05 0.00% Castro::do_new_sources() 10 1.917e-05 1.917e-05 1.917e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.734e-05 1.734e-05 1.734e-05 0.00% Gravity::actual_multilevel_solve() 1 1.527e-05 1.527e-05 1.527e-05 0.00% Castro::apply_source_to_state() 20 1.168e-05 1.168e-05 1.168e-05 0.00% Castro::check_for_nan() 20 1.094e-05 1.094e-05 1.094e-05 0.00% MLMG::computeMLResidual() 11 1.074e-05 1.074e-05 1.074e-05 0.00% Castro::construct_old_gravity() 10 1.021e-05 1.021e-05 1.021e-05 0.00% MLPoisson::prepareForSolve() 11 6.693e-06 6.693e-06 6.693e-06 0.00% Castro::computeNewDt() 9 6.392e-06 6.392e-06 6.392e-06 0.00% MLMG::getGradSolution() 11 6.196e-06 6.196e-06 6.196e-06 0.00% Castro::expand_state() 10 6.103e-06 6.103e-06 6.103e-06 0.00% Amr::InitializeInit() 1 5.844e-06 5.844e-06 5.844e-06 0.00% Castro::post_init() 1 4.257e-06 4.257e-06 4.257e-06 0.00% Amr::init() 1 2.912e-06 2.912e-06 2.912e-06 0.00% Amr::initialInit() 1 1.209e-06 1.209e-06 1.209e-06 0.00% Castro::post_regrid() 1 1.148e-06 1.148e-06 1.148e-06 0.00% Other 4752 0.003325 0.003325 0.003325 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9138 0.9138 0.9138 100.00% Amr::coarseTimeStep() 10 0.7586 0.7586 0.7586 83.02% Amr::timeStep() 10 0.6649 0.6649 0.6649 72.76% Castro::advance() 10 0.6538 0.6538 0.6538 71.55% Castro::subcycle_advance_ctu() 10 0.6387 0.6387 0.6387 69.90% Castro::do_advance_ctu() 10 0.6386 0.6386 0.6386 69.88% Gravity::solve_phi_with_mlmg() 11 0.3017 0.3017 0.3017 33.02% Castro::construct_ctu_hydro_source() 10 0.2915 0.2915 0.2915 31.90% Gravity::actual_solve_with_mlmg() 11 0.2913 0.2913 0.2913 31.88% Castro::construct_new_gravity() 10 0.2715 0.2715 0.2715 29.71% MLMG::solve() 11 0.2686 0.2686 0.2686 29.39% Gravity::solve_for_phi() 10 0.255 0.255 0.255 27.91% MLMG::oneIter() 82 0.2528 0.2528 0.2528 27.66% MLMG::mgVcycle() 82 0.2491 0.2491 0.2491 27.26% VisMF::Write(FabArray) 11 0.1789 0.1789 0.1789 19.58% Amr::checkPoint() 3 0.1365 0.1365 0.1365 14.94% AmrLevel::checkPoint() 3 0.1304 0.1304 0.1304 14.27% StateData::checkPoint() 12 0.1303 0.1303 0.1303 14.26% Amr::init() 1 0.1288 0.1288 0.1288 14.09% MLCellLinOp::smooth() 1640 0.124 0.124 0.124 13.57% MLCellLinOp::applyBC() 4351 0.1152 0.1152 0.1152 12.61% MLMG::mgVcycle_bottom 82 0.07502 0.07502 0.07502 8.21% MLMG::actualBottomSolve() 82 0.07498 0.07498 0.07498 8.21% MLCGSolver::bicgstab 82 0.07415 0.07415 0.07415 8.11% Castro::clean_state() 62 0.05923 0.05923 0.05923 6.48% Amr::initialInit() 1 0.05612 0.05612 0.05612 6.14% Amr::writePlotFile() 2 0.05138 0.05138 0.05138 5.62% Amr::FinalizeInit() 1 0.05106 0.05106 0.05106 5.59% AmrLevel::FillPatch() 41 0.04996 0.04996 0.04996 5.47% Castro::post_init() 1 0.04965 0.04965 0.04965 5.43% Gravity::multilevel_solve_for_new_phi() 1 0.04714 0.04714 0.04714 5.16% Gravity::actual_multilevel_solve() 1 0.04713 0.04713 0.04713 5.16% FillPatchIterator::Initialize 41 0.04564 0.04564 0.04564 4.99% FillPatchIterator::FillFromLevel0() 41 0.04401 0.04401 0.04401 4.82% FillPatchSingleLevel 41 0.04396 0.04396 0.04396 4.81% StateDataPhysBCFunct::() 41 0.03982 0.03982 0.03982 4.36% MLCellLinOp::apply() 1060 0.03749 0.03749 0.03749 4.10% MLMG::mgVcycle_down::0 82 0.03548 0.03548 0.03548 3.88% MLPoisson::Fsmooth() 3280 0.03435 0.03435 0.03435 3.76% FabArray::FillBoundary() 3941 0.033 0.033 0.033 3.61% FillBoundary_nowait() 3941 0.03222 0.03222 0.03222 3.53% StateData::FillBoundary(geom) 328 0.02728 0.02728 0.02728 2.99% MLMG::mgVcycle_up::0 82 0.02675 0.02675 0.02675 2.93% Castro::computeTemp() 63 0.02438 0.02438 0.02438 2.67% Castro::initialize_do_advance() 10 0.02328 0.02328 0.02328 2.55% amrex::Dot() 1114 0.02211 0.02211 0.02211 2.42% MLMG:computeResOfCorrection() 410 0.02092 0.02092 0.02092 2.29% MLCellLinOp::correctionResidual() 410 0.02081 0.02081 0.02081 2.28% Castro::normalize_species() 62 0.02053 0.02053 0.02053 2.25% FabArray::norminf() 1061 0.02035 0.02035 0.02035 2.23% Castro::do_old_sources() 10 0.01976 0.01976 0.01976 2.16% Gravity::get_new_grav_vector() 11 0.01853 0.01853 0.01853 2.03% MLPoisson::define() 11 0.01802 0.01802 0.01802 1.97% MLMG::mgVcycle_down::1 82 0.01691 0.01691 0.01691 1.85% MLMG::mgVcycle_down::2 82 0.01594 0.01594 0.01594 1.74% Castro::construct_old_gravity() 10 0.0157 0.0157 0.0157 1.72% Gravity::get_old_grav_vector() 10 0.01569 0.01569 0.01569 1.72% MLMG::mgVcycle_down::3 82 0.01542 0.01542 0.01542 1.69% MLMG::mgVcycle_down::4 82 0.01527 0.01527 0.01527 1.67% FabArray::ParallelCopy() 861 0.01496 0.01496 0.01496 1.64% FabArray::ParallelCopy_nowait() 861 0.0147 0.0147 0.0147 1.61% Castro::initialize_advance() 10 0.0143 0.0143 0.0143 1.56% FabArray::setVal() 1062 0.01379 0.01379 0.01379 1.51% Castro::enforce_min_density() 62 0.01348 0.01348 0.01348 1.47% FabArray::Saxpy() 1370 0.01343 0.01343 0.01343 1.47% Castro::do_new_sources() 10 0.01329 0.01329 0.01329 1.45% MLCGSolver::ParallelAllReduce 1832 0.01327 0.01327 0.01327 1.45% Castro::expand_state() 10 0.01267 0.01267 0.01267 1.39% MLMG::addInterpCorrection() 410 0.01253 0.01253 0.01253 1.37% MLMG::mgVcycle_up::1 82 0.01228 0.01228 0.01228 1.34% MLCellLinOp::defineAuxData() 11 0.01228 0.01228 0.01228 1.34% MLMG::mgVcycle_up::4 82 0.01216 0.01216 0.01216 1.33% MLMG::mgVcycle_up::2 82 0.012 0.012 0.012 1.31% amrex::average_down 410 0.01178 0.01178 0.01178 1.29% MLMG::mgVcycle_up::3 82 0.01167 0.01167 0.01167 1.28% amrex::Copy() 472 0.01104 0.01104 0.01104 1.21% MLPoisson::Fapply() 1060 0.01097 0.01097 0.01097 1.20% Castro::post_timestep() 10 0.01094 0.01094 0.01094 1.20% Gravity::fill_multipole_BCs() 11 0.01015 0.01015 0.01015 1.11% FabArray::Xpay() 739 0.008122 0.008122 0.008122 0.89% MLCellLinOp::solutionResidual() 93 0.007969 0.007969 0.007969 0.87% MLMG::computeResidual() 82 0.006599 0.006599 0.006599 0.72% Castro::reset_internal_energy(MultiFab) 63 0.006416 0.006416 0.006416 0.70% Castro::estTimeStep() 21 0.006203 0.006203 0.006203 0.68% MLCellLinOp::defineBC() 11 0.00545 0.00545 0.00545 0.60% MLMG::prepareForSolve() 11 0.005245 0.005245 0.005245 0.57% BndryData::define() 11 0.005172 0.005172 0.005172 0.57% Amr::InitializeInit() 1 0.005064 0.005064 0.005064 0.55% Amr::defBaseLevel() 1 0.005058 0.005058 0.005058 0.55% Castro::initData() 1 0.004338 0.004338 0.004338 0.47% Castro::construct_new_source() 50 0.003637 0.003637 0.003637 0.40% amrex::Add() 82 0.003626 0.003626 0.003626 0.40% Castro::construct_new_gravity_source() 10 0.003559 0.003559 0.003559 0.39% Castro::construct_old_source() 50 0.003016 0.003016 0.003016 0.33% Castro::construct_old_gravity_source() 10 0.002997 0.002997 0.002997 0.33% Castro::computeNewDt() 9 0.002707 0.002707 0.002707 0.30% Castro::finalize_do_advance() 10 0.002492 0.002492 0.002492 0.27% MLMG::ResNormInf() 93 0.002209 0.002209 0.002209 0.24% check_for_negative_density() 10 0.001953 0.001953 0.001953 0.21% Castro::reset_internal_energy(Fab) 504 0.001909 0.001909 0.001909 0.21% Castro::apply_source_to_state() 20 0.001884 0.001884 0.001884 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001832 0.001832 0.001832 0.20% Castro::enforce_speed_limit() 62 0.001693 0.001693 0.001693 0.19% MLCellLinOp::setLevelBC() 11 0.001611 0.001611 0.001611 0.18% MLMG::getGradSolution() 11 0.001586 0.001586 0.001586 0.17% MLCellLinOp::compGrad() 11 0.001579 0.001579 0.001579 0.17% FabArrayBase::getCPC() 1323 0.001479 0.001479 0.001479 0.16% FabArray::setDomainBndry() 41 0.001419 0.001419 0.001419 0.16% MLMG::computeMLResidual() 11 0.001414 0.001414 0.001414 0.15% FabArray::mult() 43 0.001409 0.001409 0.001409 0.15% MLPoisson::prepareForSolve() 11 0.001332 0.001332 0.001332 0.15% MLCellLinOp::prepareForSolve() 11 0.001325 0.001325 0.001325 0.15% Castro::check_for_nan() 20 0.001302 0.001302 0.001302 0.14% MultiFab::contains_nan() 20 0.001291 0.001291 0.001291 0.14% Castro::post_regrid() 1 0.001103 0.001103 0.001103 0.12% Other 4752 0.008214 0.008214 0.008214 0.90% -------------------------------------------------------------------------------------------- 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 6038 KiB 9037 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 1073 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1570 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3614 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 210 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2187 B 2048 KiB Gravity::solve_for_phi() 80 80 570 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 105 KiB 2048 KiB BndryData::define() 1056 1056 330 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 210 KiB 671 KiB Castro::estTimeStep() 21 21 3313 B 480 KiB VisMF::Write(FabArray) 656 656 3409 B 320 KiB Castro::normalize_species() 62 62 7318 B 320 KiB amrex::average_down 1067 1067 1616 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1182 B 257 KiB amrex::Dot() 1360 1360 3582 B 160 KiB FabArray::norminf() 1143 1143 3447 B 160 KiB check_for_negative_density() 10 10 336 B 160 KiB Castro::initData() 1 1 56 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3527 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 300 B 9648 B MLCellLinOp::applyBC() 8702 8702 224 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3929 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 372 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 1056 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 44 KiB 8192 KiB VisMF::Write(FabArray) 744 744 428 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3527 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 299 B 9648 B MLCellLinOp::applyBC() 4351 4351 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3929 B 6144 B Gravity::get_new_grav_vector() 3 3 2885 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 47 B 2832 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 301 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): 12049 Free GPU global memory (MB): 2105 [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-27-gd857968968ae) finalized Initializing AMReX (24.04-27-gd857968968ae)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-27-gd857968968ae) initialized Starting run at 08:12:00 UTC on 2024-04-29. Successfully read inputs file ... Castro git describe: 24.04-24-gdda3ea60d AMReX git describe: 24.04-27-gd85796896 Microphysics git describe: 24.04-9-g4ad225b7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.520668515 Restart time = 0.071646596 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.069642555 [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.060106556 [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.075685554 [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.080346393 [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.053629249 [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.027566925 seconds Ending run at 08:12:01 UTC on 2024-04-29. Run time = 0.439686244 Run time without initialization = 0.36739581 Average number of zones advanced per microsecond: 3.568 Average number of zones advanced per microsecond per rank: 3.568 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4397 ... 0.4397 ... 0.4397 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1459 0.1459 0.1459 33.18% VisMF::Read() 3 0.06035 0.06035 0.06035 13.72% MLCellLinOp::applyBC() 1910 0.03567 0.03567 0.03567 8.11% VisMF::Write(FabArray) 1 0.02488 0.02488 0.02488 5.66% MLPoisson::Fsmooth() 1440 0.0149 0.0149 0.0149 3.39% StateData::FillBoundary(geom) 160 0.01302 0.01302 0.01302 2.96% FillBoundary_nowait() 1730 0.01292 0.01292 0.01292 2.94% Castro::normalize_species() 30 0.01082 0.01082 0.01082 2.46% amrex::Dot() 484 0.009292 0.009292 0.009292 2.11% FabArray::norminf() 465 0.008737 0.008737 0.008737 1.99% Castro::computeTemp() 30 0.006927 0.006927 0.006927 1.58% FabArray::setVal() 501 0.006696 0.006696 0.006696 1.52% FabArray::ParallelCopy_nowait() 380 0.006247 0.006247 0.006247 1.42% FabArray::Saxpy() 597 0.005919 0.005919 0.005919 1.35% MLCellLinOp::defineAuxData() 6 0.005781 0.005781 0.005781 1.31% Castro::enforce_min_density() 30 0.005718 0.005718 0.005718 1.30% amrex::Copy() 221 0.005506 0.005506 0.005506 1.25% Gravity::fill_multipole_BCs() 6 0.005357 0.005357 0.005357 1.22% Amr::restart() 1 0.004852 0.004852 0.004852 1.10% StateDataPhysBCFunct::() 20 0.004661 0.004661 0.004661 1.06% MLPoisson::Fapply() 464 0.004545 0.004545 0.004545 1.03% FabArray::Xpay() 325 0.003534 0.003534 0.003534 0.80% MLMG::addInterpCorrection() 180 0.003141 0.003141 0.003141 0.71% Castro::estTimeStep() 10 0.002809 0.002809 0.002809 0.64% amrex::average_down 180 0.002754 0.002754 0.002754 0.63% Amr::writePlotFile() 1 0.002514 0.002514 0.002514 0.57% BndryData::define() 6 0.002266 0.002266 0.002266 0.52% Castro::reset_internal_energy(MultiFab) 30 0.002002 0.002002 0.002002 0.46% Castro::construct_new_gravity_source() 5 0.00188 0.00188 0.00188 0.43% amrex::Add() 36 0.001551 0.001551 0.001551 0.35% Castro::construct_old_gravity_source() 5 0.001508 0.001508 0.001508 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009891 0.0009891 0.0009891 0.22% Castro::enforce_speed_limit() 30 0.0009872 0.0009872 0.0009872 0.22% check_for_negative_density() 5 0.0009752 0.0009752 0.0009752 0.22% MLCellLinOp::setLevelBC() 6 0.0009015 0.0009015 0.0009015 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008485 0.0008485 0.0008485 0.19% Castro::reset_internal_energy(Fab) 240 0.0008312 0.0008312 0.0008312 0.19% MLCellLinOp::prepareForSolve() 6 0.0007642 0.0007642 0.0007642 0.17% FabArray::setDomainBndry() 20 0.000729 0.000729 0.000729 0.17% MLCGSolver::bicgstab 36 0.0007019 0.0007019 0.0007019 0.16% FabArray::mult() 22 0.0006974 0.0006974 0.0006974 0.16% MLCellLinOp::compGrad() 6 0.0006044 0.0006044 0.0006044 0.14% MLMG::prepareForSolve() 6 0.0005606 0.0005606 0.0005606 0.13% MLCellLinOp::smooth() 720 0.0004828 0.0004828 0.0004828 0.11% FabArrayBase::getCPC() 632 0.000379 0.000379 0.000379 0.09% FabArray::FillBoundary() 1730 0.0003517 0.0003517 0.0003517 0.08% Gravity::get_old_grav_vector() 5 0.0003499 0.0003499 0.0003499 0.08% Gravity::get_new_grav_vector() 5 0.0003095 0.0003095 0.0003095 0.07% main() 1 0.0002593 0.0002593 0.0002593 0.06% AmrLevel::FillPatch() 20 0.0002148 0.0002148 0.0002148 0.05% MLCellLinOp::apply() 464 0.0001947 0.0001947 0.0001947 0.04% Amr::coarseTimeStep() 5 0.0001673 0.0001673 0.0001673 0.04% MLCellLinOp::defineBC() 6 0.0001449 0.0001449 0.0001449 0.03% MLCGSolver::ParallelAllReduce 798 0.0001425 0.0001425 0.0001425 0.03% FabArray::ParallelCopy() 380 0.0001164 0.0001164 0.0001164 0.03% FillPatchIterator::Initialize 20 0.0001072 0.0001072 0.0001072 0.02% Amr::timeStep() 5 9.167e-05 9.167e-05 9.167e-05 0.02% Castro::subcycle_advance_ctu() 5 8.575e-05 8.575e-05 8.575e-05 0.02% MLMG::mgVcycle() 36 8.239e-05 8.239e-05 8.239e-05 0.02% Castro::finalize_do_advance() 5 8.084e-05 8.084e-05 8.084e-05 0.02% Castro::advance() 5 7.794e-05 7.794e-05 7.794e-05 0.02% AmrLevel::restart() 1 7.271e-05 7.271e-05 7.271e-05 0.02% MLCellLinOp::correctionResidual() 180 7.083e-05 7.083e-05 7.083e-05 0.02% Castro::construct_new_source() 25 6.589e-05 6.589e-05 6.589e-05 0.01% Castro::initialize_do_advance() 5 6.567e-05 6.567e-05 6.567e-05 0.01% StateData::restartDoit() 4 6.552e-05 6.552e-05 6.552e-05 0.01% Gravity::update_max_rhs() 6 6.355e-05 6.355e-05 6.355e-05 0.01% Castro::do_advance_ctu() 5 6.238e-05 6.238e-05 6.238e-05 0.01% Gravity::solve_for_phi() 5 4.947e-05 4.947e-05 4.947e-05 0.01% Castro::construct_old_source() 25 4.742e-05 4.742e-05 4.742e-05 0.01% MLMG:computeResOfCorrection() 180 4.543e-05 4.543e-05 4.543e-05 0.01% MLMG::actualBottomSolve() 36 3.77e-05 3.77e-05 3.77e-05 0.01% Castro::do_old_sources() 5 3.763e-05 3.763e-05 3.763e-05 0.01% Castro::initialize_advance() 5 3.741e-05 3.741e-05 3.741e-05 0.01% MLMG::solve() 6 3.514e-05 3.514e-05 3.514e-05 0.01% MLMG::mgVcycle_down::0 36 3.355e-05 3.355e-05 3.355e-05 0.01% Castro::clean_state() 30 3.348e-05 3.348e-05 3.348e-05 0.01% MLMG::mgVcycle_down::1 36 3.28e-05 3.28e-05 3.28e-05 0.01% Castro::post_timestep() 5 3.243e-05 3.243e-05 3.243e-05 0.01% MLMG::mgVcycle_down::2 36 2.892e-05 2.892e-05 2.892e-05 0.01% MLMG::mgVcycle_down::4 36 2.783e-05 2.783e-05 2.783e-05 0.01% MLMG::mgVcycle_down::3 36 2.666e-05 2.666e-05 2.666e-05 0.01% MLMG::oneIter() 36 2.44e-05 2.44e-05 2.44e-05 0.01% MLMG::mgVcycle_up::4 36 2.373e-05 2.373e-05 2.373e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.249e-05 2.249e-05 2.249e-05 0.01% Castro::post_restart() 1 2.152e-05 2.152e-05 2.152e-05 0.00% MLCellLinOp::solutionResidual() 42 2.105e-05 2.105e-05 2.105e-05 0.00% MLMG::mgVcycle_up::0 36 1.981e-05 1.981e-05 1.981e-05 0.00% MLMG::mgVcycle_up::3 36 1.969e-05 1.969e-05 1.969e-05 0.00% MLMG::mgVcycle_up::2 36 1.852e-05 1.852e-05 1.852e-05 0.00% MLPoisson::define() 6 1.824e-05 1.824e-05 1.824e-05 0.00% MLMG::mgVcycle_up::1 36 1.754e-05 1.754e-05 1.754e-05 0.00% Gravity::actual_multilevel_solve() 1 1.733e-05 1.733e-05 1.733e-05 0.00% MLMG::ResNormInf() 42 1.659e-05 1.659e-05 1.659e-05 0.00% FillPatchSingleLevel 20 1.645e-05 1.645e-05 1.645e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.611e-05 1.611e-05 1.611e-05 0.00% MLMG::mgVcycle_bottom 36 1.54e-05 1.54e-05 1.54e-05 0.00% MLMG::computeResidual() 36 1.51e-05 1.51e-05 1.51e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.422e-05 1.422e-05 1.422e-05 0.00% Castro::construct_new_gravity() 5 1.166e-05 1.166e-05 1.166e-05 0.00% Castro::do_new_sources() 5 9.672e-06 9.672e-06 9.672e-06 0.00% Castro::expand_state() 5 9.534e-06 9.534e-06 9.534e-06 0.00% Castro::apply_source_to_state() 10 5.972e-06 5.972e-06 5.972e-06 0.00% Castro::construct_old_gravity() 5 5.146e-06 5.146e-06 5.146e-06 0.00% MLMG::computeMLResidual() 6 4.529e-06 4.529e-06 4.529e-06 0.00% Castro::computeNewDt() 5 4.029e-06 4.029e-06 4.029e-06 0.00% MLPoisson::prepareForSolve() 6 3.561e-06 3.561e-06 3.561e-06 0.00% MLMG::getGradSolution() 6 3.489e-06 3.489e-06 3.489e-06 0.00% Amr::init() 1 7.34e-07 7.34e-07 7.34e-07 0.00% Other 2170 0.002483 0.002483 0.002483 0.56% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4397 0.4397 0.4397 100.00% Amr::coarseTimeStep() 5 0.3396 0.3396 0.3396 77.23% Amr::timeStep() 5 0.3375 0.3375 0.3375 76.76% Castro::advance() 5 0.3328 0.3328 0.3328 75.69% Castro::subcycle_advance_ctu() 5 0.3246 0.3246 0.3246 73.83% Castro::do_advance_ctu() 5 0.3245 0.3245 0.3245 73.81% Castro::construct_ctu_hydro_source() 5 0.1518 0.1518 0.1518 34.52% Castro::construct_new_gravity() 5 0.1367 0.1367 0.1367 31.09% Gravity::solve_phi_with_mlmg() 6 0.1338 0.1338 0.1338 30.43% Gravity::solve_for_phi() 5 0.1285 0.1285 0.1285 29.21% Gravity::actual_solve_with_mlmg() 6 0.1282 0.1282 0.1282 29.15% MLMG::solve() 6 0.1158 0.1158 0.1158 26.33% MLMG::oneIter() 36 0.108 0.108 0.108 24.56% MLMG::mgVcycle() 36 0.1064 0.1064 0.1064 24.21% Amr::init() 1 0.07169 0.07169 0.07169 16.30% Amr::restart() 1 0.07169 0.07169 0.07169 16.30% AmrLevel::restart() 1 0.06071 0.06071 0.06071 13.81% StateData::restartDoit() 4 0.06063 0.06063 0.06063 13.79% VisMF::Read() 3 0.06035 0.06035 0.06035 13.72% MLCellLinOp::smooth() 720 0.05299 0.05299 0.05299 12.05% MLCellLinOp::applyBC() 1910 0.04925 0.04925 0.04925 11.20% MLMG::mgVcycle_bottom 36 0.03186 0.03186 0.03186 7.25% MLMG::actualBottomSolve() 36 0.03185 0.03185 0.03185 7.24% MLCGSolver::bicgstab 36 0.03147 0.03147 0.03147 7.16% Amr::writePlotFile() 1 0.02766 0.02766 0.02766 6.29% Castro::clean_state() 30 0.02731 0.02731 0.02731 6.21% VisMF::Write(FabArray) 1 0.02488 0.02488 0.02488 5.66% AmrLevel::FillPatch() 20 0.02275 0.02275 0.02275 5.17% FillPatchIterator::Initialize 20 0.02062 0.02062 0.02062 4.69% FillPatchIterator::FillFromLevel0() 20 0.01979 0.01979 0.01979 4.50% FillPatchSingleLevel 20 0.01976 0.01976 0.01976 4.49% StateDataPhysBCFunct::() 20 0.01768 0.01768 0.01768 4.02% MLCellLinOp::apply() 464 0.01608 0.01608 0.01608 3.66% MLMG::mgVcycle_down::0 36 0.01509 0.01509 0.01509 3.43% MLPoisson::Fsmooth() 1440 0.0149 0.0149 0.0149 3.39% FabArray::FillBoundary() 1730 0.01358 0.01358 0.01358 3.09% FillBoundary_nowait() 1730 0.01323 0.01323 0.01323 3.01% StateData::FillBoundary(geom) 160 0.01302 0.01302 0.01302 2.96% MLMG::mgVcycle_up::0 36 0.01122 0.01122 0.01122 2.55% Castro::normalize_species() 30 0.01082 0.01082 0.01082 2.46% Castro::initialize_do_advance() 5 0.01075 0.01075 0.01075 2.44% Castro::computeTemp() 30 0.00976 0.00976 0.00976 2.22% MLPoisson::define() 6 0.009749 0.009749 0.009749 2.22% Castro::do_old_sources() 5 0.009481 0.009481 0.009481 2.16% amrex::Dot() 484 0.009292 0.009292 0.009292 2.11% MLMG:computeResOfCorrection() 180 0.008919 0.008919 0.008919 2.03% MLCellLinOp::correctionResidual() 180 0.008873 0.008873 0.008873 2.02% FabArray::norminf() 465 0.008737 0.008737 0.008737 1.99% Gravity::get_new_grav_vector() 5 0.008143 0.008143 0.008143 1.85% Castro::initialize_advance() 5 0.007783 0.007783 0.007783 1.77% Castro::construct_old_gravity() 5 0.007651 0.007651 0.007651 1.74% Gravity::get_old_grav_vector() 5 0.007645 0.007645 0.007645 1.74% MLMG::mgVcycle_down::1 36 0.007404 0.007404 0.007404 1.68% MLMG::mgVcycle_down::2 36 0.006782 0.006782 0.006782 1.54% FabArray::ParallelCopy() 380 0.006765 0.006765 0.006765 1.54% FabArray::setVal() 501 0.006696 0.006696 0.006696 1.52% FabArray::ParallelCopy_nowait() 380 0.006648 0.006648 0.006648 1.51% MLMG::mgVcycle_down::3 36 0.006622 0.006622 0.006622 1.51% Castro::do_new_sources() 5 0.006595 0.006595 0.006595 1.50% MLCellLinOp::defineAuxData() 6 0.006588 0.006588 0.006588 1.50% MLMG::mgVcycle_down::4 36 0.006582 0.006582 0.006582 1.50% Castro::post_restart() 1 0.005953 0.005953 0.005953 1.35% FabArray::Saxpy() 597 0.005919 0.005919 0.005919 1.35% Castro::expand_state() 5 0.005768 0.005768 0.005768 1.31% Castro::enforce_min_density() 30 0.005718 0.005718 0.005718 1.30% MLCGSolver::ParallelAllReduce 798 0.005617 0.005617 0.005617 1.28% Gravity::multilevel_solve_for_new_phi() 1 0.005588 0.005588 0.005588 1.27% Gravity::actual_multilevel_solve() 1 0.005571 0.005571 0.005571 1.27% amrex::Copy() 221 0.005506 0.005506 0.005506 1.25% Gravity::fill_multipole_BCs() 6 0.005481 0.005481 0.005481 1.25% MLMG::addInterpCorrection() 180 0.005467 0.005467 0.005467 1.24% MLMG::mgVcycle_up::4 36 0.005295 0.005295 0.005295 1.20% MLMG::mgVcycle_up::1 36 0.005274 0.005274 0.005274 1.20% MLMG::mgVcycle_up::2 36 0.005147 0.005147 0.005147 1.17% amrex::average_down 180 0.005129 0.005129 0.005129 1.17% MLMG::mgVcycle_up::3 36 0.005073 0.005073 0.005073 1.15% Castro::post_timestep() 5 0.004632 0.004632 0.004632 1.05% MLPoisson::Fapply() 464 0.004545 0.004545 0.004545 1.03% MLCellLinOp::solutionResidual() 42 0.003667 0.003667 0.003667 0.83% FabArray::Xpay() 325 0.003534 0.003534 0.003534 0.80% MLCellLinOp::defineBC() 6 0.003005 0.003005 0.003005 0.68% MLMG::prepareForSolve() 6 0.002933 0.002933 0.002933 0.67% BndryData::define() 6 0.00286 0.00286 0.00286 0.65% MLMG::computeResidual() 36 0.002859 0.002859 0.002859 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002833 0.002833 0.002833 0.64% Castro::estTimeStep() 10 0.002809 0.002809 0.002809 0.64% Castro::construct_new_source() 25 0.001946 0.001946 0.001946 0.44% Castro::construct_new_gravity_source() 5 0.00188 0.00188 0.00188 0.43% Castro::computeNewDt() 5 0.001878 0.001878 0.001878 0.43% Castro::construct_old_source() 25 0.001555 0.001555 0.001555 0.35% amrex::Add() 36 0.001551 0.001551 0.001551 0.35% Castro::construct_old_gravity_source() 5 0.001508 0.001508 0.001508 0.34% Castro::finalize_do_advance() 5 0.001016 0.001016 0.001016 0.23% MLMG::ResNormInf() 42 0.0009943 0.0009943 0.0009943 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009891 0.0009891 0.0009891 0.22% Castro::enforce_speed_limit() 30 0.0009872 0.0009872 0.0009872 0.22% check_for_negative_density() 5 0.0009752 0.0009752 0.0009752 0.22% Castro::apply_source_to_state() 10 0.0009631 0.0009631 0.0009631 0.22% MLMG::getGradSolution() 6 0.0009019 0.0009019 0.0009019 0.21% MLCellLinOp::setLevelBC() 6 0.0009015 0.0009015 0.0009015 0.21% MLCellLinOp::compGrad() 6 0.0008984 0.0008984 0.0008984 0.20% Castro::reset_internal_energy(Fab) 240 0.0008312 0.0008312 0.0008312 0.19% MLMG::computeMLResidual() 6 0.0008274 0.0008274 0.0008274 0.19% FabArrayBase::getCPC() 632 0.0008124 0.0008124 0.0008124 0.18% MLPoisson::prepareForSolve() 6 0.0007678 0.0007678 0.0007678 0.17% MLCellLinOp::prepareForSolve() 6 0.0007642 0.0007642 0.0007642 0.17% FabArray::setDomainBndry() 20 0.000729 0.000729 0.000729 0.17% Gravity::update_max_rhs() 6 0.0007181 0.0007181 0.0007181 0.16% FabArray::mult() 22 0.0006974 0.0006974 0.0006974 0.16% Other 2170 0.004377 0.004377 0.004377 1.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 1013 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1673 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 6437 KiB 14 MiB MLMG::prepareForSolve() 361 361 3232 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 180 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 189 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6425 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3250 B 2048 KiB Gravity::solve_for_phi() 40 40 597 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 2966 B 480 KiB VisMF::Write(FabArray) 112 112 1262 B 320 KiB Castro::normalize_species() 30 30 8015 B 320 KiB amrex::average_down 469 469 1386 B 257 KiB MLMG::addInterpCorrection() 468 468 1063 B 257 KiB amrex::Dot() 592 592 3121 B 160 KiB FabArray::norminf() 501 501 3075 B 160 KiB check_for_negative_density() 5 5 356 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 253 B 9648 B MLCellLinOp::applyBC() 3820 3820 202 B 9344 B amrex::Copy() 56 56 5866 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 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 1115 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 82 KiB 8192 KiB VisMF::Write(FabArray) 120 120 157 KiB 3584 KiB VisMF::Read() 24 24 208 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3131 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 253 B 9648 B MLCellLinOp::applyBC() 1910 1910 201 B 9328 B amrex::Copy() 56 56 5867 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2525 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2448 B MLMG::prepareForSolve() 7 7 792 B 1648 B amrex::average_down 37 37 463 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 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): 2105 [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-27-gd857968968ae) finalized