Initializing AMReX (24.05-34-ga65f0a581144)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-34-ga65f0a581144) initialized Starting run at 08:35:13 UTC on 2024-05-31. Successfully read inputs file ... Castro git describe: 24.05-17-gfb7562524 AMReX git describe: 24.05-34-ga65f0a581 Microphysics git describe: 24.05-27-g1667a387 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.045940406 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02564418 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.067867528 [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.070833462 [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.07061311 [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.062309641 [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.056888479 [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.045565522 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.060175239 [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.079252119 [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.079190429 [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.061875967 [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.062517858 [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.044251391 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025531029 seconds Ending run at 08:35:14 UTC on 2024-05-31. Run time = 0.911532439 Run time without initialization = 0.78759095 Average number of zones advanced per microsecond: 3.328 Average number of zones advanced per microsecond per rank: 3.328 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9116 ... 0.9116 ... 0.9116 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2829 0.2829 0.2829 31.03% VisMF::Write(FabArray) 11 0.1782 0.1782 0.1782 19.55% MLCellLinOp::applyBC() 4298 0.08181 0.08181 0.08181 8.97% MLPoisson::Fsmooth() 3240 0.03416 0.03416 0.03416 3.75% FillBoundary_nowait() 3893 0.0306 0.0306 0.0306 3.36% StateData::FillBoundary(geom) 328 0.02765 0.02765 0.02765 3.03% amrex::Dot() 1100 0.02193 0.02193 0.02193 2.41% FabArray::norminf() 1048 0.0203 0.0203 0.0203 2.23% Castro::normalize_species() 62 0.01949 0.01949 0.01949 2.14% Castro::computeTemp() 63 0.01766 0.01766 0.01766 1.94% FabArray::ParallelCopy_nowait() 851 0.01393 0.01393 0.01393 1.53% FabArray::setVal() 1054 0.01384 0.01384 0.01384 1.52% FabArray::Saxpy() 1353 0.01335 0.01335 0.01335 1.46% Castro::enforce_min_density() 62 0.01156 0.01156 0.01156 1.27% amrex::Copy() 469 0.01113 0.01113 0.01113 1.22% MLCellLinOp::defineAuxData() 11 0.01083 0.01083 0.01083 1.19% StateDataPhysBCFunct::() 41 0.01069 0.01069 0.01069 1.17% MLPoisson::Fapply() 1047 0.01053 0.01053 0.01053 1.15% Gravity::fill_multipole_BCs() 11 0.009965 0.009965 0.009965 1.09% FabArray::Xpay() 730 0.007989 0.007989 0.007989 0.88% MLMG::addInterpCorrection() 405 0.007094 0.007094 0.007094 0.78% amrex::average_down 405 0.006243 0.006243 0.006243 0.68% Castro::estTimeStep() 21 0.006191 0.006191 0.006191 0.68% Amr::checkPoint() 3 0.00609 0.00609 0.00609 0.67% Castro::reset_internal_energy(MultiFab) 63 0.004596 0.004596 0.004596 0.50% BndryData::define() 11 0.004169 0.004169 0.004169 0.46% Castro::construct_new_gravity_source() 10 0.003752 0.003752 0.003752 0.41% amrex::Add() 81 0.003574 0.003574 0.003574 0.39% Castro::enforce_speed_limit() 62 0.003214 0.003214 0.003214 0.35% Castro::construct_old_gravity_source() 10 0.002962 0.002962 0.002962 0.32% Amr::writePlotFile() 2 0.002183 0.002183 0.002183 0.24% check_for_negative_density() 10 0.00195 0.00195 0.00195 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001895 0.001895 0.001895 0.21% Castro::reset_internal_energy(Fab) 504 0.001713 0.001713 0.001713 0.19% MLCGSolver::bicgstab 81 0.001658 0.001658 0.001658 0.18% MLCellLinOp::setLevelBC() 11 0.001653 0.001653 0.001653 0.18% Gravity::actual_solve_with_mlmg() 11 0.001644 0.001644 0.001644 0.18% Castro::initData() 1 0.001591 0.001591 0.001591 0.17% FabArray::setDomainBndry() 41 0.001442 0.001442 0.001442 0.16% FabArray::mult() 43 0.00141 0.00141 0.00141 0.15% MLCellLinOp::prepareForSolve() 11 0.001355 0.001355 0.001355 0.15% MultiFab::contains_nan() 20 0.0013 0.0013 0.0013 0.14% MLCellLinOp::smooth() 1620 0.001136 0.001136 0.001136 0.12% MLCellLinOp::compGrad() 11 0.001077 0.001077 0.001077 0.12% MLMG::prepareForSolve() 11 0.001012 0.001012 0.001012 0.11% FabArrayBase::getCPC() 1313 0.0008496 0.0008496 0.0008496 0.09% FabArray::FillBoundary() 3893 0.0007984 0.0007984 0.0007984 0.09% Gravity::get_new_grav_vector() 11 0.00064 0.00064 0.00064 0.07% Gravity::get_old_grav_vector() 10 0.0004906 0.0004906 0.0004906 0.05% MLCellLinOp::apply() 1047 0.0004456 0.0004456 0.0004456 0.05% AmrLevel::FillPatch() 41 0.0004166 0.0004166 0.0004166 0.05% Amr::coarseTimeStep() 10 0.0003711 0.0003711 0.0003711 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003117 0.0003117 0.0003117 0.03% main() 1 0.0003051 0.0003051 0.0003051 0.03% MLCellLinOp::defineBC() 11 0.0002776 0.0002776 0.0002776 0.03% FabArray::ParallelCopy() 851 0.0002522 0.0002522 0.0002522 0.03% FillPatchIterator::Initialize 41 0.0002389 0.0002389 0.0002389 0.03% Castro::subcycle_advance_ctu() 10 0.0002339 0.0002339 0.0002339 0.03% MLMG::mgVcycle() 81 0.000201 0.000201 0.000201 0.02% Amr::timeStep() 10 0.0001928 0.0001928 0.0001928 0.02% MLCellLinOp::correctionResidual() 405 0.0001712 0.0001712 0.0001712 0.02% Gravity::solve_for_phi() 10 0.0001371 0.0001371 0.0001371 0.02% MLMG:computeResOfCorrection() 405 0.0001322 0.0001322 0.0001322 0.01% StateData::checkPoint() 12 0.0001183 0.0001183 0.0001183 0.01% Castro::advance() 10 0.0001022 0.0001022 0.0001022 0.01% MLMG::actualBottomSolve() 81 8.99e-05 8.99e-05 8.99e-05 0.01% Castro::clean_state() 62 8.706e-05 8.706e-05 8.706e-05 0.01% Castro::initialize_advance() 10 8.675e-05 8.675e-05 8.675e-05 0.01% MLMG::solve() 11 8.482e-05 8.482e-05 8.482e-05 0.01% MLMG::mgVcycle_down::0 81 8.169e-05 8.169e-05 8.169e-05 0.01% Castro::construct_new_source() 50 7.607e-05 7.607e-05 7.607e-05 0.01% MLMG::mgVcycle_down::1 81 7.311e-05 7.311e-05 7.311e-05 0.01% MLMG::mgVcycle_down::2 81 7.148e-05 7.148e-05 7.148e-05 0.01% AmrLevel::checkPoint() 3 6.956e-05 6.956e-05 6.956e-05 0.01% MLMG::mgVcycle_down::4 81 6.855e-05 6.855e-05 6.855e-05 0.01% Castro::initialize_do_advance() 10 6.591e-05 6.591e-05 6.591e-05 0.01% MLMG::mgVcycle_down::3 81 6.406e-05 6.406e-05 6.406e-05 0.01% Castro::do_advance_ctu() 10 6.188e-05 6.188e-05 6.188e-05 0.01% MLMG::oneIter() 81 5.82e-05 5.82e-05 5.82e-05 0.01% MLMG::mgVcycle_up::4 81 5.421e-05 5.421e-05 5.421e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.322e-05 5.322e-05 5.322e-05 0.01% Castro::do_new_sources() 10 5.031e-05 5.031e-05 5.031e-05 0.01% Castro::finalize_do_advance() 10 4.896e-05 4.896e-05 4.896e-05 0.01% MLMG::mgVcycle_up::0 81 4.571e-05 4.571e-05 4.571e-05 0.01% MLCellLinOp::solutionResidual() 92 4.532e-05 4.532e-05 4.532e-05 0.00% MLMG::mgVcycle_up::3 81 4.388e-05 4.388e-05 4.388e-05 0.00% MLMG::mgVcycle_up::1 81 4.266e-05 4.266e-05 4.266e-05 0.00% MLMG::mgVcycle_up::2 81 4.121e-05 4.121e-05 4.121e-05 0.00% FillPatchSingleLevel 41 3.897e-05 3.897e-05 3.897e-05 0.00% MLMG::mgVcycle_bottom 81 3.419e-05 3.419e-05 3.419e-05 0.00% Castro::construct_new_gravity() 10 3.325e-05 3.325e-05 3.325e-05 0.00% MLMG::ResNormInf() 92 3.261e-05 3.261e-05 3.261e-05 0.00% MLMG::computeResidual() 81 3.156e-05 3.156e-05 3.156e-05 0.00% Amr::defBaseLevel() 1 3.12e-05 3.12e-05 3.12e-05 0.00% MLPoisson::define() 11 2.787e-05 2.787e-05 2.787e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.668e-05 2.668e-05 2.668e-05 0.00% Castro::do_old_sources() 10 2.341e-05 2.341e-05 2.341e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.291e-05 2.291e-05 2.291e-05 0.00% Castro::construct_old_source() 50 2.105e-05 2.105e-05 2.105e-05 0.00% Amr::FinalizeInit() 1 1.887e-05 1.887e-05 1.887e-05 0.00% Castro::check_for_nan() 20 1.38e-05 1.38e-05 1.38e-05 0.00% Castro::apply_source_to_state() 20 1.305e-05 1.305e-05 1.305e-05 0.00% MLMG::computeMLResidual() 11 1.243e-05 1.243e-05 1.243e-05 0.00% Castro::construct_old_gravity() 10 1.212e-05 1.212e-05 1.212e-05 0.00% Gravity::actual_multilevel_solve() 1 9.69e-06 9.69e-06 9.69e-06 0.00% Castro::post_timestep() 10 9.108e-06 9.108e-06 9.108e-06 0.00% Castro::computeNewDt() 9 7.608e-06 7.608e-06 7.608e-06 0.00% MLPoisson::prepareForSolve() 11 6.989e-06 6.989e-06 6.989e-06 0.00% MLMG::getGradSolution() 11 6.859e-06 6.859e-06 6.859e-06 0.00% Castro::expand_state() 10 6.843e-06 6.843e-06 6.843e-06 0.00% Amr::InitializeInit() 1 5.544e-06 5.544e-06 5.544e-06 0.00% Castro::post_init() 1 4.286e-06 4.286e-06 4.286e-06 0.00% Amr::init() 1 2.179e-06 2.179e-06 2.179e-06 0.00% Castro::post_regrid() 1 1.232e-06 1.232e-06 1.232e-06 0.00% Amr::initialInit() 1 1.096e-06 1.096e-06 1.096e-06 0.00% Other 4704 0.003484 0.003484 0.003484 0.38% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9115 0.9115 0.9115 100.00% Amr::coarseTimeStep() 10 0.7618 0.7618 0.7618 83.57% Amr::timeStep() 10 0.668 0.668 0.668 73.28% Castro::advance() 10 0.6572 0.6572 0.6572 72.09% Castro::subcycle_advance_ctu() 10 0.6432 0.6432 0.6432 70.56% Castro::do_advance_ctu() 10 0.643 0.643 0.643 70.53% Gravity::solve_phi_with_mlmg() 11 0.2998 0.2998 0.2998 32.89% Castro::construct_ctu_hydro_source() 10 0.2945 0.2945 0.2945 32.30% Gravity::actual_solve_with_mlmg() 11 0.2893 0.2893 0.2893 31.74% Castro::construct_new_gravity() 10 0.2741 0.2741 0.2741 30.07% MLMG::solve() 11 0.2663 0.2663 0.2663 29.21% Gravity::solve_for_phi() 10 0.2576 0.2576 0.2576 28.26% MLMG::oneIter() 81 0.2504 0.2504 0.2504 27.47% MLMG::mgVcycle() 81 0.2468 0.2468 0.2468 27.08% VisMF::Write(FabArray) 11 0.1782 0.1782 0.1782 19.55% Amr::checkPoint() 3 0.1359 0.1359 0.1359 14.91% AmrLevel::checkPoint() 3 0.1298 0.1298 0.1298 14.24% StateData::checkPoint() 12 0.1298 0.1298 0.1298 14.24% Amr::init() 1 0.1232 0.1232 0.1232 13.51% MLCellLinOp::smooth() 1620 0.1228 0.1228 0.1228 13.47% MLCellLinOp::applyBC() 4298 0.114 0.114 0.114 12.50% MLMG::mgVcycle_bottom 81 0.0743 0.0743 0.0743 8.15% MLMG::actualBottomSolve() 81 0.07426 0.07426 0.07426 8.15% MLCGSolver::bicgstab 81 0.07343 0.07343 0.07343 8.06% Castro::clean_state() 62 0.05736 0.05736 0.05736 6.29% Amr::initialInit() 1 0.05143 0.05143 0.05143 5.64% Amr::writePlotFile() 2 0.05133 0.05133 0.05133 5.63% AmrLevel::FillPatch() 41 0.04865 0.04865 0.04865 5.34% Amr::FinalizeInit() 1 0.04639 0.04639 0.04639 5.09% Castro::post_init() 1 0.04499 0.04499 0.04499 4.94% FillPatchIterator::Initialize 41 0.04429 0.04429 0.04429 4.86% Gravity::multilevel_solve_for_new_phi() 1 0.04268 0.04268 0.04268 4.68% Gravity::actual_multilevel_solve() 1 0.04265 0.04265 0.04265 4.68% FillPatchIterator::FillFromLevel0() 41 0.04261 0.04261 0.04261 4.67% FillPatchSingleLevel 41 0.04255 0.04255 0.04255 4.67% StateDataPhysBCFunct::() 41 0.03834 0.03834 0.03834 4.21% MLCellLinOp::apply() 1047 0.0369 0.0369 0.0369 4.05% MLMG::mgVcycle_down::0 81 0.03487 0.03487 0.03487 3.83% MLPoisson::Fsmooth() 3240 0.03416 0.03416 0.03416 3.75% FabArray::FillBoundary() 3893 0.03214 0.03214 0.03214 3.53% FillBoundary_nowait() 3893 0.03135 0.03135 0.03135 3.44% StateData::FillBoundary(geom) 328 0.02765 0.02765 0.02765 3.03% MLMG::mgVcycle_up::0 81 0.02626 0.02626 0.02626 2.88% Castro::computeTemp() 63 0.02397 0.02397 0.02397 2.63% amrex::Dot() 1100 0.02193 0.02193 0.02193 2.41% Castro::initialize_do_advance() 10 0.02153 0.02153 0.02153 2.36% MLMG:computeResOfCorrection() 405 0.02073 0.02073 0.02073 2.27% MLCellLinOp::correctionResidual() 405 0.0206 0.0206 0.0206 2.26% FabArray::norminf() 1048 0.0203 0.0203 0.0203 2.23% Castro::normalize_species() 62 0.01949 0.01949 0.01949 2.14% Castro::do_old_sources() 10 0.0187 0.0187 0.0187 2.05% Gravity::get_new_grav_vector() 11 0.01832 0.01832 0.01832 2.01% MLPoisson::define() 11 0.01817 0.01817 0.01817 1.99% MLMG::mgVcycle_down::1 81 0.01689 0.01689 0.01689 1.85% Castro::construct_old_gravity() 10 0.01606 0.01606 0.01606 1.76% Gravity::get_old_grav_vector() 10 0.01605 0.01605 0.01605 1.76% MLMG::mgVcycle_down::2 81 0.01567 0.01567 0.01567 1.72% MLMG::mgVcycle_down::3 81 0.01534 0.01534 0.01534 1.68% MLMG::mgVcycle_down::4 81 0.01526 0.01526 0.01526 1.67% FabArray::ParallelCopy() 851 0.01503 0.01503 0.01503 1.65% FabArray::ParallelCopy_nowait() 851 0.01478 0.01478 0.01478 1.62% Castro::do_new_sources() 10 0.01466 0.01466 0.01466 1.61% FabArray::setVal() 1054 0.01384 0.01384 0.01384 1.52% FabArray::Saxpy() 1353 0.01335 0.01335 0.01335 1.46% Castro::initialize_advance() 10 0.01322 0.01322 0.01322 1.45% MLCGSolver::ParallelAllReduce 1809 0.01313 0.01313 0.01313 1.44% MLMG::addInterpCorrection() 405 0.01256 0.01256 0.01256 1.38% MLCellLinOp::defineAuxData() 11 0.01235 0.01235 0.01235 1.35% MLMG::mgVcycle_up::1 81 0.01222 0.01222 0.01222 1.34% MLMG::mgVcycle_up::4 81 0.01218 0.01218 0.01218 1.34% MLMG::mgVcycle_up::2 81 0.01191 0.01191 0.01191 1.31% MLMG::mgVcycle_up::3 81 0.01171 0.01171 0.01171 1.28% Castro::expand_state() 10 0.01167 0.01167 0.01167 1.28% amrex::average_down 405 0.01164 0.01164 0.01164 1.28% Castro::enforce_min_density() 62 0.01156 0.01156 0.01156 1.27% amrex::Copy() 469 0.01113 0.01113 0.01113 1.22% Castro::post_timestep() 10 0.01062 0.01062 0.01062 1.16% MLPoisson::Fapply() 1047 0.01053 0.01053 0.01053 1.15% Gravity::fill_multipole_BCs() 11 0.0102 0.0102 0.0102 1.12% FabArray::Xpay() 730 0.007989 0.007989 0.007989 0.88% MLCellLinOp::solutionResidual() 92 0.007911 0.007911 0.007911 0.87% MLMG::computeResidual() 81 0.0066 0.0066 0.0066 0.72% Castro::reset_internal_energy(MultiFab) 63 0.006309 0.006309 0.006309 0.69% Castro::estTimeStep() 21 0.006191 0.006191 0.006191 0.68% MLCellLinOp::defineBC() 11 0.005506 0.005506 0.005506 0.60% MLMG::prepareForSolve() 11 0.005375 0.005375 0.005375 0.59% BndryData::define() 11 0.005229 0.005229 0.005229 0.57% Amr::InitializeInit() 1 0.005032 0.005032 0.005032 0.55% Amr::defBaseLevel() 1 0.005026 0.005026 0.005026 0.55% Castro::initData() 1 0.004318 0.004318 0.004318 0.47% Castro::construct_new_source() 50 0.003828 0.003828 0.003828 0.42% Castro::construct_new_gravity_source() 10 0.003752 0.003752 0.003752 0.41% amrex::Add() 81 0.003574 0.003574 0.003574 0.39% Castro::enforce_speed_limit() 62 0.003214 0.003214 0.003214 0.35% Castro::construct_old_source() 50 0.002983 0.002983 0.002983 0.33% Castro::construct_old_gravity_source() 10 0.002962 0.002962 0.002962 0.32% Castro::computeNewDt() 9 0.002773 0.002773 0.002773 0.30% Castro::finalize_do_advance() 10 0.002446 0.002446 0.002446 0.27% MLMG::ResNormInf() 92 0.002184 0.002184 0.002184 0.24% check_for_negative_density() 10 0.00195 0.00195 0.00195 0.21% Castro::apply_source_to_state() 20 0.001898 0.001898 0.001898 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001895 0.001895 0.001895 0.21% Castro::reset_internal_energy(Fab) 504 0.001713 0.001713 0.001713 0.19% MLCellLinOp::setLevelBC() 11 0.001653 0.001653 0.001653 0.18% MLMG::getGradSolution() 11 0.001604 0.001604 0.001604 0.18% MLCellLinOp::compGrad() 11 0.001597 0.001597 0.001597 0.18% FabArrayBase::getCPC() 1313 0.001534 0.001534 0.001534 0.17% FabArray::setDomainBndry() 41 0.001442 0.001442 0.001442 0.16% FabArray::mult() 43 0.00141 0.00141 0.00141 0.15% MLPoisson::prepareForSolve() 11 0.001362 0.001362 0.001362 0.15% MLCellLinOp::prepareForSolve() 11 0.001355 0.001355 0.001355 0.15% MLMG::computeMLResidual() 11 0.001355 0.001355 0.001355 0.15% Castro::check_for_nan() 20 0.001314 0.001314 0.001314 0.14% MultiFab::contains_nan() 20 0.0013 0.0013 0.0013 0.14% Castro::post_regrid() 1 0.001124 0.001124 0.001124 0.12% Other 4704 0.008356 0.008356 0.008356 0.92% -------------------------------------------------------------------------------------------- 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 5838 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 1023 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1570 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3592 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 208 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 180 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2179 B 2048 KiB Gravity::solve_for_phi() 80 80 578 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 3310 B 480 KiB VisMF::Write(FabArray) 656 656 3397 B 320 KiB Castro::normalize_species() 62 62 6958 B 320 KiB amrex::average_down 1054 1054 1615 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1180 B 257 KiB amrex::Dot() 1343 1343 3546 B 160 KiB FabArray::norminf() 1129 1129 3434 B 160 KiB check_for_negative_density() 10 10 334 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 59 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3505 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 291 B 9648 B MLCellLinOp::applyBC() 8596 8596 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3946 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 370 B 1248 B MLCGSolver::bicgstab 405 405 97 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 585 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 426 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3505 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 290 B 9648 B MLCellLinOp::applyBC() 4298 4298 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3946 B 6144 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B StateData::FillBoundary(geom) 1992 1992 38 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 299 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.05-34-ga65f0a581144) finalized Initializing AMReX (24.05-34-ga65f0a581144)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-34-ga65f0a581144) initialized Starting run at 08:35:15 UTC on 2024-05-31. Successfully read inputs file ... Castro git describe: 24.05-17-gfb7562524 AMReX git describe: 24.05-34-ga65f0a581 Microphysics git describe: 24.05-27-g1667a387 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.498029993 Restart time = 0.073979993 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.07292626 [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.063126263 [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.076592005 [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.073303794 [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.053799314 [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.027470957 seconds Ending run at 08:35:15 UTC on 2024-05-31. Run time = 0.442317949 Run time without initialization = 0.367674891 Average number of zones advanced per microsecond: 3.565 Average number of zones advanced per microsecond per rank: 3.565 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4424 ... 0.4424 ... 0.4424 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1465 0.1465 0.1465 33.12% VisMF::Read() 3 0.06261 0.06261 0.06261 14.15% MLCellLinOp::applyBC() 1910 0.03585 0.03585 0.03585 8.10% VisMF::Write(FabArray) 1 0.02477 0.02477 0.02477 5.60% MLPoisson::Fsmooth() 1440 0.01503 0.01503 0.01503 3.40% StateData::FillBoundary(geom) 160 0.0131 0.0131 0.0131 2.96% FillBoundary_nowait() 1730 0.01302 0.01302 0.01302 2.94% Castro::normalize_species() 30 0.009434 0.009434 0.009434 2.13% amrex::Dot() 484 0.009334 0.009334 0.009334 2.11% FabArray::norminf() 465 0.00877 0.00877 0.00877 1.98% Castro::computeTemp() 30 0.007418 0.007418 0.007418 1.68% FabArray::setVal() 501 0.006689 0.006689 0.006689 1.51% FabArray::ParallelCopy_nowait() 380 0.006251 0.006251 0.006251 1.41% FabArray::Saxpy() 597 0.005958 0.005958 0.005958 1.35% Castro::enforce_min_density() 30 0.00595 0.00595 0.00595 1.35% MLCellLinOp::defineAuxData() 6 0.005739 0.005739 0.005739 1.30% amrex::Copy() 221 0.005509 0.005509 0.005509 1.25% Gravity::fill_multipole_BCs() 6 0.005261 0.005261 0.005261 1.19% Amr::restart() 1 0.004954 0.004954 0.004954 1.12% MLPoisson::Fapply() 464 0.004563 0.004563 0.004563 1.03% StateDataPhysBCFunct::() 20 0.004423 0.004423 0.004423 1.00% FabArray::Xpay() 325 0.003534 0.003534 0.003534 0.80% MLMG::addInterpCorrection() 180 0.00316 0.00316 0.00316 0.71% Castro::estTimeStep() 10 0.002936 0.002936 0.002936 0.66% amrex::average_down 180 0.002738 0.002738 0.002738 0.62% Amr::writePlotFile() 1 0.002528 0.002528 0.002528 0.57% BndryData::define() 6 0.002229 0.002229 0.002229 0.50% Castro::enforce_speed_limit() 30 0.002043 0.002043 0.002043 0.46% Castro::construct_new_gravity_source() 5 0.001665 0.001665 0.001665 0.38% amrex::Add() 36 0.001552 0.001552 0.001552 0.35% Castro::reset_internal_energy(MultiFab) 30 0.001502 0.001502 0.001502 0.34% Castro::construct_old_gravity_source() 5 0.001294 0.001294 0.001294 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009838 0.0009838 0.0009838 0.22% check_for_negative_density() 5 0.000961 0.000961 0.000961 0.22% MLCellLinOp::setLevelBC() 6 0.0008857 0.0008857 0.0008857 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008428 0.0008428 0.0008428 0.19% Castro::reset_internal_energy(Fab) 240 0.0008366 0.0008366 0.0008366 0.19% MLCellLinOp::prepareForSolve() 6 0.0007965 0.0007965 0.0007965 0.18% FabArray::setDomainBndry() 20 0.0007087 0.0007087 0.0007087 0.16% MLCGSolver::bicgstab 36 0.0007026 0.0007026 0.0007026 0.16% FabArray::mult() 22 0.000693 0.000693 0.000693 0.16% MLCellLinOp::compGrad() 6 0.000618 0.000618 0.000618 0.14% MLMG::prepareForSolve() 6 0.0005662 0.0005662 0.0005662 0.13% MLCellLinOp::smooth() 720 0.0004838 0.0004838 0.0004838 0.11% FabArrayBase::getCPC() 632 0.0003731 0.0003731 0.0003731 0.08% FabArray::FillBoundary() 1730 0.0003427 0.0003427 0.0003427 0.08% Gravity::get_old_grav_vector() 5 0.0003173 0.0003173 0.0003173 0.07% main() 1 0.0002944 0.0002944 0.0002944 0.07% Gravity::get_new_grav_vector() 5 0.0002659 0.0002659 0.0002659 0.06% AmrLevel::FillPatch() 20 0.0002023 0.0002023 0.0002023 0.05% MLCellLinOp::apply() 464 0.000186 0.000186 0.000186 0.04% Amr::coarseTimeStep() 5 0.0001723 0.0001723 0.0001723 0.04% MLCellLinOp::defineBC() 6 0.0001442 0.0001442 0.0001442 0.03% MLCGSolver::ParallelAllReduce 798 0.0001298 0.0001298 0.0001298 0.03% Castro::do_advance_ctu() 5 0.0001155 0.0001155 0.0001155 0.03% FabArray::ParallelCopy() 380 0.0001108 0.0001108 0.0001108 0.03% FillPatchIterator::Initialize 20 0.0001085 0.0001085 0.0001085 0.02% MLMG::mgVcycle() 36 8.931e-05 8.931e-05 8.931e-05 0.02% Castro::subcycle_advance_ctu() 5 8.802e-05 8.802e-05 8.802e-05 0.02% Amr::timeStep() 5 8.621e-05 8.621e-05 8.621e-05 0.02% AmrLevel::restart() 1 7.359e-05 7.359e-05 7.359e-05 0.02% Castro::construct_new_source() 25 7.324e-05 7.324e-05 7.324e-05 0.02% MLCellLinOp::correctionResidual() 180 7.262e-05 7.262e-05 7.262e-05 0.02% Gravity::update_max_rhs() 6 6.378e-05 6.378e-05 6.378e-05 0.01% Castro::post_timestep() 5 6.357e-05 6.357e-05 6.357e-05 0.01% StateData::restartDoit() 4 6.247e-05 6.247e-05 6.247e-05 0.01% Gravity::solve_for_phi() 5 5.051e-05 5.051e-05 5.051e-05 0.01% MLMG:computeResOfCorrection() 180 5.041e-05 5.041e-05 5.041e-05 0.01% Castro::finalize_do_advance() 5 4.314e-05 4.314e-05 4.314e-05 0.01% Castro::initialize_advance() 5 3.843e-05 3.843e-05 3.843e-05 0.01% MLMG::mgVcycle_down::0 36 3.735e-05 3.735e-05 3.735e-05 0.01% MLMG::actualBottomSolve() 36 3.507e-05 3.507e-05 3.507e-05 0.01% MLMG::solve() 6 3.455e-05 3.455e-05 3.455e-05 0.01% Castro::advance() 5 3.453e-05 3.453e-05 3.453e-05 0.01% Castro::clean_state() 30 3.419e-05 3.419e-05 3.419e-05 0.01% MLMG::mgVcycle_down::1 36 3.268e-05 3.268e-05 3.268e-05 0.01% MLMG::mgVcycle_down::2 36 3.164e-05 3.164e-05 3.164e-05 0.01% MLMG::mgVcycle_down::4 36 3.02e-05 3.02e-05 3.02e-05 0.01% Castro::initialize_do_advance() 5 3.012e-05 3.012e-05 3.012e-05 0.01% Castro::do_new_sources() 5 2.928e-05 2.928e-05 2.928e-05 0.01% MLMG::mgVcycle_down::3 36 2.87e-05 2.87e-05 2.87e-05 0.01% Castro::construct_old_source() 25 2.818e-05 2.818e-05 2.818e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.745e-05 2.745e-05 2.745e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.506e-05 2.506e-05 2.506e-05 0.01% MLMG::mgVcycle_up::4 36 2.38e-05 2.38e-05 2.38e-05 0.01% MLMG::oneIter() 36 2.289e-05 2.289e-05 2.289e-05 0.01% Castro::post_restart() 1 2.199e-05 2.199e-05 2.199e-05 0.00% MLCellLinOp::solutionResidual() 42 2.023e-05 2.023e-05 2.023e-05 0.00% MLMG::mgVcycle_up::3 36 2.021e-05 2.021e-05 2.021e-05 0.00% MLMG::mgVcycle_up::0 36 1.932e-05 1.932e-05 1.932e-05 0.00% MLMG::mgVcycle_up::2 36 1.866e-05 1.866e-05 1.866e-05 0.00% MLMG::mgVcycle_up::1 36 1.781e-05 1.781e-05 1.781e-05 0.00% MLPoisson::define() 6 1.751e-05 1.751e-05 1.751e-05 0.00% FillPatchSingleLevel 20 1.664e-05 1.664e-05 1.664e-05 0.00% MLMG::ResNormInf() 42 1.537e-05 1.537e-05 1.537e-05 0.00% MLMG::computeResidual() 36 1.45e-05 1.45e-05 1.45e-05 0.00% MLMG::mgVcycle_bottom 36 1.386e-05 1.386e-05 1.386e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.361e-05 1.361e-05 1.361e-05 0.00% Castro::construct_new_gravity() 5 1.142e-05 1.142e-05 1.142e-05 0.00% Castro::do_old_sources() 5 1.044e-05 1.044e-05 1.044e-05 0.00% Castro::expand_state() 5 9.622e-06 9.622e-06 9.622e-06 0.00% Gravity::actual_multilevel_solve() 1 8.297e-06 8.297e-06 8.297e-06 0.00% MLMG::getGradSolution() 6 8.207e-06 8.207e-06 8.207e-06 0.00% Castro::apply_source_to_state() 10 6.19e-06 6.19e-06 6.19e-06 0.00% Castro::construct_old_gravity() 5 5.761e-06 5.761e-06 5.761e-06 0.00% MLMG::computeMLResidual() 6 4.327e-06 4.327e-06 4.327e-06 0.00% MLPoisson::prepareForSolve() 6 3.553e-06 3.553e-06 3.553e-06 0.00% Castro::computeNewDt() 5 3.367e-06 3.367e-06 3.367e-06 0.00% Amr::init() 1 8.52e-07 8.52e-07 8.52e-07 0.00% Other 2170 0.00253 0.00253 0.00253 0.57% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4423 0.4423 0.4423 100.00% Amr::coarseTimeStep() 5 0.3399 0.3399 0.3399 76.84% Amr::timeStep() 5 0.3379 0.3379 0.3379 76.39% Castro::advance() 5 0.3324 0.3324 0.3324 75.14% Castro::subcycle_advance_ctu() 5 0.3247 0.3247 0.3247 73.39% Castro::do_advance_ctu() 5 0.3246 0.3246 0.3246 73.37% Castro::construct_ctu_hydro_source() 5 0.1525 0.1525 0.1525 34.46% Castro::construct_new_gravity() 5 0.1369 0.1369 0.1369 30.95% Gravity::solve_phi_with_mlmg() 6 0.1341 0.1341 0.1341 30.33% Gravity::solve_for_phi() 5 0.1288 0.1288 0.1288 29.12% Gravity::actual_solve_with_mlmg() 6 0.1286 0.1286 0.1286 29.08% MLMG::solve() 6 0.1163 0.1163 0.1163 26.30% MLMG::oneIter() 36 0.1085 0.1085 0.1085 24.53% MLMG::mgVcycle() 36 0.1069 0.1069 0.1069 24.17% Amr::init() 1 0.07403 0.07403 0.07403 16.74% Amr::restart() 1 0.07403 0.07403 0.07403 16.73% AmrLevel::restart() 1 0.06297 0.06297 0.06297 14.24% StateData::restartDoit() 4 0.06289 0.06289 0.06289 14.22% VisMF::Read() 3 0.06261 0.06261 0.06261 14.15% MLCellLinOp::smooth() 720 0.05333 0.05333 0.05333 12.06% MLCellLinOp::applyBC() 1910 0.04954 0.04954 0.04954 11.20% MLMG::mgVcycle_bottom 36 0.03198 0.03198 0.03198 7.23% MLMG::actualBottomSolve() 36 0.03196 0.03196 0.03196 7.23% MLCGSolver::bicgstab 36 0.03159 0.03159 0.03159 7.14% Amr::writePlotFile() 1 0.02756 0.02756 0.02756 6.23% Castro::clean_state() 30 0.02722 0.02722 0.02722 6.15% VisMF::Write(FabArray) 1 0.02477 0.02477 0.02477 5.60% AmrLevel::FillPatch() 20 0.02259 0.02259 0.02259 5.11% FillPatchIterator::Initialize 20 0.02046 0.02046 0.02046 4.63% FillPatchIterator::FillFromLevel0() 20 0.01965 0.01965 0.01965 4.44% FillPatchSingleLevel 20 0.01962 0.01962 0.01962 4.43% StateDataPhysBCFunct::() 20 0.01753 0.01753 0.01753 3.96% MLCellLinOp::apply() 464 0.01617 0.01617 0.01617 3.66% MLMG::mgVcycle_down::0 36 0.01512 0.01512 0.01512 3.42% MLPoisson::Fsmooth() 1440 0.01503 0.01503 0.01503 3.40% FabArray::FillBoundary() 1730 0.01369 0.01369 0.01369 3.09% FillBoundary_nowait() 1730 0.01335 0.01335 0.01335 3.02% StateData::FillBoundary(geom) 160 0.0131 0.0131 0.0131 2.96% MLMG::mgVcycle_up::0 36 0.01132 0.01132 0.01132 2.56% Castro::initialize_do_advance() 5 0.01056 0.01056 0.01056 2.39% Castro::computeTemp() 30 0.009757 0.009757 0.009757 2.21% MLPoisson::define() 6 0.009648 0.009648 0.009648 2.18% Castro::normalize_species() 30 0.009434 0.009434 0.009434 2.13% amrex::Dot() 484 0.009334 0.009334 0.009334 2.11% Castro::do_old_sources() 5 0.009186 0.009186 0.009186 2.08% MLMG:computeResOfCorrection() 180 0.008957 0.008957 0.008957 2.02% MLCellLinOp::correctionResidual() 180 0.008906 0.008906 0.008906 2.01% FabArray::norminf() 465 0.00877 0.00877 0.00877 1.98% Gravity::get_new_grav_vector() 5 0.007967 0.007967 0.007967 1.80% Castro::construct_old_gravity() 5 0.007731 0.007731 0.007731 1.75% Gravity::get_old_grav_vector() 5 0.007726 0.007726 0.007726 1.75% MLMG::mgVcycle_down::1 36 0.007433 0.007433 0.007433 1.68% Castro::initialize_advance() 5 0.007366 0.007366 0.007366 1.67% MLMG::mgVcycle_down::2 36 0.006833 0.006833 0.006833 1.54% FabArray::ParallelCopy() 380 0.006757 0.006757 0.006757 1.53% FabArray::setVal() 501 0.006689 0.006689 0.006689 1.51% FabArray::ParallelCopy_nowait() 380 0.006646 0.006646 0.006646 1.50% MLMG::mgVcycle_down::3 36 0.00663 0.00663 0.00663 1.50% MLMG::mgVcycle_down::4 36 0.006606 0.006606 0.006606 1.49% MLCellLinOp::defineAuxData() 6 0.006534 0.006534 0.006534 1.48% Castro::do_new_sources() 5 0.005994 0.005994 0.005994 1.35% FabArray::Saxpy() 597 0.005958 0.005958 0.005958 1.35% Castro::enforce_min_density() 30 0.00595 0.00595 0.00595 1.35% Castro::post_restart() 1 0.005917 0.005917 0.005917 1.34% MLCGSolver::ParallelAllReduce 798 0.005608 0.005608 0.005608 1.27% Castro::expand_state() 5 0.005587 0.005587 0.005587 1.26% Gravity::multilevel_solve_for_new_phi() 1 0.005558 0.005558 0.005558 1.26% Gravity::actual_multilevel_solve() 1 0.005533 0.005533 0.005533 1.25% amrex::Copy() 221 0.005509 0.005509 0.005509 1.25% MLMG::addInterpCorrection() 180 0.005506 0.005506 0.005506 1.24% Castro::post_timestep() 5 0.005442 0.005442 0.005442 1.23% Gravity::fill_multipole_BCs() 6 0.005386 0.005386 0.005386 1.22% MLMG::mgVcycle_up::4 36 0.005312 0.005312 0.005312 1.20% MLMG::mgVcycle_up::1 36 0.005304 0.005304 0.005304 1.20% MLMG::mgVcycle_up::2 36 0.005202 0.005202 0.005202 1.18% MLMG::mgVcycle_up::3 36 0.005106 0.005106 0.005106 1.15% amrex::average_down 180 0.005075 0.005075 0.005075 1.15% MLPoisson::Fapply() 464 0.004563 0.004563 0.004563 1.03% MLCellLinOp::solutionResidual() 42 0.003703 0.003703 0.003703 0.84% FabArray::Xpay() 325 0.003534 0.003534 0.003534 0.80% MLCellLinOp::defineBC() 6 0.002961 0.002961 0.002961 0.67% MLMG::prepareForSolve() 6 0.002956 0.002956 0.002956 0.67% Castro::estTimeStep() 10 0.002936 0.002936 0.002936 0.66% MLMG::computeResidual() 36 0.002891 0.002891 0.002891 0.65% BndryData::define() 6 0.002817 0.002817 0.002817 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002339 0.002339 0.002339 0.53% Castro::enforce_speed_limit() 30 0.002043 0.002043 0.002043 0.46% Castro::computeNewDt() 5 0.001844 0.001844 0.001844 0.42% Castro::construct_new_source() 25 0.001738 0.001738 0.001738 0.39% Castro::construct_new_gravity_source() 5 0.001665 0.001665 0.001665 0.38% amrex::Add() 36 0.001552 0.001552 0.001552 0.35% Castro::construct_old_source() 25 0.001322 0.001322 0.001322 0.30% Castro::construct_old_gravity_source() 5 0.001294 0.001294 0.001294 0.29% Castro::finalize_do_advance() 5 0.001138 0.001138 0.001138 0.26% MLMG::ResNormInf() 42 0.000994 0.000994 0.000994 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009838 0.0009838 0.0009838 0.22% Castro::apply_source_to_state() 10 0.0009626 0.0009626 0.0009626 0.22% check_for_negative_density() 5 0.000961 0.000961 0.000961 0.22% MLMG::getGradSolution() 6 0.000927 0.000927 0.000927 0.21% MLCellLinOp::compGrad() 6 0.0009188 0.0009188 0.0009188 0.21% MLCellLinOp::setLevelBC() 6 0.0008857 0.0008857 0.0008857 0.20% Castro::reset_internal_energy(Fab) 240 0.0008366 0.0008366 0.0008366 0.19% MLMG::computeMLResidual() 6 0.0008302 0.0008302 0.0008302 0.19% MLPoisson::prepareForSolve() 6 0.0008 0.0008 0.0008 0.18% MLCellLinOp::prepareForSolve() 6 0.0007965 0.0007965 0.0007965 0.18% FabArrayBase::getCPC() 632 0.0007943 0.0007943 0.0007943 0.18% Gravity::update_max_rhs() 6 0.0007137 0.0007137 0.0007137 0.16% FabArray::setDomainBndry() 20 0.0007087 0.0007087 0.0007087 0.16% FabArray::mult() 22 0.000693 0.000693 0.000693 0.16% Other 2170 0.004414 0.004414 0.004414 1.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 11 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 994 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1656 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 6402 KiB 14 MiB MLMG::prepareForSolve() 361 361 3228 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 181 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 184 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6390 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3207 B 2048 KiB Gravity::solve_for_phi() 40 40 595 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 297 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3142 B 480 KiB VisMF::Write(FabArray) 112 112 1261 B 320 KiB Castro::normalize_species() 30 30 6942 B 320 KiB amrex::average_down 469 469 1362 B 257 KiB MLMG::addInterpCorrection() 468 468 1058 B 257 KiB amrex::Dot() 592 592 3117 B 160 KiB FabArray::norminf() 501 501 3063 B 160 KiB check_for_negative_density() 5 5 349 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3127 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 253 B 9648 B MLCellLinOp::applyBC() 3820 3820 201 B 9344 B amrex::Copy() 56 56 5809 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 34 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 334 B 1248 B MLCGSolver::bicgstab 180 180 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1176 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 83 KiB 8192 KiB VisMF::Write(FabArray) 120 120 156 KiB 3584 KiB VisMF::Read() 24 24 215 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3127 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 253 B 9648 B MLCellLinOp::applyBC() 1910 1910 200 B 9328 B amrex::Copy() 56 56 5809 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2512 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 34 B 2544 B MLMG::prepareForSolve() 7 7 789 B 1648 B amrex::average_down 37 37 455 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.05-34-ga65f0a581144) finalized