Initializing AMReX (24.05-17-gaf6e77226cdb)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-17-gaf6e77226cdb) initialized Starting run at 12:53:46 UTC on 2024-05-13. Successfully read inputs file ... Castro git describe: 24.05-8-g16ad4929f AMReX git describe: 24.05-17-gaf6e77226 Microphysics git describe: 24.05-5-g87839b75 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.043749653 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024230413 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.065447326 [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.050346513 [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.072843427 [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.07509602 [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.063330434 [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.050499308 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.059490398 [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.069593078 [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.070338889 [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.06248282 [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.068395474 [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.042809509 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024052969 seconds Ending run at 12:53:47 UTC on 2024-05-13. Run time = 0.895164403 Run time without initialization = 0.775405967 Average number of zones advanced per microsecond: 3.381 Average number of zones advanced per microsecond per rank: 3.381 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8952 ... 0.8952 ... 0.8952 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2814 0.2814 0.2814 31.44% VisMF::Write(FabArray) 11 0.1758 0.1758 0.1758 19.64% MLCellLinOp::applyBC() 4298 0.07895 0.07895 0.07895 8.82% MLPoisson::Fsmooth() 3240 0.03275 0.03275 0.03275 3.66% FillBoundary_nowait() 3893 0.03061 0.03061 0.03061 3.42% StateData::FillBoundary(geom) 328 0.02587 0.02587 0.02587 2.89% amrex::Dot() 1100 0.02083 0.02083 0.02083 2.33% Castro::normalize_species() 62 0.0196 0.0196 0.0196 2.19% FabArray::norminf() 1048 0.01942 0.01942 0.01942 2.17% Castro::computeTemp() 63 0.01552 0.01552 0.01552 1.73% FabArray::ParallelCopy_nowait() 851 0.01336 0.01336 0.01336 1.49% FabArray::setVal() 1054 0.0133 0.0133 0.0133 1.49% StateDataPhysBCFunct::() 41 0.01303 0.01303 0.01303 1.46% FabArray::Saxpy() 1353 0.01286 0.01286 0.01286 1.44% Castro::enforce_min_density() 62 0.01178 0.01178 0.01178 1.32% amrex::Copy() 469 0.01081 0.01081 0.01081 1.21% MLPoisson::Fapply() 1047 0.01008 0.01008 0.01008 1.13% MLCellLinOp::defineAuxData() 11 0.01008 0.01008 0.01008 1.13% Gravity::fill_multipole_BCs() 11 0.009483 0.009483 0.009483 1.06% FabArray::Xpay() 730 0.007708 0.007708 0.007708 0.86% Amr::checkPoint() 3 0.006982 0.006982 0.006982 0.78% MLMG::addInterpCorrection() 405 0.00687 0.00687 0.00687 0.77% Castro::estTimeStep() 21 0.00651 0.00651 0.00651 0.73% amrex::average_down 405 0.006034 0.006034 0.006034 0.67% Castro::reset_internal_energy(MultiFab) 63 0.005309 0.005309 0.005309 0.59% BndryData::define() 11 0.003887 0.003887 0.003887 0.43% Castro::construct_new_gravity_source() 10 0.003604 0.003604 0.003604 0.40% amrex::Add() 81 0.003575 0.003575 0.003575 0.40% Castro::construct_old_gravity_source() 10 0.003039 0.003039 0.003039 0.34% Castro::enforce_speed_limit() 62 0.003022 0.003022 0.003022 0.34% Amr::writePlotFile() 2 0.002152 0.002152 0.002152 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00176 0.00176 0.00176 0.20% check_for_negative_density() 10 0.001661 0.001661 0.001661 0.19% MLCGSolver::bicgstab 81 0.001575 0.001575 0.001575 0.18% Castro::reset_internal_energy(Fab) 504 0.001571 0.001571 0.001571 0.18% MLCellLinOp::setLevelBC() 11 0.001549 0.001549 0.001549 0.17% Gravity::actual_solve_with_mlmg() 11 0.001543 0.001543 0.001543 0.17% Castro::initData() 1 0.001451 0.001451 0.001451 0.16% FabArray::mult() 43 0.001371 0.001371 0.001371 0.15% FabArray::setDomainBndry() 41 0.001359 0.001359 0.001359 0.15% MLCellLinOp::prepareForSolve() 11 0.001298 0.001298 0.001298 0.15% MultiFab::contains_nan() 20 0.00126 0.00126 0.00126 0.14% MLCellLinOp::smooth() 1620 0.001054 0.001054 0.001054 0.12% MLCellLinOp::compGrad() 11 0.001051 0.001051 0.001051 0.12% MLMG::prepareForSolve() 11 0.0009552 0.0009552 0.0009552 0.11% FabArrayBase::getCPC() 1313 0.0008027 0.0008027 0.0008027 0.09% FabArray::FillBoundary() 3893 0.0007924 0.0007924 0.0007924 0.09% Gravity::get_new_grav_vector() 11 0.0005921 0.0005921 0.0005921 0.07% Gravity::get_old_grav_vector() 10 0.0004845 0.0004845 0.0004845 0.05% AmrLevel::FillPatch() 41 0.0004244 0.0004244 0.0004244 0.05% MLCellLinOp::apply() 1047 0.0004238 0.0004238 0.0004238 0.05% Amr::coarseTimeStep() 10 0.0003253 0.0003253 0.0003253 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003029 0.0003029 0.0003029 0.03% main() 1 0.0002809 0.0002809 0.0002809 0.03% MLCellLinOp::defineBC() 11 0.0002654 0.0002654 0.0002654 0.03% FabArray::ParallelCopy() 851 0.0002518 0.0002518 0.0002518 0.03% Castro::subcycle_advance_ctu() 10 0.0002348 0.0002348 0.0002348 0.03% FillPatchIterator::Initialize 41 0.0002177 0.0002177 0.0002177 0.02% MLMG::mgVcycle() 81 0.0001903 0.0001903 0.0001903 0.02% MLCellLinOp::correctionResidual() 405 0.0001682 0.0001682 0.0001682 0.02% Amr::timeStep() 10 0.0001578 0.0001578 0.0001578 0.02% Castro::advance() 10 0.0001532 0.0001532 0.0001532 0.02% StateData::checkPoint() 12 0.0001265 0.0001265 0.0001265 0.01% MLMG:computeResOfCorrection() 405 0.0001264 0.0001264 0.0001264 0.01% Gravity::solve_for_phi() 10 0.0001014 0.0001014 0.0001014 0.01% Castro::initialize_advance() 10 8.492e-05 8.492e-05 8.492e-05 0.01% MLMG::actualBottomSolve() 81 8.101e-05 8.101e-05 8.101e-05 0.01% MLMG::mgVcycle_down::0 81 7.417e-05 7.417e-05 7.417e-05 0.01% MLMG::solve() 11 7.172e-05 7.172e-05 7.172e-05 0.01% Castro::clean_state() 62 7.084e-05 7.084e-05 7.084e-05 0.01% MLMG::mgVcycle_down::2 81 6.982e-05 6.982e-05 6.982e-05 0.01% MLMG::mgVcycle_down::1 81 6.916e-05 6.916e-05 6.916e-05 0.01% MLMG::mgVcycle_down::4 81 6.657e-05 6.657e-05 6.657e-05 0.01% AmrLevel::checkPoint() 3 6.633e-05 6.633e-05 6.633e-05 0.01% Castro::initialize_do_advance() 10 6.357e-05 6.357e-05 6.357e-05 0.01% MLMG::mgVcycle_down::3 81 6.324e-05 6.324e-05 6.324e-05 0.01% MLMG::oneIter() 81 5.966e-05 5.966e-05 5.966e-05 0.01% MLMG::mgVcycle_up::4 81 5.086e-05 5.086e-05 5.086e-05 0.01% Castro::construct_new_source() 50 5.045e-05 5.045e-05 5.045e-05 0.01% Castro::do_advance_ctu() 10 5.042e-05 5.042e-05 5.042e-05 0.01% MLMG::mgVcycle_up::0 81 4.97e-05 4.97e-05 4.97e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.661e-05 4.661e-05 4.661e-05 0.01% MLMG::mgVcycle_up::1 81 4.552e-05 4.552e-05 4.552e-05 0.01% MLMG::mgVcycle_up::3 81 4.51e-05 4.51e-05 4.51e-05 0.01% Castro::finalize_do_advance() 10 4.464e-05 4.464e-05 4.464e-05 0.00% MLCellLinOp::solutionResidual() 92 4.37e-05 4.37e-05 4.37e-05 0.00% MLMG::mgVcycle_up::2 81 4.352e-05 4.352e-05 4.352e-05 0.00% Amr::defBaseLevel() 1 3.845e-05 3.845e-05 3.845e-05 0.00% FillPatchSingleLevel 41 3.526e-05 3.526e-05 3.526e-05 0.00% MLMG::mgVcycle_bottom 81 3.17e-05 3.17e-05 3.17e-05 0.00% MLMG::computeResidual() 81 3.134e-05 3.134e-05 3.134e-05 0.00% MLMG::ResNormInf() 92 3.051e-05 3.051e-05 3.051e-05 0.00% MLPoisson::define() 11 2.597e-05 2.597e-05 2.597e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.317e-05 2.317e-05 2.317e-05 0.00% Castro::do_old_sources() 10 2.256e-05 2.256e-05 2.256e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.225e-05 2.225e-05 2.225e-05 0.00% Castro::construct_new_gravity() 10 2.219e-05 2.219e-05 2.219e-05 0.00% Amr::FinalizeInit() 1 1.946e-05 1.946e-05 1.946e-05 0.00% Castro::construct_old_source() 50 1.9e-05 1.9e-05 1.9e-05 0.00% Castro::do_new_sources() 10 1.834e-05 1.834e-05 1.834e-05 0.00% Castro::check_for_nan() 20 1.188e-05 1.188e-05 1.188e-05 0.00% Castro::apply_source_to_state() 20 1.182e-05 1.182e-05 1.182e-05 0.00% MLMG::computeMLResidual() 11 1.056e-05 1.056e-05 1.056e-05 0.00% Castro::computeNewDt() 9 1.043e-05 1.043e-05 1.043e-05 0.00% Castro::construct_old_gravity() 10 1.036e-05 1.036e-05 1.036e-05 0.00% Gravity::actual_multilevel_solve() 1 8.034e-06 8.034e-06 8.034e-06 0.00% Castro::post_timestep() 10 7.341e-06 7.341e-06 7.341e-06 0.00% MLPoisson::prepareForSolve() 11 6.432e-06 6.432e-06 6.432e-06 0.00% MLMG::getGradSolution() 11 6.126e-06 6.126e-06 6.126e-06 0.00% Castro::expand_state() 10 5.536e-06 5.536e-06 5.536e-06 0.00% Amr::InitializeInit() 1 5.435e-06 5.435e-06 5.435e-06 0.00% Castro::post_init() 1 3.793e-06 3.793e-06 3.793e-06 0.00% Amr::init() 1 2.274e-06 2.274e-06 2.274e-06 0.00% Amr::initialInit() 1 1.092e-06 1.092e-06 1.092e-06 0.00% Castro::post_regrid() 1 1.041e-06 1.041e-06 1.041e-06 0.00% Other 4704 0.003316 0.003316 0.003316 0.37% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8952 0.8952 0.8952 100.00% Amr::coarseTimeStep() 10 0.7511 0.7511 0.7511 83.90% Amr::timeStep() 10 0.6537 0.6537 0.6537 73.02% Castro::advance() 10 0.6426 0.6426 0.6426 71.78% Castro::subcycle_advance_ctu() 10 0.6281 0.6281 0.6281 70.17% Castro::do_advance_ctu() 10 0.6279 0.6279 0.6279 70.14% Castro::construct_ctu_hydro_source() 10 0.2913 0.2913 0.2913 32.54% Gravity::solve_phi_with_mlmg() 11 0.2885 0.2885 0.2885 32.22% Gravity::actual_solve_with_mlmg() 11 0.2785 0.2785 0.2785 31.11% Castro::construct_new_gravity() 10 0.2631 0.2631 0.2631 29.39% MLMG::solve() 11 0.2569 0.2569 0.2569 28.70% Gravity::solve_for_phi() 10 0.2473 0.2473 0.2473 27.62% MLMG::oneIter() 81 0.2417 0.2417 0.2417 26.99% MLMG::mgVcycle() 81 0.238 0.238 0.238 26.59% VisMF::Write(FabArray) 11 0.1758 0.1758 0.1758 19.64% Amr::checkPoint() 3 0.1372 0.1372 0.1372 15.33% AmrLevel::checkPoint() 3 0.1302 0.1302 0.1302 14.55% StateData::checkPoint() 12 0.1302 0.1302 0.1302 14.54% MLCellLinOp::smooth() 1620 0.1193 0.1193 0.1193 13.32% Amr::init() 1 0.1191 0.1191 0.1191 13.30% MLCellLinOp::applyBC() 4298 0.1111 0.1111 0.1111 12.41% MLMG::mgVcycle_bottom 81 0.07083 0.07083 0.07083 7.91% MLMG::actualBottomSolve() 81 0.0708 0.0708 0.0708 7.91% MLCGSolver::bicgstab 81 0.07001 0.07001 0.07001 7.82% Castro::clean_state() 62 0.05591 0.05591 0.05591 6.25% Amr::initialInit() 1 0.05096 0.05096 0.05096 5.69% AmrLevel::FillPatch() 41 0.04896 0.04896 0.04896 5.47% Amr::writePlotFile() 2 0.04843 0.04843 0.04843 5.41% Amr::FinalizeInit() 1 0.04587 0.04587 0.04587 5.12% FillPatchIterator::Initialize 41 0.04467 0.04467 0.04467 4.99% Castro::post_init() 1 0.04439 0.04439 0.04439 4.96% FillPatchIterator::FillFromLevel0() 41 0.04309 0.04309 0.04309 4.81% FillPatchSingleLevel 41 0.04305 0.04305 0.04305 4.81% Gravity::multilevel_solve_for_new_phi() 1 0.04164 0.04164 0.04164 4.65% Gravity::actual_multilevel_solve() 1 0.04161 0.04161 0.04161 4.65% StateDataPhysBCFunct::() 41 0.0389 0.0389 0.0389 4.35% MLCellLinOp::apply() 1047 0.03562 0.03562 0.03562 3.98% MLMG::mgVcycle_down::0 81 0.03421 0.03421 0.03421 3.82% MLPoisson::Fsmooth() 3240 0.03275 0.03275 0.03275 3.66% FabArray::FillBoundary() 3893 0.03215 0.03215 0.03215 3.59% FillBoundary_nowait() 3893 0.03136 0.03136 0.03136 3.50% MLMG::mgVcycle_up::0 81 0.02589 0.02589 0.02589 2.89% StateData::FillBoundary(geom) 328 0.02587 0.02587 0.02587 2.89% Castro::computeTemp() 63 0.0224 0.0224 0.0224 2.50% Castro::initialize_do_advance() 10 0.02233 0.02233 0.02233 2.49% amrex::Dot() 1100 0.02083 0.02083 0.02083 2.33% MLMG:computeResOfCorrection() 405 0.02013 0.02013 0.02013 2.25% MLCellLinOp::correctionResidual() 405 0.02 0.02 0.02 2.23% Castro::normalize_species() 62 0.0196 0.0196 0.0196 2.19% FabArray::norminf() 1048 0.01942 0.01942 0.01942 2.17% Castro::do_old_sources() 10 0.01927 0.01927 0.01927 2.15% Gravity::get_new_grav_vector() 11 0.01815 0.01815 0.01815 2.03% MLPoisson::define() 11 0.01691 0.01691 0.01691 1.89% MLMG::mgVcycle_down::1 81 0.01624 0.01624 0.01624 1.81% Castro::construct_old_gravity() 10 0.01519 0.01519 0.01519 1.70% Gravity::get_old_grav_vector() 10 0.01518 0.01518 0.01518 1.70% MLMG::mgVcycle_down::2 81 0.01514 0.01514 0.01514 1.69% MLMG::mgVcycle_down::3 81 0.01472 0.01472 0.01472 1.64% MLMG::mgVcycle_down::4 81 0.01461 0.01461 0.01461 1.63% FabArray::ParallelCopy() 851 0.01442 0.01442 0.01442 1.61% FabArray::ParallelCopy_nowait() 851 0.01417 0.01417 0.01417 1.58% Castro::initialize_advance() 10 0.01369 0.01369 0.01369 1.53% FabArray::setVal() 1054 0.0133 0.0133 0.0133 1.49% Castro::do_new_sources() 10 0.01313 0.01313 0.01313 1.47% FabArray::Saxpy() 1353 0.01286 0.01286 0.01286 1.44% MLCGSolver::ParallelAllReduce 1809 0.01248 0.01248 0.01248 1.39% Castro::expand_state() 10 0.01236 0.01236 0.01236 1.38% MLMG::addInterpCorrection() 405 0.01202 0.01202 0.01202 1.34% Castro::enforce_min_density() 62 0.01178 0.01178 0.01178 1.32% MLMG::mgVcycle_up::1 81 0.01176 0.01176 0.01176 1.31% MLMG::mgVcycle_up::4 81 0.01168 0.01168 0.01168 1.30% MLCellLinOp::defineAuxData() 11 0.01149 0.01149 0.01149 1.28% MLMG::mgVcycle_up::2 81 0.01148 0.01148 0.01148 1.28% MLMG::mgVcycle_up::3 81 0.01128 0.01128 0.01128 1.26% amrex::average_down 405 0.0112 0.0112 0.0112 1.25% Castro::post_timestep() 10 0.01096 0.01096 0.01096 1.22% amrex::Copy() 469 0.01081 0.01081 0.01081 1.21% MLPoisson::Fapply() 1047 0.01008 0.01008 0.01008 1.13% Gravity::fill_multipole_BCs() 11 0.00973 0.00973 0.00973 1.09% FabArray::Xpay() 730 0.007708 0.007708 0.007708 0.86% MLCellLinOp::solutionResidual() 92 0.007691 0.007691 0.007691 0.86% Castro::reset_internal_energy(MultiFab) 63 0.00688 0.00688 0.00688 0.77% Castro::estTimeStep() 21 0.00651 0.00651 0.00651 0.73% MLMG::computeResidual() 81 0.006424 0.006424 0.006424 0.72% MLCellLinOp::defineBC() 11 0.005159 0.005159 0.005159 0.58% MLMG::prepareForSolve() 11 0.005099 0.005099 0.005099 0.57% Amr::InitializeInit() 1 0.005083 0.005083 0.005083 0.57% Amr::defBaseLevel() 1 0.005078 0.005078 0.005078 0.57% BndryData::define() 11 0.004893 0.004893 0.004893 0.55% Castro::initData() 1 0.004374 0.004374 0.004374 0.49% Castro::construct_new_source() 50 0.003655 0.003655 0.003655 0.41% Castro::construct_new_gravity_source() 10 0.003604 0.003604 0.003604 0.40% amrex::Add() 81 0.003575 0.003575 0.003575 0.40% Castro::construct_old_source() 50 0.003058 0.003058 0.003058 0.34% Castro::construct_old_gravity_source() 10 0.003039 0.003039 0.003039 0.34% Castro::enforce_speed_limit() 62 0.003022 0.003022 0.003022 0.34% Castro::computeNewDt() 9 0.002933 0.002933 0.002933 0.33% Castro::finalize_do_advance() 10 0.002665 0.002665 0.002665 0.30% MLMG::ResNormInf() 92 0.002142 0.002142 0.002142 0.24% Castro::apply_source_to_state() 20 0.001874 0.001874 0.001874 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00176 0.00176 0.00176 0.20% check_for_negative_density() 10 0.001661 0.001661 0.001661 0.19% MLMG::getGradSolution() 11 0.001572 0.001572 0.001572 0.18% Castro::reset_internal_energy(Fab) 504 0.001571 0.001571 0.001571 0.18% MLCellLinOp::compGrad() 11 0.001566 0.001566 0.001566 0.17% MLCellLinOp::setLevelBC() 11 0.001549 0.001549 0.001549 0.17% FabArrayBase::getCPC() 1313 0.001474 0.001474 0.001474 0.16% FabArray::mult() 43 0.001371 0.001371 0.001371 0.15% FabArray::setDomainBndry() 41 0.001359 0.001359 0.001359 0.15% MLMG::computeMLResidual() 11 0.001309 0.001309 0.001309 0.15% MLPoisson::prepareForSolve() 11 0.001305 0.001305 0.001305 0.15% MLCellLinOp::prepareForSolve() 11 0.001298 0.001298 0.001298 0.15% Castro::check_for_nan() 20 0.001272 0.001272 0.001272 0.14% MultiFab::contains_nan() 20 0.00126 0.00126 0.00126 0.14% Castro::post_regrid() 1 0.001203 0.001203 0.001203 0.13% Other 4704 0.007991 0.007991 0.007991 0.89% -------------------------------------------------------------------------------------------- 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 5706 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 1076 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1508 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3530 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 210 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2165 B 2048 KiB Gravity::solve_for_phi() 80 80 565 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3547 B 480 KiB VisMF::Write(FabArray) 656 656 3393 B 320 KiB Castro::normalize_species() 62 62 7130 B 320 KiB amrex::average_down 1054 1054 1590 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1158 B 257 KiB amrex::Dot() 1343 1343 3437 B 160 KiB FabArray::norminf() 1129 1129 3351 B 160 KiB check_for_negative_density() 10 10 297 B 160 KiB Castro::initData() 1 1 50 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 3445 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 297 B 9648 B MLCellLinOp::applyBC() 8596 8596 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3935 B 6144 B StateData::FillBoundary(geom) 1992 1992 51 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 363 B 1248 B MLCGSolver::bicgstab 405 405 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 584 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 76 KiB 8192 KiB VisMF::Write(FabArray) 744 744 424 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3445 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 297 B 9648 B MLCellLinOp::applyBC() 4298 4298 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3935 B 6144 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B StateData::FillBoundary(geom) 1992 1992 51 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 294 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 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-17-gaf6e77226cdb) finalized Initializing AMReX (24.05-17-gaf6e77226cdb)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-17-gaf6e77226cdb) initialized Starting run at 12:53:48 UTC on 2024-05-13. Successfully read inputs file ... Castro git describe: 24.05-8-g16ad4929f AMReX git describe: 24.05-17-gaf6e77226 Microphysics git describe: 24.05-5-g87839b75 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.497356809 Restart time = 0.073259949 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.065992169 [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.052471749 [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.070256687 [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.075028797 [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.058253674 [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.107262847 seconds Ending run at 12:53:48 UTC on 2024-05-13. Run time = 0.50364473 Run time without initialization = 0.42972356 Average number of zones advanced per microsecond: 3.050 Average number of zones advanced per microsecond per rank: 3.050 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.5037 ... 0.5037 ... 0.5037 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1324 0.1324 0.1324 26.29% Amr::writePlotFile() 1 0.0821 0.0821 0.0821 16.30% VisMF::Read() 3 0.062 0.062 0.062 12.31% MLCellLinOp::applyBC() 1910 0.03505 0.03505 0.03505 6.96% VisMF::Write(FabArray) 1 0.02501 0.02501 0.02501 4.96% MLPoisson::Fsmooth() 1440 0.01458 0.01458 0.01458 2.90% FillBoundary_nowait() 1730 0.01296 0.01296 0.01296 2.57% StateData::FillBoundary(geom) 160 0.01266 0.01266 0.01266 2.51% amrex::Dot() 484 0.009078 0.009078 0.009078 1.80% Castro::normalize_species() 30 0.008959 0.008959 0.008959 1.78% FabArray::norminf() 465 0.008528 0.008528 0.008528 1.69% FabArray::setVal() 501 0.006515 0.006515 0.006515 1.29% Castro::computeTemp() 30 0.006472 0.006472 0.006472 1.29% FabArray::ParallelCopy_nowait() 380 0.006072 0.006072 0.006072 1.21% FabArray::Saxpy() 597 0.005806 0.005806 0.005806 1.15% MLCellLinOp::defineAuxData() 6 0.005548 0.005548 0.005548 1.10% amrex::Copy() 221 0.005466 0.005466 0.005466 1.09% StateDataPhysBCFunct::() 20 0.005266 0.005266 0.005266 1.05% Castro::enforce_min_density() 30 0.005242 0.005242 0.005242 1.04% Gravity::fill_multipole_BCs() 6 0.00508 0.00508 0.00508 1.01% Amr::restart() 1 0.004942 0.004942 0.004942 0.98% MLPoisson::Fapply() 464 0.004431 0.004431 0.004431 0.88% Castro::estTimeStep() 10 0.003654 0.003654 0.003654 0.73% FabArray::Xpay() 325 0.003446 0.003446 0.003446 0.68% MLMG::addInterpCorrection() 180 0.003069 0.003069 0.003069 0.61% amrex::average_down 180 0.002691 0.002691 0.002691 0.53% BndryData::define() 6 0.002124 0.002124 0.002124 0.42% Castro::reset_internal_energy(MultiFab) 30 0.002097 0.002097 0.002097 0.42% Castro::construct_new_gravity_source() 5 0.00183 0.00183 0.00183 0.36% Castro::construct_old_gravity_source() 5 0.001557 0.001557 0.001557 0.31% amrex::Add() 36 0.001545 0.001545 0.001545 0.31% Castro::subcycle_advance_ctu() 5 0.001295 0.001295 0.001295 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009665 0.0009665 0.0009665 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008595 0.0008595 0.0008595 0.17% MLCellLinOp::setLevelBC() 6 0.0008521 0.0008521 0.0008521 0.17% Castro::reset_internal_energy(Fab) 240 0.0008497 0.0008497 0.0008497 0.17% check_for_negative_density() 5 0.0008417 0.0008417 0.0008417 0.17% MLCellLinOp::prepareForSolve() 6 0.0007528 0.0007528 0.0007528 0.15% MLCGSolver::bicgstab 36 0.0006969 0.0006969 0.0006969 0.14% FabArray::mult() 22 0.0006885 0.0006885 0.0006885 0.14% FabArray::setDomainBndry() 20 0.0006685 0.0006685 0.0006685 0.13% MLCellLinOp::compGrad() 6 0.0005949 0.0005949 0.0005949 0.12% MLMG::prepareForSolve() 6 0.0005479 0.0005479 0.0005479 0.11% MLCellLinOp::smooth() 720 0.0004692 0.0004692 0.0004692 0.09% FabArrayBase::getCPC() 632 0.0003665 0.0003665 0.0003665 0.07% FabArray::FillBoundary() 1730 0.0003591 0.0003591 0.0003591 0.07% Gravity::get_old_grav_vector() 5 0.0002991 0.0002991 0.0002991 0.06% main() 1 0.0002683 0.0002683 0.0002683 0.05% Gravity::get_new_grav_vector() 5 0.000234 0.000234 0.000234 0.05% AmrLevel::FillPatch() 20 0.0002031 0.0002031 0.0002031 0.04% MLCellLinOp::apply() 464 0.0001868 0.0001868 0.0001868 0.04% Amr::coarseTimeStep() 5 0.000175 0.000175 0.000175 0.03% MLCellLinOp::defineBC() 6 0.0001495 0.0001495 0.0001495 0.03% MLCGSolver::ParallelAllReduce 798 0.0001327 0.0001327 0.0001327 0.03% Castro::construct_new_source() 25 0.0001295 0.0001295 0.0001295 0.03% FabArray::ParallelCopy() 380 0.0001269 0.0001269 0.0001269 0.03% FillPatchIterator::Initialize 20 0.0001086 0.0001086 0.0001086 0.02% Castro::finalize_do_advance() 5 0.0001073 0.0001073 0.0001073 0.02% Amr::timeStep() 5 0.0001013 0.0001013 0.0001013 0.02% Castro::do_new_sources() 5 9.411e-05 9.411e-05 9.411e-05 0.02% MLMG::mgVcycle() 36 8.81e-05 8.81e-05 8.81e-05 0.02% AmrLevel::restart() 1 8.019e-05 8.019e-05 8.019e-05 0.02% MLCellLinOp::correctionResidual() 180 6.988e-05 6.988e-05 6.988e-05 0.01% Castro::post_timestep() 5 6.754e-05 6.754e-05 6.754e-05 0.01% StateData::restartDoit() 4 6.52e-05 6.52e-05 6.52e-05 0.01% Gravity::update_max_rhs() 6 6.384e-05 6.384e-05 6.384e-05 0.01% MLMG:computeResOfCorrection() 180 5.005e-05 5.005e-05 5.005e-05 0.01% Gravity::solve_for_phi() 5 4.977e-05 4.977e-05 4.977e-05 0.01% Castro::advance() 5 3.751e-05 3.751e-05 3.751e-05 0.01% MLMG::actualBottomSolve() 36 3.707e-05 3.707e-05 3.707e-05 0.01% MLMG::solve() 6 3.699e-05 3.699e-05 3.699e-05 0.01% Castro::initialize_advance() 5 3.652e-05 3.652e-05 3.652e-05 0.01% MLMG::mgVcycle_down::0 36 3.485e-05 3.485e-05 3.485e-05 0.01% Castro::initialize_do_advance() 5 3.433e-05 3.433e-05 3.433e-05 0.01% Castro::clean_state() 30 3.414e-05 3.414e-05 3.414e-05 0.01% MLMG::mgVcycle_down::1 36 3.269e-05 3.269e-05 3.269e-05 0.01% MLMG::mgVcycle_down::2 36 3.071e-05 3.071e-05 3.071e-05 0.01% MLMG::mgVcycle_down::4 36 2.978e-05 2.978e-05 2.978e-05 0.01% MLMG::mgVcycle_down::3 36 2.87e-05 2.87e-05 2.87e-05 0.01% MLMG::mgVcycle_up::4 36 2.608e-05 2.608e-05 2.608e-05 0.01% MLMG::oneIter() 36 2.591e-05 2.591e-05 2.591e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.463e-05 2.463e-05 2.463e-05 0.00% Castro::do_advance_ctu() 5 2.452e-05 2.452e-05 2.452e-05 0.00% MLMG::mgVcycle_up::3 36 2.256e-05 2.256e-05 2.256e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.245e-05 2.245e-05 2.245e-05 0.00% Castro::post_restart() 1 2.114e-05 2.114e-05 2.114e-05 0.00% MLMG::mgVcycle_up::2 36 2.108e-05 2.108e-05 2.108e-05 0.00% MLMG::mgVcycle_up::1 36 2.057e-05 2.057e-05 2.057e-05 0.00% MLMG::mgVcycle_up::0 36 2.05e-05 2.05e-05 2.05e-05 0.00% MLCellLinOp::solutionResidual() 42 1.995e-05 1.995e-05 1.995e-05 0.00% MLPoisson::define() 6 1.867e-05 1.867e-05 1.867e-05 0.00% MLMG::ResNormInf() 42 1.677e-05 1.677e-05 1.677e-05 0.00% FillPatchSingleLevel 20 1.59e-05 1.59e-05 1.59e-05 0.00% MLMG::mgVcycle_bottom 36 1.493e-05 1.493e-05 1.493e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.382e-05 1.382e-05 1.382e-05 0.00% MLMG::computeResidual() 36 1.309e-05 1.309e-05 1.309e-05 0.00% Castro::construct_new_gravity() 5 1.152e-05 1.152e-05 1.152e-05 0.00% Castro::do_old_sources() 5 1.095e-05 1.095e-05 1.095e-05 0.00% Castro::construct_old_source() 25 1.012e-05 1.012e-05 1.012e-05 0.00% Castro::expand_state() 5 9.758e-06 9.758e-06 9.758e-06 0.00% Gravity::actual_multilevel_solve() 1 9.202e-06 9.202e-06 9.202e-06 0.00% MLMG::getGradSolution() 6 7.484e-06 7.484e-06 7.484e-06 0.00% Castro::apply_source_to_state() 10 5.906e-06 5.906e-06 5.906e-06 0.00% Castro::construct_old_gravity() 5 5.693e-06 5.693e-06 5.693e-06 0.00% MLMG::computeMLResidual() 6 4.169e-06 4.169e-06 4.169e-06 0.00% Castro::computeNewDt() 5 3.729e-06 3.729e-06 3.729e-06 0.00% MLPoisson::prepareForSolve() 6 3.438e-06 3.438e-06 3.438e-06 0.00% Amr::init() 1 1.047e-06 1.047e-06 1.047e-06 0.00% Other 2200 0.003007 0.003007 0.003007 0.60% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.5037 0.5037 0.5037 100.00% Amr::coarseTimeStep() 5 0.3222 0.3222 0.3222 63.96% Amr::timeStep() 5 0.3199 0.3199 0.3199 63.52% Castro::advance() 5 0.3161 0.3161 0.3161 62.77% Castro::subcycle_advance_ctu() 5 0.3088 0.3088 0.3088 61.31% Castro::do_advance_ctu() 5 0.3075 0.3075 0.3075 61.05% Castro::construct_ctu_hydro_source() 5 0.1372 0.1372 0.1372 27.25% Castro::construct_new_gravity() 5 0.1336 0.1336 0.1336 26.53% Gravity::solve_phi_with_mlmg() 6 0.131 0.131 0.131 26.00% Gravity::solve_for_phi() 5 0.1257 0.1257 0.1257 24.96% Gravity::actual_solve_with_mlmg() 6 0.1256 0.1256 0.1256 24.94% MLMG::solve() 6 0.1137 0.1137 0.1137 22.57% Amr::writePlotFile() 1 0.1074 0.1074 0.1074 21.32% MLMG::oneIter() 36 0.106 0.106 0.106 21.05% MLMG::mgVcycle() 36 0.1045 0.1045 0.1045 20.74% Amr::init() 1 0.07332 0.07332 0.07332 14.56% Amr::restart() 1 0.07332 0.07332 0.07332 14.56% AmrLevel::restart() 1 0.06237 0.06237 0.06237 12.38% StateData::restartDoit() 4 0.06228 0.06228 0.06228 12.37% VisMF::Read() 3 0.062 0.062 0.062 12.31% MLCellLinOp::smooth() 720 0.05227 0.05227 0.05227 10.38% MLCellLinOp::applyBC() 1910 0.04869 0.04869 0.04869 9.67% MLMG::mgVcycle_bottom 36 0.03106 0.03106 0.03106 6.17% MLMG::actualBottomSolve() 36 0.03105 0.03105 0.03105 6.16% MLCGSolver::bicgstab 36 0.03069 0.03069 0.03069 6.09% VisMF::Write(FabArray) 1 0.02501 0.02501 0.02501 4.96% Castro::clean_state() 30 0.02415 0.02415 0.02415 4.80% AmrLevel::FillPatch() 20 0.02289 0.02289 0.02289 4.55% FillPatchIterator::Initialize 20 0.02078 0.02078 0.02078 4.13% FillPatchIterator::FillFromLevel0() 20 0.02001 0.02001 0.02001 3.97% FillPatchSingleLevel 20 0.01999 0.01999 0.01999 3.97% StateDataPhysBCFunct::() 20 0.01793 0.01793 0.01793 3.56% MLCellLinOp::apply() 464 0.01581 0.01581 0.01581 3.14% MLMG::mgVcycle_down::0 36 0.01493 0.01493 0.01493 2.96% MLPoisson::Fsmooth() 1440 0.01458 0.01458 0.01458 2.90% FabArray::FillBoundary() 1730 0.01364 0.01364 0.01364 2.71% FillBoundary_nowait() 1730 0.01328 0.01328 0.01328 2.64% StateData::FillBoundary(geom) 160 0.01266 0.01266 0.01266 2.51% MLMG::mgVcycle_up::0 36 0.0112 0.0112 0.0112 2.22% Castro::initialize_do_advance() 5 0.01046 0.01046 0.01046 2.08% Castro::do_old_sources() 5 0.00987 0.00987 0.00987 1.96% Castro::computeTemp() 30 0.009419 0.009419 0.009419 1.87% MLPoisson::define() 6 0.009344 0.009344 0.009344 1.86% amrex::Dot() 484 0.009078 0.009078 0.009078 1.80% Castro::normalize_species() 30 0.008959 0.008959 0.008959 1.78% MLMG:computeResOfCorrection() 180 0.008785 0.008785 0.008785 1.74% MLCellLinOp::correctionResidual() 180 0.008735 0.008735 0.008735 1.73% FabArray::norminf() 465 0.008528 0.008528 0.008528 1.69% Castro::construct_old_gravity() 5 0.007901 0.007901 0.007901 1.57% Gravity::get_old_grav_vector() 5 0.007895 0.007895 0.007895 1.57% Gravity::get_new_grav_vector() 5 0.007767 0.007767 0.007767 1.54% MLMG::mgVcycle_down::1 36 0.007269 0.007269 0.007269 1.44% Castro::initialize_advance() 5 0.006978 0.006978 0.006978 1.39% MLMG::mgVcycle_down::2 36 0.006666 0.006666 0.006666 1.32% FabArray::ParallelCopy() 380 0.006582 0.006582 0.006582 1.31% FabArray::setVal() 501 0.006515 0.006515 0.006515 1.29% MLMG::mgVcycle_down::3 36 0.006485 0.006485 0.006485 1.29% FabArray::ParallelCopy_nowait() 380 0.006455 0.006455 0.006455 1.28% MLMG::mgVcycle_down::4 36 0.006414 0.006414 0.006414 1.27% MLCellLinOp::defineAuxData() 6 0.006336 0.006336 0.006336 1.26% Castro::do_new_sources() 5 0.006237 0.006237 0.006237 1.24% Castro::post_restart() 1 0.005823 0.005823 0.005823 1.16% FabArray::Saxpy() 597 0.005806 0.005806 0.005806 1.15% Castro::expand_state() 5 0.005749 0.005749 0.005749 1.14% MLCGSolver::ParallelAllReduce 798 0.005474 0.005474 0.005474 1.09% amrex::Copy() 221 0.005466 0.005466 0.005466 1.09% Gravity::multilevel_solve_for_new_phi() 1 0.005462 0.005462 0.005462 1.08% Gravity::actual_multilevel_solve() 1 0.005437 0.005437 0.005437 1.08% MLMG::addInterpCorrection() 180 0.005324 0.005324 0.005324 1.06% Castro::enforce_min_density() 30 0.005242 0.005242 0.005242 1.04% Gravity::fill_multipole_BCs() 6 0.005206 0.005206 0.005206 1.03% MLMG::mgVcycle_up::4 36 0.005174 0.005174 0.005174 1.03% MLMG::mgVcycle_up::1 36 0.005171 0.005171 0.005171 1.03% MLMG::mgVcycle_up::2 36 0.005045 0.005045 0.005045 1.00% amrex::average_down 180 0.004977 0.004977 0.004977 0.99% MLMG::mgVcycle_up::3 36 0.004957 0.004957 0.004957 0.98% MLPoisson::Fapply() 464 0.004431 0.004431 0.004431 0.88% Castro::post_timestep() 5 0.003678 0.003678 0.003678 0.73% Castro::estTimeStep() 10 0.003654 0.003654 0.003654 0.73% MLCellLinOp::solutionResidual() 42 0.003642 0.003642 0.003642 0.72% FabArray::Xpay() 325 0.003446 0.003446 0.003446 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002946 0.002946 0.002946 0.58% MLCellLinOp::defineBC() 6 0.002852 0.002852 0.002852 0.57% MLMG::prepareForSolve() 6 0.002848 0.002848 0.002848 0.57% MLMG::computeResidual() 36 0.002836 0.002836 0.002836 0.56% BndryData::define() 6 0.002702 0.002702 0.002702 0.54% Castro::computeNewDt() 5 0.002081 0.002081 0.002081 0.41% Castro::construct_new_source() 25 0.00196 0.00196 0.00196 0.39% Castro::construct_new_gravity_source() 5 0.00183 0.00183 0.00183 0.36% Castro::finalize_do_advance() 5 0.001685 0.001685 0.001685 0.33% Castro::construct_old_source() 25 0.001567 0.001567 0.001567 0.31% Castro::construct_old_gravity_source() 5 0.001557 0.001557 0.001557 0.31% amrex::Add() 36 0.001545 0.001545 0.001545 0.31% MLMG::ResNormInf() 42 0.0009788 0.0009788 0.0009788 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009665 0.0009665 0.0009665 0.19% Castro::apply_source_to_state() 10 0.0009635 0.0009635 0.0009635 0.19% MLMG::getGradSolution() 6 0.0008907 0.0008907 0.0008907 0.18% MLCellLinOp::compGrad() 6 0.0008832 0.0008832 0.0008832 0.18% MLCellLinOp::setLevelBC() 6 0.0008521 0.0008521 0.0008521 0.17% Castro::reset_internal_energy(Fab) 240 0.0008497 0.0008497 0.0008497 0.17% check_for_negative_density() 5 0.0008417 0.0008417 0.0008417 0.17% MLMG::computeMLResidual() 6 0.000823 0.000823 0.000823 0.16% FabArrayBase::getCPC() 632 0.0007828 0.0007828 0.0007828 0.16% MLPoisson::prepareForSolve() 6 0.0007562 0.0007562 0.0007562 0.15% MLCellLinOp::prepareForSolve() 6 0.0007528 0.0007528 0.0007528 0.15% Gravity::update_max_rhs() 6 0.0007068 0.0007068 0.0007068 0.14% FabArray::mult() 22 0.0006885 0.0006885 0.0006885 0.14% FabArray::setDomainBndry() 20 0.0006685 0.0006685 0.0006685 0.13% Other 2200 0.004893 0.004893 0.004893 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 9663 KiB 9037 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 892 KiB 39 MiB Castro::initialize_do_advance() 40 40 23 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1470 KiB 28 MiB Castro::initialize_advance() 40 40 14 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6556 KiB 14 MiB MLMG::prepareForSolve() 361 361 2771 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 163 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 157 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6545 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 16 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2787 B 2048 KiB Gravity::solve_for_phi() 40 40 510 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 22 KiB 2048 KiB BndryData::define() 576 576 255 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 164 KiB 671 KiB Castro::estTimeStep() 10 10 3451 B 480 KiB VisMF::Write(FabArray) 112 112 1085 B 320 KiB Castro::normalize_species() 30 30 5789 B 320 KiB amrex::average_down 469 469 1263 B 257 KiB MLMG::addInterpCorrection() 468 468 903 B 257 KiB amrex::Dot() 592 592 2663 B 160 KiB FabArray::norminf() 501 501 2617 B 160 KiB check_for_negative_density() 5 5 267 B 160 KiB MultiFab::max() 6 6 62 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 25 B 20 KiB MLPoisson::Fsmooth() 60 60 2684 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 222 B 9648 B MLCellLinOp::applyBC() 3820 3820 174 B 9344 B amrex::Copy() 56 56 5801 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 287 B 1248 B MLCGSolver::bicgstab 180 180 73 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 942 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 74 KiB 8192 KiB VisMF::Write(FabArray) 120 120 138 KiB 3584 KiB VisMF::Read() 24 24 186 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2684 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 222 B 9648 B MLCellLinOp::applyBC() 1910 1910 172 B 9328 B amrex::Copy() 56 56 5801 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2581 B 3072 B StateData::FillBoundary(geom) 960 960 38 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 764 B 1648 B amrex::average_down 37 37 484 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 19 B 400 B FabArray::norminf() 501 501 7 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-17-gaf6e77226cdb) finalized