Initializing AMReX (24.06-24-g2f93525639da)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-24-g2f93525639da) initialized Starting run at 07:42:58 UTC on 2024-06-27. Successfully read inputs file ... Castro git describe: 24.06-26-gf5c90c0ba AMReX git describe: 24.06-24-g2f9352563 Microphysics git describe: 24.06-35-g6734dabf 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.047069424 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.026150852 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.064520025 [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.069867157 [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.08046906 [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.067543212 [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.055944979 [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.046039479 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.052700092 [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.074168988 [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.078978208 [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.071852711 [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.057810873 [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.044279206 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025775476 seconds Ending run at 07:42:59 UTC on 2024-06-27. Run time = 0.914872154 Run time without initialization = 0.790666986 Average number of zones advanced per microsecond: 3.315 Average number of zones advanced per microsecond per rank: 3.315 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9149 ... 0.9149 ... 0.9149 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2864 0.2864 0.2864 31.31% VisMF::Write(FabArray) 11 0.1814 0.1814 0.1814 19.83% MLCellLinOp::applyBC() 4298 0.08238 0.08238 0.08238 9.00% MLPoisson::Fsmooth() 3240 0.03426 0.03426 0.03426 3.74% FillBoundary_nowait() 3893 0.03243 0.03243 0.03243 3.54% StateData::FillBoundary(geom) 328 0.02628 0.02628 0.02628 2.87% amrex::Dot() 1100 0.02174 0.02174 0.02174 2.38% FabArray::norminf() 1048 0.02021 0.02021 0.02021 2.21% Castro::normalize_species() 62 0.0176 0.0176 0.0176 1.92% Castro::computeTemp() 63 0.01679 0.01679 0.01679 1.84% FabArray::setVal() 1054 0.01363 0.01363 0.01363 1.49% FabArray::ParallelCopy_nowait() 851 0.0136 0.0136 0.0136 1.49% FabArray::Saxpy() 1353 0.01341 0.01341 0.01341 1.47% StateDataPhysBCFunct::() 41 0.01236 0.01236 0.01236 1.35% Castro::enforce_min_density() 62 0.01221 0.01221 0.01221 1.33% amrex::Copy() 469 0.01107 0.01107 0.01107 1.21% MLPoisson::Fapply() 1047 0.01045 0.01045 0.01045 1.14% MLCellLinOp::defineAuxData() 11 0.01017 0.01017 0.01017 1.11% Gravity::fill_multipole_BCs() 11 0.009555 0.009555 0.009555 1.04% FabArray::Xpay() 730 0.007984 0.007984 0.007984 0.87% MLMG::addInterpCorrection() 405 0.007132 0.007132 0.007132 0.78% amrex::average_down 405 0.006298 0.006298 0.006298 0.69% Castro::estTimeStep() 21 0.006211 0.006211 0.006211 0.68% Amr::checkPoint() 3 0.005616 0.005616 0.005616 0.61% Castro::reset_internal_energy(MultiFab) 63 0.005073 0.005073 0.005073 0.55% BndryData::define() 11 0.003904 0.003904 0.003904 0.43% amrex::Add() 81 0.003708 0.003708 0.003708 0.41% Castro::construct_new_gravity_source() 10 0.003509 0.003509 0.003509 0.38% Castro::construct_old_gravity_source() 10 0.002918 0.002918 0.002918 0.32% Castro::enforce_speed_limit() 62 0.002652 0.002652 0.002652 0.29% Amr::writePlotFile() 2 0.001843 0.001843 0.001843 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% check_for_negative_density() 10 0.001724 0.001724 0.001724 0.19% MLCGSolver::bicgstab 81 0.001713 0.001713 0.001713 0.19% Castro::reset_internal_energy(Fab) 504 0.001656 0.001656 0.001656 0.18% MLCellLinOp::setLevelBC() 11 0.001616 0.001616 0.001616 0.18% Castro::initData() 1 0.001615 0.001615 0.001615 0.18% Gravity::actual_solve_with_mlmg() 11 0.001555 0.001555 0.001555 0.17% FabArray::mult() 43 0.001404 0.001404 0.001404 0.15% FabArray::setDomainBndry() 41 0.001369 0.001369 0.001369 0.15% MLCellLinOp::prepareForSolve() 11 0.001324 0.001324 0.001324 0.14% MultiFab::contains_nan() 20 0.001317 0.001317 0.001317 0.14% MLCellLinOp::smooth() 1620 0.001194 0.001194 0.001194 0.13% MLCellLinOp::compGrad() 11 0.001081 0.001081 0.001081 0.12% MLMG::prepareForSolve() 11 0.000963 0.000963 0.000963 0.11% FabArray::FillBoundary() 3893 0.0008114 0.0008114 0.0008114 0.09% FabArrayBase::getCPC() 1313 0.0007786 0.0007786 0.0007786 0.09% Gravity::get_new_grav_vector() 11 0.000608 0.000608 0.000608 0.07% Gravity::get_old_grav_vector() 10 0.0005018 0.0005018 0.0005018 0.05% MLCellLinOp::apply() 1047 0.0004491 0.0004491 0.0004491 0.05% AmrLevel::FillPatch() 41 0.0004113 0.0004113 0.0004113 0.04% Amr::coarseTimeStep() 10 0.000362 0.000362 0.000362 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003382 0.0003382 0.0003382 0.04% main() 1 0.0002828 0.0002828 0.0002828 0.03% MLCellLinOp::defineBC() 11 0.0002711 0.0002711 0.0002711 0.03% FabArray::ParallelCopy() 851 0.0002502 0.0002502 0.0002502 0.03% MLMG::mgVcycle() 81 0.0002259 0.0002259 0.0002259 0.02% Castro::subcycle_advance_ctu() 10 0.0002195 0.0002195 0.0002195 0.02% FillPatchIterator::Initialize 41 0.0002097 0.0002097 0.0002097 0.02% MLCellLinOp::correctionResidual() 405 0.000175 0.000175 0.000175 0.02% Amr::timeStep() 10 0.0001609 0.0001609 0.0001609 0.02% MLMG:computeResOfCorrection() 405 0.000119 0.000119 0.000119 0.01% Gravity::solve_for_phi() 10 0.0001157 0.0001157 0.0001157 0.01% StateData::checkPoint() 12 0.0001154 0.0001154 0.0001154 0.01% Castro::construct_new_source() 50 0.0001057 0.0001057 0.0001057 0.01% Castro::post_timestep() 10 9.828e-05 9.828e-05 9.828e-05 0.01% MLMG::actualBottomSolve() 81 9.106e-05 9.106e-05 9.106e-05 0.01% MLMG::mgVcycle_down::2 81 8.139e-05 8.139e-05 8.139e-05 0.01% MLMG::mgVcycle_down::0 81 8.016e-05 8.016e-05 8.016e-05 0.01% Castro::initialize_advance() 10 7.961e-05 7.961e-05 7.961e-05 0.01% MLMG::mgVcycle_down::1 81 7.92e-05 7.92e-05 7.92e-05 0.01% MLMG::solve() 11 7.805e-05 7.805e-05 7.805e-05 0.01% Castro::clean_state() 62 7.441e-05 7.441e-05 7.441e-05 0.01% MLMG::mgVcycle_down::4 81 7.392e-05 7.392e-05 7.392e-05 0.01% MLMG::mgVcycle_down::3 81 7.095e-05 7.095e-05 7.095e-05 0.01% Castro::initialize_do_advance() 10 6.851e-05 6.851e-05 6.851e-05 0.01% AmrLevel::checkPoint() 3 6.264e-05 6.264e-05 6.264e-05 0.01% MLMG::mgVcycle_up::4 81 5.979e-05 5.979e-05 5.979e-05 0.01% MLMG::oneIter() 81 5.438e-05 5.438e-05 5.438e-05 0.01% Castro::finalize_do_advance() 10 4.985e-05 4.985e-05 4.985e-05 0.01% MLMG::mgVcycle_up::0 81 4.979e-05 4.979e-05 4.979e-05 0.01% MLMG::mgVcycle_up::3 81 4.932e-05 4.932e-05 4.932e-05 0.01% Castro::do_advance_ctu() 10 4.917e-05 4.917e-05 4.917e-05 0.01% MLMG::mgVcycle_up::1 81 4.864e-05 4.864e-05 4.864e-05 0.01% Castro::advance() 10 4.81e-05 4.81e-05 4.81e-05 0.01% MLMG::mgVcycle_up::2 81 4.663e-05 4.663e-05 4.663e-05 0.01% MLCellLinOp::solutionResidual() 92 4.604e-05 4.604e-05 4.604e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.372e-05 4.372e-05 4.372e-05 0.00% FillPatchSingleLevel 41 3.593e-05 3.593e-05 3.593e-05 0.00% MLMG::mgVcycle_bottom 81 3.455e-05 3.455e-05 3.455e-05 0.00% MLMG::computeResidual() 81 3.442e-05 3.442e-05 3.442e-05 0.00% Amr::defBaseLevel() 1 3.143e-05 3.143e-05 3.143e-05 0.00% MLPoisson::define() 11 3.135e-05 3.135e-05 3.135e-05 0.00% MLMG::ResNormInf() 92 3.073e-05 3.073e-05 3.073e-05 0.00% Castro::construct_new_gravity() 10 2.823e-05 2.823e-05 2.823e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.166e-05 2.166e-05 2.166e-05 0.00% Castro::do_old_sources() 10 2.052e-05 2.052e-05 2.052e-05 0.00% Amr::FinalizeInit() 1 2.015e-05 2.015e-05 2.015e-05 0.00% Castro::do_new_sources() 10 1.98e-05 1.98e-05 1.98e-05 0.00% Castro::construct_old_source() 50 1.884e-05 1.884e-05 1.884e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.718e-05 1.718e-05 1.718e-05 0.00% Castro::check_for_nan() 20 1.145e-05 1.145e-05 1.145e-05 0.00% Castro::apply_source_to_state() 20 1.123e-05 1.123e-05 1.123e-05 0.00% MLMG::computeMLResidual() 11 1.106e-05 1.106e-05 1.106e-05 0.00% Castro::construct_old_gravity() 10 1.056e-05 1.056e-05 1.056e-05 0.00% Castro::post_init() 1 9.168e-06 9.168e-06 9.168e-06 0.00% Gravity::actual_multilevel_solve() 1 8.393e-06 8.393e-06 8.393e-06 0.00% MLPoisson::prepareForSolve() 11 7.277e-06 7.277e-06 7.277e-06 0.00% Castro::computeNewDt() 9 7.168e-06 7.168e-06 7.168e-06 0.00% Amr::InitializeInit() 1 6.292e-06 6.292e-06 6.292e-06 0.00% Castro::expand_state() 10 5.919e-06 5.919e-06 5.919e-06 0.00% MLMG::getGradSolution() 11 5.878e-06 5.878e-06 5.878e-06 0.00% Amr::init() 1 2.702e-06 2.702e-06 2.702e-06 0.00% Amr::initialInit() 1 1.327e-06 1.327e-06 1.327e-06 0.00% Other 4705 0.00325 0.00325 0.00325 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9149 0.9149 0.9149 100.00% Amr::coarseTimeStep() 10 0.7646 0.7646 0.7646 83.58% Amr::timeStep() 10 0.6705 0.6705 0.6705 73.28% Castro::advance() 10 0.6603 0.6603 0.6603 72.17% Castro::subcycle_advance_ctu() 10 0.647 0.647 0.647 70.72% Castro::do_advance_ctu() 10 0.6468 0.6468 0.6468 70.69% Gravity::solve_phi_with_mlmg() 11 0.3003 0.3003 0.3003 32.82% Castro::construct_ctu_hydro_source() 10 0.2977 0.2977 0.2977 32.54% Gravity::actual_solve_with_mlmg() 11 0.2902 0.2902 0.2902 31.72% Castro::construct_new_gravity() 10 0.2759 0.2759 0.2759 30.15% MLMG::solve() 11 0.2684 0.2684 0.2684 29.33% Gravity::solve_for_phi() 10 0.2594 0.2594 0.2594 28.35% MLMG::oneIter() 81 0.2526 0.2526 0.2526 27.61% MLMG::mgVcycle() 81 0.2488 0.2488 0.2488 27.20% VisMF::Write(FabArray) 11 0.1814 0.1814 0.1814 19.83% Amr::checkPoint() 3 0.1376 0.1376 0.1376 15.04% AmrLevel::checkPoint() 3 0.1319 0.1319 0.1319 14.42% StateData::checkPoint() 12 0.1319 0.1319 0.1319 14.41% MLCellLinOp::smooth() 1620 0.1251 0.1251 0.1251 13.68% Amr::init() 1 0.1236 0.1236 0.1236 13.51% MLCellLinOp::applyBC() 4298 0.1163 0.1163 0.1163 12.72% MLMG::mgVcycle_bottom 81 0.07409 0.07409 0.07409 8.10% MLMG::actualBottomSolve() 81 0.07406 0.07406 0.07406 8.09% MLCGSolver::bicgstab 81 0.07322 0.07322 0.07322 8.00% Castro::clean_state() 62 0.05512 0.05512 0.05512 6.02% Amr::writePlotFile() 2 0.05207 0.05207 0.05207 5.69% Amr::initialInit() 1 0.05025 0.05025 0.05025 5.49% AmrLevel::FillPatch() 41 0.04868 0.04868 0.04868 5.32% Amr::FinalizeInit() 1 0.04514 0.04514 0.04514 4.93% FillPatchIterator::Initialize 41 0.04437 0.04437 0.04437 4.85% Castro::post_init() 1 0.0437 0.0437 0.0437 4.78% FillPatchIterator::FillFromLevel0() 41 0.04279 0.04279 0.04279 4.68% FillPatchSingleLevel 41 0.04275 0.04275 0.04275 4.67% Gravity::multilevel_solve_for_new_phi() 1 0.04136 0.04136 0.04136 4.52% Gravity::actual_multilevel_solve() 1 0.04135 0.04135 0.04135 4.52% StateDataPhysBCFunct::() 41 0.03864 0.03864 0.03864 4.22% MLCellLinOp::apply() 1047 0.03701 0.03701 0.03701 4.05% MLMG::mgVcycle_down::0 81 0.03589 0.03589 0.03589 3.92% MLPoisson::Fsmooth() 3240 0.03426 0.03426 0.03426 3.74% FabArray::FillBoundary() 3893 0.03396 0.03396 0.03396 3.71% FillBoundary_nowait() 3893 0.03314 0.03314 0.03314 3.62% MLMG::mgVcycle_up::0 81 0.02712 0.02712 0.02712 2.96% StateData::FillBoundary(geom) 328 0.02628 0.02628 0.02628 2.87% Castro::computeTemp() 63 0.02352 0.02352 0.02352 2.57% Castro::initialize_do_advance() 10 0.02255 0.02255 0.02255 2.46% amrex::Dot() 1100 0.02174 0.02174 0.02174 2.38% MLMG:computeResOfCorrection() 405 0.02076 0.02076 0.02076 2.27% MLCellLinOp::correctionResidual() 405 0.02064 0.02064 0.02064 2.26% FabArray::norminf() 1048 0.02021 0.02021 0.02021 2.21% Castro::do_old_sources() 10 0.01929 0.01929 0.01929 2.11% Gravity::get_new_grav_vector() 11 0.01835 0.01835 0.01835 2.01% Castro::normalize_species() 62 0.0176 0.0176 0.0176 1.92% MLPoisson::define() 11 0.01707 0.01707 0.01707 1.87% MLMG::mgVcycle_down::1 81 0.01692 0.01692 0.01692 1.85% MLMG::mgVcycle_down::2 81 0.01574 0.01574 0.01574 1.72% Castro::construct_old_gravity() 10 0.01548 0.01548 0.01548 1.69% Gravity::get_old_grav_vector() 10 0.01547 0.01547 0.01547 1.69% MLMG::mgVcycle_down::3 81 0.01534 0.01534 0.01534 1.68% MLMG::mgVcycle_down::4 81 0.01518 0.01518 0.01518 1.66% FabArray::ParallelCopy() 851 0.01467 0.01467 0.01467 1.60% FabArray::ParallelCopy_nowait() 851 0.01442 0.01442 0.01442 1.58% FabArray::setVal() 1054 0.01363 0.01363 0.01363 1.49% FabArray::Saxpy() 1353 0.01341 0.01341 0.01341 1.47% MLCGSolver::ParallelAllReduce 1809 0.01301 0.01301 0.01301 1.42% Castro::initialize_advance() 10 0.01257 0.01257 0.01257 1.37% MLMG::addInterpCorrection() 405 0.01243 0.01243 0.01243 1.36% Castro::do_new_sources() 10 0.01233 0.01233 0.01233 1.35% MLMG::mgVcycle_up::1 81 0.01229 0.01229 0.01229 1.34% Castro::expand_state() 10 0.01226 0.01226 0.01226 1.34% MLMG::mgVcycle_up::4 81 0.01222 0.01222 0.01222 1.34% Castro::enforce_min_density() 62 0.01221 0.01221 0.01221 1.33% MLMG::mgVcycle_up::2 81 0.01202 0.01202 0.01202 1.31% MLMG::mgVcycle_up::3 81 0.0118 0.0118 0.0118 1.29% amrex::average_down 405 0.01159 0.01159 0.01159 1.27% MLCellLinOp::defineAuxData() 11 0.01159 0.01159 0.01159 1.27% amrex::Copy() 469 0.01107 0.01107 0.01107 1.21% MLPoisson::Fapply() 1047 0.01045 0.01045 0.01045 1.14% Castro::post_timestep() 10 0.01005 0.01005 0.01005 1.10% Gravity::fill_multipole_BCs() 11 0.009824 0.009824 0.009824 1.07% FabArray::Xpay() 730 0.007984 0.007984 0.007984 0.87% MLCellLinOp::solutionResidual() 92 0.00796 0.00796 0.00796 0.87% Castro::reset_internal_energy(MultiFab) 63 0.00673 0.00673 0.00673 0.74% MLMG::computeResidual() 81 0.006676 0.006676 0.006676 0.73% Castro::estTimeStep() 21 0.006211 0.006211 0.006211 0.68% MLMG::prepareForSolve() 11 0.005212 0.005212 0.005212 0.57% MLCellLinOp::defineBC() 11 0.005209 0.005209 0.005209 0.57% Amr::InitializeInit() 1 0.005109 0.005109 0.005109 0.56% Amr::defBaseLevel() 1 0.005103 0.005103 0.005103 0.56% BndryData::define() 11 0.004938 0.004938 0.004938 0.54% Castro::initData() 1 0.004427 0.004427 0.004427 0.48% amrex::Add() 81 0.003708 0.003708 0.003708 0.41% Castro::construct_new_source() 50 0.003615 0.003615 0.003615 0.40% Castro::construct_new_gravity_source() 10 0.003509 0.003509 0.003509 0.38% Castro::construct_old_source() 50 0.002937 0.002937 0.002937 0.32% Castro::construct_old_gravity_source() 10 0.002918 0.002918 0.002918 0.32% Castro::computeNewDt() 9 0.002655 0.002655 0.002655 0.29% Castro::enforce_speed_limit() 62 0.002652 0.002652 0.002652 0.29% Castro::finalize_do_advance() 10 0.002628 0.002628 0.002628 0.29% MLMG::ResNormInf() 92 0.002242 0.002242 0.002242 0.25% Castro::apply_source_to_state() 20 0.00189 0.00189 0.00189 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% check_for_negative_density() 10 0.001724 0.001724 0.001724 0.19% Castro::reset_internal_energy(Fab) 504 0.001656 0.001656 0.001656 0.18% MLMG::getGradSolution() 11 0.001616 0.001616 0.001616 0.18% MLCellLinOp::setLevelBC() 11 0.001616 0.001616 0.001616 0.18% MLCellLinOp::compGrad() 11 0.00161 0.00161 0.00161 0.18% FabArrayBase::getCPC() 1313 0.001463 0.001463 0.001463 0.16% FabArray::mult() 43 0.001404 0.001404 0.001404 0.15% FabArray::setDomainBndry() 41 0.001369 0.001369 0.001369 0.15% MLPoisson::prepareForSolve() 11 0.001332 0.001332 0.001332 0.15% MLMG::computeMLResidual() 11 0.00133 0.00133 0.00133 0.15% Castro::check_for_nan() 20 0.001328 0.001328 0.001328 0.15% MLCellLinOp::prepareForSolve() 11 0.001324 0.001324 0.001324 0.14% MultiFab::contains_nan() 20 0.001317 0.001317 0.001317 0.14% Other 4705 0.009148 0.009148 0.009148 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 5777 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 1038 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1598 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 3608 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 208 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2151 B 2048 KiB Gravity::solve_for_phi() 80 80 580 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 329 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 3312 B 480 KiB VisMF::Write(FabArray) 656 656 3415 B 320 KiB Castro::normalize_species() 62 62 6262 B 320 KiB amrex::average_down 1054 1054 1601 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1163 B 257 KiB amrex::Dot() 1343 1343 3502 B 160 KiB FabArray::norminf() 1129 1129 3411 B 160 KiB check_for_negative_density() 10 10 295 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 3523 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 308 B 9648 B MLCellLinOp::applyBC() 8596 8596 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3955 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 371 B 1248 B MLCGSolver::bicgstab 405 405 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 646 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 51 KiB 8192 KiB VisMF::Write(FabArray) 744 744 436 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3523 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 308 B 9648 B MLCellLinOp::applyBC() 4298 4298 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3955 B 6144 B Gravity::get_new_grav_vector() 3 3 2905 B 3072 B StateData::FillBoundary(geom) 1992 1992 43 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 300 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): 2109 [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.06-24-g2f93525639da) finalized Initializing AMReX (24.06-24-g2f93525639da)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-24-g2f93525639da) initialized Starting run at 07:42:59 UTC on 2024-06-27. Successfully read inputs file ... Castro git describe: 24.06-26-gf5c90c0ba AMReX git describe: 24.06-24-g2f9352563 Microphysics git describe: 24.06-35-g6734dabf reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.508642448 Restart time = 0.072461257 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.069279825 [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.07341796 [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.076412261 [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.060669602 [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.067994575 [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.036144294 seconds Ending run at 07:43:00 UTC on 2024-06-27. Run time = 0.457456832 Run time without initialization = 0.384449233 Average number of zones advanced per microsecond: 3.409 Average number of zones advanced per microsecond per rank: 3.409 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4575 ... 0.4575 ... 0.4575 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1385 0.1385 0.1385 30.27% VisMF::Read() 3 0.06107 0.06107 0.06107 13.35% MLCellLinOp::applyBC() 1910 0.03657 0.03657 0.03657 7.99% VisMF::Write(FabArray) 1 0.0336 0.0336 0.0336 7.34% MLPoisson::Fsmooth() 1440 0.01547 0.01547 0.01547 3.38% FillBoundary_nowait() 1730 0.01498 0.01498 0.01498 3.27% StateData::FillBoundary(geom) 160 0.01351 0.01351 0.01351 2.95% StateDataPhysBCFunct::() 20 0.01318 0.01318 0.01318 2.88% Castro::normalize_species() 30 0.01037 0.01037 0.01037 2.27% amrex::Dot() 484 0.009458 0.009458 0.009458 2.07% FabArray::norminf() 465 0.00894 0.00894 0.00894 1.95% Castro::computeTemp() 30 0.008301 0.008301 0.008301 1.81% FabArray::setVal() 501 0.006893 0.006893 0.006893 1.51% FabArray::ParallelCopy_nowait() 380 0.0063 0.0063 0.0063 1.38% Castro::enforce_min_density() 30 0.006055 0.006055 0.006055 1.32% FabArray::Saxpy() 597 0.006036 0.006036 0.006036 1.32% amrex::Copy() 221 0.00559 0.00559 0.00559 1.22% MLCellLinOp::defineAuxData() 6 0.005586 0.005586 0.005586 1.22% Gravity::fill_multipole_BCs() 6 0.00552 0.00552 0.00552 1.21% Amr::restart() 1 0.00475 0.00475 0.00475 1.04% MLPoisson::Fapply() 464 0.00467 0.00467 0.00467 1.02% FabArray::Xpay() 325 0.003604 0.003604 0.003604 0.79% MLMG::addInterpCorrection() 180 0.003245 0.003245 0.003245 0.71% Castro::estTimeStep() 10 0.003145 0.003145 0.003145 0.69% amrex::average_down 180 0.002863 0.002863 0.002863 0.63% Amr::writePlotFile() 1 0.002388 0.002388 0.002388 0.52% BndryData::define() 6 0.002159 0.002159 0.002159 0.47% Castro::reset_internal_energy(MultiFab) 30 0.002062 0.002062 0.002062 0.45% Castro::construct_new_gravity_source() 5 0.001896 0.001896 0.001896 0.41% amrex::Add() 36 0.001649 0.001649 0.001649 0.36% Castro::construct_old_gravity_source() 5 0.001569 0.001569 0.001569 0.34% Castro::enforce_speed_limit() 30 0.001445 0.001445 0.001445 0.32% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009812 0.0009812 0.0009812 0.21% MLCellLinOp::setLevelBC() 6 0.0008936 0.0008936 0.0008936 0.20% check_for_negative_density() 5 0.0008671 0.0008671 0.0008671 0.19% Castro::reset_internal_energy(Fab) 240 0.000858 0.000858 0.000858 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008546 0.0008546 0.0008546 0.19% MLCellLinOp::prepareForSolve() 6 0.0007608 0.0007608 0.0007608 0.17% MLCGSolver::bicgstab 36 0.0007339 0.0007339 0.0007339 0.16% FabArray::setDomainBndry() 20 0.0007049 0.0007049 0.0007049 0.15% FabArray::mult() 22 0.0007045 0.0007045 0.0007045 0.15% MLCellLinOp::compGrad() 6 0.0006248 0.0006248 0.0006248 0.14% MLMG::prepareForSolve() 6 0.000561 0.000561 0.000561 0.12% MLCellLinOp::smooth() 720 0.00049 0.00049 0.00049 0.11% FabArrayBase::getCPC() 632 0.0003871 0.0003871 0.0003871 0.08% FabArray::FillBoundary() 1730 0.0003612 0.0003612 0.0003612 0.08% main() 1 0.0003593 0.0003593 0.0003593 0.08% Gravity::get_old_grav_vector() 5 0.0003489 0.0003489 0.0003489 0.08% Gravity::get_new_grav_vector() 5 0.0002807 0.0002807 0.0002807 0.06% AmrLevel::FillPatch() 20 0.0002037 0.0002037 0.0002037 0.04% MLCellLinOp::apply() 464 0.0001903 0.0001903 0.0001903 0.04% Amr::coarseTimeStep() 5 0.0001524 0.0001524 0.0001524 0.03% MLCellLinOp::defineBC() 6 0.0001414 0.0001414 0.0001414 0.03% MLCGSolver::ParallelAllReduce 798 0.0001331 0.0001331 0.0001331 0.03% FabArray::ParallelCopy() 380 0.0001073 0.0001073 0.0001073 0.02% FillPatchIterator::Initialize 20 0.0001027 0.0001027 0.0001027 0.02% Castro::subcycle_advance_ctu() 5 0.0001005 0.0001005 0.0001005 0.02% MLMG::mgVcycle() 36 9.658e-05 9.658e-05 9.658e-05 0.02% Castro::construct_new_source() 25 9.053e-05 9.053e-05 9.053e-05 0.02% Castro::initialize_do_advance() 5 8.952e-05 8.952e-05 8.952e-05 0.02% Amr::timeStep() 5 8.666e-05 8.666e-05 8.666e-05 0.02% Castro::advance() 5 8.547e-05 8.547e-05 8.547e-05 0.02% MLCellLinOp::correctionResidual() 180 7.988e-05 7.988e-05 7.988e-05 0.02% AmrLevel::restart() 1 6.861e-05 6.861e-05 6.861e-05 0.01% Castro::do_advance_ctu() 5 6.58e-05 6.58e-05 6.58e-05 0.01% StateData::restartDoit() 4 6.397e-05 6.397e-05 6.397e-05 0.01% Gravity::update_max_rhs() 6 6.381e-05 6.381e-05 6.381e-05 0.01% MLMG:computeResOfCorrection() 180 5.281e-05 5.281e-05 5.281e-05 0.01% Castro::construct_old_source() 25 5.023e-05 5.023e-05 5.023e-05 0.01% Gravity::solve_for_phi() 5 4.919e-05 4.919e-05 4.919e-05 0.01% Castro::finalize_do_advance() 5 4.374e-05 4.374e-05 4.374e-05 0.01% MLMG::actualBottomSolve() 36 3.825e-05 3.825e-05 3.825e-05 0.01% MLMG::solve() 6 3.721e-05 3.721e-05 3.721e-05 0.01% MLMG::mgVcycle_down::1 36 3.687e-05 3.687e-05 3.687e-05 0.01% Castro::initialize_advance() 5 3.63e-05 3.63e-05 3.63e-05 0.01% MLMG::mgVcycle_down::0 36 3.607e-05 3.607e-05 3.607e-05 0.01% MLMG::mgVcycle_down::2 36 3.454e-05 3.454e-05 3.454e-05 0.01% MLMG::mgVcycle_down::4 36 3.243e-05 3.243e-05 3.243e-05 0.01% Castro::clean_state() 30 3.212e-05 3.212e-05 3.212e-05 0.01% MLMG::mgVcycle_down::3 36 3.159e-05 3.159e-05 3.159e-05 0.01% Castro::post_timestep() 5 3.05e-05 3.05e-05 3.05e-05 0.01% Castro::post_restart() 1 2.831e-05 2.831e-05 2.831e-05 0.01% MLMG::mgVcycle_up::4 36 2.608e-05 2.608e-05 2.608e-05 0.01% MLPoisson::define() 6 2.518e-05 2.518e-05 2.518e-05 0.01% MLMG::oneIter() 36 2.362e-05 2.362e-05 2.362e-05 0.01% MLMG::mgVcycle_up::3 36 2.234e-05 2.234e-05 2.234e-05 0.00% MLMG::mgVcycle_up::0 36 2.134e-05 2.134e-05 2.134e-05 0.00% MLMG::mgVcycle_up::2 36 2.092e-05 2.092e-05 2.092e-05 0.00% MLCellLinOp::solutionResidual() 42 2.071e-05 2.071e-05 2.071e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.06e-05 2.06e-05 2.06e-05 0.00% MLMG::mgVcycle_up::1 36 2.011e-05 2.011e-05 2.011e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.649e-05 1.649e-05 1.649e-05 0.00% MLMG::ResNormInf() 42 1.581e-05 1.581e-05 1.581e-05 0.00% FillPatchSingleLevel 20 1.56e-05 1.56e-05 1.56e-05 0.00% MLMG::computeResidual() 36 1.503e-05 1.503e-05 1.503e-05 0.00% MLMG::mgVcycle_bottom 36 1.413e-05 1.413e-05 1.413e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.335e-05 1.335e-05 1.335e-05 0.00% Castro::construct_new_gravity() 5 1.31e-05 1.31e-05 1.31e-05 0.00% Castro::do_old_sources() 5 1.04e-05 1.04e-05 1.04e-05 0.00% Castro::do_new_sources() 5 9.88e-06 9.88e-06 9.88e-06 0.00% Gravity::actual_multilevel_solve() 1 8.909e-06 8.909e-06 8.909e-06 0.00% Castro::apply_source_to_state() 10 6.039e-06 6.039e-06 6.039e-06 0.00% Castro::construct_old_gravity() 5 5.715e-06 5.715e-06 5.715e-06 0.00% MLPoisson::prepareForSolve() 6 4.35e-06 4.35e-06 4.35e-06 0.00% MLMG::computeMLResidual() 6 4.131e-06 4.131e-06 4.131e-06 0.00% Castro::computeNewDt() 5 3.534e-06 3.534e-06 3.534e-06 0.00% Castro::expand_state() 5 3.487e-06 3.487e-06 3.487e-06 0.00% MLMG::getGradSolution() 6 3.092e-06 3.092e-06 3.092e-06 0.00% Amr::init() 1 7.98e-07 7.98e-07 7.98e-07 0.00% Other 2170 0.002493 0.002493 0.002493 0.54% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4575 0.4575 0.4575 100.00% Amr::coarseTimeStep() 5 0.3479 0.3479 0.3479 76.05% Amr::timeStep() 5 0.3458 0.3458 0.3458 75.60% Castro::advance() 5 0.3407 0.3407 0.3407 74.46% Castro::subcycle_advance_ctu() 5 0.3326 0.3326 0.3326 72.70% Castro::do_advance_ctu() 5 0.3325 0.3325 0.3325 72.67% Castro::construct_new_gravity() 5 0.1447 0.1447 0.1447 31.63% Castro::construct_ctu_hydro_source() 5 0.1447 0.1447 0.1447 31.62% Gravity::solve_phi_with_mlmg() 6 0.1384 0.1384 0.1384 30.26% Gravity::solve_for_phi() 5 0.133 0.133 0.133 29.07% Gravity::actual_solve_with_mlmg() 6 0.1326 0.1326 0.1326 28.99% MLMG::solve() 6 0.1205 0.1205 0.1205 26.34% MLMG::oneIter() 36 0.1125 0.1125 0.1125 24.60% MLMG::mgVcycle() 36 0.1109 0.1109 0.1109 24.23% Amr::init() 1 0.07251 0.07251 0.07251 15.85% Amr::restart() 1 0.07251 0.07251 0.07251 15.85% AmrLevel::restart() 1 0.06142 0.06142 0.06142 13.43% StateData::restartDoit() 4 0.06135 0.06135 0.06135 13.41% VisMF::Read() 3 0.06107 0.06107 0.06107 13.35% MLCellLinOp::smooth() 720 0.05603 0.05603 0.05603 12.25% MLCellLinOp::applyBC() 1910 0.05224 0.05224 0.05224 11.42% Amr::writePlotFile() 1 0.03625 0.03625 0.03625 7.92% VisMF::Write(FabArray) 1 0.0336 0.0336 0.0336 7.34% MLMG::mgVcycle_bottom 36 0.03245 0.03245 0.03245 7.09% MLMG::actualBottomSolve() 36 0.03244 0.03244 0.03244 7.09% MLCGSolver::bicgstab 36 0.03206 0.03206 0.03206 7.01% AmrLevel::FillPatch() 20 0.03175 0.03175 0.03175 6.94% FillPatchIterator::Initialize 20 0.02962 0.02962 0.02962 6.47% Castro::clean_state() 30 0.02912 0.02912 0.02912 6.37% FillPatchIterator::FillFromLevel0() 20 0.02881 0.02881 0.02881 6.30% FillPatchSingleLevel 20 0.02879 0.02879 0.02879 6.29% StateDataPhysBCFunct::() 20 0.02669 0.02669 0.02669 5.83% MLCellLinOp::apply() 464 0.01673 0.01673 0.01673 3.66% MLMG::mgVcycle_down::0 36 0.01652 0.01652 0.01652 3.61% FabArray::FillBoundary() 1730 0.01567 0.01567 0.01567 3.42% MLPoisson::Fsmooth() 1440 0.01547 0.01547 0.01547 3.38% FillBoundary_nowait() 1730 0.01531 0.01531 0.01531 3.35% StateData::FillBoundary(geom) 160 0.01351 0.01351 0.01351 2.95% MLMG::mgVcycle_up::0 36 0.01229 0.01229 0.01229 2.69% Castro::initialize_do_advance() 5 0.01197 0.01197 0.01197 2.62% Gravity::get_new_grav_vector() 5 0.01154 0.01154 0.01154 2.52% Castro::computeTemp() 30 0.01122 0.01122 0.01122 2.45% Castro::do_old_sources() 5 0.01113 0.01113 0.01113 2.43% Castro::construct_old_gravity() 5 0.01108 0.01108 0.01108 2.42% Gravity::get_old_grav_vector() 5 0.01107 0.01107 0.01107 2.42% Castro::normalize_species() 30 0.01037 0.01037 0.01037 2.27% MLPoisson::define() 6 0.009462 0.009462 0.009462 2.07% amrex::Dot() 484 0.009458 0.009458 0.009458 2.07% MLMG:computeResOfCorrection() 180 0.009382 0.009382 0.009382 2.05% MLCellLinOp::correctionResidual() 180 0.009329 0.009329 0.009329 2.04% FabArray::norminf() 465 0.00894 0.00894 0.00894 1.95% Castro::initialize_advance() 5 0.007687 0.007687 0.007687 1.68% MLMG::mgVcycle_down::1 36 0.007604 0.007604 0.007604 1.66% Castro::do_new_sources() 5 0.007123 0.007123 0.007123 1.56% MLMG::mgVcycle_down::2 36 0.007002 0.007002 0.007002 1.53% FabArray::setVal() 501 0.006893 0.006893 0.006893 1.51% Castro::expand_state() 5 0.006817 0.006817 0.006817 1.49% FabArray::ParallelCopy() 380 0.006804 0.006804 0.006804 1.49% MLMG::mgVcycle_down::3 36 0.006773 0.006773 0.006773 1.48% MLMG::mgVcycle_down::4 36 0.00671 0.00671 0.00671 1.47% FabArray::ParallelCopy_nowait() 380 0.006697 0.006697 0.006697 1.46% MLCellLinOp::defineAuxData() 6 0.006396 0.006396 0.006396 1.40% Castro::enforce_min_density() 30 0.006055 0.006055 0.006055 1.32% Castro::post_restart() 1 0.006036 0.006036 0.006036 1.32% FabArray::Saxpy() 597 0.006036 0.006036 0.006036 1.32% MLCGSolver::ParallelAllReduce 798 0.005714 0.005714 0.005714 1.25% Gravity::fill_multipole_BCs() 6 0.005659 0.005659 0.005659 1.24% Gravity::multilevel_solve_for_new_phi() 1 0.005658 0.005658 0.005658 1.24% Gravity::actual_multilevel_solve() 1 0.005641 0.005641 0.005641 1.23% amrex::Copy() 221 0.00559 0.00559 0.00559 1.22% MLMG::addInterpCorrection() 180 0.005563 0.005563 0.005563 1.22% MLMG::mgVcycle_up::1 36 0.005454 0.005454 0.005454 1.19% MLMG::mgVcycle_up::4 36 0.005439 0.005439 0.005439 1.19% MLMG::mgVcycle_up::2 36 0.005314 0.005314 0.005314 1.16% amrex::average_down 180 0.005258 0.005258 0.005258 1.15% MLMG::mgVcycle_up::3 36 0.005193 0.005193 0.005193 1.14% Castro::post_timestep() 5 0.005093 0.005093 0.005093 1.11% MLPoisson::Fapply() 464 0.00467 0.00467 0.00467 1.02% MLCellLinOp::solutionResidual() 42 0.003819 0.003819 0.003819 0.83% FabArray::Xpay() 325 0.003604 0.003604 0.003604 0.79% Castro::estTimeStep() 10 0.003145 0.003145 0.003145 0.69% MLMG::computeResidual() 36 0.002978 0.002978 0.002978 0.65% MLMG::prepareForSolve() 6 0.002921 0.002921 0.002921 0.64% Castro::reset_internal_energy(MultiFab) 30 0.00292 0.00292 0.00292 0.64% MLCellLinOp::defineBC() 6 0.002891 0.002891 0.002891 0.63% BndryData::define() 6 0.00275 0.00275 0.00275 0.60% Castro::construct_new_source() 25 0.001987 0.001987 0.001987 0.43% Castro::computeNewDt() 5 0.001921 0.001921 0.001921 0.42% Castro::construct_new_gravity_source() 5 0.001896 0.001896 0.001896 0.41% amrex::Add() 36 0.001649 0.001649 0.001649 0.36% Castro::construct_old_source() 25 0.001619 0.001619 0.001619 0.35% Castro::construct_old_gravity_source() 5 0.001569 0.001569 0.001569 0.34% Castro::enforce_speed_limit() 30 0.001445 0.001445 0.001445 0.32% Castro::finalize_do_advance() 5 0.001272 0.001272 0.001272 0.28% MLMG::ResNormInf() 42 0.00105 0.00105 0.00105 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009812 0.0009812 0.0009812 0.21% Castro::apply_source_to_state() 10 0.0009706 0.0009706 0.0009706 0.21% MLMG::getGradSolution() 6 0.0009307 0.0009307 0.0009307 0.20% MLCellLinOp::compGrad() 6 0.0009276 0.0009276 0.0009276 0.20% MLCellLinOp::setLevelBC() 6 0.0008936 0.0008936 0.0008936 0.20% check_for_negative_density() 5 0.0008671 0.0008671 0.0008671 0.19% MLMG::computeMLResidual() 6 0.0008595 0.0008595 0.0008595 0.19% Castro::reset_internal_energy(Fab) 240 0.000858 0.000858 0.000858 0.19% FabArrayBase::getCPC() 632 0.0008163 0.0008163 0.0008163 0.18% MLPoisson::prepareForSolve() 6 0.0007651 0.0007651 0.0007651 0.17% MLCellLinOp::prepareForSolve() 6 0.0007608 0.0007608 0.0007608 0.17% Gravity::update_max_rhs() 6 0.000737 0.000737 0.000737 0.16% FabArray::setDomainBndry() 20 0.0007049 0.0007049 0.0007049 0.15% FabArray::mult() 22 0.0007045 0.0007045 0.0007045 0.15% Other 2170 0.004571 0.004571 0.004571 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 58 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 1279 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2155 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 6470 KiB 14 MiB MLMG::prepareForSolve() 361 361 3235 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 250 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 258 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6457 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3208 B 2048 KiB Gravity::solve_for_phi() 40 40 594 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 298 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3196 B 480 KiB VisMF::Write(FabArray) 112 112 2376 B 320 KiB Castro::normalize_species() 30 30 7384 B 320 KiB amrex::average_down 469 469 1416 B 257 KiB MLMG::addInterpCorrection() 468 468 1036 B 257 KiB amrex::Dot() 592 592 3060 B 160 KiB FabArray::norminf() 501 501 3020 B 160 KiB check_for_negative_density() 5 5 304 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3135 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 3820 3820 202 B 9344 B amrex::Copy() 56 56 5916 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 91 B 3520 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 335 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 1306 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 79 KiB 8192 KiB VisMF::Write(FabArray) 120 120 206 KiB 3584 KiB VisMF::Read() 24 24 201 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3135 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 1910 1910 200 B 9328 B amrex::Copy() 56 56 5916 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 92 B 3520 B Gravity::get_old_grav_vector() 3 3 2542 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 795 B 1648 B amrex::average_down 37 37 470 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): 2109 [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.06-24-g2f93525639da) finalized