Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-33-gdda0d979ca2e) initialized Starting run at 08:41:21 UTC on 2023-08-21. Successfully read inputs file ... Castro git describe: 23.08-6-g41b0e2684 AMReX git describe: 23.08-33-gdda0d979c Microphysics git describe: 23.08-13-g01724c98 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.051243139 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028312212 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.054019472 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.050061188 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.073140718 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.074250358 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.067854172 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.049604251 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.06968609 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.075850786 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.072948331 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.051861658 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.051699423 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.089816374 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028437507 seconds Ending run at 08:41:22 UTC on 2023-08-21. Run time = 0.941460709 Run time without initialization = 0.809965049 Average number of zones advanced per microsecond: 3.236 Average number of zones advanced per microsecond per rank: 3.236 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9415 ... 0.9415 ... 0.9415 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2623 0.2623 0.2623 27.86% VisMF::Write(FabArray) 11 0.2401 0.2401 0.2401 25.51% MLCellLinOp::applyBC() 4379 0.07761 0.07761 0.07761 8.24% MLPoisson::Fsmooth() 3240 0.03298 0.03298 0.03298 3.50% FillBoundary_nowait() 3974 0.03065 0.03065 0.03065 3.26% StateData::FillBoundary(geom) 328 0.02656 0.02656 0.02656 2.82% Castro::normalize_species() 62 0.02097 0.02097 0.02097 2.23% amrex::Dot() 1100 0.02087 0.02087 0.02087 2.22% Castro::computeTemp() 63 0.01612 0.01612 0.01612 1.71% amrex::Copy() 1019 0.01509 0.01509 0.01509 1.60% FabArray::norminf() 734 0.01462 0.01462 0.01462 1.55% FabArray::ParallelCopy_nowait() 851 0.01342 0.01342 0.01342 1.43% FabArray::setVal() 1135 0.01342 0.01342 0.01342 1.43% Castro::enforce_min_density() 62 0.01298 0.01298 0.01298 1.38% StateDataPhysBCFunct::() 41 0.01114 0.01114 0.01114 1.18% MLPoisson::Fapply() 1128 0.01049 0.01049 0.01049 1.11% MLCellLinOp::defineAuxData() 11 0.01015 0.01015 0.01015 1.08% Gravity::fill_multipole_BCs() 11 0.009178 0.009178 0.009178 0.97% FabArray::Saxpy() 803 0.008359 0.008359 0.008359 0.89% FabArray::Xpay() 811 0.008228 0.008228 0.008228 0.87% MLMG::addInterpCorrection() 405 0.006835 0.006835 0.006835 0.73% Castro::reset_internal_energy(MultiFab) 63 0.006245 0.006245 0.006245 0.66% amrex::average_down 405 0.006111 0.006111 0.006111 0.65% Castro::estTimeStep() 21 0.005935 0.005935 0.005935 0.63% Amr::checkPoint() 3 0.004808 0.004808 0.004808 0.51% FabArray::LinComb() 550 0.004606 0.004606 0.004606 0.49% amrex::Add() 162 0.004354 0.004354 0.004354 0.46% BndryData::define() 11 0.003852 0.003852 0.003852 0.41% Castro::enforce_speed_limit() 62 0.003733 0.003733 0.003733 0.40% Castro::construct_new_gravity_source() 10 0.003189 0.003189 0.003189 0.34% Castro::construct_old_gravity_source() 10 0.002827 0.002827 0.002827 0.30% MLCGSolver::bicgstab 81 0.002203 0.002203 0.002203 0.23% Amr::writePlotFile() 2 0.001992 0.001992 0.001992 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001765 0.001765 0.001765 0.19% check_for_negative_density() 10 0.001757 0.001757 0.001757 0.19% Castro::reset_internal_energy(Fab) 504 0.001656 0.001656 0.001656 0.18% Gravity::actual_solve_with_mlmg() 11 0.001561 0.001561 0.001561 0.17% Castro::initData() 1 0.001496 0.001496 0.001496 0.16% MLCellLinOp::setLevelBC() 11 0.001452 0.001452 0.001452 0.15% FabArray::mult() 43 0.001364 0.001364 0.001364 0.14% FabArray::setDomainBndry() 41 0.00135 0.00135 0.00135 0.14% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.13% MLCellLinOp::prepareForSolve() 11 0.001259 0.001259 0.001259 0.13% MLCellLinOp::compGrad() 11 0.001051 0.001051 0.001051 0.11% MLCellLinOp::smooth() 1620 0.001043 0.001043 0.001043 0.11% MLMG::prepareForSolve() 11 0.0009469 0.0009469 0.0009469 0.10% FabArray::FillBoundary() 3974 0.0008277 0.0008277 0.0008277 0.09% FabArrayBase::getCPC() 1313 0.000767 0.000767 0.000767 0.08% FabArrayBase::getFB() 3974 0.0006695 0.0006695 0.0006695 0.07% FabArrayBase::CPC::define() 454 0.00066 0.00066 0.00066 0.07% Gravity::get_new_grav_vector() 11 0.0005941 0.0005941 0.0005941 0.06% Amr::InitAmr() 1 0.0005075 0.0005075 0.0005075 0.05% Gravity::get_old_grav_vector() 10 0.0004756 0.0004756 0.0004756 0.05% MLCellLinOp::apply() 1128 0.0004499 0.0004499 0.0004499 0.05% Amr::coarseTimeStep() 10 0.0004434 0.0004434 0.0004434 0.05% AmrLevel::FillPatch() 41 0.0003287 0.0003287 0.0003287 0.03% MultiFab::max() 11 0.0003222 0.0003222 0.0003222 0.03% MLCGSolver::ParallelAllReduce 1495 0.000295 0.000295 0.000295 0.03% main() 1 0.0002694 0.0002694 0.0002694 0.03% FabArray::ParallelCopy() 851 0.0002638 0.0002638 0.0002638 0.03% Castro::subcycle_advance_ctu() 10 0.0002486 0.0002486 0.0002486 0.03% MLCellLinOp::correctionResidual() 486 0.00023 0.00023 0.00023 0.02% MLCellLinOp::defineBC() 11 0.0002109 0.0002109 0.0002109 0.02% FillPatchIterator::Initialize 41 0.00021 0.00021 0.00021 0.02% MLMG::mgVcycle() 81 0.0001919 0.0001919 0.0001919 0.02% MLLinOp::defineGrids() 11 0.0001499 0.0001499 0.0001499 0.02% Amr::timeStep() 10 0.0001491 0.0001491 0.0001491 0.02% Gravity::solve_for_phi() 10 0.000142 0.000142 0.000142 0.02% Castro::create_source_corrector() 10 0.0001373 0.0001373 0.0001373 0.01% Gravity::update_max_rhs() 11 0.0001353 0.0001353 0.0001353 0.01% MLMG:computeResOfCorrection() 405 0.0001273 0.0001273 0.0001273 0.01% StateData::checkPoint() 12 0.0001165 0.0001165 0.0001165 0.01% Castro::advance() 10 0.0001137 0.0001137 0.0001137 0.01% Castro::Castro() 1 0.0001069 0.0001069 0.0001069 0.01% FabArrayBase::FB::FB() 56 9.573e-05 9.573e-05 9.573e-05 0.01% MLMG::actualBottomSolve() 81 9.191e-05 9.191e-05 9.191e-05 0.01% MLMG::mgVcycle_down::0 81 8.63e-05 8.63e-05 8.63e-05 0.01% MLMG::solve() 11 8.302e-05 8.302e-05 8.302e-05 0.01% MLMG::mgVcycle_down::2 81 8.021e-05 8.021e-05 8.021e-05 0.01% MLMG::mgVcycle_down::1 81 8.002e-05 8.002e-05 8.002e-05 0.01% Castro::construct_new_source() 50 7.985e-05 7.985e-05 7.985e-05 0.01% MLMG::mgVcycle_down::4 81 7.62e-05 7.62e-05 7.62e-05 0.01% Castro::initialize_advance() 10 7.558e-05 7.558e-05 7.558e-05 0.01% MLMG::mgVcycle_down::3 81 7.38e-05 7.38e-05 7.38e-05 0.01% Castro::finalize_advance() 10 7.252e-05 7.252e-05 7.252e-05 0.01% Castro::clean_state() 62 6.975e-05 6.975e-05 6.975e-05 0.01% Castro::enforce_consistent_e() 1 6.963e-05 6.963e-05 6.963e-05 0.01% AmrLevel::checkPoint() 3 6.853e-05 6.853e-05 6.853e-05 0.01% MLMG::mgVcycle_up::4 81 6.084e-05 6.084e-05 6.084e-05 0.01% Castro::initialize_do_advance() 10 5.9e-05 5.9e-05 5.9e-05 0.01% MLMG::oneIter() 81 5.84e-05 5.84e-05 5.84e-05 0.01% MLMG::mgVcycle_up::3 81 5.352e-05 5.352e-05 5.352e-05 0.01% Castro::do_advance_ctu() 10 5.086e-05 5.086e-05 5.086e-05 0.01% MLMG::mgVcycle_up::0 81 4.971e-05 4.971e-05 4.971e-05 0.01% MLMG::mgVcycle_up::1 81 4.92e-05 4.92e-05 4.92e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.907e-05 4.907e-05 4.907e-05 0.01% MLCellLinOp::solutionResidual() 92 4.835e-05 4.835e-05 4.835e-05 0.01% MLMG::mgVcycle_up::2 81 4.834e-05 4.834e-05 4.834e-05 0.01% Castro::finalize_do_advance() 10 4.189e-05 4.189e-05 4.189e-05 0.00% Amr::defBaseLevel() 1 3.872e-05 3.872e-05 3.872e-05 0.00% StateData::define() 4 3.813e-05 3.813e-05 3.813e-05 0.00% Castro::swap_state_time_levels() 10 3.677e-05 3.677e-05 3.677e-05 0.00% FillPatchSingleLevel 41 3.514e-05 3.514e-05 3.514e-05 0.00% MLMG::mgVcycle_bottom 81 3.461e-05 3.461e-05 3.461e-05 0.00% MLMG::computeResidual() 81 3.356e-05 3.356e-05 3.356e-05 0.00% MLMG::ResNormInf() 92 3.335e-05 3.335e-05 3.335e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.33e-05 3.33e-05 3.33e-05 0.00% Castro::buildMetrics() 1 3.23e-05 3.23e-05 3.23e-05 0.00% MLPoisson::define() 11 3.135e-05 3.135e-05 3.135e-05 0.00% Castro::initMFs() 1 2.839e-05 2.839e-05 2.839e-05 0.00% Amr::writeSmallPlotFile() 1 2.63e-05 2.63e-05 2.63e-05 0.00% Castro::construct_new_gravity() 10 2.476e-05 2.476e-05 2.476e-05 0.00% makeSFC 55 2.303e-05 2.303e-05 2.303e-05 0.00% Castro::do_old_sources() 10 2.182e-05 2.182e-05 2.182e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.076e-05 2.076e-05 2.076e-05 0.00% Castro::do_new_sources() 10 1.98e-05 1.98e-05 1.98e-05 0.00% Castro::construct_old_source() 50 1.88e-05 1.88e-05 1.88e-05 0.00% Amr::FinalizeInit() 1 1.863e-05 1.863e-05 1.863e-05 0.00% DistributionMapping::Distribute() 56 1.836e-05 1.836e-05 1.836e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.74e-05 1.74e-05 1.74e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.2e-05 1.2e-05 1.2e-05 0.00% Castro::apply_source_to_state() 20 1.144e-05 1.144e-05 1.144e-05 0.00% Castro::construct_old_gravity() 10 1.113e-05 1.113e-05 1.113e-05 0.00% Castro::post_init() 1 1.112e-05 1.112e-05 1.112e-05 0.00% Castro::check_for_nan() 20 1.102e-05 1.102e-05 1.102e-05 0.00% MLLinOp::define() 11 9.785e-06 9.785e-06 9.785e-06 0.00% Amr::initSubcycle() 1 9.742e-06 9.742e-06 9.742e-06 0.00% Gravity::swapTimeLevels() 10 9.358e-06 9.358e-06 9.358e-06 0.00% Castro::post_timestep() 10 8.745e-06 8.745e-06 8.745e-06 0.00% MLMG::computeMLResidual() 11 8.091e-06 8.091e-06 8.091e-06 0.00% Gravity::actual_multilevel_solve() 1 7.851e-06 7.851e-06 7.851e-06 0.00% Castro::computeNewDt() 9 7.231e-06 7.231e-06 7.231e-06 0.00% MLPoisson::prepareForSolve() 11 7.123e-06 7.123e-06 7.123e-06 0.00% MLMG::getGradSolution() 11 6.056e-06 6.056e-06 6.056e-06 0.00% Castro::expand_state() 10 5.31e-06 5.31e-06 5.31e-06 0.00% Amr::InitializeInit() 1 4.847e-06 4.847e-06 4.847e-06 0.00% Castro::retry_advance_ctu() 10 4.791e-06 4.791e-06 4.791e-06 0.00% AmrLevel::checkPointPost() 3 4.647e-06 4.647e-06 4.647e-06 0.00% MLMG::MLRhsNormInf() 11 4.408e-06 4.408e-06 4.408e-06 0.00% Gravity::set_mass_offset() 11 3.933e-06 3.933e-06 3.933e-06 0.00% MLMG::MLResNormInf() 11 3.641e-06 3.641e-06 3.641e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.623e-06 3.623e-06 3.623e-06 0.00% Castro::computeInitialDt() 2 3.567e-06 3.567e-06 3.567e-06 0.00% Castro::FluxRegCrseInit 10 2.597e-06 2.597e-06 2.597e-06 0.00% Amr::init() 1 2.498e-06 2.498e-06 2.498e-06 0.00% Castro::FluxRegFineAdd() 10 2.228e-06 2.228e-06 2.228e-06 0.00% AmrLevel::checkPointPre() 3 1.932e-06 1.932e-06 1.932e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.899e-06 1.899e-06 1.899e-06 0.00% Castro::post_regrid() 1 1.179e-06 1.179e-06 1.179e-06 0.00% Amr::initialInit() 1 9.87e-07 9.87e-07 9.87e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9415 0.9415 0.9415 100.00% Amr::coarseTimeStep() 10 0.7813 0.7813 0.7813 82.99% Amr::timeStep() 10 0.6381 0.6381 0.6381 67.78% Castro::advance() 10 0.6258 0.6258 0.6258 66.47% Castro::subcycle_advance_ctu() 10 0.6106 0.6106 0.6106 64.86% Castro::do_advance_ctu() 10 0.6104 0.6104 0.6104 64.83% Gravity::solve_phi_with_mlmg() 11 0.2897 0.2897 0.2897 30.77% Gravity::actual_solve_with_mlmg() 11 0.28 0.28 0.28 29.74% Castro::construct_ctu_hydro_source() 10 0.273 0.273 0.273 28.99% Castro::construct_new_gravity() 10 0.2639 0.2639 0.2639 28.03% MLMG::solve() 11 0.2586 0.2586 0.2586 27.47% Gravity::solve_for_phi() 10 0.248 0.248 0.248 26.34% MLMG::oneIter() 81 0.2437 0.2437 0.2437 25.88% VisMF::Write(FabArray) 11 0.2401 0.2401 0.2401 25.51% MLMG::mgVcycle() 81 0.2401 0.2401 0.2401 25.50% Amr::checkPoint() 3 0.1908 0.1908 0.1908 20.26% AmrLevel::checkPoint() 3 0.186 0.186 0.186 19.75% StateData::checkPoint() 12 0.1859 0.1859 0.1859 19.74% Amr::init() 1 0.1309 0.1309 0.1309 13.90% MLCellLinOp::smooth() 1620 0.1176 0.1176 0.1176 12.49% MLCellLinOp::applyBC() 4379 0.1099 0.1099 0.1099 11.67% MLMG::mgVcycle_bottom 81 0.07492 0.07492 0.07492 7.96% MLMG::actualBottomSolve() 81 0.07488 0.07488 0.07488 7.95% MLCGSolver::bicgstab 81 0.07416 0.07416 0.07416 7.88% Castro::clean_state() 62 0.06072 0.06072 0.06072 6.45% Amr::writePlotFile() 2 0.05687 0.05687 0.05687 6.04% Amr::initialInit() 1 0.0512 0.0512 0.0512 5.44% AmrLevel::FillPatch() 41 0.04753 0.04753 0.04753 5.05% Amr::FinalizeInit() 1 0.04601 0.04601 0.04601 4.89% Castro::post_init() 1 0.04447 0.04447 0.04447 4.72% FillPatchIterator::Initialize 41 0.04334 0.04334 0.04334 4.60% Gravity::multilevel_solve_for_new_phi() 1 0.04211 0.04211 0.04211 4.47% Gravity::actual_multilevel_solve() 1 0.0421 0.0421 0.0421 4.47% FillPatchIterator::FillFromLevel0() 41 0.04178 0.04178 0.04178 4.44% FillPatchSingleLevel 41 0.04173 0.04173 0.04173 4.43% StateDataPhysBCFunct::() 41 0.0377 0.0377 0.0377 4.00% MLCellLinOp::apply() 1128 0.03673 0.03673 0.03673 3.90% MLMG::mgVcycle_down::0 81 0.03369 0.03369 0.03369 3.58% MLPoisson::Fsmooth() 3240 0.03298 0.03298 0.03298 3.50% FabArray::FillBoundary() 3974 0.03224 0.03224 0.03224 3.42% FillBoundary_nowait() 3974 0.03142 0.03142 0.03142 3.34% StateData::FillBoundary(geom) 328 0.02656 0.02656 0.02656 2.82% MLMG::mgVcycle_up::0 81 0.02544 0.02544 0.02544 2.70% Castro::computeTemp() 63 0.02402 0.02402 0.02402 2.55% Castro::initialize_do_advance() 10 0.02291 0.02291 0.02291 2.43% MLCellLinOp::correctionResidual() 486 0.02234 0.02234 0.02234 2.37% Castro::normalize_species() 62 0.02097 0.02097 0.02097 2.23% amrex::Dot() 1100 0.02087 0.02087 0.02087 2.22% MLMG:computeResOfCorrection() 405 0.01968 0.01968 0.01968 2.09% Castro::do_old_sources() 10 0.01887 0.01887 0.01887 2.00% Gravity::get_new_grav_vector() 11 0.01779 0.01779 0.01779 1.89% MLPoisson::define() 11 0.01685 0.01685 0.01685 1.79% MLMG::mgVcycle_down::1 81 0.01617 0.01617 0.01617 1.72% Castro::construct_old_gravity() 10 0.01525 0.01525 0.01525 1.62% Gravity::get_old_grav_vector() 10 0.01524 0.01524 0.01524 1.62% amrex::Copy() 1019 0.01509 0.01509 0.01509 1.60% MLMG::mgVcycle_down::2 81 0.01496 0.01496 0.01496 1.59% FabArray::norminf() 734 0.01462 0.01462 0.01462 1.55% MLMG::mgVcycle_down::3 81 0.01454 0.01454 0.01454 1.54% FabArray::ParallelCopy() 851 0.01448 0.01448 0.01448 1.54% Castro::initialize_advance() 10 0.0144 0.0144 0.0144 1.53% MLMG::mgVcycle_down::4 81 0.01439 0.01439 0.01439 1.53% FabArray::ParallelCopy_nowait() 851 0.01422 0.01422 0.01422 1.51% FabArray::setVal() 1135 0.01342 0.01342 0.01342 1.43% Castro::do_new_sources() 10 0.01311 0.01311 0.01311 1.39% Castro::enforce_min_density() 62 0.01298 0.01298 0.01298 1.38% MLCGSolver::ParallelAllReduce 1495 0.01253 0.01253 0.01253 1.33% Castro::post_timestep() 10 0.01218 0.01218 0.01218 1.29% MLMG::addInterpCorrection() 405 0.01204 0.01204 0.01204 1.28% Castro::expand_state() 10 0.01195 0.01195 0.01195 1.27% MLMG::mgVcycle_up::1 81 0.01165 0.01165 0.01165 1.24% MLMG::mgVcycle_up::4 81 0.0116 0.0116 0.0116 1.23% MLCellLinOp::defineAuxData() 11 0.01154 0.01154 0.01154 1.23% amrex::average_down 405 0.0114 0.0114 0.0114 1.21% MLMG::mgVcycle_up::2 81 0.01139 0.01139 0.01139 1.21% MLMG::mgVcycle_up::3 81 0.01117 0.01117 0.01117 1.19% MLPoisson::Fapply() 1128 0.01049 0.01049 0.01049 1.11% Gravity::fill_multipole_BCs() 11 0.00941 0.00941 0.00941 1.00% FabArray::Saxpy() 803 0.008359 0.008359 0.008359 0.89% FabArray::Xpay() 811 0.008228 0.008228 0.008228 0.87% Castro::reset_internal_energy(MultiFab) 63 0.007901 0.007901 0.007901 0.84% MLCellLinOp::solutionResidual() 92 0.007451 0.007451 0.007451 0.79% MLMG::computeResidual() 81 0.006179 0.006179 0.006179 0.66% Castro::estTimeStep() 21 0.005935 0.005935 0.005935 0.63% Amr::InitializeInit() 1 0.005187 0.005187 0.005187 0.55% Amr::defBaseLevel() 1 0.005182 0.005182 0.005182 0.55% MLCellLinOp::defineBC() 11 0.005062 0.005062 0.005062 0.54% MLMG::prepareForSolve() 11 0.004969 0.004969 0.004969 0.53% BndryData::define() 11 0.004851 0.004851 0.004851 0.52% FabArray::LinComb() 550 0.004606 0.004606 0.004606 0.49% Castro::initData() 1 0.004494 0.004494 0.004494 0.48% amrex::Add() 162 0.004354 0.004354 0.004354 0.46% Castro::enforce_speed_limit() 62 0.003733 0.003733 0.003733 0.40% Castro::construct_new_source() 50 0.003269 0.003269 0.003269 0.35% Castro::construct_new_gravity_source() 10 0.003189 0.003189 0.003189 0.34% Castro::construct_old_source() 50 0.002846 0.002846 0.002846 0.30% Castro::construct_old_gravity_source() 10 0.002827 0.002827 0.002827 0.30% Castro::computeNewDt() 9 0.002495 0.002495 0.002495 0.26% Castro::finalize_do_advance() 10 0.002435 0.002435 0.002435 0.26% MLMG::ResNormInf() 92 0.002137 0.002137 0.002137 0.23% Castro::apply_source_to_state() 20 0.001859 0.001859 0.001859 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001765 0.001765 0.001765 0.19% check_for_negative_density() 10 0.001757 0.001757 0.001757 0.19% Castro::reset_internal_energy(Fab) 504 0.001656 0.001656 0.001656 0.18% MLMG::getGradSolution() 11 0.001543 0.001543 0.001543 0.16% MLCellLinOp::compGrad() 11 0.001537 0.001537 0.001537 0.16% MLCellLinOp::setLevelBC() 11 0.001452 0.001452 0.001452 0.15% FabArrayBase::getCPC() 1313 0.001427 0.001427 0.001427 0.15% FabArray::mult() 43 0.001364 0.001364 0.001364 0.14% FabArray::setDomainBndry() 41 0.00135 0.00135 0.00135 0.14% MLMG::computeMLResidual() 11 0.001313 0.001313 0.001313 0.14% Castro::check_for_nan() 20 0.001279 0.001279 0.001279 0.14% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.13% MLPoisson::prepareForSolve() 11 0.001266 0.001266 0.001266 0.13% MLCellLinOp::prepareForSolve() 11 0.001259 0.001259 0.001259 0.13% Castro::post_regrid() 1 0.001223 0.001223 0.001223 0.13% Castro::computeInitialDt() 2 0.001058 0.001058 0.001058 0.11% Gravity::update_max_rhs() 11 0.001004 0.001004 0.001004 0.11% FabArrayBase::getFB() 3974 0.0007653 0.0007653 0.0007653 0.08% FabArrayBase::CPC::define() 454 0.00066 0.00066 0.00066 0.07% Castro::finalize_advance() 10 0.0006079 0.0006079 0.0006079 0.06% Castro::Castro() 1 0.0005856 0.0005856 0.0005856 0.06% Amr::InitAmr() 1 0.0005173 0.0005173 0.0005173 0.05% Gravity::swapTimeLevels() 10 0.0004455 0.0004455 0.0004455 0.05% MLMG::MLResNormInf() 11 0.0003307 0.0003307 0.0003307 0.04% MultiFab::max() 11 0.0003222 0.0003222 0.0003222 0.03% Castro::buildMetrics() 1 0.0002791 0.0002791 0.0002791 0.03% MLMG::MLRhsNormInf() 11 0.0002252 0.0002252 0.0002252 0.02% MLLinOp::define() 11 0.0002137 0.0002137 0.0002137 0.02% MLLinOp::defineGrids() 11 0.0002039 0.0002039 0.0002039 0.02% Castro::create_source_corrector() 10 0.0001373 0.0001373 0.0001373 0.01% FabArrayBase::FB::FB() 56 9.573e-05 9.573e-05 9.573e-05 0.01% Castro::enforce_consistent_e() 1 6.963e-05 6.963e-05 6.963e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.889e-05 5.889e-05 5.889e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.207e-05 5.207e-05 5.207e-05 0.01% makeSFC 55 4.007e-05 4.007e-05 4.007e-05 0.00% StateData::define() 4 3.813e-05 3.813e-05 3.813e-05 0.00% Castro::swap_state_time_levels() 10 3.677e-05 3.677e-05 3.677e-05 0.00% Castro::initMFs() 1 2.839e-05 2.839e-05 2.839e-05 0.00% Amr::writeSmallPlotFile() 1 2.63e-05 2.63e-05 2.63e-05 0.00% DistributionMapping::Distribute() 56 1.836e-05 1.836e-05 1.836e-05 0.00% Amr::initSubcycle() 1 9.742e-06 9.742e-06 9.742e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.946e-06 4.946e-06 4.946e-06 0.00% Castro::retry_advance_ctu() 10 4.791e-06 4.791e-06 4.791e-06 0.00% AmrLevel::checkPointPost() 3 4.647e-06 4.647e-06 4.647e-06 0.00% Gravity::set_mass_offset() 11 3.933e-06 3.933e-06 3.933e-06 0.00% Castro::FluxRegCrseInit 10 2.597e-06 2.597e-06 2.597e-06 0.00% Castro::FluxRegFineAdd() 10 2.228e-06 2.228e-06 2.228e-06 0.00% AmrLevel::checkPointPre() 3 1.932e-06 1.932e-06 1.932e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.899e-06 1.899e-06 1.899e-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 96 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 130 MiB 692 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 985 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1700 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3379 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 196 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 165 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2070 B 2048 KiB Gravity::solve_for_phi() 80 80 538 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 196 KiB 671 KiB Castro::estTimeStep() 21 21 3076 B 480 KiB VisMF::Write(FabArray) 656 656 3261 B 320 KiB Castro::normalize_species() 62 62 7260 B 320 KiB amrex::average_down 1054 1054 1217 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1097 B 257 KiB amrex::Dot() 1343 1343 3262 B 160 KiB FabArray::norminf() 896 896 2293 B 160 KiB check_for_negative_density() 10 10 297 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3299 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 285 B 9648 B MLCellLinOp::applyBC() 8758 8758 212 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3874 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 114 B 1472 B MLCellLinOp::defineBC() 66 66 348 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 537 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 484 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3299 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 285 B 9648 B MLCellLinOp::applyBC() 4379 4379 210 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3874 B 6144 B Gravity::get_new_grav_vector() 3 3 2906 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 271 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 281 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 23 B 400 B FabArray::norminf() 896 896 16 B 272 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): 2528 [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 (23.08-33-gdda0d979ca2e) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-33-gdda0d979ca2e) initialized Starting run at 08:41:22 UTC on 2023-08-21. Successfully read inputs file ... Castro git describe: 23.08-6-g41b0e2684 AMReX git describe: 23.08-33-gdda0d979c Microphysics git describe: 23.08-13-g01724c98 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.500510512 Restart time = 0.050625595 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.053405781 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.064648743 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.081089396 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.076403141 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.061555115 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.031526544 seconds Ending run at 08:41:23 UTC on 2023-08-21. Run time = 0.420313195 Run time without initialization = 0.369071314 Average number of zones advanced per microsecond: 3.551 Average number of zones advanced per microsecond per rank: 3.551 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4204 ... 0.4204 ... 0.4204 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1391 0.1391 0.1391 33.10% VisMF::Read() 3 0.03889 0.03889 0.03889 9.25% MLCellLinOp::applyBC() 1946 0.03429 0.03429 0.03429 8.16% VisMF::Write(FabArray) 1 0.0292 0.0292 0.0292 6.95% MLPoisson::Fsmooth() 1440 0.01448 0.01448 0.01448 3.45% FillBoundary_nowait() 1766 0.01284 0.01284 0.01284 3.05% StateData::FillBoundary(geom) 160 0.0128 0.0128 0.0128 3.04% FabArray::norminf() 326 0.01259 0.01259 0.01259 2.99% Castro::normalize_species() 30 0.009836 0.009836 0.009836 2.34% amrex::Dot() 484 0.009094 0.009094 0.009094 2.16% Castro::computeTemp() 30 0.008086 0.008086 0.008086 1.92% amrex::Copy() 463 0.007311 0.007311 0.007311 1.74% FabArray::setVal() 537 0.006583 0.006583 0.006583 1.57% Castro::enforce_min_density() 30 0.006383 0.006383 0.006383 1.52% FabArray::ParallelCopy_nowait() 380 0.006192 0.006192 0.006192 1.47% Gravity::fill_multipole_BCs() 6 0.005932 0.005932 0.005932 1.41% MLCellLinOp::defineAuxData() 6 0.005546 0.005546 0.005546 1.32% Amr::restart() 1 0.004907 0.004907 0.004907 1.17% MLPoisson::Fapply() 500 0.004621 0.004621 0.004621 1.10% StateDataPhysBCFunct::() 20 0.00454 0.00454 0.00454 1.08% FabArray::Saxpy() 355 0.003816 0.003816 0.003816 0.91% FabArray::Xpay() 361 0.003641 0.003641 0.003641 0.87% Castro::estTimeStep() 10 0.003323 0.003323 0.003323 0.79% MLMG::addInterpCorrection() 180 0.003134 0.003134 0.003134 0.75% amrex::average_down 180 0.00274 0.00274 0.00274 0.65% FabArray::LinComb() 242 0.002282 0.002282 0.002282 0.54% Amr::writePlotFile() 1 0.002162 0.002162 0.002162 0.51% BndryData::define() 6 0.002111 0.002111 0.002111 0.50% Castro::reset_internal_energy(MultiFab) 30 0.0021 0.0021 0.0021 0.50% amrex::Add() 72 0.001898 0.001898 0.001898 0.45% Castro::construct_new_gravity_source() 5 0.001699 0.001699 0.001699 0.40% Castro::construct_old_gravity_source() 5 0.00147 0.00147 0.00147 0.35% MLCGSolver::bicgstab 36 0.001005 0.001005 0.001005 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009697 0.0009697 0.0009697 0.23% check_for_negative_density() 5 0.000953 0.000953 0.000953 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008561 0.0008561 0.0008561 0.20% Castro::reset_internal_energy(Fab) 240 0.0008336 0.0008336 0.0008336 0.20% MLCellLinOp::setLevelBC() 6 0.0008192 0.0008192 0.0008192 0.19% MLCellLinOp::prepareForSolve() 6 0.0007115 0.0007115 0.0007115 0.17% FabArray::mult() 22 0.0006876 0.0006876 0.0006876 0.16% FabArray::setDomainBndry() 20 0.000684 0.000684 0.000684 0.16% MultiFab::contains_nan() 10 0.0006663 0.0006663 0.0006663 0.16% MLCellLinOp::compGrad() 6 0.0006216 0.0006216 0.0006216 0.15% MLMG::prepareForSolve() 6 0.000573 0.000573 0.000573 0.14% MLCellLinOp::smooth() 720 0.0004686 0.0004686 0.0004686 0.11% Castro::enforce_speed_limit() 30 0.0004498 0.0004498 0.0004498 0.11% Amr::InitAmr() 1 0.0004278 0.0004278 0.0004278 0.10% FabArrayBase::CPC::define() 244 0.0004246 0.0004246 0.0004246 0.10% FabArrayBase::getCPC() 632 0.0003916 0.0003916 0.0003916 0.09% FabArray::FillBoundary() 1766 0.0003872 0.0003872 0.0003872 0.09% Gravity::get_old_grav_vector() 5 0.0003179 0.0003179 0.0003179 0.08% FabArrayBase::getFB() 1766 0.0002893 0.0002893 0.0002893 0.07% main() 1 0.0002853 0.0002853 0.0002853 0.07% Gravity::get_new_grav_vector() 5 0.0002708 0.0002708 0.0002708 0.06% MultiFab::max() 6 0.0002032 0.0002032 0.0002032 0.05% MLCellLinOp::apply() 500 0.0001974 0.0001974 0.0001974 0.05% Amr::coarseTimeStep() 5 0.0001817 0.0001817 0.0001817 0.04% AmrLevel::FillPatch() 20 0.0001609 0.0001609 0.0001609 0.04% MLCGSolver::ParallelAllReduce 659 0.0001441 0.0001441 0.0001441 0.03% MLLinOp::defineGrids() 6 0.0001211 0.0001211 0.0001211 0.03% FabArray::ParallelCopy() 380 0.0001187 0.0001187 0.0001187 0.03% MLCellLinOp::defineBC() 6 0.0001143 0.0001143 0.0001143 0.03% Castro::subcycle_advance_ctu() 5 0.000113 0.000113 0.000113 0.03% FillPatchIterator::Initialize 20 0.0001054 0.0001054 0.0001054 0.03% Castro::create_source_corrector() 5 0.0001021 0.0001021 0.0001021 0.02% MLCellLinOp::correctionResidual() 216 9.785e-05 9.785e-05 9.785e-05 0.02% Amr::timeStep() 5 8.789e-05 8.789e-05 8.789e-05 0.02% MLMG::mgVcycle() 36 8.656e-05 8.656e-05 8.656e-05 0.02% Gravity::solve_for_phi() 5 8.472e-05 8.472e-05 8.472e-05 0.02% Castro::advance() 5 8.022e-05 8.022e-05 8.022e-05 0.02% AmrLevel::restart() 1 7.861e-05 7.861e-05 7.861e-05 0.02% Castro::finalize_do_advance() 5 6.75e-05 6.75e-05 6.75e-05 0.02% StateData::restartDoit() 4 6.558e-05 6.558e-05 6.558e-05 0.02% Castro::do_advance_ctu() 5 6.484e-05 6.484e-05 6.484e-05 0.02% Castro::initialize_do_advance() 5 6.433e-05 6.433e-05 6.433e-05 0.02% Gravity::update_max_rhs() 6 6.365e-05 6.365e-05 6.365e-05 0.02% FabArrayBase::FB::FB() 26 6.016e-05 6.016e-05 6.016e-05 0.01% MLMG:computeResOfCorrection() 180 5.619e-05 5.619e-05 5.619e-05 0.01% Castro::construct_new_source() 25 5.299e-05 5.299e-05 5.299e-05 0.01% MLMG::actualBottomSolve() 36 4.821e-05 4.821e-05 4.821e-05 0.01% MLMG::mgVcycle_down::0 36 3.982e-05 3.982e-05 3.982e-05 0.01% MLMG::solve() 6 3.925e-05 3.925e-05 3.925e-05 0.01% MLMG::mgVcycle_down::1 36 3.738e-05 3.738e-05 3.738e-05 0.01% Castro::initialize_advance() 5 3.611e-05 3.611e-05 3.611e-05 0.01% MLMG::mgVcycle_down::2 36 3.531e-05 3.531e-05 3.531e-05 0.01% MLMG::mgVcycle_down::4 36 3.471e-05 3.471e-05 3.471e-05 0.01% MLMG::mgVcycle_up::4 36 3.379e-05 3.379e-05 3.379e-05 0.01% Castro::clean_state() 30 3.345e-05 3.345e-05 3.345e-05 0.01% MLMG::mgVcycle_down::3 36 3.268e-05 3.268e-05 3.268e-05 0.01% Amr::writeSmallPlotFile() 1 3.147e-05 3.147e-05 3.147e-05 0.01% Castro::do_new_sources() 5 3.06e-05 3.06e-05 3.06e-05 0.01% Castro::finalize_advance() 5 2.93e-05 2.93e-05 2.93e-05 0.01% Castro::post_restart() 1 2.866e-05 2.866e-05 2.866e-05 0.01% Castro::construct_old_source() 25 2.841e-05 2.841e-05 2.841e-05 0.01% Castro::buildMetrics() 1 2.747e-05 2.747e-05 2.747e-05 0.01% MLMG::oneIter() 36 2.523e-05 2.523e-05 2.523e-05 0.01% Castro::initMFs() 1 2.521e-05 2.521e-05 2.521e-05 0.01% Castro::swap_state_time_levels() 5 2.383e-05 2.383e-05 2.383e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.297e-05 2.297e-05 2.297e-05 0.01% MLCellLinOp::solutionResidual() 42 2.285e-05 2.285e-05 2.285e-05 0.01% MLMG::mgVcycle_up::3 36 2.253e-05 2.253e-05 2.253e-05 0.01% MLMG::mgVcycle_up::0 36 2.19e-05 2.19e-05 2.19e-05 0.01% MLMG::mgVcycle_up::2 36 2.101e-05 2.101e-05 2.101e-05 0.00% FillPatchSingleLevel 20 2.079e-05 2.079e-05 2.079e-05 0.00% MLMG::mgVcycle_up::1 36 2.037e-05 2.037e-05 2.037e-05 0.00% MLPoisson::define() 6 1.86e-05 1.86e-05 1.86e-05 0.00% MLMG::ResNormInf() 42 1.769e-05 1.769e-05 1.769e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.67e-05 1.67e-05 1.67e-05 0.00% MLMG::mgVcycle_bottom 36 1.631e-05 1.631e-05 1.631e-05 0.00% Castro::construct_new_gravity() 5 1.577e-05 1.577e-05 1.577e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.489e-05 1.489e-05 1.489e-05 0.00% MLMG::computeResidual() 36 1.473e-05 1.473e-05 1.473e-05 0.00% makeSFC 30 1.29e-05 1.29e-05 1.29e-05 0.00% Castro::do_old_sources() 5 1.188e-05 1.188e-05 1.188e-05 0.00% DistributionMapping::Distribute() 31 1.072e-05 1.072e-05 1.072e-05 0.00% Amr::initSubcycle() 1 1.009e-05 1.009e-05 1.009e-05 0.00% Gravity::actual_multilevel_solve() 1 8.466e-06 8.466e-06 8.466e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.61e-06 7.61e-06 7.61e-06 0.00% Castro::construct_old_gravity() 5 6.85e-06 6.85e-06 6.85e-06 0.00% Castro::check_for_nan() 10 6.587e-06 6.587e-06 6.587e-06 0.00% MLLinOp::define() 6 6.244e-06 6.244e-06 6.244e-06 0.00% Castro::apply_source_to_state() 10 5.869e-06 5.869e-06 5.869e-06 0.00% Castro::post_timestep() 5 4.957e-06 4.957e-06 4.957e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.533e-06 4.533e-06 4.533e-06 0.00% Gravity::swapTimeLevels() 5 4.204e-06 4.204e-06 4.204e-06 0.00% MLMG::computeMLResidual() 6 4.129e-06 4.129e-06 4.129e-06 0.00% Castro::computeNewDt() 5 4.076e-06 4.076e-06 4.076e-06 0.00% MLPoisson::prepareForSolve() 6 3.868e-06 3.868e-06 3.868e-06 0.00% MLMG::getGradSolution() 6 3.382e-06 3.382e-06 3.382e-06 0.00% MLMG::MLResNormInf() 6 2.626e-06 2.626e-06 2.626e-06 0.00% Castro::expand_state() 5 2.614e-06 2.614e-06 2.614e-06 0.00% MLMG::MLRhsNormInf() 6 2.401e-06 2.401e-06 2.401e-06 0.00% Castro::retry_advance_ctu() 5 2.245e-06 2.245e-06 2.245e-06 0.00% Gravity::set_mass_offset() 6 1.897e-06 1.897e-06 1.897e-06 0.00% Castro::FluxRegCrseInit 5 1.383e-06 1.383e-06 1.383e-06 0.00% Castro::FluxRegFineAdd() 5 1.213e-06 1.213e-06 1.213e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.12e-06 1.12e-06 1.12e-06 0.00% Amr::init() 1 1.053e-06 1.053e-06 1.053e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4203 0.4203 0.4203 99.99% Amr::coarseTimeStep() 5 0.3373 0.3373 0.3373 80.24% Amr::timeStep() 5 0.335 0.335 0.335 79.69% Castro::advance() 5 0.3295 0.3295 0.3295 78.38% Castro::subcycle_advance_ctu() 5 0.3218 0.3218 0.3218 76.55% Castro::do_advance_ctu() 5 0.3217 0.3217 0.3217 76.52% Castro::construct_ctu_hydro_source() 5 0.1446 0.1446 0.1446 34.40% Castro::construct_new_gravity() 5 0.141 0.141 0.141 33.54% Gravity::solve_phi_with_mlmg() 6 0.1386 0.1386 0.1386 32.97% Gravity::solve_for_phi() 5 0.1329 0.1329 0.1329 31.62% Gravity::actual_solve_with_mlmg() 6 0.1324 0.1324 0.1324 31.50% MLMG::solve() 6 0.1205 0.1205 0.1205 28.67% MLMG::oneIter() 36 0.1131 0.1131 0.1131 26.90% MLMG::mgVcycle() 36 0.1115 0.1115 0.1115 26.53% MLCellLinOp::smooth() 720 0.05106 0.05106 0.05106 12.15% Amr::init() 1 0.05067 0.05067 0.05067 12.05% Amr::restart() 1 0.05067 0.05067 0.05067 12.05% MLCellLinOp::applyBC() 1946 0.04787 0.04787 0.04787 11.39% MLMG::mgVcycle_bottom 36 0.03936 0.03936 0.03936 9.36% MLMG::actualBottomSolve() 36 0.03934 0.03934 0.03934 9.36% AmrLevel::restart() 1 0.03925 0.03925 0.03925 9.34% StateData::restartDoit() 4 0.03916 0.03916 0.03916 9.32% MLCGSolver::bicgstab 36 0.03902 0.03902 0.03902 9.28% VisMF::Read() 3 0.03889 0.03889 0.03889 9.25% Amr::writePlotFile() 1 0.03162 0.03162 0.03162 7.52% VisMF::Write(FabArray) 1 0.0292 0.0292 0.0292 6.95% Castro::clean_state() 30 0.02772 0.02772 0.02772 6.59% AmrLevel::FillPatch() 20 0.02229 0.02229 0.02229 5.30% FillPatchIterator::Initialize 20 0.02023 0.02023 0.02023 4.81% FillPatchIterator::FillFromLevel0() 20 0.01944 0.01944 0.01944 4.62% FillPatchSingleLevel 20 0.01941 0.01941 0.01941 4.62% StateDataPhysBCFunct::() 20 0.01734 0.01734 0.01734 4.12% MLCellLinOp::apply() 500 0.0163 0.0163 0.0163 3.88% MLMG::mgVcycle_down::0 36 0.01457 0.01457 0.01457 3.47% MLPoisson::Fsmooth() 1440 0.01448 0.01448 0.01448 3.45% FabArray::FillBoundary() 1766 0.01358 0.01358 0.01358 3.23% FillBoundary_nowait() 1766 0.01319 0.01319 0.01319 3.14% StateData::FillBoundary(geom) 160 0.0128 0.0128 0.0128 3.04% FabArray::norminf() 326 0.01259 0.01259 0.01259 2.99% Castro::initialize_do_advance() 5 0.01133 0.01133 0.01133 2.69% Castro::computeTemp() 30 0.01102 0.01102 0.01102 2.62% MLMG::mgVcycle_up::0 36 0.01094 0.01094 0.01094 2.60% Castro::normalize_species() 30 0.009836 0.009836 0.009836 2.34% MLCellLinOp::correctionResidual() 216 0.009748 0.009748 0.009748 2.32% MLPoisson::define() 6 0.009317 0.009317 0.009317 2.22% Castro::do_old_sources() 5 0.009226 0.009226 0.009226 2.19% amrex::Dot() 484 0.009094 0.009094 0.009094 2.16% MLMG:computeResOfCorrection() 180 0.008559 0.008559 0.008559 2.04% Gravity::get_new_grav_vector() 5 0.007949 0.007949 0.007949 1.89% Castro::construct_old_gravity() 5 0.007487 0.007487 0.007487 1.78% Gravity::get_old_grav_vector() 5 0.00748 0.00748 0.00748 1.78% amrex::Copy() 463 0.007311 0.007311 0.007311 1.74% Castro::initialize_advance() 5 0.007303 0.007303 0.007303 1.74% MLMG::mgVcycle_down::1 36 0.007166 0.007166 0.007166 1.70% FabArray::ParallelCopy() 380 0.006727 0.006727 0.006727 1.60% FabArray::ParallelCopy_nowait() 380 0.006609 0.006609 0.006609 1.57% FabArray::setVal() 537 0.006583 0.006583 0.006583 1.57% MLMG::mgVcycle_down::2 36 0.006542 0.006542 0.006542 1.56% Castro::enforce_min_density() 30 0.006383 0.006383 0.006383 1.52% MLMG::mgVcycle_down::3 36 0.006349 0.006349 0.006349 1.51% MLCellLinOp::defineAuxData() 6 0.006341 0.006341 0.006341 1.51% Castro::post_restart() 1 0.006336 0.006336 0.006336 1.51% MLMG::mgVcycle_down::4 36 0.006311 0.006311 0.006311 1.50% Castro::do_new_sources() 5 0.006231 0.006231 0.006231 1.48% Gravity::fill_multipole_BCs() 6 0.006056 0.006056 0.006056 1.44% Gravity::multilevel_solve_for_new_phi() 1 0.005969 0.005969 0.005969 1.42% Gravity::actual_multilevel_solve() 1 0.005952 0.005952 0.005952 1.42% Castro::expand_state() 5 0.005679 0.005679 0.005679 1.35% MLCGSolver::ParallelAllReduce 659 0.005508 0.005508 0.005508 1.31% MLMG::addInterpCorrection() 180 0.005477 0.005477 0.005477 1.30% Castro::post_timestep() 5 0.005431 0.005431 0.005431 1.29% MLMG::mgVcycle_up::4 36 0.0052 0.0052 0.0052 1.24% MLMG::mgVcycle_up::1 36 0.0051 0.0051 0.0051 1.21% amrex::average_down 180 0.005071 0.005071 0.005071 1.21% MLMG::mgVcycle_up::2 36 0.005008 0.005008 0.005008 1.19% MLMG::mgVcycle_up::3 36 0.004898 0.004898 0.004898 1.17% MLPoisson::Fapply() 500 0.004621 0.004621 0.004621 1.10% FabArray::Saxpy() 355 0.003816 0.003816 0.003816 0.91% FabArray::Xpay() 361 0.003641 0.003641 0.003641 0.87% MLCellLinOp::solutionResidual() 42 0.003494 0.003494 0.003494 0.83% Castro::estTimeStep() 10 0.003323 0.003323 0.003323 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002933 0.002933 0.002933 0.70% MLCellLinOp::defineBC() 6 0.002799 0.002799 0.002799 0.67% MLMG::prepareForSolve() 6 0.00279 0.00279 0.00279 0.66% MLMG::computeResidual() 36 0.002725 0.002725 0.002725 0.65% BndryData::define() 6 0.002685 0.002685 0.002685 0.64% FabArray::LinComb() 242 0.002282 0.002282 0.002282 0.54% Castro::computeNewDt() 5 0.002108 0.002108 0.002108 0.50% amrex::Add() 72 0.001898 0.001898 0.001898 0.45% Castro::construct_new_source() 25 0.001752 0.001752 0.001752 0.42% Castro::construct_new_gravity_source() 5 0.001699 0.001699 0.001699 0.40% Castro::construct_old_source() 25 0.001498 0.001498 0.001498 0.36% Castro::construct_old_gravity_source() 5 0.00147 0.00147 0.00147 0.35% Castro::finalize_do_advance() 5 0.001287 0.001287 0.001287 0.31% MLMG::ResNormInf() 42 0.0009952 0.0009952 0.0009952 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009697 0.0009697 0.0009697 0.23% Castro::apply_source_to_state() 10 0.0009574 0.0009574 0.0009574 0.23% check_for_negative_density() 5 0.000953 0.000953 0.000953 0.23% MLMG::getGradSolution() 6 0.0009061 0.0009061 0.0009061 0.22% MLCellLinOp::compGrad() 6 0.0009027 0.0009027 0.0009027 0.21% Castro::reset_internal_energy(Fab) 240 0.0008336 0.0008336 0.0008336 0.20% MLCellLinOp::setLevelBC() 6 0.0008192 0.0008192 0.0008192 0.19% FabArrayBase::getCPC() 632 0.0008162 0.0008162 0.0008162 0.19% MLMG::computeMLResidual() 6 0.0007881 0.0007881 0.0007881 0.19% MLPoisson::prepareForSolve() 6 0.0007153 0.0007153 0.0007153 0.17% MLCellLinOp::prepareForSolve() 6 0.0007115 0.0007115 0.0007115 0.17% Gravity::update_max_rhs() 6 0.0007084 0.0007084 0.0007084 0.17% FabArray::mult() 22 0.0006876 0.0006876 0.0006876 0.16% FabArray::setDomainBndry() 20 0.000684 0.000684 0.000684 0.16% Castro::check_for_nan() 10 0.0006729 0.0006729 0.0006729 0.16% MultiFab::contains_nan() 10 0.0006663 0.0006663 0.0006663 0.16% Castro::enforce_speed_limit() 30 0.0004498 0.0004498 0.0004498 0.11% Amr::InitAmr() 1 0.0004378 0.0004378 0.0004378 0.10% FabArrayBase::CPC::define() 244 0.0004246 0.0004246 0.0004246 0.10% FabArrayBase::getFB() 1766 0.0003495 0.0003495 0.0003495 0.08% Castro::finalize_advance() 5 0.0002986 0.0002986 0.0002986 0.07% Gravity::swapTimeLevels() 5 0.0002293 0.0002293 0.0002293 0.05% MultiFab::max() 6 0.0002032 0.0002032 0.0002032 0.05% MLMG::MLResNormInf() 6 0.0001887 0.0001887 0.0001887 0.04% Castro::buildMetrics() 1 0.000158 0.000158 0.000158 0.04% MLLinOp::define() 6 0.0001579 0.0001579 0.0001579 0.04% MLLinOp::defineGrids() 6 0.0001516 0.0001516 0.0001516 0.04% MLMG::MLRhsNormInf() 6 0.00012 0.00012 0.00012 0.03% Castro::create_source_corrector() 5 0.0001021 0.0001021 0.0001021 0.02% FabArrayBase::FB::FB() 26 6.016e-05 6.016e-05 6.016e-05 0.01% Amr::writeSmallPlotFile() 1 3.147e-05 3.147e-05 3.147e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.936e-05 2.936e-05 2.936e-05 0.01% Castro::initMFs() 1 2.521e-05 2.521e-05 2.521e-05 0.01% Castro::swap_state_time_levels() 5 2.383e-05 2.383e-05 2.383e-05 0.01% makeSFC 30 2.175e-05 2.175e-05 2.175e-05 0.01% DistributionMapping::Distribute() 31 1.072e-05 1.072e-05 1.072e-05 0.00% Amr::initSubcycle() 1 1.009e-05 1.009e-05 1.009e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 6.41e-06 6.41e-06 6.41e-06 0.00% Castro::retry_advance_ctu() 5 2.245e-06 2.245e-06 2.245e-06 0.00% Gravity::set_mass_offset() 6 1.897e-06 1.897e-06 1.897e-06 0.00% Castro::FluxRegCrseInit 5 1.383e-06 1.383e-06 1.383e-06 0.00% Castro::FluxRegFineAdd() 5 1.213e-06 1.213e-06 1.213e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.12e-06 1.12e-06 1.12e-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 199 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 151 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1042 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2050 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6768 KiB 14 MiB MLMG::prepareForSolve() 361 361 3521 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 193 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6755 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 24 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3352 B 2048 KiB Gravity::solve_for_phi() 40 40 646 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 207 KiB 671 KiB Castro::estTimeStep() 10 10 3797 B 480 KiB VisMF::Write(FabArray) 112 112 2292 B 320 KiB Castro::normalize_species() 30 30 7618 B 320 KiB amrex::average_down 469 469 1196 B 257 KiB MLMG::addInterpCorrection() 468 468 1109 B 257 KiB amrex::Dot() 592 592 3185 B 160 KiB FabArray::norminf() 398 398 4645 B 160 KiB check_for_negative_density() 5 5 363 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3418 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 265 B 9648 B MLCellLinOp::applyBC() 3892 3892 211 B 9344 B amrex::Copy() 56 56 5984 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2064 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 135 B 1472 B MLCellLinOp::defineBC() 36 36 364 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1343 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 191 KiB 3584 KiB VisMF::Read() 24 24 179 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3418 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 265 B 9648 B MLCellLinOp::applyBC() 1946 1946 210 B 9328 B amrex::Copy() 56 56 5984 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2654 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2064 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 533 B 1296 B amrex::average_down 37 37 224 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 29 B 400 B FabArray::norminf() 398 398 20 B 272 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): 2528 [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 (23.08-33-gdda0d979ca2e) finalized