Initializing AMReX (24.02-1-g296ed40e16ae)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-1-g296ed40e16ae) initialized Starting run at 09:32:42 UTC on 2024-02-05. Successfully read inputs file ... Castro git describe: 24.02-2-gcff739306 AMReX git describe: 24.02-1-g296ed40e1 Microphysics git describe: 24.02-5-g56253c93 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.044512497 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024828804 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.066497952 [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.049264842 [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.073738117 [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.081004623 [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.053667761 [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.045919925 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.060175934 [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.078379275 [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.075904475 [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.05303709 [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.052975553 [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.043021574 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.038642862 seconds Ending run at 09:32:43 UTC on 2024-02-05. Run time = 0.897160442 Run time without initialization = 0.772973164 Average number of zones advanced per microsecond: 3.391 Average number of zones advanced per microsecond per rank: 3.391 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8972 ... 0.8972 ... 0.8972 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2617 0.2617 0.2617 29.16% VisMF::Write(FabArray) 11 0.1883 0.1883 0.1883 20.99% MLCellLinOp::applyBC() 4351 0.08499 0.08499 0.08499 9.47% MLPoisson::Fsmooth() 3280 0.03424 0.03424 0.03424 3.82% FillBoundary_nowait() 3941 0.03012 0.03012 0.03012 3.36% StateData::FillBoundary(geom) 328 0.02699 0.02699 0.02699 3.01% Castro::normalize_species() 62 0.02163 0.02163 0.02163 2.41% amrex::Dot() 1114 0.02152 0.02152 0.02152 2.40% FabArray::norminf() 1061 0.02 0.02 0.02 2.23% Castro::computeTemp() 63 0.01682 0.01682 0.01682 1.87% FabArray::ParallelCopy_nowait() 861 0.01357 0.01357 0.01357 1.51% FabArray::Saxpy() 1370 0.01323 0.01323 0.01323 1.47% FabArray::setVal() 1062 0.01323 0.01323 0.01323 1.47% Castro::enforce_min_density() 62 0.01179 0.01179 0.01179 1.31% StateDataPhysBCFunct::() 41 0.01091 0.01091 0.01091 1.22% amrex::Copy() 472 0.01082 0.01082 0.01082 1.21% MLCellLinOp::defineAuxData() 11 0.01062 0.01062 0.01062 1.18% MLPoisson::Fapply() 1060 0.01031 0.01031 0.01031 1.15% Gravity::fill_multipole_BCs() 11 0.008931 0.008931 0.008931 1.00% FabArray::Xpay() 739 0.007851 0.007851 0.007851 0.88% MLMG::addInterpCorrection() 410 0.006994 0.006994 0.006994 0.78% amrex::average_down 410 0.006244 0.006244 0.006244 0.70% Amr::checkPoint() 3 0.00597 0.00597 0.00597 0.67% Castro::estTimeStep() 21 0.005389 0.005389 0.005389 0.60% Castro::reset_internal_energy(MultiFab) 63 0.005388 0.005388 0.005388 0.60% BndryData::define() 11 0.003873 0.003873 0.003873 0.43% amrex::Add() 82 0.003582 0.003582 0.003582 0.40% Castro::construct_new_gravity_source() 10 0.003505 0.003505 0.003505 0.39% Castro::construct_old_gravity_source() 10 0.002547 0.002547 0.002547 0.28% Amr::writePlotFile() 2 0.002149 0.002149 0.002149 0.24% Castro::enforce_speed_limit() 62 0.002119 0.002119 0.002119 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% check_for_negative_density() 10 0.001793 0.001793 0.001793 0.20% Castro::reset_internal_energy(Fab) 504 0.001641 0.001641 0.001641 0.18% MLCGSolver::bicgstab 82 0.001637 0.001637 0.001637 0.18% Gravity::actual_solve_with_mlmg() 11 0.001597 0.001597 0.001597 0.18% MLCellLinOp::setLevelBC() 11 0.001577 0.001577 0.001577 0.18% Castro::initData() 1 0.00148 0.00148 0.00148 0.16% FabArray::mult() 43 0.001362 0.001362 0.001362 0.15% FabArray::setDomainBndry() 41 0.001346 0.001346 0.001346 0.15% MLCellLinOp::prepareForSolve() 11 0.00134 0.00134 0.00134 0.15% MultiFab::contains_nan() 20 0.001251 0.001251 0.001251 0.14% MLCellLinOp::smooth() 1640 0.001104 0.001104 0.001104 0.12% MLCellLinOp::compGrad() 11 0.001076 0.001076 0.001076 0.12% MLMG::prepareForSolve() 11 0.0009654 0.0009654 0.0009654 0.11% FabArray::FillBoundary() 3941 0.0008523 0.0008523 0.0008523 0.09% FabArrayBase::getCPC() 1323 0.0008293 0.0008293 0.0008293 0.09% FabArrayBase::CPC::define() 454 0.000672 0.000672 0.000672 0.07% FabArrayBase::getFB() 3941 0.000668 0.000668 0.000668 0.07% Gravity::get_new_grav_vector() 11 0.0005987 0.0005987 0.0005987 0.07% Amr::InitAmr() 1 0.0005751 0.0005751 0.0005751 0.06% Gravity::get_old_grav_vector() 10 0.0004898 0.0004898 0.0004898 0.05% Amr::coarseTimeStep() 10 0.0004504 0.0004504 0.0004504 0.05% MLCellLinOp::apply() 1060 0.0004171 0.0004171 0.0004171 0.05% AmrLevel::FillPatch() 41 0.0004169 0.0004169 0.0004169 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003365 0.0003365 0.0003365 0.04% MultiFab::max() 11 0.0003322 0.0003322 0.0003322 0.04% main() 1 0.000315 0.000315 0.000315 0.04% MLCellLinOp::defineBC() 11 0.0002911 0.0002911 0.0002911 0.03% FabArray::ParallelCopy() 861 0.0002548 0.0002548 0.0002548 0.03% FillPatchIterator::Initialize 41 0.0002177 0.0002177 0.0002177 0.02% MLMG::mgVcycle() 82 0.0002064 0.0002064 0.0002064 0.02% MLCellLinOp::correctionResidual() 410 0.0001796 0.0001796 0.0001796 0.02% Castro::create_source_corrector() 10 0.0001709 0.0001709 0.0001709 0.02% MLLinOp::defineGrids() 11 0.0001667 0.0001667 0.0001667 0.02% Amr::timeStep() 10 0.0001645 0.0001645 0.0001645 0.02% Castro::subcycle_advance_ctu() 10 0.0001533 0.0001533 0.0001533 0.02% StateData::checkPoint() 12 0.000138 0.000138 0.000138 0.02% Gravity::update_max_rhs() 11 0.0001308 0.0001308 0.0001308 0.01% MLMG:computeResOfCorrection() 410 0.0001274 0.0001274 0.0001274 0.01% Gravity::solve_for_phi() 10 0.000109 0.000109 0.000109 0.01% Castro::construct_new_source() 50 9.742e-05 9.742e-05 9.742e-05 0.01% Castro::Castro() 1 9.505e-05 9.505e-05 9.505e-05 0.01% MLMG::mgVcycle_down::0 82 9.305e-05 9.305e-05 9.305e-05 0.01% FabArrayBase::FB::FB() 56 9.193e-05 9.193e-05 9.193e-05 0.01% MLMG::actualBottomSolve() 82 9.019e-05 9.019e-05 9.019e-05 0.01% Castro::post_timestep() 10 8.384e-05 8.384e-05 8.384e-05 0.01% Castro::clean_state() 62 8.189e-05 8.189e-05 8.189e-05 0.01% AmrLevel::checkPoint() 3 7.949e-05 7.949e-05 7.949e-05 0.01% MLMG::mgVcycle_down::1 82 7.837e-05 7.837e-05 7.837e-05 0.01% Castro::enforce_consistent_e() 1 7.806e-05 7.806e-05 7.806e-05 0.01% MLMG::mgVcycle_down::2 82 7.625e-05 7.625e-05 7.625e-05 0.01% Castro::initialize_advance() 10 7.579e-05 7.579e-05 7.579e-05 0.01% MLMG::solve() 11 7.291e-05 7.291e-05 7.291e-05 0.01% MLMG::mgVcycle_down::4 82 7.226e-05 7.226e-05 7.226e-05 0.01% MLMG::mgVcycle_down::3 82 6.982e-05 6.982e-05 6.982e-05 0.01% Castro::finalize_advance() 10 6.549e-05 6.549e-05 6.549e-05 0.01% Castro::initialize_do_advance() 10 5.908e-05 5.908e-05 5.908e-05 0.01% MLMG::mgVcycle_up::4 82 5.818e-05 5.818e-05 5.818e-05 0.01% MLMG::mgVcycle_up::3 82 5.585e-05 5.585e-05 5.585e-05 0.01% MLMG::oneIter() 82 5.454e-05 5.454e-05 5.454e-05 0.01% MLMG::mgVcycle_up::0 82 5.352e-05 5.352e-05 5.352e-05 0.01% MLCellLinOp::solutionResidual() 93 4.997e-05 4.997e-05 4.997e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.942e-05 4.942e-05 4.942e-05 0.01% MLMG::mgVcycle_up::2 82 4.843e-05 4.843e-05 4.843e-05 0.01% Castro::do_advance_ctu() 10 4.759e-05 4.759e-05 4.759e-05 0.01% MLMG::mgVcycle_up::1 82 4.744e-05 4.744e-05 4.744e-05 0.01% Castro::finalize_do_advance() 10 4.597e-05 4.597e-05 4.597e-05 0.01% Castro::advance() 10 4.132e-05 4.132e-05 4.132e-05 0.00% StateData::define() 4 3.748e-05 3.748e-05 3.748e-05 0.00% MLMG::ResNormInf() 93 3.662e-05 3.662e-05 3.662e-05 0.00% Castro::swap_state_time_levels() 10 3.64e-05 3.64e-05 3.64e-05 0.00% FillPatchSingleLevel 41 3.622e-05 3.622e-05 3.622e-05 0.00% MLMG::mgVcycle_bottom 82 3.205e-05 3.205e-05 3.205e-05 0.00% MLMG::computeResidual() 82 3.198e-05 3.198e-05 3.198e-05 0.00% Amr::writeSmallPlotFile() 1 3.073e-05 3.073e-05 3.073e-05 0.00% Castro::initMFs() 1 3.006e-05 3.006e-05 3.006e-05 0.00% makeSFC 55 2.608e-05 2.608e-05 2.608e-05 0.00% Castro::construct_new_gravity() 10 2.586e-05 2.586e-05 2.586e-05 0.00% Castro::buildMetrics() 1 2.419e-05 2.419e-05 2.419e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.419e-05 2.419e-05 2.419e-05 0.00% Amr::defBaseLevel() 1 2.28e-05 2.28e-05 2.28e-05 0.00% Castro::do_old_sources() 10 2.163e-05 2.163e-05 2.163e-05 0.00% Castro::do_new_sources() 10 2.063e-05 2.063e-05 2.063e-05 0.00% MLPoisson::define() 11 2.058e-05 2.058e-05 2.058e-05 0.00% Castro::construct_old_source() 50 1.897e-05 1.897e-05 1.897e-05 0.00% Amr::FinalizeInit() 1 1.839e-05 1.839e-05 1.839e-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.72e-05 1.72e-05 1.72e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.602e-05 1.602e-05 1.602e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.381e-05 1.381e-05 1.381e-05 0.00% Castro::check_for_nan() 20 1.323e-05 1.323e-05 1.323e-05 0.00% MLMG::computeMLResidual() 11 1.306e-05 1.306e-05 1.306e-05 0.00% MLPoisson::prepareForSolve() 11 1.261e-05 1.261e-05 1.261e-05 0.00% Castro::apply_source_to_state() 20 1.244e-05 1.244e-05 1.244e-05 0.00% MLLinOp::define() 11 1.186e-05 1.186e-05 1.186e-05 0.00% Castro::construct_old_gravity() 10 1.154e-05 1.154e-05 1.154e-05 0.00% Gravity::swapTimeLevels() 10 9.212e-06 9.212e-06 9.212e-06 0.00% Castro::post_init() 1 9.015e-06 9.015e-06 9.015e-06 0.00% Amr::initSubcycle() 1 8.824e-06 8.824e-06 8.824e-06 0.00% Gravity::actual_multilevel_solve() 1 8.1e-06 8.1e-06 8.1e-06 0.00% Castro::computeNewDt() 9 6.87e-06 6.87e-06 6.87e-06 0.00% MLMG::getGradSolution() 11 6.303e-06 6.303e-06 6.303e-06 0.00% Castro::expand_state() 10 5.226e-06 5.226e-06 5.226e-06 0.00% Gravity::set_mass_offset() 11 5.086e-06 5.086e-06 5.086e-06 0.00% AmrLevel::checkPointPost() 3 4.759e-06 4.759e-06 4.759e-06 0.00% Amr::InitializeInit() 1 4.651e-06 4.651e-06 4.651e-06 0.00% MLMG::MLRhsNormInf() 11 4.118e-06 4.118e-06 4.118e-06 0.00% Castro::retry_advance_ctu() 10 4.017e-06 4.017e-06 4.017e-06 0.00% MLMG::MLResNormInf() 11 3.652e-06 3.652e-06 3.652e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.609e-06 3.609e-06 3.609e-06 0.00% Castro::computeInitialDt() 2 3.156e-06 3.156e-06 3.156e-06 0.00% Castro::FluxRegCrseInit 10 3.094e-06 3.094e-06 3.094e-06 0.00% Amr::init() 1 2.456e-06 2.456e-06 2.456e-06 0.00% AmrLevel::checkPointPre() 3 2.407e-06 2.407e-06 2.407e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.317e-06 2.317e-06 2.317e-06 0.00% Castro::FluxRegFineAdd() 10 2.144e-06 2.144e-06 2.144e-06 0.00% Amr::initialInit() 1 1.22e-06 1.22e-06 1.22e-06 0.00% Castro::post_regrid() 1 1.198e-06 1.198e-06 1.198e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8972 0.8972 0.8972 100.00% Amr::coarseTimeStep() 10 0.7341 0.7341 0.7341 81.82% Amr::timeStep() 10 0.6414 0.6414 0.6414 71.49% Castro::advance() 10 0.6312 0.6312 0.6312 70.35% Castro::subcycle_advance_ctu() 10 0.6163 0.6163 0.6163 68.69% Castro::do_advance_ctu() 10 0.6161 0.6161 0.6161 68.67% Gravity::solve_phi_with_mlmg() 11 0.2988 0.2988 0.2988 33.30% Gravity::actual_solve_with_mlmg() 11 0.2894 0.2894 0.2894 32.25% Castro::construct_ctu_hydro_source() 10 0.2736 0.2736 0.2736 30.50% Castro::construct_new_gravity() 10 0.27 0.27 0.27 30.09% MLMG::solve() 11 0.2671 0.2671 0.2671 29.77% Gravity::solve_for_phi() 10 0.254 0.254 0.254 28.32% MLMG::oneIter() 82 0.2518 0.2518 0.2518 28.06% MLMG::mgVcycle() 82 0.2481 0.2481 0.2481 27.66% VisMF::Write(FabArray) 11 0.1883 0.1883 0.1883 20.99% Amr::checkPoint() 3 0.1336 0.1336 0.1336 14.89% AmrLevel::checkPoint() 3 0.1276 0.1276 0.1276 14.22% StateData::checkPoint() 12 0.1275 0.1275 0.1275 14.21% MLCellLinOp::smooth() 1640 0.1263 0.1263 0.1263 14.08% Amr::init() 1 0.1235 0.1235 0.1235 13.76% MLCellLinOp::applyBC() 4351 0.1167 0.1167 0.1167 13.01% MLMG::mgVcycle_bottom 82 0.07307 0.07307 0.07307 8.14% MLMG::actualBottomSolve() 82 0.07303 0.07303 0.07303 8.14% MLCGSolver::bicgstab 82 0.07228 0.07228 0.07228 8.06% Amr::writePlotFile() 2 0.06359 0.06359 0.06359 7.09% Castro::clean_state() 62 0.05856 0.05856 0.05856 6.53% Amr::initialInit() 1 0.05401 0.05401 0.05401 6.02% Amr::FinalizeInit() 1 0.04904 0.04904 0.04904 5.47% AmrLevel::FillPatch() 41 0.04792 0.04792 0.04792 5.34% Castro::post_init() 1 0.04749 0.04749 0.04749 5.29% Gravity::multilevel_solve_for_new_phi() 1 0.04514 0.04514 0.04514 5.03% Gravity::actual_multilevel_solve() 1 0.04512 0.04512 0.04512 5.03% FillPatchIterator::Initialize 41 0.04362 0.04362 0.04362 4.86% FillPatchIterator::FillFromLevel0() 41 0.04206 0.04206 0.04206 4.69% FillPatchSingleLevel 41 0.04201 0.04201 0.04201 4.68% StateDataPhysBCFunct::() 41 0.0379 0.0379 0.0379 4.22% MLCellLinOp::apply() 1060 0.03601 0.03601 0.03601 4.01% MLPoisson::Fsmooth() 3280 0.03424 0.03424 0.03424 3.82% MLMG::mgVcycle_down::0 82 0.03415 0.03415 0.03415 3.81% FabArray::FillBoundary() 3941 0.03173 0.03173 0.03173 3.54% FillBoundary_nowait() 3941 0.03088 0.03088 0.03088 3.44% StateData::FillBoundary(geom) 328 0.02699 0.02699 0.02699 3.01% MLMG::mgVcycle_up::0 82 0.02585 0.02585 0.02585 2.88% Castro::computeTemp() 63 0.02385 0.02385 0.02385 2.66% Castro::normalize_species() 62 0.02163 0.02163 0.02163 2.41% amrex::Dot() 1114 0.02152 0.02152 0.02152 2.40% Castro::initialize_do_advance() 10 0.02122 0.02122 0.02122 2.37% MLMG:computeResOfCorrection() 410 0.02031 0.02031 0.02031 2.26% MLCellLinOp::correctionResidual() 410 0.02018 0.02018 0.02018 2.25% FabArray::norminf() 1061 0.02 0.02 0.02 2.23% Castro::do_old_sources() 10 0.01838 0.01838 0.01838 2.05% Gravity::get_new_grav_vector() 11 0.01781 0.01781 0.01781 1.98% MLPoisson::define() 11 0.01753 0.01753 0.01753 1.95% MLMG::mgVcycle_up::4 82 0.01711 0.01711 0.01711 1.91% MLMG::mgVcycle_down::1 82 0.01663 0.01663 0.01663 1.85% Castro::construct_old_gravity() 10 0.01551 0.01551 0.01551 1.73% Gravity::get_old_grav_vector() 10 0.01549 0.01549 0.01549 1.73% MLMG::mgVcycle_down::2 82 0.01547 0.01547 0.01547 1.72% MLMG::mgVcycle_down::3 82 0.01513 0.01513 0.01513 1.69% MLMG::mgVcycle_down::4 82 0.01496 0.01496 0.01496 1.67% FabArray::ParallelCopy() 861 0.01464 0.01464 0.01464 1.63% Castro::do_new_sources() 10 0.01451 0.01451 0.01451 1.62% FabArray::ParallelCopy_nowait() 861 0.01439 0.01439 0.01439 1.60% Castro::initialize_advance() 10 0.0143 0.0143 0.0143 1.59% FabArray::Saxpy() 1370 0.01323 0.01323 0.01323 1.47% FabArray::setVal() 1062 0.01323 0.01323 0.01323 1.47% MLCGSolver::ParallelAllReduce 1832 0.01293 0.01293 0.01293 1.44% MLMG::addInterpCorrection() 410 0.01228 0.01228 0.01228 1.37% MLCellLinOp::defineAuxData() 11 0.0121 0.0121 0.0121 1.35% MLMG::mgVcycle_up::1 82 0.01206 0.01206 0.01206 1.34% MLMG::mgVcycle_up::2 82 0.01182 0.01182 0.01182 1.32% Castro::expand_state() 10 0.0118 0.0118 0.0118 1.32% Castro::enforce_min_density() 62 0.01179 0.01179 0.01179 1.31% MLMG::mgVcycle_up::3 82 0.0117 0.0117 0.0117 1.30% amrex::average_down 410 0.01153 0.01153 0.01153 1.28% amrex::Copy() 472 0.01082 0.01082 0.01082 1.21% MLPoisson::Fapply() 1060 0.01031 0.01031 0.01031 1.15% Castro::post_timestep() 10 0.01001 0.01001 0.01001 1.12% Gravity::fill_multipole_BCs() 11 0.009166 0.009166 0.009166 1.02% FabArray::Xpay() 739 0.007851 0.007851 0.007851 0.88% MLCellLinOp::solutionResidual() 93 0.007649 0.007649 0.007649 0.85% Castro::reset_internal_energy(MultiFab) 63 0.007029 0.007029 0.007029 0.78% MLMG::computeResidual() 82 0.006373 0.006373 0.006373 0.71% Castro::estTimeStep() 21 0.005389 0.005389 0.005389 0.60% MLCellLinOp::defineBC() 11 0.005174 0.005174 0.005174 0.58% MLMG::prepareForSolve() 11 0.005138 0.005138 0.005138 0.57% Amr::InitializeInit() 1 0.004966 0.004966 0.004966 0.55% Amr::defBaseLevel() 1 0.004961 0.004961 0.004961 0.55% BndryData::define() 11 0.004883 0.004883 0.004883 0.54% Castro::initData() 1 0.004267 0.004267 0.004267 0.48% Castro::construct_new_source() 50 0.003603 0.003603 0.003603 0.40% amrex::Add() 82 0.003582 0.003582 0.003582 0.40% Castro::construct_new_gravity_source() 10 0.003505 0.003505 0.003505 0.39% Castro::construct_old_source() 50 0.002566 0.002566 0.002566 0.29% Castro::construct_old_gravity_source() 10 0.002547 0.002547 0.002547 0.28% Castro::computeNewDt() 9 0.002426 0.002426 0.002426 0.27% MLMG::ResNormInf() 93 0.002187 0.002187 0.002187 0.24% Castro::enforce_speed_limit() 62 0.002119 0.002119 0.002119 0.24% Castro::finalize_do_advance() 10 0.001901 0.001901 0.001901 0.21% Castro::apply_source_to_state() 20 0.001877 0.001877 0.001877 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% check_for_negative_density() 10 0.001793 0.001793 0.001793 0.20% Castro::reset_internal_energy(Fab) 504 0.001641 0.001641 0.001641 0.18% MLCellLinOp::setLevelBC() 11 0.001577 0.001577 0.001577 0.18% MLMG::getGradSolution() 11 0.001576 0.001576 0.001576 0.18% MLCellLinOp::compGrad() 11 0.001569 0.001569 0.001569 0.17% FabArrayBase::getCPC() 1323 0.001501 0.001501 0.001501 0.17% FabArray::mult() 43 0.001362 0.001362 0.001362 0.15% MLPoisson::prepareForSolve() 11 0.001353 0.001353 0.001353 0.15% FabArray::setDomainBndry() 41 0.001346 0.001346 0.001346 0.15% MLCellLinOp::prepareForSolve() 11 0.00134 0.00134 0.00134 0.15% MLMG::computeMLResidual() 11 0.001321 0.001321 0.001321 0.15% Castro::check_for_nan() 20 0.001264 0.001264 0.001264 0.14% MultiFab::contains_nan() 20 0.001251 0.001251 0.001251 0.14% Castro::post_regrid() 1 0.001246 0.001246 0.001246 0.14% Castro::computeInitialDt() 2 0.001118 0.001118 0.001118 0.12% Gravity::update_max_rhs() 11 0.0009906 0.0009906 0.0009906 0.11% FabArrayBase::getFB() 3941 0.0007599 0.0007599 0.0007599 0.08% FabArrayBase::CPC::define() 454 0.000672 0.000672 0.000672 0.07% Castro::Castro() 1 0.0006134 0.0006134 0.0006134 0.07% Castro::finalize_advance() 10 0.000594 0.000594 0.000594 0.07% Amr::InitAmr() 1 0.0005839 0.0005839 0.0005839 0.07% Gravity::swapTimeLevels() 10 0.0004467 0.0004467 0.0004467 0.05% MultiFab::max() 11 0.0003322 0.0003322 0.0003322 0.04% MLMG::MLResNormInf() 11 0.0003288 0.0003288 0.0003288 0.04% Castro::buildMetrics() 1 0.0003153 0.0003153 0.0003153 0.04% MLLinOp::define() 11 0.000237 0.000237 0.000237 0.03% MLLinOp::defineGrids() 11 0.0002251 0.0002251 0.0002251 0.03% MLMG::MLRhsNormInf() 11 0.0002231 0.0002231 0.0002231 0.02% Castro::create_source_corrector() 10 0.0001709 0.0001709 0.0001709 0.02% FabArrayBase::FB::FB() 56 9.193e-05 9.193e-05 9.193e-05 0.01% Castro::enforce_consistent_e() 1 7.806e-05 7.806e-05 7.806e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.606e-05 5.606e-05 5.606e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.35e-05 5.35e-05 5.35e-05 0.01% makeSFC 55 4.225e-05 4.225e-05 4.225e-05 0.00% StateData::define() 4 3.748e-05 3.748e-05 3.748e-05 0.00% Castro::swap_state_time_levels() 10 3.64e-05 3.64e-05 3.64e-05 0.00% Amr::writeSmallPlotFile() 1 3.073e-05 3.073e-05 3.073e-05 0.00% Castro::initMFs() 1 3.006e-05 3.006e-05 3.006e-05 0.00% DistributionMapping::Distribute() 56 1.72e-05 1.72e-05 1.72e-05 0.00% Amr::initSubcycle() 1 8.824e-06 8.824e-06 8.824e-06 0.00% Gravity::set_mass_offset() 11 5.086e-06 5.086e-06 5.086e-06 0.00% AmrLevel::checkPointPost() 3 4.759e-06 4.759e-06 4.759e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.631e-06 4.631e-06 4.631e-06 0.00% Castro::retry_advance_ctu() 10 4.017e-06 4.017e-06 4.017e-06 0.00% Castro::FluxRegCrseInit 10 3.094e-06 3.094e-06 3.094e-06 0.00% AmrLevel::checkPointPre() 3 2.407e-06 2.407e-06 2.407e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.317e-06 2.317e-06 2.317e-06 0.00% Castro::FluxRegFineAdd() 10 2.144e-06 2.144e-06 2.144e-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 93 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 1035 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1988 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 3661 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 206 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 176 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2135 B 2048 KiB Gravity::solve_for_phi() 80 80 579 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 334 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 213 KiB 671 KiB Castro::estTimeStep() 21 21 2925 B 480 KiB VisMF::Write(FabArray) 656 656 3451 B 320 KiB Castro::normalize_species() 62 62 7856 B 320 KiB amrex::average_down 1067 1067 1267 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1162 B 257 KiB amrex::Dot() 1360 1360 3544 B 160 KiB FabArray::norminf() 1143 1143 3449 B 160 KiB check_for_negative_density() 10 10 321 B 160 KiB Castro::initData() 1 1 54 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3576 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 293 B 9648 B MLCellLinOp::applyBC() 8702 8702 228 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3943 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 377 B 1248 B MLCGSolver::bicgstab 410 410 97 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 596 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 419 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3576 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 293 B 9648 B MLCellLinOp::applyBC() 4351 4351 227 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3943 B 6144 B Gravity::get_new_grav_vector() 3 3 2888 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 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 83 83 271 B 1296 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 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.02-1-g296ed40e16ae) finalized Initializing AMReX (24.02-1-g296ed40e16ae)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-1-g296ed40e16ae) initialized Starting run at 09:32:44 UTC on 2024-02-05. Successfully read inputs file ... Castro git describe: 24.02-2-gcff739306 AMReX git describe: 24.02-1-g296ed40e1 Microphysics git describe: 24.02-5-g56253c93 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.494330682 Restart time = 0.075305377 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.068363322 [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.048826383 [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.071367798 [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.075083656 [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.070236618 [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.02803255 seconds Ending run at 09:32:44 UTC on 2024-02-05. Run time = 0.438423479 Run time without initialization = 0.362389381 Average number of zones advanced per microsecond: 3.617 Average number of zones advanced per microsecond per rank: 3.617 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4385 ... 0.4385 ... 0.4385 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1402 0.1402 0.1402 31.97% VisMF::Read() 3 0.06368 0.06368 0.06368 14.52% MLCellLinOp::applyBC() 1910 0.03506 0.03506 0.03506 8.00% VisMF::Write(FabArray) 1 0.02537 0.02537 0.02537 5.79% MLPoisson::Fsmooth() 1440 0.01479 0.01479 0.01479 3.37% StateData::FillBoundary(geom) 160 0.01334 0.01334 0.01334 3.04% FillBoundary_nowait() 1730 0.01279 0.01279 0.01279 2.92% Castro::normalize_species() 30 0.01119 0.01119 0.01119 2.55% amrex::Dot() 484 0.009314 0.009314 0.009314 2.12% FabArray::norminf() 465 0.008952 0.008952 0.008952 2.04% Castro::computeTemp() 30 0.007053 0.007053 0.007053 1.61% FabArray::setVal() 501 0.00647 0.00647 0.00647 1.48% Castro::enforce_min_density() 30 0.006306 0.006306 0.006306 1.44% FabArray::ParallelCopy_nowait() 380 0.00618 0.00618 0.00618 1.41% FabArray::Saxpy() 597 0.005869 0.005869 0.005869 1.34% MLCellLinOp::defineAuxData() 6 0.005771 0.005771 0.005771 1.32% Gravity::fill_multipole_BCs() 6 0.005464 0.005464 0.005464 1.25% amrex::Copy() 221 0.005433 0.005433 0.005433 1.24% StateDataPhysBCFunct::() 20 0.004893 0.004893 0.004893 1.12% Amr::restart() 1 0.004799 0.004799 0.004799 1.09% MLPoisson::Fapply() 464 0.004511 0.004511 0.004511 1.03% FabArray::Xpay() 325 0.003447 0.003447 0.003447 0.79% Castro::estTimeStep() 10 0.003154 0.003154 0.003154 0.72% MLMG::addInterpCorrection() 180 0.003142 0.003142 0.003142 0.72% amrex::average_down 180 0.002741 0.002741 0.002741 0.63% Amr::writePlotFile() 1 0.002525 0.002525 0.002525 0.58% BndryData::define() 6 0.002125 0.002125 0.002125 0.48% Castro::construct_new_gravity_source() 5 0.00185 0.00185 0.00185 0.42% Castro::reset_internal_energy(MultiFab) 30 0.001552 0.001552 0.001552 0.35% amrex::Add() 36 0.001531 0.001531 0.001531 0.35% Castro::construct_old_gravity_source() 5 0.001525 0.001525 0.001525 0.35% Castro::enforce_speed_limit() 30 0.001096 0.001096 0.001096 0.25% check_for_negative_density() 5 0.001043 0.001043 0.001043 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009855 0.0009855 0.0009855 0.22% MLCellLinOp::setLevelBC() 6 0.0008653 0.0008653 0.0008653 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008638 0.0008638 0.0008638 0.20% Castro::reset_internal_energy(Fab) 240 0.0007941 0.0007941 0.0007941 0.18% MLCGSolver::bicgstab 36 0.0007615 0.0007615 0.0007615 0.17% MLCellLinOp::prepareForSolve() 6 0.0007612 0.0007612 0.0007612 0.17% FabArray::mult() 22 0.0006886 0.0006886 0.0006886 0.16% FabArray::setDomainBndry() 20 0.0006851 0.0006851 0.0006851 0.16% MultiFab::contains_nan() 10 0.0006752 0.0006752 0.0006752 0.15% MLCellLinOp::compGrad() 6 0.0005995 0.0005995 0.0005995 0.14% MLMG::prepareForSolve() 6 0.0005718 0.0005718 0.0005718 0.13% MLCellLinOp::smooth() 720 0.0005367 0.0005367 0.0005367 0.12% Amr::InitAmr() 1 0.0005084 0.0005084 0.0005084 0.12% FabArrayBase::CPC::define() 244 0.0004441 0.0004441 0.0004441 0.10% FabArrayBase::getCPC() 632 0.0003825 0.0003825 0.0003825 0.09% FabArray::FillBoundary() 1730 0.000381 0.000381 0.000381 0.09% Gravity::get_old_grav_vector() 5 0.0003192 0.0003192 0.0003192 0.07% main() 1 0.0003125 0.0003125 0.0003125 0.07% FabArrayBase::getFB() 1730 0.0002903 0.0002903 0.0002903 0.07% Gravity::get_new_grav_vector() 5 0.0002648 0.0002648 0.0002648 0.06% MultiFab::max() 6 0.0002062 0.0002062 0.0002062 0.05% AmrLevel::FillPatch() 20 0.0002013 0.0002013 0.0002013 0.05% MLCellLinOp::apply() 464 0.000195 0.000195 0.000195 0.04% Amr::coarseTimeStep() 5 0.000181 0.000181 0.000181 0.04% MLCellLinOp::defineBC() 6 0.0001543 0.0001543 0.0001543 0.04% MLCGSolver::ParallelAllReduce 798 0.0001527 0.0001527 0.0001527 0.03% FabArray::ParallelCopy() 380 0.0001094 0.0001094 0.0001094 0.02% Castro::create_source_corrector() 5 0.0001091 0.0001091 0.0001091 0.02% FillPatchIterator::Initialize 20 0.0001073 0.0001073 0.0001073 0.02% MLLinOp::defineGrids() 6 0.0001071 0.0001071 0.0001071 0.02% Castro::subcycle_advance_ctu() 5 9.875e-05 9.875e-05 9.875e-05 0.02% Amr::timeStep() 5 9.444e-05 9.444e-05 9.444e-05 0.02% MLMG::mgVcycle() 36 8.971e-05 8.971e-05 8.971e-05 0.02% AmrLevel::restart() 1 7.94e-05 7.94e-05 7.94e-05 0.02% MLCellLinOp::correctionResidual() 180 7.699e-05 7.699e-05 7.699e-05 0.02% Castro::construct_new_source() 25 7.239e-05 7.239e-05 7.239e-05 0.02% StateData::restartDoit() 4 7.122e-05 7.122e-05 7.122e-05 0.02% Gravity::update_max_rhs() 6 6.721e-05 6.721e-05 6.721e-05 0.02% Gravity::solve_for_phi() 5 6.438e-05 6.438e-05 6.438e-05 0.01% Castro::do_advance_ctu() 5 6.361e-05 6.361e-05 6.361e-05 0.01% FabArrayBase::FB::FB() 26 6.198e-05 6.198e-05 6.198e-05 0.01% Castro::advance() 5 5.59e-05 5.59e-05 5.59e-05 0.01% MLMG:computeResOfCorrection() 180 5.585e-05 5.585e-05 5.585e-05 0.01% MLMG::mgVcycle_down::0 36 4.837e-05 4.837e-05 4.837e-05 0.01% MLMG::actualBottomSolve() 36 4.209e-05 4.209e-05 4.209e-05 0.01% Castro::finalize_do_advance() 5 4.184e-05 4.184e-05 4.184e-05 0.01% Castro::clean_state() 30 3.861e-05 3.861e-05 3.861e-05 0.01% MLMG::mgVcycle_down::1 36 3.812e-05 3.812e-05 3.812e-05 0.01% Castro::initialize_advance() 5 3.696e-05 3.696e-05 3.696e-05 0.01% MLMG::solve() 6 3.504e-05 3.504e-05 3.504e-05 0.01% Castro::post_timestep() 5 3.492e-05 3.492e-05 3.492e-05 0.01% MLMG::mgVcycle_down::2 36 3.466e-05 3.466e-05 3.466e-05 0.01% MLMG::mgVcycle_down::4 36 3.333e-05 3.333e-05 3.333e-05 0.01% Amr::writeSmallPlotFile() 1 3.313e-05 3.313e-05 3.313e-05 0.01% MLMG::mgVcycle_down::3 36 3.222e-05 3.222e-05 3.222e-05 0.01% Castro::buildMetrics() 1 3.116e-05 3.116e-05 3.116e-05 0.01% Castro::initialize_do_advance() 5 3.076e-05 3.076e-05 3.076e-05 0.01% Castro::finalize_advance() 5 3.047e-05 3.047e-05 3.047e-05 0.01% Castro::post_restart() 1 2.954e-05 2.954e-05 2.954e-05 0.01% Castro::do_new_sources() 5 2.876e-05 2.876e-05 2.876e-05 0.01% MLMG::mgVcycle_up::4 36 2.821e-05 2.821e-05 2.821e-05 0.01% Castro::construct_old_source() 25 2.745e-05 2.745e-05 2.745e-05 0.01% Castro::swap_state_time_levels() 5 2.603e-05 2.603e-05 2.603e-05 0.01% MLMG::oneIter() 36 2.592e-05 2.592e-05 2.592e-05 0.01% Castro::initMFs() 1 2.418e-05 2.418e-05 2.418e-05 0.01% MLCellLinOp::solutionResidual() 42 2.344e-05 2.344e-05 2.344e-05 0.01% MLMG::mgVcycle_up::0 36 2.34e-05 2.34e-05 2.34e-05 0.01% MLMG::mgVcycle_up::3 36 2.302e-05 2.302e-05 2.302e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.269e-05 2.269e-05 2.269e-05 0.01% MLMG::mgVcycle_up::2 36 2.156e-05 2.156e-05 2.156e-05 0.00% MLMG::mgVcycle_up::1 36 2.077e-05 2.077e-05 2.077e-05 0.00% MLMG::ResNormInf() 42 2.026e-05 2.026e-05 2.026e-05 0.00% Castro::construct_new_gravity() 5 1.8e-05 1.8e-05 1.8e-05 0.00% FillPatchSingleLevel 20 1.734e-05 1.734e-05 1.734e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.677e-05 1.677e-05 1.677e-05 0.00% MLMG::mgVcycle_bottom 36 1.536e-05 1.536e-05 1.536e-05 0.00% MLMG::computeResidual() 36 1.455e-05 1.455e-05 1.455e-05 0.00% MLPoisson::define() 6 1.428e-05 1.428e-05 1.428e-05 0.00% makeSFC 30 1.413e-05 1.413e-05 1.413e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.356e-05 1.356e-05 1.356e-05 0.00% DistributionMapping::Distribute() 31 1.219e-05 1.219e-05 1.219e-05 0.00% Castro::do_old_sources() 5 1.139e-05 1.139e-05 1.139e-05 0.00% Amr::initSubcycle() 1 9.392e-06 9.392e-06 9.392e-06 0.00% MLMG::computeMLResidual() 6 9.074e-06 9.074e-06 9.074e-06 0.00% MLPoisson::prepareForSolve() 6 9.071e-06 9.071e-06 9.071e-06 0.00% Gravity::actual_multilevel_solve() 1 8.684e-06 8.684e-06 8.684e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.448e-06 7.448e-06 7.448e-06 0.00% MLLinOp::define() 6 7.394e-06 7.394e-06 7.394e-06 0.00% Castro::construct_old_gravity() 5 6.309e-06 6.309e-06 6.309e-06 0.00% Castro::check_for_nan() 10 6.026e-06 6.026e-06 6.026e-06 0.00% Castro::apply_source_to_state() 10 5.928e-06 5.928e-06 5.928e-06 0.00% Gravity::swapTimeLevels() 5 4.624e-06 4.624e-06 4.624e-06 0.00% Castro::computeNewDt() 5 3.281e-06 3.281e-06 3.281e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.267e-06 3.267e-06 3.267e-06 0.00% MLMG::getGradSolution() 6 3.236e-06 3.236e-06 3.236e-06 0.00% Castro::expand_state() 5 3.018e-06 3.018e-06 3.018e-06 0.00% Castro::retry_advance_ctu() 5 2.833e-06 2.833e-06 2.833e-06 0.00% MLMG::MLResNormInf() 6 2.564e-06 2.564e-06 2.564e-06 0.00% MLMG::MLRhsNormInf() 6 2.343e-06 2.343e-06 2.343e-06 0.00% Gravity::set_mass_offset() 6 2.257e-06 2.257e-06 2.257e-06 0.00% Castro::FluxRegCrseInit 5 1.599e-06 1.599e-06 1.599e-06 0.00% Amr::init() 1 1.335e-06 1.335e-06 1.335e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.185e-06 1.185e-06 1.185e-06 0.00% Castro::FluxRegFineAdd() 5 1.184e-06 1.184e-06 1.184e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4384 0.4384 0.4384 100.00% Amr::coarseTimeStep() 5 0.3341 0.3341 0.3341 76.19% Amr::timeStep() 5 0.3319 0.3319 0.3319 75.71% Castro::advance() 5 0.3263 0.3263 0.3263 74.42% Castro::subcycle_advance_ctu() 5 0.3184 0.3184 0.3184 72.62% Castro::do_advance_ctu() 5 0.3183 0.3183 0.3183 72.59% Castro::construct_ctu_hydro_source() 5 0.1458 0.1458 0.1458 33.25% Castro::construct_new_gravity() 5 0.1353 0.1353 0.1353 30.86% Gravity::solve_phi_with_mlmg() 6 0.133 0.133 0.133 30.33% Gravity::solve_for_phi() 5 0.1273 0.1273 0.1273 29.03% Gravity::actual_solve_with_mlmg() 6 0.1273 0.1273 0.1273 29.03% MLMG::solve() 6 0.115 0.115 0.115 26.24% MLMG::oneIter() 36 0.1074 0.1074 0.1074 24.50% MLMG::mgVcycle() 36 0.1059 0.1059 0.1059 24.15% Amr::init() 1 0.07537 0.07537 0.07537 17.19% Amr::restart() 1 0.07537 0.07537 0.07537 17.19% AmrLevel::restart() 1 0.06405 0.06405 0.06405 14.61% StateData::restartDoit() 4 0.06397 0.06397 0.06397 14.59% VisMF::Read() 3 0.06368 0.06368 0.06368 14.52% MLCellLinOp::smooth() 720 0.05246 0.05246 0.05246 11.97% MLCellLinOp::applyBC() 1910 0.04858 0.04858 0.04858 11.08% MLMG::mgVcycle_bottom 36 0.03198 0.03198 0.03198 7.29% MLMG::actualBottomSolve() 36 0.03196 0.03196 0.03196 7.29% MLCGSolver::bicgstab 36 0.03163 0.03163 0.03163 7.21% Amr::writePlotFile() 1 0.02815 0.02815 0.02815 6.42% Castro::clean_state() 30 0.02803 0.02803 0.02803 6.39% VisMF::Write(FabArray) 1 0.02537 0.02537 0.02537 5.79% AmrLevel::FillPatch() 20 0.02322 0.02322 0.02322 5.30% FillPatchIterator::Initialize 20 0.02112 0.02112 0.02112 4.82% FillPatchIterator::FillFromLevel0() 20 0.02033 0.02033 0.02033 4.64% FillPatchSingleLevel 20 0.0203 0.0203 0.0203 4.63% StateDataPhysBCFunct::() 20 0.01823 0.01823 0.01823 4.16% MLCellLinOp::apply() 464 0.01588 0.01588 0.01588 3.62% MLMG::mgVcycle_down::0 36 0.01481 0.01481 0.01481 3.38% MLPoisson::Fsmooth() 1440 0.01479 0.01479 0.01479 3.37% FabArray::FillBoundary() 1730 0.01352 0.01352 0.01352 3.08% StateData::FillBoundary(geom) 160 0.01334 0.01334 0.01334 3.04% FillBoundary_nowait() 1730 0.01314 0.01314 0.01314 3.00% Castro::normalize_species() 30 0.01119 0.01119 0.01119 2.55% MLMG::mgVcycle_up::0 36 0.01117 0.01117 0.01117 2.55% Castro::initialize_do_advance() 5 0.01102 0.01102 0.01102 2.51% MLPoisson::define() 6 0.009624 0.009624 0.009624 2.19% Castro::do_old_sources() 5 0.009462 0.009462 0.009462 2.16% Castro::computeTemp() 30 0.009399 0.009399 0.009399 2.14% amrex::Dot() 484 0.009314 0.009314 0.009314 2.12% FabArray::norminf() 465 0.008952 0.008952 0.008952 2.04% MLMG:computeResOfCorrection() 180 0.008841 0.008841 0.008841 2.02% MLCellLinOp::correctionResidual() 180 0.008785 0.008785 0.008785 2.00% Gravity::get_new_grav_vector() 5 0.007899 0.007899 0.007899 1.80% Castro::construct_old_gravity() 5 0.007856 0.007856 0.007856 1.79% Gravity::get_old_grav_vector() 5 0.00785 0.00785 0.00785 1.79% Castro::initialize_advance() 5 0.007546 0.007546 0.007546 1.72% MLMG::mgVcycle_down::1 36 0.007367 0.007367 0.007367 1.68% Castro::do_new_sources() 5 0.007041 0.007041 0.007041 1.61% MLMG::mgVcycle_down::2 36 0.006746 0.006746 0.006746 1.54% FabArray::ParallelCopy() 380 0.00669 0.00669 0.00669 1.53% MLCellLinOp::defineAuxData() 6 0.006586 0.006586 0.006586 1.50% FabArray::ParallelCopy_nowait() 380 0.006581 0.006581 0.006581 1.50% MLMG::mgVcycle_down::3 36 0.006574 0.006574 0.006574 1.50% MLMG::mgVcycle_down::4 36 0.006477 0.006477 0.006477 1.48% FabArray::setVal() 501 0.00647 0.00647 0.00647 1.48% Castro::post_restart() 1 0.006338 0.006338 0.006338 1.45% Castro::enforce_min_density() 30 0.006306 0.006306 0.006306 1.44% Gravity::multilevel_solve_for_new_phi() 1 0.005955 0.005955 0.005955 1.36% Gravity::actual_multilevel_solve() 1 0.005938 0.005938 0.005938 1.35% Castro::expand_state() 5 0.005937 0.005937 0.005937 1.35% FabArray::Saxpy() 597 0.005869 0.005869 0.005869 1.34% MLCGSolver::ParallelAllReduce 798 0.005671 0.005671 0.005671 1.29% Gravity::fill_multipole_BCs() 6 0.00559 0.00559 0.00559 1.27% Castro::post_timestep() 5 0.005541 0.005541 0.005541 1.26% MLMG::addInterpCorrection() 180 0.005445 0.005445 0.005445 1.24% amrex::Copy() 221 0.005433 0.005433 0.005433 1.24% MLMG::mgVcycle_up::4 36 0.005245 0.005245 0.005245 1.20% MLMG::mgVcycle_up::1 36 0.005232 0.005232 0.005232 1.19% MLMG::mgVcycle_up::2 36 0.005125 0.005125 0.005125 1.17% amrex::average_down 180 0.005071 0.005071 0.005071 1.16% MLMG::mgVcycle_up::3 36 0.005052 0.005052 0.005052 1.15% MLPoisson::Fapply() 464 0.004511 0.004511 0.004511 1.03% MLCellLinOp::solutionResidual() 42 0.003571 0.003571 0.003571 0.81% FabArray::Xpay() 325 0.003447 0.003447 0.003447 0.79% Castro::estTimeStep() 10 0.003154 0.003154 0.003154 0.72% MLMG::prepareForSolve() 6 0.002888 0.002888 0.002888 0.66% MLCellLinOp::defineBC() 6 0.002876 0.002876 0.002876 0.66% MLMG::computeResidual() 36 0.002775 0.002775 0.002775 0.63% BndryData::define() 6 0.002721 0.002721 0.002721 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002346 0.002346 0.002346 0.54% Castro::computeNewDt() 5 0.001938 0.001938 0.001938 0.44% Castro::construct_new_source() 25 0.001922 0.001922 0.001922 0.44% Castro::construct_new_gravity_source() 5 0.00185 0.00185 0.00185 0.42% Castro::construct_old_source() 25 0.001552 0.001552 0.001552 0.35% amrex::Add() 36 0.001531 0.001531 0.001531 0.35% Castro::construct_old_gravity_source() 5 0.001525 0.001525 0.001525 0.35% Castro::finalize_do_advance() 5 0.001262 0.001262 0.001262 0.29% Castro::enforce_speed_limit() 30 0.001096 0.001096 0.001096 0.25% check_for_negative_density() 5 0.001043 0.001043 0.001043 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009855 0.0009855 0.0009855 0.22% MLMG::ResNormInf() 42 0.0009798 0.0009798 0.0009798 0.22% Castro::apply_source_to_state() 10 0.0009655 0.0009655 0.0009655 0.22% MLMG::getGradSolution() 6 0.0008807 0.0008807 0.0008807 0.20% MLCellLinOp::compGrad() 6 0.0008775 0.0008775 0.0008775 0.20% MLCellLinOp::setLevelBC() 6 0.0008653 0.0008653 0.0008653 0.20% FabArrayBase::getCPC() 632 0.0008265 0.0008265 0.0008265 0.19% MLMG::computeMLResidual() 6 0.0008194 0.0008194 0.0008194 0.19% Castro::reset_internal_energy(Fab) 240 0.0007941 0.0007941 0.0007941 0.18% MLPoisson::prepareForSolve() 6 0.0007703 0.0007703 0.0007703 0.18% MLCellLinOp::prepareForSolve() 6 0.0007612 0.0007612 0.0007612 0.17% Gravity::update_max_rhs() 6 0.0007213 0.0007213 0.0007213 0.16% FabArray::mult() 22 0.0006886 0.0006886 0.0006886 0.16% FabArray::setDomainBndry() 20 0.0006851 0.0006851 0.0006851 0.16% Castro::check_for_nan() 10 0.0006813 0.0006813 0.0006813 0.16% MultiFab::contains_nan() 10 0.0006752 0.0006752 0.0006752 0.15% Amr::InitAmr() 1 0.0005178 0.0005178 0.0005178 0.12% FabArrayBase::CPC::define() 244 0.0004441 0.0004441 0.0004441 0.10% FabArrayBase::getFB() 1730 0.0003523 0.0003523 0.0003523 0.08% Castro::finalize_advance() 5 0.000298 0.000298 0.000298 0.07% Gravity::swapTimeLevels() 5 0.0002346 0.0002346 0.0002346 0.05% MultiFab::max() 6 0.0002062 0.0002062 0.0002062 0.05% MLMG::MLResNormInf() 6 0.000193 0.000193 0.000193 0.04% Castro::buildMetrics() 1 0.0001549 0.0001549 0.0001549 0.04% MLLinOp::define() 6 0.000148 0.000148 0.000148 0.03% MLLinOp::defineGrids() 6 0.0001406 0.0001406 0.0001406 0.03% MLMG::MLRhsNormInf() 6 0.0001185 0.0001185 0.0001185 0.03% Castro::create_source_corrector() 5 0.0001091 0.0001091 0.0001091 0.02% FabArrayBase::FB::FB() 26 6.198e-05 6.198e-05 6.198e-05 0.01% Amr::writeSmallPlotFile() 1 3.313e-05 3.313e-05 3.313e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.224e-05 3.224e-05 3.224e-05 0.01% Castro::swap_state_time_levels() 5 2.603e-05 2.603e-05 2.603e-05 0.01% makeSFC 30 2.479e-05 2.479e-05 2.479e-05 0.01% Castro::initMFs() 1 2.418e-05 2.418e-05 2.418e-05 0.01% DistributionMapping::Distribute() 31 1.219e-05 1.219e-05 1.219e-05 0.00% Amr::initSubcycle() 1 9.392e-06 9.392e-06 9.392e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.8e-06 4.8e-06 4.8e-06 0.00% Castro::retry_advance_ctu() 5 2.833e-06 2.833e-06 2.833e-06 0.00% Gravity::set_mass_offset() 6 2.257e-06 2.257e-06 2.257e-06 0.00% Castro::FluxRegCrseInit 5 1.599e-06 1.599e-06 1.599e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.185e-06 1.185e-06 1.185e-06 0.00% Castro::FluxRegFineAdd() 5 1.184e-06 1.184e-06 1.184e-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 188 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 1047 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1708 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 6374 KiB 14 MiB MLMG::prepareForSolve() 361 361 3219 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 185 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 184 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6361 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3261 B 2048 KiB Gravity::solve_for_phi() 40 40 593 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 297 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3422 B 480 KiB VisMF::Write(FabArray) 112 112 2285 B 320 KiB Castro::normalize_species() 30 30 8306 B 320 KiB amrex::average_down 469 469 1119 B 257 KiB MLMG::addInterpCorrection() 468 468 1063 B 257 KiB amrex::Dot() 592 592 3128 B 160 KiB FabArray::norminf() 501 501 3154 B 160 KiB check_for_negative_density() 5 5 370 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3119 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 252 B 9648 B MLCellLinOp::applyBC() 3820 3820 199 B 9344 B amrex::Copy() 56 56 5507 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 333 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1144 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 82 KiB 8192 KiB VisMF::Write(FabArray) 120 120 152 KiB 3584 KiB VisMF::Read() 24 24 229 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3120 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 252 B 9648 B MLCellLinOp::applyBC() 1910 1910 198 B 9328 B amrex::Copy() 56 56 5507 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2497 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 494 B 1296 B amrex::average_down 37 37 201 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 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.02-1-g296ed40e16ae) finalized