Initializing AMReX (24.05-13-gc3303094ddf5)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-13-gc3303094ddf5) initialized Starting run at 08:35:56 UTC on 2024-05-10. Successfully read inputs file ... Castro git describe: 24.05-6-g4c1fa8f29 AMReX git describe: 24.05-13-gc3303094d Microphysics git describe: 24.05-4-g02e71ba9 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.045529126 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02532165 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.066019519 [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.051128317 [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.074933563 [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.078421992 [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.072562348 [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.045454332 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.060436391 [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.073620145 [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.075623525 [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.066865289 [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.067786994 [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.079302467 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02525888 seconds Ending run at 08:35:57 UTC on 2024-05-10. Run time = 0.965228793 Run time without initialization = 0.838134606 Average number of zones advanced per microsecond: 3.128 Average number of zones advanced per microsecond per rank: 3.128 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9653 ... 0.9653 ... 0.9653 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2965 0.2965 0.2965 30.72% VisMF::Write(FabArray) 11 0.1772 0.1772 0.1772 18.35% MLCellLinOp::applyBC() 4351 0.08143 0.08143 0.08143 8.44% Amr::checkPoint() 3 0.04111 0.04111 0.04111 4.26% MLPoisson::Fsmooth() 3280 0.03406 0.03406 0.03406 3.53% FillBoundary_nowait() 3941 0.03074 0.03074 0.03074 3.19% StateData::FillBoundary(geom) 328 0.02674 0.02674 0.02674 2.77% amrex::Dot() 1114 0.02182 0.02182 0.02182 2.26% Castro::normalize_species() 62 0.02154 0.02154 0.02154 2.23% FabArray::norminf() 1061 0.02024 0.02024 0.02024 2.10% Castro::computeTemp() 63 0.01611 0.01611 0.01611 1.67% FabArray::ParallelCopy_nowait() 861 0.014 0.014 0.014 1.45% FabArray::setVal() 1062 0.01369 0.01369 0.01369 1.42% FabArray::Saxpy() 1370 0.01337 0.01337 0.01337 1.39% Castro::enforce_min_density() 62 0.01237 0.01237 0.01237 1.28% StateDataPhysBCFunct::() 41 0.01151 0.01151 0.01151 1.19% amrex::Copy() 472 0.01111 0.01111 0.01111 1.15% MLPoisson::Fapply() 1060 0.01048 0.01048 0.01048 1.09% MLCellLinOp::defineAuxData() 11 0.01039 0.01039 0.01039 1.08% Gravity::fill_multipole_BCs() 11 0.009752 0.009752 0.009752 1.01% FabArray::Xpay() 739 0.007993 0.007993 0.007993 0.83% MultiFab::contains_nan() 20 0.007576 0.007576 0.007576 0.78% MLMG::addInterpCorrection() 410 0.007109 0.007109 0.007109 0.74% amrex::average_down 410 0.006221 0.006221 0.006221 0.64% Castro::estTimeStep() 21 0.006098 0.006098 0.006098 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005161 0.005161 0.005161 0.53% BndryData::define() 11 0.004081 0.004081 0.004081 0.42% Castro::enforce_speed_limit() 62 0.004021 0.004021 0.004021 0.42% amrex::Add() 82 0.003625 0.003625 0.003625 0.38% Castro::construct_new_gravity_source() 10 0.003511 0.003511 0.003511 0.36% Castro::construct_old_gravity_source() 10 0.002958 0.002958 0.002958 0.31% Amr::writePlotFile() 2 0.002155 0.002155 0.002155 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001838 0.001838 0.001838 0.19% check_for_negative_density() 10 0.001828 0.001828 0.001828 0.19% Castro::reset_internal_energy(Fab) 504 0.001764 0.001764 0.001764 0.18% MLCellLinOp::setLevelBC() 11 0.001612 0.001612 0.001612 0.17% MLCGSolver::bicgstab 82 0.001587 0.001587 0.001587 0.16% Gravity::actual_solve_with_mlmg() 11 0.001531 0.001531 0.001531 0.16% Castro::initData() 1 0.001492 0.001492 0.001492 0.15% FabArray::mult() 43 0.001393 0.001393 0.001393 0.14% FabArray::setDomainBndry() 41 0.001391 0.001391 0.001391 0.14% MLCellLinOp::prepareForSolve() 11 0.001326 0.001326 0.001326 0.14% MLCellLinOp::smooth() 1640 0.001106 0.001106 0.001106 0.11% MLCellLinOp::compGrad() 11 0.001076 0.001076 0.001076 0.11% MLMG::prepareForSolve() 11 0.0009544 0.0009544 0.0009544 0.10% FabArray::FillBoundary() 3941 0.000808 0.000808 0.000808 0.08% FabArrayBase::getCPC() 1323 0.0007885 0.0007885 0.0007885 0.08% Gravity::get_new_grav_vector() 11 0.0006045 0.0006045 0.0006045 0.06% Gravity::get_old_grav_vector() 10 0.0004799 0.0004799 0.0004799 0.05% Amr::coarseTimeStep() 10 0.0004276 0.0004276 0.0004276 0.04% MLCellLinOp::apply() 1060 0.0004216 0.0004216 0.0004216 0.04% AmrLevel::FillPatch() 41 0.0004045 0.0004045 0.0004045 0.04% MLCGSolver::ParallelAllReduce 1832 0.000312 0.000312 0.000312 0.03% main() 1 0.0002981 0.0002981 0.0002981 0.03% MLCellLinOp::defineBC() 11 0.0002767 0.0002767 0.0002767 0.03% FabArray::ParallelCopy() 861 0.0002533 0.0002533 0.0002533 0.03% FillPatchIterator::Initialize 41 0.0002271 0.0002271 0.0002271 0.02% MLMG::mgVcycle() 82 0.000194 0.000194 0.000194 0.02% Castro::subcycle_advance_ctu() 10 0.0001845 0.0001845 0.0001845 0.02% MLCellLinOp::correctionResidual() 410 0.0001686 0.0001686 0.0001686 0.02% Amr::timeStep() 10 0.0001505 0.0001505 0.0001505 0.02% Gravity::solve_for_phi() 10 0.0001487 0.0001487 0.0001487 0.02% MLMG:computeResOfCorrection() 410 0.0001276 0.0001276 0.0001276 0.01% Castro::advance() 10 0.0001206 0.0001206 0.0001206 0.01% StateData::checkPoint() 12 0.0001073 0.0001073 0.0001073 0.01% Castro::construct_new_source() 50 8.733e-05 8.733e-05 8.733e-05 0.01% MLMG::actualBottomSolve() 82 8.028e-05 8.028e-05 8.028e-05 0.01% Castro::initialize_advance() 10 7.752e-05 7.752e-05 7.752e-05 0.01% MLMG::mgVcycle_down::0 82 7.668e-05 7.668e-05 7.668e-05 0.01% Castro::clean_state() 62 7.284e-05 7.284e-05 7.284e-05 0.01% MLMG::solve() 11 7.144e-05 7.144e-05 7.144e-05 0.01% MLMG::mgVcycle_down::1 82 6.948e-05 6.948e-05 6.948e-05 0.01% MLMG::mgVcycle_down::2 82 6.849e-05 6.849e-05 6.849e-05 0.01% MLMG::mgVcycle_down::4 82 6.568e-05 6.568e-05 6.568e-05 0.01% MLMG::oneIter() 82 6.345e-05 6.345e-05 6.345e-05 0.01% MLMG::mgVcycle_down::3 82 6.265e-05 6.265e-05 6.265e-05 0.01% AmrLevel::checkPoint() 3 6.034e-05 6.034e-05 6.034e-05 0.01% Castro::initialize_do_advance() 10 5.88e-05 5.88e-05 5.88e-05 0.01% Castro::do_advance_ctu() 10 5.418e-05 5.418e-05 5.418e-05 0.01% MLMG::mgVcycle_up::4 82 5.182e-05 5.182e-05 5.182e-05 0.01% Castro::construct_new_gravity() 10 5.082e-05 5.082e-05 5.082e-05 0.01% MLMG::mgVcycle_up::0 82 4.841e-05 4.841e-05 4.841e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.815e-05 4.815e-05 4.815e-05 0.00% MLMG::mgVcycle_up::1 82 4.562e-05 4.562e-05 4.562e-05 0.00% MLMG::mgVcycle_up::3 82 4.54e-05 4.54e-05 4.54e-05 0.00% MLMG::mgVcycle_up::2 82 4.472e-05 4.472e-05 4.472e-05 0.00% MLCellLinOp::solutionResidual() 93 4.469e-05 4.469e-05 4.469e-05 0.00% Castro::do_new_sources() 10 4.436e-05 4.436e-05 4.436e-05 0.00% Castro::finalize_do_advance() 10 4.321e-05 4.321e-05 4.321e-05 0.00% Castro::post_timestep() 10 4.066e-05 4.066e-05 4.066e-05 0.00% FillPatchSingleLevel 41 3.52e-05 3.52e-05 3.52e-05 0.00% Amr::defBaseLevel() 1 3.412e-05 3.412e-05 3.412e-05 0.00% MLMG::computeResidual() 82 3.204e-05 3.204e-05 3.204e-05 0.00% MLMG::ResNormInf() 93 3.189e-05 3.189e-05 3.189e-05 0.00% MLMG::mgVcycle_bottom 82 3.141e-05 3.141e-05 3.141e-05 0.00% MLPoisson::define() 11 2.433e-05 2.433e-05 2.433e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.277e-05 2.277e-05 2.277e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.23e-05 2.23e-05 2.23e-05 0.00% Amr::FinalizeInit() 1 2.001e-05 2.001e-05 2.001e-05 0.00% Castro::do_old_sources() 10 1.971e-05 1.971e-05 1.971e-05 0.00% Castro::construct_old_source() 50 1.902e-05 1.902e-05 1.902e-05 0.00% Castro::check_for_nan() 20 1.596e-05 1.596e-05 1.596e-05 0.00% Castro::apply_source_to_state() 20 1.255e-05 1.255e-05 1.255e-05 0.00% Castro::construct_old_gravity() 10 1.095e-05 1.095e-05 1.095e-05 0.00% MLMG::computeMLResidual() 11 1.077e-05 1.077e-05 1.077e-05 0.00% Gravity::actual_multilevel_solve() 1 8.365e-06 8.365e-06 8.365e-06 0.00% Castro::computeNewDt() 9 7.424e-06 7.424e-06 7.424e-06 0.00% Amr::InitializeInit() 1 6.494e-06 6.494e-06 6.494e-06 0.00% MLPoisson::prepareForSolve() 11 6.387e-06 6.387e-06 6.387e-06 0.00% Castro::expand_state() 10 6.044e-06 6.044e-06 6.044e-06 0.00% MLMG::getGradSolution() 11 5.977e-06 5.977e-06 5.977e-06 0.00% Castro::post_init() 1 4.195e-06 4.195e-06 4.195e-06 0.00% Amr::init() 1 2.403e-06 2.403e-06 2.403e-06 0.00% Amr::initialInit() 1 1.133e-06 1.133e-06 1.133e-06 0.00% Other 4753 0.003347 0.003347 0.003347 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9652 0.9652 0.9652 100.00% Amr::coarseTimeStep() 10 0.8126 0.8126 0.8126 84.19% Amr::timeStep() 10 0.6838 0.6838 0.6838 70.84% Castro::advance() 10 0.6723 0.6723 0.6723 69.65% Castro::subcycle_advance_ctu() 10 0.658 0.658 0.658 68.17% Castro::do_advance_ctu() 10 0.6578 0.6578 0.6578 68.15% Castro::construct_ctu_hydro_source() 10 0.3141 0.3141 0.3141 32.54% Gravity::solve_phi_with_mlmg() 11 0.298 0.298 0.298 30.87% Gravity::actual_solve_with_mlmg() 11 0.2878 0.2878 0.2878 29.81% Castro::construct_new_gravity() 10 0.2687 0.2687 0.2687 27.84% MLMG::solve() 11 0.2655 0.2655 0.2655 27.51% Gravity::solve_for_phi() 10 0.2525 0.2525 0.2525 26.15% MLMG::oneIter() 82 0.2499 0.2499 0.2499 25.89% MLMG::mgVcycle() 82 0.2462 0.2462 0.2462 25.51% VisMF::Write(FabArray) 11 0.1772 0.1772 0.1772 18.35% Amr::checkPoint() 3 0.1704 0.1704 0.1704 17.66% AmrLevel::checkPoint() 3 0.1293 0.1293 0.1293 13.40% StateData::checkPoint() 12 0.1292 0.1292 0.1292 13.39% Amr::init() 1 0.1264 0.1264 0.1264 13.09% MLCellLinOp::smooth() 1640 0.1225 0.1225 0.1225 12.69% MLCellLinOp::applyBC() 4351 0.1137 0.1137 0.1137 11.78% MLMG::mgVcycle_bottom 82 0.07401 0.07401 0.07401 7.67% MLMG::actualBottomSolve() 82 0.07398 0.07398 0.07398 7.66% MLCGSolver::bicgstab 82 0.07315 0.07315 0.07315 7.58% Castro::clean_state() 62 0.06007 0.06007 0.06007 6.22% Amr::initialInit() 1 0.05534 0.05534 0.05534 5.73% Amr::writePlotFile() 2 0.05072 0.05072 0.05072 5.25% Amr::FinalizeInit() 1 0.05013 0.05013 0.05013 5.19% Castro::post_init() 1 0.04863 0.04863 0.04863 5.04% AmrLevel::FillPatch() 41 0.04833 0.04833 0.04833 5.01% Gravity::multilevel_solve_for_new_phi() 1 0.04605 0.04605 0.04605 4.77% Gravity::actual_multilevel_solve() 1 0.04603 0.04603 0.04603 4.77% FillPatchIterator::Initialize 41 0.04403 0.04403 0.04403 4.56% FillPatchIterator::FillFromLevel0() 41 0.04241 0.04241 0.04241 4.39% FillPatchSingleLevel 41 0.04236 0.04236 0.04236 4.39% StateDataPhysBCFunct::() 41 0.03825 0.03825 0.03825 3.96% MLCellLinOp::apply() 1060 0.03672 0.03672 0.03672 3.80% MLMG::mgVcycle_down::0 82 0.03479 0.03479 0.03479 3.60% MLPoisson::Fsmooth() 3280 0.03406 0.03406 0.03406 3.53% FabArray::FillBoundary() 3941 0.03226 0.03226 0.03226 3.34% FillBoundary_nowait() 3941 0.03145 0.03145 0.03145 3.26% StateData::FillBoundary(geom) 328 0.02674 0.02674 0.02674 2.77% MLMG::mgVcycle_up::0 82 0.02625 0.02625 0.02625 2.72% Castro::computeTemp() 63 0.02304 0.02304 0.02304 2.39% Castro::initialize_do_advance() 10 0.02201 0.02201 0.02201 2.28% amrex::Dot() 1114 0.02182 0.02182 0.02182 2.26% Castro::normalize_species() 62 0.02154 0.02154 0.02154 2.23% Castro::do_old_sources() 10 0.02086 0.02086 0.02086 2.16% MLMG:computeResOfCorrection() 410 0.02066 0.02066 0.02066 2.14% MLCellLinOp::correctionResidual() 410 0.02053 0.02053 0.02053 2.13% FabArray::norminf() 1061 0.02024 0.02024 0.02024 2.10% Gravity::get_new_grav_vector() 11 0.0183 0.0183 0.0183 1.90% MLPoisson::define() 11 0.01752 0.01752 0.01752 1.82% MLMG::mgVcycle_down::1 82 0.01682 0.01682 0.01682 1.74% MLMG::mgVcycle_down::2 82 0.01566 0.01566 0.01566 1.62% Castro::construct_old_gravity() 10 0.01525 0.01525 0.01525 1.58% MLMG::mgVcycle_down::3 82 0.01525 0.01525 0.01525 1.58% Gravity::get_old_grav_vector() 10 0.01524 0.01524 0.01524 1.58% MLMG::mgVcycle_down::4 82 0.01511 0.01511 0.01511 1.57% FabArray::ParallelCopy() 861 0.01505 0.01505 0.01505 1.56% FabArray::ParallelCopy_nowait() 861 0.01479 0.01479 0.01479 1.53% FabArray::setVal() 1062 0.01369 0.01369 0.01369 1.42% Castro::do_new_sources() 10 0.01363 0.01363 0.01363 1.41% Castro::initialize_advance() 10 0.01357 0.01357 0.01357 1.41% FabArray::Saxpy() 1370 0.01337 0.01337 0.01337 1.39% MLCGSolver::ParallelAllReduce 1832 0.01303 0.01303 0.01303 1.35% MLMG::addInterpCorrection() 410 0.01268 0.01268 0.01268 1.31% Castro::enforce_min_density() 62 0.01237 0.01237 0.01237 1.28% MLMG::mgVcycle_up::4 82 0.01229 0.01229 0.01229 1.27% MLMG::mgVcycle_up::1 82 0.01219 0.01219 0.01219 1.26% Castro::expand_state() 10 0.01197 0.01197 0.01197 1.24% MLMG::mgVcycle_up::2 82 0.01194 0.01194 0.01194 1.24% MLCellLinOp::defineAuxData() 11 0.01183 0.01183 0.01183 1.23% MLMG::mgVcycle_up::3 82 0.0117 0.0117 0.0117 1.21% amrex::average_down 410 0.01161 0.01161 0.01161 1.20% Castro::post_timestep() 10 0.01129 0.01129 0.01129 1.17% amrex::Copy() 472 0.01111 0.01111 0.01111 1.15% MLPoisson::Fapply() 1060 0.01048 0.01048 0.01048 1.09% Gravity::fill_multipole_BCs() 11 0.009987 0.009987 0.009987 1.03% FabArray::Xpay() 739 0.007993 0.007993 0.007993 0.83% MLCellLinOp::solutionResidual() 93 0.007882 0.007882 0.007882 0.82% Castro::check_for_nan() 20 0.007592 0.007592 0.007592 0.79% MultiFab::contains_nan() 20 0.007576 0.007576 0.007576 0.78% Castro::reset_internal_energy(MultiFab) 63 0.006925 0.006925 0.006925 0.72% MLMG::computeResidual() 82 0.0066 0.0066 0.0066 0.68% Castro::estTimeStep() 21 0.006098 0.006098 0.006098 0.63% MLCellLinOp::defineBC() 11 0.005406 0.005406 0.005406 0.56% Amr::InitializeInit() 1 0.005212 0.005212 0.005212 0.54% MLMG::prepareForSolve() 11 0.005211 0.005211 0.005211 0.54% Amr::defBaseLevel() 1 0.005206 0.005206 0.005206 0.54% BndryData::define() 11 0.005129 0.005129 0.005129 0.53% Castro::initData() 1 0.004501 0.004501 0.004501 0.47% Castro::enforce_speed_limit() 62 0.004021 0.004021 0.004021 0.42% amrex::Add() 82 0.003625 0.003625 0.003625 0.38% Castro::construct_new_source() 50 0.003599 0.003599 0.003599 0.37% Castro::construct_new_gravity_source() 10 0.003511 0.003511 0.003511 0.36% Castro::construct_old_source() 50 0.002977 0.002977 0.002977 0.31% Castro::construct_old_gravity_source() 10 0.002958 0.002958 0.002958 0.31% Castro::computeNewDt() 9 0.002833 0.002833 0.002833 0.29% Castro::finalize_do_advance() 10 0.002273 0.002273 0.002273 0.24% MLMG::ResNormInf() 93 0.002185 0.002185 0.002185 0.23% Castro::apply_source_to_state() 20 0.001879 0.001879 0.001879 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001838 0.001838 0.001838 0.19% check_for_negative_density() 10 0.001828 0.001828 0.001828 0.19% Castro::reset_internal_energy(Fab) 504 0.001764 0.001764 0.001764 0.18% MLCellLinOp::setLevelBC() 11 0.001612 0.001612 0.001612 0.17% MLMG::getGradSolution() 11 0.001609 0.001609 0.001609 0.17% MLCellLinOp::compGrad() 11 0.001603 0.001603 0.001603 0.17% FabArrayBase::getCPC() 1323 0.001452 0.001452 0.001452 0.15% FabArray::mult() 43 0.001393 0.001393 0.001393 0.14% FabArray::setDomainBndry() 41 0.001391 0.001391 0.001391 0.14% MLPoisson::prepareForSolve() 11 0.001333 0.001333 0.001333 0.14% MLCellLinOp::prepareForSolve() 11 0.001326 0.001326 0.001326 0.14% MLMG::computeMLResidual() 11 0.001325 0.001325 0.001325 0.14% Other 4753 0.009371 0.009371 0.009371 0.97% -------------------------------------------------------------------------------------------- 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 5406 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 974 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1466 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3384 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 197 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 161 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2043 B 2048 KiB Gravity::solve_for_phi() 80 80 535 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 197 KiB 671 KiB Castro::estTimeStep() 21 21 3082 B 480 KiB VisMF::Write(FabArray) 656 656 3212 B 320 KiB Castro::normalize_species() 62 62 7270 B 320 KiB amrex::average_down 1067 1067 1552 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1113 B 257 KiB amrex::Dot() 1360 1360 3347 B 160 KiB FabArray::norminf() 1143 1143 3248 B 160 KiB check_for_negative_density() 10 10 304 B 160 KiB Castro::initData() 1 1 48 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 159 B 20 KiB MLPoisson::Fsmooth() 132 132 3303 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 277 B 9648 B MLCellLinOp::applyBC() 8702 8702 210 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3903 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 348 B 1248 B MLCGSolver::bicgstab 410 410 91 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 528 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 401 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3303 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 276 B 9648 B MLCellLinOp::applyBC() 4351 4351 209 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3903 B 6144 B Gravity::get_new_grav_vector() 3 3 2898 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 43 B 2736 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 282 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): 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.05-13-gc3303094ddf5) finalized Initializing AMReX (24.05-13-gc3303094ddf5)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-13-gc3303094ddf5) initialized Starting run at 08:35:58 UTC on 2024-05-10. Successfully read inputs file ... Castro git describe: 24.05-6-g4c1fa8f29 AMReX git describe: 24.05-13-gc3303094d Microphysics git describe: 24.05-4-g02e71ba9 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.515686006 Restart time = 0.072167631 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.071042154 [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.049917889 [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.070733333 [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.071936363 [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.061441771 [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.02767747 seconds Ending run at 08:35:58 UTC on 2024-05-10. Run time = 0.426110031 Run time without initialization = 0.353284526 Average number of zones advanced per microsecond: 3.710 Average number of zones advanced per microsecond per rank: 3.710 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4261 ... 0.4261 ... 0.4261 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1269 0.1269 0.1269 29.79% VisMF::Read() 3 0.06082 0.06082 0.06082 14.27% MLCellLinOp::applyBC() 1910 0.03564 0.03564 0.03564 8.36% VisMF::Write(FabArray) 1 0.02495 0.02495 0.02495 5.85% MLPoisson::Fsmooth() 1440 0.01491 0.01491 0.01491 3.50% FillBoundary_nowait() 1730 0.01292 0.01292 0.01292 3.03% StateData::FillBoundary(geom) 160 0.01276 0.01276 0.01276 2.99% Castro::normalize_species() 30 0.01106 0.01106 0.01106 2.60% amrex::Dot() 484 0.00939 0.00939 0.00939 2.20% FabArray::norminf() 465 0.008793 0.008793 0.008793 2.06% Castro::computeTemp() 30 0.008101 0.008101 0.008101 1.90% Castro::enforce_min_density() 30 0.007497 0.007497 0.007497 1.76% FabArray::setVal() 501 0.006662 0.006662 0.006662 1.56% FabArray::ParallelCopy_nowait() 380 0.006258 0.006258 0.006258 1.47% FabArray::Saxpy() 597 0.005937 0.005937 0.005937 1.39% MLCellLinOp::defineAuxData() 6 0.005752 0.005752 0.005752 1.35% amrex::Copy() 221 0.005489 0.005489 0.005489 1.29% Gravity::fill_multipole_BCs() 6 0.005368 0.005368 0.005368 1.26% StateDataPhysBCFunct::() 20 0.005175 0.005175 0.005175 1.21% Amr::restart() 1 0.004954 0.004954 0.004954 1.16% MLPoisson::Fapply() 464 0.004534 0.004534 0.004534 1.06% Castro::estTimeStep() 10 0.003575 0.003575 0.003575 0.84% FabArray::Xpay() 325 0.003519 0.003519 0.003519 0.83% MLMG::addInterpCorrection() 180 0.003178 0.003178 0.003178 0.75% amrex::average_down 180 0.002779 0.002779 0.002779 0.65% Amr::writePlotFile() 1 0.002614 0.002614 0.002614 0.61% BndryData::define() 6 0.00225 0.00225 0.00225 0.53% Castro::reset_internal_energy(MultiFab) 30 0.002075 0.002075 0.002075 0.49% Castro::construct_new_gravity_source() 5 0.001924 0.001924 0.001924 0.45% amrex::Add() 36 0.001549 0.001549 0.001549 0.36% Castro::construct_old_gravity_source() 5 0.001506 0.001506 0.001506 0.35% Castro::enforce_speed_limit() 30 0.001075 0.001075 0.001075 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009956 0.0009956 0.0009956 0.23% check_for_negative_density() 5 0.0009776 0.0009776 0.0009776 0.23% MLCellLinOp::setLevelBC() 6 0.0008938 0.0008938 0.0008938 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008573 0.0008573 0.0008573 0.20% Castro::reset_internal_energy(Fab) 240 0.0008435 0.0008435 0.0008435 0.20% MLCellLinOp::prepareForSolve() 6 0.0007607 0.0007607 0.0007607 0.18% MLCGSolver::bicgstab 36 0.0007158 0.0007158 0.0007158 0.17% FabArray::setDomainBndry() 20 0.000709 0.000709 0.000709 0.17% FabArray::mult() 22 0.0006933 0.0006933 0.0006933 0.16% MLCellLinOp::compGrad() 6 0.0006109 0.0006109 0.0006109 0.14% MLMG::prepareForSolve() 6 0.0005637 0.0005637 0.0005637 0.13% MLCellLinOp::smooth() 720 0.0004876 0.0004876 0.0004876 0.11% FabArrayBase::getCPC() 632 0.0003703 0.0003703 0.0003703 0.09% FabArray::FillBoundary() 1730 0.0003581 0.0003581 0.0003581 0.08% Gravity::get_old_grav_vector() 5 0.0003157 0.0003157 0.0003157 0.07% main() 1 0.0002661 0.0002661 0.0002661 0.06% Gravity::get_new_grav_vector() 5 0.0002618 0.0002618 0.0002618 0.06% Amr::coarseTimeStep() 5 0.0002233 0.0002233 0.0002233 0.05% AmrLevel::FillPatch() 20 0.0002012 0.0002012 0.0002012 0.05% MLCellLinOp::apply() 464 0.0001935 0.0001935 0.0001935 0.05% MLCellLinOp::defineBC() 6 0.000146 0.000146 0.000146 0.03% MLCGSolver::ParallelAllReduce 798 0.0001311 0.0001311 0.0001311 0.03% FabArray::ParallelCopy() 380 0.0001148 0.0001148 0.0001148 0.03% Castro::construct_new_source() 25 0.0001084 0.0001084 0.0001084 0.03% FillPatchIterator::Initialize 20 0.0001066 0.0001066 0.0001066 0.03% Castro::subcycle_advance_ctu() 5 0.0001051 0.0001051 0.0001051 0.02% Castro::advance() 5 9.09e-05 9.09e-05 9.09e-05 0.02% MLMG::mgVcycle() 36 8.61e-05 8.61e-05 8.61e-05 0.02% Castro::do_advance_ctu() 5 8.609e-05 8.609e-05 8.609e-05 0.02% Amr::timeStep() 5 8.151e-05 8.151e-05 8.151e-05 0.02% Castro::initialize_do_advance() 5 7.51e-05 7.51e-05 7.51e-05 0.02% MLCellLinOp::correctionResidual() 180 7.241e-05 7.241e-05 7.241e-05 0.02% AmrLevel::restart() 1 7.205e-05 7.205e-05 7.205e-05 0.02% StateData::restartDoit() 4 6.507e-05 6.507e-05 6.507e-05 0.02% Gravity::update_max_rhs() 6 6.18e-05 6.18e-05 6.18e-05 0.01% MLMG:computeResOfCorrection() 180 5.422e-05 5.422e-05 5.422e-05 0.01% Gravity::solve_for_phi() 5 5.413e-05 5.413e-05 5.413e-05 0.01% Castro::finalize_do_advance() 5 4.32e-05 4.32e-05 4.32e-05 0.01% Castro::initialize_advance() 5 3.744e-05 3.744e-05 3.744e-05 0.01% MLMG::actualBottomSolve() 36 3.659e-05 3.659e-05 3.659e-05 0.01% MLMG::solve() 6 3.424e-05 3.424e-05 3.424e-05 0.01% MLMG::mgVcycle_down::0 36 3.363e-05 3.363e-05 3.363e-05 0.01% Castro::clean_state() 30 3.353e-05 3.353e-05 3.353e-05 0.01% MLMG::mgVcycle_down::1 36 3.075e-05 3.075e-05 3.075e-05 0.01% Castro::do_new_sources() 5 2.981e-05 2.981e-05 2.981e-05 0.01% Castro::post_timestep() 5 2.963e-05 2.963e-05 2.963e-05 0.01% MLMG::mgVcycle_down::2 36 2.94e-05 2.94e-05 2.94e-05 0.01% Castro::construct_old_source() 25 2.85e-05 2.85e-05 2.85e-05 0.01% MLMG::mgVcycle_down::4 36 2.755e-05 2.755e-05 2.755e-05 0.01% MLMG::oneIter() 36 2.647e-05 2.647e-05 2.647e-05 0.01% MLMG::mgVcycle_down::3 36 2.646e-05 2.646e-05 2.646e-05 0.01% MLMG::mgVcycle_up::4 36 2.47e-05 2.47e-05 2.47e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.416e-05 2.416e-05 2.416e-05 0.01% Castro::post_restart() 1 2.152e-05 2.152e-05 2.152e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.136e-05 2.136e-05 2.136e-05 0.01% MLMG::mgVcycle_up::3 36 2.078e-05 2.078e-05 2.078e-05 0.00% MLMG::mgVcycle_up::0 36 2.041e-05 2.041e-05 2.041e-05 0.00% MLCellLinOp::solutionResidual() 42 2.025e-05 2.025e-05 2.025e-05 0.00% MLMG::mgVcycle_up::2 36 1.952e-05 1.952e-05 1.952e-05 0.00% MLMG::mgVcycle_up::1 36 1.837e-05 1.837e-05 1.837e-05 0.00% MLPoisson::define() 6 1.779e-05 1.779e-05 1.779e-05 0.00% MLMG::ResNormInf() 42 1.721e-05 1.721e-05 1.721e-05 0.00% FillPatchSingleLevel 20 1.68e-05 1.68e-05 1.68e-05 0.00% MLMG::mgVcycle_bottom 36 1.511e-05 1.511e-05 1.511e-05 0.00% MLMG::computeResidual() 36 1.414e-05 1.414e-05 1.414e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.371e-05 1.371e-05 1.371e-05 0.00% Castro::construct_new_gravity() 5 1.134e-05 1.134e-05 1.134e-05 0.00% Castro::do_old_sources() 5 1.069e-05 1.069e-05 1.069e-05 0.00% Castro::expand_state() 5 8.515e-06 8.515e-06 8.515e-06 0.00% MLMG::getGradSolution() 6 8.448e-06 8.448e-06 8.448e-06 0.00% Gravity::actual_multilevel_solve() 1 8.274e-06 8.274e-06 8.274e-06 0.00% Castro::check_for_nan() 10 5.916e-06 5.916e-06 5.916e-06 0.00% Castro::apply_source_to_state() 10 5.683e-06 5.683e-06 5.683e-06 0.00% Castro::construct_old_gravity() 5 5.49e-06 5.49e-06 5.49e-06 0.00% MLMG::computeMLResidual() 6 4.319e-06 4.319e-06 4.319e-06 0.00% Castro::computeNewDt() 5 3.607e-06 3.607e-06 3.607e-06 0.00% MLPoisson::prepareForSolve() 6 3.594e-06 3.594e-06 3.594e-06 0.00% Amr::init() 1 8.81e-07 8.81e-07 8.81e-07 0.00% Other 2160 0.002532 0.002532 0.002532 0.59% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4261 0.4261 0.4261 100.00% Amr::coarseTimeStep() 5 0.3253 0.3253 0.3253 76.33% Amr::timeStep() 5 0.3229 0.3229 0.3229 75.77% Castro::advance() 5 0.3168 0.3168 0.3168 74.34% Castro::subcycle_advance_ctu() 5 0.3087 0.3087 0.3087 72.44% Castro::do_advance_ctu() 5 0.3086 0.3086 0.3086 72.42% Castro::construct_new_gravity() 5 0.1367 0.1367 0.1367 32.08% Gravity::solve_phi_with_mlmg() 6 0.134 0.134 0.134 31.45% Castro::construct_ctu_hydro_source() 5 0.1324 0.1324 0.1324 31.07% Gravity::solve_for_phi() 5 0.1287 0.1287 0.1287 30.21% Gravity::actual_solve_with_mlmg() 6 0.1284 0.1284 0.1284 30.13% MLMG::solve() 6 0.116 0.116 0.116 27.23% MLMG::oneIter() 36 0.1083 0.1083 0.1083 25.41% MLMG::mgVcycle() 36 0.1067 0.1067 0.1067 25.04% Amr::init() 1 0.07221 0.07221 0.07221 16.95% Amr::restart() 1 0.07221 0.07221 0.07221 16.95% AmrLevel::restart() 1 0.06119 0.06119 0.06119 14.36% StateData::restartDoit() 4 0.06111 0.06111 0.06111 14.34% VisMF::Read() 3 0.06082 0.06082 0.06082 14.27% MLCellLinOp::smooth() 720 0.053 0.053 0.053 12.44% MLCellLinOp::applyBC() 1910 0.04925 0.04925 0.04925 11.56% MLMG::mgVcycle_bottom 36 0.032 0.032 0.032 7.51% MLMG::actualBottomSolve() 36 0.03198 0.03198 0.03198 7.51% MLCGSolver::bicgstab 36 0.03161 0.03161 0.03161 7.42% Castro::clean_state() 30 0.03069 0.03069 0.03069 7.20% Amr::writePlotFile() 1 0.02783 0.02783 0.02783 6.53% VisMF::Write(FabArray) 1 0.02495 0.02495 0.02495 5.85% AmrLevel::FillPatch() 20 0.02294 0.02294 0.02294 5.38% FillPatchIterator::Initialize 20 0.02082 0.02082 0.02082 4.89% FillPatchIterator::FillFromLevel0() 20 0.02001 0.02001 0.02001 4.70% FillPatchSingleLevel 20 0.01999 0.01999 0.01999 4.69% StateDataPhysBCFunct::() 20 0.01794 0.01794 0.01794 4.21% MLCellLinOp::apply() 464 0.01608 0.01608 0.01608 3.77% MLMG::mgVcycle_down::0 36 0.01509 0.01509 0.01509 3.54% MLPoisson::Fsmooth() 1440 0.01491 0.01491 0.01491 3.50% FabArray::FillBoundary() 1730 0.01361 0.01361 0.01361 3.19% FillBoundary_nowait() 1730 0.01325 0.01325 0.01325 3.11% StateData::FillBoundary(geom) 160 0.01276 0.01276 0.01276 2.99% Castro::initialize_do_advance() 5 0.01168 0.01168 0.01168 2.74% MLMG::mgVcycle_up::0 36 0.01123 0.01123 0.01123 2.64% Castro::normalize_species() 30 0.01106 0.01106 0.01106 2.60% Castro::computeTemp() 30 0.01102 0.01102 0.01102 2.59% Castro::do_old_sources() 5 0.01045 0.01045 0.01045 2.45% MLPoisson::define() 6 0.009704 0.009704 0.009704 2.28% amrex::Dot() 484 0.00939 0.00939 0.00939 2.20% MLMG:computeResOfCorrection() 180 0.008934 0.008934 0.008934 2.10% MLCellLinOp::correctionResidual() 180 0.00888 0.00888 0.00888 2.08% FabArray::norminf() 465 0.008793 0.008793 0.008793 2.06% Gravity::get_new_grav_vector() 5 0.007838 0.007838 0.007838 1.84% Castro::construct_old_gravity() 5 0.00777 0.00777 0.00777 1.82% Gravity::get_old_grav_vector() 5 0.007764 0.007764 0.007764 1.82% Castro::initialize_advance() 5 0.007686 0.007686 0.007686 1.80% Castro::do_new_sources() 5 0.007576 0.007576 0.007576 1.78% Castro::enforce_min_density() 30 0.007497 0.007497 0.007497 1.76% MLMG::mgVcycle_down::1 36 0.00742 0.00742 0.00742 1.74% MLMG::mgVcycle_down::2 36 0.006792 0.006792 0.006792 1.59% FabArray::ParallelCopy() 380 0.006764 0.006764 0.006764 1.59% FabArray::setVal() 501 0.006662 0.006662 0.006662 1.56% FabArray::ParallelCopy_nowait() 380 0.00665 0.00665 0.00665 1.56% MLMG::mgVcycle_down::3 36 0.00661 0.00661 0.00661 1.55% MLMG::mgVcycle_down::4 36 0.006583 0.006583 0.006583 1.54% MLCellLinOp::defineAuxData() 6 0.006557 0.006557 0.006557 1.54% Castro::post_timestep() 5 0.006037 0.006037 0.006037 1.42% FabArray::Saxpy() 597 0.005937 0.005937 0.005937 1.39% Castro::expand_state() 5 0.0059 0.0059 0.0059 1.38% Castro::post_restart() 1 0.005891 0.005891 0.005891 1.38% MLCGSolver::ParallelAllReduce 798 0.005658 0.005658 0.005658 1.33% MLMG::addInterpCorrection() 180 0.005535 0.005535 0.005535 1.30% Gravity::multilevel_solve_for_new_phi() 1 0.005525 0.005525 0.005525 1.30% Gravity::actual_multilevel_solve() 1 0.0055 0.0055 0.0055 1.29% Gravity::fill_multipole_BCs() 6 0.005491 0.005491 0.005491 1.29% amrex::Copy() 221 0.005489 0.005489 0.005489 1.29% MLMG::mgVcycle_up::4 36 0.005331 0.005331 0.005331 1.25% MLMG::mgVcycle_up::1 36 0.005293 0.005293 0.005293 1.24% MLMG::mgVcycle_up::2 36 0.005179 0.005179 0.005179 1.22% amrex::average_down 180 0.005153 0.005153 0.005153 1.21% MLMG::mgVcycle_up::3 36 0.005072 0.005072 0.005072 1.19% MLPoisson::Fapply() 464 0.004534 0.004534 0.004534 1.06% MLCellLinOp::solutionResidual() 42 0.00368 0.00368 0.00368 0.86% Castro::estTimeStep() 10 0.003575 0.003575 0.003575 0.84% FabArray::Xpay() 325 0.003519 0.003519 0.003519 0.83% MLCellLinOp::defineBC() 6 0.002994 0.002994 0.002994 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002918 0.002918 0.002918 0.68% MLMG::prepareForSolve() 6 0.002914 0.002914 0.002914 0.68% MLMG::computeResidual() 36 0.002867 0.002867 0.002867 0.67% BndryData::define() 6 0.002848 0.002848 0.002848 0.67% Castro::computeNewDt() 5 0.002161 0.002161 0.002161 0.51% Castro::construct_new_source() 25 0.002033 0.002033 0.002033 0.48% Castro::construct_new_gravity_source() 5 0.001924 0.001924 0.001924 0.45% amrex::Add() 36 0.001549 0.001549 0.001549 0.36% Castro::construct_old_source() 25 0.001535 0.001535 0.001535 0.36% Castro::construct_old_gravity_source() 5 0.001506 0.001506 0.001506 0.35% Castro::finalize_do_advance() 5 0.001461 0.001461 0.001461 0.34% Castro::enforce_speed_limit() 30 0.001075 0.001075 0.001075 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009956 0.0009956 0.0009956 0.23% MLMG::ResNormInf() 42 0.0009943 0.0009943 0.0009943 0.23% check_for_negative_density() 5 0.0009776 0.0009776 0.0009776 0.23% Castro::apply_source_to_state() 10 0.0009655 0.0009655 0.0009655 0.23% MLMG::getGradSolution() 6 0.0009118 0.0009118 0.0009118 0.21% MLCellLinOp::compGrad() 6 0.0009033 0.0009033 0.0009033 0.21% MLCellLinOp::setLevelBC() 6 0.0008938 0.0008938 0.0008938 0.21% Castro::reset_internal_energy(Fab) 240 0.0008435 0.0008435 0.0008435 0.20% MLMG::computeMLResidual() 6 0.0008318 0.0008318 0.0008318 0.20% FabArrayBase::getCPC() 632 0.000799 0.000799 0.000799 0.19% MLPoisson::prepareForSolve() 6 0.0007643 0.0007643 0.0007643 0.18% MLCellLinOp::prepareForSolve() 6 0.0007607 0.0007607 0.0007607 0.18% Gravity::update_max_rhs() 6 0.000713 0.000713 0.000713 0.17% FabArray::setDomainBndry() 20 0.000709 0.000709 0.000709 0.17% FabArray::mult() 22 0.0006933 0.0006933 0.0006933 0.16% Castro::check_for_nan() 10 0.0006685 0.0006685 0.0006685 0.16% Other 2160 0.003746 0.003746 0.003746 0.88% -------------------------------------------------------------------------------------------- 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 1066 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1732 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 6390 KiB 14 MiB MLMG::prepareForSolve() 361 361 3343 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 188 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 188 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6377 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3331 B 2048 KiB Gravity::solve_for_phi() 40 40 617 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 3988 B 480 KiB VisMF::Write(FabArray) 112 112 1297 B 320 KiB Castro::normalize_species() 30 30 8458 B 320 KiB amrex::average_down 469 469 1404 B 257 KiB MLMG::addInterpCorrection() 468 468 1102 B 257 KiB amrex::Dot() 592 592 3260 B 160 KiB FabArray::norminf() 501 501 3191 B 160 KiB check_for_negative_density() 5 5 369 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3238 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 261 B 9648 B MLCellLinOp::applyBC() 3820 3820 209 B 9344 B amrex::Copy() 56 56 5812 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2736 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 346 B 1248 B MLCGSolver::bicgstab 180 180 89 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1313 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 162 KiB 3584 KiB VisMF::Read() 24 24 217 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3238 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 261 B 9648 B MLCellLinOp::applyBC() 1910 1910 207 B 9328 B amrex::Copy() 56 56 5812 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2504 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 43 B 2832 B MLMG::prepareForSolve() 7 7 797 B 1648 B amrex::average_down 37 37 454 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): 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.05-13-gc3303094ddf5) finalized