Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-23-gd92232a0c17b) initialized Starting run at 08:34:47 UTC on 2023-08-09. Successfully read inputs file ... Castro git describe: 23.08 AMReX git describe: 23.08-23-gd92232a0c Microphysics git describe: 23.08-3-g3d2714f8 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.059795304 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034372211 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.04769335 [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.074483499 [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.076477892 [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.069654389 [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.065505888 [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.118599883 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.050782996 [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.076009873 [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.075998033 [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.048349542 [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.066093499 [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.059168731 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034332567 seconds Ending run at 08:34:48 UTC on 2023-08-09. Run time = 1.007507003 Run time without initialization = 0.863902421 Average number of zones advanced per microsecond: 3.034 Average number of zones advanced per microsecond per rank: 3.034 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 1.008 ... 1.008 ... 1.008 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2780 0.2780 0.2780 27.60% VisMF::Write(FabArray) 11 0.241 0.241 0.241 23.92% MLCellLinOp::applyBC() 4433 0.07776 0.07776 0.07776 7.72% Amr::checkPoint() 3 0.06244 0.06244 0.06244 6.20% MLPoisson::Fsmooth() 3280 0.03238 0.03238 0.03238 3.21% FillBoundary_nowait() 4023 0.0316 0.0316 0.0316 3.14% StateData::FillBoundary(geom) 328 0.02549 0.02549 0.02549 2.53% amrex::Dot() 1114 0.0207 0.0207 0.0207 2.05% Castro::normalize_species() 62 0.01973 0.01973 0.01973 1.96% Castro::computeTemp() 63 0.0161 0.0161 0.0161 1.60% amrex::Copy() 1029 0.01496 0.01496 0.01496 1.48% FabArray::norminf() 743 0.01448 0.01448 0.01448 1.44% FabArray::ParallelCopy_nowait() 861 0.0135 0.0135 0.0135 1.34% FabArray::setVal() 1144 0.01316 0.01316 0.01316 1.31% Castro::enforce_min_density() 62 0.01231 0.01231 0.01231 1.22% StateDataPhysBCFunct::() 41 0.01192 0.01192 0.01192 1.18% MLPoisson::Fapply() 1142 0.01038 0.01038 0.01038 1.03% MLCellLinOp::defineAuxData() 11 0.009973 0.009973 0.009973 0.99% FabArray::Saxpy() 813 0.00813 0.00813 0.00813 0.81% FabArray::Xpay() 821 0.008089 0.008089 0.008089 0.80% Gravity::fill_multipole_BCs() 11 0.00684 0.00684 0.00684 0.68% MLMG::addInterpCorrection() 410 0.006783 0.006783 0.006783 0.67% amrex::average_down 410 0.006062 0.006062 0.006062 0.60% Castro::estTimeStep() 21 0.005942 0.005942 0.005942 0.59% Castro::reset_internal_energy(MultiFab) 63 0.00478 0.00478 0.00478 0.47% FabArray::LinComb() 557 0.004529 0.004529 0.004529 0.45% amrex::Add() 164 0.00435 0.00435 0.00435 0.43% BndryData::define() 11 0.003797 0.003797 0.003797 0.38% Castro::enforce_speed_limit() 62 0.003203 0.003203 0.003203 0.32% Castro::construct_new_gravity_source() 10 0.003134 0.003134 0.003134 0.31% Castro::construct_old_gravity_source() 10 0.002774 0.002774 0.002774 0.28% Amr::writePlotFile() 2 0.002377 0.002377 0.002377 0.24% MLCGSolver::bicgstab 82 0.002139 0.002139 0.002139 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001717 0.001717 0.001717 0.17% check_for_negative_density() 10 0.001663 0.001663 0.001663 0.17% Castro::reset_internal_energy(Fab) 504 0.001646 0.001646 0.001646 0.16% Gravity::actual_solve_with_mlmg() 11 0.001484 0.001484 0.001484 0.15% MLCellLinOp::setLevelBC() 11 0.001398 0.001398 0.001398 0.14% FabArray::setDomainBndry() 41 0.001329 0.001329 0.001329 0.13% FabArray::mult() 43 0.001323 0.001323 0.001323 0.13% Castro::initData() 1 0.001306 0.001306 0.001306 0.13% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.12% MLCellLinOp::prepareForSolve() 11 0.001131 0.001131 0.001131 0.11% MLCellLinOp::smooth() 1640 0.001026 0.001026 0.001026 0.10% MLCellLinOp::compGrad() 11 0.0009162 0.0009162 0.0009162 0.09% MLMG::prepareForSolve() 11 0.0008731 0.0008731 0.0008731 0.09% FabArray::FillBoundary() 4023 0.0008326 0.0008326 0.0008326 0.08% FabArrayBase::getCPC() 1323 0.0007673 0.0007673 0.0007673 0.08% FabArrayBase::CPC::define() 454 0.0006897 0.0006897 0.0006897 0.07% FabArrayBase::getFB() 4023 0.000616 0.000616 0.000616 0.06% Gravity::get_new_grav_vector() 11 0.0005407 0.0005407 0.0005407 0.05% Amr::InitAmr() 1 0.0005149 0.0005149 0.0005149 0.05% Gravity::get_old_grav_vector() 10 0.0004731 0.0004731 0.0004731 0.05% Amr::coarseTimeStep() 10 0.0004413 0.0004413 0.0004413 0.04% MLCellLinOp::apply() 1142 0.0004195 0.0004195 0.0004195 0.04% main() 1 0.0003567 0.0003567 0.0003567 0.04% MLLinOp::defineGrids() 11 0.0003447 0.0003447 0.0003447 0.03% MLMG::mgVcycle() 82 0.0003378 0.0003378 0.0003378 0.03% AmrLevel::FillPatch() 41 0.0003236 0.0003236 0.0003236 0.03% MLCGSolver::ParallelAllReduce 1514 0.0003082 0.0003082 0.0003082 0.03% MultiFab::max() 11 0.0002606 0.0002606 0.0002606 0.03% FabArray::ParallelCopy() 861 0.0002389 0.0002389 0.0002389 0.02% MLCellLinOp::correctionResidual() 492 0.0002262 0.0002262 0.0002262 0.02% MLCellLinOp::defineBC() 11 0.0002132 0.0002132 0.0002132 0.02% FillPatchIterator::Initialize 41 0.0002074 0.0002074 0.0002074 0.02% Castro::subcycle_advance_ctu() 10 0.0002015 0.0002015 0.0002015 0.02% Castro::create_source_corrector() 10 0.000164 0.000164 0.000164 0.02% Amr::timeStep() 10 0.0001585 0.0001585 0.0001585 0.02% Castro::advance() 10 0.0001372 0.0001372 0.0001372 0.01% Gravity::update_max_rhs() 11 0.0001357 0.0001357 0.0001357 0.01% StateData::checkPoint() 12 0.000133 0.000133 0.000133 0.01% MLMG:computeResOfCorrection() 410 0.0001164 0.0001164 0.0001164 0.01% Gravity::solve_for_phi() 10 0.0001114 0.0001114 0.0001114 0.01% FabArrayBase::FB::FB() 56 9.641e-05 9.641e-05 9.641e-05 0.01% MLMG::actualBottomSolve() 82 9.346e-05 9.346e-05 9.346e-05 0.01% Castro::Castro() 1 8.798e-05 8.798e-05 8.798e-05 0.01% MLMG::mgVcycle_down::0 82 8.758e-05 8.758e-05 8.758e-05 0.01% MLMG::mgVcycle_down::1 82 8.474e-05 8.474e-05 8.474e-05 0.01% MLMG::mgVcycle_down::2 82 8.358e-05 8.358e-05 8.358e-05 0.01% MLMG::mgVcycle_down::4 82 8.344e-05 8.344e-05 8.344e-05 0.01% MLMG::mgVcycle_down::3 82 8.019e-05 8.019e-05 8.019e-05 0.01% AmrLevel::checkPoint() 3 7.548e-05 7.548e-05 7.548e-05 0.01% Castro::initialize_advance() 10 7.157e-05 7.157e-05 7.157e-05 0.01% Castro::construct_new_source() 50 6.824e-05 6.824e-05 6.824e-05 0.01% MLMG::solve() 11 6.746e-05 6.746e-05 6.746e-05 0.01% Castro::clean_state() 62 6.579e-05 6.579e-05 6.579e-05 0.01% Castro::finalize_advance() 10 6.144e-05 6.144e-05 6.144e-05 0.01% MLMG::mgVcycle_up::4 82 6.114e-05 6.114e-05 6.114e-05 0.01% Castro::initialize_do_advance() 10 5.899e-05 5.899e-05 5.899e-05 0.01% MLMG::oneIter() 82 5.54e-05 5.54e-05 5.54e-05 0.01% MLMG::mgVcycle_up::0 82 5.502e-05 5.502e-05 5.502e-05 0.01% MLMG::mgVcycle_up::3 82 5.336e-05 5.336e-05 5.336e-05 0.01% MLMG::mgVcycle_up::1 82 5.097e-05 5.097e-05 5.097e-05 0.01% MLMG::mgVcycle_up::2 82 5.063e-05 5.063e-05 5.063e-05 0.01% MLCellLinOp::solutionResidual() 93 4.894e-05 4.894e-05 4.894e-05 0.00% Castro::do_advance_ctu() 10 4.767e-05 4.767e-05 4.767e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.756e-05 4.756e-05 4.756e-05 0.00% Castro::do_new_sources() 10 4.364e-05 4.364e-05 4.364e-05 0.00% Castro::finalize_do_advance() 10 4.192e-05 4.192e-05 4.192e-05 0.00% Castro::swap_state_time_levels() 10 3.811e-05 3.811e-05 3.811e-05 0.00% MLMG::mgVcycle_bottom 82 3.692e-05 3.692e-05 3.692e-05 0.00% StateData::define() 4 3.474e-05 3.474e-05 3.474e-05 0.00% Castro::enforce_consistent_e() 1 3.361e-05 3.361e-05 3.361e-05 0.00% MLMG::ResNormInf() 93 3.275e-05 3.275e-05 3.275e-05 0.00% FillPatchSingleLevel 41 3.23e-05 3.23e-05 3.23e-05 0.00% MLMG::computeResidual() 82 3.218e-05 3.218e-05 3.218e-05 0.00% MLPoisson::define() 11 2.773e-05 2.773e-05 2.773e-05 0.00% Castro::construct_new_gravity() 10 2.566e-05 2.566e-05 2.566e-05 0.00% makeSFC 55 2.489e-05 2.489e-05 2.489e-05 0.00% Amr::writeSmallPlotFile() 1 2.483e-05 2.483e-05 2.483e-05 0.00% Castro::initMFs() 1 2.472e-05 2.472e-05 2.472e-05 0.00% Castro::do_old_sources() 10 2.214e-05 2.214e-05 2.214e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.144e-05 2.144e-05 2.144e-05 0.00% Amr::FinalizeInit() 1 2.002e-05 2.002e-05 2.002e-05 0.00% Castro::construct_old_source() 50 1.786e-05 1.786e-05 1.786e-05 0.00% Castro::buildMetrics() 1 1.712e-05 1.712e-05 1.712e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.697e-05 1.697e-05 1.697e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.654e-05 1.654e-05 1.654e-05 0.00% DistributionMapping::Distribute() 56 1.493e-05 1.493e-05 1.493e-05 0.00% MLPoisson::prepareForSolve() 11 1.443e-05 1.443e-05 1.443e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.434e-05 1.434e-05 1.434e-05 0.00% Amr::defBaseLevel() 1 1.34e-05 1.34e-05 1.34e-05 0.00% Castro::check_for_nan() 20 1.112e-05 1.112e-05 1.112e-05 0.00% Castro::construct_old_gravity() 10 1.1e-05 1.1e-05 1.1e-05 0.00% Castro::apply_source_to_state() 20 1.055e-05 1.055e-05 1.055e-05 0.00% MLLinOp::define() 11 1.007e-05 1.007e-05 1.007e-05 0.00% Castro::post_timestep() 10 8.998e-06 8.998e-06 8.998e-06 0.00% Amr::initSubcycle() 1 8.62e-06 8.62e-06 8.62e-06 0.00% Gravity::swapTimeLevels() 10 8.569e-06 8.569e-06 8.569e-06 0.00% Gravity::actual_multilevel_solve() 1 8.124e-06 8.124e-06 8.124e-06 0.00% MLMG::computeMLResidual() 11 7.742e-06 7.742e-06 7.742e-06 0.00% MLMG::getGradSolution() 11 6.528e-06 6.528e-06 6.528e-06 0.00% Castro::computeNewDt() 9 6.204e-06 6.204e-06 6.204e-06 0.00% Castro::expand_state() 10 5.547e-06 5.547e-06 5.547e-06 0.00% Gravity::set_mass_offset() 11 4.956e-06 4.956e-06 4.956e-06 0.00% Amr::InitializeInit() 1 4.758e-06 4.758e-06 4.758e-06 0.00% AmrLevel::checkPointPost() 3 4.71e-06 4.71e-06 4.71e-06 0.00% Castro::retry_advance_ctu() 10 4.228e-06 4.228e-06 4.228e-06 0.00% MLMG::MLRhsNormInf() 11 3.919e-06 3.919e-06 3.919e-06 0.00% Castro::post_init() 1 3.506e-06 3.506e-06 3.506e-06 0.00% MLMG::MLResNormInf() 11 3.473e-06 3.473e-06 3.473e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.215e-06 3.215e-06 3.215e-06 0.00% Castro::FluxRegCrseInit 10 2.796e-06 2.796e-06 2.796e-06 0.00% AmrLevel::checkPointPre() 3 2.596e-06 2.596e-06 2.596e-06 0.00% Castro::computeInitialDt() 2 2.527e-06 2.527e-06 2.527e-06 0.00% Castro::FluxRegFineAdd() 10 2.276e-06 2.276e-06 2.276e-06 0.00% Amr::init() 1 2.128e-06 2.128e-06 2.128e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.8e-06 1.8e-06 1.8e-06 0.00% Amr::initialInit() 1 1.394e-06 1.394e-06 1.394e-06 0.00% Castro::post_regrid() 1 1.019e-06 1.019e-06 1.019e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 1.008 1.008 1.008 100.00% Amr::coarseTimeStep() 10 0.8293 0.8293 0.8293 82.31% Amr::timeStep() 10 0.6476 0.6476 0.6476 64.28% Castro::advance() 10 0.6365 0.6365 0.6365 63.17% Castro::subcycle_advance_ctu() 10 0.6219 0.6219 0.6219 61.72% Castro::do_advance_ctu() 10 0.6217 0.6217 0.6217 61.70% Castro::construct_ctu_hydro_source() 10 0.2891 0.2891 0.2891 28.69% Gravity::solve_phi_with_mlmg() 11 0.2862 0.2862 0.2862 28.40% Gravity::actual_solve_with_mlmg() 11 0.2789 0.2789 0.2789 27.68% Castro::construct_new_gravity() 10 0.2613 0.2613 0.2613 25.93% MLMG::solve() 11 0.2578 0.2578 0.2578 25.59% Gravity::solve_for_phi() 10 0.2454 0.2454 0.2454 24.36% MLMG::oneIter() 82 0.2435 0.2435 0.2435 24.16% VisMF::Write(FabArray) 11 0.241 0.241 0.241 23.92% MLMG::mgVcycle() 82 0.2398 0.2398 0.2398 23.80% Amr::checkPoint() 3 0.2377 0.2377 0.2377 23.59% AmrLevel::checkPoint() 3 0.1753 0.1753 0.1753 17.39% StateData::checkPoint() 12 0.1752 0.1752 0.1752 17.39% Amr::init() 1 0.1429 0.1429 0.1429 14.19% MLCellLinOp::smooth() 1640 0.1182 0.1182 0.1182 11.73% MLCellLinOp::applyBC() 4433 0.1109 0.1109 0.1109 11.01% MLMG::mgVcycle_bottom 82 0.07391 0.07391 0.07391 7.34% MLMG::actualBottomSolve() 82 0.07387 0.07387 0.07387 7.33% MLCGSolver::bicgstab 82 0.07316 0.07316 0.07316 7.26% Amr::writePlotFile() 2 0.06882 0.06882 0.06882 6.83% Castro::clean_state() 62 0.05706 0.05706 0.05706 5.66% Amr::initialInit() 1 0.04862 0.04862 0.04862 4.83% AmrLevel::FillPatch() 41 0.04722 0.04722 0.04722 4.69% Amr::FinalizeInit() 1 0.04441 0.04441 0.04441 4.41% Castro::post_init() 1 0.04309 0.04309 0.04309 4.28% FillPatchIterator::Initialize 41 0.04306 0.04306 0.04306 4.27% FillPatchIterator::FillFromLevel0() 41 0.04153 0.04153 0.04153 4.12% FillPatchSingleLevel 41 0.04148 0.04148 0.04148 4.12% Gravity::multilevel_solve_for_new_phi() 1 0.04119 0.04119 0.04119 4.09% Gravity::actual_multilevel_solve() 1 0.04117 0.04117 0.04117 4.09% StateDataPhysBCFunct::() 41 0.03741 0.03741 0.03741 3.71% MLCellLinOp::apply() 1142 0.03647 0.03647 0.03647 3.62% MLMG::mgVcycle_down::0 82 0.03426 0.03426 0.03426 3.40% FabArray::FillBoundary() 4023 0.03315 0.03315 0.03315 3.29% MLPoisson::Fsmooth() 3280 0.03238 0.03238 0.03238 3.21% FillBoundary_nowait() 4023 0.03231 0.03231 0.03231 3.21% MLMG::mgVcycle_up::0 82 0.0259 0.0259 0.0259 2.57% StateData::FillBoundary(geom) 328 0.02549 0.02549 0.02549 2.53% Castro::computeTemp() 63 0.02253 0.02253 0.02253 2.24% MLCellLinOp::correctionResidual() 492 0.02237 0.02237 0.02237 2.22% Castro::initialize_do_advance() 10 0.02217 0.02217 0.02217 2.20% amrex::Dot() 1114 0.0207 0.0207 0.0207 2.05% Castro::normalize_species() 62 0.01973 0.01973 0.01973 1.96% MLMG:computeResOfCorrection() 410 0.01972 0.01972 0.01972 1.96% Castro::do_old_sources() 10 0.01853 0.01853 0.01853 1.84% Gravity::get_new_grav_vector() 11 0.01745 0.01745 0.01745 1.73% MLPoisson::define() 11 0.01678 0.01678 0.01678 1.67% MLMG::mgVcycle_down::1 82 0.016 0.016 0.016 1.59% Castro::construct_old_gravity() 10 0.01522 0.01522 0.01522 1.51% Gravity::get_old_grav_vector() 10 0.01521 0.01521 0.01521 1.51% amrex::Copy() 1029 0.01496 0.01496 0.01496 1.48% MLMG::mgVcycle_down::2 82 0.01485 0.01485 0.01485 1.47% FabArray::ParallelCopy() 861 0.01455 0.01455 0.01455 1.44% MLMG::mgVcycle_down::3 82 0.01448 0.01448 0.01448 1.44% FabArray::norminf() 743 0.01448 0.01448 0.01448 1.44% MLMG::mgVcycle_down::4 82 0.01441 0.01441 0.01441 1.43% FabArray::ParallelCopy_nowait() 861 0.01431 0.01431 0.01431 1.42% Castro::initialize_advance() 10 0.01388 0.01388 0.01388 1.38% FabArray::setVal() 1144 0.01316 0.01316 0.01316 1.31% MLCGSolver::ParallelAllReduce 1514 0.01241 0.01241 0.01241 1.23% Castro::enforce_min_density() 62 0.01231 0.01231 0.01231 1.22% MLMG::addInterpCorrection() 410 0.01202 0.01202 0.01202 1.19% Castro::do_new_sources() 10 0.01197 0.01197 0.01197 1.19% Castro::expand_state() 10 0.01167 0.01167 0.01167 1.16% MLMG::mgVcycle_up::1 82 0.01166 0.01166 0.01166 1.16% MLMG::mgVcycle_up::4 82 0.01154 0.01154 0.01154 1.15% MLMG::mgVcycle_up::2 82 0.01137 0.01137 0.01137 1.13% MLCellLinOp::defineAuxData() 11 0.01134 0.01134 0.01134 1.13% amrex::average_down 410 0.01134 0.01134 0.01134 1.13% MLMG::mgVcycle_up::3 82 0.01108 0.01108 0.01108 1.10% Castro::post_timestep() 10 0.01096 0.01096 0.01096 1.09% MLPoisson::Fapply() 1142 0.01038 0.01038 0.01038 1.03% FabArray::Saxpy() 813 0.00813 0.00813 0.00813 0.81% FabArray::Xpay() 821 0.008089 0.008089 0.008089 0.80% MLCellLinOp::solutionResidual() 93 0.007149 0.007149 0.007149 0.71% Gravity::fill_multipole_BCs() 11 0.007123 0.007123 0.007123 0.71% Castro::reset_internal_energy(MultiFab) 63 0.006426 0.006426 0.006426 0.64% MLMG::computeResidual() 82 0.006151 0.006151 0.006151 0.61% Castro::estTimeStep() 21 0.005942 0.005942 0.005942 0.59% MLCellLinOp::defineBC() 11 0.005004 0.005004 0.005004 0.50% BndryData::define() 11 0.004791 0.004791 0.004791 0.48% MLMG::prepareForSolve() 11 0.004703 0.004703 0.004703 0.47% FabArray::LinComb() 557 0.004529 0.004529 0.004529 0.45% amrex::Add() 164 0.00435 0.00435 0.00435 0.43% Amr::InitializeInit() 1 0.004208 0.004208 0.004208 0.42% Amr::defBaseLevel() 1 0.004203 0.004203 0.004203 0.42% Castro::initData() 1 0.003706 0.003706 0.003706 0.37% Castro::enforce_speed_limit() 62 0.003203 0.003203 0.003203 0.32% Castro::construct_new_source() 50 0.003203 0.003203 0.003203 0.32% Castro::construct_new_gravity_source() 10 0.003134 0.003134 0.003134 0.31% Castro::construct_old_source() 50 0.002791 0.002791 0.002791 0.28% Castro::construct_old_gravity_source() 10 0.002774 0.002774 0.002774 0.28% Castro::computeNewDt() 9 0.002735 0.002735 0.002735 0.27% Castro::finalize_do_advance() 10 0.002419 0.002419 0.002419 0.24% MLMG::ResNormInf() 93 0.002148 0.002148 0.002148 0.21% Castro::apply_source_to_state() 20 0.001818 0.001818 0.001818 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001717 0.001717 0.001717 0.17% check_for_negative_density() 10 0.001663 0.001663 0.001663 0.17% Castro::reset_internal_energy(Fab) 504 0.001646 0.001646 0.001646 0.16% FabArrayBase::getCPC() 1323 0.001457 0.001457 0.001457 0.14% MLCellLinOp::setLevelBC() 11 0.001398 0.001398 0.001398 0.14% MLMG::getGradSolution() 11 0.001394 0.001394 0.001394 0.14% MLCellLinOp::compGrad() 11 0.001387 0.001387 0.001387 0.14% FabArray::setDomainBndry() 41 0.001329 0.001329 0.001329 0.13% FabArray::mult() 43 0.001323 0.001323 0.001323 0.13% Castro::check_for_nan() 20 0.00121 0.00121 0.00121 0.12% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.12% Castro::post_regrid() 1 0.001148 0.001148 0.001148 0.11% MLPoisson::prepareForSolve() 11 0.001145 0.001145 0.001145 0.11% MLCellLinOp::prepareForSolve() 11 0.001131 0.001131 0.001131 0.11% MLMG::computeMLResidual() 11 0.001038 0.001038 0.001038 0.10% Gravity::update_max_rhs() 11 0.0008433 0.0008433 0.0008433 0.08% Castro::computeInitialDt() 2 0.0008379 0.0008379 0.0008379 0.08% FabArrayBase::getFB() 4023 0.0007124 0.0007124 0.0007124 0.07% FabArrayBase::CPC::define() 454 0.0006897 0.0006897 0.0006897 0.07% Castro::finalize_advance() 10 0.0005857 0.0005857 0.0005857 0.06% Amr::InitAmr() 1 0.0005235 0.0005235 0.0005235 0.05% Gravity::swapTimeLevels() 10 0.000451 0.000451 0.000451 0.04% Castro::Castro() 1 0.0004285 0.0004285 0.0004285 0.04% MLLinOp::define() 11 0.0004095 0.0004095 0.0004095 0.04% MLLinOp::defineGrids() 11 0.0003995 0.0003995 0.0003995 0.04% MLMG::MLResNormInf() 11 0.000283 0.000283 0.000283 0.03% MultiFab::max() 11 0.0002606 0.0002606 0.0002606 0.03% MLMG::MLRhsNormInf() 11 0.0002206 0.0002206 0.0002206 0.02% Castro::create_source_corrector() 10 0.000164 0.000164 0.000164 0.02% Castro::buildMetrics() 1 0.0001537 0.0001537 0.0001537 0.02% FabArrayBase::FB::FB() 56 9.641e-05 9.641e-05 9.641e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.291e-05 5.291e-05 5.291e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.128e-05 5.128e-05 5.128e-05 0.01% makeSFC 55 3.857e-05 3.857e-05 3.857e-05 0.00% Castro::swap_state_time_levels() 10 3.811e-05 3.811e-05 3.811e-05 0.00% StateData::define() 4 3.474e-05 3.474e-05 3.474e-05 0.00% Castro::enforce_consistent_e() 1 3.361e-05 3.361e-05 3.361e-05 0.00% Amr::writeSmallPlotFile() 1 2.483e-05 2.483e-05 2.483e-05 0.00% Castro::initMFs() 1 2.472e-05 2.472e-05 2.472e-05 0.00% DistributionMapping::Distribute() 56 1.493e-05 1.493e-05 1.493e-05 0.00% Amr::initSubcycle() 1 8.62e-06 8.62e-06 8.62e-06 0.00% Gravity::set_mass_offset() 11 4.956e-06 4.956e-06 4.956e-06 0.00% AmrLevel::checkPointPost() 3 4.71e-06 4.71e-06 4.71e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.475e-06 4.475e-06 4.475e-06 0.00% Castro::retry_advance_ctu() 10 4.228e-06 4.228e-06 4.228e-06 0.00% Castro::FluxRegCrseInit 10 2.796e-06 2.796e-06 2.796e-06 0.00% AmrLevel::checkPointPre() 3 2.596e-06 2.596e-06 2.596e-06 0.00% Castro::FluxRegFineAdd() 10 2.276e-06 2.276e-06 2.276e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.8e-06 1.8e-06 1.8e-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 83 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 131 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 913 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1920 KiB 28 MiB Castro::initialize_advance() 80 80 14 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7608 KiB 14 MiB MLMG::prepareForSolve() 660 660 3148 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 180 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 154 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 1606 B 2048 KiB Gravity::solve_for_phi() 80 80 498 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 83 KiB 2048 KiB BndryData::define() 1056 1056 287 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 182 KiB 671 KiB Castro::estTimeStep() 21 21 2879 B 480 KiB VisMF::Write(FabArray) 656 656 2978 B 320 KiB Castro::normalize_species() 62 62 6380 B 320 KiB amrex::average_down 1067 1067 1144 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1031 B 257 KiB amrex::Dot() 1360 1360 3019 B 160 KiB FabArray::norminf() 907 907 2121 B 160 KiB check_for_negative_density() 10 10 262 B 160 KiB Castro::initData() 1 1 24 B 160 KiB MultiFab::max() 11 11 39 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 23 B 20 KiB MLPoisson::Fsmooth() 132 132 3078 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 39 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 8866 8866 198 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3812 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 2752 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 105 B 1472 B MLCellLinOp::defineBC() 66 66 323 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 567 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 44 KiB 8192 KiB VisMF::Write(FabArray) 744 744 557 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3078 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 39 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 4433 4433 196 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3812 B 6144 B Gravity::get_new_grav_vector() 3 3 2924 B 3072 B Gravity::fill_multipole_BCs() 33 33 2 B 2832 B StateData::FillBoundary(geom) 1992 1992 40 B 2752 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 262 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 22 B 400 B FabArray::norminf() 907 907 15 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.08-23-gd92232a0c17b) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-23-gd92232a0c17b) initialized Starting run at 08:34:48 UTC on 2023-08-09. Successfully read inputs file ... Castro git describe: 23.08 AMReX git describe: 23.08-23-gd92232a0c Microphysics git describe: 23.08-3-g3d2714f8 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.596033834 Restart time = 0.045239229 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.048777623 [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.049633921 [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.055133202 [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.078807176 [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.081719327 [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.033915209 seconds Ending run at 08:34:49 UTC on 2023-08-09. Run time = 0.394271276 Run time without initialization = 0.348413198 Average number of zones advanced per microsecond: 3.762 Average number of zones advanced per microsecond per rank: 3.762 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3943 ... 0.3943 ... 0.3943 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1297 0.1297 0.1297 32.89% VisMF::Read() 3 0.03894 0.03894 0.03894 9.87% MLCellLinOp::applyBC() 1946 0.03352 0.03352 0.03352 8.50% VisMF::Write(FabArray) 1 0.0323 0.0323 0.0323 8.19% MLPoisson::Fsmooth() 1440 0.01397 0.01397 0.01397 3.54% FillBoundary_nowait() 1766 0.01277 0.01277 0.01277 3.24% StateData::FillBoundary(geom) 160 0.01222 0.01222 0.01222 3.10% Castro::normalize_species() 30 0.009943 0.009943 0.009943 2.52% amrex::Dot() 484 0.008784 0.008784 0.008784 2.23% amrex::Copy() 463 0.006969 0.006969 0.006969 1.77% FabArray::setVal() 537 0.006233 0.006233 0.006233 1.58% FabArray::norminf() 326 0.006202 0.006202 0.006202 1.57% FabArray::ParallelCopy_nowait() 380 0.006101 0.006101 0.006101 1.55% Castro::computeTemp() 30 0.005748 0.005748 0.005748 1.46% MLCellLinOp::defineAuxData() 6 0.005244 0.005244 0.005244 1.33% StateDataPhysBCFunct::() 20 0.004752 0.004752 0.004752 1.21% Castro::enforce_min_density() 30 0.004553 0.004553 0.004553 1.15% MLPoisson::Fapply() 500 0.004439 0.004439 0.004439 1.13% Castro::estTimeStep() 10 0.003888 0.003888 0.003888 0.99% Gravity::fill_multipole_BCs() 6 0.003661 0.003661 0.003661 0.93% FabArray::Saxpy() 355 0.003625 0.003625 0.003625 0.92% FabArray::Xpay() 361 0.003493 0.003493 0.003493 0.89% MLMG::addInterpCorrection() 180 0.002935 0.002935 0.002935 0.74% amrex::average_down 180 0.002613 0.002613 0.002613 0.66% Amr::restart() 1 0.00255 0.00255 0.00255 0.65% BndryData::define() 6 0.002035 0.002035 0.002035 0.52% Castro::reset_internal_energy(MultiFab) 30 0.001979 0.001979 0.001979 0.50% FabArray::LinComb() 242 0.001919 0.001919 0.001919 0.49% amrex::Add() 72 0.001827 0.001827 0.001827 0.46% Castro::construct_new_gravity_source() 5 0.001628 0.001628 0.001628 0.41% Amr::writePlotFile() 1 0.00144 0.00144 0.00144 0.37% Castro::construct_old_gravity_source() 5 0.001394 0.001394 0.001394 0.35% Castro::subcycle_advance_ctu() 5 0.001302 0.001302 0.001302 0.33% MLCGSolver::bicgstab 36 0.000927 0.000927 0.000927 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009165 0.0009165 0.0009165 0.23% Castro::reset_internal_energy(Fab) 240 0.0008599 0.0008599 0.0008599 0.22% check_for_negative_density() 5 0.0008139 0.0008139 0.0008139 0.21% Gravity::actual_solve_with_mlmg() 6 0.0007756 0.0007756 0.0007756 0.20% MLCellLinOp::setLevelBC() 6 0.0007572 0.0007572 0.0007572 0.19% FabArray::setDomainBndry() 20 0.0006556 0.0006556 0.0006556 0.17% FabArray::mult() 22 0.0006519 0.0006519 0.0006519 0.17% MLCellLinOp::prepareForSolve() 6 0.0006075 0.0006075 0.0006075 0.15% MultiFab::contains_nan() 10 0.0005953 0.0005953 0.0005953 0.15% Castro::enforce_speed_limit() 30 0.0005322 0.0005322 0.0005322 0.13% MLMG::prepareForSolve() 6 0.0004947 0.0004947 0.0004947 0.13% MLCellLinOp::compGrad() 6 0.0004888 0.0004888 0.0004888 0.12% MLCellLinOp::smooth() 720 0.000469 0.000469 0.000469 0.12% FabArrayBase::CPC::define() 244 0.0004183 0.0004183 0.0004183 0.11% Amr::InitAmr() 1 0.0004096 0.0004096 0.0004096 0.10% FabArray::FillBoundary() 1766 0.0003676 0.0003676 0.0003676 0.09% FabArrayBase::getCPC() 632 0.00035 0.00035 0.00035 0.09% main() 1 0.0002889 0.0002889 0.0002889 0.07% Gravity::get_old_grav_vector() 5 0.0002632 0.0002632 0.0002632 0.07% FabArrayBase::getFB() 1766 0.0002592 0.0002592 0.0002592 0.07% Gravity::get_new_grav_vector() 5 0.0002339 0.0002339 0.0002339 0.06% MLCellLinOp::apply() 500 0.0002014 0.0002014 0.0002014 0.05% Amr::coarseTimeStep() 5 0.0001872 0.0001872 0.0001872 0.05% AmrLevel::FillPatch() 20 0.0001732 0.0001732 0.0001732 0.04% MLLinOp::defineGrids() 6 0.000164 0.000164 0.000164 0.04% MLMG::mgVcycle() 36 0.000155 0.000155 0.000155 0.04% MultiFab::max() 6 0.0001344 0.0001344 0.0001344 0.03% MLCGSolver::ParallelAllReduce 659 0.0001294 0.0001294 0.0001294 0.03% FabArray::ParallelCopy() 380 0.000111 0.000111 0.000111 0.03% MLCellLinOp::defineBC() 6 0.0001097 0.0001097 0.0001097 0.03% Castro::do_new_sources() 5 0.0001051 0.0001051 0.0001051 0.03% FillPatchIterator::Initialize 20 0.0001043 0.0001043 0.0001043 0.03% MLCellLinOp::correctionResidual() 216 9.433e-05 9.433e-05 9.433e-05 0.02% Amr::timeStep() 5 9.397e-05 9.397e-05 9.397e-05 0.02% Castro::create_source_corrector() 5 8.545e-05 8.545e-05 8.545e-05 0.02% Castro::construct_new_source() 25 8.34e-05 8.34e-05 8.34e-05 0.02% AmrLevel::restart() 1 7.637e-05 7.637e-05 7.637e-05 0.02% Castro::finalize_do_advance() 5 6.803e-05 6.803e-05 6.803e-05 0.02% Gravity::update_max_rhs() 6 6.57e-05 6.57e-05 6.57e-05 0.02% StateData::restartDoit() 4 6.467e-05 6.467e-05 6.467e-05 0.02% Castro::advance() 5 6.161e-05 6.161e-05 6.161e-05 0.02% FabArrayBase::FB::FB() 26 5.886e-05 5.886e-05 5.886e-05 0.01% Gravity::solve_for_phi() 5 5.254e-05 5.254e-05 5.254e-05 0.01% MLMG:computeResOfCorrection() 180 4.928e-05 4.928e-05 4.928e-05 0.01% Castro::clean_state() 30 4.909e-05 4.909e-05 4.909e-05 0.01% MLMG::actualBottomSolve() 36 4.158e-05 4.158e-05 4.158e-05 0.01% MLMG::mgVcycle_down::0 36 4.042e-05 4.042e-05 4.042e-05 0.01% Castro::finalize_advance() 5 3.826e-05 3.826e-05 3.826e-05 0.01% MLMG::mgVcycle_down::1 36 3.77e-05 3.77e-05 3.77e-05 0.01% Castro::post_timestep() 5 3.53e-05 3.53e-05 3.53e-05 0.01% MLMG::mgVcycle_down::2 36 3.507e-05 3.507e-05 3.507e-05 0.01% MLMG::mgVcycle_down::4 36 3.451e-05 3.451e-05 3.451e-05 0.01% MLMG::mgVcycle_down::3 36 3.373e-05 3.373e-05 3.373e-05 0.01% Castro::initialize_advance() 5 3.352e-05 3.352e-05 3.352e-05 0.01% Castro::construct_old_source() 25 3.335e-05 3.335e-05 3.335e-05 0.01% MLMG::solve() 6 3.147e-05 3.147e-05 3.147e-05 0.01% Castro::initialize_do_advance() 5 2.979e-05 2.979e-05 2.979e-05 0.01% Castro::buildMetrics() 1 2.805e-05 2.805e-05 2.805e-05 0.01% MLMG::mgVcycle_up::4 36 2.695e-05 2.695e-05 2.695e-05 0.01% Amr::writeSmallPlotFile() 1 2.639e-05 2.639e-05 2.639e-05 0.01% Castro::initMFs() 1 2.602e-05 2.602e-05 2.602e-05 0.01% MLMG::mgVcycle_up::0 36 2.51e-05 2.51e-05 2.51e-05 0.01% Castro::swap_state_time_levels() 5 2.448e-05 2.448e-05 2.448e-05 0.01% Castro::do_advance_ctu() 5 2.439e-05 2.439e-05 2.439e-05 0.01% MLMG::oneIter() 36 2.389e-05 2.389e-05 2.389e-05 0.01% MLMG::mgVcycle_up::3 36 2.332e-05 2.332e-05 2.332e-05 0.01% MLMG::mgVcycle_up::2 36 2.277e-05 2.277e-05 2.277e-05 0.01% MLMG::mgVcycle_up::1 36 2.231e-05 2.231e-05 2.231e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.167e-05 2.167e-05 2.167e-05 0.01% MLCellLinOp::solutionResidual() 42 2.143e-05 2.143e-05 2.143e-05 0.01% MLPoisson::define() 6 1.963e-05 1.963e-05 1.963e-05 0.00% Castro::post_restart() 1 1.934e-05 1.934e-05 1.934e-05 0.00% MLMG::ResNormInf() 42 1.815e-05 1.815e-05 1.815e-05 0.00% FillPatchSingleLevel 20 1.631e-05 1.631e-05 1.631e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.576e-05 1.576e-05 1.576e-05 0.00% MLMG::mgVcycle_bottom 36 1.546e-05 1.546e-05 1.546e-05 0.00% MLMG::computeResidual() 36 1.336e-05 1.336e-05 1.336e-05 0.00% Castro::construct_new_gravity() 5 1.279e-05 1.279e-05 1.279e-05 0.00% makeSFC 30 1.227e-05 1.227e-05 1.227e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.134e-05 1.134e-05 1.134e-05 0.00% Castro::do_old_sources() 5 1.104e-05 1.104e-05 1.104e-05 0.00% MLPoisson::prepareForSolve() 6 9.911e-06 9.911e-06 9.911e-06 0.00% DistributionMapping::Distribute() 31 9.335e-06 9.335e-06 9.335e-06 0.00% Amr::initSubcycle() 1 9.328e-06 9.328e-06 9.328e-06 0.00% Gravity::actual_multilevel_solve() 1 8.071e-06 8.071e-06 8.071e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.36e-06 7.36e-06 7.36e-06 0.00% Castro::construct_old_gravity() 5 6.492e-06 6.492e-06 6.492e-06 0.00% Castro::check_for_nan() 10 5.756e-06 5.756e-06 5.756e-06 0.00% Castro::apply_source_to_state() 10 5.163e-06 5.163e-06 5.163e-06 0.00% MLLinOp::define() 6 4.78e-06 4.78e-06 4.78e-06 0.00% Gravity::swapTimeLevels() 5 4.11e-06 4.11e-06 4.11e-06 0.00% MLMG::computeMLResidual() 6 3.79e-06 3.79e-06 3.79e-06 0.00% Castro::computeNewDt() 5 3.53e-06 3.53e-06 3.53e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.492e-06 3.492e-06 3.492e-06 0.00% MLMG::getGradSolution() 6 3.18e-06 3.18e-06 3.18e-06 0.00% Castro::expand_state() 5 3.013e-06 3.013e-06 3.013e-06 0.00% Castro::retry_advance_ctu() 5 2.594e-06 2.594e-06 2.594e-06 0.00% MLMG::MLResNormInf() 6 2.288e-06 2.288e-06 2.288e-06 0.00% MLMG::MLRhsNormInf() 6 2.16e-06 2.16e-06 2.16e-06 0.00% Castro::FluxRegCrseInit 5 2.006e-06 2.006e-06 2.006e-06 0.00% Castro::FluxRegFineAdd() 5 1.915e-06 1.915e-06 1.915e-06 0.00% Gravity::set_mass_offset() 6 1.894e-06 1.894e-06 1.894e-06 0.00% Amr::init() 1 1.152e-06 1.152e-06 1.152e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.029e-06 1.029e-06 1.029e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3943 0.3943 0.3943 100.00% Amr::coarseTimeStep() 5 0.3143 0.3143 0.3143 79.70% Amr::timeStep() 5 0.3116 0.3116 0.3116 79.03% Castro::advance() 5 0.3079 0.3079 0.3079 78.10% Castro::subcycle_advance_ctu() 5 0.302 0.302 0.302 76.59% Castro::do_advance_ctu() 5 0.3007 0.3007 0.3007 76.26% Castro::construct_ctu_hydro_source() 5 0.1349 0.1349 0.1349 34.20% Castro::construct_new_gravity() 5 0.1305 0.1305 0.1305 33.10% Gravity::solve_phi_with_mlmg() 6 0.1256 0.1256 0.1256 31.86% Gravity::solve_for_phi() 5 0.1225 0.1225 0.1225 31.08% Gravity::actual_solve_with_mlmg() 6 0.1217 0.1217 0.1217 30.87% MLMG::solve() 6 0.1105 0.1105 0.1105 28.03% MLMG::oneIter() 36 0.1037 0.1037 0.1037 26.30% MLMG::mgVcycle() 36 0.1021 0.1021 0.1021 25.91% MLCellLinOp::smooth() 720 0.05013 0.05013 0.05013 12.71% MLCellLinOp::applyBC() 1946 0.04698 0.04698 0.04698 11.91% Amr::init() 1 0.0453 0.0453 0.0453 11.49% Amr::restart() 1 0.0453 0.0453 0.0453 11.49% AmrLevel::restart() 1 0.03913 0.03913 0.03913 9.93% StateData::restartDoit() 4 0.03905 0.03905 0.03905 9.90% VisMF::Read() 3 0.03894 0.03894 0.03894 9.87% Amr::writePlotFile() 1 0.034 0.034 0.034 8.62% VisMF::Write(FabArray) 1 0.0323 0.0323 0.0323 8.19% MLMG::mgVcycle_bottom 36 0.03152 0.03152 0.03152 7.99% MLMG::actualBottomSolve() 36 0.0315 0.0315 0.0315 7.99% MLCGSolver::bicgstab 36 0.0312 0.0312 0.0312 7.91% Castro::clean_state() 30 0.02366 0.02366 0.02366 6.00% AmrLevel::FillPatch() 20 0.02187 0.02187 0.02187 5.55% FillPatchIterator::Initialize 20 0.01981 0.01981 0.01981 5.02% FillPatchIterator::FillFromLevel0() 20 0.01905 0.01905 0.01905 4.83% FillPatchSingleLevel 20 0.01902 0.01902 0.01902 4.82% StateDataPhysBCFunct::() 20 0.01698 0.01698 0.01698 4.31% MLCellLinOp::apply() 500 0.01567 0.01567 0.01567 3.97% MLMG::mgVcycle_down::0 36 0.01431 0.01431 0.01431 3.63% MLPoisson::Fsmooth() 1440 0.01397 0.01397 0.01397 3.54% FabArray::FillBoundary() 1766 0.01346 0.01346 0.01346 3.41% FillBoundary_nowait() 1766 0.01309 0.01309 0.01309 3.32% StateData::FillBoundary(geom) 160 0.01222 0.01222 0.01222 3.10% MLMG::mgVcycle_up::0 36 0.01086 0.01086 0.01086 2.75% Castro::initialize_do_advance() 5 0.01005 0.01005 0.01005 2.55% Castro::normalize_species() 30 0.009943 0.009943 0.009943 2.52% MLCellLinOp::correctionResidual() 216 0.009519 0.009519 0.009519 2.41% Castro::do_old_sources() 5 0.009397 0.009397 0.009397 2.38% MLPoisson::define() 6 0.008902 0.008902 0.008902 2.26% amrex::Dot() 484 0.008784 0.008784 0.008784 2.23% Castro::computeTemp() 30 0.008587 0.008587 0.008587 2.18% MLMG:computeResOfCorrection() 180 0.008367 0.008367 0.008367 2.12% Gravity::get_new_grav_vector() 5 0.007841 0.007841 0.007841 1.99% Castro::construct_old_gravity() 5 0.007303 0.007303 0.007303 1.85% Gravity::get_old_grav_vector() 5 0.007297 0.007297 0.007297 1.85% amrex::Copy() 463 0.006969 0.006969 0.006969 1.77% MLMG::mgVcycle_down::1 36 0.006889 0.006889 0.006889 1.75% FabArray::ParallelCopy() 380 0.006601 0.006601 0.006601 1.67% Castro::do_new_sources() 5 0.006584 0.006584 0.006584 1.67% FabArray::ParallelCopy_nowait() 380 0.00649 0.00649 0.00649 1.65% MLMG::mgVcycle_down::2 36 0.006361 0.006361 0.006361 1.61% FabArray::setVal() 537 0.006233 0.006233 0.006233 1.58% MLMG::mgVcycle_down::3 36 0.00622 0.00622 0.00622 1.58% FabArray::norminf() 326 0.006202 0.006202 0.006202 1.57% MLMG::mgVcycle_down::4 36 0.00616 0.00616 0.00616 1.56% MLCellLinOp::defineAuxData() 6 0.005977 0.005977 0.005977 1.52% Castro::initialize_advance() 5 0.005559 0.005559 0.005559 1.41% MLCGSolver::ParallelAllReduce 659 0.005289 0.005289 0.005289 1.34% Castro::expand_state() 5 0.005284 0.005284 0.005284 1.34% MLMG::addInterpCorrection() 180 0.005207 0.005207 0.005207 1.32% MLMG::mgVcycle_up::1 36 0.004995 0.004995 0.004995 1.27% MLMG::mgVcycle_up::4 36 0.004969 0.004969 0.004969 1.26% amrex::average_down 180 0.004911 0.004911 0.004911 1.25% MLMG::mgVcycle_up::2 36 0.004891 0.004891 0.004891 1.24% MLMG::mgVcycle_up::3 36 0.004813 0.004813 0.004813 1.22% Castro::enforce_min_density() 30 0.004553 0.004553 0.004553 1.15% MLPoisson::Fapply() 500 0.004439 0.004439 0.004439 1.13% Castro::estTimeStep() 10 0.003888 0.003888 0.003888 0.99% Gravity::fill_multipole_BCs() 6 0.003792 0.003792 0.003792 0.96% FabArray::Saxpy() 355 0.003625 0.003625 0.003625 0.92% Castro::post_timestep() 5 0.003575 0.003575 0.003575 0.91% FabArray::Xpay() 361 0.003493 0.003493 0.003493 0.89% Castro::post_restart() 1 0.003437 0.003437 0.003437 0.87% Gravity::multilevel_solve_for_new_phi() 1 0.003322 0.003322 0.003322 0.84% Gravity::actual_multilevel_solve() 1 0.003306 0.003306 0.003306 0.84% MLCellLinOp::solutionResidual() 42 0.003195 0.003195 0.003195 0.81% Castro::reset_internal_energy(MultiFab) 30 0.002839 0.002839 0.002839 0.72% MLCellLinOp::defineBC() 6 0.002708 0.002708 0.002708 0.69% MLMG::computeResidual() 36 0.002646 0.002646 0.002646 0.67% BndryData::define() 6 0.002598 0.002598 0.002598 0.66% MLMG::prepareForSolve() 6 0.002545 0.002545 0.002545 0.65% Castro::computeNewDt() 5 0.002451 0.002451 0.002451 0.62% FabArray::LinComb() 242 0.001919 0.001919 0.001919 0.49% amrex::Add() 72 0.001827 0.001827 0.001827 0.46% Castro::construct_new_source() 25 0.001712 0.001712 0.001712 0.43% Castro::construct_new_gravity_source() 5 0.001628 0.001628 0.001628 0.41% Castro::finalize_do_advance() 5 0.001508 0.001508 0.001508 0.38% Castro::construct_old_source() 25 0.001427 0.001427 0.001427 0.36% Castro::construct_old_gravity_source() 5 0.001394 0.001394 0.001394 0.35% MLMG::ResNormInf() 42 0.0009478 0.0009478 0.0009478 0.24% Castro::apply_source_to_state() 10 0.0009179 0.0009179 0.0009179 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009165 0.0009165 0.0009165 0.23% Castro::reset_internal_energy(Fab) 240 0.0008599 0.0008599 0.0008599 0.22% check_for_negative_density() 5 0.0008139 0.0008139 0.0008139 0.21% FabArrayBase::getCPC() 632 0.0007684 0.0007684 0.0007684 0.19% MLCellLinOp::setLevelBC() 6 0.0007572 0.0007572 0.0007572 0.19% MLMG::getGradSolution() 6 0.0007524 0.0007524 0.0007524 0.19% MLCellLinOp::compGrad() 6 0.0007492 0.0007492 0.0007492 0.19% FabArray::setDomainBndry() 20 0.0006556 0.0006556 0.0006556 0.17% FabArray::mult() 22 0.0006519 0.0006519 0.0006519 0.17% MLPoisson::prepareForSolve() 6 0.0006174 0.0006174 0.0006174 0.16% MLCellLinOp::prepareForSolve() 6 0.0006075 0.0006075 0.0006075 0.15% Castro::check_for_nan() 10 0.000601 0.000601 0.000601 0.15% MultiFab::contains_nan() 10 0.0005953 0.0005953 0.0005953 0.15% MLMG::computeMLResidual() 6 0.0005658 0.0005658 0.0005658 0.14% Castro::enforce_speed_limit() 30 0.0005322 0.0005322 0.0005322 0.13% Gravity::update_max_rhs() 6 0.0004503 0.0004503 0.0004503 0.11% Amr::InitAmr() 1 0.0004189 0.0004189 0.0004189 0.11% FabArrayBase::CPC::define() 244 0.0004183 0.0004183 0.0004183 0.11% FabArrayBase::getFB() 1766 0.000318 0.000318 0.000318 0.08% Castro::finalize_advance() 5 0.0003166 0.0003166 0.0003166 0.08% Gravity::swapTimeLevels() 5 0.0002278 0.0002278 0.0002278 0.06% MLLinOp::define() 6 0.0001973 0.0001973 0.0001973 0.05% MLLinOp::defineGrids() 6 0.0001925 0.0001925 0.0001925 0.05% MLMG::MLResNormInf() 6 0.0001515 0.0001515 0.0001515 0.04% Castro::buildMetrics() 1 0.0001489 0.0001489 0.0001489 0.04% MultiFab::max() 6 0.0001344 0.0001344 0.0001344 0.03% MLMG::MLRhsNormInf() 6 0.0001163 0.0001163 0.0001163 0.03% Castro::create_source_corrector() 5 8.545e-05 8.545e-05 8.545e-05 0.02% FabArrayBase::FB::FB() 26 5.886e-05 5.886e-05 5.886e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.742e-05 2.742e-05 2.742e-05 0.01% Amr::writeSmallPlotFile() 1 2.639e-05 2.639e-05 2.639e-05 0.01% Castro::initMFs() 1 2.602e-05 2.602e-05 2.602e-05 0.01% Castro::swap_state_time_levels() 5 2.448e-05 2.448e-05 2.448e-05 0.01% makeSFC 30 2.006e-05 2.006e-05 2.006e-05 0.01% DistributionMapping::Distribute() 31 9.335e-06 9.335e-06 9.335e-06 0.00% Amr::initSubcycle() 1 9.328e-06 9.328e-06 9.328e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.034e-06 5.034e-06 5.034e-06 0.00% Castro::retry_advance_ctu() 5 2.594e-06 2.594e-06 2.594e-06 0.00% Castro::FluxRegCrseInit 5 2.006e-06 2.006e-06 2.006e-06 0.00% Castro::FluxRegFineAdd() 5 1.915e-06 1.915e-06 1.915e-06 0.00% Gravity::set_mass_offset() 6 1.894e-06 1.894e-06 1.894e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.029e-06 1.029e-06 1.029e-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 198 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 147 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 1075 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2414 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 6758 KiB 14 MiB MLMG::prepareForSolve() 361 361 3442 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 191 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 203 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6754 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2212 B 2048 KiB Gravity::solve_for_phi() 40 40 635 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 316 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 203 KiB 671 KiB Castro::estTimeStep() 10 10 4699 B 480 KiB VisMF::Write(FabArray) 112 112 1257 B 320 KiB Castro::normalize_species() 30 30 8208 B 320 KiB amrex::average_down 469 469 1206 B 257 KiB MLMG::addInterpCorrection() 468 468 1132 B 257 KiB amrex::Dot() 592 592 3271 B 160 KiB FabArray::norminf() 398 398 2315 B 160 KiB check_for_negative_density() 5 5 327 B 160 KiB MultiFab::max() 6 6 52 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3348 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 281 B 9648 B MLCellLinOp::applyBC() 3892 3892 220 B 9344 B amrex::Copy() 56 56 6008 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 44 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 115 B 1472 B MLCellLinOp::defineBC() 36 36 355 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1452 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 111 KiB 8192 KiB VisMF::Write(FabArray) 120 120 252 KiB 3584 KiB VisMF::Read() 24 24 191 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3348 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 281 B 9648 B MLCellLinOp::applyBC() 1946 1946 218 B 9328 B amrex::Copy() 56 56 6008 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2669 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 44 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 527 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.08-23-gd92232a0c17b) finalized