Initializing AMReX (24.05-18-g8eff86d32d17)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-18-g8eff86d32d17) initialized Starting run at 07:37:53 UTC on 2024-05-16. Successfully read inputs file ... Castro git describe: 24.05-8-g16ad4929f AMReX git describe: 24.05-18-g8eff86d32 Microphysics git describe: 24.05-5-g87839b75 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 Successfully read inputs file ... INITIAL GRIDS Level 0 8 grids 262144 cells 100 % of domain smallest grid: 32 x 32 x 32 biggest grid: 32 x 32 x 32 CHECKPOINT: file = dustcollapse-restart_chk00000 checkPoint() time = 0.04361617 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024457651 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.070042569 [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.049807858 [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.073387052 [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.079070828 [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.07642459 [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.045425976 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.052166157 [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.073361756 [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.072050435 [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.063229878 [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.066924889 [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.234932557 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025013434 seconds Ending run at 07:37:54 UTC on 2024-05-16. Run time = 1.102032651 Run time without initialization = 0.982514023 Average number of zones advanced per microsecond: 2.668 Average number of zones advanced per microsecond per rank: 2.668 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 1.102 ... 1.102 ... 1.102 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2901 0.2901 0.2901 26.33% Amr::checkPoint() 3 0.1937 0.1937 0.1937 17.58% VisMF::Write(FabArray) 11 0.177 0.177 0.177 16.07% MLCellLinOp::applyBC() 4298 0.08705 0.08705 0.08705 7.90% MLPoisson::Fsmooth() 3240 0.03324 0.03324 0.03324 3.02% FillBoundary_nowait() 3893 0.03102 0.03102 0.03102 2.81% StateData::FillBoundary(geom) 328 0.02597 0.02597 0.02597 2.36% amrex::Dot() 1100 0.02115 0.02115 0.02115 1.92% FabArray::norminf() 1048 0.01962 0.01962 0.01962 1.78% Castro::normalize_species() 62 0.01864 0.01864 0.01864 1.69% Castro::computeTemp() 63 0.01695 0.01695 0.01695 1.54% FabArray::ParallelCopy_nowait() 851 0.01367 0.01367 0.01367 1.24% FabArray::setVal() 1054 0.01342 0.01342 0.01342 1.22% StateDataPhysBCFunct::() 41 0.01338 0.01338 0.01338 1.21% FabArray::Saxpy() 1353 0.01298 0.01298 0.01298 1.18% Castro::enforce_min_density() 62 0.01103 0.01103 0.01103 1.00% amrex::Copy() 469 0.01095 0.01095 0.01095 0.99% MLCellLinOp::defineAuxData() 11 0.01031 0.01031 0.01031 0.94% MLPoisson::Fapply() 1047 0.01031 0.01031 0.01031 0.94% Gravity::fill_multipole_BCs() 11 0.009666 0.009666 0.009666 0.88% FabArray::Xpay() 730 0.00781 0.00781 0.00781 0.71% MLMG::addInterpCorrection() 405 0.007018 0.007018 0.007018 0.64% amrex::average_down 405 0.006138 0.006138 0.006138 0.56% Castro::estTimeStep() 21 0.005525 0.005525 0.005525 0.50% Castro::reset_internal_energy(MultiFab) 63 0.004991 0.004991 0.004991 0.45% BndryData::define() 11 0.003947 0.003947 0.003947 0.36% amrex::Add() 81 0.003585 0.003585 0.003585 0.33% Castro::construct_new_gravity_source() 10 0.00317 0.00317 0.00317 0.29% Castro::construct_old_gravity_source() 10 0.002851 0.002851 0.002851 0.26% Castro::enforce_speed_limit() 62 0.002476 0.002476 0.002476 0.22% Amr::writePlotFile() 2 0.002159 0.002159 0.002159 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001848 0.001848 0.001848 0.17% MLCGSolver::bicgstab 81 0.001662 0.001662 0.001662 0.15% Castro::reset_internal_energy(Fab) 504 0.001634 0.001634 0.001634 0.15% Gravity::actual_solve_with_mlmg() 11 0.001629 0.001629 0.001629 0.15% MLCellLinOp::setLevelBC() 11 0.001589 0.001589 0.001589 0.14% check_for_negative_density() 10 0.001568 0.001568 0.001568 0.14% Castro::initData() 1 0.001537 0.001537 0.001537 0.14% FabArray::mult() 43 0.001392 0.001392 0.001392 0.13% FabArray::setDomainBndry() 41 0.001378 0.001378 0.001378 0.13% MLCellLinOp::prepareForSolve() 11 0.00137 0.00137 0.00137 0.12% MLCellLinOp::compGrad() 11 0.001109 0.001109 0.001109 0.10% MLCellLinOp::smooth() 1620 0.001108 0.001108 0.001108 0.10% MLMG::prepareForSolve() 11 0.0009719 0.0009719 0.0009719 0.09% FabArrayBase::getCPC() 1313 0.0008616 0.0008616 0.0008616 0.08% FabArray::FillBoundary() 3893 0.0007761 0.0007761 0.0007761 0.07% Gravity::get_new_grav_vector() 11 0.0006332 0.0006332 0.0006332 0.06% Gravity::get_old_grav_vector() 10 0.0004896 0.0004896 0.0004896 0.04% MLCellLinOp::apply() 1047 0.0004372 0.0004372 0.0004372 0.04% AmrLevel::FillPatch() 41 0.0004242 0.0004242 0.0004242 0.04% Amr::coarseTimeStep() 10 0.0003565 0.0003565 0.0003565 0.03% MLCGSolver::ParallelAllReduce 1809 0.0003237 0.0003237 0.0003237 0.03% main() 1 0.0002853 0.0002853 0.0002853 0.03% MLCellLinOp::defineBC() 11 0.0002737 0.0002737 0.0002737 0.02% FabArray::ParallelCopy() 851 0.0002549 0.0002549 0.0002549 0.02% FillPatchIterator::Initialize 41 0.0002342 0.0002342 0.0002342 0.02% MLMG::mgVcycle() 81 0.0002099 0.0002099 0.0002099 0.02% Amr::timeStep() 10 0.0002055 0.0002055 0.0002055 0.02% MLCellLinOp::correctionResidual() 405 0.0001744 0.0001744 0.0001744 0.02% Castro::subcycle_advance_ctu() 10 0.0001741 0.0001741 0.0001741 0.02% StateData::checkPoint() 12 0.0001396 0.0001396 0.0001396 0.01% Castro::construct_new_source() 50 0.0001376 0.0001376 0.0001376 0.01% Gravity::solve_for_phi() 10 0.0001233 0.0001233 0.0001233 0.01% MLMG:computeResOfCorrection() 405 0.0001167 0.0001167 0.0001167 0.01% Castro::advance() 10 9.782e-05 9.782e-05 9.782e-05 0.01% AmrLevel::checkPoint() 3 9.509e-05 9.509e-05 9.509e-05 0.01% MLMG::actualBottomSolve() 81 8.433e-05 8.433e-05 8.433e-05 0.01% Castro::initialize_advance() 10 8.312e-05 8.312e-05 8.312e-05 0.01% MLMG::solve() 11 8.22e-05 8.22e-05 8.22e-05 0.01% Castro::clean_state() 62 7.976e-05 7.976e-05 7.976e-05 0.01% MLMG::mgVcycle_down::0 81 7.947e-05 7.947e-05 7.947e-05 0.01% MLMG::mgVcycle_down::1 81 6.939e-05 6.939e-05 6.939e-05 0.01% MLMG::mgVcycle_down::2 81 6.789e-05 6.789e-05 6.789e-05 0.01% MLMG::oneIter() 81 6.682e-05 6.682e-05 6.682e-05 0.01% MLMG::mgVcycle_down::3 81 6.596e-05 6.596e-05 6.596e-05 0.01% MLMG::mgVcycle_down::4 81 6.376e-05 6.376e-05 6.376e-05 0.01% Castro::initialize_do_advance() 10 6.215e-05 6.215e-05 6.215e-05 0.01% Castro::post_timestep() 10 6.041e-05 6.041e-05 6.041e-05 0.01% Castro::do_advance_ctu() 10 5.688e-05 5.688e-05 5.688e-05 0.01% MLMG::mgVcycle_up::4 81 5.584e-05 5.584e-05 5.584e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.369e-05 5.369e-05 5.369e-05 0.00% Castro::finalize_do_advance() 10 5.02e-05 5.02e-05 5.02e-05 0.00% MLMG::mgVcycle_up::0 81 4.953e-05 4.953e-05 4.953e-05 0.00% MLMG::mgVcycle_up::2 81 4.937e-05 4.937e-05 4.937e-05 0.00% MLCellLinOp::solutionResidual() 92 4.877e-05 4.877e-05 4.877e-05 0.00% MLMG::mgVcycle_up::3 81 4.772e-05 4.772e-05 4.772e-05 0.00% MLMG::mgVcycle_up::1 81 4.481e-05 4.481e-05 4.481e-05 0.00% FillPatchSingleLevel 41 3.941e-05 3.941e-05 3.941e-05 0.00% Amr::defBaseLevel() 1 3.626e-05 3.626e-05 3.626e-05 0.00% MLMG::ResNormInf() 92 3.344e-05 3.344e-05 3.344e-05 0.00% MLMG::mgVcycle_bottom 81 3.324e-05 3.324e-05 3.324e-05 0.00% MLMG::computeResidual() 81 3.289e-05 3.289e-05 3.289e-05 0.00% Castro::construct_new_gravity() 10 3.197e-05 3.197e-05 3.197e-05 0.00% MLPoisson::define() 11 2.949e-05 2.949e-05 2.949e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.541e-05 2.541e-05 2.541e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.436e-05 2.436e-05 2.436e-05 0.00% Castro::do_new_sources() 10 2.23e-05 2.23e-05 2.23e-05 0.00% Amr::FinalizeInit() 1 2.207e-05 2.207e-05 2.207e-05 0.00% Castro::do_old_sources() 10 2.104e-05 2.104e-05 2.104e-05 0.00% Castro::construct_old_source() 50 2.086e-05 2.086e-05 2.086e-05 0.00% Castro::apply_source_to_state() 20 1.41e-05 1.41e-05 1.41e-05 0.00% Castro::check_for_nan() 20 1.378e-05 1.378e-05 1.378e-05 0.00% Castro::construct_old_gravity() 10 1.175e-05 1.175e-05 1.175e-05 0.00% MLMG::computeMLResidual() 11 1.059e-05 1.059e-05 1.059e-05 0.00% Gravity::actual_multilevel_solve() 1 9.577e-06 9.577e-06 9.577e-06 0.00% Castro::computeNewDt() 9 9.33e-06 9.33e-06 9.33e-06 0.00% MLPoisson::prepareForSolve() 11 6.824e-06 6.824e-06 6.824e-06 0.00% Castro::expand_state() 10 6.759e-06 6.759e-06 6.759e-06 0.00% MLMG::getGradSolution() 11 6.692e-06 6.692e-06 6.692e-06 0.00% Amr::InitializeInit() 1 6.255e-06 6.255e-06 6.255e-06 0.00% Castro::post_init() 1 5.272e-06 5.272e-06 5.272e-06 0.00% Amr::init() 1 2.632e-06 2.632e-06 2.632e-06 0.00% Amr::initialInit() 1 9.84e-07 9.84e-07 9.84e-07 0.00% Other 4725 0.004677 0.004677 0.004677 0.42% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 1.102 1.102 1.102 100.00% Amr::coarseTimeStep() 10 0.9573 0.9573 0.9573 86.86% Amr::timeStep() 10 0.673 0.673 0.673 61.07% Castro::advance() 10 0.6624 0.6624 0.6624 60.11% Castro::subcycle_advance_ctu() 10 0.6494 0.6494 0.6494 58.92% Castro::do_advance_ctu() 10 0.6492 0.6492 0.6492 58.91% Amr::checkPoint() 3 0.3241 0.3241 0.3241 29.41% Gravity::solve_phi_with_mlmg() 11 0.3004 0.3004 0.3004 27.25% Castro::construct_ctu_hydro_source() 10 0.2998 0.2998 0.2998 27.20% Gravity::actual_solve_with_mlmg() 11 0.2902 0.2902 0.2902 26.33% Castro::construct_new_gravity() 10 0.2754 0.2754 0.2754 24.99% MLMG::solve() 11 0.268 0.268 0.268 24.32% Gravity::solve_for_phi() 10 0.2591 0.2591 0.2591 23.51% MLMG::oneIter() 81 0.2524 0.2524 0.2524 22.90% MLMG::mgVcycle() 81 0.2487 0.2487 0.2487 22.57% VisMF::Write(FabArray) 11 0.177 0.177 0.177 16.07% AmrLevel::checkPoint() 3 0.1304 0.1304 0.1304 11.83% StateData::checkPoint() 12 0.1303 0.1303 0.1303 11.82% MLCellLinOp::smooth() 1620 0.1208 0.1208 0.1208 10.96% MLCellLinOp::applyBC() 4298 0.1196 0.1196 0.1196 10.85% Amr::init() 1 0.1188 0.1188 0.1188 10.78% MLMG::mgVcycle_bottom 81 0.07915 0.07915 0.07915 7.18% MLMG::actualBottomSolve() 81 0.07911 0.07911 0.07911 7.18% MLCGSolver::bicgstab 81 0.07831 0.07831 0.07831 7.11% Castro::clean_state() 62 0.0548 0.0548 0.0548 4.97% Amr::initialInit() 1 0.05062 0.05062 0.05062 4.59% Amr::writePlotFile() 2 0.04959 0.04959 0.04959 4.50% AmrLevel::FillPatch() 41 0.04951 0.04951 0.04951 4.49% Amr::FinalizeInit() 1 0.04564 0.04564 0.04564 4.14% FillPatchIterator::Initialize 41 0.04517 0.04517 0.04517 4.10% Castro::post_init() 1 0.04417 0.04417 0.04417 4.01% FillPatchIterator::FillFromLevel0() 41 0.04356 0.04356 0.04356 3.95% FillPatchSingleLevel 41 0.04351 0.04351 0.04351 3.95% MLCellLinOp::apply() 1047 0.04338 0.04338 0.04338 3.94% Gravity::multilevel_solve_for_new_phi() 1 0.04171 0.04171 0.04171 3.78% Gravity::actual_multilevel_solve() 1 0.04168 0.04168 0.04168 3.78% StateDataPhysBCFunct::() 41 0.03935 0.03935 0.03935 3.57% MLMG::mgVcycle_down::0 81 0.03464 0.03464 0.03464 3.14% MLPoisson::Fsmooth() 3240 0.03324 0.03324 0.03324 3.02% FabArray::FillBoundary() 3893 0.03252 0.03252 0.03252 2.95% FillBoundary_nowait() 3893 0.03175 0.03175 0.03175 2.88% MLMG::mgVcycle_up::0 81 0.02635 0.02635 0.02635 2.39% StateData::FillBoundary(geom) 328 0.02597 0.02597 0.02597 2.36% Castro::computeTemp() 63 0.02357 0.02357 0.02357 2.14% Castro::initialize_do_advance() 10 0.02288 0.02288 0.02288 2.08% amrex::Dot() 1100 0.02115 0.02115 0.02115 1.92% Castro::do_old_sources() 10 0.02031 0.02031 0.02031 1.84% MLMG:computeResOfCorrection() 405 0.02029 0.02029 0.02029 1.84% MLCellLinOp::correctionResidual() 405 0.02017 0.02017 0.02017 1.83% FabArray::norminf() 1048 0.01962 0.01962 0.01962 1.78% Castro::normalize_species() 62 0.01864 0.01864 0.01864 1.69% Gravity::get_new_grav_vector() 11 0.01835 0.01835 0.01835 1.67% MLPoisson::define() 11 0.01737 0.01737 0.01737 1.58% MLMG::mgVcycle_down::1 81 0.01652 0.01652 0.01652 1.50% Castro::construct_old_gravity() 10 0.01545 0.01545 0.01545 1.40% Gravity::get_old_grav_vector() 10 0.01544 0.01544 0.01544 1.40% MLMG::mgVcycle_down::2 81 0.01529 0.01529 0.01529 1.39% MLMG::mgVcycle_down::3 81 0.01489 0.01489 0.01489 1.35% FabArray::ParallelCopy() 851 0.01478 0.01478 0.01478 1.34% MLMG::mgVcycle_down::4 81 0.01476 0.01476 0.01476 1.34% FabArray::ParallelCopy_nowait() 851 0.01452 0.01452 0.01452 1.32% FabArray::setVal() 1054 0.01342 0.01342 0.01342 1.22% FabArray::Saxpy() 1353 0.01298 0.01298 0.01298 1.18% MLCGSolver::ParallelAllReduce 1809 0.01269 0.01269 0.01269 1.15% Castro::expand_state() 10 0.01251 0.01251 0.01251 1.14% Castro::do_new_sources() 10 0.01245 0.01245 0.01245 1.13% MLMG::addInterpCorrection() 405 0.01236 0.01236 0.01236 1.12% Castro::initialize_advance() 10 0.01235 0.01235 0.01235 1.12% MLMG::mgVcycle_up::1 81 0.01194 0.01194 0.01194 1.08% MLMG::mgVcycle_up::4 81 0.01191 0.01191 0.01191 1.08% MLCellLinOp::defineAuxData() 11 0.0118 0.0118 0.0118 1.07% MLMG::mgVcycle_up::2 81 0.01164 0.01164 0.01164 1.06% amrex::average_down 405 0.01145 0.01145 0.01145 1.04% MLMG::mgVcycle_up::3 81 0.01142 0.01142 0.01142 1.04% Castro::enforce_min_density() 62 0.01103 0.01103 0.01103 1.00% amrex::Copy() 469 0.01095 0.01095 0.01095 0.99% Castro::post_timestep() 10 0.01036 0.01036 0.01036 0.94% MLPoisson::Fapply() 1047 0.01031 0.01031 0.01031 0.94% Gravity::fill_multipole_BCs() 11 0.009911 0.009911 0.009911 0.90% MLCellLinOp::solutionResidual() 92 0.00788 0.00788 0.00788 0.71% FabArray::Xpay() 730 0.00781 0.00781 0.00781 0.71% Castro::reset_internal_energy(MultiFab) 63 0.006625 0.006625 0.006625 0.60% MLMG::computeResidual() 81 0.006595 0.006595 0.006595 0.60% Castro::estTimeStep() 21 0.005525 0.005525 0.005525 0.50% MLCellLinOp::defineBC() 11 0.005263 0.005263 0.005263 0.48% MLMG::prepareForSolve() 11 0.005199 0.005199 0.005199 0.47% BndryData::define() 11 0.004989 0.004989 0.004989 0.45% Amr::InitializeInit() 1 0.004978 0.004978 0.004978 0.45% Amr::defBaseLevel() 1 0.004972 0.004972 0.004972 0.45% Castro::initData() 1 0.004275 0.004275 0.004275 0.39% amrex::Add() 81 0.003585 0.003585 0.003585 0.33% Castro::construct_new_source() 50 0.003308 0.003308 0.003308 0.30% Castro::construct_new_gravity_source() 10 0.00317 0.00317 0.00317 0.29% Castro::construct_old_source() 50 0.002872 0.002872 0.002872 0.26% Castro::construct_old_gravity_source() 10 0.002851 0.002851 0.002851 0.26% Castro::computeNewDt() 9 0.002594 0.002594 0.002594 0.24% Castro::enforce_speed_limit() 62 0.002476 0.002476 0.002476 0.22% MLMG::ResNormInf() 92 0.002173 0.002173 0.002173 0.20% Castro::apply_source_to_state() 20 0.001888 0.001888 0.001888 0.17% Castro::finalize_do_advance() 10 0.001875 0.001875 0.001875 0.17% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001848 0.001848 0.001848 0.17% Castro::reset_internal_energy(Fab) 504 0.001634 0.001634 0.001634 0.15% MLMG::getGradSolution() 11 0.001632 0.001632 0.001632 0.15% MLCellLinOp::compGrad() 11 0.001625 0.001625 0.001625 0.15% MLCellLinOp::setLevelBC() 11 0.001589 0.001589 0.001589 0.14% check_for_negative_density() 10 0.001568 0.001568 0.001568 0.14% FabArrayBase::getCPC() 1313 0.001531 0.001531 0.001531 0.14% FabArray::mult() 43 0.001392 0.001392 0.001392 0.13% FabArray::setDomainBndry() 41 0.001378 0.001378 0.001378 0.13% MLPoisson::prepareForSolve() 11 0.001376 0.001376 0.001376 0.12% MLCellLinOp::prepareForSolve() 11 0.00137 0.00137 0.00137 0.12% MLMG::computeMLResidual() 11 0.001328 0.001328 0.001328 0.12% Castro::check_for_nan() 20 0.001304 0.001304 0.001304 0.12% Other 4725 0.01073 0.01073 0.01073 0.97% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 4663 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 883 KiB 39 MiB Castro::initialize_do_advance() 80 80 22 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1255 KiB 28 MiB Castro::initialize_advance() 80 80 14 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 660 660 2992 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 173 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 143 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7530 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1763 B 2048 KiB Gravity::solve_for_phi() 80 80 481 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 77 KiB 2048 KiB BndryData::define() 1056 1056 273 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 174 KiB 671 KiB Castro::estTimeStep() 21 21 2443 B 480 KiB VisMF::Write(FabArray) 656 656 2784 B 320 KiB Castro::normalize_species() 62 62 5509 B 320 KiB amrex::average_down 1054 1054 1427 B 257 KiB MLMG::addInterpCorrection() 1053 1053 963 B 257 KiB amrex::Dot() 1343 1343 2837 B 160 KiB FabArray::norminf() 1129 1129 2751 B 160 KiB check_for_negative_density() 10 10 226 B 160 KiB Castro::initData() 1 1 42 B 160 KiB MultiFab::max() 11 11 48 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 23 B 20 KiB MLPoisson::Fsmooth() 132 132 2921 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 36 B 10 KiB FillBoundary_nowait() 751 751 244 B 9648 B MLCellLinOp::applyBC() 8596 8596 181 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3807 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 308 B 1248 B MLCGSolver::bicgstab 405 405 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 577 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 345 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 2921 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 36 B 10 KiB FillBoundary_nowait() 751 751 244 B 9648 B MLCellLinOp::applyBC() 4298 4298 179 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3807 B 6144 B Gravity::get_new_grav_vector() 3 3 2933 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B amrex::average_down 82 82 618 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 249 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 23 B 400 B FabArray::norminf() 1129 1129 8 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-18-g8eff86d32d17) finalized Initializing AMReX (24.05-18-g8eff86d32d17)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-18-g8eff86d32d17) initialized Starting run at 07:37:54 UTC on 2024-05-16. Successfully read inputs file ... Castro git describe: 24.05-8-g16ad4929f AMReX git describe: 24.05-18-g8eff86d32 Microphysics git describe: 24.05-5-g87839b75 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.513739547 Restart time = 0.070615841 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.068835401 [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.048370987 [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.072886857 [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.070210238 [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.054924476 [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.026626761 seconds Ending run at 07:37:55 UTC on 2024-05-16. Run time = 0.413678322 Run time without initialization = 0.342347137 Average number of zones advanced per microsecond: 3.829 Average number of zones advanced per microsecond per rank: 3.829 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4137 ... 0.4137 ... 0.4137 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1223 0.1223 0.1223 29.57% VisMF::Read() 3 0.05936 0.05936 0.05936 14.35% MLCellLinOp::applyBC() 1910 0.03511 0.03511 0.03511 8.49% VisMF::Write(FabArray) 1 0.02388 0.02388 0.02388 5.77% MLPoisson::Fsmooth() 1440 0.01453 0.01453 0.01453 3.51% FillBoundary_nowait() 1730 0.0133 0.0133 0.0133 3.22% StateData::FillBoundary(geom) 160 0.0128 0.0128 0.0128 3.09% Castro::normalize_species() 30 0.01062 0.01062 0.01062 2.57% amrex::Dot() 484 0.009034 0.009034 0.009034 2.18% FabArray::norminf() 465 0.008526 0.008526 0.008526 2.06% Castro::computeTemp() 30 0.007969 0.007969 0.007969 1.93% Castro::enforce_min_density() 30 0.007036 0.007036 0.007036 1.70% FabArray::setVal() 501 0.006518 0.006518 0.006518 1.58% FabArray::ParallelCopy_nowait() 380 0.006099 0.006099 0.006099 1.47% FabArray::Saxpy() 597 0.005733 0.005733 0.005733 1.39% MLCellLinOp::defineAuxData() 6 0.005588 0.005588 0.005588 1.35% amrex::Copy() 221 0.005442 0.005442 0.005442 1.32% StateDataPhysBCFunct::() 20 0.005414 0.005414 0.005414 1.31% Gravity::fill_multipole_BCs() 6 0.005265 0.005265 0.005265 1.27% Amr::restart() 1 0.004964 0.004964 0.004964 1.20% MLPoisson::Fapply() 464 0.004425 0.004425 0.004425 1.07% FabArray::Xpay() 325 0.003424 0.003424 0.003424 0.83% MLMG::addInterpCorrection() 180 0.003079 0.003079 0.003079 0.74% Castro::estTimeStep() 10 0.003007 0.003007 0.003007 0.73% amrex::average_down 180 0.002713 0.002713 0.002713 0.66% Amr::writePlotFile() 1 0.00258 0.00258 0.00258 0.62% BndryData::define() 6 0.002114 0.002114 0.002114 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002018 0.002018 0.002018 0.49% Castro::construct_new_gravity_source() 5 0.001671 0.001671 0.001671 0.40% amrex::Add() 36 0.001545 0.001545 0.001545 0.37% Castro::construct_old_gravity_source() 5 0.001298 0.001298 0.001298 0.31% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009899 0.0009899 0.0009899 0.24% MLCellLinOp::setLevelBC() 6 0.0008654 0.0008654 0.0008654 0.21% check_for_negative_density() 5 0.0008574 0.0008574 0.0008574 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008503 0.0008503 0.0008503 0.21% Castro::reset_internal_energy(Fab) 240 0.0007873 0.0007873 0.0007873 0.19% MLCellLinOp::prepareForSolve() 6 0.0007429 0.0007429 0.0007429 0.18% MLCGSolver::bicgstab 36 0.0007011 0.0007011 0.0007011 0.17% FabArray::setDomainBndry() 20 0.0006934 0.0006934 0.0006934 0.17% FabArray::mult() 22 0.0006912 0.0006912 0.0006912 0.17% MultiFab::contains_nan() 10 0.000663 0.000663 0.000663 0.16% MLCellLinOp::compGrad() 6 0.0005992 0.0005992 0.0005992 0.14% MLMG::prepareForSolve() 6 0.0005466 0.0005466 0.0005466 0.13% MLCellLinOp::smooth() 720 0.0004839 0.0004839 0.0004839 0.12% FabArray::FillBoundary() 1730 0.0003663 0.0003663 0.0003663 0.09% FabArrayBase::getCPC() 632 0.0003651 0.0003651 0.0003651 0.09% Gravity::get_old_grav_vector() 5 0.0003371 0.0003371 0.0003371 0.08% Gravity::get_new_grav_vector() 5 0.0003218 0.0003218 0.0003218 0.08% main() 1 0.0002985 0.0002985 0.0002985 0.07% AmrLevel::FillPatch() 20 0.0002063 0.0002063 0.0002063 0.05% Amr::coarseTimeStep() 5 0.0002033 0.0002033 0.0002033 0.05% MLCellLinOp::apply() 464 0.0001988 0.0001988 0.0001988 0.05% MLCellLinOp::defineBC() 6 0.0001485 0.0001485 0.0001485 0.04% MLCGSolver::ParallelAllReduce 798 0.0001332 0.0001332 0.0001332 0.03% FabArray::ParallelCopy() 380 0.000117 0.000117 0.000117 0.03% Castro::subcycle_advance_ctu() 5 0.0001169 0.0001169 0.0001169 0.03% FillPatchIterator::Initialize 20 0.0001084 0.0001084 0.0001084 0.03% Amr::timeStep() 5 9.785e-05 9.785e-05 9.785e-05 0.02% MLMG::mgVcycle() 36 8.986e-05 8.986e-05 8.986e-05 0.02% Gravity::update_max_rhs() 6 8.782e-05 8.782e-05 8.782e-05 0.02% MLCellLinOp::correctionResidual() 180 7.327e-05 7.327e-05 7.327e-05 0.02% AmrLevel::restart() 1 7.137e-05 7.137e-05 7.137e-05 0.02% Castro::initialize_do_advance() 5 6.868e-05 6.868e-05 6.868e-05 0.02% Castro::advance() 5 6.314e-05 6.314e-05 6.314e-05 0.02% StateData::restartDoit() 4 6.194e-05 6.194e-05 6.194e-05 0.01% Castro::post_timestep() 5 6.04e-05 6.04e-05 6.04e-05 0.01% Gravity::solve_for_phi() 5 5.024e-05 5.024e-05 5.024e-05 0.01% Castro::construct_new_source() 25 4.914e-05 4.914e-05 4.914e-05 0.01% MLMG:computeResOfCorrection() 180 4.672e-05 4.672e-05 4.672e-05 0.01% Castro::do_advance_ctu() 5 4.555e-05 4.555e-05 4.555e-05 0.01% Castro::finalize_do_advance() 5 4.299e-05 4.299e-05 4.299e-05 0.01% Castro::initialize_advance() 5 3.976e-05 3.976e-05 3.976e-05 0.01% MLMG::actualBottomSolve() 36 3.556e-05 3.556e-05 3.556e-05 0.01% MLMG::solve() 6 3.513e-05 3.513e-05 3.513e-05 0.01% MLMG::mgVcycle_down::0 36 3.463e-05 3.463e-05 3.463e-05 0.01% Castro::clean_state() 30 3.442e-05 3.442e-05 3.442e-05 0.01% MLMG::mgVcycle_down::1 36 3.113e-05 3.113e-05 3.113e-05 0.01% MLMG::mgVcycle_down::3 36 3.059e-05 3.059e-05 3.059e-05 0.01% MLMG::mgVcycle_down::2 36 2.898e-05 2.898e-05 2.898e-05 0.01% MLMG::mgVcycle_down::4 36 2.806e-05 2.806e-05 2.806e-05 0.01% Castro::construct_old_source() 25 2.772e-05 2.772e-05 2.772e-05 0.01% MLMG::oneIter() 36 2.685e-05 2.685e-05 2.685e-05 0.01% MLMG::mgVcycle_up::4 36 2.484e-05 2.484e-05 2.484e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.367e-05 2.367e-05 2.367e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.277e-05 2.277e-05 2.277e-05 0.01% MLMG::mgVcycle_up::3 36 2.217e-05 2.217e-05 2.217e-05 0.01% MLMG::mgVcycle_up::2 36 2.139e-05 2.139e-05 2.139e-05 0.01% MLMG::mgVcycle_up::0 36 2.128e-05 2.128e-05 2.128e-05 0.01% Castro::post_restart() 1 2.127e-05 2.127e-05 2.127e-05 0.01% MLMG::mgVcycle_up::1 36 2.051e-05 2.051e-05 2.051e-05 0.00% MLCellLinOp::solutionResidual() 42 2.043e-05 2.043e-05 2.043e-05 0.00% MLPoisson::define() 6 2.029e-05 2.029e-05 2.029e-05 0.00% FillPatchSingleLevel 20 1.636e-05 1.636e-05 1.636e-05 0.00% MLMG::ResNormInf() 42 1.619e-05 1.619e-05 1.619e-05 0.00% MLMG::mgVcycle_bottom 36 1.466e-05 1.466e-05 1.466e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.343e-05 1.343e-05 1.343e-05 0.00% MLMG::computeResidual() 36 1.305e-05 1.305e-05 1.305e-05 0.00% Castro::construct_new_gravity() 5 1.171e-05 1.171e-05 1.171e-05 0.00% Castro::do_old_sources() 5 1.139e-05 1.139e-05 1.139e-05 0.00% Castro::do_new_sources() 5 9.802e-06 9.802e-06 9.802e-06 0.00% Castro::expand_state() 5 9.038e-06 9.038e-06 9.038e-06 0.00% MLMG::getGradSolution() 6 8.519e-06 8.519e-06 8.519e-06 0.00% Gravity::actual_multilevel_solve() 1 8.176e-06 8.176e-06 8.176e-06 0.00% Castro::check_for_nan() 10 6.298e-06 6.298e-06 6.298e-06 0.00% Castro::construct_old_gravity() 5 5.786e-06 5.786e-06 5.786e-06 0.00% Castro::apply_source_to_state() 10 5.576e-06 5.576e-06 5.576e-06 0.00% Castro::computeNewDt() 5 4.54e-06 4.54e-06 4.54e-06 0.00% MLMG::computeMLResidual() 6 4.501e-06 4.501e-06 4.501e-06 0.00% MLPoisson::prepareForSolve() 6 3.275e-06 3.275e-06 3.275e-06 0.00% Amr::init() 1 8.79e-07 8.79e-07 8.79e-07 0.00% Other 2180 0.002264 0.002264 0.002264 0.55% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4137 0.4137 0.4137 99.99% Amr::coarseTimeStep() 5 0.3154 0.3154 0.3154 76.24% Amr::timeStep() 5 0.3133 0.3133 0.3133 75.73% Castro::advance() 5 0.308 0.308 0.308 74.44% Castro::subcycle_advance_ctu() 5 0.3008 0.3008 0.3008 72.71% Castro::do_advance_ctu() 5 0.3007 0.3007 0.3007 72.68% Castro::construct_new_gravity() 5 0.1345 0.1345 0.1345 32.52% Gravity::solve_phi_with_mlmg() 6 0.1314 0.1314 0.1314 31.76% Castro::construct_ctu_hydro_source() 5 0.1275 0.1275 0.1275 30.82% Gravity::solve_for_phi() 5 0.1262 0.1262 0.1262 30.50% Gravity::actual_solve_with_mlmg() 6 0.1259 0.1259 0.1259 30.43% MLMG::solve() 6 0.1139 0.1139 0.1139 27.53% MLMG::oneIter() 36 0.1063 0.1063 0.1063 25.68% MLMG::mgVcycle() 36 0.1047 0.1047 0.1047 25.30% Amr::init() 1 0.07068 0.07068 0.07068 17.08% Amr::restart() 1 0.07068 0.07068 0.07068 17.08% AmrLevel::restart() 1 0.05971 0.05971 0.05971 14.43% StateData::restartDoit() 4 0.05964 0.05964 0.05964 14.41% VisMF::Read() 3 0.05936 0.05936 0.05936 14.35% MLCellLinOp::smooth() 720 0.0526 0.0526 0.0526 12.71% MLCellLinOp::applyBC() 1910 0.0491 0.0491 0.0491 11.87% MLMG::mgVcycle_bottom 36 0.03095 0.03095 0.03095 7.48% MLMG::actualBottomSolve() 36 0.03093 0.03093 0.03093 7.48% MLCGSolver::bicgstab 36 0.03057 0.03057 0.03057 7.39% Castro::clean_state() 30 0.02884 0.02884 0.02884 6.97% Amr::writePlotFile() 1 0.02672 0.02672 0.02672 6.46% VisMF::Write(FabArray) 1 0.02388 0.02388 0.02388 5.77% AmrLevel::FillPatch() 20 0.02322 0.02322 0.02322 5.61% FillPatchIterator::Initialize 20 0.02111 0.02111 0.02111 5.10% FillPatchIterator::FillFromLevel0() 20 0.02031 0.02031 0.02031 4.91% FillPatchSingleLevel 20 0.02029 0.02029 0.02029 4.90% StateDataPhysBCFunct::() 20 0.01821 0.01821 0.01821 4.40% MLCellLinOp::apply() 464 0.01585 0.01585 0.01585 3.83% MLMG::mgVcycle_down::0 36 0.01519 0.01519 0.01519 3.67% MLPoisson::Fsmooth() 1440 0.01453 0.01453 0.01453 3.51% FabArray::FillBoundary() 1730 0.01399 0.01399 0.01399 3.38% FillBoundary_nowait() 1730 0.01363 0.01363 0.01363 3.29% StateData::FillBoundary(geom) 160 0.0128 0.0128 0.0128 3.09% MLMG::mgVcycle_up::0 36 0.0113 0.0113 0.0113 2.73% Castro::initialize_do_advance() 5 0.01125 0.01125 0.01125 2.72% Castro::computeTemp() 30 0.01077 0.01077 0.01077 2.60% Castro::normalize_species() 30 0.01062 0.01062 0.01062 2.57% Castro::do_old_sources() 5 0.01008 0.01008 0.01008 2.44% MLPoisson::define() 6 0.009392 0.009392 0.009392 2.27% amrex::Dot() 484 0.009034 0.009034 0.009034 2.18% MLMG:computeResOfCorrection() 180 0.008772 0.008772 0.008772 2.12% MLCellLinOp::correctionResidual() 180 0.008726 0.008726 0.008726 2.11% FabArray::norminf() 465 0.008526 0.008526 0.008526 2.06% Gravity::get_new_grav_vector() 5 0.008231 0.008231 0.008231 1.99% Castro::do_new_sources() 5 0.00796 0.00796 0.00796 1.92% Castro::construct_old_gravity() 5 0.007717 0.007717 0.007717 1.87% Gravity::get_old_grav_vector() 5 0.007711 0.007711 0.007711 1.86% MLMG::mgVcycle_down::1 36 0.007216 0.007216 0.007216 1.74% Castro::enforce_min_density() 30 0.007036 0.007036 0.007036 1.70% Castro::initialize_advance() 5 0.006778 0.006778 0.006778 1.64% MLMG::mgVcycle_down::2 36 0.00663 0.00663 0.00663 1.60% FabArray::ParallelCopy() 380 0.006606 0.006606 0.006606 1.60% FabArray::setVal() 501 0.006518 0.006518 0.006518 1.58% MLMG::mgVcycle_down::3 36 0.006505 0.006505 0.006505 1.57% FabArray::ParallelCopy_nowait() 380 0.006489 0.006489 0.006489 1.57% MLMG::mgVcycle_down::4 36 0.006429 0.006429 0.006429 1.55% MLCellLinOp::defineAuxData() 6 0.006386 0.006386 0.006386 1.54% Castro::expand_state() 5 0.005967 0.005967 0.005967 1.44% Castro::post_restart() 1 0.00582 0.00582 0.00582 1.41% FabArray::Saxpy() 597 0.005733 0.005733 0.005733 1.39% MLCGSolver::ParallelAllReduce 798 0.00548 0.00548 0.00548 1.32% Gravity::multilevel_solve_for_new_phi() 1 0.005462 0.005462 0.005462 1.32% amrex::Copy() 221 0.005442 0.005442 0.005442 1.32% Gravity::actual_multilevel_solve() 1 0.005439 0.005439 0.005439 1.31% Gravity::fill_multipole_BCs() 6 0.005392 0.005392 0.005392 1.30% MLMG::addInterpCorrection() 180 0.005342 0.005342 0.005342 1.29% Castro::post_timestep() 5 0.005236 0.005236 0.005236 1.27% MLMG::mgVcycle_up::4 36 0.005199 0.005199 0.005199 1.26% MLMG::mgVcycle_up::1 36 0.00515 0.00515 0.00515 1.24% MLMG::mgVcycle_up::2 36 0.005074 0.005074 0.005074 1.23% amrex::average_down 180 0.004998 0.004998 0.004998 1.21% MLMG::mgVcycle_up::3 36 0.004956 0.004956 0.004956 1.20% MLPoisson::Fapply() 464 0.004425 0.004425 0.004425 1.07% MLCellLinOp::solutionResidual() 42 0.003655 0.003655 0.003655 0.88% FabArray::Xpay() 325 0.003424 0.003424 0.003424 0.83% Castro::estTimeStep() 10 0.003007 0.003007 0.003007 0.73% MLCellLinOp::defineBC() 6 0.002842 0.002842 0.002842 0.69% MLMG::computeResidual() 36 0.00284 0.00284 0.00284 0.69% MLMG::prepareForSolve() 6 0.002824 0.002824 0.002824 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002805 0.002805 0.002805 0.68% BndryData::define() 6 0.002693 0.002693 0.002693 0.65% Castro::computeNewDt() 5 0.001919 0.001919 0.001919 0.46% Castro::construct_new_source() 25 0.00172 0.00172 0.00172 0.42% Castro::construct_new_gravity_source() 5 0.001671 0.001671 0.001671 0.40% amrex::Add() 36 0.001545 0.001545 0.001545 0.37% Castro::construct_old_source() 25 0.001325 0.001325 0.001325 0.32% Castro::construct_old_gravity_source() 5 0.001298 0.001298 0.001298 0.31% Castro::finalize_do_advance() 5 0.001136 0.001136 0.001136 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009899 0.0009899 0.0009899 0.24% MLMG::ResNormInf() 42 0.0009867 0.0009867 0.0009867 0.24% Castro::apply_source_to_state() 10 0.0009641 0.0009641 0.0009641 0.23% MLMG::getGradSolution() 6 0.0008945 0.0008945 0.0008945 0.22% MLCellLinOp::compGrad() 6 0.000886 0.000886 0.000886 0.21% MLCellLinOp::setLevelBC() 6 0.0008654 0.0008654 0.0008654 0.21% check_for_negative_density() 5 0.0008574 0.0008574 0.0008574 0.21% MLMG::computeMLResidual() 6 0.000832 0.000832 0.000832 0.20% Castro::reset_internal_energy(Fab) 240 0.0007873 0.0007873 0.0007873 0.19% FabArrayBase::getCPC() 632 0.000778 0.000778 0.000778 0.19% Gravity::update_max_rhs() 6 0.0007574 0.0007574 0.0007574 0.18% MLPoisson::prepareForSolve() 6 0.0007461 0.0007461 0.0007461 0.18% MLCellLinOp::prepareForSolve() 6 0.0007429 0.0007429 0.0007429 0.18% FabArray::setDomainBndry() 20 0.0006934 0.0006934 0.0006934 0.17% FabArray::mult() 22 0.0006912 0.0006912 0.0006912 0.17% Castro::check_for_nan() 10 0.0006693 0.0006693 0.0006693 0.16% MultiFab::contains_nan() 10 0.000663 0.000663 0.000663 0.16% Other 2180 0.0035 0.0035 0.0035 0.85% -------------------------------------------------------------------------------------------- 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 1107 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1710 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 6378 KiB 14 MiB MLMG::prepareForSolve() 361 361 3379 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 193 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 203 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6365 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3600 B 2048 KiB Gravity::solve_for_phi() 40 40 623 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 3471 B 480 KiB VisMF::Write(FabArray) 112 112 1318 B 320 KiB Castro::normalize_species() 30 30 8355 B 320 KiB amrex::average_down 469 469 1405 B 257 KiB MLMG::addInterpCorrection() 468 468 1101 B 257 KiB amrex::Dot() 592 592 3219 B 160 KiB FabArray::norminf() 501 501 3177 B 160 KiB check_for_negative_density() 5 5 332 B 160 KiB MultiFab::max() 6 6 77 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3273 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 277 B 9648 B MLCellLinOp::applyBC() 3820 3820 212 B 9344 B amrex::Copy() 56 56 5815 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 45 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 350 B 1248 B MLCGSolver::bicgstab 180 180 89 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1144 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 159 KiB 3584 KiB VisMF::Read() 24 24 218 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3273 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 277 B 9648 B MLCellLinOp::applyBC() 1910 1910 210 B 9328 B amrex::Copy() 56 56 5815 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2497 B 3072 B StateData::FillBoundary(geom) 960 960 45 B 2976 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 799 B 1648 B amrex::average_down 37 37 454 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.05-18-g8eff86d32d17) finalized