Initializing AMReX (24.04-9-g2a3955a5f5aa)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-9-g2a3955a5f5aa) initialized Starting run at 07:54:10 UTC on 2024-04-10. Successfully read inputs file ... Castro git describe: 24.04-11-g2407e8176 AMReX git describe: 24.04-9-g2a3955a5f Microphysics git describe: 24.04-5-g43dc7a53 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.045372888 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025126931 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.064258657 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.054192172 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.081849121 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.072759663 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.05702702 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.044881846 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.050736005 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.074772771 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.076582637 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.06720889 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.068049577 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.043347027 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025027219 seconds Ending run at 07:54:11 UTC on 2024-04-10. Run time = 0.903673094 Run time without initialization = 0.781391712 Average number of zones advanced per microsecond: 3.355 Average number of zones advanced per microsecond per rank: 3.355 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9037 ... 0.9037 ... 0.9037 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2758 0.2758 0.2758 30.52% VisMF::Write(FabArray) 11 0.1751 0.1751 0.1751 19.38% MLCellLinOp::applyBC() 4298 0.08744 0.08744 0.08744 9.68% MLPoisson::Fsmooth() 3240 0.03356 0.03356 0.03356 3.71% FillBoundary_nowait() 3893 0.03042 0.03042 0.03042 3.37% StateData::FillBoundary(geom) 328 0.02665 0.02665 0.02665 2.95% amrex::Dot() 1100 0.02146 0.02146 0.02146 2.38% Castro::normalize_species() 62 0.0212 0.0212 0.0212 2.35% FabArray::norminf() 1048 0.02 0.02 0.02 2.21% Castro::computeTemp() 63 0.01718 0.01718 0.01718 1.90% FabArray::ParallelCopy_nowait() 851 0.01372 0.01372 0.01372 1.52% FabArray::setVal() 1054 0.01358 0.01358 0.01358 1.50% FabArray::Saxpy() 1353 0.01318 0.01318 0.01318 1.46% StateDataPhysBCFunct::() 41 0.01236 0.01236 0.01236 1.37% Castro::enforce_min_density() 62 0.01164 0.01164 0.01164 1.29% amrex::Copy() 469 0.01095 0.01095 0.01095 1.21% MLCellLinOp::defineAuxData() 11 0.01039 0.01039 0.01039 1.15% MLPoisson::Fapply() 1047 0.01032 0.01032 0.01032 1.14% Gravity::fill_multipole_BCs() 11 0.009663 0.009663 0.009663 1.07% FabArray::Xpay() 730 0.007868 0.007868 0.007868 0.87% MLMG::addInterpCorrection() 405 0.007024 0.007024 0.007024 0.78% amrex::average_down 405 0.006196 0.006196 0.006196 0.69% Castro::estTimeStep() 21 0.006138 0.006138 0.006138 0.68% Amr::checkPoint() 3 0.006031 0.006031 0.006031 0.67% Castro::reset_internal_energy(MultiFab) 63 0.004821 0.004821 0.004821 0.53% BndryData::define() 11 0.004078 0.004078 0.004078 0.45% amrex::Add() 81 0.003589 0.003589 0.003589 0.40% Castro::construct_new_gravity_source() 10 0.003449 0.003449 0.003449 0.38% Castro::enforce_speed_limit() 62 0.003175 0.003175 0.003175 0.35% Castro::construct_old_gravity_source() 10 0.003 0.003 0.003 0.33% Amr::writePlotFile() 2 0.002152 0.002152 0.002152 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001814 0.001814 0.001814 0.20% Castro::reset_internal_energy(Fab) 504 0.001806 0.001806 0.001806 0.20% MLCellLinOp::setLevelBC() 11 0.001621 0.001621 0.001621 0.18% MLCGSolver::bicgstab 81 0.001611 0.001611 0.001611 0.18% check_for_negative_density() 10 0.001534 0.001534 0.001534 0.17% Gravity::actual_solve_with_mlmg() 11 0.001533 0.001533 0.001533 0.17% Castro::initData() 1 0.001444 0.001444 0.001444 0.16% FabArray::setDomainBndry() 41 0.001394 0.001394 0.001394 0.15% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% MLCellLinOp::prepareForSolve() 11 0.001321 0.001321 0.001321 0.15% MultiFab::contains_nan() 20 0.001271 0.001271 0.001271 0.14% MLCellLinOp::smooth() 1620 0.001143 0.001143 0.001143 0.13% MLCellLinOp::compGrad() 11 0.001104 0.001104 0.001104 0.12% MLMG::prepareForSolve() 11 0.0009614 0.0009614 0.0009614 0.11% FabArrayBase::getCPC() 1313 0.0007713 0.0007713 0.0007713 0.09% FabArray::FillBoundary() 3893 0.0007511 0.0007511 0.0007511 0.08% FabArrayBase::CPC::define() 454 0.0006578 0.0006578 0.0006578 0.07% Gravity::get_new_grav_vector() 11 0.0006124 0.0006124 0.0006124 0.07% Amr::InitAmr() 1 0.0005979 0.0005979 0.0005979 0.07% FabArrayBase::getFB() 3893 0.0005979 0.0005979 0.0005979 0.07% Gravity::get_old_grav_vector() 10 0.0004893 0.0004893 0.0004893 0.05% MLCellLinOp::apply() 1047 0.0004464 0.0004464 0.0004464 0.05% AmrLevel::FillPatch() 41 0.0004012 0.0004012 0.0004012 0.04% Amr::coarseTimeStep() 10 0.0003768 0.0003768 0.0003768 0.04% MultiFab::max() 11 0.0003325 0.0003325 0.0003325 0.04% MLCGSolver::ParallelAllReduce 1809 0.000306 0.000306 0.000306 0.03% main() 1 0.0002871 0.0002871 0.0002871 0.03% MLCellLinOp::defineBC() 11 0.000257 0.000257 0.000257 0.03% FabArray::ParallelCopy() 851 0.0002556 0.0002556 0.0002556 0.03% FillPatchIterator::Initialize 41 0.0002425 0.0002425 0.0002425 0.03% MLMG::mgVcycle() 81 0.0001912 0.0001912 0.0001912 0.02% Castro::create_source_corrector() 10 0.0001911 0.0001911 0.0001911 0.02% Castro::subcycle_advance_ctu() 10 0.0001768 0.0001768 0.0001768 0.02% MLCellLinOp::correctionResidual() 405 0.0001729 0.0001729 0.0001729 0.02% MLLinOp::defineGrids() 11 0.0001684 0.0001684 0.0001684 0.02% Amr::timeStep() 10 0.000168 0.000168 0.000168 0.02% Castro::construct_new_source() 50 0.0001605 0.0001605 0.0001605 0.02% Gravity::update_max_rhs() 11 0.0001226 0.0001226 0.0001226 0.01% MLMG:computeResOfCorrection() 405 0.0001132 0.0001132 0.0001132 0.01% Gravity::solve_for_phi() 10 0.0001096 0.0001096 0.0001096 0.01% StateData::checkPoint() 12 0.0001088 0.0001088 0.0001088 0.01% Castro::Castro() 1 0.0001001 0.0001001 0.0001001 0.01% FabArrayBase::FB::FB() 56 8.909e-05 8.909e-05 8.909e-05 0.01% MLMG::actualBottomSolve() 81 8.692e-05 8.692e-05 8.692e-05 0.01% MLMG::mgVcycle_down::0 81 8.121e-05 8.121e-05 8.121e-05 0.01% Castro::do_new_sources() 10 7.691e-05 7.691e-05 7.691e-05 0.01% Castro::initialize_advance() 10 7.671e-05 7.671e-05 7.671e-05 0.01% MLMG::solve() 11 7.636e-05 7.636e-05 7.636e-05 0.01% MLMG::mgVcycle_down::1 81 7.417e-05 7.417e-05 7.417e-05 0.01% MLMG::mgVcycle_down::2 81 7.274e-05 7.274e-05 7.274e-05 0.01% Castro::clean_state() 62 7.25e-05 7.25e-05 7.25e-05 0.01% Castro::advance() 10 7.076e-05 7.076e-05 7.076e-05 0.01% Castro::post_timestep() 10 6.938e-05 6.938e-05 6.938e-05 0.01% Castro::enforce_consistent_e() 1 6.863e-05 6.863e-05 6.863e-05 0.01% MLMG::mgVcycle_down::4 81 6.724e-05 6.724e-05 6.724e-05 0.01% Castro::finalize_advance() 10 6.61e-05 6.61e-05 6.61e-05 0.01% MLMG::mgVcycle_down::3 81 6.542e-05 6.542e-05 6.542e-05 0.01% AmrLevel::checkPoint() 3 6.044e-05 6.044e-05 6.044e-05 0.01% Castro::initialize_do_advance() 10 5.682e-05 5.682e-05 5.682e-05 0.01% MLMG::oneIter() 81 5.548e-05 5.548e-05 5.548e-05 0.01% MLMG::mgVcycle_up::4 81 5.538e-05 5.538e-05 5.538e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.714e-05 4.714e-05 4.714e-05 0.01% MLMG::mgVcycle_up::0 81 4.666e-05 4.666e-05 4.666e-05 0.01% Castro::do_advance_ctu() 10 4.613e-05 4.613e-05 4.613e-05 0.01% MLCellLinOp::solutionResidual() 92 4.492e-05 4.492e-05 4.492e-05 0.00% Amr::defBaseLevel() 1 4.453e-05 4.453e-05 4.453e-05 0.00% MLMG::mgVcycle_up::3 81 4.344e-05 4.344e-05 4.344e-05 0.00% MLMG::mgVcycle_up::1 81 4.303e-05 4.303e-05 4.303e-05 0.00% MLMG::mgVcycle_up::2 81 4.296e-05 4.296e-05 4.296e-05 0.00% Castro::finalize_do_advance() 10 4.242e-05 4.242e-05 4.242e-05 0.00% StateData::define() 4 3.805e-05 3.805e-05 3.805e-05 0.00% Castro::swap_state_time_levels() 10 3.666e-05 3.666e-05 3.666e-05 0.00% FillPatchSingleLevel 41 3.459e-05 3.459e-05 3.459e-05 0.00% Amr::writeSmallPlotFile() 1 3.387e-05 3.387e-05 3.387e-05 0.00% MLMG::mgVcycle_bottom 81 3.344e-05 3.344e-05 3.344e-05 0.00% MLMG::ResNormInf() 92 3.224e-05 3.224e-05 3.224e-05 0.00% Castro::initMFs() 1 3.061e-05 3.061e-05 3.061e-05 0.00% MLMG::computeResidual() 81 2.947e-05 2.947e-05 2.947e-05 0.00% Castro::buildMetrics() 1 2.721e-05 2.721e-05 2.721e-05 0.00% MLPoisson::define() 11 2.65e-05 2.65e-05 2.65e-05 0.00% makeSFC 55 2.605e-05 2.605e-05 2.605e-05 0.00% Castro::construct_new_gravity() 10 2.485e-05 2.485e-05 2.485e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.431e-05 2.431e-05 2.431e-05 0.00% Castro::construct_old_source() 50 2.107e-05 2.107e-05 2.107e-05 0.00% Castro::do_old_sources() 10 2.035e-05 2.035e-05 2.035e-05 0.00% Castro::check_for_nan() 20 2.009e-05 2.009e-05 2.009e-05 0.00% Amr::FinalizeInit() 1 1.969e-05 1.969e-05 1.969e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.844e-05 1.844e-05 1.844e-05 0.00% MLLinOp::define() 11 1.659e-05 1.659e-05 1.659e-05 0.00% DistributionMapping::Distribute() 56 1.655e-05 1.655e-05 1.655e-05 0.00% Gravity::actual_multilevel_solve() 1 1.461e-05 1.461e-05 1.461e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.408e-05 1.408e-05 1.408e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.38e-05 1.38e-05 1.38e-05 0.00% Castro::apply_source_to_state() 20 1.203e-05 1.203e-05 1.203e-05 0.00% Amr::initSubcycle() 1 1.093e-05 1.093e-05 1.093e-05 0.00% Gravity::swapTimeLevels() 10 1.084e-05 1.084e-05 1.084e-05 0.00% Castro::construct_old_gravity() 10 1.028e-05 1.028e-05 1.028e-05 0.00% MLMG::computeMLResidual() 11 8.647e-06 8.647e-06 8.647e-06 0.00% Castro::computeNewDt() 9 6.694e-06 6.694e-06 6.694e-06 0.00% MLPoisson::prepareForSolve() 11 6.548e-06 6.548e-06 6.548e-06 0.00% Castro::expand_state() 10 6.517e-06 6.517e-06 6.517e-06 0.00% MLMG::getGradSolution() 11 6.303e-06 6.303e-06 6.303e-06 0.00% Amr::InitializeInit() 1 5.922e-06 5.922e-06 5.922e-06 0.00% Castro::retry_advance_ctu() 10 5.629e-06 5.629e-06 5.629e-06 0.00% Castro::post_init() 1 5.558e-06 5.558e-06 5.558e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.103e-06 5.103e-06 5.103e-06 0.00% AmrLevel::checkPointPost() 3 4.781e-06 4.781e-06 4.781e-06 0.00% MLMG::MLRhsNormInf() 11 4.145e-06 4.145e-06 4.145e-06 0.00% Gravity::set_mass_offset() 11 3.822e-06 3.822e-06 3.822e-06 0.00% MLMG::MLResNormInf() 11 3.463e-06 3.463e-06 3.463e-06 0.00% Amr::init() 1 3.006e-06 3.006e-06 3.006e-06 0.00% Castro::FluxRegCrseInit 10 2.926e-06 2.926e-06 2.926e-06 0.00% Castro::computeInitialDt() 2 2.73e-06 2.73e-06 2.73e-06 0.00% Castro::FluxRegFineAdd() 10 2.307e-06 2.307e-06 2.307e-06 0.00% AmrLevel::checkPointPre() 3 2.174e-06 2.174e-06 2.174e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.021e-06 2.021e-06 2.021e-06 0.00% Amr::initialInit() 1 1.431e-06 1.431e-06 1.431e-06 0.00% Castro::post_regrid() 1 1.336e-06 1.336e-06 1.336e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9037 0.9037 0.9037 100.00% Amr::coarseTimeStep() 10 0.7561 0.7561 0.7561 83.67% Amr::timeStep() 10 0.664 0.664 0.664 73.48% Castro::advance() 10 0.6524 0.6524 0.6524 72.19% Castro::subcycle_advance_ctu() 10 0.6374 0.6374 0.6374 70.53% Castro::do_advance_ctu() 10 0.6373 0.6373 0.6373 70.51% Gravity::solve_phi_with_mlmg() 11 0.3014 0.3014 0.3014 33.36% Gravity::actual_solve_with_mlmg() 11 0.2913 0.2913 0.2913 32.23% Castro::construct_ctu_hydro_source() 10 0.2864 0.2864 0.2864 31.69% Castro::construct_new_gravity() 10 0.2761 0.2761 0.2761 30.55% MLMG::solve() 11 0.2691 0.2691 0.2691 29.78% Gravity::solve_for_phi() 10 0.2596 0.2596 0.2596 28.73% MLMG::oneIter() 81 0.2536 0.2536 0.2536 28.06% MLMG::mgVcycle() 81 0.25 0.25 0.25 27.66% VisMF::Write(FabArray) 11 0.1751 0.1751 0.1751 19.38% Amr::checkPoint() 3 0.1337 0.1337 0.1337 14.80% MLCellLinOp::smooth() 1620 0.1281 0.1281 0.1281 14.17% AmrLevel::checkPoint() 3 0.1277 0.1277 0.1277 14.13% StateData::checkPoint() 12 0.1276 0.1276 0.1276 14.12% Amr::init() 1 0.1216 0.1216 0.1216 13.45% MLCellLinOp::applyBC() 4298 0.1193 0.1193 0.1193 13.20% MLMG::mgVcycle_bottom 81 0.07294 0.07294 0.07294 8.07% MLMG::actualBottomSolve() 81 0.07291 0.07291 0.07291 8.07% MLCGSolver::bicgstab 81 0.07206 0.07206 0.07206 7.97% Castro::clean_state() 62 0.05904 0.05904 0.05904 6.53% Amr::initialInit() 1 0.05093 0.05093 0.05093 5.64% Amr::writePlotFile() 2 0.05028 0.05028 0.05028 5.56% AmrLevel::FillPatch() 41 0.04915 0.04915 0.04915 5.44% Amr::FinalizeInit() 1 0.0462 0.0462 0.0462 5.11% FillPatchIterator::Initialize 41 0.04484 0.04484 0.04484 4.96% Castro::post_init() 1 0.0447 0.0447 0.0447 4.95% FillPatchIterator::FillFromLevel0() 41 0.0432 0.0432 0.0432 4.78% FillPatchSingleLevel 41 0.04315 0.04315 0.04315 4.78% Gravity::multilevel_solve_for_new_phi() 1 0.04225 0.04225 0.04225 4.68% Gravity::actual_multilevel_solve() 1 0.04223 0.04223 0.04223 4.67% MLMG::mgVcycle_down::0 81 0.04133 0.04133 0.04133 4.57% StateDataPhysBCFunct::() 41 0.03901 0.03901 0.03901 4.32% MLCellLinOp::apply() 1047 0.03619 0.03619 0.03619 4.00% MLPoisson::Fsmooth() 3240 0.03356 0.03356 0.03356 3.71% FabArray::FillBoundary() 3893 0.03186 0.03186 0.03186 3.53% FillBoundary_nowait() 3893 0.03111 0.03111 0.03111 3.44% StateData::FillBoundary(geom) 328 0.02665 0.02665 0.02665 2.95% MLMG::mgVcycle_up::0 81 0.02608 0.02608 0.02608 2.89% Castro::computeTemp() 63 0.02381 0.02381 0.02381 2.63% Castro::initialize_do_advance() 10 0.02246 0.02246 0.02246 2.49% amrex::Dot() 1100 0.02146 0.02146 0.02146 2.38% Castro::normalize_species() 62 0.0212 0.0212 0.0212 2.35% MLMG:computeResOfCorrection() 405 0.02038 0.02038 0.02038 2.26% MLCellLinOp::correctionResidual() 405 0.02027 0.02027 0.02027 2.24% FabArray::norminf() 1048 0.02 0.02 0.02 2.21% Castro::do_old_sources() 10 0.01927 0.01927 0.01927 2.13% Gravity::get_new_grav_vector() 11 0.01847 0.01847 0.01847 2.04% MLPoisson::define() 11 0.01744 0.01744 0.01744 1.93% MLMG::mgVcycle_down::1 81 0.01666 0.01666 0.01666 1.84% Castro::construct_old_gravity() 10 0.01562 0.01562 0.01562 1.73% Gravity::get_old_grav_vector() 10 0.01561 0.01561 0.01561 1.73% MLMG::mgVcycle_down::2 81 0.01546 0.01546 0.01546 1.71% MLMG::mgVcycle_down::3 81 0.01507 0.01507 0.01507 1.67% MLMG::mgVcycle_down::4 81 0.01497 0.01497 0.01497 1.66% FabArray::ParallelCopy() 851 0.01477 0.01477 0.01477 1.63% FabArray::ParallelCopy_nowait() 851 0.01452 0.01452 0.01452 1.61% Castro::initialize_advance() 10 0.01425 0.01425 0.01425 1.58% Castro::do_new_sources() 10 0.01392 0.01392 0.01392 1.54% FabArray::setVal() 1054 0.01358 0.01358 0.01358 1.50% FabArray::Saxpy() 1353 0.01318 0.01318 0.01318 1.46% MLCGSolver::ParallelAllReduce 1809 0.01286 0.01286 0.01286 1.42% MLMG::addInterpCorrection() 405 0.01231 0.01231 0.01231 1.36% Castro::expand_state() 10 0.0123 0.0123 0.0123 1.36% MLMG::mgVcycle_up::1 81 0.01206 0.01206 0.01206 1.33% MLMG::mgVcycle_up::4 81 0.01192 0.01192 0.01192 1.32% MLCellLinOp::defineAuxData() 11 0.01181 0.01181 0.01181 1.31% MLMG::mgVcycle_up::2 81 0.01177 0.01177 0.01177 1.30% Castro::enforce_min_density() 62 0.01164 0.01164 0.01164 1.29% amrex::average_down 405 0.01156 0.01156 0.01156 1.28% MLMG::mgVcycle_up::3 81 0.01152 0.01152 0.01152 1.27% Castro::post_timestep() 10 0.0115 0.0115 0.0115 1.27% amrex::Copy() 469 0.01095 0.01095 0.01095 1.21% MLPoisson::Fapply() 1047 0.01032 0.01032 0.01032 1.14% Gravity::fill_multipole_BCs() 11 0.009902 0.009902 0.009902 1.10% FabArray::Xpay() 730 0.007868 0.007868 0.007868 0.87% MLCellLinOp::solutionResidual() 92 0.007763 0.007763 0.007763 0.86% Castro::reset_internal_energy(MultiFab) 63 0.006626 0.006626 0.006626 0.73% MLMG::computeResidual() 81 0.006503 0.006503 0.006503 0.72% Castro::estTimeStep() 21 0.006138 0.006138 0.006138 0.68% MLCellLinOp::defineBC() 11 0.005363 0.005363 0.005363 0.59% MLMG::prepareForSolve() 11 0.005192 0.005192 0.005192 0.57% BndryData::define() 11 0.005106 0.005106 0.005106 0.57% Amr::InitializeInit() 1 0.004732 0.004732 0.004732 0.52% Amr::defBaseLevel() 1 0.004726 0.004726 0.004726 0.52% Castro::initData() 1 0.004018 0.004018 0.004018 0.44% Castro::construct_new_source() 50 0.00361 0.00361 0.00361 0.40% amrex::Add() 81 0.003589 0.003589 0.003589 0.40% Castro::construct_new_gravity_source() 10 0.003449 0.003449 0.003449 0.38% Castro::enforce_speed_limit() 62 0.003175 0.003175 0.003175 0.35% Castro::construct_old_source() 50 0.003021 0.003021 0.003021 0.33% Castro::construct_old_gravity_source() 10 0.003 0.003 0.003 0.33% Castro::computeNewDt() 9 0.002653 0.002653 0.002653 0.29% Castro::finalize_do_advance() 10 0.002539 0.002539 0.002539 0.28% MLMG::ResNormInf() 92 0.002173 0.002173 0.002173 0.24% Castro::apply_source_to_state() 20 0.001884 0.001884 0.001884 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001814 0.001814 0.001814 0.20% Castro::reset_internal_energy(Fab) 504 0.001806 0.001806 0.001806 0.20% MLMG::getGradSolution() 11 0.001629 0.001629 0.001629 0.18% MLCellLinOp::compGrad() 11 0.001623 0.001623 0.001623 0.18% MLCellLinOp::setLevelBC() 11 0.001621 0.001621 0.001621 0.18% check_for_negative_density() 10 0.001534 0.001534 0.001534 0.17% FabArrayBase::getCPC() 1313 0.001429 0.001429 0.001429 0.16% FabArray::setDomainBndry() 41 0.001394 0.001394 0.001394 0.15% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% MLPoisson::prepareForSolve() 11 0.001328 0.001328 0.001328 0.15% MLCellLinOp::prepareForSolve() 11 0.001321 0.001321 0.001321 0.15% MLMG::computeMLResidual() 11 0.001298 0.001298 0.001298 0.14% Castro::check_for_nan() 20 0.001291 0.001291 0.001291 0.14% MultiFab::contains_nan() 20 0.001271 0.001271 0.001271 0.14% Castro::post_regrid() 1 0.001213 0.001213 0.001213 0.13% Castro::computeInitialDt() 2 0.0009979 0.0009979 0.0009979 0.11% Gravity::update_max_rhs() 11 0.0009825 0.0009825 0.0009825 0.11% FabArrayBase::getFB() 3893 0.000687 0.000687 0.000687 0.08% FabArrayBase::CPC::define() 454 0.0006578 0.0006578 0.0006578 0.07% Castro::finalize_advance() 10 0.0006149 0.0006149 0.0006149 0.07% Amr::InitAmr() 1 0.0006089 0.0006089 0.0006089 0.07% Castro::Castro() 1 0.000605 0.000605 0.000605 0.07% Gravity::swapTimeLevels() 10 0.0004806 0.0004806 0.0004806 0.05% MultiFab::max() 11 0.0003325 0.0003325 0.0003325 0.04% MLMG::MLResNormInf() 11 0.0003292 0.0003292 0.0003292 0.04% Castro::buildMetrics() 1 0.0002971 0.0002971 0.0002971 0.03% MLLinOp::define() 11 0.000242 0.000242 0.000242 0.03% MLMG::MLRhsNormInf() 11 0.0002329 0.0002329 0.0002329 0.03% MLLinOp::defineGrids() 11 0.0002254 0.0002254 0.0002254 0.02% Castro::create_source_corrector() 10 0.0001911 0.0001911 0.0001911 0.02% FabArrayBase::FB::FB() 56 8.909e-05 8.909e-05 8.909e-05 0.01% Castro::enforce_consistent_e() 1 6.863e-05 6.863e-05 6.863e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.498e-05 5.498e-05 5.498e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.213e-05 5.213e-05 5.213e-05 0.01% makeSFC 55 4.119e-05 4.119e-05 4.119e-05 0.00% StateData::define() 4 3.805e-05 3.805e-05 3.805e-05 0.00% Castro::swap_state_time_levels() 10 3.666e-05 3.666e-05 3.666e-05 0.00% Amr::writeSmallPlotFile() 1 3.387e-05 3.387e-05 3.387e-05 0.00% Castro::initMFs() 1 3.061e-05 3.061e-05 3.061e-05 0.00% DistributionMapping::Distribute() 56 1.655e-05 1.655e-05 1.655e-05 0.00% Amr::initSubcycle() 1 1.093e-05 1.093e-05 1.093e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 6.515e-06 6.515e-06 6.515e-06 0.00% Castro::retry_advance_ctu() 10 5.629e-06 5.629e-06 5.629e-06 0.00% AmrLevel::checkPointPost() 3 4.781e-06 4.781e-06 4.781e-06 0.00% Gravity::set_mass_offset() 11 3.822e-06 3.822e-06 3.822e-06 0.00% Castro::FluxRegCrseInit 10 2.926e-06 2.926e-06 2.926e-06 0.00% Castro::FluxRegFineAdd() 10 2.307e-06 2.307e-06 2.307e-06 0.00% AmrLevel::checkPointPre() 3 2.174e-06 2.174e-06 2.174e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.021e-06 2.021e-06 2.021e-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 5901 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1059 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1552 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3663 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 212 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 176 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2115 B 2048 KiB Gravity::solve_for_phi() 80 80 587 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 334 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 213 KiB 671 KiB Castro::estTimeStep() 21 21 3313 B 480 KiB VisMF::Write(FabArray) 656 656 3428 B 320 KiB Castro::normalize_species() 62 62 7642 B 320 KiB amrex::average_down 1054 1054 1618 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1172 B 257 KiB amrex::Dot() 1343 1343 3508 B 160 KiB FabArray::norminf() 1129 1129 3416 B 160 KiB check_for_negative_density() 10 10 272 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3576 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 292 B 9648 B MLCellLinOp::applyBC() 8596 8596 291 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3962 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 377 B 1248 B MLCGSolver::bicgstab 405 405 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 585 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 423 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3576 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 292 B 9648 B MLCellLinOp::applyBC() 4298 4298 289 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3962 B 6144 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 305 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.04-9-g2a3955a5f5aa) finalized Initializing AMReX (24.04-9-g2a3955a5f5aa)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-9-g2a3955a5f5aa) initialized Starting run at 07:54:12 UTC on 2024-04-10. Successfully read inputs file ... Castro git describe: 24.04-11-g2407e8176 AMReX git describe: 24.04-9-g2a3955a5f Microphysics git describe: 24.04-5-g43dc7a53 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.497313309 Restart time = 0.071506473 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.074211754 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.04858139 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.078163738 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.076881809 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.054924151 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027524685 seconds Ending run at 07:54:12 UTC on 2024-04-10. Run time = 0.432891781 Run time without initialization = 0.360727518 Average number of zones advanced per microsecond: 3.634 Average number of zones advanced per microsecond per rank: 3.634 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4329 ... 0.4329 ... 0.4329 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1379 0.1379 0.1379 31.86% VisMF::Read() 3 0.06029 0.06029 0.06029 13.93% MLCellLinOp::applyBC() 1910 0.03577 0.03577 0.03577 8.26% VisMF::Write(FabArray) 1 0.0248 0.0248 0.0248 5.73% MLPoisson::Fsmooth() 1440 0.01487 0.01487 0.01487 3.43% FillBoundary_nowait() 1730 0.01292 0.01292 0.01292 2.98% StateData::FillBoundary(geom) 160 0.01253 0.01253 0.01253 2.89% Castro::normalize_species() 30 0.01081 0.01081 0.01081 2.50% amrex::Dot() 484 0.009309 0.009309 0.009309 2.15% FabArray::norminf() 465 0.008774 0.008774 0.008774 2.03% Castro::computeTemp() 30 0.007387 0.007387 0.007387 1.71% FabArray::setVal() 501 0.006655 0.006655 0.006655 1.54% FabArray::ParallelCopy_nowait() 380 0.006262 0.006262 0.006262 1.45% FabArray::Saxpy() 597 0.005902 0.005902 0.005902 1.36% Castro::enforce_min_density() 30 0.005663 0.005663 0.005663 1.31% MLCellLinOp::defineAuxData() 6 0.005611 0.005611 0.005611 1.30% amrex::Copy() 221 0.00547 0.00547 0.00547 1.26% StateDataPhysBCFunct::() 20 0.005353 0.005353 0.005353 1.24% Gravity::fill_multipole_BCs() 6 0.005347 0.005347 0.005347 1.24% Amr::restart() 1 0.004822 0.004822 0.004822 1.11% MLPoisson::Fapply() 464 0.004516 0.004516 0.004516 1.04% FabArray::Xpay() 325 0.003525 0.003525 0.003525 0.81% MLMG::addInterpCorrection() 180 0.003146 0.003146 0.003146 0.73% Castro::estTimeStep() 10 0.002826 0.002826 0.002826 0.65% amrex::average_down 180 0.002747 0.002747 0.002747 0.63% Amr::writePlotFile() 1 0.00257 0.00257 0.00257 0.59% BndryData::define() 6 0.00221 0.00221 0.00221 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002167 0.002167 0.002167 0.50% Castro::construct_new_gravity_source() 5 0.001908 0.001908 0.001908 0.44% Castro::enforce_speed_limit() 30 0.001746 0.001746 0.001746 0.40% amrex::Add() 36 0.001546 0.001546 0.001546 0.36% Castro::construct_old_gravity_source() 5 0.001495 0.001495 0.001495 0.35% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009839 0.0009839 0.0009839 0.23% check_for_negative_density() 5 0.0009328 0.0009328 0.0009328 0.22% MLCellLinOp::setLevelBC() 6 0.0008918 0.0008918 0.0008918 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008519 0.0008519 0.0008519 0.20% Castro::reset_internal_energy(Fab) 240 0.0008049 0.0008049 0.0008049 0.19% MLCellLinOp::prepareForSolve() 6 0.0007563 0.0007563 0.0007563 0.17% MLCGSolver::bicgstab 36 0.0007285 0.0007285 0.0007285 0.17% FabArray::setDomainBndry() 20 0.0007029 0.0007029 0.0007029 0.16% FabArray::mult() 22 0.0006939 0.0006939 0.0006939 0.16% MultiFab::contains_nan() 10 0.0006692 0.0006692 0.0006692 0.15% MLCellLinOp::compGrad() 6 0.0006017 0.0006017 0.0006017 0.14% MLMG::prepareForSolve() 6 0.0005642 0.0005642 0.0005642 0.13% MLCellLinOp::smooth() 720 0.000519 0.000519 0.000519 0.12% Amr::InitAmr() 1 0.0004819 0.0004819 0.0004819 0.11% FabArrayBase::CPC::define() 244 0.0004124 0.0004124 0.0004124 0.10% FabArrayBase::getCPC() 632 0.0003711 0.0003711 0.0003711 0.09% FabArray::FillBoundary() 1730 0.0003434 0.0003434 0.0003434 0.08% Gravity::get_old_grav_vector() 5 0.0003395 0.0003395 0.0003395 0.08% Gravity::get_new_grav_vector() 5 0.0003081 0.0003081 0.0003081 0.07% FabArrayBase::getFB() 1730 0.0002656 0.0002656 0.0002656 0.06% main() 1 0.0002595 0.0002595 0.0002595 0.06% MultiFab::max() 6 0.0002068 0.0002068 0.0002068 0.05% MLCellLinOp::apply() 464 0.0002021 0.0002021 0.0002021 0.05% AmrLevel::FillPatch() 20 0.0002 0.0002 0.0002 0.05% Amr::coarseTimeStep() 5 0.0001661 0.0001661 0.0001661 0.04% MLCellLinOp::defineBC() 6 0.0001408 0.0001408 0.0001408 0.03% MLCGSolver::ParallelAllReduce 798 0.0001332 0.0001332 0.0001332 0.03% Castro::subcycle_advance_ctu() 5 0.0001327 0.0001327 0.0001327 0.03% FabArray::ParallelCopy() 380 0.0001253 0.0001253 0.0001253 0.03% Castro::create_source_corrector() 5 0.0001134 0.0001134 0.0001134 0.03% FillPatchIterator::Initialize 20 0.0001071 0.0001071 0.0001071 0.02% MLLinOp::defineGrids() 6 9.973e-05 9.973e-05 9.973e-05 0.02% MLMG::mgVcycle() 36 8.595e-05 8.595e-05 8.595e-05 0.02% Amr::timeStep() 5 8.468e-05 8.468e-05 8.468e-05 0.02% Castro::construct_new_source() 25 8.192e-05 8.192e-05 8.192e-05 0.02% MLCellLinOp::correctionResidual() 180 7.48e-05 7.48e-05 7.48e-05 0.02% AmrLevel::restart() 1 7.201e-05 7.201e-05 7.201e-05 0.02% Castro::initialize_do_advance() 5 6.791e-05 6.791e-05 6.791e-05 0.02% Gravity::update_max_rhs() 6 6.331e-05 6.331e-05 6.331e-05 0.01% StateData::restartDoit() 4 6.316e-05 6.316e-05 6.316e-05 0.01% Castro::advance() 5 6.095e-05 6.095e-05 6.095e-05 0.01% FabArrayBase::FB::FB() 26 5.578e-05 5.578e-05 5.578e-05 0.01% MLMG:computeResOfCorrection() 180 4.971e-05 4.971e-05 4.971e-05 0.01% Gravity::solve_for_phi() 5 4.946e-05 4.946e-05 4.946e-05 0.01% Castro::do_advance_ctu() 5 4.55e-05 4.55e-05 4.55e-05 0.01% Castro::finalize_do_advance() 5 4.51e-05 4.51e-05 4.51e-05 0.01% MLMG::actualBottomSolve() 36 3.976e-05 3.976e-05 3.976e-05 0.01% Castro::initialize_advance() 5 3.704e-05 3.704e-05 3.704e-05 0.01% MLMG::solve() 6 3.655e-05 3.655e-05 3.655e-05 0.01% Castro::post_timestep() 5 3.565e-05 3.565e-05 3.565e-05 0.01% MLMG::mgVcycle_down::1 36 3.533e-05 3.533e-05 3.533e-05 0.01% MLMG::mgVcycle_down::0 36 3.491e-05 3.491e-05 3.491e-05 0.01% Castro::clean_state() 30 3.3e-05 3.3e-05 3.3e-05 0.01% MLMG::mgVcycle_down::2 36 3.213e-05 3.213e-05 3.213e-05 0.01% Amr::writeSmallPlotFile() 1 3.186e-05 3.186e-05 3.186e-05 0.01% Castro::finalize_advance() 5 3.165e-05 3.165e-05 3.165e-05 0.01% MLMG::mgVcycle_down::4 36 3.022e-05 3.022e-05 3.022e-05 0.01% MLMG::mgVcycle_down::3 36 2.97e-05 2.97e-05 2.97e-05 0.01% Castro::construct_old_source() 25 2.952e-05 2.952e-05 2.952e-05 0.01% Castro::do_new_sources() 5 2.924e-05 2.924e-05 2.924e-05 0.01% Castro::buildMetrics() 1 2.696e-05 2.696e-05 2.696e-05 0.01% MLMG::mgVcycle_up::4 36 2.639e-05 2.639e-05 2.639e-05 0.01% MLMG::oneIter() 36 2.578e-05 2.578e-05 2.578e-05 0.01% MLPoisson::define() 6 2.503e-05 2.503e-05 2.503e-05 0.01% Castro::swap_state_time_levels() 5 2.472e-05 2.472e-05 2.472e-05 0.01% Castro::initMFs() 1 2.456e-05 2.456e-05 2.456e-05 0.01% MLMG::mgVcycle_up::3 36 2.17e-05 2.17e-05 2.17e-05 0.01% Castro::post_restart() 1 2.132e-05 2.132e-05 2.132e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.127e-05 2.127e-05 2.127e-05 0.00% MLCellLinOp::solutionResidual() 42 2.107e-05 2.107e-05 2.107e-05 0.00% MLMG::mgVcycle_up::0 36 1.992e-05 1.992e-05 1.992e-05 0.00% MLMG::mgVcycle_up::2 36 1.975e-05 1.975e-05 1.975e-05 0.00% MLMG::mgVcycle_up::1 36 1.934e-05 1.934e-05 1.934e-05 0.00% Gravity::actual_multilevel_solve() 1 1.753e-05 1.753e-05 1.753e-05 0.00% MLMG::ResNormInf() 42 1.718e-05 1.718e-05 1.718e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.645e-05 1.645e-05 1.645e-05 0.00% MLMG::mgVcycle_bottom 36 1.591e-05 1.591e-05 1.591e-05 0.00% FillPatchSingleLevel 20 1.559e-05 1.559e-05 1.559e-05 0.00% makeSFC 30 1.491e-05 1.491e-05 1.491e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.376e-05 1.376e-05 1.376e-05 0.00% MLMG::computeResidual() 36 1.353e-05 1.353e-05 1.353e-05 0.00% MLLinOp::define() 6 1.194e-05 1.194e-05 1.194e-05 0.00% Castro::construct_new_gravity() 5 1.194e-05 1.194e-05 1.194e-05 0.00% Castro::do_old_sources() 5 1.084e-05 1.084e-05 1.084e-05 0.00% Amr::initSubcycle() 1 1.016e-05 1.016e-05 1.016e-05 0.00% Castro::expand_state() 5 9.839e-06 9.839e-06 9.839e-06 0.00% DistributionMapping::Distribute() 31 9.491e-06 9.491e-06 9.491e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.151e-06 8.151e-06 8.151e-06 0.00% Castro::apply_source_to_state() 10 6.438e-06 6.438e-06 6.438e-06 0.00% Castro::check_for_nan() 10 6.217e-06 6.217e-06 6.217e-06 0.00% Castro::construct_old_gravity() 5 5.79e-06 5.79e-06 5.79e-06 0.00% Gravity::swapTimeLevels() 5 4.425e-06 4.425e-06 4.425e-06 0.00% MLMG::computeMLResidual() 6 4.092e-06 4.092e-06 4.092e-06 0.00% Castro::computeNewDt() 5 3.644e-06 3.644e-06 3.644e-06 0.00% MLPoisson::prepareForSolve() 6 3.439e-06 3.439e-06 3.439e-06 0.00% MLMG::getGradSolution() 6 3.254e-06 3.254e-06 3.254e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.14e-06 3.14e-06 3.14e-06 0.00% MLMG::MLResNormInf() 6 2.434e-06 2.434e-06 2.434e-06 0.00% MLMG::MLRhsNormInf() 6 2.197e-06 2.197e-06 2.197e-06 0.00% Castro::retry_advance_ctu() 5 2.15e-06 2.15e-06 2.15e-06 0.00% Gravity::set_mass_offset() 6 2.052e-06 2.052e-06 2.052e-06 0.00% Castro::FluxRegCrseInit 5 1.503e-06 1.503e-06 1.503e-06 0.00% Castro::FluxRegFineAdd() 5 1.132e-06 1.132e-06 1.132e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.68e-07 9.68e-07 9.68e-07 0.00% Amr::init() 1 9.27e-07 9.27e-07 9.27e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4329 0.4329 0.4329 100.00% Amr::coarseTimeStep() 5 0.3329 0.3329 0.3329 76.90% Amr::timeStep() 5 0.3309 0.3309 0.3309 76.43% Castro::advance() 5 0.3251 0.3251 0.3251 75.10% Castro::subcycle_advance_ctu() 5 0.3175 0.3175 0.3175 73.34% Castro::do_advance_ctu() 5 0.3174 0.3174 0.3174 73.31% Castro::construct_ctu_hydro_source() 5 0.1444 0.1444 0.1444 33.36% Castro::construct_new_gravity() 5 0.1363 0.1363 0.1363 31.47% Gravity::solve_phi_with_mlmg() 6 0.1336 0.1336 0.1336 30.87% Gravity::solve_for_phi() 5 0.1283 0.1283 0.1283 29.65% Gravity::actual_solve_with_mlmg() 6 0.128 0.128 0.128 29.58% MLMG::solve() 6 0.1159 0.1159 0.1159 26.77% MLMG::oneIter() 36 0.1081 0.1081 0.1081 24.98% MLMG::mgVcycle() 36 0.1066 0.1066 0.1066 24.62% Amr::init() 1 0.07157 0.07157 0.07157 16.53% Amr::restart() 1 0.07157 0.07157 0.07157 16.53% AmrLevel::restart() 1 0.06065 0.06065 0.06065 14.01% StateData::restartDoit() 4 0.06057 0.06057 0.06057 13.99% VisMF::Read() 3 0.06029 0.06029 0.06029 13.93% MLCellLinOp::smooth() 720 0.05307 0.05307 0.05307 12.26% MLCellLinOp::applyBC() 1910 0.04935 0.04935 0.04935 11.40% MLMG::mgVcycle_bottom 36 0.03186 0.03186 0.03186 7.36% MLMG::actualBottomSolve() 36 0.03184 0.03184 0.03184 7.36% MLCGSolver::bicgstab 36 0.03147 0.03147 0.03147 7.27% Castro::clean_state() 30 0.02861 0.02861 0.02861 6.61% Amr::writePlotFile() 1 0.02763 0.02763 0.02763 6.38% VisMF::Write(FabArray) 1 0.0248 0.0248 0.0248 5.73% AmrLevel::FillPatch() 20 0.02289 0.02289 0.02289 5.29% FillPatchIterator::Initialize 20 0.02078 0.02078 0.02078 4.80% FillPatchIterator::FillFromLevel0() 20 0.01997 0.01997 0.01997 4.61% FillPatchSingleLevel 20 0.01995 0.01995 0.01995 4.61% StateDataPhysBCFunct::() 20 0.01788 0.01788 0.01788 4.13% MLCellLinOp::apply() 464 0.01609 0.01609 0.01609 3.72% MLMG::mgVcycle_down::0 36 0.01507 0.01507 0.01507 3.48% MLPoisson::Fsmooth() 1440 0.01487 0.01487 0.01487 3.43% FabArray::FillBoundary() 1730 0.01358 0.01358 0.01358 3.14% FillBoundary_nowait() 1730 0.01324 0.01324 0.01324 3.06% StateData::FillBoundary(geom) 160 0.01253 0.01253 0.01253 2.89% MLMG::mgVcycle_up::0 36 0.0112 0.0112 0.0112 2.59% Castro::initialize_do_advance() 5 0.011 0.011 0.011 2.54% Castro::normalize_species() 30 0.01081 0.01081 0.01081 2.50% Castro::computeTemp() 30 0.01036 0.01036 0.01036 2.39% Castro::do_old_sources() 5 0.009664 0.009664 0.009664 2.23% MLPoisson::define() 6 0.009504 0.009504 0.009504 2.20% amrex::Dot() 484 0.009309 0.009309 0.009309 2.15% MLMG:computeResOfCorrection() 180 0.008954 0.008954 0.008954 2.07% MLCellLinOp::correctionResidual() 180 0.008904 0.008904 0.008904 2.06% FabArray::norminf() 465 0.008774 0.008774 0.008774 2.03% Gravity::get_new_grav_vector() 5 0.007789 0.007789 0.007789 1.80% Castro::construct_old_gravity() 5 0.007744 0.007744 0.007744 1.79% Gravity::get_old_grav_vector() 5 0.007738 0.007738 0.007738 1.79% MLMG::mgVcycle_down::1 36 0.007459 0.007459 0.007459 1.72% Castro::initialize_advance() 5 0.007264 0.007264 0.007264 1.68% MLMG::mgVcycle_down::2 36 0.006803 0.006803 0.006803 1.57% FabArray::ParallelCopy() 380 0.006781 0.006781 0.006781 1.57% Castro::do_new_sources() 5 0.006764 0.006764 0.006764 1.56% FabArray::ParallelCopy_nowait() 380 0.006656 0.006656 0.006656 1.54% FabArray::setVal() 501 0.006655 0.006655 0.006655 1.54% MLMG::mgVcycle_down::3 36 0.006633 0.006633 0.006633 1.53% MLMG::mgVcycle_down::4 36 0.0066 0.0066 0.0066 1.52% MLCellLinOp::defineAuxData() 6 0.006393 0.006393 0.006393 1.48% Castro::expand_state() 5 0.006022 0.006022 0.006022 1.39% Castro::post_restart() 1 0.005914 0.005914 0.005914 1.37% FabArray::Saxpy() 597 0.005902 0.005902 0.005902 1.36% Castro::enforce_min_density() 30 0.005663 0.005663 0.005663 1.31% Castro::post_timestep() 5 0.00566 0.00566 0.00566 1.31% MLCGSolver::ParallelAllReduce 798 0.005628 0.005628 0.005628 1.30% Gravity::multilevel_solve_for_new_phi() 1 0.005541 0.005541 0.005541 1.28% Gravity::actual_multilevel_solve() 1 0.005525 0.005525 0.005525 1.28% MLMG::addInterpCorrection() 180 0.005483 0.005483 0.005483 1.27% amrex::Copy() 221 0.00547 0.00547 0.00547 1.26% Gravity::fill_multipole_BCs() 6 0.00547 0.00547 0.00547 1.26% MLMG::mgVcycle_up::4 36 0.005319 0.005319 0.005319 1.23% MLMG::mgVcycle_up::1 36 0.005296 0.005296 0.005296 1.22% MLMG::mgVcycle_up::2 36 0.005166 0.005166 0.005166 1.19% amrex::average_down 180 0.005136 0.005136 0.005136 1.19% MLMG::mgVcycle_up::3 36 0.005079 0.005079 0.005079 1.17% MLPoisson::Fapply() 464 0.004516 0.004516 0.004516 1.04% MLCellLinOp::solutionResidual() 42 0.003679 0.003679 0.003679 0.85% FabArray::Xpay() 325 0.003525 0.003525 0.003525 0.81% Castro::reset_internal_energy(MultiFab) 30 0.002972 0.002972 0.002972 0.69% MLCellLinOp::defineBC() 6 0.002942 0.002942 0.002942 0.68% MLMG::prepareForSolve() 6 0.002902 0.002902 0.002902 0.67% MLMG::computeResidual() 36 0.00287 0.00287 0.00287 0.66% Castro::estTimeStep() 10 0.002826 0.002826 0.002826 0.65% BndryData::define() 6 0.002801 0.002801 0.002801 0.65% Castro::construct_new_source() 25 0.00199 0.00199 0.00199 0.46% Castro::construct_new_gravity_source() 5 0.001908 0.001908 0.001908 0.44% Castro::computeNewDt() 5 0.001879 0.001879 0.001879 0.43% Castro::enforce_speed_limit() 30 0.001746 0.001746 0.001746 0.40% amrex::Add() 36 0.001546 0.001546 0.001546 0.36% Castro::construct_old_source() 25 0.001524 0.001524 0.001524 0.35% Castro::construct_old_gravity_source() 5 0.001495 0.001495 0.001495 0.35% MLMG::ResNormInf() 42 0.0009953 0.0009953 0.0009953 0.23% Castro::finalize_do_advance() 5 0.000995 0.000995 0.000995 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009839 0.0009839 0.0009839 0.23% Castro::apply_source_to_state() 10 0.0009688 0.0009688 0.0009688 0.22% check_for_negative_density() 5 0.0009328 0.0009328 0.0009328 0.22% MLMG::getGradSolution() 6 0.000897 0.000897 0.000897 0.21% MLCellLinOp::compGrad() 6 0.0008938 0.0008938 0.0008938 0.21% MLCellLinOp::setLevelBC() 6 0.0008918 0.0008918 0.0008918 0.21% MLMG::computeMLResidual() 6 0.000827 0.000827 0.000827 0.19% Castro::reset_internal_energy(Fab) 240 0.0008049 0.0008049 0.0008049 0.19% FabArrayBase::getCPC() 632 0.0007835 0.0007835 0.0007835 0.18% MLPoisson::prepareForSolve() 6 0.0007597 0.0007597 0.0007597 0.18% MLCellLinOp::prepareForSolve() 6 0.0007563 0.0007563 0.0007563 0.17% Gravity::update_max_rhs() 6 0.0007266 0.0007266 0.0007266 0.17% FabArray::setDomainBndry() 20 0.0007029 0.0007029 0.0007029 0.16% FabArray::mult() 22 0.0006939 0.0006939 0.0006939 0.16% Castro::check_for_nan() 10 0.0006754 0.0006754 0.0006754 0.16% MultiFab::contains_nan() 10 0.0006692 0.0006692 0.0006692 0.15% Amr::InitAmr() 1 0.0004921 0.0004921 0.0004921 0.11% FabArrayBase::CPC::define() 244 0.0004124 0.0004124 0.0004124 0.10% FabArrayBase::getFB() 1730 0.0003214 0.0003214 0.0003214 0.07% Castro::finalize_advance() 5 0.0003083 0.0003083 0.0003083 0.07% Gravity::swapTimeLevels() 5 0.0002514 0.0002514 0.0002514 0.06% MultiFab::max() 6 0.0002068 0.0002068 0.0002068 0.05% MLMG::MLResNormInf() 6 0.0001913 0.0001913 0.0001913 0.04% Castro::buildMetrics() 1 0.0001582 0.0001582 0.0001582 0.04% MLLinOp::define() 6 0.0001439 0.0001439 0.0001439 0.03% MLLinOp::defineGrids() 6 0.000132 0.000132 0.000132 0.03% MLMG::MLRhsNormInf() 6 0.0001214 0.0001214 0.0001214 0.03% Castro::create_source_corrector() 5 0.0001134 0.0001134 0.0001134 0.03% FabArrayBase::FB::FB() 26 5.578e-05 5.578e-05 5.578e-05 0.01% Amr::writeSmallPlotFile() 1 3.186e-05 3.186e-05 3.186e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.131e-05 3.131e-05 3.131e-05 0.01% Castro::swap_state_time_levels() 5 2.472e-05 2.472e-05 2.472e-05 0.01% Castro::initMFs() 1 2.456e-05 2.456e-05 2.456e-05 0.01% makeSFC 30 2.315e-05 2.315e-05 2.315e-05 0.01% Amr::initSubcycle() 1 1.016e-05 1.016e-05 1.016e-05 0.00% DistributionMapping::Distribute() 31 9.491e-06 9.491e-06 9.491e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.387e-06 4.387e-06 4.387e-06 0.00% Castro::retry_advance_ctu() 5 2.15e-06 2.15e-06 2.15e-06 0.00% Gravity::set_mass_offset() 6 2.052e-06 2.052e-06 2.052e-06 0.00% Castro::FluxRegCrseInit 5 1.503e-06 1.503e-06 1.503e-06 0.00% Castro::FluxRegFineAdd() 5 1.132e-06 1.132e-06 1.132e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.68e-07 9.68e-07 9.68e-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 11 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1055 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1693 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6419 KiB 14 MiB MLMG::prepareForSolve() 361 361 3286 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 185 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 184 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6406 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3344 B 2048 KiB Gravity::solve_for_phi() 40 40 606 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 303 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 194 KiB 671 KiB Castro::estTimeStep() 10 10 3114 B 480 KiB VisMF::Write(FabArray) 112 112 1267 B 320 KiB Castro::normalize_species() 30 30 8134 B 320 KiB amrex::average_down 469 469 1386 B 257 KiB MLMG::addInterpCorrection() 468 468 1075 B 257 KiB amrex::Dot() 592 592 3170 B 160 KiB FabArray::norminf() 501 501 3130 B 160 KiB check_for_negative_density() 5 5 346 B 160 KiB MultiFab::max() 6 6 74 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3183 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 257 B 9648 B MLCellLinOp::applyBC() 3820 3820 206 B 9344 B amrex::Copy() 56 56 5820 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 340 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1206 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 88 KiB 8192 KiB VisMF::Write(FabArray) 120 120 158 KiB 3584 KiB VisMF::Read() 24 24 212 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3183 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 257 B 9648 B MLCellLinOp::applyBC() 1910 1910 204 B 9328 B amrex::Copy() 56 56 5820 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2516 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2688 B MLMG::prepareForSolve() 7 7 795 B 1648 B amrex::average_down 37 37 454 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 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() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.04-9-g2a3955a5f5aa) finalized