Initializing AMReX (24.05-8-g739effa5d8ba)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-8-g739effa5d8ba) initialized Starting run at 07:50:07 UTC on 2024-05-08. Successfully read inputs file ... Castro git describe: 24.05-6-g4c1fa8f29 AMReX git describe: 24.05-8-g739effa5d Microphysics git describe: 24.05-3-gca9e5320 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.046844689 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025705544 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.066206627 [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.049041316 [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.074959563 [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.073496692 [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.072280452 [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.045855958 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.066408258 [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.070517216 [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.076451001 [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.064636418 [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.0622232 [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.08130878 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025432632 seconds Ending run at 07:50:08 UTC on 2024-05-08. Run time = 0.95809901 Run time without initialization = 0.829561082 Average number of zones advanced per microsecond: 3.160 Average number of zones advanced per microsecond per rank: 3.160 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9581 ... 0.9581 ... 0.9581 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2847 0.2847 0.2847 29.71% VisMF::Write(FabArray) 11 0.1797 0.1797 0.1797 18.76% MLCellLinOp::applyBC() 4351 0.08194 0.08194 0.08194 8.55% Amr::checkPoint() 3 0.04281 0.04281 0.04281 4.47% MLPoisson::Fsmooth() 3280 0.03393 0.03393 0.03393 3.54% FillBoundary_nowait() 3941 0.03066 0.03066 0.03066 3.20% StateData::FillBoundary(geom) 328 0.0267 0.0267 0.0267 2.79% Castro::normalize_species() 62 0.02227 0.02227 0.02227 2.32% amrex::Dot() 1114 0.02186 0.02186 0.02186 2.28% FabArray::norminf() 1061 0.02022 0.02022 0.02022 2.11% Castro::computeTemp() 63 0.01643 0.01643 0.01643 1.71% FabArray::ParallelCopy_nowait() 861 0.01385 0.01385 0.01385 1.45% FabArray::setVal() 1062 0.01363 0.01363 0.01363 1.42% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.39% Castro::enforce_min_density() 62 0.01242 0.01242 0.01242 1.30% StateDataPhysBCFunct::() 41 0.01198 0.01198 0.01198 1.25% amrex::Copy() 472 0.01098 0.01098 0.01098 1.15% MLPoisson::Fapply() 1060 0.01044 0.01044 0.01044 1.09% MLCellLinOp::defineAuxData() 11 0.01041 0.01041 0.01041 1.09% Gravity::fill_multipole_BCs() 11 0.009615 0.009615 0.009615 1.00% FabArray::Xpay() 739 0.007956 0.007956 0.007956 0.83% MLCellLinOp::smooth() 1640 0.007313 0.007313 0.007313 0.76% MLMG::addInterpCorrection() 410 0.007131 0.007131 0.007131 0.74% amrex::average_down 410 0.006263 0.006263 0.006263 0.65% Castro::estTimeStep() 21 0.006131 0.006131 0.006131 0.64% Castro::reset_internal_energy(MultiFab) 63 0.005033 0.005033 0.005033 0.53% BndryData::define() 11 0.004058 0.004058 0.004058 0.42% amrex::Add() 82 0.003608 0.003608 0.003608 0.38% Castro::construct_new_gravity_source() 10 0.003581 0.003581 0.003581 0.37% Castro::enforce_speed_limit() 62 0.003101 0.003101 0.003101 0.32% Castro::construct_old_gravity_source() 10 0.003007 0.003007 0.003007 0.31% Amr::writePlotFile() 2 0.002166 0.002166 0.002166 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001818 0.001818 0.001818 0.19% check_for_negative_density() 10 0.001792 0.001792 0.001792 0.19% Castro::reset_internal_energy(Fab) 504 0.001707 0.001707 0.001707 0.18% MLCGSolver::bicgstab 82 0.001665 0.001665 0.001665 0.17% MLCellLinOp::setLevelBC() 11 0.001628 0.001628 0.001628 0.17% Gravity::actual_solve_with_mlmg() 11 0.00156 0.00156 0.00156 0.16% Castro::initData() 1 0.001558 0.001558 0.001558 0.16% FabArray::setDomainBndry() 41 0.001397 0.001397 0.001397 0.15% FabArray::mult() 43 0.001379 0.001379 0.001379 0.14% MLCellLinOp::prepareForSolve() 11 0.001326 0.001326 0.001326 0.14% MultiFab::contains_nan() 20 0.001273 0.001273 0.001273 0.13% MLCellLinOp::compGrad() 11 0.0011 0.0011 0.0011 0.11% MLMG::prepareForSolve() 11 0.0009579 0.0009579 0.0009579 0.10% FabArrayBase::getCPC() 1323 0.000802 0.000802 0.000802 0.08% FabArray::FillBoundary() 3941 0.0007681 0.0007681 0.0007681 0.08% Gravity::get_new_grav_vector() 11 0.0006085 0.0006085 0.0006085 0.06% Gravity::get_old_grav_vector() 10 0.0004846 0.0004846 0.0004846 0.05% MLCellLinOp::apply() 1060 0.0004124 0.0004124 0.0004124 0.04% AmrLevel::FillPatch() 41 0.0004023 0.0004023 0.0004023 0.04% Amr::coarseTimeStep() 10 0.0004007 0.0004007 0.0004007 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003102 0.0003102 0.0003102 0.03% main() 1 0.0002931 0.0002931 0.0002931 0.03% MLCellLinOp::defineBC() 11 0.0002576 0.0002576 0.0002576 0.03% FabArray::ParallelCopy() 861 0.0002446 0.0002446 0.0002446 0.03% FillPatchIterator::Initialize 41 0.000229 0.000229 0.000229 0.02% MLMG::mgVcycle() 82 0.0002031 0.0002031 0.0002031 0.02% Castro::subcycle_advance_ctu() 10 0.0001976 0.0001976 0.0001976 0.02% MLCellLinOp::correctionResidual() 410 0.0001763 0.0001763 0.0001763 0.02% Castro::construct_new_source() 50 0.0001678 0.0001678 0.0001678 0.02% Amr::timeStep() 10 0.0001529 0.0001529 0.0001529 0.02% MLMG:computeResOfCorrection() 410 0.0001163 0.0001163 0.0001163 0.01% StateData::checkPoint() 12 0.0001114 0.0001114 0.0001114 0.01% Gravity::solve_for_phi() 10 0.0001108 0.0001108 0.0001108 0.01% Castro::advance() 10 0.0001014 0.0001014 0.0001014 0.01% MLMG::actualBottomSolve() 82 8.428e-05 8.428e-05 8.428e-05 0.01% MLMG::mgVcycle_down::0 82 8.32e-05 8.32e-05 8.32e-05 0.01% Castro::initialize_advance() 10 7.779e-05 7.779e-05 7.779e-05 0.01% MLMG::solve() 11 7.657e-05 7.657e-05 7.657e-05 0.01% MLMG::mgVcycle_down::2 82 7.471e-05 7.471e-05 7.471e-05 0.01% MLMG::mgVcycle_down::1 82 7.261e-05 7.261e-05 7.261e-05 0.01% MLMG::mgVcycle_down::4 82 7.101e-05 7.101e-05 7.101e-05 0.01% Castro::clean_state() 62 6.975e-05 6.975e-05 6.975e-05 0.01% MLMG::mgVcycle_down::3 82 6.581e-05 6.581e-05 6.581e-05 0.01% Castro::post_timestep() 10 6.466e-05 6.466e-05 6.466e-05 0.01% AmrLevel::checkPoint() 3 6.355e-05 6.355e-05 6.355e-05 0.01% Castro::initialize_do_advance() 10 5.802e-05 5.802e-05 5.802e-05 0.01% MLMG::oneIter() 82 5.505e-05 5.505e-05 5.505e-05 0.01% MLMG::mgVcycle_up::4 82 5.304e-05 5.304e-05 5.304e-05 0.01% Castro::do_new_sources() 10 5.078e-05 5.078e-05 5.078e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.026e-05 5.026e-05 5.026e-05 0.01% MLMG::mgVcycle_up::3 82 4.802e-05 4.802e-05 4.802e-05 0.01% MLMG::mgVcycle_up::1 82 4.737e-05 4.737e-05 4.737e-05 0.00% Castro::do_advance_ctu() 10 4.659e-05 4.659e-05 4.659e-05 0.00% MLMG::mgVcycle_up::0 82 4.607e-05 4.607e-05 4.607e-05 0.00% Castro::finalize_do_advance() 10 4.547e-05 4.547e-05 4.547e-05 0.00% MLCellLinOp::solutionResidual() 93 4.535e-05 4.535e-05 4.535e-05 0.00% MLMG::mgVcycle_up::2 82 4.477e-05 4.477e-05 4.477e-05 0.00% FillPatchSingleLevel 41 3.703e-05 3.703e-05 3.703e-05 0.00% MLMG::ResNormInf() 93 3.45e-05 3.45e-05 3.45e-05 0.00% Amr::defBaseLevel() 1 3.28e-05 3.28e-05 3.28e-05 0.00% MLMG::computeResidual() 82 3.192e-05 3.192e-05 3.192e-05 0.00% MLMG::mgVcycle_bottom 82 2.919e-05 2.919e-05 2.919e-05 0.00% MLPoisson::define() 11 2.612e-05 2.612e-05 2.612e-05 0.00% Castro::construct_new_gravity() 10 2.535e-05 2.535e-05 2.535e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.413e-05 2.413e-05 2.413e-05 0.00% Castro::do_old_sources() 10 1.956e-05 1.956e-05 1.956e-05 0.00% Castro::construct_old_source() 50 1.946e-05 1.946e-05 1.946e-05 0.00% Amr::FinalizeInit() 1 1.864e-05 1.864e-05 1.864e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.602e-05 1.602e-05 1.602e-05 0.00% Gravity::actual_multilevel_solve() 1 1.508e-05 1.508e-05 1.508e-05 0.00% Castro::apply_source_to_state() 20 1.361e-05 1.361e-05 1.361e-05 0.00% MLMG::computeMLResidual() 11 1.273e-05 1.273e-05 1.273e-05 0.00% Castro::construct_old_gravity() 10 1.187e-05 1.187e-05 1.187e-05 0.00% Castro::check_for_nan() 20 1.108e-05 1.108e-05 1.108e-05 0.00% MLMG::getGradSolution() 11 6.635e-06 6.635e-06 6.635e-06 0.00% MLPoisson::prepareForSolve() 11 6.594e-06 6.594e-06 6.594e-06 0.00% Castro::computeNewDt() 9 6.009e-06 6.009e-06 6.009e-06 0.00% Castro::expand_state() 10 6.007e-06 6.007e-06 6.007e-06 0.00% Amr::InitializeInit() 1 5.707e-06 5.707e-06 5.707e-06 0.00% Castro::post_init() 1 3.806e-06 3.806e-06 3.806e-06 0.00% Amr::init() 1 2.463e-06 2.463e-06 2.463e-06 0.00% Amr::initialInit() 1 1.136e-06 1.136e-06 1.136e-06 0.00% Other 4753 0.003372 0.003372 0.003372 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9581 0.9581 0.9581 100.00% Amr::coarseTimeStep() 10 0.8039 0.8039 0.8039 83.90% Amr::timeStep() 10 0.6726 0.6726 0.6726 70.20% Castro::advance() 10 0.6608 0.6608 0.6608 68.97% Castro::subcycle_advance_ctu() 10 0.6454 0.6454 0.6454 67.36% Castro::do_advance_ctu() 10 0.6452 0.6452 0.6452 67.34% Gravity::solve_phi_with_mlmg() 11 0.3043 0.3043 0.3043 31.76% Castro::construct_ctu_hydro_source() 10 0.2955 0.2955 0.2955 30.84% Gravity::actual_solve_with_mlmg() 11 0.2942 0.2942 0.2942 30.70% Castro::construct_new_gravity() 10 0.2753 0.2753 0.2753 28.73% MLMG::solve() 11 0.2719 0.2719 0.2719 28.38% Gravity::solve_for_phi() 10 0.2587 0.2587 0.2587 27.00% MLMG::oneIter() 82 0.2563 0.2563 0.2563 26.75% MLMG::mgVcycle() 82 0.2526 0.2526 0.2526 26.37% VisMF::Write(FabArray) 11 0.1797 0.1797 0.1797 18.76% Amr::checkPoint() 3 0.1741 0.1741 0.1741 18.18% AmrLevel::checkPoint() 3 0.1313 0.1313 0.1313 13.71% StateData::checkPoint() 12 0.1313 0.1313 0.1313 13.70% MLCellLinOp::smooth() 1640 0.1291 0.1291 0.1291 13.47% Amr::init() 1 0.1278 0.1278 0.1278 13.34% MLCellLinOp::applyBC() 4351 0.1141 0.1141 0.1141 11.91% MLMG::mgVcycle_bottom 82 0.07401 0.07401 0.07401 7.72% MLMG::actualBottomSolve() 82 0.07398 0.07398 0.07398 7.72% MLCGSolver::bicgstab 82 0.07316 0.07316 0.07316 7.64% Castro::clean_state() 62 0.05999 0.05999 0.05999 6.26% Amr::initialInit() 1 0.05514 0.05514 0.05514 5.76% Amr::writePlotFile() 2 0.05127 0.05127 0.05127 5.35% Amr::FinalizeInit() 1 0.04981 0.04981 0.04981 5.20% AmrLevel::FillPatch() 41 0.04879 0.04879 0.04879 5.09% Castro::post_init() 1 0.04836 0.04836 0.04836 5.05% Gravity::multilevel_solve_for_new_phi() 1 0.04596 0.04596 0.04596 4.80% Gravity::actual_multilevel_solve() 1 0.04594 0.04594 0.04594 4.80% FillPatchIterator::Initialize 41 0.04449 0.04449 0.04449 4.64% FillPatchIterator::FillFromLevel0() 41 0.04287 0.04287 0.04287 4.47% FillPatchSingleLevel 41 0.04282 0.04282 0.04282 4.47% StateDataPhysBCFunct::() 41 0.03868 0.03868 0.03868 4.04% MLCellLinOp::apply() 1060 0.03661 0.03661 0.03661 3.82% MLMG::mgVcycle_down::0 82 0.03469 0.03469 0.03469 3.62% MLPoisson::Fsmooth() 3280 0.03393 0.03393 0.03393 3.54% FabArray::FillBoundary() 3941 0.03217 0.03217 0.03217 3.36% FillBoundary_nowait() 3941 0.03141 0.03141 0.03141 3.28% StateData::FillBoundary(geom) 328 0.0267 0.0267 0.0267 2.79% MLMG::mgVcycle_up::0 82 0.02633 0.02633 0.02633 2.75% MLMG::mgVcycle_down::1 82 0.02347 0.02347 0.02347 2.45% Castro::computeTemp() 63 0.02317 0.02317 0.02317 2.42% Castro::initialize_do_advance() 10 0.02235 0.02235 0.02235 2.33% Castro::normalize_species() 62 0.02227 0.02227 0.02227 2.32% amrex::Dot() 1114 0.02186 0.02186 0.02186 2.28% MLMG:computeResOfCorrection() 410 0.02057 0.02057 0.02057 2.15% MLCellLinOp::correctionResidual() 410 0.02045 0.02045 0.02045 2.13% FabArray::norminf() 1061 0.02022 0.02022 0.02022 2.11% Castro::do_old_sources() 10 0.01913 0.01913 0.01913 2.00% Gravity::get_new_grav_vector() 11 0.01848 0.01848 0.01848 1.93% MLPoisson::define() 11 0.0175 0.0175 0.0175 1.83% Castro::construct_old_gravity() 10 0.01573 0.01573 0.01573 1.64% Gravity::get_old_grav_vector() 10 0.01572 0.01572 0.01572 1.64% MLMG::mgVcycle_down::2 82 0.01563 0.01563 0.01563 1.63% MLMG::mgVcycle_down::3 82 0.01526 0.01526 0.01526 1.59% MLMG::mgVcycle_down::4 82 0.01518 0.01518 0.01518 1.58% FabArray::ParallelCopy() 861 0.01489 0.01489 0.01489 1.55% Castro::initialize_advance() 10 0.01467 0.01467 0.01467 1.53% FabArray::ParallelCopy_nowait() 861 0.01465 0.01465 0.01465 1.53% Castro::do_new_sources() 10 0.01393 0.01393 0.01393 1.45% FabArray::setVal() 1062 0.01363 0.01363 0.01363 1.42% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.39% MLCGSolver::ParallelAllReduce 1832 0.01307 0.01307 0.01307 1.36% MLMG::addInterpCorrection() 410 0.01251 0.01251 0.01251 1.31% Castro::enforce_min_density() 62 0.01242 0.01242 0.01242 1.30% MLMG::mgVcycle_up::1 82 0.01216 0.01216 0.01216 1.27% MLMG::mgVcycle_up::4 82 0.01212 0.01212 0.01212 1.26% MLMG::mgVcycle_up::2 82 0.01188 0.01188 0.01188 1.24% MLCellLinOp::defineAuxData() 11 0.01186 0.01186 0.01186 1.24% Castro::expand_state() 10 0.01179 0.01179 0.01179 1.23% MLMG::mgVcycle_up::3 82 0.01169 0.01169 0.01169 1.22% amrex::average_down 410 0.01168 0.01168 0.01168 1.22% Castro::post_timestep() 10 0.01166 0.01166 0.01166 1.22% amrex::Copy() 472 0.01098 0.01098 0.01098 1.15% MLPoisson::Fapply() 1060 0.01044 0.01044 0.01044 1.09% Gravity::fill_multipole_BCs() 11 0.009846 0.009846 0.009846 1.03% FabArray::Xpay() 739 0.007956 0.007956 0.007956 0.83% MLCellLinOp::solutionResidual() 93 0.007858 0.007858 0.007858 0.82% Castro::reset_internal_energy(MultiFab) 63 0.00674 0.00674 0.00674 0.70% MLMG::computeResidual() 82 0.006586 0.006586 0.006586 0.69% Castro::estTimeStep() 21 0.006131 0.006131 0.006131 0.64% MLCellLinOp::defineBC() 11 0.005362 0.005362 0.005362 0.56% Amr::InitializeInit() 1 0.005332 0.005332 0.005332 0.56% Amr::defBaseLevel() 1 0.005326 0.005326 0.005326 0.56% MLMG::prepareForSolve() 11 0.005186 0.005186 0.005186 0.54% BndryData::define() 11 0.005104 0.005104 0.005104 0.53% Castro::initData() 1 0.004633 0.004633 0.004633 0.48% Castro::construct_new_source() 50 0.003749 0.003749 0.003749 0.39% amrex::Add() 82 0.003608 0.003608 0.003608 0.38% Castro::construct_new_gravity_source() 10 0.003581 0.003581 0.003581 0.37% Castro::enforce_speed_limit() 62 0.003101 0.003101 0.003101 0.32% Castro::construct_old_source() 50 0.003026 0.003026 0.003026 0.32% Castro::construct_old_gravity_source() 10 0.003007 0.003007 0.003007 0.31% Castro::computeNewDt() 9 0.002862 0.002862 0.002862 0.30% Castro::finalize_do_advance() 10 0.002349 0.002349 0.002349 0.25% MLMG::ResNormInf() 93 0.002197 0.002197 0.002197 0.23% Castro::apply_source_to_state() 20 0.001884 0.001884 0.001884 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001818 0.001818 0.001818 0.19% check_for_negative_density() 10 0.001792 0.001792 0.001792 0.19% Castro::reset_internal_energy(Fab) 504 0.001707 0.001707 0.001707 0.18% MLCellLinOp::setLevelBC() 11 0.001628 0.001628 0.001628 0.17% MLMG::getGradSolution() 11 0.001622 0.001622 0.001622 0.17% MLCellLinOp::compGrad() 11 0.001615 0.001615 0.001615 0.17% FabArrayBase::getCPC() 1323 0.001477 0.001477 0.001477 0.15% FabArray::setDomainBndry() 41 0.001397 0.001397 0.001397 0.15% FabArray::mult() 43 0.001379 0.001379 0.001379 0.14% MLPoisson::prepareForSolve() 11 0.001332 0.001332 0.001332 0.14% MLCellLinOp::prepareForSolve() 11 0.001326 0.001326 0.001326 0.14% MLMG::computeMLResidual() 11 0.001317 0.001317 0.001317 0.14% Castro::check_for_nan() 20 0.001284 0.001284 0.001284 0.13% MultiFab::contains_nan() 20 0.001273 0.001273 0.001273 0.13% Other 4753 0.00929 0.00929 0.00929 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 5463 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 980 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1493 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3491 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 200 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 168 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2025 B 2048 KiB Gravity::solve_for_phi() 80 80 552 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 319 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 203 KiB 671 KiB Castro::estTimeStep() 21 21 3121 B 480 KiB VisMF::Write(FabArray) 656 656 3238 B 320 KiB Castro::normalize_species() 62 62 7576 B 320 KiB amrex::average_down 1067 1067 1563 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1126 B 257 KiB amrex::Dot() 1360 1360 3371 B 160 KiB FabArray::norminf() 1143 1143 3264 B 160 KiB check_for_negative_density() 10 10 299 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3409 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 278 B 9648 B MLCellLinOp::applyBC() 8702 8702 212 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3905 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 4064 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 359 B 1248 B MLCGSolver::bicgstab 410 410 92 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 532 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 411 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3409 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 278 B 9648 B MLCellLinOp::applyBC() 4351 4351 210 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3905 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 4064 B Gravity::get_new_grav_vector() 3 3 2897 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 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 290 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-8-g739effa5d8ba) finalized Initializing AMReX (24.05-8-g739effa5d8ba)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-8-g739effa5d8ba) initialized Starting run at 07:50:09 UTC on 2024-05-08. Successfully read inputs file ... Castro git describe: 24.05-6-g4c1fa8f29 AMReX git describe: 24.05-8-g739effa5d Microphysics git describe: 24.05-3-gca9e5320 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.510437092 Restart time = 0.072883206 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.069326924 [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.047719927 [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.074161791 [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.075535516 [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.069498678 [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.027775452 seconds Ending run at 07:50:09 UTC on 2024-05-08. Run time = 0.438017211 Run time without initialization = 0.364483157 Average number of zones advanced per microsecond: 3.596 Average number of zones advanced per microsecond per rank: 3.596 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4381 ... 0.4381 ... 0.4381 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1404 0.1404 0.1404 32.04% VisMF::Read() 3 0.06153 0.06153 0.06153 14.05% MLCellLinOp::applyBC() 1910 0.03627 0.03627 0.03627 8.28% VisMF::Write(FabArray) 1 0.02503 0.02503 0.02503 5.71% MLPoisson::Fsmooth() 1440 0.01495 0.01495 0.01495 3.41% StateData::FillBoundary(geom) 160 0.01318 0.01318 0.01318 3.01% FillBoundary_nowait() 1730 0.013 0.013 0.013 2.97% Castro::normalize_species() 30 0.009693 0.009693 0.009693 2.21% amrex::Dot() 484 0.009329 0.009329 0.009329 2.13% FabArray::norminf() 465 0.008758 0.008758 0.008758 2.00% Castro::computeTemp() 30 0.007135 0.007135 0.007135 1.63% FabArray::setVal() 501 0.006699 0.006699 0.006699 1.53% FabArray::ParallelCopy_nowait() 380 0.006282 0.006282 0.006282 1.43% Castro::enforce_min_density() 30 0.005974 0.005974 0.005974 1.36% FabArray::Saxpy() 597 0.005952 0.005952 0.005952 1.36% MLCellLinOp::defineAuxData() 6 0.005778 0.005778 0.005778 1.32% amrex::Copy() 221 0.005507 0.005507 0.005507 1.26% Gravity::fill_multipole_BCs() 6 0.005364 0.005364 0.005364 1.22% Amr::restart() 1 0.004924 0.004924 0.004924 1.12% MLPoisson::Fapply() 464 0.004583 0.004583 0.004583 1.05% StateDataPhysBCFunct::() 20 0.004424 0.004424 0.004424 1.01% FabArray::Xpay() 325 0.003563 0.003563 0.003563 0.81% Castro::estTimeStep() 10 0.003216 0.003216 0.003216 0.73% MLMG::addInterpCorrection() 180 0.003147 0.003147 0.003147 0.72% amrex::average_down 180 0.002757 0.002757 0.002757 0.63% Castro::enforce_speed_limit() 30 0.002669 0.002669 0.002669 0.61% Amr::writePlotFile() 1 0.002576 0.002576 0.002576 0.59% BndryData::define() 6 0.002273 0.002273 0.002273 0.52% Castro::reset_internal_energy(MultiFab) 30 0.002047 0.002047 0.002047 0.47% Castro::construct_new_gravity_source() 5 0.001887 0.001887 0.001887 0.43% amrex::Add() 36 0.001554 0.001554 0.001554 0.35% Castro::construct_old_gravity_source() 5 0.001538 0.001538 0.001538 0.35% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001001 0.001001 0.001001 0.23% check_for_negative_density() 5 0.0009282 0.0009282 0.0009282 0.21% MLCellLinOp::setLevelBC() 6 0.0009043 0.0009043 0.0009043 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008653 0.0008653 0.0008653 0.20% Castro::reset_internal_energy(Fab) 240 0.0008168 0.0008168 0.0008168 0.19% MLCellLinOp::prepareForSolve() 6 0.0007617 0.0007617 0.0007617 0.17% MLCGSolver::bicgstab 36 0.0007335 0.0007335 0.0007335 0.17% FabArray::setDomainBndry() 20 0.000702 0.000702 0.000702 0.16% FabArray::mult() 22 0.0006979 0.0006979 0.0006979 0.16% MLCellLinOp::compGrad() 6 0.0005949 0.0005949 0.0005949 0.14% MLMG::prepareForSolve() 6 0.000556 0.000556 0.000556 0.13% MLCellLinOp::smooth() 720 0.0004621 0.0004621 0.0004621 0.11% FabArrayBase::getCPC() 632 0.0003748 0.0003748 0.0003748 0.09% Gravity::get_old_grav_vector() 5 0.0003397 0.0003397 0.0003397 0.08% FabArray::FillBoundary() 1730 0.0003389 0.0003389 0.0003389 0.08% Gravity::get_new_grav_vector() 5 0.0002627 0.0002627 0.0002627 0.06% main() 1 0.0002578 0.0002578 0.0002578 0.06% AmrLevel::FillPatch() 20 0.0001994 0.0001994 0.0001994 0.05% Amr::coarseTimeStep() 5 0.0001953 0.0001953 0.0001953 0.04% MLCellLinOp::apply() 464 0.0001755 0.0001755 0.0001755 0.04% MLCellLinOp::defineBC() 6 0.000146 0.000146 0.000146 0.03% MLCGSolver::ParallelAllReduce 798 0.0001384 0.0001384 0.0001384 0.03% Castro::subcycle_advance_ctu() 5 0.0001167 0.0001167 0.0001167 0.03% FabArray::ParallelCopy() 380 0.0001086 0.0001086 0.0001086 0.02% FillPatchIterator::Initialize 20 0.0001055 0.0001055 0.0001055 0.02% Castro::initialize_do_advance() 5 9.284e-05 9.284e-05 9.284e-05 0.02% Castro::construct_new_source() 25 8.872e-05 8.872e-05 8.872e-05 0.02% Amr::timeStep() 5 8.618e-05 8.618e-05 8.618e-05 0.02% MLMG::mgVcycle() 36 7.809e-05 7.809e-05 7.809e-05 0.02% MLCellLinOp::correctionResidual() 180 7.419e-05 7.419e-05 7.419e-05 0.02% AmrLevel::restart() 1 7.144e-05 7.144e-05 7.144e-05 0.02% Castro::do_advance_ctu() 5 6.727e-05 6.727e-05 6.727e-05 0.02% Castro::post_timestep() 5 6.606e-05 6.606e-05 6.606e-05 0.02% Gravity::update_max_rhs() 6 6.33e-05 6.33e-05 6.33e-05 0.01% Castro::do_new_sources() 5 6.08e-05 6.08e-05 6.08e-05 0.01% StateData::restartDoit() 4 5.97e-05 5.97e-05 5.97e-05 0.01% Castro::advance() 5 5.9e-05 5.9e-05 5.9e-05 0.01% Gravity::solve_for_phi() 5 4.999e-05 4.999e-05 4.999e-05 0.01% Castro::construct_old_source() 25 4.973e-05 4.973e-05 4.973e-05 0.01% MLMG:computeResOfCorrection() 180 4.883e-05 4.883e-05 4.883e-05 0.01% Castro::finalize_do_advance() 5 4.53e-05 4.53e-05 4.53e-05 0.01% MLMG::actualBottomSolve() 36 3.946e-05 3.946e-05 3.946e-05 0.01% Castro::initialize_advance() 5 3.628e-05 3.628e-05 3.628e-05 0.01% MLMG::mgVcycle_down::0 36 3.571e-05 3.571e-05 3.571e-05 0.01% MLMG::solve() 6 3.488e-05 3.488e-05 3.488e-05 0.01% Castro::clean_state() 30 3.387e-05 3.387e-05 3.387e-05 0.01% MLMG::mgVcycle_down::1 36 3.144e-05 3.144e-05 3.144e-05 0.01% MLMG::mgVcycle_down::2 36 2.984e-05 2.984e-05 2.984e-05 0.01% MLMG::mgVcycle_down::4 36 2.893e-05 2.893e-05 2.893e-05 0.01% MLMG::mgVcycle_down::3 36 2.734e-05 2.734e-05 2.734e-05 0.01% MLMG::mgVcycle_up::4 36 2.59e-05 2.59e-05 2.59e-05 0.01% MLMG::oneIter() 36 2.493e-05 2.493e-05 2.493e-05 0.01% MLPoisson::define() 6 2.297e-05 2.297e-05 2.297e-05 0.01% MLMG::mgVcycle_up::3 36 2.21e-05 2.21e-05 2.21e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.167e-05 2.167e-05 2.167e-05 0.00% Castro::post_restart() 1 2.112e-05 2.112e-05 2.112e-05 0.00% MLMG::mgVcycle_up::2 36 2.038e-05 2.038e-05 2.038e-05 0.00% MLCellLinOp::solutionResidual() 42 2.022e-05 2.022e-05 2.022e-05 0.00% MLMG::mgVcycle_up::0 36 1.996e-05 1.996e-05 1.996e-05 0.00% MLMG::mgVcycle_up::1 36 1.941e-05 1.941e-05 1.941e-05 0.00% FillPatchSingleLevel 20 1.747e-05 1.747e-05 1.747e-05 0.00% MLMG::ResNormInf() 42 1.713e-05 1.713e-05 1.713e-05 0.00% Gravity::actual_multilevel_solve() 1 1.708e-05 1.708e-05 1.708e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.617e-05 1.617e-05 1.617e-05 0.00% MLMG::computeResidual() 36 1.529e-05 1.529e-05 1.529e-05 0.00% MLMG::mgVcycle_bottom 36 1.355e-05 1.355e-05 1.355e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.339e-05 1.339e-05 1.339e-05 0.00% Castro::construct_new_gravity() 5 1.176e-05 1.176e-05 1.176e-05 0.00% Castro::do_old_sources() 5 1.104e-05 1.104e-05 1.104e-05 0.00% Castro::expand_state() 5 9.482e-06 9.482e-06 9.482e-06 0.00% Castro::apply_source_to_state() 10 6.276e-06 6.276e-06 6.276e-06 0.00% Castro::check_for_nan() 10 5.759e-06 5.759e-06 5.759e-06 0.00% Castro::construct_old_gravity() 5 5.42e-06 5.42e-06 5.42e-06 0.00% MLMG::computeMLResidual() 6 4.678e-06 4.678e-06 4.678e-06 0.00% Castro::computeNewDt() 5 3.762e-06 3.762e-06 3.762e-06 0.00% MLPoisson::prepareForSolve() 6 3.489e-06 3.489e-06 3.489e-06 0.00% MLMG::getGradSolution() 6 3.365e-06 3.365e-06 3.365e-06 0.00% Amr::init() 1 7.94e-07 7.94e-07 7.94e-07 0.00% Other 2160 0.002526 0.002526 0.002526 0.58% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.438 0.438 0.438 99.99% Amr::coarseTimeStep() 5 0.3364 0.3364 0.3364 76.80% Amr::timeStep() 5 0.3342 0.3342 0.3342 76.29% Castro::advance() 5 0.3283 0.3283 0.3283 74.95% Castro::subcycle_advance_ctu() 5 0.3201 0.3201 0.3201 73.08% Castro::do_advance_ctu() 5 0.32 0.32 0.32 73.05% Castro::construct_ctu_hydro_source() 5 0.1458 0.1458 0.1458 33.28% Castro::construct_new_gravity() 5 0.1375 0.1375 0.1375 31.39% Gravity::solve_phi_with_mlmg() 6 0.1348 0.1348 0.1348 30.76% Gravity::solve_for_phi() 5 0.1294 0.1294 0.1294 29.55% Gravity::actual_solve_with_mlmg() 6 0.1291 0.1291 0.1291 29.48% MLMG::solve() 6 0.1167 0.1167 0.1167 26.64% MLMG::oneIter() 36 0.1089 0.1089 0.1089 24.86% MLMG::mgVcycle() 36 0.1073 0.1073 0.1073 24.50% Amr::init() 1 0.07293 0.07293 0.07293 16.65% Amr::restart() 1 0.07293 0.07293 0.07293 16.65% AmrLevel::restart() 1 0.06189 0.06189 0.06189 14.13% StateData::restartDoit() 4 0.06181 0.06181 0.06181 14.11% VisMF::Read() 3 0.06153 0.06153 0.06153 14.05% MLCellLinOp::smooth() 720 0.05354 0.05354 0.05354 12.22% MLCellLinOp::applyBC() 1910 0.04994 0.04994 0.04994 11.40% MLMG::mgVcycle_bottom 36 0.03203 0.03203 0.03203 7.31% MLMG::actualBottomSolve() 36 0.03202 0.03202 0.03202 7.31% MLCGSolver::bicgstab 36 0.03165 0.03165 0.03165 7.22% Castro::clean_state() 30 0.02837 0.02837 0.02837 6.48% Amr::writePlotFile() 1 0.02788 0.02788 0.02788 6.36% VisMF::Write(FabArray) 1 0.02503 0.02503 0.02503 5.71% AmrLevel::FillPatch() 20 0.02261 0.02261 0.02261 5.16% FillPatchIterator::Initialize 20 0.0205 0.0205 0.0205 4.68% FillPatchIterator::FillFromLevel0() 20 0.01969 0.01969 0.01969 4.49% FillPatchSingleLevel 20 0.01967 0.01967 0.01967 4.49% StateDataPhysBCFunct::() 20 0.0176 0.0176 0.0176 4.02% MLCellLinOp::apply() 464 0.01628 0.01628 0.01628 3.72% MLMG::mgVcycle_down::0 36 0.0152 0.0152 0.0152 3.47% MLPoisson::Fsmooth() 1440 0.01495 0.01495 0.01495 3.41% FabArray::FillBoundary() 1730 0.01367 0.01367 0.01367 3.12% FillBoundary_nowait() 1730 0.01333 0.01333 0.01333 3.04% StateData::FillBoundary(geom) 160 0.01318 0.01318 0.01318 3.01% MLMG::mgVcycle_up::0 36 0.01134 0.01134 0.01134 2.59% Castro::initialize_do_advance() 5 0.01075 0.01075 0.01075 2.45% Castro::computeTemp() 30 0.009999 0.009999 0.009999 2.28% MLPoisson::define() 6 0.009772 0.009772 0.009772 2.23% Castro::normalize_species() 30 0.009693 0.009693 0.009693 2.21% Castro::do_old_sources() 5 0.00939 0.00939 0.00939 2.14% amrex::Dot() 484 0.009329 0.009329 0.009329 2.13% MLMG:computeResOfCorrection() 180 0.009066 0.009066 0.009066 2.07% MLCellLinOp::correctionResidual() 180 0.009017 0.009017 0.009017 2.06% FabArray::norminf() 465 0.008758 0.008758 0.008758 2.00% Gravity::get_new_grav_vector() 5 0.007955 0.007955 0.007955 1.82% Castro::initialize_advance() 5 0.007815 0.007815 0.007815 1.78% Castro::construct_old_gravity() 5 0.007722 0.007722 0.007722 1.76% Gravity::get_old_grav_vector() 5 0.007716 0.007716 0.007716 1.76% MLMG::mgVcycle_down::1 36 0.007464 0.007464 0.007464 1.70% Castro::do_new_sources() 5 0.007126 0.007126 0.007126 1.63% MLMG::mgVcycle_down::2 36 0.006862 0.006862 0.006862 1.57% FabArray::ParallelCopy() 380 0.006779 0.006779 0.006779 1.55% MLMG::mgVcycle_down::3 36 0.006715 0.006715 0.006715 1.53% FabArray::setVal() 501 0.006699 0.006699 0.006699 1.53% FabArray::ParallelCopy_nowait() 380 0.00667 0.00667 0.00667 1.52% MLMG::mgVcycle_down::4 36 0.006617 0.006617 0.006617 1.51% MLCellLinOp::defineAuxData() 6 0.006591 0.006591 0.006591 1.50% Castro::enforce_min_density() 30 0.005974 0.005974 0.005974 1.36% FabArray::Saxpy() 597 0.005952 0.005952 0.005952 1.36% Castro::post_restart() 1 0.005936 0.005936 0.005936 1.35% Castro::post_timestep() 5 0.005764 0.005764 0.005764 1.32% Castro::expand_state() 5 0.005647 0.005647 0.005647 1.29% MLCGSolver::ParallelAllReduce 798 0.005626 0.005626 0.005626 1.28% Gravity::multilevel_solve_for_new_phi() 1 0.005565 0.005565 0.005565 1.27% Gravity::actual_multilevel_solve() 1 0.005548 0.005548 0.005548 1.27% amrex::Copy() 221 0.005507 0.005507 0.005507 1.26% MLMG::addInterpCorrection() 180 0.005506 0.005506 0.005506 1.26% Gravity::fill_multipole_BCs() 6 0.005488 0.005488 0.005488 1.25% MLMG::mgVcycle_up::1 36 0.005356 0.005356 0.005356 1.22% MLMG::mgVcycle_up::4 36 0.00534 0.00534 0.00534 1.22% MLMG::mgVcycle_up::2 36 0.005198 0.005198 0.005198 1.19% MLMG::mgVcycle_up::3 36 0.005127 0.005127 0.005127 1.17% amrex::average_down 180 0.005125 0.005125 0.005125 1.17% MLPoisson::Fapply() 464 0.004583 0.004583 0.004583 1.05% MLCellLinOp::solutionResidual() 42 0.003686 0.003686 0.003686 0.84% FabArray::Xpay() 325 0.003563 0.003563 0.003563 0.81% Castro::estTimeStep() 10 0.003216 0.003216 0.003216 0.73% MLCellLinOp::defineBC() 6 0.003016 0.003016 0.003016 0.69% MLMG::prepareForSolve() 6 0.002944 0.002944 0.002944 0.67% MLMG::computeResidual() 36 0.002879 0.002879 0.002879 0.66% BndryData::define() 6 0.00287 0.00287 0.00287 0.66% Castro::reset_internal_energy(MultiFab) 30 0.002864 0.002864 0.002864 0.65% Castro::enforce_speed_limit() 30 0.002669 0.002669 0.002669 0.61% Castro::computeNewDt() 5 0.002063 0.002063 0.002063 0.47% Castro::construct_new_source() 25 0.001976 0.001976 0.001976 0.45% Castro::construct_new_gravity_source() 5 0.001887 0.001887 0.001887 0.43% Castro::construct_old_source() 25 0.001588 0.001588 0.001588 0.36% amrex::Add() 36 0.001554 0.001554 0.001554 0.35% Castro::construct_old_gravity_source() 5 0.001538 0.001538 0.001538 0.35% Castro::finalize_do_advance() 5 0.001203 0.001203 0.001203 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001001 0.001001 0.001001 0.23% MLMG::ResNormInf() 42 0.000999 0.000999 0.000999 0.23% Castro::apply_source_to_state() 10 0.0009695 0.0009695 0.0009695 0.22% check_for_negative_density() 5 0.0009282 0.0009282 0.0009282 0.21% MLCellLinOp::setLevelBC() 6 0.0009043 0.0009043 0.0009043 0.21% MLMG::getGradSolution() 6 0.0008894 0.0008894 0.0008894 0.20% MLCellLinOp::compGrad() 6 0.000886 0.000886 0.000886 0.20% MLMG::computeMLResidual() 6 0.0008268 0.0008268 0.0008268 0.19% Castro::reset_internal_energy(Fab) 240 0.0008168 0.0008168 0.0008168 0.19% FabArrayBase::getCPC() 632 0.0007963 0.0007963 0.0007963 0.18% MLPoisson::prepareForSolve() 6 0.0007652 0.0007652 0.0007652 0.17% MLCellLinOp::prepareForSolve() 6 0.0007617 0.0007617 0.0007617 0.17% Gravity::update_max_rhs() 6 0.0007245 0.0007245 0.0007245 0.17% FabArray::setDomainBndry() 20 0.000702 0.000702 0.000702 0.16% FabArray::mult() 22 0.0006979 0.0006979 0.0006979 0.16% Castro::check_for_nan() 10 0.000668 0.000668 0.000668 0.15% Other 2160 0.003766 0.003766 0.003766 0.86% -------------------------------------------------------------------------------------------- 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 1008 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1690 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6411 KiB 14 MiB MLMG::prepareForSolve() 361 361 3270 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 182 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 185 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6398 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3293 B 2048 KiB Gravity::solve_for_phi() 40 40 604 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 301 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 194 KiB 671 KiB Castro::estTimeStep() 10 10 3418 B 480 KiB VisMF::Write(FabArray) 112 112 1267 B 320 KiB Castro::normalize_species() 30 30 7205 B 320 KiB amrex::average_down 469 469 1386 B 257 KiB MLMG::addInterpCorrection() 468 468 1074 B 257 KiB amrex::Dot() 592 592 3148 B 160 KiB FabArray::norminf() 501 501 3092 B 160 KiB check_for_negative_density() 5 5 340 B 160 KiB MultiFab::max() 6 6 74 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3168 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 255 B 9648 B MLCellLinOp::applyBC() 3820 3820 206 B 9344 B amrex::Copy() 56 56 5847 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 34 B 2208 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 339 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1177 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 159 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3168 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 255 B 9648 B MLCellLinOp::applyBC() 1910 1910 204 B 9328 B amrex::Copy() 56 56 5847 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2515 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 34 B 2208 B MLMG::prepareForSolve() 7 7 793 B 1648 B amrex::average_down 37 37 461 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-8-g739effa5d8ba) finalized