Initializing AMReX (24.01-29-gd5cc57909f51)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-29-gd5cc57909f51) initialized Starting run at 10:21:36 UTC on 2024-01-26. Successfully read inputs file ... Castro git describe: 24.01-18-g8f66f04f6 AMReX git describe: 24.01-29-gd5cc57909 Microphysics git describe: 24.01-9-ga4d7ab4d 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.045779017 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025172187 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.065867143 [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.066389576 [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.0816737 [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.069473008 [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.061589645 [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.045263604 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.05853086 [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.07106093 [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.07201584 [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.04930605 [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.066607718 [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.043599779 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025180891 seconds Ending run at 10:21:37 UTC on 2024-01-26. Run time = 0.900055456 Run time without initialization = 0.777246826 Average number of zones advanced per microsecond: 3.373 Average number of zones advanced per microsecond per rank: 3.373 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9001 ... 0.9001 ... 0.9001 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2807 0.2807 0.2807 31.19% VisMF::Write(FabArray) 11 0.1765 0.1765 0.1765 19.60% MLCellLinOp::applyBC() 4298 0.0795 0.0795 0.0795 8.83% MLPoisson::Fsmooth() 3240 0.03355 0.03355 0.03355 3.73% FillBoundary_nowait() 3893 0.0295 0.0295 0.0295 3.28% StateData::FillBoundary(geom) 328 0.02726 0.02726 0.02726 3.03% Castro::normalize_species() 62 0.02205 0.02205 0.02205 2.45% amrex::Dot() 1100 0.02142 0.02142 0.02142 2.38% FabArray::norminf() 1048 0.01985 0.01985 0.01985 2.21% Castro::computeTemp() 63 0.01718 0.01718 0.01718 1.91% FabArray::ParallelCopy_nowait() 851 0.01349 0.01349 0.01349 1.50% FabArray::setVal() 1054 0.01318 0.01318 0.01318 1.46% FabArray::Saxpy() 1353 0.01307 0.01307 0.01307 1.45% Castro::enforce_min_density() 62 0.01291 0.01291 0.01291 1.43% StateDataPhysBCFunct::() 41 0.01114 0.01114 0.01114 1.24% amrex::Copy() 469 0.01075 0.01075 0.01075 1.19% MLCellLinOp::defineAuxData() 11 0.01048 0.01048 0.01048 1.16% MLPoisson::Fapply() 1047 0.01021 0.01021 0.01021 1.13% Gravity::fill_multipole_BCs() 11 0.008737 0.008737 0.008737 0.97% FabArray::Xpay() 730 0.007711 0.007711 0.007711 0.86% MLMG::addInterpCorrection() 405 0.006983 0.006983 0.006983 0.78% Castro::estTimeStep() 21 0.006585 0.006585 0.006585 0.73% amrex::average_down 405 0.006157 0.006157 0.006157 0.68% Amr::checkPoint() 3 0.005963 0.005963 0.005963 0.66% Castro::reset_internal_energy(MultiFab) 63 0.005252 0.005252 0.005252 0.58% BndryData::define() 11 0.003888 0.003888 0.003888 0.43% amrex::Add() 81 0.00353 0.00353 0.00353 0.39% Castro::construct_new_gravity_source() 10 0.003441 0.003441 0.003441 0.38% Castro::construct_old_gravity_source() 10 0.002915 0.002915 0.002915 0.32% Amr::writePlotFile() 2 0.002085 0.002085 0.002085 0.23% Castro::enforce_speed_limit() 62 0.001938 0.001938 0.001938 0.22% check_for_negative_density() 10 0.001886 0.001886 0.001886 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001791 0.001791 0.001791 0.20% MLCGSolver::bicgstab 81 0.001746 0.001746 0.001746 0.19% Gravity::actual_solve_with_mlmg() 11 0.001608 0.001608 0.001608 0.18% MLCellLinOp::setLevelBC() 11 0.001596 0.001596 0.001596 0.18% Castro::reset_internal_energy(Fab) 504 0.001594 0.001594 0.001594 0.18% Castro::initData() 1 0.001546 0.001546 0.001546 0.17% FabArray::mult() 43 0.001373 0.001373 0.001373 0.15% FabArray::setDomainBndry() 41 0.00137 0.00137 0.00137 0.15% MLCellLinOp::prepareForSolve() 11 0.001344 0.001344 0.001344 0.15% MultiFab::contains_nan() 20 0.001294 0.001294 0.001294 0.14% MLCellLinOp::smooth() 1620 0.001235 0.001235 0.001235 0.14% MLCellLinOp::compGrad() 11 0.001056 0.001056 0.001056 0.12% MLMG::prepareForSolve() 11 0.0009778 0.0009778 0.0009778 0.11% FabArray::FillBoundary() 3893 0.0008382 0.0008382 0.0008382 0.09% FabArrayBase::getCPC() 1313 0.0007726 0.0007726 0.0007726 0.09% FabArrayBase::CPC::define() 454 0.0006822 0.0006822 0.0006822 0.08% FabArrayBase::getFB() 3893 0.0006136 0.0006136 0.0006136 0.07% Gravity::get_new_grav_vector() 11 0.0006043 0.0006043 0.0006043 0.07% Amr::InitAmr() 1 0.0005518 0.0005518 0.0005518 0.06% Gravity::get_old_grav_vector() 10 0.000486 0.000486 0.000486 0.05% MLCellLinOp::apply() 1047 0.0004418 0.0004418 0.0004418 0.05% AmrLevel::FillPatch() 41 0.0004211 0.0004211 0.0004211 0.05% Amr::coarseTimeStep() 10 0.0003674 0.0003674 0.0003674 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003515 0.0003515 0.0003515 0.04% MultiFab::max() 11 0.000328 0.000328 0.000328 0.04% main() 1 0.0003137 0.0003137 0.0003137 0.03% MLCellLinOp::defineBC() 11 0.0002872 0.0002872 0.0002872 0.03% FabArray::ParallelCopy() 851 0.000233 0.000233 0.000233 0.03% FillPatchIterator::Initialize 41 0.0002128 0.0002128 0.0002128 0.02% MLMG::mgVcycle() 81 0.0001912 0.0001912 0.0001912 0.02% Castro::subcycle_advance_ctu() 10 0.0001881 0.0001881 0.0001881 0.02% MLCellLinOp::correctionResidual() 405 0.0001798 0.0001798 0.0001798 0.02% Castro::create_source_corrector() 10 0.0001788 0.0001788 0.0001788 0.02% Amr::timeStep() 10 0.0001686 0.0001686 0.0001686 0.02% MLLinOp::defineGrids() 11 0.0001656 0.0001656 0.0001656 0.02% Castro::advance() 10 0.0001442 0.0001442 0.0001442 0.02% StateData::checkPoint() 12 0.0001346 0.0001346 0.0001346 0.01% Gravity::update_max_rhs() 11 0.0001324 0.0001324 0.0001324 0.01% Gravity::solve_for_phi() 10 0.0001225 0.0001225 0.0001225 0.01% MLMG:computeResOfCorrection() 405 0.0001174 0.0001174 0.0001174 0.01% MLMG::mgVcycle_down::0 81 0.0001004 0.0001004 0.0001004 0.01% Castro::Castro() 1 9.279e-05 9.279e-05 9.279e-05 0.01% FabArrayBase::FB::FB() 56 9.177e-05 9.177e-05 9.177e-05 0.01% MLMG::actualBottomSolve() 81 8.563e-05 8.563e-05 8.563e-05 0.01% MLMG::mgVcycle_down::1 81 8.553e-05 8.553e-05 8.553e-05 0.01% MLMG::mgVcycle_down::2 81 7.963e-05 7.963e-05 7.963e-05 0.01% Castro::initialize_advance() 10 7.895e-05 7.895e-05 7.895e-05 0.01% AmrLevel::checkPoint() 3 7.774e-05 7.774e-05 7.774e-05 0.01% MLMG::mgVcycle_down::4 81 7.713e-05 7.713e-05 7.713e-05 0.01% MLMG::mgVcycle_down::3 81 7.419e-05 7.419e-05 7.419e-05 0.01% MLMG::solve() 11 7.103e-05 7.103e-05 7.103e-05 0.01% Castro::clean_state() 62 7.085e-05 7.085e-05 7.085e-05 0.01% Castro::enforce_consistent_e() 1 6.933e-05 6.933e-05 6.933e-05 0.01% Castro::finalize_advance() 10 6.604e-05 6.604e-05 6.604e-05 0.01% Castro::initialize_do_advance() 10 6.427e-05 6.427e-05 6.427e-05 0.01% MLMG::mgVcycle_up::4 81 5.703e-05 5.703e-05 5.703e-05 0.01% MLMG::oneIter() 81 5.369e-05 5.369e-05 5.369e-05 0.01% MLCellLinOp::solutionResidual() 92 5.252e-05 5.252e-05 5.252e-05 0.01% Castro::do_advance_ctu() 10 5.168e-05 5.168e-05 5.168e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.09e-05 5.09e-05 5.09e-05 0.01% MLMG::mgVcycle_up::0 81 5.021e-05 5.021e-05 5.021e-05 0.01% Castro::do_new_sources() 10 4.839e-05 4.839e-05 4.839e-05 0.01% MLMG::mgVcycle_up::1 81 4.715e-05 4.715e-05 4.715e-05 0.01% MLMG::mgVcycle_up::3 81 4.71e-05 4.71e-05 4.71e-05 0.01% Castro::construct_new_source() 50 4.647e-05 4.647e-05 4.647e-05 0.01% Castro::finalize_do_advance() 10 4.566e-05 4.566e-05 4.566e-05 0.01% MLMG::mgVcycle_up::2 81 4.508e-05 4.508e-05 4.508e-05 0.01% StateData::define() 4 3.873e-05 3.873e-05 3.873e-05 0.00% MLMG::ResNormInf() 92 3.733e-05 3.733e-05 3.733e-05 0.00% FillPatchSingleLevel 41 3.669e-05 3.669e-05 3.669e-05 0.00% Castro::swap_state_time_levels() 10 3.537e-05 3.537e-05 3.537e-05 0.00% MLMG::mgVcycle_bottom 81 3.463e-05 3.463e-05 3.463e-05 0.00% Castro::construct_old_source() 50 3.441e-05 3.441e-05 3.441e-05 0.00% Amr::writeSmallPlotFile() 1 3.403e-05 3.403e-05 3.403e-05 0.00% Castro::construct_new_gravity() 10 3.382e-05 3.382e-05 3.382e-05 0.00% Castro::initMFs() 1 3.34e-05 3.34e-05 3.34e-05 0.00% MLMG::computeResidual() 81 3.122e-05 3.122e-05 3.122e-05 0.00% Amr::FinalizeInit() 1 2.85e-05 2.85e-05 2.85e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.544e-05 2.544e-05 2.544e-05 0.00% makeSFC 55 2.528e-05 2.528e-05 2.528e-05 0.00% Castro::buildMetrics() 1 2.502e-05 2.502e-05 2.502e-05 0.00% Amr::defBaseLevel() 1 2.369e-05 2.369e-05 2.369e-05 0.00% Castro::do_old_sources() 10 2.204e-05 2.204e-05 2.204e-05 0.00% MLPoisson::define() 11 2.124e-05 2.124e-05 2.124e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.753e-05 1.753e-05 1.753e-05 0.00% MLLinOp::define() 11 1.734e-05 1.734e-05 1.734e-05 0.00% DistributionMapping::Distribute() 56 1.596e-05 1.596e-05 1.596e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.583e-05 1.583e-05 1.583e-05 0.00% MLMG::computeMLResidual() 11 1.384e-05 1.384e-05 1.384e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.311e-05 1.311e-05 1.311e-05 0.00% Castro::check_for_nan() 20 1.307e-05 1.307e-05 1.307e-05 0.00% MLPoisson::prepareForSolve() 11 1.28e-05 1.28e-05 1.28e-05 0.00% Castro::construct_old_gravity() 10 1.127e-05 1.127e-05 1.127e-05 0.00% Castro::apply_source_to_state() 20 1.122e-05 1.122e-05 1.122e-05 0.00% Castro::post_init() 1 9.602e-06 9.602e-06 9.602e-06 0.00% Gravity::swapTimeLevels() 10 9.243e-06 9.243e-06 9.243e-06 0.00% Amr::initSubcycle() 1 9.091e-06 9.091e-06 9.091e-06 0.00% Castro::post_timestep() 10 8.475e-06 8.475e-06 8.475e-06 0.00% Gravity::actual_multilevel_solve() 1 7.922e-06 7.922e-06 7.922e-06 0.00% Castro::computeNewDt() 9 6.364e-06 6.364e-06 6.364e-06 0.00% Castro::expand_state() 10 6.164e-06 6.164e-06 6.164e-06 0.00% MLMG::getGradSolution() 11 5.83e-06 5.83e-06 5.83e-06 0.00% Castro::retry_advance_ctu() 10 4.864e-06 4.864e-06 4.864e-06 0.00% Amr::InitializeInit() 1 4.753e-06 4.753e-06 4.753e-06 0.00% AmrLevel::checkPointPost() 3 4.456e-06 4.456e-06 4.456e-06 0.00% MLMG::MLRhsNormInf() 11 4.358e-06 4.358e-06 4.358e-06 0.00% Gravity::set_mass_offset() 11 3.742e-06 3.742e-06 3.742e-06 0.00% MLMG::MLResNormInf() 11 3.605e-06 3.605e-06 3.605e-06 0.00% Castro::computeInitialDt() 2 3.187e-06 3.187e-06 3.187e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.809e-06 2.809e-06 2.809e-06 0.00% Castro::FluxRegCrseInit 10 2.77e-06 2.77e-06 2.77e-06 0.00% AmrLevel::checkPointPre() 3 2.685e-06 2.685e-06 2.685e-06 0.00% Amr::init() 1 2.34e-06 2.34e-06 2.34e-06 0.00% Castro::FluxRegFineAdd() 10 2.082e-06 2.082e-06 2.082e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.898e-06 1.898e-06 1.898e-06 0.00% Castro::post_regrid() 1 1.378e-06 1.378e-06 1.378e-06 0.00% Amr::initialInit() 1 1.039e-06 1.039e-06 1.039e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9001 0.9001 0.9001 100.00% Amr::coarseTimeStep() 10 0.7518 0.7518 0.7518 83.53% Amr::timeStep() 10 0.6587 0.6587 0.6587 73.18% Castro::advance() 10 0.6474 0.6474 0.6474 71.93% Castro::subcycle_advance_ctu() 10 0.6326 0.6326 0.6326 70.29% Castro::do_advance_ctu() 10 0.6325 0.6325 0.6325 70.27% Castro::construct_ctu_hydro_source() 10 0.2921 0.2921 0.2921 32.45% Gravity::solve_phi_with_mlmg() 11 0.2909 0.2909 0.2909 32.32% Gravity::actual_solve_with_mlmg() 11 0.2817 0.2817 0.2817 31.29% Castro::construct_new_gravity() 10 0.2656 0.2656 0.2656 29.51% MLMG::solve() 11 0.2595 0.2595 0.2595 28.83% Gravity::solve_for_phi() 10 0.2492 0.2492 0.2492 27.68% MLMG::oneIter() 81 0.2442 0.2442 0.2442 27.13% MLMG::mgVcycle() 81 0.2407 0.2407 0.2407 26.74% VisMF::Write(FabArray) 11 0.1765 0.1765 0.1765 19.60% Amr::checkPoint() 3 0.1348 0.1348 0.1348 14.97% AmrLevel::checkPoint() 3 0.1288 0.1288 0.1288 14.31% StateData::checkPoint() 12 0.1287 0.1287 0.1287 14.30% Amr::init() 1 0.1221 0.1221 0.1221 13.57% MLCellLinOp::smooth() 1620 0.1197 0.1197 0.1197 13.30% MLCellLinOp::applyBC() 4298 0.1105 0.1105 0.1105 12.28% MLMG::mgVcycle_bottom 81 0.07267 0.07267 0.07267 8.07% MLMG::actualBottomSolve() 81 0.07264 0.07264 0.07264 8.07% MLCGSolver::bicgstab 81 0.0719 0.0719 0.0719 7.99% Castro::clean_state() 62 0.06007 0.06007 0.06007 6.67% Amr::initialInit() 1 0.05105 0.05105 0.05105 5.67% Amr::writePlotFile() 2 0.05048 0.05048 0.05048 5.61% AmrLevel::FillPatch() 41 0.04842 0.04842 0.04842 5.38% Amr::FinalizeInit() 1 0.04609 0.04609 0.04609 5.12% Castro::post_init() 1 0.04462 0.04462 0.04462 4.96% FillPatchIterator::Initialize 41 0.04413 0.04413 0.04413 4.90% FillPatchIterator::FillFromLevel0() 41 0.04255 0.04255 0.04255 4.73% FillPatchSingleLevel 41 0.0425 0.0425 0.0425 4.72% Gravity::multilevel_solve_for_new_phi() 1 0.04213 0.04213 0.04213 4.68% Gravity::actual_multilevel_solve() 1 0.04211 0.04211 0.04211 4.68% StateDataPhysBCFunct::() 41 0.0384 0.0384 0.0384 4.27% MLCellLinOp::apply() 1047 0.03576 0.03576 0.03576 3.97% MLMG::mgVcycle_down::0 81 0.03365 0.03365 0.03365 3.74% MLPoisson::Fsmooth() 3240 0.03355 0.03355 0.03355 3.73% FabArray::FillBoundary() 3893 0.03104 0.03104 0.03104 3.45% FillBoundary_nowait() 3893 0.0302 0.0302 0.0302 3.36% StateData::FillBoundary(geom) 328 0.02726 0.02726 0.02726 3.03% MLMG::mgVcycle_up::0 81 0.02536 0.02536 0.02536 2.82% Castro::computeTemp() 63 0.02402 0.02402 0.02402 2.67% Castro::initialize_do_advance() 10 0.0228 0.0228 0.0228 2.53% Castro::normalize_species() 62 0.02205 0.02205 0.02205 2.45% amrex::Dot() 1100 0.02142 0.02142 0.02142 2.38% MLMG:computeResOfCorrection() 405 0.02008 0.02008 0.02008 2.23% MLCellLinOp::correctionResidual() 405 0.01996 0.01996 0.01996 2.22% FabArray::norminf() 1048 0.01985 0.01985 0.01985 2.21% Castro::do_old_sources() 10 0.01915 0.01915 0.01915 2.13% Gravity::get_new_grav_vector() 11 0.0185 0.0185 0.0185 2.06% MLPoisson::define() 11 0.01738 0.01738 0.01738 1.93% MLMG::mgVcycle_down::1 81 0.01657 0.01657 0.01657 1.84% Castro::construct_old_gravity() 10 0.01542 0.01542 0.01542 1.71% Gravity::get_old_grav_vector() 10 0.01541 0.01541 0.01541 1.71% MLMG::mgVcycle_down::2 81 0.01539 0.01539 0.01539 1.71% MLMG::mgVcycle_down::3 81 0.01499 0.01499 0.01499 1.67% MLMG::mgVcycle_down::4 81 0.01481 0.01481 0.01481 1.64% FabArray::ParallelCopy() 851 0.0145 0.0145 0.0145 1.61% FabArray::ParallelCopy_nowait() 851 0.01427 0.01427 0.01427 1.59% Castro::initialize_advance() 10 0.01401 0.01401 0.01401 1.56% Castro::do_new_sources() 10 0.01381 0.01381 0.01381 1.53% FabArray::setVal() 1054 0.01318 0.01318 0.01318 1.46% FabArray::Saxpy() 1353 0.01307 0.01307 0.01307 1.45% Castro::enforce_min_density() 62 0.01291 0.01291 0.01291 1.43% MLCGSolver::ParallelAllReduce 1809 0.01289 0.01289 0.01289 1.43% MLMG::addInterpCorrection() 405 0.01217 0.01217 0.01217 1.35% MLMG::mgVcycle_up::1 81 0.01199 0.01199 0.01199 1.33% MLCellLinOp::defineAuxData() 11 0.01192 0.01192 0.01192 1.32% Castro::expand_state() 10 0.0119 0.0119 0.0119 1.32% MLMG::mgVcycle_up::4 81 0.01185 0.01185 0.01185 1.32% MLMG::mgVcycle_up::2 81 0.01176 0.01176 0.01176 1.31% MLMG::mgVcycle_up::3 81 0.01143 0.01143 0.01143 1.27% amrex::average_down 405 0.01141 0.01141 0.01141 1.27% Castro::post_timestep() 10 0.01113 0.01113 0.01113 1.24% amrex::Copy() 469 0.01075 0.01075 0.01075 1.19% MLPoisson::Fapply() 1047 0.01021 0.01021 0.01021 1.13% Gravity::fill_multipole_BCs() 11 0.008972 0.008972 0.008972 1.00% FabArray::Xpay() 730 0.007711 0.007711 0.007711 0.86% MLCellLinOp::solutionResidual() 92 0.007594 0.007594 0.007594 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006846 0.006846 0.006846 0.76% Castro::estTimeStep() 21 0.006585 0.006585 0.006585 0.73% MLMG::computeResidual() 81 0.006287 0.006287 0.006287 0.70% MLCellLinOp::defineBC() 11 0.005195 0.005195 0.005195 0.58% MLMG::prepareForSolve() 11 0.005195 0.005195 0.005195 0.58% Amr::InitializeInit() 1 0.004959 0.004959 0.004959 0.55% Amr::defBaseLevel() 1 0.004954 0.004954 0.004954 0.55% BndryData::define() 11 0.004908 0.004908 0.004908 0.55% Castro::initData() 1 0.004276 0.004276 0.004276 0.48% amrex::Add() 81 0.00353 0.00353 0.00353 0.39% Castro::construct_new_source() 50 0.003488 0.003488 0.003488 0.39% Castro::construct_new_gravity_source() 10 0.003441 0.003441 0.003441 0.38% Castro::computeNewDt() 9 0.00304 0.00304 0.00304 0.34% Castro::construct_old_source() 50 0.00295 0.00295 0.00295 0.33% Castro::construct_old_gravity_source() 10 0.002915 0.002915 0.002915 0.32% Castro::finalize_do_advance() 10 0.002537 0.002537 0.002537 0.28% MLMG::ResNormInf() 92 0.002155 0.002155 0.002155 0.24% Castro::enforce_speed_limit() 62 0.001938 0.001938 0.001938 0.22% check_for_negative_density() 10 0.001886 0.001886 0.001886 0.21% Castro::apply_source_to_state() 20 0.00186 0.00186 0.00186 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001791 0.001791 0.001791 0.20% MLCellLinOp::setLevelBC() 11 0.001596 0.001596 0.001596 0.18% Castro::reset_internal_energy(Fab) 504 0.001594 0.001594 0.001594 0.18% MLMG::getGradSolution() 11 0.00156 0.00156 0.00156 0.17% MLCellLinOp::compGrad() 11 0.001554 0.001554 0.001554 0.17% FabArrayBase::getCPC() 1313 0.001455 0.001455 0.001455 0.16% FabArray::mult() 43 0.001373 0.001373 0.001373 0.15% FabArray::setDomainBndry() 41 0.00137 0.00137 0.00137 0.15% MLPoisson::prepareForSolve() 11 0.001357 0.001357 0.001357 0.15% MLMG::computeMLResidual() 11 0.001352 0.001352 0.001352 0.15% MLCellLinOp::prepareForSolve() 11 0.001344 0.001344 0.001344 0.15% Castro::check_for_nan() 20 0.001307 0.001307 0.001307 0.15% MultiFab::contains_nan() 20 0.001294 0.001294 0.001294 0.14% Castro::post_regrid() 1 0.00116 0.00116 0.00116 0.13% Castro::computeInitialDt() 2 0.001063 0.001063 0.001063 0.12% Gravity::update_max_rhs() 11 0.0009834 0.0009834 0.0009834 0.11% FabArrayBase::getFB() 3893 0.0007054 0.0007054 0.0007054 0.08% FabArrayBase::CPC::define() 454 0.0006822 0.0006822 0.0006822 0.08% Castro::Castro() 1 0.0005958 0.0005958 0.0005958 0.07% Castro::finalize_advance() 10 0.00059 0.00059 0.00059 0.07% Amr::InitAmr() 1 0.0005608 0.0005608 0.0005608 0.06% Gravity::swapTimeLevels() 10 0.0004531 0.0004531 0.0004531 0.05% MLMG::MLResNormInf() 11 0.0003341 0.0003341 0.0003341 0.04% MultiFab::max() 11 0.000328 0.000328 0.000328 0.04% Castro::buildMetrics() 1 0.0002968 0.0002968 0.0002968 0.03% MLLinOp::define() 11 0.0002381 0.0002381 0.0002381 0.03% MLMG::MLRhsNormInf() 11 0.000223 0.000223 0.000223 0.02% MLLinOp::defineGrids() 11 0.0002208 0.0002208 0.0002208 0.02% Castro::create_source_corrector() 10 0.0001788 0.0001788 0.0001788 0.02% FabArrayBase::FB::FB() 56 9.177e-05 9.177e-05 9.177e-05 0.01% Castro::enforce_consistent_e() 1 6.933e-05 6.933e-05 6.933e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.456e-05 5.456e-05 5.456e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.324e-05 5.324e-05 5.324e-05 0.01% makeSFC 55 4.013e-05 4.013e-05 4.013e-05 0.00% StateData::define() 4 3.873e-05 3.873e-05 3.873e-05 0.00% Castro::swap_state_time_levels() 10 3.537e-05 3.537e-05 3.537e-05 0.00% Amr::writeSmallPlotFile() 1 3.403e-05 3.403e-05 3.403e-05 0.00% Castro::initMFs() 1 3.34e-05 3.34e-05 3.34e-05 0.00% DistributionMapping::Distribute() 56 1.596e-05 1.596e-05 1.596e-05 0.00% Amr::initSubcycle() 1 9.091e-06 9.091e-06 9.091e-06 0.00% Castro::retry_advance_ctu() 10 4.864e-06 4.864e-06 4.864e-06 0.00% AmrLevel::checkPointPost() 3 4.456e-06 4.456e-06 4.456e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.915e-06 3.915e-06 3.915e-06 0.00% Gravity::set_mass_offset() 11 3.742e-06 3.742e-06 3.742e-06 0.00% Castro::FluxRegCrseInit 10 2.77e-06 2.77e-06 2.77e-06 0.00% AmrLevel::checkPointPre() 3 2.685e-06 2.685e-06 2.685e-06 0.00% Castro::FluxRegFineAdd() 10 2.082e-06 2.082e-06 2.082e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.898e-06 1.898e-06 1.898e-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 91 MiB 9042 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 1038 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1566 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3545 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 213 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2109 B 2048 KiB Gravity::solve_for_phi() 80 80 566 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 324 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 3569 B 480 KiB VisMF::Write(FabArray) 656 656 3447 B 320 KiB Castro::normalize_species() 62 62 7979 B 320 KiB amrex::average_down 1054 1054 1251 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1139 B 257 KiB amrex::Dot() 1343 1343 3510 B 160 KiB FabArray::norminf() 1129 1129 3408 B 160 KiB check_for_negative_density() 10 10 329 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3459 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 285 B 9648 B MLCellLinOp::applyBC() 8596 8596 219 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3933 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 365 B 1248 B MLCGSolver::bicgstab 405 405 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 576 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 426 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3459 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 285 B 9648 B MLCellLinOp::applyBC() 4298 4298 217 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3933 B 6144 B Gravity::get_new_grav_vector() 3 3 2899 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 271 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 295 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [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 (24.01-29-gd5cc57909f51) finalized Initializing AMReX (24.01-29-gd5cc57909f51)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-29-gd5cc57909f51) initialized Starting run at 10:21:38 UTC on 2024-01-26. Successfully read inputs file ... Castro git describe: 24.01-18-g8f66f04f6 AMReX git describe: 24.01-29-gd5cc57909 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.513087424 Restart time = 0.071906719 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.068220098 [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.045517459 [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.048371984 [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.072329631 [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.075477783 [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.034246235 seconds Ending run at 10:21:38 UTC on 2024-01-26. Run time = 0.417383335 Run time without initialization = 0.344772141 Average number of zones advanced per microsecond: 3.802 Average number of zones advanced per microsecond per rank: 3.802 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4174 ... 0.4174 ... 0.4174 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1177 0.1177 0.1177 28.21% VisMF::Read() 3 0.06012 0.06012 0.06012 14.40% MLCellLinOp::applyBC() 1910 0.03521 0.03521 0.03521 8.44% VisMF::Write(FabArray) 1 0.03156 0.03156 0.03156 7.56% MLPoisson::Fsmooth() 1440 0.01485 0.01485 0.01485 3.56% FillBoundary_nowait() 1730 0.01282 0.01282 0.01282 3.07% StateData::FillBoundary(geom) 160 0.01276 0.01276 0.01276 3.06% Castro::normalize_species() 30 0.009698 0.009698 0.009698 2.32% amrex::Dot() 484 0.009352 0.009352 0.009352 2.24% FabArray::norminf() 465 0.008967 0.008967 0.008967 2.15% Castro::enforce_min_density() 30 0.006914 0.006914 0.006914 1.66% Castro::computeTemp() 30 0.006699 0.006699 0.006699 1.60% FabArray::setVal() 501 0.006496 0.006496 0.006496 1.56% FabArray::ParallelCopy_nowait() 380 0.006164 0.006164 0.006164 1.48% FabArray::Saxpy() 597 0.005869 0.005869 0.005869 1.41% MLCellLinOp::defineAuxData() 6 0.005718 0.005718 0.005718 1.37% amrex::Copy() 221 0.005435 0.005435 0.005435 1.30% Gravity::fill_multipole_BCs() 6 0.005375 0.005375 0.005375 1.29% StateDataPhysBCFunct::() 20 0.005262 0.005262 0.005262 1.26% Amr::restart() 1 0.004856 0.004856 0.004856 1.16% MLPoisson::Fapply() 464 0.004514 0.004514 0.004514 1.08% FabArray::Xpay() 325 0.003444 0.003444 0.003444 0.83% Castro::estTimeStep() 10 0.003318 0.003318 0.003318 0.79% MLMG::addInterpCorrection() 180 0.003158 0.003158 0.003158 0.76% amrex::average_down 180 0.002766 0.002766 0.002766 0.66% Amr::writePlotFile() 1 0.002541 0.002541 0.002541 0.61% BndryData::define() 6 0.002151 0.002151 0.002151 0.52% Castro::reset_internal_energy(MultiFab) 30 0.00202 0.00202 0.00202 0.48% Castro::construct_new_gravity_source() 5 0.001868 0.001868 0.001868 0.45% amrex::Add() 36 0.001536 0.001536 0.001536 0.37% Castro::construct_old_gravity_source() 5 0.001429 0.001429 0.001429 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009828 0.0009828 0.0009828 0.24% MLCellLinOp::setLevelBC() 6 0.0008839 0.0008839 0.0008839 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008624 0.0008624 0.0008624 0.21% Castro::reset_internal_energy(Fab) 240 0.0008286 0.0008286 0.0008286 0.20% MLCGSolver::bicgstab 36 0.0007768 0.0007768 0.0007768 0.19% MLCellLinOp::prepareForSolve() 6 0.0007717 0.0007717 0.0007717 0.18% check_for_negative_density() 5 0.0007017 0.0007017 0.0007017 0.17% FabArray::setDomainBndry() 20 0.0007007 0.0007007 0.0007007 0.17% FabArray::mult() 22 0.0006838 0.0006838 0.0006838 0.16% MultiFab::contains_nan() 10 0.0006551 0.0006551 0.0006551 0.16% MLCellLinOp::compGrad() 6 0.0005889 0.0005889 0.0005889 0.14% MLCellLinOp::smooth() 720 0.0005702 0.0005702 0.0005702 0.14% MLMG::prepareForSolve() 6 0.0005659 0.0005659 0.0005659 0.14% Amr::InitAmr() 1 0.0005043 0.0005043 0.0005043 0.12% Castro::enforce_speed_limit() 30 0.0004837 0.0004837 0.0004837 0.12% FabArrayBase::CPC::define() 244 0.0004281 0.0004281 0.0004281 0.10% main() 1 0.0003968 0.0003968 0.0003968 0.10% FabArray::FillBoundary() 1730 0.0003753 0.0003753 0.0003753 0.09% FabArrayBase::getCPC() 632 0.0003712 0.0003712 0.0003712 0.09% Gravity::get_old_grav_vector() 5 0.0003206 0.0003206 0.0003206 0.08% FabArrayBase::getFB() 1730 0.0002657 0.0002657 0.0002657 0.06% Gravity::get_new_grav_vector() 5 0.0002654 0.0002654 0.0002654 0.06% Amr::coarseTimeStep() 5 0.0002229 0.0002229 0.0002229 0.05% MultiFab::max() 6 0.0002096 0.0002096 0.0002096 0.05% AmrLevel::FillPatch() 20 0.0002007 0.0002007 0.0002007 0.05% MLCellLinOp::apply() 464 0.0001949 0.0001949 0.0001949 0.05% MLCGSolver::ParallelAllReduce 798 0.0001605 0.0001605 0.0001605 0.04% MLCellLinOp::defineBC() 6 0.0001586 0.0001586 0.0001586 0.04% Castro::subcycle_advance_ctu() 5 0.0001175 0.0001175 0.0001175 0.03% FabArray::ParallelCopy() 380 0.0001087 0.0001087 0.0001087 0.03% FillPatchIterator::Initialize 20 0.0001065 0.0001065 0.0001065 0.03% Castro::construct_new_source() 25 0.0001036 0.0001036 0.0001036 0.02% MLLinOp::defineGrids() 6 0.0001004 0.0001004 0.0001004 0.02% Amr::timeStep() 5 9.238e-05 9.238e-05 9.238e-05 0.02% MLMG::mgVcycle() 36 8.899e-05 8.899e-05 8.899e-05 0.02% Castro::create_source_corrector() 5 8.361e-05 8.361e-05 8.361e-05 0.02% Castro::advance() 5 8.205e-05 8.205e-05 8.205e-05 0.02% AmrLevel::restart() 1 7.932e-05 7.932e-05 7.932e-05 0.02% Castro::do_new_sources() 5 7.87e-05 7.87e-05 7.87e-05 0.02% MLCellLinOp::correctionResidual() 180 7.316e-05 7.316e-05 7.316e-05 0.02% FabArrayBase::FB::FB() 26 7.166e-05 7.166e-05 7.166e-05 0.02% Castro::initialize_do_advance() 5 6.735e-05 6.735e-05 6.735e-05 0.02% Gravity::update_max_rhs() 6 6.722e-05 6.722e-05 6.722e-05 0.02% StateData::restartDoit() 4 6.677e-05 6.677e-05 6.677e-05 0.02% Castro::finalize_do_advance() 5 6.396e-05 6.396e-05 6.396e-05 0.02% Castro::do_advance_ctu() 5 6.15e-05 6.15e-05 6.15e-05 0.01% Gravity::solve_for_phi() 5 5.427e-05 5.427e-05 5.427e-05 0.01% MLMG:computeResOfCorrection() 180 4.973e-05 4.973e-05 4.973e-05 0.01% Castro::post_restart() 1 4.92e-05 4.92e-05 4.92e-05 0.01% MLMG::mgVcycle_down::0 36 4.894e-05 4.894e-05 4.894e-05 0.01% MLMG::actualBottomSolve() 36 4.13e-05 4.13e-05 4.13e-05 0.01% MLMG::mgVcycle_down::1 36 3.818e-05 3.818e-05 3.818e-05 0.01% Amr::writeSmallPlotFile() 1 3.741e-05 3.741e-05 3.741e-05 0.01% Castro::initialize_advance() 5 3.546e-05 3.546e-05 3.546e-05 0.01% MLMG::mgVcycle_down::2 36 3.525e-05 3.525e-05 3.525e-05 0.01% MLMG::mgVcycle_down::4 36 3.483e-05 3.483e-05 3.483e-05 0.01% MLMG::solve() 6 3.464e-05 3.464e-05 3.464e-05 0.01% MLMG::mgVcycle_down::3 36 3.338e-05 3.338e-05 3.338e-05 0.01% Castro::clean_state() 30 3.203e-05 3.203e-05 3.203e-05 0.01% Castro::finalize_advance() 5 3.089e-05 3.089e-05 3.089e-05 0.01% MLMG::oneIter() 36 3.003e-05 3.003e-05 3.003e-05 0.01% Castro::buildMetrics() 1 2.826e-05 2.826e-05 2.826e-05 0.01% Castro::construct_old_source() 25 2.783e-05 2.783e-05 2.783e-05 0.01% MLMG::mgVcycle_up::4 36 2.76e-05 2.76e-05 2.76e-05 0.01% Castro::swap_state_time_levels() 5 2.541e-05 2.541e-05 2.541e-05 0.01% Castro::initMFs() 1 2.404e-05 2.404e-05 2.404e-05 0.01% MLCellLinOp::solutionResidual() 42 2.346e-05 2.346e-05 2.346e-05 0.01% MLMG::mgVcycle_up::0 36 2.237e-05 2.237e-05 2.237e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.201e-05 2.201e-05 2.201e-05 0.01% MLMG::mgVcycle_up::3 36 2.167e-05 2.167e-05 2.167e-05 0.01% MLMG::mgVcycle_up::2 36 2.15e-05 2.15e-05 2.15e-05 0.01% MLMG::mgVcycle_up::1 36 2.035e-05 2.035e-05 2.035e-05 0.00% MLMG::ResNormInf() 42 1.959e-05 1.959e-05 1.959e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.793e-05 1.793e-05 1.793e-05 0.00% FillPatchSingleLevel 20 1.664e-05 1.664e-05 1.664e-05 0.00% MLMG::mgVcycle_bottom 36 1.637e-05 1.637e-05 1.637e-05 0.00% MLPoisson::define() 6 1.492e-05 1.492e-05 1.492e-05 0.00% makeSFC 30 1.492e-05 1.492e-05 1.492e-05 0.00% MLMG::computeResidual() 36 1.453e-05 1.453e-05 1.453e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.381e-05 1.381e-05 1.381e-05 0.00% Castro::do_old_sources() 5 1.276e-05 1.276e-05 1.276e-05 0.00% Castro::construct_new_gravity() 5 1.241e-05 1.241e-05 1.241e-05 0.00% DistributionMapping::Distribute() 31 1.001e-05 1.001e-05 1.001e-05 0.00% MLPoisson::prepareForSolve() 6 9.271e-06 9.271e-06 9.271e-06 0.00% MLMG::computeMLResidual() 6 9.227e-06 9.227e-06 9.227e-06 0.00% Amr::initSubcycle() 1 9.17e-06 9.17e-06 9.17e-06 0.00% Gravity::actual_multilevel_solve() 1 8.409e-06 8.409e-06 8.409e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.754e-06 7.754e-06 7.754e-06 0.00% MLLinOp::define() 6 7.448e-06 7.448e-06 7.448e-06 0.00% Castro::construct_old_gravity() 5 6.45e-06 6.45e-06 6.45e-06 0.00% Castro::apply_source_to_state() 10 6.253e-06 6.253e-06 6.253e-06 0.00% Castro::check_for_nan() 10 6.195e-06 6.195e-06 6.195e-06 0.00% Castro::post_timestep() 5 5.308e-06 5.308e-06 5.308e-06 0.00% Gravity::swapTimeLevels() 5 4.656e-06 4.656e-06 4.656e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.665e-06 3.665e-06 3.665e-06 0.00% Castro::computeNewDt() 5 3.334e-06 3.334e-06 3.334e-06 0.00% MLMG::getGradSolution() 6 3.287e-06 3.287e-06 3.287e-06 0.00% Gravity::set_mass_offset() 6 2.996e-06 2.996e-06 2.996e-06 0.00% Castro::expand_state() 5 2.686e-06 2.686e-06 2.686e-06 0.00% MLMG::MLResNormInf() 6 2.439e-06 2.439e-06 2.439e-06 0.00% MLMG::MLRhsNormInf() 6 2.276e-06 2.276e-06 2.276e-06 0.00% Castro::retry_advance_ctu() 5 2.197e-06 2.197e-06 2.197e-06 0.00% Castro::FluxRegCrseInit 5 1.516e-06 1.516e-06 1.516e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.346e-06 1.346e-06 1.346e-06 0.00% Castro::FluxRegFineAdd() 5 1.211e-06 1.211e-06 1.211e-06 0.00% Amr::init() 1 1.131e-06 1.131e-06 1.131e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4174 0.4174 0.4174 99.99% Amr::coarseTimeStep() 5 0.3101 0.3101 0.3101 74.30% Amr::timeStep() 5 0.3078 0.3078 0.3078 73.75% Castro::advance() 5 0.3022 0.3022 0.3022 72.39% Castro::subcycle_advance_ctu() 5 0.2946 0.2946 0.2946 70.57% Castro::do_advance_ctu() 5 0.2945 0.2945 0.2945 70.54% Castro::construct_new_gravity() 5 0.1355 0.1355 0.1355 32.47% Gravity::solve_phi_with_mlmg() 6 0.1333 0.1333 0.1333 31.93% Gravity::actual_solve_with_mlmg() 6 0.1277 0.1277 0.1277 30.58% Gravity::solve_for_phi() 5 0.1275 0.1275 0.1275 30.54% Castro::construct_ctu_hydro_source() 5 0.1226 0.1226 0.1226 29.37% MLMG::solve() 6 0.1155 0.1155 0.1155 27.66% MLMG::oneIter() 36 0.1078 0.1078 0.1078 25.83% MLMG::mgVcycle() 36 0.1063 0.1063 0.1063 25.46% Amr::init() 1 0.07195 0.07195 0.07195 17.24% Amr::restart() 1 0.07195 0.07195 0.07195 17.24% AmrLevel::restart() 1 0.06048 0.06048 0.06048 14.49% StateData::restartDoit() 4 0.06039 0.06039 0.06039 14.47% VisMF::Read() 3 0.06012 0.06012 0.06012 14.40% MLCellLinOp::smooth() 720 0.05266 0.05266 0.05266 12.62% MLCellLinOp::applyBC() 1910 0.04875 0.04875 0.04875 11.68% Amr::writePlotFile() 1 0.03436 0.03436 0.03436 8.23% MLMG::mgVcycle_bottom 36 0.0321 0.0321 0.0321 7.69% MLMG::actualBottomSolve() 36 0.03208 0.03208 0.03208 7.69% MLCGSolver::bicgstab 36 0.03175 0.03175 0.03175 7.61% VisMF::Write(FabArray) 1 0.03156 0.03156 0.03156 7.56% Castro::clean_state() 30 0.02668 0.02668 0.02668 6.39% AmrLevel::FillPatch() 20 0.02301 0.02301 0.02301 5.51% FillPatchIterator::Initialize 20 0.02091 0.02091 0.02091 5.01% FillPatchIterator::FillFromLevel0() 20 0.0201 0.0201 0.0201 4.82% FillPatchSingleLevel 20 0.02008 0.02008 0.02008 4.81% StateDataPhysBCFunct::() 20 0.01803 0.01803 0.01803 4.32% MLCellLinOp::apply() 464 0.01593 0.01593 0.01593 3.82% MLMG::mgVcycle_down::0 36 0.01486 0.01486 0.01486 3.56% MLPoisson::Fsmooth() 1440 0.01485 0.01485 0.01485 3.56% FabArray::FillBoundary() 1730 0.01353 0.01353 0.01353 3.24% FillBoundary_nowait() 1730 0.01316 0.01316 0.01316 3.15% StateData::FillBoundary(geom) 160 0.01276 0.01276 0.01276 3.06% MLMG::mgVcycle_up::0 36 0.01113 0.01113 0.01113 2.67% Castro::initialize_do_advance() 5 0.01092 0.01092 0.01092 2.62% Castro::normalize_species() 30 0.009698 0.009698 0.009698 2.32% MLPoisson::define() 6 0.009574 0.009574 0.009574 2.29% Castro::computeTemp() 30 0.009548 0.009548 0.009548 2.29% Castro::do_old_sources() 5 0.00938 0.00938 0.00938 2.25% amrex::Dot() 484 0.009352 0.009352 0.009352 2.24% FabArray::norminf() 465 0.008967 0.008967 0.008967 2.15% MLMG:computeResOfCorrection() 180 0.008865 0.008865 0.008865 2.12% MLCellLinOp::correctionResidual() 180 0.008816 0.008816 0.008816 2.11% Gravity::get_new_grav_vector() 5 0.007938 0.007938 0.007938 1.90% Castro::construct_old_gravity() 5 0.007667 0.007667 0.007667 1.84% Gravity::get_old_grav_vector() 5 0.00766 0.00766 0.00766 1.84% MLMG::mgVcycle_down::1 36 0.007381 0.007381 0.007381 1.77% Castro::initialize_advance() 5 0.007211 0.007211 0.007211 1.73% Castro::enforce_min_density() 30 0.006914 0.006914 0.006914 1.66% MLMG::mgVcycle_down::2 36 0.006759 0.006759 0.006759 1.62% FabArray::ParallelCopy() 380 0.006664 0.006664 0.006664 1.60% MLMG::mgVcycle_down::3 36 0.00666 0.00666 0.00666 1.60% FabArray::ParallelCopy_nowait() 380 0.006555 0.006555 0.006555 1.57% MLMG::mgVcycle_down::4 36 0.006545 0.006545 0.006545 1.57% Castro::do_new_sources() 5 0.006524 0.006524 0.006524 1.56% MLCellLinOp::defineAuxData() 6 0.006518 0.006518 0.006518 1.56% FabArray::setVal() 501 0.006496 0.006496 0.006496 1.56% Castro::post_restart() 1 0.006446 0.006446 0.006446 1.54% Gravity::multilevel_solve_for_new_phi() 1 0.006046 0.006046 0.006046 1.45% Gravity::actual_multilevel_solve() 1 0.006028 0.006028 0.006028 1.44% Castro::expand_state() 5 0.005889 0.005889 0.005889 1.41% FabArray::Saxpy() 597 0.005869 0.005869 0.005869 1.41% MLCGSolver::ParallelAllReduce 798 0.005702 0.005702 0.005702 1.37% Castro::post_timestep() 5 0.005592 0.005592 0.005592 1.34% Gravity::fill_multipole_BCs() 6 0.005501 0.005501 0.005501 1.32% MLMG::addInterpCorrection() 180 0.005462 0.005462 0.005462 1.31% amrex::Copy() 221 0.005435 0.005435 0.005435 1.30% MLMG::mgVcycle_up::1 36 0.005265 0.005265 0.005265 1.26% MLMG::mgVcycle_up::4 36 0.005262 0.005262 0.005262 1.26% MLMG::mgVcycle_up::2 36 0.005144 0.005144 0.005144 1.23% amrex::average_down 180 0.00509 0.00509 0.00509 1.22% MLMG::mgVcycle_up::3 36 0.005066 0.005066 0.005066 1.21% MLPoisson::Fapply() 464 0.004514 0.004514 0.004514 1.08% MLCellLinOp::solutionResidual() 42 0.003562 0.003562 0.003562 0.85% FabArray::Xpay() 325 0.003444 0.003444 0.003444 0.83% Castro::estTimeStep() 10 0.003318 0.003318 0.003318 0.79% MLCellLinOp::defineBC() 6 0.002901 0.002901 0.002901 0.69% MLMG::prepareForSolve() 6 0.002897 0.002897 0.002897 0.69% Castro::reset_internal_energy(MultiFab) 30 0.002849 0.002849 0.002849 0.68% MLMG::computeResidual() 36 0.002783 0.002783 0.002783 0.67% BndryData::define() 6 0.002742 0.002742 0.002742 0.66% Castro::computeNewDt() 5 0.002065 0.002065 0.002065 0.49% Castro::construct_new_source() 25 0.001972 0.001972 0.001972 0.47% Castro::construct_new_gravity_source() 5 0.001868 0.001868 0.001868 0.45% amrex::Add() 36 0.001536 0.001536 0.001536 0.37% Castro::construct_old_source() 25 0.001456 0.001456 0.001456 0.35% Castro::construct_old_gravity_source() 5 0.001429 0.001429 0.001429 0.34% Castro::finalize_do_advance() 5 0.00132 0.00132 0.00132 0.32% MLMG::ResNormInf() 42 0.0009954 0.0009954 0.0009954 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009828 0.0009828 0.0009828 0.24% Castro::apply_source_to_state() 10 0.0009607 0.0009607 0.0009607 0.23% MLCellLinOp::setLevelBC() 6 0.0008839 0.0008839 0.0008839 0.21% MLMG::getGradSolution() 6 0.0008759 0.0008759 0.0008759 0.21% MLCellLinOp::compGrad() 6 0.0008726 0.0008726 0.0008726 0.21% Castro::reset_internal_energy(Fab) 240 0.0008286 0.0008286 0.0008286 0.20% MLMG::computeMLResidual() 6 0.0008022 0.0008022 0.0008022 0.19% FabArrayBase::getCPC() 632 0.0007993 0.0007993 0.0007993 0.19% MLPoisson::prepareForSolve() 6 0.000781 0.000781 0.000781 0.19% MLCellLinOp::prepareForSolve() 6 0.0007717 0.0007717 0.0007717 0.18% Gravity::update_max_rhs() 6 0.0007171 0.0007171 0.0007171 0.17% check_for_negative_density() 5 0.0007017 0.0007017 0.0007017 0.17% FabArray::setDomainBndry() 20 0.0007007 0.0007007 0.0007007 0.17% FabArray::mult() 22 0.0006838 0.0006838 0.0006838 0.16% Castro::check_for_nan() 10 0.0006613 0.0006613 0.0006613 0.16% MultiFab::contains_nan() 10 0.0006551 0.0006551 0.0006551 0.16% Amr::InitAmr() 1 0.0005135 0.0005135 0.0005135 0.12% Castro::enforce_speed_limit() 30 0.0004837 0.0004837 0.0004837 0.12% FabArrayBase::CPC::define() 244 0.0004281 0.0004281 0.0004281 0.10% FabArrayBase::getFB() 1730 0.0003374 0.0003374 0.0003374 0.08% Castro::finalize_advance() 5 0.0002946 0.0002946 0.0002946 0.07% Gravity::swapTimeLevels() 5 0.0002308 0.0002308 0.0002308 0.06% MultiFab::max() 6 0.0002096 0.0002096 0.0002096 0.05% MLMG::MLResNormInf() 6 0.0001983 0.0001983 0.0001983 0.05% Castro::buildMetrics() 1 0.0001487 0.0001487 0.0001487 0.04% MLLinOp::define() 6 0.0001405 0.0001405 0.0001405 0.03% MLLinOp::defineGrids() 6 0.000133 0.000133 0.000133 0.03% MLMG::MLRhsNormInf() 6 0.0001199 0.0001199 0.0001199 0.03% Castro::create_source_corrector() 5 8.361e-05 8.361e-05 8.361e-05 0.02% FabArrayBase::FB::FB() 26 7.166e-05 7.166e-05 7.166e-05 0.02% Amr::writeSmallPlotFile() 1 3.741e-05 3.741e-05 3.741e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.129e-05 3.129e-05 3.129e-05 0.01% Castro::swap_state_time_levels() 5 2.541e-05 2.541e-05 2.541e-05 0.01% Castro::initMFs() 1 2.404e-05 2.404e-05 2.404e-05 0.01% makeSFC 30 2.354e-05 2.354e-05 2.354e-05 0.01% DistributionMapping::Distribute() 31 1.001e-05 1.001e-05 1.001e-05 0.00% Amr::initSubcycle() 1 9.17e-06 9.17e-06 9.17e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.063e-06 5.063e-06 5.063e-06 0.00% Gravity::set_mass_offset() 6 2.996e-06 2.996e-06 2.996e-06 0.00% Castro::retry_advance_ctu() 5 2.197e-06 2.197e-06 2.197e-06 0.00% Castro::FluxRegCrseInit 5 1.516e-06 1.516e-06 1.516e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.346e-06 1.346e-06 1.346e-06 0.00% Castro::FluxRegFineAdd() 5 1.211e-06 1.211e-06 1.211e-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::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1091 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2221 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6375 KiB 14 MiB MLMG::prepareForSolve() 361 361 3393 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 190 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6361 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3406 B 2048 KiB Gravity::solve_for_phi() 40 40 624 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 313 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 201 KiB 671 KiB Castro::estTimeStep() 10 10 3780 B 480 KiB VisMF::Write(FabArray) 112 112 2518 B 320 KiB Castro::normalize_species() 30 30 7562 B 320 KiB amrex::average_down 469 469 1163 B 257 KiB MLMG::addInterpCorrection() 468 468 1104 B 257 KiB amrex::Dot() 592 592 3293 B 160 KiB FabArray::norminf() 501 501 3313 B 160 KiB check_for_negative_density() 5 5 268 B 160 KiB MultiFab::max() 6 6 78 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3288 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 3820 3820 209 B 9344 B amrex::Copy() 56 56 5519 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 351 B 1248 B MLCGSolver::bicgstab 180 180 91 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1246 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 210 KiB 3584 KiB VisMF::Read() 24 24 217 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3288 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 1910 1910 208 B 9328 B amrex::Copy() 56 56 5519 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2492 B 3072 B StateData::FillBoundary(geom) 960 960 43 B 2928 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 508 B 1296 B amrex::average_down 37 37 200 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 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): 12056 Free GPU global memory (MB): 2189 [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 (24.01-29-gd5cc57909f51) finalized