Initializing AMReX (24.04-25-gaba9891ec5ed)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-25-gaba9891ec5ed) initialized Starting run at 09:09:03 UTC on 2024-04-25. Successfully read inputs file ... Castro git describe: 24.04-19-g9935adf51 AMReX git describe: 24.04-25-gaba9891ec Microphysics git describe: 24.04-9-g4ad225b7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 Successfully read inputs file ... INITIAL GRIDS Level 0 8 grids 262144 cells 100 % of domain smallest grid: 32 x 32 x 32 biggest grid: 32 x 32 x 32 CHECKPOINT: file = dustcollapse-restart_chk00000 checkPoint() time = 0.043999059 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024315389 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.068040483 [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.06975772 [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.069627672 [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.06597001 [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.063450904 [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.051052891 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.049324445 [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.070388416 [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.070436284 [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.066068703 [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.067769818 [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.042761679 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024182521 seconds Ending run at 09:09:03 UTC on 2024-04-25. Run time = 0.90172637 Run time without initialization = 0.779504727 Average number of zones advanced per microsecond: 3.363 Average number of zones advanced per microsecond per rank: 3.363 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9018 ... 0.9018 ... 0.9018 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2850 0.2850 0.2850 31.60% VisMF::Write(FabArray) 11 0.1701 0.1701 0.1701 18.86% MLCellLinOp::applyBC() 4351 0.07957 0.07957 0.07957 8.82% MLPoisson::Fsmooth() 3280 0.03297 0.03297 0.03297 3.66% FillBoundary_nowait() 3941 0.03066 0.03066 0.03066 3.40% StateData::FillBoundary(geom) 328 0.0264 0.0264 0.0264 2.93% amrex::Dot() 1114 0.02104 0.02104 0.02104 2.33% Castro::normalize_species() 62 0.02004 0.02004 0.02004 2.22% FabArray::norminf() 1061 0.01952 0.01952 0.01952 2.16% Castro::computeTemp() 63 0.01706 0.01706 0.01706 1.89% Amr::checkPoint() 3 0.0136 0.0136 0.0136 1.51% FabArray::ParallelCopy_nowait() 861 0.01341 0.01341 0.01341 1.49% FabArray::setVal() 1062 0.01327 0.01327 0.01327 1.47% FabArray::Saxpy() 1370 0.01294 0.01294 0.01294 1.44% Castro::enforce_min_density() 62 0.01282 0.01282 0.01282 1.42% StateDataPhysBCFunct::() 41 0.01211 0.01211 0.01211 1.34% amrex::Copy() 472 0.01085 0.01085 0.01085 1.20% MLCellLinOp::defineAuxData() 11 0.01031 0.01031 0.01031 1.14% MLPoisson::Fapply() 1060 0.01017 0.01017 0.01017 1.13% Gravity::fill_multipole_BCs() 11 0.00934 0.00934 0.00934 1.04% FabArray::Xpay() 739 0.007782 0.007782 0.007782 0.86% MLMG::addInterpCorrection() 410 0.006885 0.006885 0.006885 0.76% amrex::average_down 410 0.00612 0.00612 0.00612 0.68% Castro::estTimeStep() 21 0.006106 0.006106 0.006106 0.68% Castro::reset_internal_energy(MultiFab) 63 0.004843 0.004843 0.004843 0.54% BndryData::define() 11 0.00386 0.00386 0.00386 0.43% amrex::Add() 82 0.003613 0.003613 0.003613 0.40% Castro::construct_new_gravity_source() 10 0.003585 0.003585 0.003585 0.40% Castro::construct_old_gravity_source() 10 0.002943 0.002943 0.002943 0.33% Amr::writePlotFile() 2 0.00212 0.00212 0.00212 0.24% Castro::enforce_speed_limit() 62 0.001854 0.001854 0.001854 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001777 0.001777 0.001777 0.20% check_for_negative_density() 10 0.001612 0.001612 0.001612 0.18% MLCGSolver::bicgstab 82 0.001606 0.001606 0.001606 0.18% Castro::reset_internal_energy(Fab) 504 0.001584 0.001584 0.001584 0.18% MLCellLinOp::setLevelBC() 11 0.001562 0.001562 0.001562 0.17% Gravity::actual_solve_with_mlmg() 11 0.001529 0.001529 0.001529 0.17% FabArray::mult() 43 0.001383 0.001383 0.001383 0.15% FabArray::setDomainBndry() 41 0.001366 0.001366 0.001366 0.15% Castro::initData() 1 0.001366 0.001366 0.001366 0.15% MLCellLinOp::prepareForSolve() 11 0.0013 0.0013 0.0013 0.14% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.14% MLCellLinOp::smooth() 1640 0.00107 0.00107 0.00107 0.12% MLCellLinOp::compGrad() 11 0.001043 0.001043 0.001043 0.12% MLMG::prepareForSolve() 11 0.0009437 0.0009437 0.0009437 0.10% FabArray::FillBoundary() 3941 0.0008409 0.0008409 0.0008409 0.09% FabArrayBase::getCPC() 1323 0.0007619 0.0007619 0.0007619 0.08% Gravity::get_new_grav_vector() 11 0.000606 0.000606 0.000606 0.07% Gravity::get_old_grav_vector() 10 0.0004826 0.0004826 0.0004826 0.05% AmrLevel::FillPatch() 41 0.0004267 0.0004267 0.0004267 0.05% MLCellLinOp::apply() 1060 0.0004134 0.0004134 0.0004134 0.05% Amr::coarseTimeStep() 10 0.0003167 0.0003167 0.0003167 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003137 0.0003137 0.0003137 0.03% main() 1 0.0003038 0.0003038 0.0003038 0.03% MLCellLinOp::defineBC() 11 0.000262 0.000262 0.000262 0.03% FabArray::ParallelCopy() 861 0.0002449 0.0002449 0.0002449 0.03% FillPatchIterator::Initialize 41 0.000219 0.000219 0.000219 0.02% MLMG::mgVcycle() 82 0.0002165 0.0002165 0.0002165 0.02% Castro::subcycle_advance_ctu() 10 0.000193 0.000193 0.000193 0.02% MLCellLinOp::correctionResidual() 410 0.0001753 0.0001753 0.0001753 0.02% Amr::timeStep() 10 0.0001583 0.0001583 0.0001583 0.02% Castro::advance() 10 0.0001388 0.0001388 0.0001388 0.02% StateData::checkPoint() 12 0.0001351 0.0001351 0.0001351 0.01% MLMG:computeResOfCorrection() 410 0.0001076 0.0001076 0.0001076 0.01% Gravity::solve_for_phi() 10 0.0001068 0.0001068 0.0001068 0.01% Castro::initialize_advance() 10 8.568e-05 8.568e-05 8.568e-05 0.01% MLMG::actualBottomSolve() 82 8.056e-05 8.056e-05 8.056e-05 0.01% MLMG::mgVcycle_down::0 82 7.814e-05 7.814e-05 7.814e-05 0.01% AmrLevel::checkPoint() 3 7.688e-05 7.688e-05 7.688e-05 0.01% Castro::construct_new_source() 50 7.392e-05 7.392e-05 7.392e-05 0.01% MLMG::mgVcycle_down::1 82 7.078e-05 7.078e-05 7.078e-05 0.01% MLMG::solve() 11 7.07e-05 7.07e-05 7.07e-05 0.01% Castro::clean_state() 62 6.974e-05 6.974e-05 6.974e-05 0.01% MLMG::mgVcycle_down::2 82 6.856e-05 6.856e-05 6.856e-05 0.01% MLMG::mgVcycle_down::4 82 6.626e-05 6.626e-05 6.626e-05 0.01% MLMG::mgVcycle_down::3 82 6.311e-05 6.311e-05 6.311e-05 0.01% Castro::initialize_do_advance() 10 5.908e-05 5.908e-05 5.908e-05 0.01% MLMG::oneIter() 82 5.257e-05 5.257e-05 5.257e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.231e-05 5.231e-05 5.231e-05 0.01% MLMG::mgVcycle_up::4 82 5.056e-05 5.056e-05 5.056e-05 0.01% Castro::do_advance_ctu() 10 4.867e-05 4.867e-05 4.867e-05 0.01% MLMG::mgVcycle_up::0 82 4.615e-05 4.615e-05 4.615e-05 0.01% MLCellLinOp::solutionResidual() 93 4.561e-05 4.561e-05 4.561e-05 0.01% MLMG::mgVcycle_up::3 82 4.523e-05 4.523e-05 4.523e-05 0.01% Castro::finalize_do_advance() 10 4.5e-05 4.5e-05 4.5e-05 0.00% MLMG::mgVcycle_up::1 82 4.283e-05 4.283e-05 4.283e-05 0.00% MLMG::mgVcycle_up::2 82 4.149e-05 4.149e-05 4.149e-05 0.00% FillPatchSingleLevel 41 3.844e-05 3.844e-05 3.844e-05 0.00% MLMG::computeResidual() 82 3.239e-05 3.239e-05 3.239e-05 0.00% MLMG::ResNormInf() 93 3.2e-05 3.2e-05 3.2e-05 0.00% MLMG::mgVcycle_bottom 82 3.044e-05 3.044e-05 3.044e-05 0.00% Amr::defBaseLevel() 1 2.971e-05 2.971e-05 2.971e-05 0.00% Castro::construct_new_gravity() 10 2.509e-05 2.509e-05 2.509e-05 0.00% MLPoisson::define() 11 2.479e-05 2.479e-05 2.479e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.241e-05 2.241e-05 2.241e-05 0.00% Castro::do_old_sources() 10 2.241e-05 2.241e-05 2.241e-05 0.00% Castro::construct_old_source() 50 1.976e-05 1.976e-05 1.976e-05 0.00% Amr::FinalizeInit() 1 1.907e-05 1.907e-05 1.907e-05 0.00% Castro::do_new_sources() 10 1.845e-05 1.845e-05 1.845e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.707e-05 1.707e-05 1.707e-05 0.00% Castro::construct_old_gravity() 10 1.668e-05 1.668e-05 1.668e-05 0.00% Castro::computeNewDt() 9 1.489e-05 1.489e-05 1.489e-05 0.00% Gravity::actual_multilevel_solve() 1 1.394e-05 1.394e-05 1.394e-05 0.00% Castro::apply_source_to_state() 20 1.216e-05 1.216e-05 1.216e-05 0.00% MLMG::computeMLResidual() 11 1.148e-05 1.148e-05 1.148e-05 0.00% Castro::check_for_nan() 20 1.1e-05 1.1e-05 1.1e-05 0.00% Castro::post_timestep() 10 8.021e-06 8.021e-06 8.021e-06 0.00% MLPoisson::prepareForSolve() 11 6.209e-06 6.209e-06 6.209e-06 0.00% Amr::InitializeInit() 1 6.174e-06 6.174e-06 6.174e-06 0.00% Castro::expand_state() 10 5.948e-06 5.948e-06 5.948e-06 0.00% MLMG::getGradSolution() 11 5.781e-06 5.781e-06 5.781e-06 0.00% Castro::post_init() 1 4.051e-06 4.051e-06 4.051e-06 0.00% Amr::init() 1 2.523e-06 2.523e-06 2.523e-06 0.00% Amr::initialInit() 1 1.292e-06 1.292e-06 1.292e-06 0.00% Castro::post_regrid() 1 9.63e-07 9.63e-07 9.63e-07 0.00% Other 4752 0.003273 0.003273 0.003273 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9017 0.9017 0.9017 100.00% Amr::coarseTimeStep() 10 0.7551 0.7551 0.7551 83.73% Amr::timeStep() 10 0.6572 0.6572 0.6572 72.88% Castro::advance() 10 0.6472 0.6472 0.6472 71.77% Castro::subcycle_advance_ctu() 10 0.6328 0.6328 0.6328 70.17% Castro::do_advance_ctu() 10 0.6326 0.6326 0.6326 70.15% Castro::construct_ctu_hydro_source() 10 0.2954 0.2954 0.2954 32.76% Gravity::solve_phi_with_mlmg() 11 0.2901 0.2901 0.2901 32.17% Gravity::actual_solve_with_mlmg() 11 0.2803 0.2803 0.2803 31.08% Castro::construct_new_gravity() 10 0.2625 0.2625 0.2625 29.11% MLMG::solve() 11 0.2586 0.2586 0.2586 28.67% Gravity::solve_for_phi() 10 0.2459 0.2459 0.2459 27.27% MLMG::oneIter() 82 0.2433 0.2433 0.2433 26.98% MLMG::mgVcycle() 82 0.2397 0.2397 0.2397 26.58% VisMF::Write(FabArray) 11 0.1701 0.1701 0.1701 18.86% Amr::checkPoint() 3 0.138 0.138 0.138 15.30% AmrLevel::checkPoint() 3 0.1244 0.1244 0.1244 13.79% StateData::checkPoint() 12 0.1243 0.1243 0.1243 13.78% Amr::init() 1 0.1216 0.1216 0.1216 13.48% MLCellLinOp::smooth() 1640 0.12 0.12 0.12 13.31% MLCellLinOp::applyBC() 4351 0.1118 0.1118 0.1118 12.39% MLMG::mgVcycle_bottom 82 0.07148 0.07148 0.07148 7.93% MLMG::actualBottomSolve() 82 0.07145 0.07145 0.07145 7.92% MLCGSolver::bicgstab 82 0.07066 0.07066 0.07066 7.84% Castro::clean_state() 62 0.05742 0.05742 0.05742 6.37% Amr::initialInit() 1 0.05309 0.05309 0.05309 5.89% Amr::writePlotFile() 2 0.04863 0.04863 0.04863 5.39% AmrLevel::FillPatch() 41 0.04862 0.04862 0.04862 5.39% Amr::FinalizeInit() 1 0.04846 0.04846 0.04846 5.37% Castro::post_init() 1 0.04702 0.04702 0.04702 5.21% Gravity::multilevel_solve_for_new_phi() 1 0.04462 0.04462 0.04462 4.95% Gravity::actual_multilevel_solve() 1 0.0446 0.0446 0.0446 4.95% FillPatchIterator::Initialize 41 0.04431 0.04431 0.04431 4.91% FillPatchIterator::FillFromLevel0() 41 0.04273 0.04273 0.04273 4.74% FillPatchSingleLevel 41 0.04267 0.04267 0.04267 4.73% StateDataPhysBCFunct::() 41 0.0385 0.0385 0.0385 4.27% MLCellLinOp::apply() 1060 0.03583 0.03583 0.03583 3.97% MLMG::mgVcycle_down::0 82 0.03434 0.03434 0.03434 3.81% MLPoisson::Fsmooth() 3280 0.03297 0.03297 0.03297 3.66% FabArray::FillBoundary() 3941 0.03218 0.03218 0.03218 3.57% FillBoundary_nowait() 3941 0.03134 0.03134 0.03134 3.48% StateData::FillBoundary(geom) 328 0.0264 0.0264 0.0264 2.93% MLMG::mgVcycle_up::0 82 0.02603 0.02603 0.02603 2.89% Castro::computeTemp() 63 0.02348 0.02348 0.02348 2.60% Castro::initialize_do_advance() 10 0.02219 0.02219 0.02219 2.46% amrex::Dot() 1114 0.02104 0.02104 0.02104 2.33% MLMG:computeResOfCorrection() 410 0.02023 0.02023 0.02023 2.24% MLCellLinOp::correctionResidual() 410 0.02012 0.02012 0.02012 2.23% Castro::normalize_species() 62 0.02004 0.02004 0.02004 2.22% Castro::do_old_sources() 10 0.01993 0.01993 0.01993 2.21% FabArray::norminf() 1061 0.01952 0.01952 0.01952 2.16% Gravity::get_new_grav_vector() 11 0.01859 0.01859 0.01859 2.06% MLPoisson::define() 11 0.0171 0.0171 0.0171 1.90% MLMG::mgVcycle_down::1 82 0.01639 0.01639 0.01639 1.82% Castro::construct_old_gravity() 10 0.01531 0.01531 0.01531 1.70% Gravity::get_old_grav_vector() 10 0.01529 0.01529 0.01529 1.70% MLMG::mgVcycle_down::2 82 0.01521 0.01521 0.01521 1.69% MLMG::mgVcycle_down::3 82 0.01485 0.01485 0.01485 1.65% MLMG::mgVcycle_down::4 82 0.01472 0.01472 0.01472 1.63% FabArray::ParallelCopy() 861 0.01444 0.01444 0.01444 1.60% FabArray::ParallelCopy_nowait() 861 0.0142 0.0142 0.0142 1.57% Castro::do_new_sources() 10 0.01398 0.01398 0.01398 1.55% Castro::initialize_advance() 10 0.0136 0.0136 0.0136 1.51% FabArray::setVal() 1062 0.01327 0.01327 0.01327 1.47% FabArray::Saxpy() 1370 0.01294 0.01294 0.01294 1.44% Castro::enforce_min_density() 62 0.01282 0.01282 0.01282 1.42% MLCGSolver::ParallelAllReduce 1832 0.0126 0.0126 0.0126 1.40% MLMG::addInterpCorrection() 410 0.01202 0.01202 0.01202 1.33% Castro::expand_state() 10 0.01196 0.01196 0.01196 1.33% MLMG::mgVcycle_up::1 82 0.01181 0.01181 0.01181 1.31% MLMG::mgVcycle_up::4 82 0.01174 0.01174 0.01174 1.30% MLCellLinOp::defineAuxData() 11 0.01172 0.01172 0.01172 1.30% MLMG::mgVcycle_up::2 82 0.01154 0.01154 0.01154 1.28% MLMG::mgVcycle_up::3 82 0.01133 0.01133 0.01133 1.26% amrex::average_down 410 0.0113 0.0113 0.0113 1.25% amrex::Copy() 472 0.01085 0.01085 0.01085 1.20% MLPoisson::Fapply() 1060 0.01017 0.01017 0.01017 1.13% Castro::post_timestep() 10 0.009872 0.009872 0.009872 1.09% Gravity::fill_multipole_BCs() 11 0.009576 0.009576 0.009576 1.06% FabArray::Xpay() 739 0.007782 0.007782 0.007782 0.86% MLCellLinOp::solutionResidual() 93 0.007702 0.007702 0.007702 0.85% MLMG::computeResidual() 82 0.006455 0.006455 0.006455 0.72% Castro::reset_internal_energy(MultiFab) 63 0.006426 0.006426 0.006426 0.71% Castro::estTimeStep() 21 0.006106 0.006106 0.006106 0.68% MLCellLinOp::defineBC() 11 0.005119 0.005119 0.005119 0.57% MLMG::prepareForSolve() 11 0.005044 0.005044 0.005044 0.56% BndryData::define() 11 0.004857 0.004857 0.004857 0.54% Amr::InitializeInit() 1 0.004632 0.004632 0.004632 0.51% Amr::defBaseLevel() 1 0.004626 0.004626 0.004626 0.51% Castro::initData() 1 0.003916 0.003916 0.003916 0.43% Castro::construct_new_source() 50 0.003659 0.003659 0.003659 0.41% amrex::Add() 82 0.003613 0.003613 0.003613 0.40% Castro::construct_new_gravity_source() 10 0.003585 0.003585 0.003585 0.40% Castro::construct_old_source() 50 0.002963 0.002963 0.002963 0.33% Castro::construct_old_gravity_source() 10 0.002943 0.002943 0.002943 0.33% Castro::computeNewDt() 9 0.002864 0.002864 0.002864 0.32% Castro::finalize_do_advance() 10 0.00229 0.00229 0.00229 0.25% MLMG::ResNormInf() 93 0.002144 0.002144 0.002144 0.24% Castro::apply_source_to_state() 20 0.001877 0.001877 0.001877 0.21% Castro::enforce_speed_limit() 62 0.001854 0.001854 0.001854 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001777 0.001777 0.001777 0.20% check_for_negative_density() 10 0.001612 0.001612 0.001612 0.18% Castro::reset_internal_energy(Fab) 504 0.001584 0.001584 0.001584 0.18% MLCellLinOp::setLevelBC() 11 0.001562 0.001562 0.001562 0.17% MLMG::getGradSolution() 11 0.001552 0.001552 0.001552 0.17% MLCellLinOp::compGrad() 11 0.001547 0.001547 0.001547 0.17% FabArrayBase::getCPC() 1323 0.001412 0.001412 0.001412 0.16% FabArray::mult() 43 0.001383 0.001383 0.001383 0.15% FabArray::setDomainBndry() 41 0.001366 0.001366 0.001366 0.15% MLPoisson::prepareForSolve() 11 0.001306 0.001306 0.001306 0.14% MLCellLinOp::prepareForSolve() 11 0.0013 0.0013 0.0013 0.14% MLMG::computeMLResidual() 11 0.001291 0.001291 0.001291 0.14% Castro::check_for_nan() 20 0.001279 0.001279 0.001279 0.14% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.14% Castro::post_regrid() 1 0.001149 0.001149 0.001149 0.13% Other 4752 0.00801 0.00801 0.00801 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 5237 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 1043 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1503 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3527 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 214 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2174 B 2048 KiB Gravity::solve_for_phi() 80 80 557 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 322 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3302 B 480 KiB VisMF::Write(FabArray) 656 656 3402 B 320 KiB Castro::normalize_species() 62 62 7243 B 320 KiB amrex::average_down 1067 1067 1594 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1158 B 257 KiB amrex::Dot() 1360 1360 3447 B 160 KiB FabArray::norminf() 1143 1143 3351 B 160 KiB check_for_negative_density() 10 10 286 B 160 KiB Castro::initData() 1 1 52 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 3443 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 295 B 9648 B MLCellLinOp::applyBC() 8702 8702 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 363 B 1248 B MLCGSolver::bicgstab 410 410 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 530 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 91 KiB 8192 KiB VisMF::Write(FabArray) 744 744 406 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3443 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 295 B 9648 B MLCellLinOp::applyBC() 4351 4351 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B Gravity::get_new_grav_vector() 3 3 2893 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 2928 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 293 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 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.04-25-gaba9891ec5ed) finalized Initializing AMReX (24.04-25-gaba9891ec5ed)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-25-gaba9891ec5ed) initialized Starting run at 09:09:04 UTC on 2024-04-25. Successfully read inputs file ... Castro git describe: 24.04-19-g9935adf51 AMReX git describe: 24.04-25-gaba9891ec Microphysics git describe: 24.04-9-g4ad225b7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.510154756 Restart time = 0.07204627 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.068660098 [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.055703245 [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.054938435 [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.074988338 [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.078363937 [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.026634141 seconds Ending run at 09:09:04 UTC on 2024-04-25. Run time = 0.432407369 Run time without initialization = 0.359729399 Average number of zones advanced per microsecond: 3.644 Average number of zones advanced per microsecond per rank: 3.644 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4324 ... 0.4324 ... 0.4324 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1437 0.1437 0.1437 33.24% VisMF::Read() 3 0.06084 0.06084 0.06084 14.07% MLCellLinOp::applyBC() 1910 0.03488 0.03488 0.03488 8.07% VisMF::Write(FabArray) 1 0.02393 0.02393 0.02393 5.53% MLPoisson::Fsmooth() 1440 0.01444 0.01444 0.01444 3.34% FillBoundary_nowait() 1730 0.0135 0.0135 0.0135 3.12% StateData::FillBoundary(geom) 160 0.01284 0.01284 0.01284 2.97% Castro::normalize_species() 30 0.01019 0.01019 0.01019 2.36% amrex::Dot() 484 0.009029 0.009029 0.009029 2.09% FabArray::norminf() 465 0.008485 0.008485 0.008485 1.96% Castro::computeTemp() 30 0.006776 0.006776 0.006776 1.57% FabArray::setVal() 501 0.006477 0.006477 0.006477 1.50% FabArray::ParallelCopy_nowait() 380 0.006057 0.006057 0.006057 1.40% FabArray::Saxpy() 597 0.005752 0.005752 0.005752 1.33% MLCellLinOp::defineAuxData() 6 0.005506 0.005506 0.005506 1.27% amrex::Copy() 221 0.005414 0.005414 0.005414 1.25% StateDataPhysBCFunct::() 20 0.005358 0.005358 0.005358 1.24% Castro::enforce_min_density() 30 0.005319 0.005319 0.005319 1.23% Gravity::fill_multipole_BCs() 6 0.005205 0.005205 0.005205 1.20% Amr::restart() 1 0.004889 0.004889 0.004889 1.13% MLPoisson::Fapply() 464 0.004388 0.004388 0.004388 1.01% FabArray::Xpay() 325 0.00343 0.00343 0.00343 0.79% Castro::estTimeStep() 10 0.003289 0.003289 0.003289 0.76% MLMG::addInterpCorrection() 180 0.003047 0.003047 0.003047 0.70% amrex::average_down 180 0.002661 0.002661 0.002661 0.62% Amr::writePlotFile() 1 0.002557 0.002557 0.002557 0.59% BndryData::define() 6 0.002114 0.002114 0.002114 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002063 0.002063 0.002063 0.48% Castro::construct_new_gravity_source() 5 0.001584 0.001584 0.001584 0.37% amrex::Add() 36 0.001548 0.001548 0.001548 0.36% Castro::construct_old_gravity_source() 5 0.001233 0.001233 0.001233 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009505 0.0009505 0.0009505 0.22% Castro::reset_internal_energy(Fab) 240 0.000895 0.000895 0.000895 0.21% MLCellLinOp::setLevelBC() 6 0.0008619 0.0008619 0.0008619 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008491 0.0008491 0.0008491 0.20% check_for_negative_density() 5 0.0008313 0.0008313 0.0008313 0.19% MLCellLinOp::prepareForSolve() 6 0.0007453 0.0007453 0.0007453 0.17% MLCGSolver::bicgstab 36 0.0007098 0.0007098 0.0007098 0.16% FabArray::mult() 22 0.0006894 0.0006894 0.0006894 0.16% FabArray::setDomainBndry() 20 0.0006831 0.0006831 0.0006831 0.16% MLCellLinOp::compGrad() 6 0.0005893 0.0005893 0.0005893 0.14% MLMG::prepareForSolve() 6 0.0005472 0.0005472 0.0005472 0.13% MLCellLinOp::smooth() 720 0.0004714 0.0004714 0.0004714 0.11% FabArrayBase::getCPC() 632 0.0003591 0.0003591 0.0003591 0.08% FabArray::FillBoundary() 1730 0.0003314 0.0003314 0.0003314 0.08% Gravity::get_old_grav_vector() 5 0.0002968 0.0002968 0.0002968 0.07% main() 1 0.0002626 0.0002626 0.0002626 0.06% Gravity::get_new_grav_vector() 5 0.0002368 0.0002368 0.0002368 0.05% AmrLevel::FillPatch() 20 0.0002073 0.0002073 0.0002073 0.05% MLCellLinOp::apply() 464 0.0001798 0.0001798 0.0001798 0.04% Amr::coarseTimeStep() 5 0.0001561 0.0001561 0.0001561 0.04% MLCellLinOp::defineBC() 6 0.0001442 0.0001442 0.0001442 0.03% MLCGSolver::ParallelAllReduce 798 0.0001378 0.0001378 0.0001378 0.03% FabArray::ParallelCopy() 380 0.0001166 0.0001166 0.0001166 0.03% FillPatchIterator::Initialize 20 0.0001073 0.0001073 0.0001073 0.02% Amr::timeStep() 5 9.24e-05 9.24e-05 9.24e-05 0.02% Castro::subcycle_advance_ctu() 5 9.137e-05 9.137e-05 9.137e-05 0.02% Castro::construct_new_source() 25 8.792e-05 8.792e-05 8.792e-05 0.02% MLMG::mgVcycle() 36 8.208e-05 8.208e-05 8.208e-05 0.02% AmrLevel::restart() 1 7.156e-05 7.156e-05 7.156e-05 0.02% MLCellLinOp::correctionResidual() 180 7.038e-05 7.038e-05 7.038e-05 0.02% StateData::restartDoit() 4 6.723e-05 6.723e-05 6.723e-05 0.02% Gravity::update_max_rhs() 6 6.558e-05 6.558e-05 6.558e-05 0.02% Castro::advance() 5 5.792e-05 5.792e-05 5.792e-05 0.01% Gravity::solve_for_phi() 5 5.123e-05 5.123e-05 5.123e-05 0.01% Castro::initialize_do_advance() 5 4.948e-05 4.948e-05 4.948e-05 0.01% MLMG:computeResOfCorrection() 180 4.576e-05 4.576e-05 4.576e-05 0.01% MLMG::actualBottomSolve() 36 3.684e-05 3.684e-05 3.684e-05 0.01% Castro::initialize_advance() 5 3.625e-05 3.625e-05 3.625e-05 0.01% MLMG::mgVcycle_down::0 36 3.444e-05 3.444e-05 3.444e-05 0.01% MLMG::solve() 6 3.352e-05 3.352e-05 3.352e-05 0.01% Castro::clean_state() 30 3.294e-05 3.294e-05 3.294e-05 0.01% MLMG::mgVcycle_down::1 36 3.157e-05 3.157e-05 3.157e-05 0.01% MLMG::mgVcycle_down::2 36 2.977e-05 2.977e-05 2.977e-05 0.01% MLMG::mgVcycle_down::4 36 2.789e-05 2.789e-05 2.789e-05 0.01% MLMG::mgVcycle_down::3 36 2.633e-05 2.633e-05 2.633e-05 0.01% Castro::finalize_do_advance() 5 2.427e-05 2.427e-05 2.427e-05 0.01% Castro::do_advance_ctu() 5 2.418e-05 2.418e-05 2.418e-05 0.01% MLMG::mgVcycle_up::4 36 2.373e-05 2.373e-05 2.373e-05 0.01% MLMG::oneIter() 36 2.317e-05 2.317e-05 2.317e-05 0.01% Castro::post_restart() 1 2.171e-05 2.171e-05 2.171e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.169e-05 2.169e-05 2.169e-05 0.01% MLCellLinOp::solutionResidual() 42 2.05e-05 2.05e-05 2.05e-05 0.00% MLMG::mgVcycle_up::3 36 1.982e-05 1.982e-05 1.982e-05 0.00% MLMG::mgVcycle_up::0 36 1.949e-05 1.949e-05 1.949e-05 0.00% MLMG::mgVcycle_up::2 36 1.887e-05 1.887e-05 1.887e-05 0.00% MLPoisson::define() 6 1.837e-05 1.837e-05 1.837e-05 0.00% MLMG::mgVcycle_up::1 36 1.764e-05 1.764e-05 1.764e-05 0.00% MLMG::ResNormInf() 42 1.72e-05 1.72e-05 1.72e-05 0.00% FillPatchSingleLevel 20 1.593e-05 1.593e-05 1.593e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.589e-05 1.589e-05 1.589e-05 0.00% Gravity::actual_multilevel_solve() 1 1.493e-05 1.493e-05 1.493e-05 0.00% MLMG::computeResidual() 36 1.404e-05 1.404e-05 1.404e-05 0.00% MLMG::mgVcycle_bottom 36 1.39e-05 1.39e-05 1.39e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.333e-05 1.333e-05 1.333e-05 0.00% Castro::construct_new_gravity() 5 1.276e-05 1.276e-05 1.276e-05 0.00% Castro::do_old_sources() 5 1.105e-05 1.105e-05 1.105e-05 0.00% Castro::construct_old_source() 25 1.087e-05 1.087e-05 1.087e-05 0.00% Castro::do_new_sources() 5 9.582e-06 9.582e-06 9.582e-06 0.00% Castro::expand_state() 5 9.06e-06 9.06e-06 9.06e-06 0.00% Castro::check_for_nan() 10 6.153e-06 6.153e-06 6.153e-06 0.00% Castro::apply_source_to_state() 10 6.147e-06 6.147e-06 6.147e-06 0.00% Castro::construct_old_gravity() 5 5.624e-06 5.624e-06 5.624e-06 0.00% Castro::post_timestep() 5 4.361e-06 4.361e-06 4.361e-06 0.00% MLMG::computeMLResidual() 6 4.098e-06 4.098e-06 4.098e-06 0.00% Castro::computeNewDt() 5 3.731e-06 3.731e-06 3.731e-06 0.00% MLPoisson::prepareForSolve() 6 3.718e-06 3.718e-06 3.718e-06 0.00% MLMG::getGradSolution() 6 3.135e-06 3.135e-06 3.135e-06 0.00% Amr::init() 1 9.72e-07 9.72e-07 9.72e-07 0.00% Other 2190 0.002952 0.002952 0.002952 0.68% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4324 0.4324 0.4324 99.99% Amr::coarseTimeStep() 5 0.3328 0.3328 0.3328 76.96% Amr::timeStep() 5 0.3306 0.3306 0.3306 76.45% Castro::advance() 5 0.3259 0.3259 0.3259 75.36% Castro::subcycle_advance_ctu() 5 0.3184 0.3184 0.3184 73.62% Castro::do_advance_ctu() 5 0.3183 0.3183 0.3183 73.60% Castro::construct_ctu_hydro_source() 5 0.1495 0.1495 0.1495 34.57% Castro::construct_new_gravity() 5 0.1339 0.1339 0.1339 30.97% Gravity::solve_phi_with_mlmg() 6 0.1308 0.1308 0.1308 30.24% Gravity::solve_for_phi() 5 0.1256 0.1256 0.1256 29.04% Gravity::actual_solve_with_mlmg() 6 0.1253 0.1253 0.1253 28.98% MLMG::solve() 6 0.1135 0.1135 0.1135 26.24% MLMG::oneIter() 36 0.1059 0.1059 0.1059 24.48% MLMG::mgVcycle() 36 0.1043 0.1043 0.1043 24.12% Amr::init() 1 0.07209 0.07209 0.07209 16.67% Amr::restart() 1 0.07209 0.07209 0.07209 16.67% AmrLevel::restart() 1 0.0612 0.0612 0.0612 14.15% StateData::restartDoit() 4 0.06113 0.06113 0.06113 14.13% VisMF::Read() 3 0.06084 0.06084 0.06084 14.07% MLCellLinOp::smooth() 720 0.05251 0.05251 0.05251 12.14% MLCellLinOp::applyBC() 1910 0.04902 0.04902 0.04902 11.33% MLMG::mgVcycle_bottom 36 0.03084 0.03084 0.03084 7.13% MLMG::actualBottomSolve() 36 0.03082 0.03082 0.03082 7.13% MLCGSolver::bicgstab 36 0.03047 0.03047 0.03047 7.05% Amr::writePlotFile() 1 0.02675 0.02675 0.02675 6.19% Castro::clean_state() 30 0.02576 0.02576 0.02576 5.96% VisMF::Write(FabArray) 1 0.02393 0.02393 0.02393 5.53% AmrLevel::FillPatch() 20 0.02318 0.02318 0.02318 5.36% FillPatchIterator::Initialize 20 0.02108 0.02108 0.02108 4.87% FillPatchIterator::FillFromLevel0() 20 0.02029 0.02029 0.02029 4.69% FillPatchSingleLevel 20 0.02027 0.02027 0.02027 4.69% StateDataPhysBCFunct::() 20 0.0182 0.0182 0.0182 4.21% MLCellLinOp::apply() 464 0.01569 0.01569 0.01569 3.63% MLMG::mgVcycle_down::0 36 0.01521 0.01521 0.01521 3.52% MLPoisson::Fsmooth() 1440 0.01444 0.01444 0.01444 3.34% FabArray::FillBoundary() 1730 0.01413 0.01413 0.01413 3.27% FillBoundary_nowait() 1730 0.0138 0.0138 0.0138 3.19% StateData::FillBoundary(geom) 160 0.01284 0.01284 0.01284 2.97% MLMG::mgVcycle_up::0 36 0.0114 0.0114 0.0114 2.64% Castro::initialize_do_advance() 5 0.01045 0.01045 0.01045 2.42% Castro::normalize_species() 30 0.01019 0.01019 0.01019 2.36% Castro::computeTemp() 30 0.009734 0.009734 0.009734 2.25% MLPoisson::define() 6 0.009268 0.009268 0.009268 2.14% Castro::do_old_sources() 5 0.009058 0.009058 0.009058 2.09% amrex::Dot() 484 0.009029 0.009029 0.009029 2.09% MLMG:computeResOfCorrection() 180 0.008758 0.008758 0.008758 2.03% MLCellLinOp::correctionResidual() 180 0.008713 0.008713 0.008713 2.01% FabArray::norminf() 465 0.008485 0.008485 0.008485 1.96% Gravity::get_new_grav_vector() 5 0.008233 0.008233 0.008233 1.90% Castro::construct_old_gravity() 5 0.00769 0.00769 0.00769 1.78% Gravity::get_old_grav_vector() 5 0.007685 0.007685 0.007685 1.78% MLMG::mgVcycle_down::1 36 0.007178 0.007178 0.007178 1.66% Castro::initialize_advance() 5 0.007155 0.007155 0.007155 1.65% MLMG::mgVcycle_down::2 36 0.006574 0.006574 0.006574 1.52% FabArray::ParallelCopy() 380 0.006556 0.006556 0.006556 1.52% FabArray::setVal() 501 0.006477 0.006477 0.006477 1.50% FabArray::ParallelCopy_nowait() 380 0.006439 0.006439 0.006439 1.49% MLMG::mgVcycle_down::3 36 0.006417 0.006417 0.006417 1.48% MLMG::mgVcycle_down::4 36 0.006399 0.006399 0.006399 1.48% MLCellLinOp::defineAuxData() 6 0.006284 0.006284 0.006284 1.45% Castro::expand_state() 5 0.005865 0.005865 0.005865 1.36% Castro::do_new_sources() 5 0.005847 0.005847 0.005847 1.35% Castro::post_restart() 1 0.005806 0.005806 0.005806 1.34% FabArray::Saxpy() 597 0.005752 0.005752 0.005752 1.33% MLCGSolver::ParallelAllReduce 798 0.005465 0.005465 0.005465 1.26% Gravity::multilevel_solve_for_new_phi() 1 0.005443 0.005443 0.005443 1.26% Gravity::actual_multilevel_solve() 1 0.005427 0.005427 0.005427 1.26% amrex::Copy() 221 0.005414 0.005414 0.005414 1.25% Gravity::fill_multipole_BCs() 6 0.005326 0.005326 0.005326 1.23% Castro::enforce_min_density() 30 0.005319 0.005319 0.005319 1.23% MLMG::addInterpCorrection() 180 0.005265 0.005265 0.005265 1.22% MLMG::mgVcycle_up::4 36 0.005144 0.005144 0.005144 1.19% MLMG::mgVcycle_up::1 36 0.00511 0.00511 0.00511 1.18% MLMG::mgVcycle_up::2 36 0.005021 0.005021 0.005021 1.16% amrex::average_down 180 0.004942 0.004942 0.004942 1.14% MLMG::mgVcycle_up::3 36 0.00492 0.00492 0.00492 1.14% Castro::post_timestep() 5 0.004655 0.004655 0.004655 1.08% MLPoisson::Fapply() 464 0.004388 0.004388 0.004388 1.01% MLCellLinOp::solutionResidual() 42 0.003612 0.003612 0.003612 0.84% FabArray::Xpay() 325 0.00343 0.00343 0.00343 0.79% Castro::estTimeStep() 10 0.003289 0.003289 0.003289 0.76% Castro::reset_internal_energy(MultiFab) 30 0.002958 0.002958 0.002958 0.68% MLMG::prepareForSolve() 6 0.002828 0.002828 0.002828 0.65% MLCellLinOp::defineBC() 6 0.002825 0.002825 0.002825 0.65% MLMG::computeResidual() 36 0.002821 0.002821 0.002821 0.65% BndryData::define() 6 0.002681 0.002681 0.002681 0.62% Castro::computeNewDt() 5 0.002028 0.002028 0.002028 0.47% Castro::construct_new_source() 25 0.001672 0.001672 0.001672 0.39% Castro::construct_new_gravity_source() 5 0.001584 0.001584 0.001584 0.37% amrex::Add() 36 0.001548 0.001548 0.001548 0.36% Castro::finalize_do_advance() 5 0.001289 0.001289 0.001289 0.30% Castro::construct_old_source() 25 0.001244 0.001244 0.001244 0.29% Castro::construct_old_gravity_source() 5 0.001233 0.001233 0.001233 0.29% MLMG::ResNormInf() 42 0.0009809 0.0009809 0.0009809 0.23% Castro::apply_source_to_state() 10 0.0009622 0.0009622 0.0009622 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009505 0.0009505 0.0009505 0.22% Castro::reset_internal_energy(Fab) 240 0.000895 0.000895 0.000895 0.21% MLMG::getGradSolution() 6 0.0008797 0.0008797 0.0008797 0.20% MLCellLinOp::compGrad() 6 0.0008766 0.0008766 0.0008766 0.20% MLCellLinOp::setLevelBC() 6 0.0008619 0.0008619 0.0008619 0.20% check_for_negative_density() 5 0.0008313 0.0008313 0.0008313 0.19% MLMG::computeMLResidual() 6 0.0008095 0.0008095 0.0008095 0.19% FabArrayBase::getCPC() 632 0.0007762 0.0007762 0.0007762 0.18% MLPoisson::prepareForSolve() 6 0.0007491 0.0007491 0.0007491 0.17% MLCellLinOp::prepareForSolve() 6 0.0007453 0.0007453 0.0007453 0.17% Gravity::update_max_rhs() 6 0.0007074 0.0007074 0.0007074 0.16% FabArray::mult() 22 0.0006894 0.0006894 0.0006894 0.16% FabArray::setDomainBndry() 20 0.0006831 0.0006831 0.0006831 0.16% Castro::check_for_nan() 10 0.0006676 0.0006676 0.0006676 0.15% Other 2190 0.004172 0.004172 0.004172 0.96% -------------------------------------------------------------------------------------------- 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 1050 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1637 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 6408 KiB 14 MiB MLMG::prepareForSolve() 361 361 3221 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6395 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3245 B 2048 KiB Gravity::solve_for_phi() 40 40 593 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 190 KiB 671 KiB Castro::estTimeStep() 10 10 3625 B 480 KiB VisMF::Write(FabArray) 112 112 1260 B 320 KiB Castro::normalize_species() 30 30 7672 B 320 KiB amrex::average_down 469 469 1356 B 257 KiB MLMG::addInterpCorrection() 468 468 1044 B 257 KiB amrex::Dot() 592 592 3083 B 160 KiB FabArray::norminf() 501 501 3035 B 160 KiB check_for_negative_density() 5 5 307 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3121 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 270 B 9648 B MLCellLinOp::applyBC() 3820 3820 202 B 9344 B amrex::Copy() 56 56 5829 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 46 B 3360 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 333 B 1248 B MLCGSolver::bicgstab 180 180 84 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1173 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 153 KiB 3584 KiB VisMF::Read() 24 24 214 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3121 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 270 B 9648 B MLCellLinOp::applyBC() 1910 1910 200 B 9328 B amrex::Copy() 56 56 5829 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 46 B 3360 B Gravity::get_old_grav_vector() 3 3 2507 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 789 B 1648 B amrex::average_down 37 37 459 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.04-25-gaba9891ec5ed) finalized