Initializing AMReX (24.07-37-g83ecf62e0b43)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-37-g83ecf62e0b43) initialized Starting run at 07:58:06 UTC on 2024-08-01. Successfully read inputs file ... Castro git describe: 24.07-35-gc7c6acad2 AMReX git describe: 24.07-37-g83ecf62e0 Microphysics git describe: 24.07-40-g8924bd8d 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.048457042 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.026880024 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.063509727 [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.060430534 [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.060082978 [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.074041407 [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.077424711 [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.047426293 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.059251531 [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.057946344 [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.061218696 [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.055003611 [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.076804024 [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.046222245 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.026451708 seconds Ending run at 07:58:07 UTC on 2024-08-01. Run time = 0.892479609 Run time without initialization = 0.766461323 Average number of zones advanced per microsecond: 3.420 Average number of zones advanced per microsecond per rank: 3.420 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8925 ... 0.8925 ... 0.8925 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2584 0.2584 0.2584 28.96% VisMF::Write(FabArray) 11 0.1875 0.1875 0.1875 21.01% MLCellLinOp::applyBC() 4298 0.08075 0.08075 0.08075 9.05% MLPoisson::Fsmooth() 3240 0.03368 0.03368 0.03368 3.77% FillBoundary_nowait() 3893 0.03131 0.03131 0.03131 3.51% StateData::FillBoundary(geom) 328 0.02716 0.02716 0.02716 3.04% amrex::Dot() 1100 0.02159 0.02159 0.02159 2.42% Castro::reset_internal_energy(MultiFab) 63 0.02042 0.02042 0.02042 2.29% FabArray::norminf() 1048 0.02002 0.02002 0.02002 2.24% Castro::computeTemp() 63 0.01816 0.01816 0.01816 2.03% FabArray::ParallelCopy_nowait() 851 0.01365 0.01365 0.01365 1.53% FabArray::setVal() 1054 0.01362 0.01362 0.01362 1.53% FabArray::Saxpy() 1353 0.01325 0.01325 0.01325 1.48% Castro::normalize_species() 62 0.01121 0.01121 0.01121 1.26% amrex::Copy() 469 0.01109 0.01109 0.01109 1.24% MLPoisson::Fapply() 1047 0.01041 0.01041 0.01041 1.17% MLCellLinOp::defineAuxData() 11 0.0103 0.0103 0.0103 1.15% StateDataPhysBCFunct::() 41 0.01016 0.01016 0.01016 1.14% Gravity::fill_multipole_BCs() 11 0.008276 0.008276 0.008276 0.93% FabArray::Xpay() 730 0.007927 0.007927 0.007927 0.89% Castro::enforce_min_density() 62 0.007825 0.007825 0.007825 0.88% MLMG::addInterpCorrection() 405 0.007005 0.007005 0.007005 0.78% amrex::average_down 405 0.006266 0.006266 0.006266 0.70% Amr::checkPoint() 3 0.00569 0.00569 0.00569 0.64% Castro::estTimeStep() 21 0.005146 0.005146 0.005146 0.58% BndryData::define() 11 0.004085 0.004085 0.004085 0.46% Castro::construct_new_gravity_source() 10 0.003668 0.003668 0.003668 0.41% amrex::Add() 81 0.00362 0.00362 0.00362 0.41% Castro::reset_internal_energy(Fab) 504 0.003526 0.003526 0.003526 0.40% Castro::construct_old_gravity_source() 10 0.003103 0.003103 0.003103 0.35% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001813 0.001813 0.001813 0.20% Amr::writePlotFile() 2 0.001776 0.001776 0.001776 0.20% check_for_negative_density() 10 0.001651 0.001651 0.001651 0.19% MLCellLinOp::setLevelBC() 11 0.001619 0.001619 0.001619 0.18% MLCGSolver::bicgstab 81 0.001607 0.001607 0.001607 0.18% Castro::initData() 1 0.001557 0.001557 0.001557 0.17% Gravity::actual_solve_with_mlmg() 11 0.001549 0.001549 0.001549 0.17% Castro::subcycle_advance_ctu() 10 0.001517 0.001517 0.001517 0.17% FabArray::setDomainBndry() 41 0.00142 0.00142 0.00142 0.16% FabArray::mult() 43 0.001392 0.001392 0.001392 0.16% MLCellLinOp::prepareForSolve() 11 0.001305 0.001305 0.001305 0.15% MultiFab::contains_nan() 20 0.001303 0.001303 0.001303 0.15% MLCellLinOp::compGrad() 11 0.001113 0.001113 0.001113 0.12% MLCellLinOp::smooth() 1620 0.001103 0.001103 0.001103 0.12% Castro::construct_new_source() 50 0.001038 0.001038 0.001038 0.12% FabArrayBase::getCPC() 1313 0.0007714 0.0007714 0.0007714 0.09% FabArray::FillBoundary() 3893 0.0007434 0.0007434 0.0007434 0.08% MLMG::prepareForSolve() 11 0.0006673 0.0006673 0.0006673 0.07% Gravity::get_new_grav_vector() 11 0.0006383 0.0006383 0.0006383 0.07% Gravity::get_old_grav_vector() 10 0.0004885 0.0004885 0.0004885 0.05% MLCellLinOp::apply() 1047 0.0004131 0.0004131 0.0004131 0.05% AmrLevel::FillPatch() 41 0.0004059 0.0004059 0.0004059 0.05% Amr::coarseTimeStep() 10 0.0003453 0.0003453 0.0003453 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003252 0.0003252 0.0003252 0.04% main() 1 0.0002752 0.0002752 0.0002752 0.03% MLCellLinOp::defineBC() 11 0.0002697 0.0002697 0.0002697 0.03% FabArray::ParallelCopy() 851 0.0002536 0.0002536 0.0002536 0.03% FillPatchIterator::Initialize 41 0.0002134 0.0002134 0.0002134 0.02% MLMG::mgVcycle() 81 0.0001879 0.0001879 0.0001879 0.02% MLCellLinOp::correctionResidual() 405 0.0001782 0.0001782 0.0001782 0.02% Amr::timeStep() 10 0.000171 0.000171 0.000171 0.02% Gravity::solve_for_phi() 10 0.0001653 0.0001653 0.0001653 0.02% Castro::do_advance_ctu() 10 0.0001488 0.0001488 0.0001488 0.02% Castro::finalize_do_advance() 10 0.0001257 0.0001257 0.0001257 0.01% MLMG:computeResOfCorrection() 405 0.0001226 0.0001226 0.0001226 0.01% StateData::checkPoint() 12 0.0001118 0.0001118 0.0001118 0.01% Castro::advance() 10 9.295e-05 9.295e-05 9.295e-05 0.01% Castro::construct_old_source() 50 8.607e-05 8.607e-05 8.607e-05 0.01% Castro::do_new_sources() 10 8.506e-05 8.506e-05 8.506e-05 0.01% MLMG::actualBottomSolve() 81 8.395e-05 8.395e-05 8.395e-05 0.01% MLMG::mgVcycle_down::0 81 8.203e-05 8.203e-05 8.203e-05 0.01% Castro::initialize_advance() 10 7.799e-05 7.799e-05 7.799e-05 0.01% MLMG::solve() 11 7.303e-05 7.303e-05 7.303e-05 0.01% Castro::clean_state() 62 7.096e-05 7.096e-05 7.096e-05 0.01% MLMG::mgVcycle_down::1 81 7.087e-05 7.087e-05 7.087e-05 0.01% MLMG::mgVcycle_down::2 81 7.051e-05 7.051e-05 7.051e-05 0.01% MLMG::mgVcycle_down::4 81 6.714e-05 6.714e-05 6.714e-05 0.01% MLMG::mgVcycle_down::3 81 6.622e-05 6.622e-05 6.622e-05 0.01% AmrLevel::checkPoint() 3 6.231e-05 6.231e-05 6.231e-05 0.01% Castro::initialize_do_advance() 10 5.836e-05 5.836e-05 5.836e-05 0.01% MLMG::mgVcycle_up::4 81 5.141e-05 5.141e-05 5.141e-05 0.01% MLMG::oneIter() 81 5.111e-05 5.111e-05 5.111e-05 0.01% MLMG::mgVcycle_up::1 81 4.652e-05 4.652e-05 4.652e-05 0.01% MLMG::mgVcycle_up::3 81 4.63e-05 4.63e-05 4.63e-05 0.01% MLMG::mgVcycle_up::0 81 4.596e-05 4.596e-05 4.596e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.586e-05 4.586e-05 4.586e-05 0.01% MLMG::mgVcycle_up::2 81 4.579e-05 4.579e-05 4.579e-05 0.01% MLCellLinOp::solutionResidual() 92 4.552e-05 4.552e-05 4.552e-05 0.01% MLMG::ResNormInf() 92 4.107e-05 4.107e-05 4.107e-05 0.00% FillPatchSingleLevel 41 3.559e-05 3.559e-05 3.559e-05 0.00% Amr::defBaseLevel() 1 3.546e-05 3.546e-05 3.546e-05 0.00% MLMG::computeResidual() 81 3.433e-05 3.433e-05 3.433e-05 0.00% MLMG::mgVcycle_bottom 81 3.215e-05 3.215e-05 3.215e-05 0.00% Castro::construct_new_gravity() 10 3.02e-05 3.02e-05 3.02e-05 0.00% MLPoisson::define() 11 2.728e-05 2.728e-05 2.728e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.312e-05 2.312e-05 2.312e-05 0.00% Castro::do_old_sources() 10 2.028e-05 2.028e-05 2.028e-05 0.00% Amr::FinalizeInit() 1 2.02e-05 2.02e-05 2.02e-05 0.00% Castro::expand_state() 10 1.678e-05 1.678e-05 1.678e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.642e-05 1.642e-05 1.642e-05 0.00% MLPoisson::prepareForSolve() 11 1.504e-05 1.504e-05 1.504e-05 0.00% Castro::apply_source_to_state() 20 1.16e-05 1.16e-05 1.16e-05 0.00% Castro::check_for_nan() 20 1.113e-05 1.113e-05 1.113e-05 0.00% MLMG::computeMLResidual() 11 1.095e-05 1.095e-05 1.095e-05 0.00% Castro::construct_old_gravity() 10 9.965e-06 9.965e-06 9.965e-06 0.00% Gravity::actual_multilevel_solve() 1 8.636e-06 8.636e-06 8.636e-06 0.00% Castro::post_timestep() 10 7.528e-06 7.528e-06 7.528e-06 0.00% Castro::computeNewDt() 9 6.722e-06 6.722e-06 6.722e-06 0.00% MLMG::getGradSolution() 11 6.382e-06 6.382e-06 6.382e-06 0.00% Amr::InitializeInit() 1 6.194e-06 6.194e-06 6.194e-06 0.00% Castro::post_init() 1 3.733e-06 3.733e-06 3.733e-06 0.00% Amr::init() 1 2.801e-06 2.801e-06 2.801e-06 0.00% Amr::initialInit() 1 9.39e-07 9.39e-07 9.39e-07 0.00% Other 4767 0.002993 0.002993 0.002993 0.34% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8925 0.8925 0.8925 100.00% Amr::coarseTimeStep() 10 0.7398 0.7398 0.7398 82.89% Amr::timeStep() 10 0.6426 0.6426 0.6426 72.00% Castro::advance() 10 0.632 0.632 0.632 70.81% Castro::subcycle_advance_ctu() 10 0.6199 0.6199 0.6199 69.46% Castro::do_advance_ctu() 10 0.6184 0.6184 0.6184 69.29% Gravity::solve_phi_with_mlmg() 11 0.2944 0.2944 0.2944 32.99% Gravity::actual_solve_with_mlmg() 11 0.2857 0.2857 0.2857 32.01% Castro::construct_ctu_hydro_source() 10 0.2713 0.2713 0.2713 30.39% Castro::construct_new_gravity() 10 0.2691 0.2691 0.2691 30.15% MLMG::solve() 11 0.2635 0.2635 0.2635 29.52% Gravity::solve_for_phi() 10 0.2528 0.2528 0.2528 28.33% MLMG::oneIter() 81 0.2482 0.2482 0.2482 27.81% MLMG::mgVcycle() 81 0.2445 0.2445 0.2445 27.39% VisMF::Write(FabArray) 11 0.1875 0.1875 0.1875 21.01% Amr::checkPoint() 3 0.1423 0.1423 0.1423 15.94% AmrLevel::checkPoint() 3 0.1366 0.1366 0.1366 15.30% StateData::checkPoint() 12 0.1365 0.1365 0.1365 15.30% Amr::init() 1 0.1256 0.1256 0.1256 14.07% MLCellLinOp::smooth() 1620 0.1222 0.1222 0.1222 13.69% MLCellLinOp::applyBC() 4298 0.1135 0.1135 0.1135 12.72% MLMG::mgVcycle_bottom 81 0.07324 0.07324 0.07324 8.21% MLMG::actualBottomSolve() 81 0.07321 0.07321 0.07321 8.20% MLCGSolver::bicgstab 81 0.07238 0.07238 0.07238 8.11% Castro::clean_state() 62 0.06056 0.06056 0.06056 6.79% Amr::writePlotFile() 2 0.05343 0.05343 0.05343 5.99% Amr::initialInit() 1 0.05013 0.05013 0.05013 5.62% AmrLevel::FillPatch() 41 0.04743 0.04743 0.04743 5.31% Amr::FinalizeInit() 1 0.04547 0.04547 0.04547 5.09% Castro::post_init() 1 0.04457 0.04457 0.04457 4.99% FillPatchIterator::Initialize 41 0.04312 0.04312 0.04312 4.83% Gravity::multilevel_solve_for_new_phi() 1 0.04211 0.04211 0.04211 4.72% Castro::computeTemp() 63 0.0421 0.0421 0.0421 4.72% Gravity::actual_multilevel_solve() 1 0.0421 0.0421 0.0421 4.72% FillPatchIterator::FillFromLevel0() 41 0.04149 0.04149 0.04149 4.65% FillPatchSingleLevel 41 0.04145 0.04145 0.04145 4.64% StateDataPhysBCFunct::() 41 0.03732 0.03732 0.03732 4.18% MLCellLinOp::apply() 1047 0.03645 0.03645 0.03645 4.08% MLMG::mgVcycle_down::0 81 0.03507 0.03507 0.03507 3.93% MLPoisson::Fsmooth() 3240 0.03368 0.03368 0.03368 3.77% FabArray::FillBoundary() 3893 0.03277 0.03277 0.03277 3.67% FillBoundary_nowait() 3893 0.03203 0.03203 0.03203 3.59% StateData::FillBoundary(geom) 328 0.02716 0.02716 0.02716 3.04% MLMG::mgVcycle_up::0 81 0.02652 0.02652 0.02652 2.97% Castro::reset_internal_energy(MultiFab) 63 0.02394 0.02394 0.02394 2.68% amrex::Dot() 1100 0.02159 0.02159 0.02159 2.42% Castro::initialize_do_advance() 10 0.02158 0.02158 0.02158 2.42% MLMG:computeResOfCorrection() 405 0.02052 0.02052 0.02052 2.30% MLCellLinOp::correctionResidual() 405 0.0204 0.0204 0.0204 2.29% FabArray::norminf() 1048 0.02002 0.02002 0.02002 2.24% Castro::do_old_sources() 10 0.0193 0.0193 0.0193 2.16% Castro::do_new_sources() 10 0.01854 0.01854 0.01854 2.08% Gravity::get_new_grav_vector() 11 0.0183 0.0183 0.0183 2.05% MLPoisson::define() 11 0.01736 0.01736 0.01736 1.95% MLMG::mgVcycle_down::1 81 0.01662 0.01662 0.01662 1.86% Castro::construct_old_gravity() 10 0.01559 0.01559 0.01559 1.75% Gravity::get_old_grav_vector() 10 0.01558 0.01558 0.01558 1.75% MLMG::mgVcycle_down::2 81 0.01549 0.01549 0.01549 1.74% MLMG::mgVcycle_down::3 81 0.01509 0.01509 0.01509 1.69% MLMG::mgVcycle_down::4 81 0.01504 0.01504 0.01504 1.69% FabArray::ParallelCopy() 851 0.01471 0.01471 0.01471 1.65% FabArray::ParallelCopy_nowait() 851 0.01446 0.01446 0.01446 1.62% FabArray::setVal() 1054 0.01362 0.01362 0.01362 1.53% FabArray::Saxpy() 1353 0.01325 0.01325 0.01325 1.48% MLCGSolver::ParallelAllReduce 1809 0.01296 0.01296 0.01296 1.45% MLMG::addInterpCorrection() 405 0.01228 0.01228 0.01228 1.38% MLMG::mgVcycle_up::1 81 0.01204 0.01204 0.01204 1.35% MLMG::mgVcycle_up::4 81 0.01198 0.01198 0.01198 1.34% MLMG::mgVcycle_up::2 81 0.01172 0.01172 0.01172 1.31% MLCellLinOp::defineAuxData() 11 0.01172 0.01172 0.01172 1.31% amrex::average_down 405 0.0116 0.0116 0.0116 1.30% MLMG::mgVcycle_up::3 81 0.01151 0.01151 0.01151 1.29% Castro::initialize_advance() 10 0.01122 0.01122 0.01122 1.26% Castro::normalize_species() 62 0.01121 0.01121 0.01121 1.26% amrex::Copy() 469 0.01109 0.01109 0.01109 1.24% Castro::expand_state() 10 0.01087 0.01087 0.01087 1.22% Castro::post_timestep() 10 0.01048 0.01048 0.01048 1.17% MLPoisson::Fapply() 1047 0.01041 0.01041 0.01041 1.17% Gravity::fill_multipole_BCs() 11 0.008507 0.008507 0.008507 0.95% FabArray::Xpay() 730 0.007927 0.007927 0.007927 0.89% MLCellLinOp::solutionResidual() 92 0.007875 0.007875 0.007875 0.88% Castro::enforce_min_density() 62 0.007825 0.007825 0.007825 0.88% MLMG::computeResidual() 81 0.006512 0.006512 0.006512 0.73% MLCellLinOp::defineBC() 11 0.005379 0.005379 0.005379 0.60% Castro::estTimeStep() 21 0.005146 0.005146 0.005146 0.58% BndryData::define() 11 0.00511 0.00511 0.00511 0.57% MLMG::prepareForSolve() 11 0.00491 0.00491 0.00491 0.55% Castro::construct_new_source() 50 0.004706 0.004706 0.004706 0.53% Amr::InitializeInit() 1 0.004667 0.004667 0.004667 0.52% Amr::defBaseLevel() 1 0.004661 0.004661 0.004661 0.52% Castro::initData() 1 0.003971 0.003971 0.003971 0.44% Castro::construct_new_gravity_source() 10 0.003668 0.003668 0.003668 0.41% amrex::Add() 81 0.00362 0.00362 0.00362 0.41% Castro::reset_internal_energy(Fab) 504 0.003526 0.003526 0.003526 0.40% Castro::construct_old_source() 50 0.003189 0.003189 0.003189 0.36% Castro::construct_old_gravity_source() 10 0.003103 0.003103 0.003103 0.35% Castro::computeNewDt() 9 0.002393 0.002393 0.002393 0.27% MLMG::ResNormInf() 92 0.002199 0.002199 0.002199 0.25% Castro::finalize_do_advance() 10 0.001943 0.001943 0.001943 0.22% Castro::apply_source_to_state() 20 0.001904 0.001904 0.001904 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001813 0.001813 0.001813 0.20% check_for_negative_density() 10 0.001651 0.001651 0.001651 0.19% MLMG::getGradSolution() 11 0.001645 0.001645 0.001645 0.18% MLCellLinOp::compGrad() 11 0.001639 0.001639 0.001639 0.18% MLCellLinOp::setLevelBC() 11 0.001619 0.001619 0.001619 0.18% FabArrayBase::getCPC() 1313 0.001438 0.001438 0.001438 0.16% FabArray::setDomainBndry() 41 0.00142 0.00142 0.00142 0.16% MLMG::computeMLResidual() 11 0.001408 0.001408 0.001408 0.16% FabArray::mult() 43 0.001392 0.001392 0.001392 0.16% MLPoisson::prepareForSolve() 11 0.00132 0.00132 0.00132 0.15% Castro::check_for_nan() 20 0.001314 0.001314 0.001314 0.15% MLCellLinOp::prepareForSolve() 11 0.001305 0.001305 0.001305 0.15% MultiFab::contains_nan() 20 0.001303 0.001303 0.001303 0.15% Other 4767 0.008356 0.008356 0.008356 0.94% -------------------------------------------------------------------------------------------- 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 6323 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1004 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1683 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 649 649 3635 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 213 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2214 B 2048 KiB Gravity::solve_for_phi() 80 80 579 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 2778 B 480 KiB VisMF::Write(FabArray) 656 656 3480 B 320 KiB Castro::normalize_species() 62 62 4076 B 320 KiB amrex::average_down 1054 1054 1632 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1182 B 257 KiB amrex::Dot() 1343 1343 3569 B 160 KiB FabArray::norminf() 1129 1129 3467 B 160 KiB check_for_negative_density() 10 10 289 B 160 KiB Castro::initData() 1 1 55 B 160 KiB MultiFab::max() 11 11 60 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 29 B 20 KiB MLPoisson::Fsmooth() 132 132 3547 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 305 B 9648 B MLCellLinOp::applyBC() 8596 8596 225 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 374 B 1248 B MLCGSolver::bicgstab 405 405 97 B 1216 B MLPoisson::Fapply() 11 11 297 B 1024 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 681 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 467 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3547 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 304 B 9648 B MLCellLinOp::applyBC() 4298 4298 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B Gravity::get_new_grav_vector() 3 3 2902 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 2976 B Gravity::fill_multipole_BCs() 33 33 4 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 MLPoisson::Fapply() 11 11 297 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 26 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): 2133 [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.07-37-g83ecf62e0b43) finalized Initializing AMReX (24.07-37-g83ecf62e0b43)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-37-g83ecf62e0b43) initialized Starting run at 07:58:08 UTC on 2024-08-01. Successfully read inputs file ... Castro git describe: 24.07-35-gc7c6acad2 AMReX git describe: 24.07-37-g83ecf62e0 Microphysics git describe: 24.07-40-g8924bd8d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.508988915 Restart time = 0.071956167 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.066203794 [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.050973888 [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.059230085 [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.059842556 [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.07992675 [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.03567662 seconds Ending run at 07:58:08 UTC on 2024-08-01. Run time = 0.424723811 Run time without initialization = 0.352362179 Average number of zones advanced per microsecond: 3.720 Average number of zones advanced per microsecond per rank: 3.720 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4248 ... 0.4248 ... 0.4248 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1264 0.1264 0.1264 29.77% VisMF::Read() 3 0.06059 0.06059 0.06059 14.26% MLCellLinOp::applyBC() 1910 0.03615 0.03615 0.03615 8.51% VisMF::Write(FabArray) 1 0.03312 0.03312 0.03312 7.80% MLPoisson::Fsmooth() 1440 0.01491 0.01491 0.01491 3.51% StateData::FillBoundary(geom) 160 0.01342 0.01342 0.01342 3.16% FillBoundary_nowait() 1730 0.01299 0.01299 0.01299 3.06% Castro::reset_internal_energy(MultiFab) 30 0.009386 0.009386 0.009386 2.21% amrex::Dot() 484 0.009362 0.009362 0.009362 2.20% FabArray::norminf() 465 0.008741 0.008741 0.008741 2.06% FabArray::setVal() 501 0.006685 0.006685 0.006685 1.57% FabArray::ParallelCopy_nowait() 380 0.006248 0.006248 0.006248 1.47% FabArray::Saxpy() 597 0.005947 0.005947 0.005947 1.40% MLCellLinOp::defineAuxData() 6 0.005631 0.005631 0.005631 1.33% amrex::Copy() 221 0.005503 0.005503 0.005503 1.30% Castro::computeTemp() 30 0.005447 0.005447 0.005447 1.28% Castro::normalize_species() 30 0.005415 0.005415 0.005415 1.27% StateDataPhysBCFunct::() 20 0.005015 0.005015 0.005015 1.18% Amr::restart() 1 0.004924 0.004924 0.004924 1.16% Gravity::fill_multipole_BCs() 6 0.004693 0.004693 0.004693 1.10% MLPoisson::Fapply() 464 0.004602 0.004602 0.004602 1.08% FabArray::Xpay() 325 0.003558 0.003558 0.003558 0.84% MLMG::addInterpCorrection() 180 0.003113 0.003113 0.003113 0.73% amrex::average_down 180 0.002801 0.002801 0.002801 0.66% Castro::enforce_min_density() 30 0.002734 0.002734 0.002734 0.64% Amr::writePlotFile() 1 0.002364 0.002364 0.002364 0.56% BndryData::define() 6 0.002245 0.002245 0.002245 0.53% Castro::estTimeStep() 10 0.002189 0.002189 0.002189 0.52% Castro::construct_new_gravity_source() 5 0.001926 0.001926 0.001926 0.45% amrex::Add() 36 0.001557 0.001557 0.001557 0.37% Castro::construct_old_gravity_source() 5 0.001532 0.001532 0.001532 0.36% Castro::reset_internal_energy(Fab) 240 0.001077 0.001077 0.001077 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009858 0.0009858 0.0009858 0.23% MLCellLinOp::setLevelBC() 6 0.000899 0.000899 0.000899 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008346 0.0008346 0.0008346 0.20% MLCellLinOp::prepareForSolve() 6 0.000749 0.000749 0.000749 0.18% MLCGSolver::bicgstab 36 0.0007453 0.0007453 0.0007453 0.18% FabArray::setDomainBndry() 20 0.0007096 0.0007096 0.0007096 0.17% FabArray::mult() 22 0.0007064 0.0007064 0.0007064 0.17% check_for_negative_density() 5 0.0007006 0.0007006 0.0007006 0.16% MLCellLinOp::compGrad() 6 0.0005956 0.0005956 0.0005956 0.14% MLCellLinOp::smooth() 720 0.0004853 0.0004853 0.0004853 0.11% MLMG::prepareForSolve() 6 0.000382 0.000382 0.000382 0.09% FabArrayBase::getCPC() 632 0.0003768 0.0003768 0.0003768 0.09% main() 1 0.0003754 0.0003754 0.0003754 0.09% FabArray::FillBoundary() 1730 0.0003313 0.0003313 0.0003313 0.08% Gravity::get_old_grav_vector() 5 0.0003009 0.0003009 0.0003009 0.07% Gravity::get_new_grav_vector() 5 0.0002335 0.0002335 0.0002335 0.05% AmrLevel::FillPatch() 20 0.0001971 0.0001971 0.0001971 0.05% Amr::coarseTimeStep() 5 0.0001846 0.0001846 0.0001846 0.04% MLCellLinOp::apply() 464 0.000174 0.000174 0.000174 0.04% MLCellLinOp::defineBC() 6 0.0001408 0.0001408 0.0001408 0.03% MLCGSolver::ParallelAllReduce 798 0.0001401 0.0001401 0.0001401 0.03% FabArray::ParallelCopy() 380 0.0001129 0.0001129 0.0001129 0.03% FillPatchIterator::Initialize 20 0.0001057 0.0001057 0.0001057 0.02% Castro::construct_new_source() 25 0.0001026 0.0001026 0.0001026 0.02% Castro::do_advance_ctu() 5 9.423e-05 9.423e-05 9.423e-05 0.02% MLMG::mgVcycle() 36 8.311e-05 8.311e-05 8.311e-05 0.02% Amr::timeStep() 5 8.223e-05 8.223e-05 8.223e-05 0.02% Castro::subcycle_advance_ctu() 5 7.988e-05 7.988e-05 7.988e-05 0.02% AmrLevel::restart() 1 7.877e-05 7.877e-05 7.877e-05 0.02% MLCellLinOp::correctionResidual() 180 7.731e-05 7.731e-05 7.731e-05 0.02% StateData::restartDoit() 4 7.12e-05 7.12e-05 7.12e-05 0.02% Gravity::update_max_rhs() 6 6.922e-05 6.922e-05 6.922e-05 0.02% MLMG:computeResOfCorrection() 180 5.197e-05 5.197e-05 5.197e-05 0.01% Gravity::solve_for_phi() 5 4.876e-05 4.876e-05 4.876e-05 0.01% MLMG::mgVcycle_down::0 36 4.172e-05 4.172e-05 4.172e-05 0.01% MLMG::actualBottomSolve() 36 3.896e-05 3.896e-05 3.896e-05 0.01% Castro::initialize_advance() 5 3.684e-05 3.684e-05 3.684e-05 0.01% Castro::post_restart() 1 3.653e-05 3.653e-05 3.653e-05 0.01% MLMG::mgVcycle_down::1 36 3.571e-05 3.571e-05 3.571e-05 0.01% MLMG::solve() 6 3.556e-05 3.556e-05 3.556e-05 0.01% MLMG::mgVcycle_down::2 36 3.433e-05 3.433e-05 3.433e-05 0.01% MLMG::mgVcycle_down::4 36 3.26e-05 3.26e-05 3.26e-05 0.01% MLMG::mgVcycle_down::3 36 3.103e-05 3.103e-05 3.103e-05 0.01% Castro::initialize_do_advance() 5 2.944e-05 2.944e-05 2.944e-05 0.01% Castro::clean_state() 30 2.936e-05 2.936e-05 2.936e-05 0.01% MLPoisson::define() 6 2.617e-05 2.617e-05 2.617e-05 0.01% MLMG::mgVcycle_up::4 36 2.534e-05 2.534e-05 2.534e-05 0.01% MLMG::ResNormInf() 42 2.419e-05 2.419e-05 2.419e-05 0.01% MLMG::oneIter() 36 2.367e-05 2.367e-05 2.367e-05 0.01% Castro::finalize_do_advance() 5 2.276e-05 2.276e-05 2.276e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.178e-05 2.178e-05 2.178e-05 0.01% MLMG::mgVcycle_up::3 36 2.173e-05 2.173e-05 2.173e-05 0.01% MLCellLinOp::solutionResidual() 42 2.139e-05 2.139e-05 2.139e-05 0.01% MLMG::mgVcycle_up::2 36 2.033e-05 2.033e-05 2.033e-05 0.00% MLMG::mgVcycle_up::0 36 1.972e-05 1.972e-05 1.972e-05 0.00% MLMG::mgVcycle_up::1 36 1.929e-05 1.929e-05 1.929e-05 0.00% Castro::do_old_sources() 5 1.699e-05 1.699e-05 1.699e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.666e-05 1.666e-05 1.666e-05 0.00% FillPatchSingleLevel 20 1.644e-05 1.644e-05 1.644e-05 0.00% MLMG::computeResidual() 36 1.51e-05 1.51e-05 1.51e-05 0.00% MLMG::mgVcycle_bottom 36 1.496e-05 1.496e-05 1.496e-05 0.00% Castro::advance() 5 1.357e-05 1.357e-05 1.357e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.347e-05 1.347e-05 1.347e-05 0.00% Castro::construct_new_gravity() 5 1.156e-05 1.156e-05 1.156e-05 0.00% MLPoisson::prepareForSolve() 6 1.151e-05 1.151e-05 1.151e-05 0.00% Castro::construct_old_source() 25 1.099e-05 1.099e-05 1.099e-05 0.00% Castro::expand_state() 5 1.054e-05 1.054e-05 1.054e-05 0.00% Castro::do_new_sources() 5 9.85e-06 9.85e-06 9.85e-06 0.00% Gravity::actual_multilevel_solve() 1 8.318e-06 8.318e-06 8.318e-06 0.00% Castro::apply_source_to_state() 10 6.096e-06 6.096e-06 6.096e-06 0.00% Castro::construct_old_gravity() 5 6.053e-06 6.053e-06 6.053e-06 0.00% Castro::post_timestep() 5 4.6e-06 4.6e-06 4.6e-06 0.00% MLMG::computeMLResidual() 6 4.09e-06 4.09e-06 4.09e-06 0.00% Castro::computeNewDt() 5 3.544e-06 3.544e-06 3.544e-06 0.00% MLMG::getGradSolution() 6 3.124e-06 3.124e-06 3.124e-06 0.00% Amr::init() 1 1.037e-06 1.037e-06 1.037e-06 0.00% Other 2200 0.002282 0.002282 0.002282 0.54% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4247 0.4247 0.4247 99.99% Amr::coarseTimeStep() 5 0.3164 0.3164 0.3164 74.48% Amr::timeStep() 5 0.3148 0.3148 0.3148 74.10% Castro::advance() 5 0.3096 0.3096 0.3096 72.89% Castro::subcycle_advance_ctu() 5 0.3026 0.3026 0.3026 71.24% Castro::do_advance_ctu() 5 0.3025 0.3025 0.3025 71.22% Castro::construct_new_gravity() 5 0.1366 0.1366 0.1366 32.16% Gravity::solve_phi_with_mlmg() 6 0.1335 0.1335 0.1335 31.44% Castro::construct_ctu_hydro_source() 5 0.1312 0.1312 0.1312 30.89% Gravity::actual_solve_with_mlmg() 6 0.1286 0.1286 0.1286 30.27% Gravity::solve_for_phi() 5 0.1283 0.1283 0.1283 30.19% MLMG::solve() 6 0.1164 0.1164 0.1164 27.40% MLMG::oneIter() 36 0.1087 0.1087 0.1087 25.59% MLMG::mgVcycle() 36 0.1071 0.1071 0.1071 25.22% Amr::init() 1 0.072 0.072 0.072 16.95% Amr::restart() 1 0.072 0.072 0.072 16.95% AmrLevel::restart() 1 0.06097 0.06097 0.06097 14.35% StateData::restartDoit() 4 0.06088 0.06088 0.06088 14.33% VisMF::Read() 3 0.06059 0.06059 0.06059 14.26% MLCellLinOp::smooth() 720 0.05338 0.05338 0.05338 12.57% MLCellLinOp::applyBC() 1910 0.04979 0.04979 0.04979 11.72% Amr::writePlotFile() 1 0.03574 0.03574 0.03574 8.41% VisMF::Write(FabArray) 1 0.03312 0.03312 0.03312 7.80% MLMG::mgVcycle_bottom 36 0.03199 0.03199 0.03199 7.53% MLMG::actualBottomSolve() 36 0.03198 0.03198 0.03198 7.53% MLCGSolver::bicgstab 36 0.03161 0.03161 0.03161 7.44% Castro::clean_state() 30 0.02414 0.02414 0.02414 5.68% AmrLevel::FillPatch() 20 0.02349 0.02349 0.02349 5.53% FillPatchIterator::Initialize 20 0.02136 0.02136 0.02136 5.03% FillPatchIterator::FillFromLevel0() 20 0.02055 0.02055 0.02055 4.84% FillPatchSingleLevel 20 0.02053 0.02053 0.02053 4.83% StateDataPhysBCFunct::() 20 0.01844 0.01844 0.01844 4.34% MLCellLinOp::apply() 464 0.01628 0.01628 0.01628 3.83% Castro::computeTemp() 30 0.01591 0.01591 0.01591 3.75% MLMG::mgVcycle_down::0 36 0.01509 0.01509 0.01509 3.55% MLPoisson::Fsmooth() 1440 0.01491 0.01491 0.01491 3.51% FabArray::FillBoundary() 1730 0.01364 0.01364 0.01364 3.21% StateData::FillBoundary(geom) 160 0.01342 0.01342 0.01342 3.16% FillBoundary_nowait() 1730 0.01331 0.01331 0.01331 3.13% MLMG::mgVcycle_up::0 36 0.01132 0.01132 0.01132 2.66% Castro::reset_internal_energy(MultiFab) 30 0.01046 0.01046 0.01046 2.46% Castro::initialize_do_advance() 5 0.01021 0.01021 0.01021 2.40% MLPoisson::define() 6 0.009571 0.009571 0.009571 2.25% amrex::Dot() 484 0.009362 0.009362 0.009362 2.20% MLMG:computeResOfCorrection() 180 0.009034 0.009034 0.009034 2.13% MLCellLinOp::correctionResidual() 180 0.008982 0.008982 0.008982 2.11% FabArray::norminf() 465 0.008741 0.008741 0.008741 2.06% Castro::do_old_sources() 5 0.008738 0.008738 0.008738 2.06% Gravity::get_new_grav_vector() 5 0.008233 0.008233 0.008233 1.94% Castro::construct_old_gravity() 5 0.007735 0.007735 0.007735 1.82% Gravity::get_old_grav_vector() 5 0.007729 0.007729 0.007729 1.82% MLMG::mgVcycle_down::1 36 0.007627 0.007627 0.007627 1.80% MLMG::mgVcycle_down::2 36 0.006843 0.006843 0.006843 1.61% FabArray::ParallelCopy() 380 0.006766 0.006766 0.006766 1.59% FabArray::setVal() 501 0.006685 0.006685 0.006685 1.57% Castro::initialize_advance() 5 0.006678 0.006678 0.006678 1.57% FabArray::ParallelCopy_nowait() 380 0.006653 0.006653 0.006653 1.57% MLMG::mgVcycle_down::3 36 0.006648 0.006648 0.006648 1.57% MLMG::mgVcycle_down::4 36 0.00664 0.00664 0.00664 1.56% Castro::do_new_sources() 5 0.006638 0.006638 0.006638 1.56% MLCellLinOp::defineAuxData() 6 0.006431 0.006431 0.006431 1.51% Castro::expand_state() 5 0.006114 0.006114 0.006114 1.44% FabArray::Saxpy() 597 0.005947 0.005947 0.005947 1.40% Castro::post_restart() 1 0.005922 0.005922 0.005922 1.39% MLCGSolver::ParallelAllReduce 798 0.005633 0.005633 0.005633 1.33% Gravity::multilevel_solve_for_new_phi() 1 0.005513 0.005513 0.005513 1.30% amrex::Copy() 221 0.005503 0.005503 0.005503 1.30% Gravity::actual_multilevel_solve() 1 0.005496 0.005496 0.005496 1.29% MLMG::addInterpCorrection() 180 0.005444 0.005444 0.005444 1.28% Castro::normalize_species() 30 0.005415 0.005415 0.005415 1.27% MLMG::mgVcycle_up::4 36 0.005336 0.005336 0.005336 1.26% MLMG::mgVcycle_up::1 36 0.005313 0.005313 0.005313 1.25% MLMG::mgVcycle_up::2 36 0.005181 0.005181 0.005181 1.22% amrex::average_down 180 0.005166 0.005166 0.005166 1.22% Castro::post_timestep() 5 0.005065 0.005065 0.005065 1.19% MLMG::mgVcycle_up::3 36 0.005042 0.005042 0.005042 1.19% Gravity::fill_multipole_BCs() 6 0.004821 0.004821 0.004821 1.13% MLPoisson::Fapply() 464 0.004602 0.004602 0.004602 1.08% MLCellLinOp::solutionResidual() 42 0.003764 0.003764 0.003764 0.89% FabArray::Xpay() 325 0.003558 0.003558 0.003558 0.84% MLCellLinOp::defineBC() 6 0.002979 0.002979 0.002979 0.70% MLMG::computeResidual() 36 0.002895 0.002895 0.002895 0.68% BndryData::define() 6 0.002838 0.002838 0.002838 0.67% Castro::enforce_min_density() 30 0.002734 0.002734 0.002734 0.64% MLMG::prepareForSolve() 6 0.002734 0.002734 0.002734 0.64% Castro::estTimeStep() 10 0.002189 0.002189 0.002189 0.52% Castro::construct_new_source() 25 0.002029 0.002029 0.002029 0.48% Castro::construct_new_gravity_source() 5 0.001926 0.001926 0.001926 0.45% amrex::Add() 36 0.001557 0.001557 0.001557 0.37% Castro::construct_old_source() 25 0.001543 0.001543 0.001543 0.36% Castro::construct_old_gravity_source() 5 0.001532 0.001532 0.001532 0.36% Castro::computeNewDt() 5 0.001417 0.001417 0.001417 0.33% Castro::reset_internal_energy(Fab) 240 0.001077 0.001077 0.001077 0.25% MLMG::ResNormInf() 42 0.00101 0.00101 0.00101 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009858 0.0009858 0.0009858 0.23% Castro::apply_source_to_state() 10 0.0009688 0.0009688 0.0009688 0.23% MLMG::getGradSolution() 6 0.0009013 0.0009013 0.0009013 0.21% MLCellLinOp::setLevelBC() 6 0.000899 0.000899 0.000899 0.21% MLCellLinOp::compGrad() 6 0.0008982 0.0008982 0.0008982 0.21% MLMG::computeMLResidual() 6 0.0008877 0.0008877 0.0008877 0.21% FabArrayBase::getCPC() 632 0.000812 0.000812 0.000812 0.19% Castro::finalize_do_advance() 5 0.0007978 0.0007978 0.0007978 0.19% MLPoisson::prepareForSolve() 6 0.0007605 0.0007605 0.0007605 0.18% Gravity::update_max_rhs() 6 0.000751 0.000751 0.000751 0.18% MLCellLinOp::prepareForSolve() 6 0.000749 0.000749 0.000749 0.18% FabArray::setDomainBndry() 20 0.0007096 0.0007096 0.0007096 0.17% FabArray::mult() 22 0.0007064 0.0007064 0.0007064 0.17% check_for_negative_density() 5 0.0007006 0.0007006 0.0007006 0.16% Other 2200 0.004183 0.004183 0.004183 0.98% -------------------------------------------------------------------------------------------- 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 13 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 1096 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2286 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 6392 KiB 14 MiB MLMG::prepareForSolve() 354 354 3367 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 188 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 198 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6377 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 17 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3524 B 2048 KiB Gravity::solve_for_phi() 40 40 617 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 310 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 2384 B 480 KiB VisMF::Write(FabArray) 112 112 6579 B 320 KiB Castro::normalize_species() 30 30 4137 B 320 KiB amrex::average_down 469 469 1423 B 257 KiB MLMG::addInterpCorrection() 468 468 1102 B 257 KiB amrex::Dot() 592 592 3245 B 160 KiB FabArray::norminf() 501 501 3180 B 160 KiB check_for_negative_density() 5 5 263 B 160 KiB MultiFab::max() 6 6 78 B 160 KiB FabArray::setVal() 67 67 21 KiB 28 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3261 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 262 B 9648 B MLCellLinOp::applyBC() 3820 3820 211 B 9344 B amrex::Copy() 56 56 5857 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 348 B 1248 B MLCGSolver::bicgstab 180 180 89 B 1216 B MLPoisson::Fapply() 6 6 274 B 1024 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1452 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 90 KiB 8192 KiB VisMF::Write(FabArray) 120 120 174 KiB 3584 KiB VisMF::Read() 24 24 216 KiB 3000 KiB FabArray::setVal() 67 67 21 KiB 28 KiB MLPoisson::Fsmooth() 60 60 3261 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 262 B 9648 B MLCellLinOp::applyBC() 1910 1910 210 B 9328 B amrex::Copy() 56 56 5857 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2502 B 3072 B StateData::FillBoundary(geom) 960 960 38 B 3024 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B amrex::average_down 37 37 462 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLPoisson::Fapply() 6 6 274 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): 2133 [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.07-37-g83ecf62e0b43) finalized