Initializing AMReX (24.06-21-g259db7cfb99e)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-21-g259db7cfb99e) initialized Starting run at 08:32:08 UTC on 2024-06-21. Successfully read inputs file ... Castro git describe: 24.06-14-g5f48f9561 AMReX git describe: 24.06-21-g259db7cfb Microphysics git describe: 24.06-10-g30469dd4 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.046266205 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025785941 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.068685581 [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.050991563 [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.07201426 [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.073761482 [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.062571809 [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.052711922 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.053425643 [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.074140676 [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.071259764 [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.062909148 [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.066362434 [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.045354463 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025456132 seconds Ending run at 08:32:09 UTC on 2024-06-21. Run time = 0.906445517 Run time without initialization = 0.780254226 Average number of zones advanced per microsecond: 3.360 Average number of zones advanced per microsecond per rank: 3.360 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9065 ... 0.9065 ... 0.9065 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2714 0.2714 0.2714 29.94% VisMF::Write(FabArray) 11 0.1865 0.1865 0.1865 20.57% MLCellLinOp::applyBC() 4351 0.08247 0.08247 0.08247 9.10% MLPoisson::Fsmooth() 3280 0.03447 0.03447 0.03447 3.80% FillBoundary_nowait() 3941 0.03411 0.03411 0.03411 3.76% StateData::FillBoundary(geom) 328 0.02557 0.02557 0.02557 2.82% amrex::Dot() 1114 0.02177 0.02177 0.02177 2.40% FabArray::norminf() 1061 0.02031 0.02031 0.02031 2.24% Castro::normalize_species() 62 0.0191 0.0191 0.0191 2.11% Castro::computeTemp() 63 0.0157 0.0157 0.0157 1.73% FabArray::setVal() 1062 0.01366 0.01366 0.01366 1.51% FabArray::ParallelCopy_nowait() 861 0.0136 0.0136 0.0136 1.50% FabArray::Saxpy() 1370 0.0133 0.0133 0.0133 1.47% StateDataPhysBCFunct::() 41 0.01297 0.01297 0.01297 1.43% Castro::enforce_min_density() 62 0.01152 0.01152 0.01152 1.27% amrex::Copy() 472 0.01102 0.01102 0.01102 1.22% MLPoisson::Fapply() 1060 0.01053 0.01053 0.01053 1.16% MLCellLinOp::defineAuxData() 11 0.0102 0.0102 0.0102 1.12% Gravity::fill_multipole_BCs() 11 0.009494 0.009494 0.009494 1.05% FabArray::Xpay() 739 0.008005 0.008005 0.008005 0.88% MLMG::addInterpCorrection() 410 0.007079 0.007079 0.007079 0.78% Amr::checkPoint() 3 0.006803 0.006803 0.006803 0.75% amrex::average_down 410 0.006325 0.006325 0.006325 0.70% Castro::estTimeStep() 21 0.006106 0.006106 0.006106 0.67% Castro::reset_internal_energy(MultiFab) 63 0.004907 0.004907 0.004907 0.54% BndryData::define() 11 0.003929 0.003929 0.003929 0.43% amrex::Add() 82 0.003744 0.003744 0.003744 0.41% Castro::construct_new_gravity_source() 10 0.003507 0.003507 0.003507 0.39% Castro::construct_old_gravity_source() 10 0.002929 0.002929 0.002929 0.32% Castro::enforce_speed_limit() 62 0.002171 0.002171 0.002171 0.24% Amr::writePlotFile() 2 0.001784 0.001784 0.001784 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001772 0.001772 0.001772 0.20% MLCGSolver::bicgstab 82 0.001663 0.001663 0.001663 0.18% Castro::reset_internal_energy(Fab) 504 0.001659 0.001659 0.001659 0.18% MLCellLinOp::setLevelBC() 11 0.001609 0.001609 0.001609 0.18% Castro::initData() 1 0.001576 0.001576 0.001576 0.17% Gravity::actual_solve_with_mlmg() 11 0.001546 0.001546 0.001546 0.17% check_for_negative_density() 10 0.001457 0.001457 0.001457 0.16% FabArray::mult() 43 0.001391 0.001391 0.001391 0.15% FabArray::setDomainBndry() 41 0.001388 0.001388 0.001388 0.15% MLCellLinOp::prepareForSolve() 11 0.001314 0.001314 0.001314 0.15% MultiFab::contains_nan() 20 0.001312 0.001312 0.001312 0.14% MLCellLinOp::smooth() 1640 0.001147 0.001147 0.001147 0.13% MLCellLinOp::compGrad() 11 0.001077 0.001077 0.001077 0.12% MLMG::prepareForSolve() 11 0.0009619 0.0009619 0.0009619 0.11% FabArrayBase::getCPC() 1323 0.0008015 0.0008015 0.0008015 0.09% FabArray::FillBoundary() 3941 0.0007768 0.0007768 0.0007768 0.09% Gravity::get_new_grav_vector() 11 0.0005991 0.0005991 0.0005991 0.07% Gravity::get_old_grav_vector() 10 0.000505 0.000505 0.000505 0.06% MLCellLinOp::apply() 1060 0.0004423 0.0004423 0.0004423 0.05% AmrLevel::FillPatch() 41 0.0004115 0.0004115 0.0004115 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003081 0.0003081 0.0003081 0.03% Amr::coarseTimeStep() 10 0.0003063 0.0003063 0.0003063 0.03% main() 1 0.000295 0.000295 0.000295 0.03% MLCellLinOp::defineBC() 11 0.0002731 0.0002731 0.0002731 0.03% FabArray::ParallelCopy() 861 0.0002364 0.0002364 0.0002364 0.03% MLMG::mgVcycle() 82 0.0002177 0.0002177 0.0002177 0.02% FillPatchIterator::Initialize 41 0.0002077 0.0002077 0.0002077 0.02% MLCellLinOp::correctionResidual() 410 0.0001739 0.0001739 0.0001739 0.02% Castro::subcycle_advance_ctu() 10 0.0001738 0.0001738 0.0001738 0.02% Amr::timeStep() 10 0.0001553 0.0001553 0.0001553 0.02% StateData::checkPoint() 12 0.0001334 0.0001334 0.0001334 0.01% MLMG:computeResOfCorrection() 410 0.0001214 0.0001214 0.0001214 0.01% Gravity::solve_for_phi() 10 0.0001066 0.0001066 0.0001066 0.01% Castro::advance() 10 0.0001007 0.0001007 0.0001007 0.01% MLMG::mgVcycle_down::0 82 9.86e-05 9.86e-05 9.86e-05 0.01% MLMG::actualBottomSolve() 82 8.996e-05 8.996e-05 8.996e-05 0.01% Castro::do_new_sources() 10 8.753e-05 8.753e-05 8.753e-05 0.01% MLMG::solve() 11 8.387e-05 8.387e-05 8.387e-05 0.01% MLMG::mgVcycle_down::1 82 8.192e-05 8.192e-05 8.192e-05 0.01% MLMG::mgVcycle_down::2 82 7.872e-05 7.872e-05 7.872e-05 0.01% Castro::initialize_advance() 10 7.814e-05 7.814e-05 7.814e-05 0.01% MLMG::mgVcycle_down::4 82 7.536e-05 7.536e-05 7.536e-05 0.01% MLMG::mgVcycle_down::3 82 7.098e-05 7.098e-05 7.098e-05 0.01% Castro::construct_new_source() 50 6.896e-05 6.896e-05 6.896e-05 0.01% Castro::clean_state() 62 6.686e-05 6.686e-05 6.686e-05 0.01% AmrLevel::checkPoint() 3 6.419e-05 6.419e-05 6.419e-05 0.01% Castro::initialize_do_advance() 10 5.859e-05 5.859e-05 5.859e-05 0.01% MLMG::mgVcycle_up::4 82 5.523e-05 5.523e-05 5.523e-05 0.01% MLMG::oneIter() 82 5.302e-05 5.302e-05 5.302e-05 0.01% MLMG::mgVcycle_up::0 82 5.023e-05 5.023e-05 5.023e-05 0.01% MLMG::mgVcycle_up::3 82 4.934e-05 4.934e-05 4.934e-05 0.01% MLMG::mgVcycle_up::1 82 4.896e-05 4.896e-05 4.896e-05 0.01% Castro::do_advance_ctu() 10 4.812e-05 4.812e-05 4.812e-05 0.01% MLMG::mgVcycle_up::2 82 4.656e-05 4.656e-05 4.656e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.653e-05 4.653e-05 4.653e-05 0.01% Castro::finalize_do_advance() 10 4.536e-05 4.536e-05 4.536e-05 0.01% MLCellLinOp::solutionResidual() 93 4.521e-05 4.521e-05 4.521e-05 0.00% Castro::post_timestep() 10 3.638e-05 3.638e-05 3.638e-05 0.00% FillPatchSingleLevel 41 3.539e-05 3.539e-05 3.539e-05 0.00% MLMG::computeResidual() 82 3.467e-05 3.467e-05 3.467e-05 0.00% MLMG::mgVcycle_bottom 82 3.306e-05 3.306e-05 3.306e-05 0.00% MLPoisson::define() 11 3.114e-05 3.114e-05 3.114e-05 0.00% Amr::defBaseLevel() 1 3.108e-05 3.108e-05 3.108e-05 0.00% MLMG::ResNormInf() 93 2.826e-05 2.826e-05 2.826e-05 0.00% Castro::construct_new_gravity() 10 2.527e-05 2.527e-05 2.527e-05 0.00% Castro::do_old_sources() 10 2.525e-05 2.525e-05 2.525e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.366e-05 2.366e-05 2.366e-05 0.00% Amr::FinalizeInit() 1 1.837e-05 1.837e-05 1.837e-05 0.00% Castro::construct_old_source() 50 1.743e-05 1.743e-05 1.743e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.693e-05 1.693e-05 1.693e-05 0.00% Castro::computeNewDt() 9 1.274e-05 1.274e-05 1.274e-05 0.00% Castro::check_for_nan() 20 1.129e-05 1.129e-05 1.129e-05 0.00% MLMG::computeMLResidual() 11 1.103e-05 1.103e-05 1.103e-05 0.00% Castro::apply_source_to_state() 20 1.076e-05 1.076e-05 1.076e-05 0.00% Castro::construct_old_gravity() 10 1.052e-05 1.052e-05 1.052e-05 0.00% Castro::post_init() 1 9.928e-06 9.928e-06 9.928e-06 0.00% Gravity::actual_multilevel_solve() 1 8.235e-06 8.235e-06 8.235e-06 0.00% MLPoisson::prepareForSolve() 11 6.892e-06 6.892e-06 6.892e-06 0.00% Castro::expand_state() 10 5.958e-06 5.958e-06 5.958e-06 0.00% MLMG::getGradSolution() 11 5.736e-06 5.736e-06 5.736e-06 0.00% Amr::InitializeInit() 1 5.216e-06 5.216e-06 5.216e-06 0.00% Amr::init() 1 2.36e-06 2.36e-06 2.36e-06 0.00% Amr::initialInit() 1 1.39e-06 1.39e-06 1.39e-06 0.00% Castro::post_regrid() 1 1.105e-06 1.105e-06 1.105e-06 0.00% Other 4752 0.003294 0.003294 0.003294 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9065 0.9065 0.9065 100.00% Amr::coarseTimeStep() 10 0.7546 0.7546 0.7546 83.24% Amr::timeStep() 10 0.6527 0.6527 0.6527 72.01% Castro::advance() 10 0.6432 0.6432 0.6432 70.95% Castro::subcycle_advance_ctu() 10 0.6286 0.6286 0.6286 69.34% Castro::do_advance_ctu() 10 0.6284 0.6284 0.6284 69.32% Gravity::solve_phi_with_mlmg() 11 0.3023 0.3023 0.3023 33.34% Gravity::actual_solve_with_mlmg() 11 0.2923 0.2923 0.2923 32.24% Castro::construct_ctu_hydro_source() 10 0.2819 0.2819 0.2819 31.10% Castro::construct_new_gravity() 10 0.2744 0.2744 0.2744 30.27% MLMG::solve() 11 0.2704 0.2704 0.2704 29.83% Gravity::solve_for_phi() 10 0.2579 0.2579 0.2579 28.45% MLMG::oneIter() 82 0.2546 0.2546 0.2546 28.09% MLMG::mgVcycle() 82 0.2508 0.2508 0.2508 27.67% VisMF::Write(FabArray) 11 0.1865 0.1865 0.1865 20.57% Amr::checkPoint() 3 0.1444 0.1444 0.1444 15.93% AmrLevel::checkPoint() 3 0.1376 0.1376 0.1376 15.18% StateData::checkPoint() 12 0.1376 0.1376 0.1376 15.18% MLCellLinOp::smooth() 1640 0.1267 0.1267 0.1267 13.98% Amr::init() 1 0.1256 0.1256 0.1256 13.85% MLCellLinOp::applyBC() 4351 0.1181 0.1181 0.1181 13.03% MLMG::mgVcycle_bottom 82 0.07405 0.07405 0.07405 8.17% MLMG::actualBottomSolve() 82 0.07402 0.07402 0.07402 8.17% MLCGSolver::bicgstab 82 0.07318 0.07318 0.07318 8.07% Castro::clean_state() 62 0.05419 0.05419 0.05419 5.98% Amr::initialInit() 1 0.05339 0.05339 0.05339 5.89% Amr::writePlotFile() 2 0.05137 0.05137 0.05137 5.67% AmrLevel::FillPatch() 41 0.04859 0.04859 0.04859 5.36% Amr::FinalizeInit() 1 0.04837 0.04837 0.04837 5.34% Castro::post_init() 1 0.04697 0.04697 0.04697 5.18% Gravity::multilevel_solve_for_new_phi() 1 0.04475 0.04475 0.04475 4.94% Gravity::actual_multilevel_solve() 1 0.04473 0.04473 0.04473 4.93% FillPatchIterator::Initialize 41 0.0443 0.0443 0.0443 4.89% FillPatchIterator::FillFromLevel0() 41 0.04271 0.04271 0.04271 4.71% FillPatchSingleLevel 41 0.04266 0.04266 0.04266 4.71% StateDataPhysBCFunct::() 41 0.03854 0.03854 0.03854 4.25% MLCellLinOp::apply() 1060 0.03743 0.03743 0.03743 4.13% MLMG::mgVcycle_down::0 82 0.03693 0.03693 0.03693 4.07% FabArray::FillBoundary() 3941 0.03562 0.03562 0.03562 3.93% FillBoundary_nowait() 3941 0.03484 0.03484 0.03484 3.84% MLPoisson::Fsmooth() 3280 0.03447 0.03447 0.03447 3.80% MLMG::mgVcycle_up::0 82 0.02785 0.02785 0.02785 3.07% StateData::FillBoundary(geom) 328 0.02557 0.02557 0.02557 2.82% Castro::computeTemp() 63 0.02226 0.02226 0.02226 2.46% amrex::Dot() 1114 0.02177 0.02177 0.02177 2.40% Castro::initialize_do_advance() 10 0.02176 0.02176 0.02176 2.40% MLMG:computeResOfCorrection() 410 0.0212 0.0212 0.0212 2.34% MLCellLinOp::correctionResidual() 410 0.02108 0.02108 0.02108 2.33% FabArray::norminf() 1061 0.02031 0.02031 0.02031 2.24% Castro::normalize_species() 62 0.0191 0.0191 0.0191 2.11% Castro::do_old_sources() 10 0.01891 0.01891 0.01891 2.09% Gravity::get_new_grav_vector() 11 0.01824 0.01824 0.01824 2.01% MLPoisson::define() 11 0.01712 0.01712 0.01712 1.89% MLMG::mgVcycle_down::1 82 0.017 0.017 0.017 1.88% MLMG::mgVcycle_down::2 82 0.0158 0.0158 0.0158 1.74% MLMG::mgVcycle_down::3 82 0.01543 0.01543 0.01543 1.70% MLMG::mgVcycle_down::4 82 0.01526 0.01526 0.01526 1.68% Castro::construct_old_gravity() 10 0.0152 0.0152 0.0152 1.68% Gravity::get_old_grav_vector() 10 0.01519 0.01519 0.01519 1.68% FabArray::ParallelCopy() 861 0.01465 0.01465 0.01465 1.62% FabArray::ParallelCopy_nowait() 861 0.01442 0.01442 0.01442 1.59% Castro::initialize_advance() 10 0.0139 0.0139 0.0139 1.53% FabArray::setVal() 1062 0.01366 0.01366 0.01366 1.51% FabArray::Saxpy() 1370 0.0133 0.0133 0.0133 1.47% MLCGSolver::ParallelAllReduce 1832 0.01302 0.01302 0.01302 1.44% Castro::do_new_sources() 10 0.01271 0.01271 0.01271 1.40% MLMG::addInterpCorrection() 410 0.01235 0.01235 0.01235 1.36% MLMG::mgVcycle_up::1 82 0.01232 0.01232 0.01232 1.36% Castro::expand_state() 10 0.0123 0.0123 0.0123 1.36% MLMG::mgVcycle_up::4 82 0.01223 0.01223 0.01223 1.35% MLMG::mgVcycle_up::2 82 0.01198 0.01198 0.01198 1.32% MLMG::mgVcycle_up::3 82 0.01176 0.01176 0.01176 1.30% MLCellLinOp::defineAuxData() 11 0.01162 0.01162 0.01162 1.28% amrex::average_down 410 0.01162 0.01162 0.01162 1.28% Castro::enforce_min_density() 62 0.01152 0.01152 0.01152 1.27% amrex::Copy() 472 0.01102 0.01102 0.01102 1.22% MLPoisson::Fapply() 1060 0.01053 0.01053 0.01053 1.16% Gravity::fill_multipole_BCs() 11 0.00975 0.00975 0.00975 1.08% Castro::post_timestep() 10 0.009401 0.009401 0.009401 1.04% FabArray::Xpay() 739 0.008005 0.008005 0.008005 0.88% MLCellLinOp::solutionResidual() 93 0.007954 0.007954 0.007954 0.88% MLMG::computeResidual() 82 0.006699 0.006699 0.006699 0.74% Castro::reset_internal_energy(MultiFab) 63 0.006566 0.006566 0.006566 0.72% Castro::estTimeStep() 21 0.006106 0.006106 0.006106 0.67% MLCellLinOp::defineBC() 11 0.005212 0.005212 0.005212 0.57% MLMG::prepareForSolve() 11 0.005197 0.005197 0.005197 0.57% Amr::InitializeInit() 1 0.005022 0.005022 0.005022 0.55% Amr::defBaseLevel() 1 0.005016 0.005016 0.005016 0.55% BndryData::define() 11 0.004939 0.004939 0.004939 0.54% Castro::initData() 1 0.004348 0.004348 0.004348 0.48% amrex::Add() 82 0.003744 0.003744 0.003744 0.41% Castro::construct_new_source() 50 0.003576 0.003576 0.003576 0.39% Castro::construct_new_gravity_source() 10 0.003507 0.003507 0.003507 0.39% Castro::construct_old_source() 50 0.002947 0.002947 0.002947 0.33% Castro::construct_old_gravity_source() 10 0.002929 0.002929 0.002929 0.32% Castro::computeNewDt() 9 0.002662 0.002662 0.002662 0.29% Castro::finalize_do_advance() 10 0.002517 0.002517 0.002517 0.28% MLMG::ResNormInf() 93 0.002254 0.002254 0.002254 0.25% Castro::enforce_speed_limit() 62 0.002171 0.002171 0.002171 0.24% Castro::apply_source_to_state() 20 0.001883 0.001883 0.001883 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001772 0.001772 0.001772 0.20% Castro::reset_internal_energy(Fab) 504 0.001659 0.001659 0.001659 0.18% MLCellLinOp::setLevelBC() 11 0.001609 0.001609 0.001609 0.18% MLMG::getGradSolution() 11 0.001603 0.001603 0.001603 0.18% MLCellLinOp::compGrad() 11 0.001597 0.001597 0.001597 0.18% FabArrayBase::getCPC() 1323 0.00148 0.00148 0.00148 0.16% check_for_negative_density() 10 0.001457 0.001457 0.001457 0.16% FabArray::mult() 43 0.001391 0.001391 0.001391 0.15% FabArray::setDomainBndry() 41 0.001388 0.001388 0.001388 0.15% Castro::check_for_nan() 20 0.001324 0.001324 0.001324 0.15% MLPoisson::prepareForSolve() 11 0.001321 0.001321 0.001321 0.15% MLCellLinOp::prepareForSolve() 11 0.001314 0.001314 0.001314 0.15% MultiFab::contains_nan() 20 0.001312 0.001312 0.001312 0.14% MLMG::computeMLResidual() 11 0.001301 0.001301 0.001301 0.14% Castro::post_regrid() 1 0.00111 0.00111 0.00111 0.12% Other 4752 0.008051 0.008051 0.008051 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 5800 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 1052 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1592 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 3669 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 209 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2184 B 2048 KiB Gravity::solve_for_phi() 80 80 582 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 335 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 213 KiB 671 KiB Castro::estTimeStep() 21 21 3285 B 480 KiB VisMF::Write(FabArray) 656 656 3522 B 320 KiB Castro::normalize_species() 62 62 6863 B 320 KiB amrex::average_down 1067 1067 1614 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1170 B 257 KiB amrex::Dot() 1360 1360 3547 B 160 KiB FabArray::norminf() 1143 1143 3461 B 160 KiB check_for_negative_density() 10 10 256 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3583 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 330 B 9648 B MLCellLinOp::applyBC() 8702 8702 226 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3930 B 6144 B StateData::FillBoundary(geom) 1992 1992 50 B 5184 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 378 B 1248 B MLCGSolver::bicgstab 410 410 97 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 636 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 75 KiB 8192 KiB VisMF::Write(FabArray) 744 744 454 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3583 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 329 B 9648 B MLCellLinOp::applyBC() 4351 4351 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3930 B 6144 B StateData::FillBoundary(geom) 1992 1992 51 B 5184 B Gravity::get_new_grav_vector() 3 3 2893 B 3072 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 305 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 1143 1143 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-21-g259db7cfb99e) finalized Initializing AMReX (24.06-21-g259db7cfb99e)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-21-g259db7cfb99e) initialized Starting run at 08:32:10 UTC on 2024-06-21. Successfully read inputs file ... Castro git describe: 24.06-14-g5f48f9561 AMReX git describe: 24.06-21-g259db7cfb Microphysics git describe: 24.06-10-g30469dd4 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.506942338 Restart time = 0.071292637 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.067256845 [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.051566703 [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.073892019 [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.075238644 [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.056910199 [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.028020942 seconds Ending run at 08:32:10 UTC on 2024-06-21. Run time = 0.425134775 Run time without initialization = 0.353312663 Average number of zones advanced per microsecond: 3.710 Average number of zones advanced per microsecond per rank: 3.710 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4252 ... 0.4252 ... 0.4252 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1247 0.1247 0.1247 29.33% VisMF::Read() 3 0.06013 0.06013 0.06013 14.14% MLCellLinOp::applyBC() 1910 0.03663 0.03663 0.03663 8.62% VisMF::Write(FabArray) 1 0.02554 0.02554 0.02554 6.01% MLPoisson::Fsmooth() 1440 0.01534 0.01534 0.01534 3.61% FillBoundary_nowait() 1730 0.01517 0.01517 0.01517 3.57% StateData::FillBoundary(geom) 160 0.01268 0.01268 0.01268 2.98% Castro::normalize_species() 30 0.01084 0.01084 0.01084 2.55% amrex::Dot() 484 0.009402 0.009402 0.009402 2.21% FabArray::norminf() 465 0.008889 0.008889 0.008889 2.09% Castro::computeTemp() 30 0.007575 0.007575 0.007575 1.78% FabArray::setVal() 501 0.006731 0.006731 0.006731 1.58% Castro::enforce_min_density() 30 0.006425 0.006425 0.006425 1.51% FabArray::ParallelCopy_nowait() 380 0.00622 0.00622 0.00622 1.46% FabArray::Saxpy() 597 0.00597 0.00597 0.00597 1.40% MLCellLinOp::defineAuxData() 6 0.005615 0.005615 0.005615 1.32% amrex::Copy() 221 0.00556 0.00556 0.00556 1.31% Gravity::fill_multipole_BCs() 6 0.00545 0.00545 0.00545 1.28% StateDataPhysBCFunct::() 20 0.005442 0.005442 0.005442 1.28% Amr::restart() 1 0.00473 0.00473 0.00473 1.11% MLPoisson::Fapply() 464 0.004651 0.004651 0.004651 1.09% FabArray::Xpay() 325 0.003592 0.003592 0.003592 0.84% Castro::estTimeStep() 10 0.003475 0.003475 0.003475 0.82% MLMG::addInterpCorrection() 180 0.003223 0.003223 0.003223 0.76% amrex::average_down 180 0.002831 0.002831 0.002831 0.67% Amr::writePlotFile() 1 0.002324 0.002324 0.002324 0.55% BndryData::define() 6 0.002186 0.002186 0.002186 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002176 0.002176 0.002176 0.51% Castro::construct_new_gravity_source() 5 0.001867 0.001867 0.001867 0.44% amrex::Add() 36 0.00165 0.00165 0.00165 0.39% Castro::construct_old_gravity_source() 5 0.001572 0.001572 0.001572 0.37% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009698 0.0009698 0.0009698 0.23% MLCellLinOp::setLevelBC() 6 0.0008934 0.0008934 0.0008934 0.21% check_for_negative_density() 5 0.0008564 0.0008564 0.0008564 0.20% Gravity::actual_solve_with_mlmg() 6 0.000848 0.000848 0.000848 0.20% Castro::reset_internal_energy(Fab) 240 0.0008474 0.0008474 0.0008474 0.20% MLCellLinOp::prepareForSolve() 6 0.0007664 0.0007664 0.0007664 0.18% MLCGSolver::bicgstab 36 0.000729 0.000729 0.000729 0.17% FabArray::mult() 22 0.0007091 0.0007091 0.0007091 0.17% MultiFab::contains_nan() 10 0.000701 0.000701 0.000701 0.16% FabArray::setDomainBndry() 20 0.0006956 0.0006956 0.0006956 0.16% MLCellLinOp::compGrad() 6 0.0006272 0.0006272 0.0006272 0.15% MLMG::prepareForSolve() 6 0.0005533 0.0005533 0.0005533 0.13% MLCellLinOp::smooth() 720 0.0004958 0.0004958 0.0004958 0.12% FabArrayBase::getCPC() 632 0.00037 0.00037 0.00037 0.09% Gravity::get_old_grav_vector() 5 0.0003613 0.0003613 0.0003613 0.08% FabArray::FillBoundary() 1730 0.0003435 0.0003435 0.0003435 0.08% Gravity::get_new_grav_vector() 5 0.0002922 0.0002922 0.0002922 0.07% main() 1 0.0002602 0.0002602 0.0002602 0.06% AmrLevel::FillPatch() 20 0.0001994 0.0001994 0.0001994 0.05% MLCellLinOp::apply() 464 0.0001874 0.0001874 0.0001874 0.04% Amr::coarseTimeStep() 5 0.0001517 0.0001517 0.0001517 0.04% MLCellLinOp::defineBC() 6 0.0001408 0.0001408 0.0001408 0.03% Castro::construct_new_source() 25 0.0001364 0.0001364 0.0001364 0.03% MLCGSolver::ParallelAllReduce 798 0.0001354 0.0001354 0.0001354 0.03% FabArray::ParallelCopy() 380 0.0001102 0.0001102 0.0001102 0.03% FillPatchIterator::Initialize 20 0.0001004 0.0001004 0.0001004 0.02% Castro::do_advance_ctu() 5 8.664e-05 8.664e-05 8.664e-05 0.02% MLMG::mgVcycle() 36 8.577e-05 8.577e-05 8.577e-05 0.02% Amr::timeStep() 5 8.21e-05 8.21e-05 8.21e-05 0.02% Castro::advance() 5 7.628e-05 7.628e-05 7.628e-05 0.02% MLCellLinOp::correctionResidual() 180 7.593e-05 7.593e-05 7.593e-05 0.02% Castro::construct_old_source() 25 7.25e-05 7.25e-05 7.25e-05 0.02% Castro::initialize_do_advance() 5 7.058e-05 7.058e-05 7.058e-05 0.02% Castro::subcycle_advance_ctu() 5 6.876e-05 6.876e-05 6.876e-05 0.02% AmrLevel::restart() 1 6.856e-05 6.856e-05 6.856e-05 0.02% Castro::finalize_do_advance() 5 6.583e-05 6.583e-05 6.583e-05 0.02% Gravity::update_max_rhs() 6 6.46e-05 6.46e-05 6.46e-05 0.02% StateData::restartDoit() 4 6.152e-05 6.152e-05 6.152e-05 0.01% Castro::post_timestep() 5 5.573e-05 5.573e-05 5.573e-05 0.01% MLMG:computeResOfCorrection() 180 5.283e-05 5.283e-05 5.283e-05 0.01% Gravity::solve_for_phi() 5 4.994e-05 4.994e-05 4.994e-05 0.01% MLMG::actualBottomSolve() 36 3.872e-05 3.872e-05 3.872e-05 0.01% MLMG::mgVcycle_down::0 36 3.628e-05 3.628e-05 3.628e-05 0.01% MLMG::solve() 6 3.587e-05 3.587e-05 3.587e-05 0.01% Castro::initialize_advance() 5 3.575e-05 3.575e-05 3.575e-05 0.01% MLMG::mgVcycle_down::1 36 3.499e-05 3.499e-05 3.499e-05 0.01% Castro::do_old_sources() 5 3.415e-05 3.415e-05 3.415e-05 0.01% MLMG::mgVcycle_down::2 36 3.267e-05 3.267e-05 3.267e-05 0.01% MLMG::mgVcycle_down::4 36 3.148e-05 3.148e-05 3.148e-05 0.01% Castro::clean_state() 30 3.065e-05 3.065e-05 3.065e-05 0.01% MLMG::mgVcycle_down::3 36 3.022e-05 3.022e-05 3.022e-05 0.01% Castro::do_new_sources() 5 3.021e-05 3.021e-05 3.021e-05 0.01% Castro::post_restart() 1 2.846e-05 2.846e-05 2.846e-05 0.01% MLMG::mgVcycle_up::4 36 2.495e-05 2.495e-05 2.495e-05 0.01% MLPoisson::define() 6 2.485e-05 2.485e-05 2.485e-05 0.01% MLMG::oneIter() 36 2.371e-05 2.371e-05 2.371e-05 0.01% MLMG::mgVcycle_up::3 36 2.174e-05 2.174e-05 2.174e-05 0.01% MLCellLinOp::solutionResidual() 42 2.082e-05 2.082e-05 2.082e-05 0.00% MLMG::mgVcycle_up::2 36 2.081e-05 2.081e-05 2.081e-05 0.00% MLMG::mgVcycle_up::0 36 2.049e-05 2.049e-05 2.049e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.02e-05 2.02e-05 2.02e-05 0.00% MLMG::mgVcycle_up::1 36 2.014e-05 2.014e-05 2.014e-05 0.00% FillPatchSingleLevel 20 1.738e-05 1.738e-05 1.738e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.621e-05 1.621e-05 1.621e-05 0.00% MLMG::ResNormInf() 42 1.598e-05 1.598e-05 1.598e-05 0.00% MLMG::computeResidual() 36 1.482e-05 1.482e-05 1.482e-05 0.00% MLMG::mgVcycle_bottom 36 1.463e-05 1.463e-05 1.463e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.29e-05 1.29e-05 1.29e-05 0.00% Castro::construct_new_gravity() 5 1.211e-05 1.211e-05 1.211e-05 0.00% Gravity::actual_multilevel_solve() 1 8.219e-06 8.219e-06 8.219e-06 0.00% Castro::check_for_nan() 10 5.997e-06 5.997e-06 5.997e-06 0.00% Castro::apply_source_to_state() 10 5.945e-06 5.945e-06 5.945e-06 0.00% Castro::construct_old_gravity() 5 5.94e-06 5.94e-06 5.94e-06 0.00% MLMG::computeMLResidual() 6 4.921e-06 4.921e-06 4.921e-06 0.00% Castro::computeNewDt() 5 4.438e-06 4.438e-06 4.438e-06 0.00% MLPoisson::prepareForSolve() 6 3.783e-06 3.783e-06 3.783e-06 0.00% MLMG::getGradSolution() 6 3.074e-06 3.074e-06 3.074e-06 0.00% Castro::expand_state() 5 2.897e-06 2.897e-06 2.897e-06 0.00% Amr::init() 1 6.98e-07 6.98e-07 6.98e-07 0.00% Other 2180 0.002313 0.002313 0.002313 0.54% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4251 0.4251 0.4251 100.00% Amr::coarseTimeStep() 5 0.325 0.325 0.325 76.44% Amr::timeStep() 5 0.3227 0.3227 0.3227 75.90% Castro::advance() 5 0.3178 0.3178 0.3178 74.75% Castro::subcycle_advance_ctu() 5 0.3106 0.3106 0.3106 73.06% Castro::do_advance_ctu() 5 0.3106 0.3106 0.3106 73.04% Castro::construct_new_gravity() 5 0.1408 0.1408 0.1408 33.12% Gravity::solve_phi_with_mlmg() 6 0.1381 0.1381 0.1381 32.48% Gravity::solve_for_phi() 5 0.1328 0.1328 0.1328 31.22% Gravity::actual_solve_with_mlmg() 6 0.1324 0.1324 0.1324 31.14% Castro::construct_ctu_hydro_source() 5 0.1302 0.1302 0.1302 30.63% MLMG::solve() 6 0.1202 0.1202 0.1202 28.28% MLMG::oneIter() 36 0.1122 0.1122 0.1122 26.40% MLMG::mgVcycle() 36 0.1106 0.1106 0.1106 26.01% Amr::init() 1 0.07134 0.07134 0.07134 16.78% Amr::restart() 1 0.07134 0.07134 0.07134 16.78% AmrLevel::restart() 1 0.06048 0.06048 0.06048 14.22% StateData::restartDoit() 4 0.06041 0.06041 0.06041 14.21% VisMF::Read() 3 0.06013 0.06013 0.06013 14.14% MLCellLinOp::smooth() 720 0.05607 0.05607 0.05607 13.19% MLCellLinOp::applyBC() 1910 0.05246 0.05246 0.05246 12.34% MLMG::mgVcycle_bottom 36 0.03221 0.03221 0.03221 7.58% MLMG::actualBottomSolve() 36 0.03219 0.03219 0.03219 7.57% MLCGSolver::bicgstab 36 0.03182 0.03182 0.03182 7.48% Castro::clean_state() 30 0.02845 0.02845 0.02845 6.69% Amr::writePlotFile() 1 0.02813 0.02813 0.02813 6.62% VisMF::Write(FabArray) 1 0.02554 0.02554 0.02554 6.01% AmrLevel::FillPatch() 20 0.02312 0.02312 0.02312 5.44% FillPatchIterator::Initialize 20 0.021 0.021 0.021 4.94% FillPatchIterator::FillFromLevel0() 20 0.0202 0.0202 0.0202 4.75% FillPatchSingleLevel 20 0.02018 0.02018 0.02018 4.75% StateDataPhysBCFunct::() 20 0.01812 0.01812 0.01812 4.26% MLCellLinOp::apply() 464 0.01677 0.01677 0.01677 3.94% MLMG::mgVcycle_down::0 36 0.01659 0.01659 0.01659 3.90% FabArray::FillBoundary() 1730 0.01583 0.01583 0.01583 3.72% FillBoundary_nowait() 1730 0.01548 0.01548 0.01548 3.64% MLPoisson::Fsmooth() 1440 0.01534 0.01534 0.01534 3.61% StateData::FillBoundary(geom) 160 0.01268 0.01268 0.01268 2.98% MLMG::mgVcycle_up::0 36 0.01237 0.01237 0.01237 2.91% Castro::initialize_do_advance() 5 0.01159 0.01159 0.01159 2.73% Castro::normalize_species() 30 0.01084 0.01084 0.01084 2.55% Castro::computeTemp() 30 0.0106 0.0106 0.0106 2.49% Castro::do_old_sources() 5 0.01011 0.01011 0.01011 2.38% MLPoisson::define() 6 0.009483 0.009483 0.009483 2.23% MLMG:computeResOfCorrection() 180 0.009452 0.009452 0.009452 2.22% amrex::Dot() 484 0.009402 0.009402 0.009402 2.21% MLCellLinOp::correctionResidual() 180 0.009399 0.009399 0.009399 2.21% FabArray::norminf() 465 0.008889 0.008889 0.008889 2.09% Castro::do_new_sources() 5 0.008027 0.008027 0.008027 1.89% Gravity::get_new_grav_vector() 5 0.007937 0.007937 0.007937 1.87% Castro::construct_old_gravity() 5 0.007818 0.007818 0.007818 1.84% Gravity::get_old_grav_vector() 5 0.007812 0.007812 0.007812 1.84% MLMG::mgVcycle_down::1 36 0.007596 0.007596 0.007596 1.79% MLMG::mgVcycle_down::2 36 0.006975 0.006975 0.006975 1.64% Castro::initialize_advance() 5 0.006777 0.006777 0.006777 1.59% MLMG::mgVcycle_down::3 36 0.00677 0.00677 0.00677 1.59% FabArray::setVal() 501 0.006731 0.006731 0.006731 1.58% FabArray::ParallelCopy() 380 0.00672 0.00672 0.00672 1.58% MLMG::mgVcycle_down::4 36 0.006687 0.006687 0.006687 1.57% FabArray::ParallelCopy_nowait() 380 0.00661 0.00661 0.00661 1.55% Castro::enforce_min_density() 30 0.006425 0.006425 0.006425 1.51% MLCellLinOp::defineAuxData() 6 0.006405 0.006405 0.006405 1.51% Castro::expand_state() 5 0.006132 0.006132 0.006132 1.44% FabArray::Saxpy() 597 0.00597 0.00597 0.00597 1.40% Castro::post_restart() 1 0.005939 0.005939 0.005939 1.40% MLCGSolver::ParallelAllReduce 798 0.005691 0.005691 0.005691 1.34% Gravity::fill_multipole_BCs() 6 0.005578 0.005578 0.005578 1.31% Gravity::multilevel_solve_for_new_phi() 1 0.005572 0.005572 0.005572 1.31% amrex::Copy() 221 0.00556 0.00556 0.00556 1.31% Gravity::actual_multilevel_solve() 1 0.005555 0.005555 0.005555 1.31% MLMG::addInterpCorrection() 180 0.00554 0.00554 0.00554 1.30% MLMG::mgVcycle_up::1 36 0.005441 0.005441 0.005441 1.28% MLMG::mgVcycle_up::4 36 0.005407 0.005407 0.005407 1.27% MLMG::mgVcycle_up::2 36 0.005285 0.005285 0.005285 1.24% amrex::average_down 180 0.005187 0.005187 0.005187 1.22% MLMG::mgVcycle_up::3 36 0.005166 0.005166 0.005166 1.21% Castro::post_timestep() 5 0.004827 0.004827 0.004827 1.14% MLPoisson::Fapply() 464 0.004651 0.004651 0.004651 1.09% MLCellLinOp::solutionResidual() 42 0.003812 0.003812 0.003812 0.90% FabArray::Xpay() 325 0.003592 0.003592 0.003592 0.84% Castro::estTimeStep() 10 0.003475 0.003475 0.003475 0.82% Castro::reset_internal_energy(MultiFab) 30 0.003023 0.003023 0.003023 0.71% MLMG::computeResidual() 36 0.002986 0.002986 0.002986 0.70% MLMG::prepareForSolve() 6 0.002926 0.002926 0.002926 0.69% MLCellLinOp::defineBC() 6 0.002908 0.002908 0.002908 0.68% BndryData::define() 6 0.002768 0.002768 0.002768 0.65% Castro::computeNewDt() 5 0.002156 0.002156 0.002156 0.51% Castro::construct_new_source() 25 0.002003 0.002003 0.002003 0.47% Castro::construct_new_gravity_source() 5 0.001867 0.001867 0.001867 0.44% amrex::Add() 36 0.00165 0.00165 0.00165 0.39% Castro::construct_old_source() 25 0.001644 0.001644 0.001644 0.39% Castro::construct_old_gravity_source() 5 0.001572 0.001572 0.001572 0.37% Castro::finalize_do_advance() 5 0.00139 0.00139 0.00139 0.33% MLMG::ResNormInf() 42 0.001057 0.001057 0.001057 0.25% Castro::apply_source_to_state() 10 0.0009722 0.0009722 0.0009722 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009698 0.0009698 0.0009698 0.23% MLMG::getGradSolution() 6 0.0009311 0.0009311 0.0009311 0.22% MLCellLinOp::compGrad() 6 0.000928 0.000928 0.000928 0.22% MLCellLinOp::setLevelBC() 6 0.0008934 0.0008934 0.0008934 0.21% check_for_negative_density() 5 0.0008564 0.0008564 0.0008564 0.20% Castro::reset_internal_energy(Fab) 240 0.0008474 0.0008474 0.0008474 0.20% MLMG::computeMLResidual() 6 0.0008458 0.0008458 0.0008458 0.20% FabArrayBase::getCPC() 632 0.0007917 0.0007917 0.0007917 0.19% MLPoisson::prepareForSolve() 6 0.0007701 0.0007701 0.0007701 0.18% MLCellLinOp::prepareForSolve() 6 0.0007664 0.0007664 0.0007664 0.18% Gravity::update_max_rhs() 6 0.0007285 0.0007285 0.0007285 0.17% FabArray::mult() 22 0.0007091 0.0007091 0.0007091 0.17% Castro::check_for_nan() 10 0.000707 0.000707 0.000707 0.17% MultiFab::contains_nan() 10 0.000701 0.000701 0.000701 0.16% FabArray::setDomainBndry() 20 0.0006956 0.0006956 0.0006956 0.16% Other 2180 0.003588 0.003588 0.003588 0.84% -------------------------------------------------------------------------------------------- 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 12 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 1086 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1774 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 6406 KiB 14 MiB MLMG::prepareForSolve() 361 361 3472 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 190 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 191 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6392 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3408 B 2048 KiB Gravity::solve_for_phi() 40 40 638 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 319 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 205 KiB 671 KiB Castro::estTimeStep() 10 10 3724 B 480 KiB VisMF::Write(FabArray) 112 112 1343 B 320 KiB Castro::normalize_species() 30 30 8306 B 320 KiB amrex::average_down 469 469 1436 B 257 KiB MLMG::addInterpCorrection() 468 468 1113 B 257 KiB amrex::Dot() 592 592 3272 B 160 KiB FabArray::norminf() 501 501 3233 B 160 KiB check_for_negative_density() 5 5 323 B 160 KiB MultiFab::max() 6 6 77 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3365 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 312 B 9648 B MLCellLinOp::applyBC() 3820 3820 217 B 9344 B amrex::Copy() 56 56 5886 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 47 B 4640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 359 B 1248 B MLCGSolver::bicgstab 180 180 90 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1323 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 169 KiB 3584 KiB VisMF::Read() 24 24 214 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3365 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 312 B 9648 B MLCellLinOp::applyBC() 1910 1910 216 B 9328 B amrex::Copy() 56 56 5886 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 47 B 4640 B Gravity::get_old_grav_vector() 3 3 2510 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 809 B 1648 B amrex::average_down 37 37 463 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 24 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): 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-21-g259db7cfb99e) finalized