Initializing AMReX (24.02-12-g68244ec91d11)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-12-g68244ec91d11) initialized Starting run at 10:33:06 UTC on 2024-02-12. Successfully read inputs file ... Castro git describe: 24.02-16-g08d58b44f AMReX git describe: 24.02-12-g68244ec91 Microphysics git describe: 24.02-11-g348ca2f5 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.044468798 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024227284 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.066127655 [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.067466644 [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.073102524 [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.076735978 [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.063258266 [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.042988264 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.049950412 [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.066910093 [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.069989358 [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.061006285 [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.065341145 [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.041219567 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.023623942 seconds Ending run at 10:33:07 UTC on 2024-02-12. Run time = 0.89193618 Run time without initialization = 0.768384385 Average number of zones advanced per microsecond: 3.412 Average number of zones advanced per microsecond per rank: 3.412 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.892 ... 0.892 ... 0.892 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2791 0.2791 0.2791 31.29% VisMF::Write(FabArray) 11 0.1679 0.1679 0.1679 18.83% MLCellLinOp::applyBC() 4351 0.08017 0.08017 0.08017 8.99% FillBoundary_nowait() 3941 0.03961 0.03961 0.03961 4.44% MLPoisson::Fsmooth() 3280 0.03269 0.03269 0.03269 3.66% StateData::FillBoundary(geom) 328 0.02611 0.02611 0.02611 2.93% amrex::Dot() 1114 0.02078 0.02078 0.02078 2.33% Castro::normalize_species() 62 0.02042 0.02042 0.02042 2.29% FabArray::norminf() 1061 0.01953 0.01953 0.01953 2.19% Castro::computeTemp() 63 0.01532 0.01532 0.01532 1.72% FabArray::ParallelCopy_nowait() 861 0.01337 0.01337 0.01337 1.50% FabArray::setVal() 1062 0.01312 0.01312 0.01312 1.47% FabArray::Saxpy() 1370 0.01296 0.01296 0.01296 1.45% StateDataPhysBCFunct::() 41 0.01147 0.01147 0.01147 1.29% Castro::enforce_min_density() 62 0.01145 0.01145 0.01145 1.28% amrex::Copy() 472 0.01073 0.01073 0.01073 1.20% MLPoisson::Fapply() 1060 0.01006 0.01006 0.01006 1.13% MLCellLinOp::defineAuxData() 11 0.01002 0.01002 0.01002 1.12% Gravity::fill_multipole_BCs() 11 0.008893 0.008893 0.008893 1.00% FabArray::Xpay() 739 0.007759 0.007759 0.007759 0.87% MLMG::addInterpCorrection() 410 0.006951 0.006951 0.006951 0.78% Castro::estTimeStep() 21 0.006173 0.006173 0.006173 0.69% amrex::average_down 410 0.006106 0.006106 0.006106 0.68% Amr::checkPoint() 3 0.005985 0.005985 0.005985 0.67% Castro::reset_internal_energy(MultiFab) 63 0.005569 0.005569 0.005569 0.62% BndryData::define() 11 0.003814 0.003814 0.003814 0.43% amrex::Add() 82 0.003645 0.003645 0.003645 0.41% Castro::construct_new_gravity_source() 10 0.003489 0.003489 0.003489 0.39% Castro::construct_old_gravity_source() 10 0.002946 0.002946 0.002946 0.33% Amr::writePlotFile() 2 0.002116 0.002116 0.002116 0.24% Castro::enforce_speed_limit() 62 0.001832 0.001832 0.001832 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00176 0.00176 0.00176 0.20% check_for_negative_density() 10 0.00168 0.00168 0.00168 0.19% MLCGSolver::bicgstab 82 0.001675 0.001675 0.001675 0.19% Castro::reset_internal_energy(Fab) 504 0.001611 0.001611 0.001611 0.18% Gravity::actual_solve_with_mlmg() 11 0.001598 0.001598 0.001598 0.18% MLCellLinOp::setLevelBC() 11 0.001566 0.001566 0.001566 0.18% Castro::initData() 1 0.001493 0.001493 0.001493 0.17% FabArray::mult() 43 0.001376 0.001376 0.001376 0.15% FabArray::setDomainBndry() 41 0.001366 0.001366 0.001366 0.15% MLCellLinOp::prepareForSolve() 11 0.001333 0.001333 0.001333 0.15% MultiFab::contains_nan() 20 0.001272 0.001272 0.001272 0.14% MLCellLinOp::smooth() 1640 0.001142 0.001142 0.001142 0.13% MLCellLinOp::compGrad() 11 0.001095 0.001095 0.001095 0.12% MLMG::prepareForSolve() 11 0.0009903 0.0009903 0.0009903 0.11% FabArray::FillBoundary() 3941 0.0008351 0.0008351 0.0008351 0.09% FabArrayBase::getCPC() 1323 0.0008122 0.0008122 0.0008122 0.09% FabArrayBase::CPC::define() 454 0.0006931 0.0006931 0.0006931 0.08% Gravity::get_new_grav_vector() 11 0.0006336 0.0006336 0.0006336 0.07% FabArrayBase::getFB() 3941 0.0006095 0.0006095 0.0006095 0.07% Amr::InitAmr() 1 0.0005489 0.0005489 0.0005489 0.06% Gravity::get_old_grav_vector() 10 0.0004895 0.0004895 0.0004895 0.05% MLCellLinOp::apply() 1060 0.0004456 0.0004456 0.0004456 0.05% AmrLevel::FillPatch() 41 0.0004347 0.0004347 0.0004347 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003595 0.0003595 0.0003595 0.04% Amr::coarseTimeStep() 10 0.0003536 0.0003536 0.0003536 0.04% MultiFab::max() 11 0.0003281 0.0003281 0.0003281 0.04% main() 1 0.0003014 0.0003014 0.0003014 0.03% MLCellLinOp::defineBC() 11 0.0002951 0.0002951 0.0002951 0.03% FabArray::ParallelCopy() 861 0.0002398 0.0002398 0.0002398 0.03% FillPatchIterator::Initialize 41 0.0002287 0.0002287 0.0002287 0.03% MLMG::mgVcycle() 82 0.0002232 0.0002232 0.0002232 0.03% Castro::subcycle_advance_ctu() 10 0.0001798 0.0001798 0.0001798 0.02% MLCellLinOp::correctionResidual() 410 0.0001792 0.0001792 0.0001792 0.02% Castro::create_source_corrector() 10 0.0001763 0.0001763 0.0001763 0.02% MLLinOp::defineGrids() 11 0.000176 0.000176 0.000176 0.02% Amr::timeStep() 10 0.000173 0.000173 0.000173 0.02% StateData::checkPoint() 12 0.0001387 0.0001387 0.0001387 0.02% Gravity::update_max_rhs() 11 0.0001336 0.0001336 0.0001336 0.01% MLMG:computeResOfCorrection() 410 0.0001262 0.0001262 0.0001262 0.01% Gravity::solve_for_phi() 10 0.0001214 0.0001214 0.0001214 0.01% Castro::construct_new_source() 50 9.92e-05 9.92e-05 9.92e-05 0.01% MLMG::actualBottomSolve() 82 9.66e-05 9.66e-05 9.66e-05 0.01% FabArrayBase::FB::FB() 56 9.273e-05 9.273e-05 9.273e-05 0.01% Castro::advance() 10 9.252e-05 9.252e-05 9.252e-05 0.01% Castro::Castro() 1 8.591e-05 8.591e-05 8.591e-05 0.01% MLMG::mgVcycle_down::1 82 8.277e-05 8.277e-05 8.277e-05 0.01% MLMG::mgVcycle_down::0 82 8.219e-05 8.219e-05 8.219e-05 0.01% Castro::initialize_advance() 10 8.103e-05 8.103e-05 8.103e-05 0.01% AmrLevel::checkPoint() 3 7.941e-05 7.941e-05 7.941e-05 0.01% MLMG::solve() 11 7.668e-05 7.668e-05 7.668e-05 0.01% MLMG::mgVcycle_down::2 82 7.646e-05 7.646e-05 7.646e-05 0.01% MLMG::mgVcycle_down::4 82 7.496e-05 7.496e-05 7.496e-05 0.01% MLMG::mgVcycle_down::3 82 6.997e-05 6.997e-05 6.997e-05 0.01% Castro::finalize_advance() 10 6.847e-05 6.847e-05 6.847e-05 0.01% Castro::clean_state() 62 6.807e-05 6.807e-05 6.807e-05 0.01% Castro::initialize_do_advance() 10 6.648e-05 6.648e-05 6.648e-05 0.01% Castro::enforce_consistent_e() 1 6.56e-05 6.56e-05 6.56e-05 0.01% MLMG::mgVcycle_up::4 82 5.885e-05 5.885e-05 5.885e-05 0.01% MLMG::oneIter() 82 5.353e-05 5.353e-05 5.353e-05 0.01% Castro::do_advance_ctu() 10 5.225e-05 5.225e-05 5.225e-05 0.01% MLMG::mgVcycle_up::0 82 5.104e-05 5.104e-05 5.104e-05 0.01% MLMG::mgVcycle_up::3 82 5.101e-05 5.101e-05 5.101e-05 0.01% MLMG::mgVcycle_up::1 82 4.969e-05 4.969e-05 4.969e-05 0.01% MLCellLinOp::solutionResidual() 93 4.958e-05 4.958e-05 4.958e-05 0.01% MLMG::mgVcycle_up::2 82 4.872e-05 4.872e-05 4.872e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.792e-05 4.792e-05 4.792e-05 0.01% Castro::finalize_do_advance() 10 4.735e-05 4.735e-05 4.735e-05 0.01% Castro::swap_state_time_levels() 10 3.819e-05 3.819e-05 3.819e-05 0.00% StateData::define() 4 3.736e-05 3.736e-05 3.736e-05 0.00% FillPatchSingleLevel 41 3.698e-05 3.698e-05 3.698e-05 0.00% MLMG::ResNormInf() 93 3.674e-05 3.674e-05 3.674e-05 0.00% Castro::post_timestep() 10 3.637e-05 3.637e-05 3.637e-05 0.00% MLMG::computeResidual() 82 3.354e-05 3.354e-05 3.354e-05 0.00% Amr::writeSmallPlotFile() 1 3.228e-05 3.228e-05 3.228e-05 0.00% MLMG::mgVcycle_bottom 82 3.133e-05 3.133e-05 3.133e-05 0.00% Castro::initMFs() 1 3.087e-05 3.087e-05 3.087e-05 0.00% Castro::construct_new_gravity() 10 2.733e-05 2.733e-05 2.733e-05 0.00% Castro::buildMetrics() 1 2.581e-05 2.581e-05 2.581e-05 0.00% Amr::defBaseLevel() 1 2.566e-05 2.566e-05 2.566e-05 0.00% makeSFC 55 2.555e-05 2.555e-05 2.555e-05 0.00% Castro::do_old_sources() 10 2.443e-05 2.443e-05 2.443e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.429e-05 2.429e-05 2.429e-05 0.00% Castro::do_new_sources() 10 2.118e-05 2.118e-05 2.118e-05 0.00% Amr::FinalizeInit() 1 2.069e-05 2.069e-05 2.069e-05 0.00% MLPoisson::define() 11 2.064e-05 2.064e-05 2.064e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.012e-05 2.012e-05 2.012e-05 0.00% Castro::construct_old_source() 50 1.87e-05 1.87e-05 1.87e-05 0.00% DistributionMapping::Distribute() 56 1.75e-05 1.75e-05 1.75e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.465e-05 1.465e-05 1.465e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.459e-05 1.459e-05 1.459e-05 0.00% Castro::construct_old_gravity() 10 1.406e-05 1.406e-05 1.406e-05 0.00% MLPoisson::prepareForSolve() 11 1.308e-05 1.308e-05 1.308e-05 0.00% Castro::check_for_nan() 20 1.28e-05 1.28e-05 1.28e-05 0.00% Castro::apply_source_to_state() 20 1.225e-05 1.225e-05 1.225e-05 0.00% MLLinOp::define() 11 1.157e-05 1.157e-05 1.157e-05 0.00% MLMG::computeMLResidual() 11 1.035e-05 1.035e-05 1.035e-05 0.00% Castro::post_init() 1 1.002e-05 1.002e-05 1.002e-05 0.00% Gravity::swapTimeLevels() 10 9.329e-06 9.329e-06 9.329e-06 0.00% Amr::initSubcycle() 1 8.654e-06 8.654e-06 8.654e-06 0.00% Gravity::actual_multilevel_solve() 1 7.872e-06 7.872e-06 7.872e-06 0.00% Castro::computeNewDt() 9 6.841e-06 6.841e-06 6.841e-06 0.00% AmrLevel::checkPointPost() 3 6.723e-06 6.723e-06 6.723e-06 0.00% Castro::expand_state() 10 6.612e-06 6.612e-06 6.612e-06 0.00% MLMG::getGradSolution() 11 6.361e-06 6.361e-06 6.361e-06 0.00% Amr::InitializeInit() 1 4.396e-06 4.396e-06 4.396e-06 0.00% Gravity::set_mass_offset() 11 4.179e-06 4.179e-06 4.179e-06 0.00% MLMG::MLResNormInf() 11 4.087e-06 4.087e-06 4.087e-06 0.00% MLMG::MLRhsNormInf() 11 4.078e-06 4.078e-06 4.078e-06 0.00% Castro::retry_advance_ctu() 10 4.049e-06 4.049e-06 4.049e-06 0.00% Castro::computeInitialDt() 2 2.784e-06 2.784e-06 2.784e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.779e-06 2.779e-06 2.779e-06 0.00% Castro::FluxRegFineAdd() 10 2.616e-06 2.616e-06 2.616e-06 0.00% Castro::FluxRegCrseInit 10 2.477e-06 2.477e-06 2.477e-06 0.00% AmrLevel::checkPointPre() 3 2.409e-06 2.409e-06 2.409e-06 0.00% Amr::init() 1 2.097e-06 2.097e-06 2.097e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.037e-06 2.037e-06 2.037e-06 0.00% Amr::initialInit() 1 1.157e-06 1.157e-06 1.157e-06 0.00% Castro::post_regrid() 1 9.68e-07 9.68e-07 9.68e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8919 0.8919 0.8919 100.00% Amr::coarseTimeStep() 10 0.7445 0.7445 0.7445 83.47% Amr::timeStep() 10 0.6564 0.6564 0.6564 73.59% Castro::advance() 10 0.646 0.646 0.646 72.42% Castro::subcycle_advance_ctu() 10 0.6314 0.6314 0.6314 70.78% Castro::do_advance_ctu() 10 0.6312 0.6312 0.6312 70.76% Gravity::solve_phi_with_mlmg() 11 0.2989 0.2989 0.2989 33.51% Gravity::actual_solve_with_mlmg() 11 0.2895 0.2895 0.2895 32.46% Castro::construct_ctu_hydro_source() 10 0.2892 0.2892 0.2892 32.42% Castro::construct_new_gravity() 10 0.2702 0.2702 0.2702 30.29% MLMG::solve() 11 0.2679 0.2679 0.2679 30.04% Gravity::solve_for_phi() 10 0.2543 0.2543 0.2543 28.51% MLMG::oneIter() 82 0.2525 0.2525 0.2525 28.31% MLMG::mgVcycle() 82 0.2488 0.2488 0.2488 27.89% VisMF::Write(FabArray) 11 0.1679 0.1679 0.1679 18.83% MLCellLinOp::smooth() 1640 0.1289 0.1289 0.1289 14.45% Amr::checkPoint() 3 0.1288 0.1288 0.1288 14.44% Amr::init() 1 0.1229 0.1229 0.1229 13.78% AmrLevel::checkPoint() 3 0.1228 0.1228 0.1228 13.77% StateData::checkPoint() 12 0.1227 0.1227 0.1227 13.76% MLCellLinOp::applyBC() 4351 0.1213 0.1213 0.1213 13.60% MLMG::mgVcycle_bottom 82 0.07129 0.07129 0.07129 7.99% MLMG::actualBottomSolve() 82 0.07126 0.07126 0.07126 7.99% MLCGSolver::bicgstab 82 0.07046 0.07046 0.07046 7.90% Castro::clean_state() 62 0.05528 0.05528 0.05528 6.20% Amr::initialInit() 1 0.05406 0.05406 0.05406 6.06% Amr::FinalizeInit() 1 0.04881 0.04881 0.04881 5.47% Amr::writePlotFile() 2 0.04797 0.04797 0.04797 5.38% AmrLevel::FillPatch() 41 0.04765 0.04765 0.04765 5.34% Castro::post_init() 1 0.04722 0.04722 0.04722 5.29% Gravity::multilevel_solve_for_new_phi() 1 0.04499 0.04499 0.04499 5.04% Gravity::actual_multilevel_solve() 1 0.04497 0.04497 0.04497 5.04% FillPatchIterator::Initialize 41 0.04336 0.04336 0.04336 4.86% MLMG::mgVcycle_down::0 82 0.04277 0.04277 0.04277 4.79% FillPatchIterator::FillFromLevel0() 41 0.04176 0.04176 0.04176 4.68% FillPatchSingleLevel 41 0.04172 0.04172 0.04172 4.68% FabArray::FillBoundary() 3941 0.04115 0.04115 0.04115 4.61% FillBoundary_nowait() 3941 0.04032 0.04032 0.04032 4.52% StateDataPhysBCFunct::() 41 0.03757 0.03757 0.03757 4.21% MLCellLinOp::apply() 1060 0.03623 0.03623 0.03623 4.06% MLPoisson::Fsmooth() 3280 0.03269 0.03269 0.03269 3.66% MLMG::mgVcycle_up::0 82 0.02696 0.02696 0.02696 3.02% StateData::FillBoundary(geom) 328 0.02611 0.02611 0.02611 2.93% Castro::computeTemp() 63 0.0225 0.0225 0.0225 2.52% Castro::initialize_do_advance() 10 0.02166 0.02166 0.02166 2.43% amrex::Dot() 1114 0.02078 0.02078 0.02078 2.33% MLMG:computeResOfCorrection() 410 0.02057 0.02057 0.02057 2.31% MLCellLinOp::correctionResidual() 410 0.02044 0.02044 0.02044 2.29% Castro::normalize_species() 62 0.02042 0.02042 0.02042 2.29% FabArray::norminf() 1061 0.01953 0.01953 0.01953 2.19% Castro::do_old_sources() 10 0.01887 0.01887 0.01887 2.12% Gravity::get_new_grav_vector() 11 0.01766 0.01766 0.01766 1.98% MLPoisson::define() 11 0.01682 0.01682 0.01682 1.89% MLMG::mgVcycle_down::1 82 0.0164 0.0164 0.0164 1.84% MLMG::mgVcycle_down::2 82 0.01522 0.01522 0.01522 1.71% Castro::construct_old_gravity() 10 0.01518 0.01518 0.01518 1.70% Gravity::get_old_grav_vector() 10 0.01516 0.01516 0.01516 1.70% MLMG::mgVcycle_down::3 82 0.01476 0.01476 0.01476 1.66% MLMG::mgVcycle_down::4 82 0.01465 0.01465 0.01465 1.64% FabArray::ParallelCopy() 861 0.01445 0.01445 0.01445 1.62% FabArray::ParallelCopy_nowait() 861 0.01421 0.01421 0.01421 1.59% Castro::initialize_advance() 10 0.01392 0.01392 0.01392 1.56% FabArray::setVal() 1062 0.01312 0.01312 0.01312 1.47% FabArray::Saxpy() 1370 0.01296 0.01296 0.01296 1.45% Castro::do_new_sources() 10 0.01264 0.01264 0.01264 1.42% MLCGSolver::ParallelAllReduce 1832 0.01254 0.01254 0.01254 1.41% Castro::expand_state() 10 0.01213 0.01213 0.01213 1.36% MLMG::addInterpCorrection() 410 0.0121 0.0121 0.0121 1.36% MLMG::mgVcycle_up::1 82 0.01188 0.01188 0.01188 1.33% MLMG::mgVcycle_up::4 82 0.01175 0.01175 0.01175 1.32% MLMG::mgVcycle_up::2 82 0.01157 0.01157 0.01157 1.30% Castro::enforce_min_density() 62 0.01145 0.01145 0.01145 1.28% MLCellLinOp::defineAuxData() 11 0.01144 0.01144 0.01144 1.28% MLMG::mgVcycle_up::3 82 0.01133 0.01133 0.01133 1.27% amrex::average_down 410 0.0113 0.0113 0.0113 1.27% amrex::Copy() 472 0.01073 0.01073 0.01073 1.20% Castro::post_timestep() 10 0.01024 0.01024 0.01024 1.15% MLPoisson::Fapply() 1060 0.01006 0.01006 0.01006 1.13% Gravity::fill_multipole_BCs() 11 0.009128 0.009128 0.009128 1.02% FabArray::Xpay() 739 0.007759 0.007759 0.007759 0.87% MLCellLinOp::solutionResidual() 93 0.007718 0.007718 0.007718 0.87% Castro::reset_internal_energy(MultiFab) 63 0.00718 0.00718 0.00718 0.80% MLMG::computeResidual() 82 0.006412 0.006412 0.006412 0.72% Castro::estTimeStep() 21 0.006173 0.006173 0.006173 0.69% Amr::InitializeInit() 1 0.005252 0.005252 0.005252 0.59% Amr::defBaseLevel() 1 0.005248 0.005248 0.005248 0.59% MLMG::prepareForSolve() 11 0.005142 0.005142 0.005142 0.58% MLCellLinOp::defineBC() 11 0.005113 0.005113 0.005113 0.57% BndryData::define() 11 0.004818 0.004818 0.004818 0.54% Castro::initData() 1 0.004575 0.004575 0.004575 0.51% amrex::Add() 82 0.003645 0.003645 0.003645 0.41% Castro::construct_new_source() 50 0.003588 0.003588 0.003588 0.40% Castro::construct_new_gravity_source() 10 0.003489 0.003489 0.003489 0.39% Castro::construct_old_source() 50 0.002964 0.002964 0.002964 0.33% Castro::construct_old_gravity_source() 10 0.002946 0.002946 0.002946 0.33% Castro::computeNewDt() 9 0.002673 0.002673 0.002673 0.30% Castro::finalize_do_advance() 10 0.002444 0.002444 0.002444 0.27% MLMG::ResNormInf() 93 0.002216 0.002216 0.002216 0.25% Castro::apply_source_to_state() 20 0.001883 0.001883 0.001883 0.21% Castro::enforce_speed_limit() 62 0.001832 0.001832 0.001832 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00176 0.00176 0.00176 0.20% check_for_negative_density() 10 0.00168 0.00168 0.00168 0.19% Castro::reset_internal_energy(Fab) 504 0.001611 0.001611 0.001611 0.18% MLMG::getGradSolution() 11 0.001593 0.001593 0.001593 0.18% MLCellLinOp::compGrad() 11 0.001587 0.001587 0.001587 0.18% MLCellLinOp::setLevelBC() 11 0.001566 0.001566 0.001566 0.18% FabArrayBase::getCPC() 1323 0.001505 0.001505 0.001505 0.17% FabArray::mult() 43 0.001376 0.001376 0.001376 0.15% FabArray::setDomainBndry() 41 0.001366 0.001366 0.001366 0.15% MLMG::computeMLResidual() 11 0.001349 0.001349 0.001349 0.15% MLPoisson::prepareForSolve() 11 0.001346 0.001346 0.001346 0.15% MLCellLinOp::prepareForSolve() 11 0.001333 0.001333 0.001333 0.15% Castro::check_for_nan() 20 0.001284 0.001284 0.001284 0.14% Castro::post_regrid() 1 0.001276 0.001276 0.001276 0.14% MultiFab::contains_nan() 20 0.001272 0.001272 0.001272 0.14% Castro::computeInitialDt() 2 0.001113 0.001113 0.001113 0.12% Gravity::update_max_rhs() 11 0.001004 0.001004 0.001004 0.11% FabArrayBase::getFB() 3941 0.0007022 0.0007022 0.0007022 0.08% FabArrayBase::CPC::define() 454 0.0006931 0.0006931 0.0006931 0.08% Castro::finalize_advance() 10 0.0005946 0.0005946 0.0005946 0.07% Castro::Castro() 1 0.0005909 0.0005909 0.0005909 0.07% Amr::InitAmr() 1 0.0005576 0.0005576 0.0005576 0.06% Gravity::swapTimeLevels() 10 0.0004521 0.0004521 0.0004521 0.05% MLMG::MLResNormInf() 11 0.0003331 0.0003331 0.0003331 0.04% MultiFab::max() 11 0.0003281 0.0003281 0.0003281 0.04% Castro::buildMetrics() 1 0.0003052 0.0003052 0.0003052 0.03% MLLinOp::define() 11 0.0002461 0.0002461 0.0002461 0.03% MLLinOp::defineGrids() 11 0.0002345 0.0002345 0.0002345 0.03% MLMG::MLRhsNormInf() 11 0.0002318 0.0002318 0.0002318 0.03% Castro::create_source_corrector() 10 0.0001763 0.0001763 0.0001763 0.02% FabArrayBase::FB::FB() 56 9.273e-05 9.273e-05 9.273e-05 0.01% Castro::enforce_consistent_e() 1 6.56e-05 6.56e-05 6.56e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.642e-05 5.642e-05 5.642e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.201e-05 5.201e-05 5.201e-05 0.01% makeSFC 55 4.183e-05 4.183e-05 4.183e-05 0.00% Castro::swap_state_time_levels() 10 3.819e-05 3.819e-05 3.819e-05 0.00% StateData::define() 4 3.736e-05 3.736e-05 3.736e-05 0.00% Amr::writeSmallPlotFile() 1 3.228e-05 3.228e-05 3.228e-05 0.00% Castro::initMFs() 1 3.087e-05 3.087e-05 3.087e-05 0.00% DistributionMapping::Distribute() 56 1.75e-05 1.75e-05 1.75e-05 0.00% Amr::initSubcycle() 1 8.654e-06 8.654e-06 8.654e-06 0.00% AmrLevel::checkPointPost() 3 6.723e-06 6.723e-06 6.723e-06 0.00% Gravity::set_mass_offset() 11 4.179e-06 4.179e-06 4.179e-06 0.00% Castro::retry_advance_ctu() 10 4.049e-06 4.049e-06 4.049e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.998e-06 3.998e-06 3.998e-06 0.00% Castro::FluxRegFineAdd() 10 2.616e-06 2.616e-06 2.616e-06 0.00% Castro::FluxRegCrseInit 10 2.477e-06 2.477e-06 2.477e-06 0.00% AmrLevel::checkPointPre() 3 2.409e-06 2.409e-06 2.409e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.037e-06 2.037e-06 2.037e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 89 MiB 9042 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 1048 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1499 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7621 KiB 14 MiB MLMG::prepareForSolve() 660 660 3694 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7512 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2176 B 2048 KiB Gravity::solve_for_phi() 80 80 583 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 337 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 214 KiB 671 KiB Castro::estTimeStep() 21 21 3375 B 480 KiB VisMF::Write(FabArray) 656 656 3375 B 320 KiB Castro::normalize_species() 62 62 7458 B 320 KiB amrex::average_down 1067 1067 1264 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1166 B 257 KiB amrex::Dot() 1360 1360 3439 B 160 KiB FabArray::norminf() 1143 1143 3381 B 160 KiB check_for_negative_density() 10 10 301 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3608 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 397 B 9648 B MLCellLinOp::applyBC() 8702 8702 225 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3948 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 380 B 1248 B MLCGSolver::bicgstab 410 410 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 560 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 400 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3608 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 397 B 9648 B MLCellLinOp::applyBC() 4351 4351 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3948 B 6144 B Gravity::get_new_grav_vector() 3 3 2887 B 3072 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 307 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [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.02-12-g68244ec91d11) finalized Initializing AMReX (24.02-12-g68244ec91d11)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-12-g68244ec91d11) initialized Starting run at 10:33:08 UTC on 2024-02-12. Successfully read inputs file ... Castro git describe: 24.02-16-g08d58b44f AMReX git describe: 24.02-12-g68244ec91 Microphysics git describe: 24.02-11-g348ca2f5 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.513274096 Restart time = 0.08447914 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.068568593 [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.061897298 [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.076641912 [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.072768755 [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.059321666 [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.027310498 seconds Ending run at 10:33:08 UTC on 2024-02-12. Run time = 0.45212299 Run time without initialization = 0.366977447 Average number of zones advanced per microsecond: 3.572 Average number of zones advanced per microsecond per rank: 3.572 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4522 ... 0.4522 ... 0.4522 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1467 0.1467 0.1467 32.44% VisMF::Read() 3 0.07284 0.07284 0.07284 16.11% MLCellLinOp::applyBC() 1910 0.03523 0.03523 0.03523 7.79% VisMF::Write(FabArray) 1 0.02465 0.02465 0.02465 5.45% MLPoisson::Fsmooth() 1440 0.01463 0.01463 0.01463 3.24% FillBoundary_nowait() 1730 0.01425 0.01425 0.01425 3.15% StateData::FillBoundary(geom) 160 0.01268 0.01268 0.01268 2.80% Castro::normalize_species() 30 0.009603 0.009603 0.009603 2.12% amrex::Dot() 484 0.009006 0.009006 0.009006 1.99% FabArray::norminf() 465 0.008486 0.008486 0.008486 1.88% Castro::computeTemp() 30 0.007502 0.007502 0.007502 1.66% Castro::enforce_min_density() 30 0.006612 0.006612 0.006612 1.46% FabArray::setVal() 501 0.006444 0.006444 0.006444 1.43% FabArray::ParallelCopy_nowait() 380 0.006071 0.006071 0.006071 1.34% FabArray::Saxpy() 597 0.005757 0.005757 0.005757 1.27% Gravity::fill_multipole_BCs() 6 0.005515 0.005515 0.005515 1.22% MLCellLinOp::defineAuxData() 6 0.005455 0.005455 0.005455 1.21% amrex::Copy() 221 0.005388 0.005388 0.005388 1.19% StateDataPhysBCFunct::() 20 0.00505 0.00505 0.00505 1.12% Amr::restart() 1 0.004795 0.004795 0.004795 1.06% MLPoisson::Fapply() 464 0.004418 0.004418 0.004418 0.98% FabArray::Xpay() 325 0.003446 0.003446 0.003446 0.76% Castro::estTimeStep() 10 0.003169 0.003169 0.003169 0.70% MLMG::addInterpCorrection() 180 0.003071 0.003071 0.003071 0.68% amrex::average_down 180 0.002699 0.002699 0.002699 0.60% Amr::writePlotFile() 1 0.0025 0.0025 0.0025 0.55% BndryData::define() 6 0.002092 0.002092 0.002092 0.46% Castro::reset_internal_energy(MultiFab) 30 0.001996 0.001996 0.001996 0.44% Castro::construct_new_gravity_source() 5 0.001862 0.001862 0.001862 0.41% amrex::Add() 36 0.001577 0.001577 0.001577 0.35% Castro::construct_old_gravity_source() 5 0.001527 0.001527 0.001527 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009742 0.0009742 0.0009742 0.22% check_for_negative_density() 5 0.000956 0.000956 0.000956 0.21% MLCellLinOp::setLevelBC() 6 0.0008812 0.0008812 0.0008812 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008642 0.0008642 0.0008642 0.19% MLCGSolver::bicgstab 36 0.0008209 0.0008209 0.0008209 0.18% Castro::reset_internal_energy(Fab) 240 0.0008 0.0008 0.0008 0.18% MLCellLinOp::prepareForSolve() 6 0.0007486 0.0007486 0.0007486 0.17% FabArray::mult() 22 0.0006925 0.0006925 0.0006925 0.15% Castro::enforce_speed_limit() 30 0.0006883 0.0006883 0.0006883 0.15% FabArray::setDomainBndry() 20 0.0006874 0.0006874 0.0006874 0.15% MultiFab::contains_nan() 10 0.0006819 0.0006819 0.0006819 0.15% MLCellLinOp::compGrad() 6 0.0005971 0.0005971 0.0005971 0.13% MLCellLinOp::smooth() 720 0.0005798 0.0005798 0.0005798 0.13% MLMG::prepareForSolve() 6 0.0005722 0.0005722 0.0005722 0.13% Amr::InitAmr() 1 0.000477 0.000477 0.000477 0.11% FabArrayBase::CPC::define() 244 0.000431 0.000431 0.000431 0.10% FabArrayBase::getCPC() 632 0.000383 0.000383 0.000383 0.08% FabArray::FillBoundary() 1730 0.0003618 0.0003618 0.0003618 0.08% Gravity::get_old_grav_vector() 5 0.0003236 0.0003236 0.0003236 0.07% main() 1 0.0002947 0.0002947 0.0002947 0.07% Gravity::get_new_grav_vector() 5 0.0002732 0.0002732 0.0002732 0.06% FabArrayBase::getFB() 1730 0.0002626 0.0002626 0.0002626 0.06% MLCellLinOp::apply() 464 0.0002157 0.0002157 0.0002157 0.05% MultiFab::max() 6 0.0002062 0.0002062 0.0002062 0.05% AmrLevel::FillPatch() 20 0.000202 0.000202 0.000202 0.04% Amr::coarseTimeStep() 5 0.0001992 0.0001992 0.0001992 0.04% MLCGSolver::ParallelAllReduce 798 0.0001665 0.0001665 0.0001665 0.04% MLCellLinOp::defineBC() 6 0.0001617 0.0001617 0.0001617 0.04% MLLinOp::defineGrids() 6 0.0001081 0.0001081 0.0001081 0.02% FabArray::ParallelCopy() 380 0.0001078 0.0001078 0.0001078 0.02% FillPatchIterator::Initialize 20 0.0001064 0.0001064 0.0001064 0.02% Castro::create_source_corrector() 5 0.0001046 0.0001046 0.0001046 0.02% Amr::timeStep() 5 9.829e-05 9.829e-05 9.829e-05 0.02% MLMG::mgVcycle() 36 9.589e-05 9.589e-05 9.589e-05 0.02% Castro::subcycle_advance_ctu() 5 8.922e-05 8.922e-05 8.922e-05 0.02% MLCellLinOp::correctionResidual() 180 8.915e-05 8.915e-05 8.915e-05 0.02% AmrLevel::restart() 1 7.788e-05 7.788e-05 7.788e-05 0.02% StateData::restartDoit() 4 7.53e-05 7.53e-05 7.53e-05 0.02% Gravity::solve_for_phi() 5 7.171e-05 7.171e-05 7.171e-05 0.02% Castro::construct_new_source() 25 7.059e-05 7.059e-05 7.059e-05 0.02% Gravity::update_max_rhs() 6 6.801e-05 6.801e-05 6.801e-05 0.02% Castro::initialize_do_advance() 5 6.747e-05 6.747e-05 6.747e-05 0.01% Castro::finalize_do_advance() 5 6.298e-05 6.298e-05 6.298e-05 0.01% FabArrayBase::FB::FB() 26 6.059e-05 6.059e-05 6.059e-05 0.01% Castro::post_timestep() 5 5.845e-05 5.845e-05 5.845e-05 0.01% MLMG:computeResOfCorrection() 180 5.765e-05 5.765e-05 5.765e-05 0.01% Castro::advance() 5 5.702e-05 5.702e-05 5.702e-05 0.01% Castro::do_advance_ctu() 5 4.662e-05 4.662e-05 4.662e-05 0.01% MLMG::actualBottomSolve() 36 4.318e-05 4.318e-05 4.318e-05 0.01% MLMG::mgVcycle_down::0 36 4.19e-05 4.19e-05 4.19e-05 0.01% MLMG::mgVcycle_down::1 36 4.072e-05 4.072e-05 4.072e-05 0.01% MLMG::solve() 6 3.943e-05 3.943e-05 3.943e-05 0.01% Castro::clean_state() 30 3.896e-05 3.896e-05 3.896e-05 0.01% Castro::initialize_advance() 5 3.806e-05 3.806e-05 3.806e-05 0.01% MLMG::mgVcycle_down::2 36 3.783e-05 3.783e-05 3.783e-05 0.01% MLMG::mgVcycle_down::4 36 3.74e-05 3.74e-05 3.74e-05 0.01% MLMG::mgVcycle_down::3 36 3.65e-05 3.65e-05 3.65e-05 0.01% Castro::finalize_advance() 5 3.392e-05 3.392e-05 3.392e-05 0.01% Castro::post_restart() 1 2.999e-05 2.999e-05 2.999e-05 0.01% Castro::buildMetrics() 1 2.982e-05 2.982e-05 2.982e-05 0.01% Castro::do_new_sources() 5 2.966e-05 2.966e-05 2.966e-05 0.01% Amr::writeSmallPlotFile() 1 2.966e-05 2.966e-05 2.966e-05 0.01% MLMG::mgVcycle_up::4 36 2.897e-05 2.897e-05 2.897e-05 0.01% Castro::construct_old_source() 25 2.745e-05 2.745e-05 2.745e-05 0.01% MLMG::oneIter() 36 2.67e-05 2.67e-05 2.67e-05 0.01% MLCellLinOp::solutionResidual() 42 2.556e-05 2.556e-05 2.556e-05 0.01% MLMG::mgVcycle_up::3 36 2.53e-05 2.53e-05 2.53e-05 0.01% MLMG::mgVcycle_up::0 36 2.525e-05 2.525e-05 2.525e-05 0.01% Castro::initMFs() 1 2.521e-05 2.521e-05 2.521e-05 0.01% Castro::swap_state_time_levels() 5 2.472e-05 2.472e-05 2.472e-05 0.01% MLMG::mgVcycle_up::2 36 2.402e-05 2.402e-05 2.402e-05 0.01% MLMG::mgVcycle_up::1 36 2.33e-05 2.33e-05 2.33e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.3e-05 2.3e-05 2.3e-05 0.01% MLMG::ResNormInf() 42 1.944e-05 1.944e-05 1.944e-05 0.00% Castro::construct_new_gravity() 5 1.944e-05 1.944e-05 1.944e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.814e-05 1.814e-05 1.814e-05 0.00% makeSFC 30 1.699e-05 1.699e-05 1.699e-05 0.00% FillPatchSingleLevel 20 1.555e-05 1.555e-05 1.555e-05 0.00% MLMG::computeResidual() 36 1.53e-05 1.53e-05 1.53e-05 0.00% MLMG::mgVcycle_bottom 36 1.493e-05 1.493e-05 1.493e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.48e-05 1.48e-05 1.48e-05 0.00% MLPoisson::define() 6 1.438e-05 1.438e-05 1.438e-05 0.00% Castro::do_old_sources() 5 1.261e-05 1.261e-05 1.261e-05 0.00% MLLinOp::define() 6 1.017e-05 1.017e-05 1.017e-05 0.00% DistributionMapping::Distribute() 31 1.002e-05 1.002e-05 1.002e-05 0.00% MLPoisson::prepareForSolve() 6 9.215e-06 9.215e-06 9.215e-06 0.00% Gravity::actual_multilevel_solve() 1 9.084e-06 9.084e-06 9.084e-06 0.00% Amr::initSubcycle() 1 8.753e-06 8.753e-06 8.753e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.223e-06 8.223e-06 8.223e-06 0.00% Castro::check_for_nan() 10 7.932e-06 7.932e-06 7.932e-06 0.00% Castro::construct_old_gravity() 5 6.763e-06 6.763e-06 6.763e-06 0.00% Castro::apply_source_to_state() 10 5.927e-06 5.927e-06 5.927e-06 0.00% Gravity::swapTimeLevels() 5 4.914e-06 4.914e-06 4.914e-06 0.00% MLMG::computeMLResidual() 6 4.385e-06 4.385e-06 4.385e-06 0.00% MLMG::getGradSolution() 6 3.764e-06 3.764e-06 3.764e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.414e-06 3.414e-06 3.414e-06 0.00% Castro::expand_state() 5 3.128e-06 3.128e-06 3.128e-06 0.00% Castro::computeNewDt() 5 2.946e-06 2.946e-06 2.946e-06 0.00% MLMG::MLResNormInf() 6 2.548e-06 2.548e-06 2.548e-06 0.00% MLMG::MLRhsNormInf() 6 2.362e-06 2.362e-06 2.362e-06 0.00% Gravity::set_mass_offset() 6 2.342e-06 2.342e-06 2.342e-06 0.00% Castro::retry_advance_ctu() 5 1.862e-06 1.862e-06 1.862e-06 0.00% Castro::FluxRegCrseInit 5 1.734e-06 1.734e-06 1.734e-06 0.00% Castro::FluxRegFineAdd() 5 1.264e-06 1.264e-06 1.264e-06 0.00% Amr::init() 1 1.232e-06 1.232e-06 1.232e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.168e-06 1.168e-06 1.168e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4521 0.4521 0.4521 100.00% Amr::coarseTimeStep() 5 0.3394 0.3394 0.3394 75.06% Amr::timeStep() 5 0.3371 0.3371 0.3371 74.56% Castro::advance() 5 0.3314 0.3314 0.3314 73.30% Castro::subcycle_advance_ctu() 5 0.324 0.324 0.324 71.66% Castro::do_advance_ctu() 5 0.3239 0.3239 0.3239 71.64% Castro::construct_ctu_hydro_source() 5 0.1524 0.1524 0.1524 33.70% Castro::construct_new_gravity() 5 0.1353 0.1353 0.1353 29.92% Gravity::solve_phi_with_mlmg() 6 0.1331 0.1331 0.1331 29.43% Gravity::solve_for_phi() 5 0.1274 0.1274 0.1274 28.17% Gravity::actual_solve_with_mlmg() 6 0.1273 0.1273 0.1273 28.15% MLMG::solve() 6 0.1154 0.1154 0.1154 25.52% MLMG::oneIter() 36 0.1077 0.1077 0.1077 23.82% MLMG::mgVcycle() 36 0.1061 0.1061 0.1061 23.47% Amr::init() 1 0.08453 0.08453 0.08453 18.69% Amr::restart() 1 0.08453 0.08453 0.08453 18.69% AmrLevel::restart() 1 0.07323 0.07323 0.07323 16.20% StateData::restartDoit() 4 0.07315 0.07315 0.07315 16.18% VisMF::Read() 3 0.07284 0.07284 0.07284 16.11% MLCellLinOp::smooth() 720 0.05379 0.05379 0.05379 11.90% MLCellLinOp::applyBC() 1910 0.05016 0.05016 0.05016 11.09% MLMG::mgVcycle_bottom 36 0.03102 0.03102 0.03102 6.86% MLMG::actualBottomSolve() 36 0.03101 0.03101 0.03101 6.86% MLCGSolver::bicgstab 36 0.03065 0.03065 0.03065 6.78% Amr::writePlotFile() 1 0.02741 0.02741 0.02741 6.06% Castro::clean_state() 30 0.02724 0.02724 0.02724 6.02% VisMF::Write(FabArray) 1 0.02465 0.02465 0.02465 5.45% AmrLevel::FillPatch() 20 0.02271 0.02271 0.02271 5.02% FillPatchIterator::Initialize 20 0.02062 0.02062 0.02062 4.56% FillPatchIterator::FillFromLevel0() 20 0.01982 0.01982 0.01982 4.38% FillPatchSingleLevel 20 0.0198 0.0198 0.0198 4.38% StateDataPhysBCFunct::() 20 0.01773 0.01773 0.01773 3.92% MLCellLinOp::apply() 464 0.01593 0.01593 0.01593 3.52% MLMG::mgVcycle_down::0 36 0.0156 0.0156 0.0156 3.45% FabArray::FillBoundary() 1730 0.01493 0.01493 0.01493 3.30% MLPoisson::Fsmooth() 1440 0.01463 0.01463 0.01463 3.24% FillBoundary_nowait() 1730 0.01457 0.01457 0.01457 3.22% StateData::FillBoundary(geom) 160 0.01268 0.01268 0.01268 2.80% MLMG::mgVcycle_up::0 36 0.01192 0.01192 0.01192 2.64% Castro::initialize_do_advance() 5 0.01113 0.01113 0.01113 2.46% Castro::computeTemp() 30 0.0103 0.0103 0.0103 2.28% Castro::normalize_species() 30 0.009603 0.009603 0.009603 2.12% MLPoisson::define() 6 0.009255 0.009255 0.009255 2.05% Castro::do_old_sources() 5 0.009084 0.009084 0.009084 2.01% amrex::Dot() 484 0.009006 0.009006 0.009006 1.99% MLMG:computeResOfCorrection() 180 0.008954 0.008954 0.008954 1.98% MLCellLinOp::correctionResidual() 180 0.008896 0.008896 0.008896 1.97% FabArray::norminf() 465 0.008486 0.008486 0.008486 1.88% Gravity::get_new_grav_vector() 5 0.007785 0.007785 0.007785 1.72% Castro::construct_old_gravity() 5 0.007579 0.007579 0.007579 1.68% Gravity::get_old_grav_vector() 5 0.007573 0.007573 0.007573 1.67% MLMG::mgVcycle_down::1 36 0.007497 0.007497 0.007497 1.66% Castro::initialize_advance() 5 0.007043 0.007043 0.007043 1.56% Castro::do_new_sources() 5 0.006815 0.006815 0.006815 1.51% MLMG::mgVcycle_down::2 36 0.006654 0.006654 0.006654 1.47% Castro::enforce_min_density() 30 0.006612 0.006612 0.006612 1.46% FabArray::ParallelCopy() 380 0.006588 0.006588 0.006588 1.46% FabArray::ParallelCopy_nowait() 380 0.006481 0.006481 0.006481 1.43% MLMG::mgVcycle_down::4 36 0.006459 0.006459 0.006459 1.43% MLMG::mgVcycle_down::3 36 0.006458 0.006458 0.006458 1.43% FabArray::setVal() 501 0.006444 0.006444 0.006444 1.43% Castro::post_restart() 1 0.006314 0.006314 0.006314 1.40% MLCellLinOp::defineAuxData() 6 0.006253 0.006253 0.006253 1.38% Castro::expand_state() 5 0.00602 0.00602 0.00602 1.33% Gravity::multilevel_solve_for_new_phi() 1 0.005924 0.005924 0.005924 1.31% Gravity::actual_multilevel_solve() 1 0.005906 0.005906 0.005906 1.31% FabArray::Saxpy() 597 0.005757 0.005757 0.005757 1.27% Gravity::fill_multipole_BCs() 6 0.005637 0.005637 0.005637 1.25% Castro::post_timestep() 5 0.005578 0.005578 0.005578 1.23% MLCGSolver::ParallelAllReduce 798 0.005493 0.005493 0.005493 1.21% amrex::Copy() 221 0.005388 0.005388 0.005388 1.19% MLMG::addInterpCorrection() 180 0.005315 0.005315 0.005315 1.18% MLMG::mgVcycle_up::4 36 0.005196 0.005196 0.005196 1.15% MLMG::mgVcycle_up::1 36 0.005168 0.005168 0.005168 1.14% MLMG::mgVcycle_up::2 36 0.005067 0.005067 0.005067 1.12% amrex::average_down 180 0.004985 0.004985 0.004985 1.10% MLMG::mgVcycle_up::3 36 0.004972 0.004972 0.004972 1.10% MLPoisson::Fapply() 464 0.004418 0.004418 0.004418 0.98% MLCellLinOp::solutionResidual() 42 0.003628 0.003628 0.003628 0.80% FabArray::Xpay() 325 0.003446 0.003446 0.003446 0.76% Castro::estTimeStep() 10 0.003169 0.003169 0.003169 0.70% MLMG::prepareForSolve() 6 0.002859 0.002859 0.002859 0.63% MLCellLinOp::defineBC() 6 0.002834 0.002834 0.002834 0.63% MLMG::computeResidual() 36 0.002815 0.002815 0.002815 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002796 0.002796 0.002796 0.62% BndryData::define() 6 0.002672 0.002672 0.002672 0.59% Castro::computeNewDt() 5 0.002085 0.002085 0.002085 0.46% Castro::construct_new_source() 25 0.001932 0.001932 0.001932 0.43% Castro::construct_new_gravity_source() 5 0.001862 0.001862 0.001862 0.41% amrex::Add() 36 0.001577 0.001577 0.001577 0.35% Castro::construct_old_source() 25 0.001555 0.001555 0.001555 0.34% Castro::construct_old_gravity_source() 5 0.001527 0.001527 0.001527 0.34% Castro::finalize_do_advance() 5 0.00115 0.00115 0.00115 0.25% MLMG::ResNormInf() 42 0.001012 0.001012 0.001012 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009742 0.0009742 0.0009742 0.22% Castro::apply_source_to_state() 10 0.0009617 0.0009617 0.0009617 0.21% check_for_negative_density() 5 0.000956 0.000956 0.000956 0.21% MLMG::getGradSolution() 6 0.000886 0.000886 0.000886 0.20% MLCellLinOp::compGrad() 6 0.0008823 0.0008823 0.0008823 0.20% MLCellLinOp::setLevelBC() 6 0.0008812 0.0008812 0.0008812 0.19% MLMG::computeMLResidual() 6 0.0008325 0.0008325 0.0008325 0.18% FabArrayBase::getCPC() 632 0.000814 0.000814 0.000814 0.18% Castro::reset_internal_energy(Fab) 240 0.0008 0.0008 0.0008 0.18% MLPoisson::prepareForSolve() 6 0.0007579 0.0007579 0.0007579 0.17% MLCellLinOp::prepareForSolve() 6 0.0007486 0.0007486 0.0007486 0.17% Gravity::update_max_rhs() 6 0.0007347 0.0007347 0.0007347 0.16% FabArray::mult() 22 0.0006925 0.0006925 0.0006925 0.15% Castro::check_for_nan() 10 0.0006898 0.0006898 0.0006898 0.15% Castro::enforce_speed_limit() 30 0.0006883 0.0006883 0.0006883 0.15% FabArray::setDomainBndry() 20 0.0006874 0.0006874 0.0006874 0.15% MultiFab::contains_nan() 10 0.0006819 0.0006819 0.0006819 0.15% Amr::InitAmr() 1 0.0004858 0.0004858 0.0004858 0.11% FabArrayBase::CPC::define() 244 0.000431 0.000431 0.000431 0.10% FabArrayBase::getFB() 1730 0.0003232 0.0003232 0.0003232 0.07% Castro::finalize_advance() 5 0.0003 0.0003 0.0003 0.07% Gravity::swapTimeLevels() 5 0.0002341 0.0002341 0.0002341 0.05% MultiFab::max() 6 0.0002062 0.0002062 0.0002062 0.05% MLMG::MLResNormInf() 6 0.0001919 0.0001919 0.0001919 0.04% Castro::buildMetrics() 1 0.0001606 0.0001606 0.0001606 0.04% MLLinOp::define() 6 0.0001534 0.0001534 0.0001534 0.03% MLLinOp::defineGrids() 6 0.0001432 0.0001432 0.0001432 0.03% MLMG::MLRhsNormInf() 6 0.0001237 0.0001237 0.0001237 0.03% Castro::create_source_corrector() 5 0.0001046 0.0001046 0.0001046 0.02% FabArrayBase::FB::FB() 26 6.059e-05 6.059e-05 6.059e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.392e-05 3.392e-05 3.392e-05 0.01% Amr::writeSmallPlotFile() 1 2.966e-05 2.966e-05 2.966e-05 0.01% makeSFC 30 2.569e-05 2.569e-05 2.569e-05 0.01% Castro::initMFs() 1 2.521e-05 2.521e-05 2.521e-05 0.01% Castro::swap_state_time_levels() 5 2.472e-05 2.472e-05 2.472e-05 0.01% DistributionMapping::Distribute() 31 1.002e-05 1.002e-05 1.002e-05 0.00% Amr::initSubcycle() 1 8.753e-06 8.753e-06 8.753e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.735e-06 4.735e-06 4.735e-06 0.00% Gravity::set_mass_offset() 6 2.342e-06 2.342e-06 2.342e-06 0.00% Castro::retry_advance_ctu() 5 1.862e-06 1.862e-06 1.862e-06 0.00% Castro::FluxRegCrseInit 5 1.734e-06 1.734e-06 1.734e-06 0.00% Castro::FluxRegFineAdd() 5 1.264e-06 1.264e-06 1.264e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.168e-06 1.168e-06 1.168e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 174 MiB 9042 MiB Castro::initMFs() 48 48 56 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1004 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1612 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 6258 KiB 14 MiB MLMG::prepareForSolve() 361 361 3132 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 173 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 176 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6245 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3227 B 2048 KiB Gravity::solve_for_phi() 40 40 575 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 288 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 185 KiB 671 KiB Castro::estTimeStep() 10 10 3326 B 480 KiB VisMF::Write(FabArray) 112 112 2204 B 320 KiB Castro::normalize_species() 30 30 6903 B 320 KiB amrex::average_down 469 469 1077 B 257 KiB MLMG::addInterpCorrection() 468 468 1014 B 257 KiB amrex::Dot() 592 592 2940 B 160 KiB FabArray::norminf() 501 501 2893 B 160 KiB check_for_negative_density() 5 5 328 B 160 KiB MultiFab::max() 6 6 71 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3035 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 3820 3820 195 B 9344 B amrex::Copy() 56 56 5406 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 324 B 1248 B MLCGSolver::bicgstab 180 180 81 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1125 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 82 KiB 8192 KiB VisMF::Write(FabArray) 120 120 141 KiB 3584 KiB VisMF::Read() 24 24 242 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3035 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 1910 1910 194 B 9328 B amrex::Copy() 56 56 5406 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2451 B 3072 B StateData::FillBoundary(geom) 960 960 41 B 2880 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 482 B 1296 B amrex::average_down 37 37 198 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 21 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [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.02-12-g68244ec91d11) finalized