Initializing AMReX (24.04-3-gd78e241d1ad4)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-3-gd78e241d1ad4) initialized Starting run at 20:34:52 UTC on 2024-04-02. Successfully read inputs file ... Castro git describe: 24.04-1-g6930369b2 AMReX git describe: 24.04-3-gd78e241d1 Microphysics git describe: 24.04 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.043828571 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024321437 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.064620117 [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.069649954 [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.076539166 [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.067209355 [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.062970157 [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.04367898 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.049967697 [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.070455464 [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.070043136 [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.061319909 [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.065967852 [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.042014697 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024169627 seconds Ending run at 20:34:53 UTC on 2024-04-02. Run time = 0.891053985 Run time without initialization = 0.769244584 Average number of zones advanced per microsecond: 3.408 Average number of zones advanced per microsecond per rank: 3.408 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8911 ... 0.8911 ... 0.8911 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2833 0.2833 0.2833 31.79% VisMF::Write(FabArray) 11 0.1694 0.1694 0.1694 19.01% MLCellLinOp::applyBC() 4351 0.08004 0.08004 0.08004 8.98% MLPoisson::Fsmooth() 3280 0.03281 0.03281 0.03281 3.68% FillBoundary_nowait() 3941 0.03051 0.03051 0.03051 3.42% StateData::FillBoundary(geom) 328 0.02559 0.02559 0.02559 2.87% amrex::Dot() 1114 0.02102 0.02102 0.02102 2.36% Castro::normalize_species() 62 0.02059 0.02059 0.02059 2.31% FabArray::norminf() 1061 0.01944 0.01944 0.01944 2.18% Castro::computeTemp() 63 0.01482 0.01482 0.01482 1.66% FabArray::ParallelCopy_nowait() 861 0.01361 0.01361 0.01361 1.53% FabArray::setVal() 1062 0.01332 0.01332 0.01332 1.49% FabArray::Saxpy() 1370 0.01291 0.01291 0.01291 1.45% amrex::average_down 410 0.01289 0.01289 0.01289 1.45% StateDataPhysBCFunct::() 41 0.01112 0.01112 0.01112 1.25% Castro::enforce_min_density() 62 0.01092 0.01092 0.01092 1.23% amrex::Copy() 472 0.01084 0.01084 0.01084 1.22% MLCellLinOp::defineAuxData() 11 0.01019 0.01019 0.01019 1.14% MLPoisson::Fapply() 1060 0.01008 0.01008 0.01008 1.13% Gravity::fill_multipole_BCs() 11 0.00875 0.00875 0.00875 0.98% FabArray::Xpay() 739 0.007696 0.007696 0.007696 0.86% MLMG::addInterpCorrection() 410 0.006949 0.006949 0.006949 0.78% Amr::checkPoint() 3 0.006064 0.006064 0.006064 0.68% Castro::estTimeStep() 21 0.005617 0.005617 0.005617 0.63% Castro::reset_internal_energy(MultiFab) 63 0.004989 0.004989 0.004989 0.56% BndryData::define() 11 0.003837 0.003837 0.003837 0.43% amrex::Add() 82 0.003626 0.003626 0.003626 0.41% Castro::construct_new_gravity_source() 10 0.002833 0.002833 0.002833 0.32% Castro::construct_old_gravity_source() 10 0.002322 0.002322 0.002322 0.26% Amr::writePlotFile() 2 0.002133 0.002133 0.002133 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001777 0.001777 0.001777 0.20% MLCGSolver::bicgstab 82 0.001663 0.001663 0.001663 0.19% Castro::enforce_speed_limit() 62 0.001639 0.001639 0.001639 0.18% check_for_negative_density() 10 0.001619 0.001619 0.001619 0.18% Castro::reset_internal_energy(Fab) 504 0.001618 0.001618 0.001618 0.18% MLCellLinOp::setLevelBC() 11 0.00158 0.00158 0.00158 0.18% Gravity::actual_solve_with_mlmg() 11 0.001536 0.001536 0.001536 0.17% Castro::initData() 1 0.001386 0.001386 0.001386 0.16% FabArray::mult() 43 0.001365 0.001365 0.001365 0.15% FabArray::setDomainBndry() 41 0.001352 0.001352 0.001352 0.15% MLCellLinOp::prepareForSolve() 11 0.001313 0.001313 0.001313 0.15% MultiFab::contains_nan() 20 0.001249 0.001249 0.001249 0.14% MLCellLinOp::smooth() 1640 0.001223 0.001223 0.001223 0.14% MLCellLinOp::compGrad() 11 0.001078 0.001078 0.001078 0.12% MLMG::prepareForSolve() 11 0.0009396 0.0009396 0.0009396 0.11% FabArrayBase::getCPC() 1323 0.0008381 0.0008381 0.0008381 0.09% FabArray::FillBoundary() 3941 0.0007761 0.0007761 0.0007761 0.09% FabArrayBase::CPC::define() 454 0.0006799 0.0006799 0.0006799 0.08% FabArrayBase::getFB() 3941 0.0006375 0.0006375 0.0006375 0.07% Gravity::get_new_grav_vector() 11 0.0006082 0.0006082 0.0006082 0.07% Amr::InitAmr() 1 0.0005518 0.0005518 0.0005518 0.06% Gravity::get_old_grav_vector() 10 0.0004806 0.0004806 0.0004806 0.05% MLCellLinOp::apply() 1060 0.0004453 0.0004453 0.0004453 0.05% AmrLevel::FillPatch() 41 0.0004119 0.0004119 0.0004119 0.05% MultiFab::max() 11 0.0003307 0.0003307 0.0003307 0.04% Amr::coarseTimeStep() 10 0.0003159 0.0003159 0.0003159 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003088 0.0003088 0.0003088 0.03% FabArray::ParallelCopy() 861 0.0002887 0.0002887 0.0002887 0.03% main() 1 0.0002727 0.0002727 0.0002727 0.03% MLCellLinOp::defineBC() 11 0.0002586 0.0002586 0.0002586 0.03% FillPatchIterator::Initialize 41 0.0002259 0.0002259 0.0002259 0.03% MLMG::mgVcycle() 82 0.0001994 0.0001994 0.0001994 0.02% MLLinOp::defineGrids() 11 0.0001763 0.0001763 0.0001763 0.02% Amr::timeStep() 10 0.0001734 0.0001734 0.0001734 0.02% Castro::create_source_corrector() 10 0.0001722 0.0001722 0.0001722 0.02% Castro::subcycle_advance_ctu() 10 0.0001712 0.0001712 0.0001712 0.02% MLCellLinOp::correctionResidual() 410 0.0001648 0.0001648 0.0001648 0.02% Gravity::update_max_rhs() 11 0.0001307 0.0001307 0.0001307 0.01% MLMG:computeResOfCorrection() 410 0.0001186 0.0001186 0.0001186 0.01% StateData::checkPoint() 12 0.0001158 0.0001158 0.0001158 0.01% Gravity::solve_for_phi() 10 0.0001098 0.0001098 0.0001098 0.01% Castro::construct_new_source() 50 0.0001022 0.0001022 0.0001022 0.01% MLMG::actualBottomSolve() 82 9.12e-05 9.12e-05 9.12e-05 0.01% Castro::advance() 10 8.984e-05 8.984e-05 8.984e-05 0.01% Castro::Castro() 1 8.877e-05 8.877e-05 8.877e-05 0.01% FabArrayBase::FB::FB() 56 8.298e-05 8.298e-05 8.298e-05 0.01% Castro::clean_state() 62 8.003e-05 8.003e-05 8.003e-05 0.01% MLMG::mgVcycle_down::1 82 7.931e-05 7.931e-05 7.931e-05 0.01% Castro::initialize_advance() 10 7.829e-05 7.829e-05 7.829e-05 0.01% MLMG::mgVcycle_down::0 82 7.82e-05 7.82e-05 7.82e-05 0.01% Castro::finalize_advance() 10 7.641e-05 7.641e-05 7.641e-05 0.01% MLMG::mgVcycle_down::2 82 7.34e-05 7.34e-05 7.34e-05 0.01% MLMG::solve() 11 7.16e-05 7.16e-05 7.16e-05 0.01% MLMG::mgVcycle_down::4 82 7.045e-05 7.045e-05 7.045e-05 0.01% Castro::enforce_consistent_e() 1 6.904e-05 6.904e-05 6.904e-05 0.01% MLMG::mgVcycle_down::3 82 6.623e-05 6.623e-05 6.623e-05 0.01% AmrLevel::checkPoint() 3 6.326e-05 6.326e-05 6.326e-05 0.01% FillPatchSingleLevel 41 5.827e-05 5.827e-05 5.827e-05 0.01% Castro::initialize_do_advance() 10 5.736e-05 5.736e-05 5.736e-05 0.01% MLMG::oneIter() 82 5.629e-05 5.629e-05 5.629e-05 0.01% MLMG::mgVcycle_up::4 82 5.285e-05 5.285e-05 5.285e-05 0.01% MLMG::mgVcycle_up::0 82 5.104e-05 5.104e-05 5.104e-05 0.01% MLMG::mgVcycle_up::3 82 4.85e-05 4.85e-05 4.85e-05 0.01% MLCellLinOp::solutionResidual() 93 4.815e-05 4.815e-05 4.815e-05 0.01% MLMG::mgVcycle_up::1 82 4.805e-05 4.805e-05 4.805e-05 0.01% MLMG::mgVcycle_up::2 82 4.751e-05 4.751e-05 4.751e-05 0.01% Castro::finalize_do_advance() 10 4.732e-05 4.732e-05 4.732e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.68e-05 4.68e-05 4.68e-05 0.01% Castro::do_advance_ctu() 10 4.622e-05 4.622e-05 4.622e-05 0.01% StateData::define() 4 3.929e-05 3.929e-05 3.929e-05 0.00% Castro::post_timestep() 10 3.926e-05 3.926e-05 3.926e-05 0.00% Castro::swap_state_time_levels() 10 3.881e-05 3.881e-05 3.881e-05 0.00% Amr::writeSmallPlotFile() 1 3.485e-05 3.485e-05 3.485e-05 0.00% MLMG::mgVcycle_bottom 82 3.407e-05 3.407e-05 3.407e-05 0.00% MLMG::ResNormInf() 93 3.253e-05 3.253e-05 3.253e-05 0.00% Amr::defBaseLevel() 1 3.219e-05 3.219e-05 3.219e-05 0.00% MLMG::computeResidual() 82 3.099e-05 3.099e-05 3.099e-05 0.00% Castro::initMFs() 1 2.792e-05 2.792e-05 2.792e-05 0.00% MLPoisson::define() 11 2.682e-05 2.682e-05 2.682e-05 0.00% makeSFC 55 2.568e-05 2.568e-05 2.568e-05 0.00% Castro::construct_new_gravity() 10 2.549e-05 2.549e-05 2.549e-05 0.00% Castro::buildMetrics() 1 2.407e-05 2.407e-05 2.407e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.372e-05 2.372e-05 2.372e-05 0.00% Castro::do_new_sources() 10 2.235e-05 2.235e-05 2.235e-05 0.00% Castro::do_old_sources() 10 2.073e-05 2.073e-05 2.073e-05 0.00% Castro::construct_old_source() 50 1.997e-05 1.997e-05 1.997e-05 0.00% Amr::FinalizeInit() 1 1.942e-05 1.942e-05 1.942e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.815e-05 1.815e-05 1.815e-05 0.00% DistributionMapping::Distribute() 56 1.679e-05 1.679e-05 1.679e-05 0.00% Gravity::actual_multilevel_solve() 1 1.499e-05 1.499e-05 1.499e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.389e-05 1.389e-05 1.389e-05 0.00% MLLinOp::define() 11 1.275e-05 1.275e-05 1.275e-05 0.00% Castro::apply_source_to_state() 20 1.22e-05 1.22e-05 1.22e-05 0.00% Castro::check_for_nan() 20 1.199e-05 1.199e-05 1.199e-05 0.00% Amr::initSubcycle() 1 1.016e-05 1.016e-05 1.016e-05 0.00% Castro::construct_old_gravity() 10 9.937e-06 9.937e-06 9.937e-06 0.00% Gravity::swapTimeLevels() 10 9.177e-06 9.177e-06 9.177e-06 0.00% AmrLevel::AmrLevel(dm) 1 7.999e-06 7.999e-06 7.999e-06 0.00% MLMG::computeMLResidual() 11 7.936e-06 7.936e-06 7.936e-06 0.00% Castro::computeNewDt() 9 6.679e-06 6.679e-06 6.679e-06 0.00% MLPoisson::prepareForSolve() 11 6.626e-06 6.626e-06 6.626e-06 0.00% AmrLevel::checkPointPost() 3 6.184e-06 6.184e-06 6.184e-06 0.00% MLMG::getGradSolution() 11 6.067e-06 6.067e-06 6.067e-06 0.00% Castro::expand_state() 10 5.619e-06 5.619e-06 5.619e-06 0.00% Amr::InitializeInit() 1 5.159e-06 5.159e-06 5.159e-06 0.00% Castro::post_init() 1 4.912e-06 4.912e-06 4.912e-06 0.00% Castro::retry_advance_ctu() 10 4.682e-06 4.682e-06 4.682e-06 0.00% Gravity::set_mass_offset() 11 4.256e-06 4.256e-06 4.256e-06 0.00% MLMG::MLRhsNormInf() 11 3.981e-06 3.981e-06 3.981e-06 0.00% MLMG::MLResNormInf() 11 3.488e-06 3.488e-06 3.488e-06 0.00% Castro::FluxRegCrseInit 10 3.475e-06 3.475e-06 3.475e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.405e-06 3.405e-06 3.405e-06 0.00% Amr::init() 1 3.147e-06 3.147e-06 3.147e-06 0.00% Castro::computeInitialDt() 2 2.816e-06 2.816e-06 2.816e-06 0.00% Castro::FluxRegFineAdd() 10 2.672e-06 2.672e-06 2.672e-06 0.00% AmrLevel::checkPointPre() 3 2.272e-06 2.272e-06 2.272e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.268e-06 2.268e-06 2.268e-06 0.00% Castro::post_regrid() 1 1.155e-06 1.155e-06 1.155e-06 0.00% Amr::initialInit() 1 9.74e-07 9.74e-07 9.74e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8911 0.8911 0.8911 100.00% Amr::coarseTimeStep() 10 0.7448 0.7448 0.7448 83.59% Amr::timeStep() 10 0.6557 0.6557 0.6557 73.58% Castro::advance() 10 0.6457 0.6457 0.6457 72.46% Castro::subcycle_advance_ctu() 10 0.6314 0.6314 0.6314 70.86% Castro::do_advance_ctu() 10 0.6312 0.6312 0.6312 70.84% Gravity::solve_phi_with_mlmg() 11 0.2969 0.2969 0.2969 33.31% Castro::construct_ctu_hydro_source() 10 0.2936 0.2936 0.2936 32.94% Gravity::actual_solve_with_mlmg() 11 0.2876 0.2876 0.2876 32.28% Castro::construct_new_gravity() 10 0.2684 0.2684 0.2684 30.12% MLMG::solve() 11 0.2659 0.2659 0.2659 29.84% Gravity::solve_for_phi() 10 0.2528 0.2528 0.2528 28.37% MLMG::oneIter() 82 0.2506 0.2506 0.2506 28.13% MLMG::mgVcycle() 82 0.247 0.247 0.247 27.72% VisMF::Write(FabArray) 11 0.1694 0.1694 0.1694 19.01% Amr::checkPoint() 3 0.1296 0.1296 0.1296 14.55% AmrLevel::checkPoint() 3 0.1236 0.1236 0.1236 13.87% StateData::checkPoint() 12 0.1235 0.1235 0.1235 13.86% Amr::init() 1 0.1211 0.1211 0.1211 13.60% MLCellLinOp::smooth() 1640 0.1202 0.1202 0.1202 13.49% MLCellLinOp::applyBC() 4351 0.112 0.112 0.112 12.57% MLMG::mgVcycle_bottom 82 0.07145 0.07145 0.07145 8.02% MLMG::actualBottomSolve() 82 0.07142 0.07142 0.07142 8.01% MLCGSolver::bicgstab 82 0.07061 0.07061 0.07061 7.92% Castro::clean_state() 62 0.05383 0.05383 0.05383 6.04% Amr::initialInit() 1 0.05288 0.05288 0.05288 5.93% Amr::writePlotFile() 2 0.04863 0.04863 0.04863 5.46% Amr::FinalizeInit() 1 0.04819 0.04819 0.04819 5.41% AmrLevel::FillPatch() 41 0.0468 0.0468 0.0468 5.25% Castro::post_init() 1 0.04672 0.04672 0.04672 5.24% Gravity::multilevel_solve_for_new_phi() 1 0.04451 0.04451 0.04451 4.99% Gravity::actual_multilevel_solve() 1 0.04449 0.04449 0.04449 4.99% FillPatchIterator::Initialize 41 0.04251 0.04251 0.04251 4.77% MLMG::mgVcycle_down::0 82 0.04127 0.04127 0.04127 4.63% FillPatchIterator::FillFromLevel0() 41 0.04093 0.04093 0.04093 4.59% FillPatchSingleLevel 41 0.04088 0.04088 0.04088 4.59% StateDataPhysBCFunct::() 41 0.0367 0.0367 0.0367 4.12% MLCellLinOp::apply() 1060 0.03589 0.03589 0.03589 4.03% MLPoisson::Fsmooth() 3280 0.03281 0.03281 0.03281 3.68% FabArray::FillBoundary() 3941 0.03201 0.03201 0.03201 3.59% FillBoundary_nowait() 3941 0.03123 0.03123 0.03123 3.50% MLMG::mgVcycle_up::0 82 0.02603 0.02603 0.02603 2.92% StateData::FillBoundary(geom) 328 0.02559 0.02559 0.02559 2.87% Castro::computeTemp() 63 0.02142 0.02142 0.02142 2.40% amrex::Dot() 1114 0.02102 0.02102 0.02102 2.36% Castro::normalize_species() 62 0.02059 0.02059 0.02059 2.31% Castro::initialize_do_advance() 10 0.02039 0.02039 0.02039 2.29% MLMG:computeResOfCorrection() 410 0.02013 0.02013 0.02013 2.26% MLCellLinOp::correctionResidual() 410 0.02001 0.02001 0.02001 2.25% FabArray::norminf() 1061 0.01944 0.01944 0.01944 2.18% amrex::average_down 410 0.01829 0.01829 0.01829 2.05% Castro::do_old_sources() 10 0.01772 0.01772 0.01772 1.99% Gravity::get_new_grav_vector() 11 0.01739 0.01739 0.01739 1.95% MLPoisson::define() 11 0.017 0.017 0.017 1.91% MLMG::mgVcycle_down::1 82 0.01656 0.01656 0.01656 1.86% Castro::construct_old_gravity() 10 0.01529 0.01529 0.01529 1.72% Gravity::get_old_grav_vector() 10 0.01528 0.01528 0.01528 1.72% MLMG::mgVcycle_down::2 82 0.01521 0.01521 0.01521 1.71% MLMG::mgVcycle_down::3 82 0.01483 0.01483 0.01483 1.66% FabArray::ParallelCopy() 861 0.01475 0.01475 0.01475 1.66% MLMG::mgVcycle_down::4 82 0.01471 0.01471 0.01471 1.65% FabArray::ParallelCopy_nowait() 861 0.01446 0.01446 0.01446 1.62% Castro::initialize_advance() 10 0.01353 0.01353 0.01353 1.52% FabArray::setVal() 1062 0.01332 0.01332 0.01332 1.49% FabArray::Saxpy() 1370 0.01291 0.01291 0.01291 1.45% Castro::do_new_sources() 10 0.01257 0.01257 0.01257 1.41% MLCGSolver::ParallelAllReduce 1832 0.01256 0.01256 0.01256 1.41% MLMG::addInterpCorrection() 410 0.01218 0.01218 0.01218 1.37% MLMG::mgVcycle_up::1 82 0.01189 0.01189 0.01189 1.33% MLMG::mgVcycle_up::4 82 0.0118 0.0118 0.0118 1.32% MLCellLinOp::defineAuxData() 11 0.01163 0.01163 0.01163 1.30% MLMG::mgVcycle_up::2 82 0.0116 0.0116 0.0116 1.30% MLMG::mgVcycle_up::3 82 0.0114 0.0114 0.0114 1.28% Castro::expand_state() 10 0.01139 0.01139 0.01139 1.28% Castro::enforce_min_density() 62 0.01092 0.01092 0.01092 1.23% amrex::Copy() 472 0.01084 0.01084 0.01084 1.22% MLPoisson::Fapply() 1060 0.01008 0.01008 0.01008 1.13% Castro::post_timestep() 10 0.009824 0.009824 0.009824 1.10% Gravity::fill_multipole_BCs() 11 0.008984 0.008984 0.008984 1.01% MLCellLinOp::solutionResidual() 93 0.007734 0.007734 0.007734 0.87% FabArray::Xpay() 739 0.007696 0.007696 0.007696 0.86% Castro::reset_internal_energy(MultiFab) 63 0.006607 0.006607 0.006607 0.74% MLMG::computeResidual() 82 0.006493 0.006493 0.006493 0.73% Castro::estTimeStep() 21 0.005617 0.005617 0.005617 0.63% MLCellLinOp::defineBC() 11 0.005099 0.005099 0.005099 0.57% MLMG::prepareForSolve() 11 0.005051 0.005051 0.005051 0.57% BndryData::define() 11 0.00484 0.00484 0.00484 0.54% Amr::InitializeInit() 1 0.004687 0.004687 0.004687 0.53% Amr::defBaseLevel() 1 0.004682 0.004682 0.004682 0.53% Castro::initData() 1 0.004012 0.004012 0.004012 0.45% amrex::Add() 82 0.003626 0.003626 0.003626 0.41% Castro::construct_new_source() 50 0.002935 0.002935 0.002935 0.33% Castro::construct_new_gravity_source() 10 0.002833 0.002833 0.002833 0.32% Castro::computeNewDt() 9 0.002411 0.002411 0.002411 0.27% Castro::construct_old_source() 50 0.002342 0.002342 0.002342 0.26% Castro::finalize_do_advance() 10 0.002328 0.002328 0.002328 0.26% Castro::construct_old_gravity_source() 10 0.002322 0.002322 0.002322 0.26% MLMG::ResNormInf() 93 0.002157 0.002157 0.002157 0.24% Castro::apply_source_to_state() 20 0.001877 0.001877 0.001877 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001777 0.001777 0.001777 0.20% Castro::enforce_speed_limit() 62 0.001639 0.001639 0.001639 0.18% check_for_negative_density() 10 0.001619 0.001619 0.001619 0.18% Castro::reset_internal_energy(Fab) 504 0.001618 0.001618 0.001618 0.18% MLMG::getGradSolution() 11 0.001593 0.001593 0.001593 0.18% MLCellLinOp::compGrad() 11 0.001587 0.001587 0.001587 0.18% MLCellLinOp::setLevelBC() 11 0.00158 0.00158 0.00158 0.18% FabArrayBase::getCPC() 1323 0.001518 0.001518 0.001518 0.17% FabArray::mult() 43 0.001365 0.001365 0.001365 0.15% FabArray::setDomainBndry() 41 0.001352 0.001352 0.001352 0.15% MLPoisson::prepareForSolve() 11 0.001319 0.001319 0.001319 0.15% MLCellLinOp::prepareForSolve() 11 0.001313 0.001313 0.001313 0.15% MLMG::computeMLResidual() 11 0.00128 0.00128 0.00128 0.14% Castro::check_for_nan() 20 0.001261 0.001261 0.001261 0.14% MultiFab::contains_nan() 20 0.001249 0.001249 0.001249 0.14% Castro::post_regrid() 1 0.00118 0.00118 0.00118 0.13% Gravity::update_max_rhs() 11 0.0009846 0.0009846 0.0009846 0.11% Castro::computeInitialDt() 2 0.0009354 0.0009354 0.0009354 0.10% FabArrayBase::getFB() 3941 0.0007205 0.0007205 0.0007205 0.08% FabArrayBase::CPC::define() 454 0.0006799 0.0006799 0.0006799 0.08% Castro::finalize_advance() 10 0.0006342 0.0006342 0.0006342 0.07% Castro::Castro() 1 0.0005867 0.0005867 0.0005867 0.07% Amr::InitAmr() 1 0.0005619 0.0005619 0.0005619 0.06% Gravity::swapTimeLevels() 10 0.0004675 0.0004675 0.0004675 0.05% MultiFab::max() 11 0.0003307 0.0003307 0.0003307 0.04% MLMG::MLResNormInf() 11 0.0003238 0.0003238 0.0003238 0.04% Castro::buildMetrics() 1 0.0002986 0.0002986 0.0002986 0.03% MLLinOp::define() 11 0.0002466 0.0002466 0.0002466 0.03% MLLinOp::defineGrids() 11 0.0002339 0.0002339 0.0002339 0.03% MLMG::MLRhsNormInf() 11 0.0002265 0.0002265 0.0002265 0.03% Castro::create_source_corrector() 10 0.0001722 0.0001722 0.0001722 0.02% FabArrayBase::FB::FB() 56 8.298e-05 8.298e-05 8.298e-05 0.01% Castro::enforce_consistent_e() 1 6.904e-05 6.904e-05 6.904e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.532e-05 5.532e-05 5.532e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.729e-05 4.729e-05 4.729e-05 0.01% makeSFC 55 4.143e-05 4.143e-05 4.143e-05 0.00% StateData::define() 4 3.929e-05 3.929e-05 3.929e-05 0.00% Castro::swap_state_time_levels() 10 3.881e-05 3.881e-05 3.881e-05 0.00% Amr::writeSmallPlotFile() 1 3.485e-05 3.485e-05 3.485e-05 0.00% Castro::initMFs() 1 2.792e-05 2.792e-05 2.792e-05 0.00% DistributionMapping::Distribute() 56 1.679e-05 1.679e-05 1.679e-05 0.00% Amr::initSubcycle() 1 1.016e-05 1.016e-05 1.016e-05 0.00% AmrLevel::checkPointPost() 3 6.184e-06 6.184e-06 6.184e-06 0.00% Castro::retry_advance_ctu() 10 4.682e-06 4.682e-06 4.682e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.441e-06 4.441e-06 4.441e-06 0.00% Gravity::set_mass_offset() 11 4.256e-06 4.256e-06 4.256e-06 0.00% Castro::FluxRegCrseInit 10 3.475e-06 3.475e-06 3.475e-06 0.00% Castro::FluxRegFineAdd() 10 2.672e-06 2.672e-06 2.672e-06 0.00% AmrLevel::checkPointPre() 3 2.272e-06 2.272e-06 2.272e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.268e-06 2.268e-06 2.268e-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 5558 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 1015 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1521 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3671 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 202 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2135 B 2048 KiB Gravity::solve_for_phi() 80 80 580 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 335 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 213 KiB 671 KiB Castro::estTimeStep() 21 21 3073 B 480 KiB VisMF::Write(FabArray) 656 656 3419 B 320 KiB Castro::normalize_species() 62 62 7527 B 320 KiB amrex::average_down 1067 1067 3653 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1174 B 257 KiB amrex::Dot() 1360 1360 3478 B 160 KiB FabArray::norminf() 1143 1143 3370 B 160 KiB check_for_negative_density() 10 10 291 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 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3586 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 297 B 9648 B MLCellLinOp::applyBC() 8702 8702 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3959 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 378 B 1248 B MLCGSolver::bicgstab 410 410 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 556 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 410 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3586 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 297 B 9648 B MLCellLinOp::applyBC() 4351 4351 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3959 B 6144 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 625 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 305 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [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-3-gd78e241d1ad4) finalized Initializing AMReX (24.04-3-gd78e241d1ad4)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-3-gd78e241d1ad4) initialized Starting run at 20:34:53 UTC on 2024-04-02. Successfully read inputs file ... Castro git describe: 24.04-1-g6930369b2 AMReX git describe: 24.04-3-gd78e241d1 Microphysics git describe: 24.04 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.50652122 Restart time = 0.071620065 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.066581359 [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.051659437 [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.066715654 [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.070773046 [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.06980634 [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.026488198 seconds Ending run at 20:34:54 UTC on 2024-04-02. Run time = 0.42466192 Run time without initialization = 0.352421097 Average number of zones advanced per microsecond: 3.719 Average number of zones advanced per microsecond per rank: 3.719 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4247 ... 0.4247 ... 0.4247 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1385 0.1385 0.1385 32.61% VisMF::Read() 3 0.06047 0.06047 0.06047 14.24% MLCellLinOp::applyBC() 1910 0.03508 0.03508 0.03508 8.26% VisMF::Write(FabArray) 1 0.02383 0.02383 0.02383 5.61% MLPoisson::Fsmooth() 1440 0.01441 0.01441 0.01441 3.39% FillBoundary_nowait() 1730 0.01311 0.01311 0.01311 3.09% StateData::FillBoundary(geom) 160 0.01287 0.01287 0.01287 3.03% Castro::normalize_species() 30 0.009074 0.009074 0.009074 2.14% amrex::Dot() 484 0.008994 0.008994 0.008994 2.12% FabArray::norminf() 465 0.008459 0.008459 0.008459 1.99% Castro::computeTemp() 30 0.006781 0.006781 0.006781 1.60% FabArray::setVal() 501 0.00649 0.00649 0.00649 1.53% FabArray::ParallelCopy_nowait() 380 0.006091 0.006091 0.006091 1.43% FabArray::Saxpy() 597 0.005739 0.005739 0.005739 1.35% MLCellLinOp::defineAuxData() 6 0.005415 0.005415 0.005415 1.28% amrex::Copy() 221 0.005407 0.005407 0.005407 1.27% Gravity::fill_multipole_BCs() 6 0.00526 0.00526 0.00526 1.24% Castro::enforce_min_density() 30 0.00518 0.00518 0.00518 1.22% Amr::restart() 1 0.004887 0.004887 0.004887 1.15% StateDataPhysBCFunct::() 20 0.00486 0.00486 0.00486 1.14% MLPoisson::Fapply() 464 0.004392 0.004392 0.004392 1.03% FabArray::Xpay() 325 0.003409 0.003409 0.003409 0.80% MLMG::addInterpCorrection() 180 0.00308 0.00308 0.00308 0.73% amrex::average_down 180 0.002714 0.002714 0.002714 0.64% Amr::writePlotFile() 1 0.002491 0.002491 0.002491 0.59% Castro::estTimeStep() 10 0.002394 0.002394 0.002394 0.56% BndryData::define() 6 0.002099 0.002099 0.002099 0.49% Castro::reset_internal_energy(MultiFab) 30 0.001967 0.001967 0.001967 0.46% amrex::Add() 36 0.001539 0.001539 0.001539 0.36% Castro::construct_new_gravity_source() 5 0.001379 0.001379 0.001379 0.32% Castro::subcycle_advance_ctu() 5 0.001309 0.001309 0.001309 0.31% Castro::construct_old_gravity_source() 5 0.001088 0.001088 0.001088 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009537 0.0009537 0.0009537 0.22% Gravity::actual_solve_with_mlmg() 6 0.0008574 0.0008574 0.0008574 0.20% MLCellLinOp::setLevelBC() 6 0.0008562 0.0008562 0.0008562 0.20% check_for_negative_density() 5 0.0008377 0.0008377 0.0008377 0.20% Castro::reset_internal_energy(Fab) 240 0.0008023 0.0008023 0.0008023 0.19% MLCellLinOp::prepareForSolve() 6 0.0007544 0.0007544 0.0007544 0.18% MLCGSolver::bicgstab 36 0.0007465 0.0007465 0.0007465 0.18% FabArray::mult() 22 0.0006884 0.0006884 0.0006884 0.16% FabArray::setDomainBndry() 20 0.0006742 0.0006742 0.0006742 0.16% MultiFab::contains_nan() 10 0.0006593 0.0006593 0.0006593 0.16% MLCellLinOp::compGrad() 6 0.0006001 0.0006001 0.0006001 0.14% MLCellLinOp::smooth() 720 0.0005577 0.0005577 0.0005577 0.13% MLMG::prepareForSolve() 6 0.0005511 0.0005511 0.0005511 0.13% Amr::InitAmr() 1 0.000462 0.000462 0.000462 0.11% Castro::enforce_speed_limit() 30 0.0004447 0.0004447 0.0004447 0.10% FabArrayBase::CPC::define() 244 0.0004256 0.0004256 0.0004256 0.10% FabArrayBase::getCPC() 632 0.0003925 0.0003925 0.0003925 0.09% FabArray::FillBoundary() 1730 0.0003432 0.0003432 0.0003432 0.08% Gravity::get_old_grav_vector() 5 0.0002979 0.0002979 0.0002979 0.07% FabArrayBase::getFB() 1730 0.0002673 0.0002673 0.0002673 0.06% main() 1 0.0002464 0.0002464 0.0002464 0.06% Gravity::get_new_grav_vector() 5 0.0002367 0.0002367 0.0002367 0.06% AmrLevel::FillPatch() 20 0.000203 0.000203 0.000203 0.05% MultiFab::max() 6 0.0002016 0.0002016 0.0002016 0.05% MLCellLinOp::apply() 464 0.0001903 0.0001903 0.0001903 0.04% Amr::coarseTimeStep() 5 0.0001571 0.0001571 0.0001571 0.04% MLCellLinOp::defineBC() 6 0.0001408 0.0001408 0.0001408 0.03% MLCGSolver::ParallelAllReduce 798 0.0001399 0.0001399 0.0001399 0.03% FabArray::ParallelCopy() 380 0.0001184 0.0001184 0.0001184 0.03% FillPatchIterator::Initialize 20 0.0001076 0.0001076 0.0001076 0.03% MLLinOp::defineGrids() 6 0.0001057 0.0001057 0.0001057 0.02% Castro::create_source_corrector() 5 9.351e-05 9.351e-05 9.351e-05 0.02% Amr::timeStep() 5 8.642e-05 8.642e-05 8.642e-05 0.02% MLMG::mgVcycle() 36 8.402e-05 8.402e-05 8.402e-05 0.02% MLCellLinOp::correctionResidual() 180 7.613e-05 7.613e-05 7.613e-05 0.02% AmrLevel::restart() 1 7.172e-05 7.172e-05 7.172e-05 0.02% Gravity::update_max_rhs() 6 6.351e-05 6.351e-05 6.351e-05 0.01% StateData::restartDoit() 4 5.942e-05 5.942e-05 5.942e-05 0.01% FabArrayBase::FB::FB() 26 5.68e-05 5.68e-05 5.68e-05 0.01% Castro::advance() 5 5.505e-05 5.505e-05 5.505e-05 0.01% MLMG:computeResOfCorrection() 180 5.187e-05 5.187e-05 5.187e-05 0.01% Gravity::solve_for_phi() 5 5.047e-05 5.047e-05 5.047e-05 0.01% Castro::initialize_do_advance() 5 4.687e-05 4.687e-05 4.687e-05 0.01% Castro::finalize_do_advance() 5 4.268e-05 4.268e-05 4.268e-05 0.01% Castro::do_new_sources() 5 4.176e-05 4.176e-05 4.176e-05 0.01% MLMG::actualBottomSolve() 36 4.149e-05 4.149e-05 4.149e-05 0.01% Castro::construct_new_source() 25 3.691e-05 3.691e-05 3.691e-05 0.01% Castro::initialize_advance() 5 3.681e-05 3.681e-05 3.681e-05 0.01% MLMG::mgVcycle_down::0 36 3.513e-05 3.513e-05 3.513e-05 0.01% MLMG::mgVcycle_down::1 36 3.423e-05 3.423e-05 3.423e-05 0.01% MLMG::solve() 6 3.336e-05 3.336e-05 3.336e-05 0.01% Castro::clean_state() 30 3.273e-05 3.273e-05 3.273e-05 0.01% Castro::finalize_advance() 5 3.223e-05 3.223e-05 3.223e-05 0.01% MLMG::mgVcycle_down::2 36 3.183e-05 3.183e-05 3.183e-05 0.01% Castro::post_timestep() 5 3.17e-05 3.17e-05 3.17e-05 0.01% MLMG::mgVcycle_down::4 36 3.053e-05 3.053e-05 3.053e-05 0.01% MLMG::mgVcycle_down::3 36 2.974e-05 2.974e-05 2.974e-05 0.01% Amr::writeSmallPlotFile() 1 2.861e-05 2.861e-05 2.861e-05 0.01% Castro::buildMetrics() 1 2.687e-05 2.687e-05 2.687e-05 0.01% Castro::swap_state_time_levels() 5 2.554e-05 2.554e-05 2.554e-05 0.01% MLMG::mgVcycle_up::4 36 2.538e-05 2.538e-05 2.538e-05 0.01% Castro::do_advance_ctu() 5 2.452e-05 2.452e-05 2.452e-05 0.01% MLMG::oneIter() 36 2.432e-05 2.432e-05 2.432e-05 0.01% Castro::initMFs() 1 2.286e-05 2.286e-05 2.286e-05 0.01% MLCellLinOp::solutionResidual() 42 2.256e-05 2.256e-05 2.256e-05 0.01% MLMG::mgVcycle_up::3 36 2.185e-05 2.185e-05 2.185e-05 0.01% Castro::post_restart() 1 2.18e-05 2.18e-05 2.18e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.167e-05 2.167e-05 2.167e-05 0.01% MLMG::mgVcycle_up::0 36 2.15e-05 2.15e-05 2.15e-05 0.01% MLPoisson::define() 6 2.074e-05 2.074e-05 2.074e-05 0.00% MLMG::mgVcycle_up::2 36 2.005e-05 2.005e-05 2.005e-05 0.00% MLMG::mgVcycle_up::1 36 1.929e-05 1.929e-05 1.929e-05 0.00% FillPatchSingleLevel 20 1.691e-05 1.691e-05 1.691e-05 0.00% Gravity::actual_multilevel_solve() 1 1.651e-05 1.651e-05 1.651e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.635e-05 1.635e-05 1.635e-05 0.00% MLMG::mgVcycle_bottom 36 1.605e-05 1.605e-05 1.605e-05 0.00% MLMG::ResNormInf() 42 1.587e-05 1.587e-05 1.587e-05 0.00% makeSFC 30 1.435e-05 1.435e-05 1.435e-05 0.00% MLMG::computeResidual() 36 1.387e-05 1.387e-05 1.387e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.371e-05 1.371e-05 1.371e-05 0.00% Castro::construct_new_gravity() 5 1.232e-05 1.232e-05 1.232e-05 0.00% Castro::do_old_sources() 5 1.117e-05 1.117e-05 1.117e-05 0.00% Castro::construct_old_source() 25 1.057e-05 1.057e-05 1.057e-05 0.00% DistributionMapping::Distribute() 31 9.831e-06 9.831e-06 9.831e-06 0.00% Amr::initSubcycle() 1 9.423e-06 9.423e-06 9.423e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.495e-06 8.495e-06 8.495e-06 0.00% MLLinOp::define() 6 7.001e-06 7.001e-06 7.001e-06 0.00% Castro::check_for_nan() 10 6.56e-06 6.56e-06 6.56e-06 0.00% Castro::apply_source_to_state() 10 6.118e-06 6.118e-06 6.118e-06 0.00% Castro::construct_old_gravity() 5 5.432e-06 5.432e-06 5.432e-06 0.00% Gravity::swapTimeLevels() 5 4.651e-06 4.651e-06 4.651e-06 0.00% MLMG::computeMLResidual() 6 4.239e-06 4.239e-06 4.239e-06 0.00% MLPoisson::prepareForSolve() 6 3.88e-06 3.88e-06 3.88e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.596e-06 3.596e-06 3.596e-06 0.00% MLMG::getGradSolution() 6 3.554e-06 3.554e-06 3.554e-06 0.00% Castro::computeNewDt() 5 3.539e-06 3.539e-06 3.539e-06 0.00% Castro::expand_state() 5 3.157e-06 3.157e-06 3.157e-06 0.00% MLMG::MLResNormInf() 6 2.389e-06 2.389e-06 2.389e-06 0.00% Gravity::set_mass_offset() 6 2.237e-06 2.237e-06 2.237e-06 0.00% MLMG::MLRhsNormInf() 6 2.183e-06 2.183e-06 2.183e-06 0.00% Castro::retry_advance_ctu() 5 2.093e-06 2.093e-06 2.093e-06 0.00% Castro::FluxRegCrseInit 5 1.883e-06 1.883e-06 1.883e-06 0.00% Castro::FluxRegFineAdd() 5 1.144e-06 1.144e-06 1.144e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.077e-06 1.077e-06 1.077e-06 0.00% Amr::init() 1 9.23e-07 9.23e-07 9.23e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4247 0.4247 0.4247 99.99% Amr::coarseTimeStep() 5 0.3257 0.3257 0.3257 76.69% Amr::timeStep() 5 0.3239 0.3239 0.3239 76.27% Castro::advance() 5 0.3195 0.3195 0.3195 75.24% Castro::subcycle_advance_ctu() 5 0.3117 0.3117 0.3117 73.39% Castro::do_advance_ctu() 5 0.3104 0.3104 0.3104 73.08% Castro::construct_ctu_hydro_source() 5 0.1435 0.1435 0.1435 33.78% Castro::construct_new_gravity() 5 0.1337 0.1337 0.1337 31.47% Gravity::solve_phi_with_mlmg() 6 0.1308 0.1308 0.1308 30.81% Gravity::solve_for_phi() 5 0.1257 0.1257 0.1257 29.59% Gravity::actual_solve_with_mlmg() 6 0.1253 0.1253 0.1253 29.51% MLMG::solve() 6 0.1135 0.1135 0.1135 26.73% MLMG::oneIter() 36 0.1059 0.1059 0.1059 24.93% MLMG::mgVcycle() 36 0.1043 0.1043 0.1043 24.56% Amr::init() 1 0.07167 0.07167 0.07167 16.87% Amr::restart() 1 0.07167 0.07167 0.07167 16.87% AmrLevel::restart() 1 0.06083 0.06083 0.06083 14.32% StateData::restartDoit() 4 0.06075 0.06075 0.06075 14.30% VisMF::Read() 3 0.06047 0.06047 0.06047 14.24% MLCellLinOp::smooth() 720 0.05225 0.05225 0.05225 12.30% MLCellLinOp::applyBC() 1910 0.04886 0.04886 0.04886 11.50% MLMG::mgVcycle_bottom 36 0.03091 0.03091 0.03091 7.28% MLMG::actualBottomSolve() 36 0.03089 0.03089 0.03089 7.27% MLCGSolver::bicgstab 36 0.03053 0.03053 0.03053 7.19% Amr::writePlotFile() 1 0.02657 0.02657 0.02657 6.26% Castro::clean_state() 30 0.02428 0.02428 0.02428 5.72% VisMF::Write(FabArray) 1 0.02383 0.02383 0.02383 5.61% AmrLevel::FillPatch() 20 0.02273 0.02273 0.02273 5.35% FillPatchIterator::Initialize 20 0.02062 0.02062 0.02062 4.86% FillPatchIterator::FillFromLevel0() 20 0.01984 0.01984 0.01984 4.67% FillPatchSingleLevel 20 0.01982 0.01982 0.01982 4.67% StateDataPhysBCFunct::() 20 0.01773 0.01773 0.01773 4.18% MLCellLinOp::apply() 464 0.01586 0.01586 0.01586 3.74% MLMG::mgVcycle_down::0 36 0.01502 0.01502 0.01502 3.54% MLPoisson::Fsmooth() 1440 0.01441 0.01441 0.01441 3.39% FabArray::FillBoundary() 1730 0.01378 0.01378 0.01378 3.24% FillBoundary_nowait() 1730 0.01344 0.01344 0.01344 3.16% StateData::FillBoundary(geom) 160 0.01287 0.01287 0.01287 3.03% MLMG::mgVcycle_up::0 36 0.01129 0.01129 0.01129 2.66% Castro::initialize_do_advance() 5 0.009967 0.009967 0.009967 2.35% Castro::computeTemp() 30 0.00955 0.00955 0.00955 2.25% MLPoisson::define() 6 0.00918 0.00918 0.00918 2.16% Castro::normalize_species() 30 0.009074 0.009074 0.009074 2.14% amrex::Dot() 484 0.008994 0.008994 0.008994 2.12% Castro::do_old_sources() 5 0.008828 0.008828 0.008828 2.08% MLMG:computeResOfCorrection() 180 0.008789 0.008789 0.008789 2.07% MLCellLinOp::correctionResidual() 180 0.008737 0.008737 0.008737 2.06% FabArray::norminf() 465 0.008459 0.008459 0.008459 1.99% Gravity::get_new_grav_vector() 5 0.007897 0.007897 0.007897 1.86% Castro::construct_old_gravity() 5 0.00768 0.00768 0.00768 1.81% Gravity::get_old_grav_vector() 5 0.007674 0.007674 0.007674 1.81% Castro::initialize_advance() 5 0.007498 0.007498 0.007498 1.77% MLMG::mgVcycle_down::1 36 0.007226 0.007226 0.007226 1.70% MLMG::mgVcycle_down::2 36 0.006626 0.006626 0.006626 1.56% FabArray::ParallelCopy() 380 0.006622 0.006622 0.006622 1.56% FabArray::ParallelCopy_nowait() 380 0.006503 0.006503 0.006503 1.53% FabArray::setVal() 501 0.00649 0.00649 0.00649 1.53% MLMG::mgVcycle_down::3 36 0.006479 0.006479 0.006479 1.53% MLMG::mgVcycle_down::4 36 0.006397 0.006397 0.006397 1.51% MLCellLinOp::defineAuxData() 6 0.0062 0.0062 0.0062 1.46% Castro::post_restart() 1 0.00577 0.00577 0.00577 1.36% FabArray::Saxpy() 597 0.005739 0.005739 0.005739 1.35% Castro::expand_state() 5 0.005701 0.005701 0.005701 1.34% Castro::do_new_sources() 5 0.005453 0.005453 0.005453 1.28% MLCGSolver::ParallelAllReduce 798 0.005439 0.005439 0.005439 1.28% Gravity::multilevel_solve_for_new_phi() 1 0.005415 0.005415 0.005415 1.27% amrex::Copy() 221 0.005407 0.005407 0.005407 1.27% Gravity::actual_multilevel_solve() 1 0.005398 0.005398 0.005398 1.27% Gravity::fill_multipole_BCs() 6 0.005388 0.005388 0.005388 1.27% MLMG::addInterpCorrection() 180 0.005345 0.005345 0.005345 1.26% Castro::enforce_min_density() 30 0.00518 0.00518 0.00518 1.22% MLMG::mgVcycle_up::4 36 0.005158 0.005158 0.005158 1.21% MLMG::mgVcycle_up::1 36 0.005139 0.005139 0.005139 1.21% MLMG::mgVcycle_up::2 36 0.005043 0.005043 0.005043 1.19% amrex::average_down 180 0.005003 0.005003 0.005003 1.18% MLMG::mgVcycle_up::3 36 0.004961 0.004961 0.004961 1.17% MLPoisson::Fapply() 464 0.004392 0.004392 0.004392 1.03% Castro::post_timestep() 5 0.00429 0.00429 0.00429 1.01% MLCellLinOp::solutionResidual() 42 0.003658 0.003658 0.003658 0.86% FabArray::Xpay() 325 0.003409 0.003409 0.003409 0.80% MLMG::computeResidual() 36 0.002865 0.002865 0.002865 0.67% MLMG::prepareForSolve() 6 0.002831 0.002831 0.002831 0.67% MLCellLinOp::defineBC() 6 0.002814 0.002814 0.002814 0.66% Castro::reset_internal_energy(MultiFab) 30 0.00277 0.00277 0.00277 0.65% BndryData::define() 6 0.002673 0.002673 0.002673 0.63% Castro::estTimeStep() 10 0.002394 0.002394 0.002394 0.56% Castro::computeNewDt() 5 0.001609 0.001609 0.001609 0.38% amrex::Add() 36 0.001539 0.001539 0.001539 0.36% Castro::construct_new_source() 25 0.001416 0.001416 0.001416 0.33% Castro::construct_new_gravity_source() 5 0.001379 0.001379 0.001379 0.32% Castro::construct_old_source() 25 0.001098 0.001098 0.001098 0.26% Castro::construct_old_gravity_source() 5 0.001088 0.001088 0.001088 0.26% MLMG::ResNormInf() 42 0.0009836 0.0009836 0.0009836 0.23% Castro::apply_source_to_state() 10 0.0009594 0.0009594 0.0009594 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009537 0.0009537 0.0009537 0.22% MLMG::getGradSolution() 6 0.000893 0.000893 0.000893 0.21% MLCellLinOp::compGrad() 6 0.0008895 0.0008895 0.0008895 0.21% MLCellLinOp::setLevelBC() 6 0.0008562 0.0008562 0.0008562 0.20% check_for_negative_density() 5 0.0008377 0.0008377 0.0008377 0.20% Castro::finalize_do_advance() 5 0.0008315 0.0008315 0.0008315 0.20% FabArrayBase::getCPC() 632 0.0008181 0.0008181 0.0008181 0.19% MLMG::computeMLResidual() 6 0.0008109 0.0008109 0.0008109 0.19% Castro::reset_internal_energy(Fab) 240 0.0008023 0.0008023 0.0008023 0.19% MLPoisson::prepareForSolve() 6 0.0007583 0.0007583 0.0007583 0.18% MLCellLinOp::prepareForSolve() 6 0.0007544 0.0007544 0.0007544 0.18% Gravity::update_max_rhs() 6 0.000701 0.000701 0.000701 0.17% FabArray::mult() 22 0.0006884 0.0006884 0.0006884 0.16% FabArray::setDomainBndry() 20 0.0006742 0.0006742 0.0006742 0.16% Castro::check_for_nan() 10 0.0006658 0.0006658 0.0006658 0.16% MultiFab::contains_nan() 10 0.0006593 0.0006593 0.0006593 0.16% Amr::InitAmr() 1 0.0004715 0.0004715 0.0004715 0.11% Castro::enforce_speed_limit() 30 0.0004447 0.0004447 0.0004447 0.10% FabArrayBase::CPC::define() 244 0.0004256 0.0004256 0.0004256 0.10% FabArrayBase::getFB() 1730 0.0003241 0.0003241 0.0003241 0.08% Castro::finalize_advance() 5 0.0003033 0.0003033 0.0003033 0.07% Gravity::swapTimeLevels() 5 0.0002466 0.0002466 0.0002466 0.06% MultiFab::max() 6 0.0002016 0.0002016 0.0002016 0.05% MLMG::MLResNormInf() 6 0.0001883 0.0001883 0.0001883 0.04% Castro::buildMetrics() 1 0.0001594 0.0001594 0.0001594 0.04% MLLinOp::define() 6 0.0001452 0.0001452 0.0001452 0.03% MLLinOp::defineGrids() 6 0.0001382 0.0001382 0.0001382 0.03% MLMG::MLRhsNormInf() 6 0.0001205 0.0001205 0.0001205 0.03% Castro::create_source_corrector() 5 9.351e-05 9.351e-05 9.351e-05 0.02% FabArrayBase::FB::FB() 26 5.68e-05 5.68e-05 5.68e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.143e-05 3.143e-05 3.143e-05 0.01% Amr::writeSmallPlotFile() 1 2.861e-05 2.861e-05 2.861e-05 0.01% Castro::swap_state_time_levels() 5 2.554e-05 2.554e-05 2.554e-05 0.01% makeSFC 30 2.293e-05 2.293e-05 2.293e-05 0.01% Castro::initMFs() 1 2.286e-05 2.286e-05 2.286e-05 0.01% DistributionMapping::Distribute() 31 9.831e-06 9.831e-06 9.831e-06 0.00% Amr::initSubcycle() 1 9.423e-06 9.423e-06 9.423e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.843e-06 4.843e-06 4.843e-06 0.00% Gravity::set_mass_offset() 6 2.237e-06 2.237e-06 2.237e-06 0.00% Castro::retry_advance_ctu() 5 2.093e-06 2.093e-06 2.093e-06 0.00% Castro::FluxRegCrseInit 5 1.883e-06 1.883e-06 1.883e-06 0.00% Castro::FluxRegFineAdd() 5 1.144e-06 1.144e-06 1.144e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.077e-06 1.077e-06 1.077e-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 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 1049 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1661 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 6393 KiB 14 MiB MLMG::prepareForSolve() 361 361 3281 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 187 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 190 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6380 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3279 B 2048 KiB Gravity::solve_for_phi() 40 40 604 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 302 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 194 KiB 671 KiB Castro::estTimeStep() 10 10 2645 B 480 KiB VisMF::Write(FabArray) 112 112 1274 B 320 KiB Castro::normalize_species() 30 30 6955 B 320 KiB amrex::average_down 469 469 1382 B 257 KiB MLMG::addInterpCorrection() 468 468 1080 B 257 KiB amrex::Dot() 592 592 3120 B 160 KiB FabArray::norminf() 501 501 3072 B 160 KiB check_for_negative_density() 5 5 315 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 3179 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 3820 3820 206 B 9344 B amrex::Copy() 56 56 5834 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 3024 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 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1147 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 155 KiB 3584 KiB VisMF::Read() 24 24 216 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3179 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 1910 1910 204 B 9328 B amrex::Copy() 56 56 5834 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2504 B 3072 B StateData::FillBoundary(geom) 960 960 41 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 792 B 1648 B amrex::average_down 37 37 460 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): 2180 [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-3-gd78e241d1ad4) finalized