Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-24-g01b750d909b0) initialized Starting run at 08:33:46 UTC on 2023-07-17. Successfully read inputs file ... Castro git describe: 23.07-14-g10cafd240 AMReX git describe: 23.07-24-g01b750d90 Microphysics git describe: 23.07-28-g5fc83334 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.060651417 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034570547 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.050090524 [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.071289131 [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.077765577 [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.069206574 [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.064857089 [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.059360178 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.048862065 [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.073912093 [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.071546669 [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.069150424 [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.069438424 [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.059339334 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034212474 seconds Ending run at 08:33:47 UTC on 2023-07-17. Run time = 0.960637527 Run time without initialization = 0.819631028 Average number of zones advanced per microsecond: 3.198 Average number of zones advanced per microsecond per rank: 3.198 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9607 ... 0.9607 ... 0.9607 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2915 0.2915 0.2915 30.34% VisMF::Write(FabArray) 11 0.2413 0.2413 0.2413 25.12% MLCellLinOp::applyBC() 4379 0.07602 0.07602 0.07602 7.91% MLPoisson::Fsmooth() 3240 0.03203 0.03203 0.03203 3.33% FillBoundary_nowait() 3974 0.03079 0.03079 0.03079 3.21% StateData::FillBoundary(geom) 328 0.02519 0.02519 0.02519 2.62% Castro::normalize_species() 62 0.02089 0.02089 0.02089 2.17% amrex::Dot() 1100 0.02054 0.02054 0.02054 2.14% Castro::computeTemp() 63 0.01649 0.01649 0.01649 1.72% amrex::Copy() 1019 0.01489 0.01489 0.01489 1.55% FabArray::norminf() 734 0.01431 0.01431 0.01431 1.49% FabArray::ParallelCopy_nowait() 851 0.01338 0.01338 0.01338 1.39% FabArray::setVal() 1135 0.01312 0.01312 0.01312 1.37% Castro::enforce_min_density() 62 0.01279 0.01279 0.01279 1.33% StateDataPhysBCFunct::() 41 0.01227 0.01227 0.01227 1.28% MLPoisson::Fapply() 1128 0.01027 0.01027 0.01027 1.07% MLCellLinOp::defineAuxData() 11 0.009854 0.009854 0.009854 1.03% FabArray::Saxpy() 803 0.008119 0.008119 0.008119 0.85% FabArray::Xpay() 811 0.008029 0.008029 0.008029 0.84% MLMG::addInterpCorrection() 405 0.006717 0.006717 0.006717 0.70% Gravity::fill_multipole_BCs() 11 0.006603 0.006603 0.006603 0.69% Castro::estTimeStep() 21 0.006086 0.006086 0.006086 0.63% amrex::average_down 405 0.00592 0.00592 0.00592 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005 0.005 0.005 0.52% FabArray::LinComb() 550 0.004453 0.004453 0.004453 0.46% amrex::Add() 162 0.004301 0.004301 0.004301 0.45% Amr::checkPoint() 3 0.003962 0.003962 0.003962 0.41% BndryData::define() 11 0.003816 0.003816 0.003816 0.40% Castro::construct_new_gravity_source() 10 0.00314 0.00314 0.00314 0.33% Castro::enforce_speed_limit() 62 0.00305 0.00305 0.00305 0.32% Castro::construct_old_gravity_source() 10 0.002759 0.002759 0.002759 0.29% Amr::writePlotFile() 2 0.002383 0.002383 0.002383 0.25% MLCGSolver::bicgstab 81 0.002144 0.002144 0.002144 0.22% check_for_negative_density() 10 0.001743 0.001743 0.001743 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001698 0.001698 0.001698 0.18% Castro::reset_internal_energy(Fab) 504 0.001608 0.001608 0.001608 0.17% Gravity::actual_solve_with_mlmg() 11 0.00147 0.00147 0.00147 0.15% MLCellLinOp::setLevelBC() 11 0.001414 0.001414 0.001414 0.15% FabArray::setDomainBndry() 41 0.001318 0.001318 0.001318 0.14% FabArray::mult() 43 0.001307 0.001307 0.001307 0.14% Castro::initData() 1 0.001232 0.001232 0.001232 0.13% MultiFab::contains_nan() 20 0.001195 0.001195 0.001195 0.12% MLCellLinOp::prepareForSolve() 11 0.001141 0.001141 0.001141 0.12% MLCellLinOp::smooth() 1620 0.001053 0.001053 0.001053 0.11% MLCellLinOp::compGrad() 11 0.0009117 0.0009117 0.0009117 0.09% MLMG::prepareForSolve() 11 0.0008847 0.0008847 0.0008847 0.09% FabArray::FillBoundary() 3974 0.0008432 0.0008432 0.0008432 0.09% FabArrayBase::getCPC() 1313 0.0007165 0.0007165 0.0007165 0.07% FabArrayBase::CPC::define() 454 0.0006828 0.0006828 0.0006828 0.07% FabArrayBase::getFB() 3974 0.0005954 0.0005954 0.0005954 0.06% Gravity::get_new_grav_vector() 11 0.0005422 0.0005422 0.0005422 0.06% Amr::InitAmr() 1 0.0004795 0.0004795 0.0004795 0.05% Gravity::get_old_grav_vector() 10 0.000476 0.000476 0.000476 0.05% MLCellLinOp::apply() 1128 0.0004743 0.0004743 0.0004743 0.05% MLLinOp::defineGrids() 11 0.0004051 0.0004051 0.0004051 0.04% Amr::coarseTimeStep() 10 0.0003578 0.0003578 0.0003578 0.04% MLMG::mgVcycle() 81 0.0003535 0.0003535 0.0003535 0.04% AmrLevel::FillPatch() 41 0.0003222 0.0003222 0.0003222 0.03% MLCGSolver::ParallelAllReduce 1495 0.0003081 0.0003081 0.0003081 0.03% main() 1 0.0002807 0.0002807 0.0002807 0.03% MultiFab::max() 11 0.0002577 0.0002577 0.0002577 0.03% FabArray::ParallelCopy() 851 0.0002338 0.0002338 0.0002338 0.02% MLCellLinOp::defineBC() 11 0.0002114 0.0002114 0.0002114 0.02% MLCellLinOp::correctionResidual() 486 0.0002075 0.0002075 0.0002075 0.02% FillPatchIterator::Initialize 41 0.0001996 0.0001996 0.0001996 0.02% Castro::subcycle_advance_ctu() 10 0.0001821 0.0001821 0.0001821 0.02% Castro::create_source_corrector() 10 0.0001537 0.0001537 0.0001537 0.02% Amr::timeStep() 10 0.0001495 0.0001495 0.0001495 0.02% StateData::checkPoint() 12 0.0001495 0.0001495 0.0001495 0.02% Castro::construct_new_source() 50 0.0001359 0.0001359 0.0001359 0.01% Gravity::update_max_rhs() 11 0.0001309 0.0001309 0.0001309 0.01% Castro::advance() 10 0.000126 0.000126 0.000126 0.01% MLMG:computeResOfCorrection() 405 0.0001188 0.0001188 0.0001188 0.01% Gravity::solve_for_phi() 10 0.0001054 0.0001054 0.0001054 0.01% MLMG::actualBottomSolve() 81 9.441e-05 9.441e-05 9.441e-05 0.01% FabArrayBase::FB::FB() 56 9.31e-05 9.31e-05 9.31e-05 0.01% MLMG::mgVcycle_down::0 81 8.859e-05 8.859e-05 8.859e-05 0.01% Castro::Castro() 1 8.542e-05 8.542e-05 8.542e-05 0.01% MLMG::mgVcycle_down::1 81 8.478e-05 8.478e-05 8.478e-05 0.01% MLMG::mgVcycle_down::2 81 8.233e-05 8.233e-05 8.233e-05 0.01% MLMG::mgVcycle_down::4 81 8.118e-05 8.118e-05 8.118e-05 0.01% MLMG::mgVcycle_down::3 81 7.893e-05 7.893e-05 7.893e-05 0.01% AmrLevel::checkPoint() 3 7.514e-05 7.514e-05 7.514e-05 0.01% MLMG::solve() 11 7.469e-05 7.469e-05 7.469e-05 0.01% Castro::initialize_advance() 10 7.295e-05 7.295e-05 7.295e-05 0.01% MLMG::mgVcycle_up::4 81 6.406e-05 6.406e-05 6.406e-05 0.01% Castro::clean_state() 62 6.359e-05 6.359e-05 6.359e-05 0.01% Castro::finalize_advance() 10 6.047e-05 6.047e-05 6.047e-05 0.01% MLMG::mgVcycle_up::0 81 5.716e-05 5.716e-05 5.716e-05 0.01% Castro::initialize_do_advance() 10 5.703e-05 5.703e-05 5.703e-05 0.01% MLMG::mgVcycle_up::3 81 5.635e-05 5.635e-05 5.635e-05 0.01% MLMG::oneIter() 81 5.601e-05 5.601e-05 5.601e-05 0.01% MLMG::mgVcycle_up::1 81 5.546e-05 5.546e-05 5.546e-05 0.01% MLMG::mgVcycle_up::2 81 5.447e-05 5.447e-05 5.447e-05 0.01% Castro::do_new_sources() 10 5.38e-05 5.38e-05 5.38e-05 0.01% MLCellLinOp::solutionResidual() 92 4.654e-05 4.654e-05 4.654e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.519e-05 4.519e-05 4.519e-05 0.00% Castro::do_advance_ctu() 10 4.493e-05 4.493e-05 4.493e-05 0.00% Castro::finalize_do_advance() 10 3.929e-05 3.929e-05 3.929e-05 0.00% Castro::swap_state_time_levels() 10 3.73e-05 3.73e-05 3.73e-05 0.00% Castro::enforce_consistent_e() 1 3.493e-05 3.493e-05 3.493e-05 0.00% StateData::define() 4 3.338e-05 3.338e-05 3.338e-05 0.00% MLMG::computeResidual() 81 3.297e-05 3.297e-05 3.297e-05 0.00% MLMG::ResNormInf() 92 3.219e-05 3.219e-05 3.219e-05 0.00% FillPatchSingleLevel 41 3.196e-05 3.196e-05 3.196e-05 0.00% MLMG::mgVcycle_bottom 81 3.173e-05 3.173e-05 3.173e-05 0.00% Amr::writeSmallPlotFile() 1 2.55e-05 2.55e-05 2.55e-05 0.00% MLPoisson::define() 11 2.524e-05 2.524e-05 2.524e-05 0.00% Castro::initMFs() 1 2.497e-05 2.497e-05 2.497e-05 0.00% Castro::construct_new_gravity() 10 2.418e-05 2.418e-05 2.418e-05 0.00% makeSFC 55 2.348e-05 2.348e-05 2.348e-05 0.00% Castro::do_old_sources() 10 2.054e-05 2.054e-05 2.054e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.003e-05 2.003e-05 2.003e-05 0.00% Amr::FinalizeInit() 1 1.906e-05 1.906e-05 1.906e-05 0.00% Castro::construct_old_source() 50 1.869e-05 1.869e-05 1.869e-05 0.00% Castro::buildMetrics() 1 1.752e-05 1.752e-05 1.752e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.647e-05 1.647e-05 1.647e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.571e-05 1.571e-05 1.571e-05 0.00% MLLinOp::define() 11 1.491e-05 1.491e-05 1.491e-05 0.00% DistributionMapping::Distribute() 56 1.404e-05 1.404e-05 1.404e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.34e-05 1.34e-05 1.34e-05 0.00% Amr::defBaseLevel() 1 1.293e-05 1.293e-05 1.293e-05 0.00% Castro::apply_source_to_state() 20 1.116e-05 1.116e-05 1.116e-05 0.00% Castro::construct_old_gravity() 10 1.076e-05 1.076e-05 1.076e-05 0.00% Castro::check_for_nan() 20 1.042e-05 1.042e-05 1.042e-05 0.00% Amr::initSubcycle() 1 8.626e-06 8.626e-06 8.626e-06 0.00% Gravity::swapTimeLevels() 10 8.379e-06 8.379e-06 8.379e-06 0.00% Castro::post_timestep() 10 8.377e-06 8.377e-06 8.377e-06 0.00% MLPoisson::prepareForSolve() 11 8.27e-06 8.27e-06 8.27e-06 0.00% Gravity::actual_multilevel_solve() 1 7.978e-06 7.978e-06 7.978e-06 0.00% MLMG::computeMLResidual() 11 7.662e-06 7.662e-06 7.662e-06 0.00% Castro::computeNewDt() 9 5.838e-06 5.838e-06 5.838e-06 0.00% Castro::expand_state() 10 5.726e-06 5.726e-06 5.726e-06 0.00% MLMG::getGradSolution() 11 5.717e-06 5.717e-06 5.717e-06 0.00% Amr::InitializeInit() 1 4.77e-06 4.77e-06 4.77e-06 0.00% Castro::retry_advance_ctu() 10 4.433e-06 4.433e-06 4.433e-06 0.00% AmrLevel::checkPointPost() 3 4.423e-06 4.423e-06 4.423e-06 0.00% MLMG::MLRhsNormInf() 11 3.863e-06 3.863e-06 3.863e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.599e-06 3.599e-06 3.599e-06 0.00% Castro::FluxRegCrseInit 10 3.475e-06 3.475e-06 3.475e-06 0.00% Castro::post_init() 1 3.456e-06 3.456e-06 3.456e-06 0.00% MLMG::MLResNormInf() 11 3.454e-06 3.454e-06 3.454e-06 0.00% Gravity::set_mass_offset() 11 3.384e-06 3.384e-06 3.384e-06 0.00% Castro::computeInitialDt() 2 2.772e-06 2.772e-06 2.772e-06 0.00% Amr::init() 1 2.564e-06 2.564e-06 2.564e-06 0.00% Castro::FluxRegFineAdd() 10 2.086e-06 2.086e-06 2.086e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.892e-06 1.892e-06 1.892e-06 0.00% AmrLevel::checkPointPre() 3 1.733e-06 1.733e-06 1.733e-06 0.00% Amr::initialInit() 1 1.263e-06 1.263e-06 1.263e-06 0.00% Castro::post_regrid() 1 1.173e-06 1.173e-06 1.173e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9606 0.9606 0.9606 100.00% Amr::coarseTimeStep() 10 0.7852 0.7852 0.7852 81.74% Amr::timeStep() 10 0.6627 0.6627 0.6627 68.99% Castro::advance() 10 0.6511 0.6511 0.6511 67.77% Castro::subcycle_advance_ctu() 10 0.6362 0.6362 0.6362 66.23% Castro::do_advance_ctu() 10 0.636 0.636 0.636 66.21% Castro::construct_ctu_hydro_source() 10 0.3024 0.3024 0.3024 31.48% Gravity::solve_phi_with_mlmg() 11 0.282 0.282 0.282 29.35% Gravity::actual_solve_with_mlmg() 11 0.2749 0.2749 0.2749 28.62% Castro::construct_new_gravity() 10 0.2604 0.2604 0.2604 27.10% MLMG::solve() 11 0.2539 0.2539 0.2539 26.43% Gravity::solve_for_phi() 10 0.2446 0.2446 0.2446 25.46% VisMF::Write(FabArray) 11 0.2413 0.2413 0.2413 25.12% MLMG::oneIter() 81 0.2397 0.2397 0.2397 24.95% MLMG::mgVcycle() 81 0.2361 0.2361 0.2361 24.57% Amr::checkPoint() 3 0.1795 0.1795 0.1795 18.68% AmrLevel::checkPoint() 3 0.1755 0.1755 0.1755 18.27% StateData::checkPoint() 12 0.1754 0.1754 0.1754 18.26% Amr::init() 1 0.1404 0.1404 0.1404 14.61% MLCellLinOp::smooth() 1620 0.1157 0.1157 0.1157 12.05% MLCellLinOp::applyBC() 4379 0.1083 0.1083 0.1083 11.28% MLMG::mgVcycle_bottom 81 0.07334 0.07334 0.07334 7.63% MLMG::actualBottomSolve() 81 0.07331 0.07331 0.07331 7.63% MLCGSolver::bicgstab 81 0.07261 0.07261 0.07261 7.56% Amr::writePlotFile() 2 0.0689 0.0689 0.0689 7.17% Castro::clean_state() 62 0.05918 0.05918 0.05918 6.16% AmrLevel::FillPatch() 41 0.04726 0.04726 0.04726 4.92% Amr::initialInit() 1 0.04505 0.04505 0.04505 4.69% FillPatchIterator::Initialize 41 0.04309 0.04309 0.04309 4.49% FillPatchIterator::FillFromLevel0() 41 0.04157 0.04157 0.04157 4.33% FillPatchSingleLevel 41 0.04153 0.04153 0.04153 4.32% Amr::FinalizeInit() 1 0.04102 0.04102 0.04102 4.27% Castro::post_init() 1 0.03973 0.03973 0.03973 4.14% Gravity::multilevel_solve_for_new_phi() 1 0.03775 0.03775 0.03775 3.93% Gravity::actual_multilevel_solve() 1 0.03774 0.03774 0.03774 3.93% StateDataPhysBCFunct::() 41 0.03746 0.03746 0.03746 3.90% MLCellLinOp::apply() 1128 0.03596 0.03596 0.03596 3.74% MLMG::mgVcycle_down::0 81 0.0335 0.0335 0.0335 3.49% FabArray::FillBoundary() 3974 0.03232 0.03232 0.03232 3.36% MLPoisson::Fsmooth() 3240 0.03203 0.03203 0.03203 3.33% FillBoundary_nowait() 3974 0.03148 0.03148 0.03148 3.28% MLMG::mgVcycle_up::0 81 0.02541 0.02541 0.02541 2.65% StateData::FillBoundary(geom) 328 0.02519 0.02519 0.02519 2.62% Castro::computeTemp() 63 0.0231 0.0231 0.0231 2.40% Castro::initialize_do_advance() 10 0.0221 0.0221 0.0221 2.30% MLCellLinOp::correctionResidual() 486 0.022 0.022 0.022 2.29% Castro::normalize_species() 62 0.02089 0.02089 0.02089 2.17% amrex::Dot() 1100 0.02054 0.02054 0.02054 2.14% MLMG:computeResOfCorrection() 405 0.01938 0.01938 0.01938 2.02% Castro::do_old_sources() 10 0.01912 0.01912 0.01912 1.99% Gravity::get_new_grav_vector() 11 0.0174 0.0174 0.0174 1.81% MLPoisson::define() 11 0.0167 0.0167 0.0167 1.74% MLMG::mgVcycle_down::1 81 0.01565 0.01565 0.01565 1.63% Castro::construct_old_gravity() 10 0.01516 0.01516 0.01516 1.58% Gravity::get_old_grav_vector() 10 0.01515 0.01515 0.01515 1.58% amrex::Copy() 1019 0.01489 0.01489 0.01489 1.55% MLMG::mgVcycle_down::2 81 0.01464 0.01464 0.01464 1.52% FabArray::ParallelCopy() 851 0.01439 0.01439 0.01439 1.50% FabArray::norminf() 734 0.01431 0.01431 0.01431 1.49% MLMG::mgVcycle_down::3 81 0.01427 0.01427 0.01427 1.49% FabArray::ParallelCopy_nowait() 851 0.01416 0.01416 0.01416 1.47% Castro::initialize_advance() 10 0.01413 0.01413 0.01413 1.47% MLMG::mgVcycle_down::4 81 0.0141 0.0141 0.0141 1.47% Castro::do_new_sources() 10 0.01327 0.01327 0.01327 1.38% FabArray::setVal() 1135 0.01312 0.01312 0.01312 1.37% Castro::enforce_min_density() 62 0.01279 0.01279 0.01279 1.33% MLCGSolver::ParallelAllReduce 1495 0.01232 0.01232 0.01232 1.28% MLMG::addInterpCorrection() 405 0.01187 0.01187 0.01187 1.24% Castro::expand_state() 10 0.01157 0.01157 0.01157 1.20% Castro::post_timestep() 10 0.01151 0.01151 0.01151 1.20% MLMG::mgVcycle_up::1 81 0.01137 0.01137 0.01137 1.18% MLMG::mgVcycle_up::4 81 0.01134 0.01134 0.01134 1.18% MLCellLinOp::defineAuxData() 11 0.01119 0.01119 0.01119 1.16% amrex::average_down 405 0.01113 0.01113 0.01113 1.16% MLMG::mgVcycle_up::2 81 0.01113 0.01113 0.01113 1.16% MLMG::mgVcycle_up::3 81 0.01097 0.01097 0.01097 1.14% MLPoisson::Fapply() 1128 0.01027 0.01027 0.01027 1.07% FabArray::Saxpy() 803 0.008119 0.008119 0.008119 0.85% FabArray::Xpay() 811 0.008029 0.008029 0.008029 0.84% MLCellLinOp::solutionResidual() 92 0.00706 0.00706 0.00706 0.73% Gravity::fill_multipole_BCs() 11 0.006861 0.006861 0.006861 0.71% Castro::reset_internal_energy(MultiFab) 63 0.006608 0.006608 0.006608 0.69% Castro::estTimeStep() 21 0.006086 0.006086 0.006086 0.63% MLMG::computeResidual() 81 0.006076 0.006076 0.006076 0.63% MLCellLinOp::defineBC() 11 0.005013 0.005013 0.005013 0.52% BndryData::define() 11 0.004802 0.004802 0.004802 0.50% MLMG::prepareForSolve() 11 0.004748 0.004748 0.004748 0.49% FabArray::LinComb() 550 0.004453 0.004453 0.004453 0.46% amrex::Add() 162 0.004301 0.004301 0.004301 0.45% Amr::InitializeInit() 1 0.004028 0.004028 0.004028 0.42% Amr::defBaseLevel() 1 0.004023 0.004023 0.004023 0.42% Castro::initData() 1 0.003521 0.003521 0.003521 0.37% Castro::construct_new_source() 50 0.003276 0.003276 0.003276 0.34% Castro::construct_new_gravity_source() 10 0.00314 0.00314 0.00314 0.33% Castro::enforce_speed_limit() 62 0.00305 0.00305 0.00305 0.32% Castro::construct_old_source() 50 0.002778 0.002778 0.002778 0.29% Castro::construct_old_gravity_source() 10 0.002759 0.002759 0.002759 0.29% Castro::computeNewDt() 9 0.002704 0.002704 0.002704 0.28% Castro::finalize_do_advance() 10 0.002615 0.002615 0.002615 0.27% MLMG::ResNormInf() 92 0.002106 0.002106 0.002106 0.22% Castro::apply_source_to_state() 20 0.001837 0.001837 0.001837 0.19% check_for_negative_density() 10 0.001743 0.001743 0.001743 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001698 0.001698 0.001698 0.18% Castro::reset_internal_energy(Fab) 504 0.001608 0.001608 0.001608 0.17% MLCellLinOp::setLevelBC() 11 0.001414 0.001414 0.001414 0.15% FabArrayBase::getCPC() 1313 0.001399 0.001399 0.001399 0.15% MLMG::getGradSolution() 11 0.001393 0.001393 0.001393 0.14% MLCellLinOp::compGrad() 11 0.001387 0.001387 0.001387 0.14% FabArray::setDomainBndry() 41 0.001318 0.001318 0.001318 0.14% FabArray::mult() 43 0.001307 0.001307 0.001307 0.14% Castro::check_for_nan() 20 0.001205 0.001205 0.001205 0.13% MultiFab::contains_nan() 20 0.001195 0.001195 0.001195 0.12% MLPoisson::prepareForSolve() 11 0.001149 0.001149 0.001149 0.12% MLCellLinOp::prepareForSolve() 11 0.001141 0.001141 0.001141 0.12% Castro::post_regrid() 1 0.001097 0.001097 0.001097 0.11% MLMG::computeMLResidual() 11 0.001025 0.001025 0.001025 0.11% Gravity::update_max_rhs() 11 0.0008402 0.0008402 0.0008402 0.09% Castro::computeInitialDt() 2 0.0008149 0.0008149 0.0008149 0.08% FabArrayBase::getFB() 3974 0.0006885 0.0006885 0.0006885 0.07% FabArrayBase::CPC::define() 454 0.0006828 0.0006828 0.0006828 0.07% Castro::finalize_advance() 10 0.0005906 0.0005906 0.0005906 0.06% Amr::InitAmr() 1 0.0004882 0.0004882 0.0004882 0.05% MLLinOp::define() 11 0.0004717 0.0004717 0.0004717 0.05% MLLinOp::defineGrids() 11 0.0004568 0.0004568 0.0004568 0.05% Gravity::swapTimeLevels() 10 0.000436 0.000436 0.000436 0.05% Castro::Castro() 1 0.000436 0.000436 0.000436 0.05% MLMG::MLResNormInf() 11 0.000284 0.000284 0.000284 0.03% MultiFab::max() 11 0.0002577 0.0002577 0.0002577 0.03% MLMG::MLRhsNormInf() 11 0.0002216 0.0002216 0.0002216 0.02% Castro::buildMetrics() 1 0.0001636 0.0001636 0.0001636 0.02% Castro::create_source_corrector() 10 0.0001537 0.0001537 0.0001537 0.02% FabArrayBase::FB::FB() 56 9.31e-05 9.31e-05 9.31e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 4.984e-05 4.984e-05 4.984e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.909e-05 4.909e-05 4.909e-05 0.01% Castro::swap_state_time_levels() 10 3.73e-05 3.73e-05 3.73e-05 0.00% makeSFC 55 3.644e-05 3.644e-05 3.644e-05 0.00% Castro::enforce_consistent_e() 1 3.493e-05 3.493e-05 3.493e-05 0.00% StateData::define() 4 3.338e-05 3.338e-05 3.338e-05 0.00% Amr::writeSmallPlotFile() 1 2.55e-05 2.55e-05 2.55e-05 0.00% Castro::initMFs() 1 2.497e-05 2.497e-05 2.497e-05 0.00% DistributionMapping::Distribute() 56 1.404e-05 1.404e-05 1.404e-05 0.00% Amr::initSubcycle() 1 8.626e-06 8.626e-06 8.626e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.687e-06 4.687e-06 4.687e-06 0.00% Castro::retry_advance_ctu() 10 4.433e-06 4.433e-06 4.433e-06 0.00% AmrLevel::checkPointPost() 3 4.423e-06 4.423e-06 4.423e-06 0.00% Castro::FluxRegCrseInit 10 3.475e-06 3.475e-06 3.475e-06 0.00% Gravity::set_mass_offset() 11 3.384e-06 3.384e-06 3.384e-06 0.00% Castro::FluxRegFineAdd() 10 2.086e-06 2.086e-06 2.086e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.892e-06 1.892e-06 1.892e-06 0.00% AmrLevel::checkPointPre() 3 1.733e-06 1.733e-06 1.733e-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 85 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 143 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 959 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2016 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7608 KiB 14 MiB MLMG::prepareForSolve() 660 660 3251 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 188 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 161 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7531 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1676 B 2048 KiB Gravity::solve_for_phi() 80 80 520 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 80 KiB 2048 KiB BndryData::define() 1056 1056 297 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 189 KiB 671 KiB Castro::estTimeStep() 21 21 3093 B 480 KiB VisMF::Write(FabArray) 656 656 3131 B 320 KiB Castro::normalize_species() 62 62 7089 B 320 KiB amrex::average_down 1054 1054 1186 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1065 B 257 KiB amrex::Dot() 1343 1343 3154 B 160 KiB FabArray::norminf() 896 896 2204 B 160 KiB check_for_negative_density() 10 10 289 B 160 KiB Castro::initData() 1 1 26 B 160 KiB MultiFab::max() 11 11 41 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 24 B 20 KiB MLPoisson::Fsmooth() 132 132 3178 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 41 B 10 KiB FillBoundary_nowait() 751 751 280 B 9648 B MLCellLinOp::applyBC() 8758 8758 204 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3860 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 110 B 1472 B MLCellLinOp::defineBC() 66 66 386 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 528 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 45 KiB 8192 KiB VisMF::Write(FabArray) 744 744 585 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3178 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 41 B 10 KiB FillBoundary_nowait() 751 751 280 B 9648 B MLCellLinOp::applyBC() 4379 4379 203 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3860 B 6144 B Gravity::get_new_grav_vector() 3 3 2929 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 43 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 272 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 270 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): 2422 [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.07-24-g01b750d909b0) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-24-g01b750d909b0) initialized Starting run at 08:33:48 UTC on 2023-07-17. Successfully read inputs file ... Castro git describe: 23.07-14-g10cafd240 AMReX git describe: 23.07-24-g01b750d90 Microphysics git describe: 23.07-28-g5fc83334 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.533565712 Restart time = 0.045217458 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.049284083 [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.055947048 [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.081592353 [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.080122636 [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.052597753 [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.033958261 seconds Ending run at 08:33:49 UTC on 2023-07-17. Run time = 0.399678985 Run time without initialization = 0.353889767 Average number of zones advanced per microsecond: 3.704 Average number of zones advanced per microsecond per rank: 3.704 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3997 ... 0.3997 ... 0.3997 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1339 0.1339 0.1339 33.49% VisMF::Read() 3 0.03903 0.03903 0.03903 9.76% MLCellLinOp::applyBC() 1946 0.0332 0.0332 0.0332 8.31% VisMF::Write(FabArray) 1 0.03235 0.03235 0.03235 8.09% MLPoisson::Fsmooth() 1440 0.01391 0.01391 0.01391 3.48% FillBoundary_nowait() 1766 0.01268 0.01268 0.01268 3.17% StateData::FillBoundary(geom) 160 0.01213 0.01213 0.01213 3.04% amrex::Dot() 484 0.008859 0.008859 0.008859 2.22% Castro::normalize_species() 30 0.008369 0.008369 0.008369 2.09% amrex::Copy() 463 0.006925 0.006925 0.006925 1.73% Castro::computeTemp() 30 0.00685 0.00685 0.00685 1.71% FabArray::setVal() 537 0.006255 0.006255 0.006255 1.56% FabArray::norminf() 326 0.006228 0.006228 0.006228 1.56% FabArray::ParallelCopy_nowait() 380 0.006004 0.006004 0.006004 1.50% MLCellLinOp::defineAuxData() 6 0.0052 0.0052 0.0052 1.30% StateDataPhysBCFunct::() 20 0.00488 0.00488 0.00488 1.22% MLPoisson::Fapply() 500 0.004442 0.004442 0.004442 1.11% Castro::estTimeStep() 10 0.004427 0.004427 0.004427 1.11% Castro::enforce_min_density() 30 0.004258 0.004258 0.004258 1.07% Gravity::fill_multipole_BCs() 6 0.003677 0.003677 0.003677 0.92% FabArray::Saxpy() 355 0.003628 0.003628 0.003628 0.91% FabArray::Xpay() 361 0.003513 0.003513 0.003513 0.88% MLMG::addInterpCorrection() 180 0.002934 0.002934 0.002934 0.73% amrex::average_down 180 0.00259 0.00259 0.00259 0.65% Amr::restart() 1 0.002484 0.002484 0.002484 0.62% Castro::reset_internal_energy(Fab) 240 0.002174 0.002174 0.002174 0.54% Castro::reset_internal_energy(MultiFab) 30 0.00214 0.00214 0.00214 0.54% BndryData::define() 6 0.002042 0.002042 0.002042 0.51% FabArray::LinComb() 242 0.001923 0.001923 0.001923 0.48% amrex::Add() 72 0.001839 0.001839 0.001839 0.46% Castro::construct_new_gravity_source() 5 0.001554 0.001554 0.001554 0.39% Amr::writePlotFile() 1 0.001452 0.001452 0.001452 0.36% Castro::construct_old_gravity_source() 5 0.001411 0.001411 0.001411 0.35% Castro::enforce_speed_limit() 30 0.001198 0.001198 0.001198 0.30% MLCGSolver::bicgstab 36 0.0009492 0.0009492 0.0009492 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008946 0.0008946 0.0008946 0.22% check_for_negative_density() 5 0.0008117 0.0008117 0.0008117 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007701 0.0007701 0.0007701 0.19% MLCellLinOp::setLevelBC() 6 0.0007479 0.0007479 0.0007479 0.19% Castro::subcycle_advance_ctu() 5 0.0006901 0.0006901 0.0006901 0.17% FabArray::mult() 22 0.0006458 0.0006458 0.0006458 0.16% Castro::initialize_do_advance() 5 0.000637 0.000637 0.000637 0.16% FabArray::setDomainBndry() 20 0.0006366 0.0006366 0.0006366 0.16% MLCellLinOp::prepareForSolve() 6 0.0006219 0.0006219 0.0006219 0.16% MultiFab::contains_nan() 10 0.0005962 0.0005962 0.0005962 0.15% MLCellLinOp::compGrad() 6 0.0004887 0.0004887 0.0004887 0.12% MLMG::prepareForSolve() 6 0.0004652 0.0004652 0.0004652 0.12% MLCellLinOp::smooth() 720 0.0004595 0.0004595 0.0004595 0.11% FabArrayBase::CPC::define() 244 0.000412 0.000412 0.000412 0.10% Amr::InitAmr() 1 0.0003963 0.0003963 0.0003963 0.10% FabArray::FillBoundary() 1766 0.0003694 0.0003694 0.0003694 0.09% FabArrayBase::getCPC() 632 0.000345 0.000345 0.000345 0.09% main() 1 0.0002682 0.0002682 0.0002682 0.07% Gravity::get_old_grav_vector() 5 0.0002678 0.0002678 0.0002678 0.07% FabArrayBase::getFB() 1766 0.0002496 0.0002496 0.0002496 0.06% Gravity::get_new_grav_vector() 5 0.0002302 0.0002302 0.0002302 0.06% MLCellLinOp::apply() 500 0.0001996 0.0001996 0.0001996 0.05% MLLinOp::defineGrids() 6 0.0001668 0.0001668 0.0001668 0.04% AmrLevel::FillPatch() 20 0.0001606 0.0001606 0.0001606 0.04% MLMG::mgVcycle() 36 0.0001553 0.0001553 0.0001553 0.04% Amr::coarseTimeStep() 5 0.000153 0.000153 0.000153 0.04% MultiFab::max() 6 0.0001354 0.0001354 0.0001354 0.03% MLCGSolver::ParallelAllReduce 659 0.0001319 0.0001319 0.0001319 0.03% Castro::construct_new_source() 25 0.0001191 0.0001191 0.0001191 0.03% MLCellLinOp::defineBC() 6 0.0001106 0.0001106 0.0001106 0.03% Castro::create_source_corrector() 5 0.0001068 0.0001068 0.0001068 0.03% FabArray::ParallelCopy() 380 0.0001036 0.0001036 0.0001036 0.03% FillPatchIterator::Initialize 20 9.886e-05 9.886e-05 9.886e-05 0.02% MLCellLinOp::correctionResidual() 216 9.692e-05 9.692e-05 9.692e-05 0.02% Amr::timeStep() 5 7.737e-05 7.737e-05 7.737e-05 0.02% AmrLevel::restart() 1 7.201e-05 7.201e-05 7.201e-05 0.02% Castro::do_new_sources() 5 6.42e-05 6.42e-05 6.42e-05 0.02% StateData::restartDoit() 4 6.365e-05 6.365e-05 6.365e-05 0.02% Gravity::update_max_rhs() 6 6.326e-05 6.326e-05 6.326e-05 0.02% Castro::construct_old_source() 25 6.051e-05 6.051e-05 6.051e-05 0.02% FabArrayBase::FB::FB() 26 5.981e-05 5.981e-05 5.981e-05 0.01% Castro::advance() 5 5.861e-05 5.861e-05 5.861e-05 0.01% MLMG:computeResOfCorrection() 180 5.169e-05 5.169e-05 5.169e-05 0.01% Gravity::solve_for_phi() 5 4.841e-05 4.841e-05 4.841e-05 0.01% Castro::finalize_do_advance() 5 4.278e-05 4.278e-05 4.278e-05 0.01% MLMG::actualBottomSolve() 36 4.16e-05 4.16e-05 4.16e-05 0.01% MLMG::mgVcycle_down::0 36 3.84e-05 3.84e-05 3.84e-05 0.01% Castro::do_old_sources() 5 3.528e-05 3.528e-05 3.528e-05 0.01% MLMG::mgVcycle_down::1 36 3.494e-05 3.494e-05 3.494e-05 0.01% MLMG::mgVcycle_down::2 36 3.337e-05 3.337e-05 3.337e-05 0.01% MLMG::mgVcycle_down::4 36 3.319e-05 3.319e-05 3.319e-05 0.01% Castro::initialize_advance() 5 3.308e-05 3.308e-05 3.308e-05 0.01% MLMG::solve() 6 3.301e-05 3.301e-05 3.301e-05 0.01% MLMG::mgVcycle_down::3 36 3.224e-05 3.224e-05 3.224e-05 0.01% Castro::clean_state() 30 3.132e-05 3.132e-05 3.132e-05 0.01% Castro::finalize_advance() 5 2.788e-05 2.788e-05 2.788e-05 0.01% MLMG::mgVcycle_up::4 36 2.658e-05 2.658e-05 2.658e-05 0.01% Castro::buildMetrics() 1 2.599e-05 2.599e-05 2.599e-05 0.01% Amr::writeSmallPlotFile() 1 2.556e-05 2.556e-05 2.556e-05 0.01% Castro::initMFs() 1 2.53e-05 2.53e-05 2.53e-05 0.01% MLMG::mgVcycle_up::0 36 2.295e-05 2.295e-05 2.295e-05 0.01% Castro::construct_new_gravity() 5 2.262e-05 2.262e-05 2.262e-05 0.01% Castro::do_advance_ctu() 5 2.262e-05 2.262e-05 2.262e-05 0.01% Castro::swap_state_time_levels() 5 2.23e-05 2.23e-05 2.23e-05 0.01% MLMG::oneIter() 36 2.217e-05 2.217e-05 2.217e-05 0.01% MLCellLinOp::solutionResidual() 42 2.068e-05 2.068e-05 2.068e-05 0.01% MLMG::mgVcycle_up::3 36 2.041e-05 2.041e-05 2.041e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.037e-05 2.037e-05 2.037e-05 0.01% MLMG::mgVcycle_up::2 36 2.014e-05 2.014e-05 2.014e-05 0.01% Castro::post_restart() 1 1.998e-05 1.998e-05 1.998e-05 0.00% MLMG::mgVcycle_up::1 36 1.918e-05 1.918e-05 1.918e-05 0.00% MLPoisson::define() 6 1.783e-05 1.783e-05 1.783e-05 0.00% MLMG::ResNormInf() 42 1.628e-05 1.628e-05 1.628e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.62e-05 1.62e-05 1.62e-05 0.00% FillPatchSingleLevel 20 1.471e-05 1.471e-05 1.471e-05 0.00% MLMG::mgVcycle_bottom 36 1.463e-05 1.463e-05 1.463e-05 0.00% MLMG::computeResidual() 36 1.356e-05 1.356e-05 1.356e-05 0.00% makeSFC 30 1.225e-05 1.225e-05 1.225e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.076e-05 1.076e-05 1.076e-05 0.00% MLLinOp::define() 6 1.032e-05 1.032e-05 1.032e-05 0.00% Amr::initSubcycle() 1 8.551e-06 8.551e-06 8.551e-06 0.00% DistributionMapping::Distribute() 31 7.834e-06 7.834e-06 7.834e-06 0.00% Gravity::actual_multilevel_solve() 1 7.621e-06 7.621e-06 7.621e-06 0.00% Castro::construct_old_gravity() 5 7.081e-06 7.081e-06 7.081e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.677e-06 6.677e-06 6.677e-06 0.00% Castro::check_for_nan() 10 5.928e-06 5.928e-06 5.928e-06 0.00% Castro::apply_source_to_state() 10 5.217e-06 5.217e-06 5.217e-06 0.00% MLPoisson::prepareForSolve() 6 4.448e-06 4.448e-06 4.448e-06 0.00% Castro::post_timestep() 5 4.417e-06 4.417e-06 4.417e-06 0.00% Gravity::swapTimeLevels() 5 3.979e-06 3.979e-06 3.979e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.76e-06 3.76e-06 3.76e-06 0.00% MLMG::computeMLResidual() 6 3.364e-06 3.364e-06 3.364e-06 0.00% Castro::computeNewDt() 5 3.194e-06 3.194e-06 3.194e-06 0.00% MLMG::getGradSolution() 6 3.033e-06 3.033e-06 3.033e-06 0.00% Castro::FluxRegCrseInit 5 2.625e-06 2.625e-06 2.625e-06 0.00% Castro::expand_state() 5 2.481e-06 2.481e-06 2.481e-06 0.00% MLMG::MLResNormInf() 6 2.244e-06 2.244e-06 2.244e-06 0.00% MLMG::MLRhsNormInf() 6 2.039e-06 2.039e-06 2.039e-06 0.00% Castro::retry_advance_ctu() 5 1.795e-06 1.795e-06 1.795e-06 0.00% Gravity::set_mass_offset() 6 1.764e-06 1.764e-06 1.764e-06 0.00% Castro::FluxRegFineAdd() 5 1.246e-06 1.246e-06 1.246e-06 0.00% Amr::init() 1 9.62e-07 9.62e-07 9.62e-07 0.00% MLLinOp::makeSubCommunicator() 6 9.49e-07 9.49e-07 9.49e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3997 0.3997 0.3997 100.00% Amr::coarseTimeStep() 5 0.3197 0.3197 0.3197 79.98% Amr::timeStep() 5 0.3171 0.3171 0.3171 79.32% Castro::advance() 5 0.3137 0.3137 0.3137 78.49% Castro::subcycle_advance_ctu() 5 0.3065 0.3065 0.3065 76.69% Castro::do_advance_ctu() 5 0.3058 0.3058 0.3058 76.51% Castro::construct_ctu_hydro_source() 5 0.1401 0.1401 0.1401 35.05% Castro::construct_new_gravity() 5 0.1298 0.1298 0.1298 32.46% Gravity::solve_phi_with_mlmg() 6 0.1251 0.1251 0.1251 31.30% Gravity::solve_for_phi() 5 0.122 0.122 0.122 30.53% Gravity::actual_solve_with_mlmg() 6 0.1212 0.1212 0.1212 30.32% MLMG::solve() 6 0.1101 0.1101 0.1101 27.54% MLMG::oneIter() 36 0.1032 0.1032 0.1032 25.83% MLMG::mgVcycle() 36 0.1017 0.1017 0.1017 25.44% MLCellLinOp::smooth() 720 0.04966 0.04966 0.04966 12.42% MLCellLinOp::applyBC() 1946 0.04655 0.04655 0.04655 11.65% Amr::init() 1 0.04526 0.04526 0.04526 11.32% Amr::restart() 1 0.04526 0.04526 0.04526 11.32% AmrLevel::restart() 1 0.03922 0.03922 0.03922 9.81% StateData::restartDoit() 4 0.03915 0.03915 0.03915 9.79% VisMF::Read() 3 0.03903 0.03903 0.03903 9.76% Amr::writePlotFile() 1 0.03404 0.03404 0.03404 8.52% VisMF::Write(FabArray) 1 0.03235 0.03235 0.03235 8.09% MLMG::mgVcycle_bottom 36 0.03167 0.03167 0.03167 7.92% MLMG::actualBottomSolve() 36 0.03166 0.03166 0.03166 7.92% MLCGSolver::bicgstab 36 0.03135 0.03135 0.03135 7.84% Castro::clean_state() 30 0.02502 0.02502 0.02502 6.26% AmrLevel::FillPatch() 20 0.02185 0.02185 0.02185 5.47% FillPatchIterator::Initialize 20 0.0198 0.0198 0.0198 4.95% FillPatchIterator::FillFromLevel0() 20 0.01907 0.01907 0.01907 4.77% FillPatchSingleLevel 20 0.01905 0.01905 0.01905 4.77% StateDataPhysBCFunct::() 20 0.01701 0.01701 0.01701 4.26% MLCellLinOp::apply() 500 0.01564 0.01564 0.01564 3.91% MLMG::mgVcycle_down::0 36 0.01431 0.01431 0.01431 3.58% MLPoisson::Fsmooth() 1440 0.01391 0.01391 0.01391 3.48% FabArray::FillBoundary() 1766 0.01336 0.01336 0.01336 3.34% FillBoundary_nowait() 1766 0.01299 0.01299 0.01299 3.25% StateData::FillBoundary(geom) 160 0.01213 0.01213 0.01213 3.04% Castro::computeTemp() 30 0.01116 0.01116 0.01116 2.79% MLMG::mgVcycle_up::0 36 0.01075 0.01075 0.01075 2.69% Castro::initialize_do_advance() 5 0.01072 0.01072 0.01072 2.68% MLCellLinOp::correctionResidual() 216 0.009543 0.009543 0.009543 2.39% Castro::do_old_sources() 5 0.009118 0.009118 0.009118 2.28% amrex::Dot() 484 0.008859 0.008859 0.008859 2.22% MLPoisson::define() 6 0.008839 0.008839 0.008839 2.21% MLMG:computeResOfCorrection() 180 0.008374 0.008374 0.008374 2.10% Castro::normalize_species() 30 0.008369 0.008369 0.008369 2.09% Gravity::get_new_grav_vector() 5 0.007583 0.007583 0.007583 1.90% Castro::construct_old_gravity() 5 0.007337 0.007337 0.007337 1.84% Gravity::get_old_grav_vector() 5 0.00733 0.00733 0.00733 1.83% amrex::Copy() 463 0.006925 0.006925 0.006925 1.73% Castro::initialize_advance() 5 0.006852 0.006852 0.006852 1.71% MLMG::mgVcycle_down::1 36 0.006781 0.006781 0.006781 1.70% FabArray::ParallelCopy() 380 0.006494 0.006494 0.006494 1.62% FabArray::ParallelCopy_nowait() 380 0.00639 0.00639 0.00639 1.60% MLMG::mgVcycle_down::2 36 0.006335 0.006335 0.006335 1.58% Castro::do_new_sources() 5 0.006317 0.006317 0.006317 1.58% FabArray::setVal() 537 0.006255 0.006255 0.006255 1.56% FabArray::norminf() 326 0.006228 0.006228 0.006228 1.56% MLMG::mgVcycle_down::3 36 0.006192 0.006192 0.006192 1.55% MLMG::mgVcycle_down::4 36 0.006117 0.006117 0.006117 1.53% MLCellLinOp::defineAuxData() 6 0.005907 0.005907 0.005907 1.48% Castro::expand_state() 5 0.005627 0.005627 0.005627 1.41% MLCGSolver::ParallelAllReduce 659 0.005339 0.005339 0.005339 1.34% MLMG::addInterpCorrection() 180 0.00516 0.00516 0.00516 1.29% MLMG::mgVcycle_up::4 36 0.004939 0.004939 0.004939 1.24% MLMG::mgVcycle_up::1 36 0.004907 0.004907 0.004907 1.23% amrex::average_down 180 0.004839 0.004839 0.004839 1.21% MLMG::mgVcycle_up::2 36 0.004811 0.004811 0.004811 1.20% MLMG::mgVcycle_up::3 36 0.004735 0.004735 0.004735 1.18% MLPoisson::Fapply() 500 0.004442 0.004442 0.004442 1.11% Castro::estTimeStep() 10 0.004427 0.004427 0.004427 1.11% Castro::reset_internal_energy(MultiFab) 30 0.004314 0.004314 0.004314 1.08% Castro::enforce_min_density() 30 0.004258 0.004258 0.004258 1.07% Gravity::fill_multipole_BCs() 6 0.003799 0.003799 0.003799 0.95% FabArray::Saxpy() 355 0.003628 0.003628 0.003628 0.91% FabArray::Xpay() 361 0.003513 0.003513 0.003513 0.88% Castro::post_restart() 1 0.00338 0.00338 0.00338 0.85% Gravity::multilevel_solve_for_new_phi() 1 0.003265 0.003265 0.003265 0.82% Castro::post_timestep() 5 0.00325 0.00325 0.00325 0.81% Gravity::actual_multilevel_solve() 1 0.003249 0.003249 0.003249 0.81% MLCellLinOp::solutionResidual() 42 0.003199 0.003199 0.003199 0.80% MLCellLinOp::defineBC() 6 0.00271 0.00271 0.00271 0.68% MLMG::computeResidual() 36 0.002653 0.002653 0.002653 0.66% BndryData::define() 6 0.0026 0.0026 0.0026 0.65% MLMG::prepareForSolve() 6 0.00253 0.00253 0.00253 0.63% Castro::computeNewDt() 5 0.002484 0.002484 0.002484 0.62% Castro::reset_internal_energy(Fab) 240 0.002174 0.002174 0.002174 0.54% Castro::finalize_do_advance() 5 0.00199 0.00199 0.00199 0.50% FabArray::LinComb() 242 0.001923 0.001923 0.001923 0.48% amrex::Add() 72 0.001839 0.001839 0.001839 0.46% Castro::construct_new_source() 25 0.001673 0.001673 0.001673 0.42% Castro::construct_new_gravity_source() 5 0.001554 0.001554 0.001554 0.39% Castro::construct_old_source() 25 0.001472 0.001472 0.001472 0.37% Castro::construct_old_gravity_source() 5 0.001411 0.001411 0.001411 0.35% Castro::enforce_speed_limit() 30 0.001198 0.001198 0.001198 0.30% MLMG::ResNormInf() 42 0.0009404 0.0009404 0.0009404 0.24% Castro::apply_source_to_state() 10 0.0009203 0.0009203 0.0009203 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008946 0.0008946 0.0008946 0.22% check_for_negative_density() 5 0.0008117 0.0008117 0.0008117 0.20% FabArrayBase::getCPC() 632 0.0007569 0.0007569 0.0007569 0.19% MLMG::getGradSolution() 6 0.0007541 0.0007541 0.0007541 0.19% MLCellLinOp::compGrad() 6 0.0007511 0.0007511 0.0007511 0.19% MLCellLinOp::setLevelBC() 6 0.0007479 0.0007479 0.0007479 0.19% FabArray::mult() 22 0.0006458 0.0006458 0.0006458 0.16% FabArray::setDomainBndry() 20 0.0006366 0.0006366 0.0006366 0.16% MLPoisson::prepareForSolve() 6 0.0006263 0.0006263 0.0006263 0.16% MLCellLinOp::prepareForSolve() 6 0.0006219 0.0006219 0.0006219 0.16% Castro::check_for_nan() 10 0.0006021 0.0006021 0.0006021 0.15% MultiFab::contains_nan() 10 0.0005962 0.0005962 0.0005962 0.15% MLMG::computeMLResidual() 6 0.0005635 0.0005635 0.0005635 0.14% Gravity::update_max_rhs() 6 0.0004409 0.0004409 0.0004409 0.11% FabArrayBase::CPC::define() 244 0.000412 0.000412 0.000412 0.10% Amr::InitAmr() 1 0.0004048 0.0004048 0.0004048 0.10% FabArrayBase::getFB() 1766 0.0003094 0.0003094 0.0003094 0.08% Castro::finalize_advance() 5 0.0002961 0.0002961 0.0002961 0.07% Gravity::swapTimeLevels() 5 0.0002243 0.0002243 0.0002243 0.06% MLLinOp::define() 6 0.0002036 0.0002036 0.0002036 0.05% MLLinOp::defineGrids() 6 0.0001933 0.0001933 0.0001933 0.05% MLMG::MLResNormInf() 6 0.0001504 0.0001504 0.0001504 0.04% Castro::buildMetrics() 1 0.0001457 0.0001457 0.0001457 0.04% MultiFab::max() 6 0.0001354 0.0001354 0.0001354 0.03% MLMG::MLRhsNormInf() 6 0.0001169 0.0001169 0.0001169 0.03% Castro::create_source_corrector() 5 0.0001068 0.0001068 0.0001068 0.03% FabArrayBase::FB::FB() 26 5.981e-05 5.981e-05 5.981e-05 0.01% Amr::writeSmallPlotFile() 1 2.556e-05 2.556e-05 2.556e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.555e-05 2.555e-05 2.555e-05 0.01% Castro::initMFs() 1 2.53e-05 2.53e-05 2.53e-05 0.01% Castro::swap_state_time_levels() 5 2.23e-05 2.23e-05 2.23e-05 0.01% makeSFC 30 1.888e-05 1.888e-05 1.888e-05 0.00% Amr::initSubcycle() 1 8.551e-06 8.551e-06 8.551e-06 0.00% DistributionMapping::Distribute() 31 7.834e-06 7.834e-06 7.834e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.967e-06 4.967e-06 4.967e-06 0.00% Castro::FluxRegCrseInit 5 2.625e-06 2.625e-06 2.625e-06 0.00% Castro::retry_advance_ctu() 5 1.795e-06 1.795e-06 1.795e-06 0.00% Gravity::set_mass_offset() 6 1.764e-06 1.764e-06 1.764e-06 0.00% Castro::FluxRegFineAdd() 5 1.246e-06 1.246e-06 1.246e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.49e-07 9.49e-07 9.49e-07 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 149 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1082 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2384 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 6769 KiB 14 MiB MLMG::prepareForSolve() 361 361 3381 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 190 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6764 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2138 B 2048 KiB Gravity::solve_for_phi() 40 40 624 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 5296 B 480 KiB VisMF::Write(FabArray) 112 112 1237 B 320 KiB Castro::normalize_species() 30 30 6809 B 320 KiB amrex::average_down 469 469 1187 B 257 KiB MLMG::addInterpCorrection() 468 468 1115 B 257 KiB amrex::Dot() 592 592 3261 B 160 KiB FabArray::norminf() 398 398 2303 B 160 KiB check_for_negative_density() 5 5 322 B 160 KiB MultiFab::max() 6 6 52 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3288 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 3892 3892 216 B 9344 B amrex::Copy() 56 56 6000 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 46 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 114 B 1472 B MLCellLinOp::defineBC() 36 36 403 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1292 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 110 KiB 8192 KiB VisMF::Write(FabArray) 120 120 250 KiB 3584 KiB VisMF::Read() 24 24 189 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3288 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 1946 1946 215 B 9328 B amrex::Copy() 56 56 6000 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2675 B 3072 B StateData::FillBoundary(geom) 960 960 46 B 2976 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 522 B 1296 B amrex::average_down 37 37 226 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 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): 2422 [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.07-24-g01b750d909b0) finalized