Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-10-g1e2154f614e5) initialized Starting run at 07:32:57 UTC on 2023-05-11. Successfully read inputs file ... Castro git describe: 23.05-4-g91b60034d AMReX git describe: 23.05-10-g1e2154f61 Microphysics git describe: 23.05-4-g0685d31f 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.059574868 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034237438 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.045601973 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.051284507 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.047035889 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.064851331 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.083245924 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.058793176 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049645215 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.048089606 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.046141809 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.047423783 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.073797204 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.05892248 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034905773 seconds Ending run at 07:32:58 UTC on 2023-05-11. Run time = 0.852872469 Run time without initialization = 0.710349809 Average number of zones advanced per microsecond: 3.690 Average number of zones advanced per microsecond per rank: 3.690 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8529 ... 0.8529 ... 0.8529 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2397 0.2397 0.2397 28.10% Castro::construct_ctu_hydro_source() 10 0.2018 0.2018 0.2018 23.66% MLCellLinOp::applyBC() 4433 0.0773 0.0773 0.0773 9.06% MLPoisson::Fsmooth() 3280 0.03227 0.03227 0.03227 3.78% FillBoundary_nowait() 4023 0.02981 0.02981 0.02981 3.50% StateData::FillBoundary(geom) 328 0.02493 0.02493 0.02493 2.92% amrex::Dot() 1114 0.02056 0.02056 0.02056 2.41% amrex::Copy() 1029 0.0148 0.0148 0.0148 1.74% FabArray::norminf() 743 0.01446 0.01446 0.01446 1.70% Castro::normalize_species() 62 0.01401 0.01401 0.01401 1.64% Castro::computeTemp() 63 0.01377 0.01377 0.01377 1.61% FabArray::ParallelCopy_nowait() 861 0.01337 0.01337 0.01337 1.57% FabArray::setVal() 1144 0.0131 0.0131 0.0131 1.54% StateDataPhysBCFunct::() 41 0.01139 0.01139 0.01139 1.34% Castro::enforce_min_density() 62 0.01093 0.01093 0.01093 1.28% MLPoisson::Fapply() 1142 0.01032 0.01032 0.01032 1.21% MLCellLinOp::defineAuxData() 11 0.009667 0.009667 0.009667 1.13% FabArray::Saxpy() 813 0.008165 0.008165 0.008165 0.96% FabArray::Xpay() 821 0.007986 0.007986 0.007986 0.94% MLMG::addInterpCorrection() 410 0.006634 0.006634 0.006634 0.78% Gravity::fill_multipole_BCs() 11 0.006173 0.006173 0.006173 0.72% amrex::average_down 410 0.00596 0.00596 0.00596 0.70% Castro::estTimeStep() 21 0.005426 0.005426 0.005426 0.64% FabArray::LinComb() 557 0.004511 0.004511 0.004511 0.53% amrex::Add() 164 0.004371 0.004371 0.004371 0.51% Castro::reset_internal_energy(MultiFab) 63 0.003929 0.003929 0.003929 0.46% Amr::checkPoint() 3 0.0039 0.0039 0.0039 0.46% BndryData::define() 11 0.003751 0.003751 0.003751 0.44% Castro::do_advance_ctu() 10 0.002832 0.002832 0.002832 0.33% Castro::construct_new_gravity_source() 10 0.002751 0.002751 0.002751 0.32% Amr::writePlotFile() 2 0.002418 0.002418 0.002418 0.28% Castro::construct_old_gravity_source() 10 0.002216 0.002216 0.002216 0.26% MLCGSolver::bicgstab 82 0.002176 0.002176 0.002176 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001731 0.001731 0.001731 0.20% Castro::reset_internal_energy(Fab) 504 0.001548 0.001548 0.001548 0.18% Gravity::actual_solve_with_mlmg() 11 0.001473 0.001473 0.001473 0.17% MLCellLinOp::setLevelBC() 11 0.001396 0.001396 0.001396 0.16% FabArray::mult() 43 0.001311 0.001311 0.001311 0.15% FabArray::setDomainBndry() 41 0.001298 0.001298 0.001298 0.15% Castro::enforce_speed_limit() 62 0.001296 0.001296 0.001296 0.15% Castro::initData() 1 0.001248 0.001248 0.001248 0.15% MultiFab::contains_nan() 20 0.001201 0.001201 0.001201 0.14% MLCellLinOp::prepareForSolve() 11 0.001127 0.001127 0.001127 0.13% MLCellLinOp::smooth() 1640 0.001088 0.001088 0.001088 0.13% MLCellLinOp::compGrad() 11 0.0009151 0.0009151 0.0009151 0.11% MLMG::prepareForSolve() 11 0.0008766 0.0008766 0.0008766 0.10% FabArray::FillBoundary() 4023 0.000795 0.000795 0.000795 0.09% FabArrayBase::getCPC() 1323 0.0007267 0.0007267 0.0007267 0.09% FabArrayBase::CPC::define() 454 0.0006771 0.0006771 0.0006771 0.08% Gravity::get_new_grav_vector() 11 0.0006461 0.0006461 0.0006461 0.08% FabArrayBase::getFB() 4023 0.0005771 0.0005771 0.0005771 0.07% Gravity::get_old_grav_vector() 10 0.0005472 0.0005472 0.0005472 0.06% Amr::InitAmr() 1 0.0005084 0.0005084 0.0005084 0.06% MLCellLinOp::apply() 1142 0.0004433 0.0004433 0.0004433 0.05% MLLinOp::defineGrids() 11 0.0003572 0.0003572 0.0003572 0.04% MLMG::mgVcycle() 82 0.0003442 0.0003442 0.0003442 0.04% Amr::coarseTimeStep() 10 0.0003262 0.0003262 0.0003262 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002928 0.0002928 0.0002928 0.03% main() 1 0.0002884 0.0002884 0.0002884 0.03% MultiFab::max() 11 0.0002572 0.0002572 0.0002572 0.03% FabArray::ParallelCopy() 861 0.0002348 0.0002348 0.0002348 0.03% FillPatchIterator::Initialize 41 0.0002305 0.0002305 0.0002305 0.03% MLCellLinOp::correctionResidual() 492 0.0002256 0.0002256 0.0002256 0.03% MLCellLinOp::defineBC() 11 0.0002225 0.0002225 0.0002225 0.03% Castro::subcycle_advance_ctu() 10 0.0002066 0.0002066 0.0002066 0.02% Amr::timeStep() 10 0.0001579 0.0001579 0.0001579 0.02% Castro::create_source_corrector() 10 0.0001495 0.0001495 0.0001495 0.02% StateData::checkPoint() 12 0.0001316 0.0001316 0.0001316 0.02% Gravity::update_max_rhs() 11 0.0001159 0.0001159 0.0001159 0.01% MLMG:computeResOfCorrection() 410 0.0001155 0.0001155 0.0001155 0.01% Gravity::solve_for_phi() 10 0.0001149 0.0001149 0.0001149 0.01% Castro::Castro() 1 9.985e-05 9.985e-05 9.985e-05 0.01% FabArrayBase::FB::FB() 56 8.934e-05 8.934e-05 8.934e-05 0.01% MLMG::actualBottomSolve() 82 8.714e-05 8.714e-05 8.714e-05 0.01% MLMG::mgVcycle_down::0 82 8.547e-05 8.547e-05 8.547e-05 0.01% MLMG::mgVcycle_down::2 82 8.041e-05 8.041e-05 8.041e-05 0.01% Castro::expand_state() 10 7.954e-05 7.954e-05 7.954e-05 0.01% MLMG::mgVcycle_down::1 82 7.891e-05 7.891e-05 7.891e-05 0.01% MLMG::mgVcycle_down::3 82 7.577e-05 7.577e-05 7.577e-05 0.01% MLMG::mgVcycle_down::4 82 7.547e-05 7.547e-05 7.547e-05 0.01% AmrLevel::checkPoint() 3 7.411e-05 7.411e-05 7.411e-05 0.01% Castro::construct_new_source() 50 7.244e-05 7.244e-05 7.244e-05 0.01% Castro::clean_state() 62 7.233e-05 7.233e-05 7.233e-05 0.01% MLMG::solve() 11 7.187e-05 7.187e-05 7.187e-05 0.01% Castro::initialize_advance() 10 6.831e-05 6.831e-05 6.831e-05 0.01% MLMG::mgVcycle_up::4 82 5.991e-05 5.991e-05 5.991e-05 0.01% Castro::finalize_advance() 10 5.878e-05 5.878e-05 5.878e-05 0.01% MLMG::oneIter() 82 5.542e-05 5.542e-05 5.542e-05 0.01% MLMG::mgVcycle_up::3 82 5.262e-05 5.262e-05 5.262e-05 0.01% MLMG::mgVcycle_up::0 82 5.066e-05 5.066e-05 5.066e-05 0.01% Castro::initialize_do_advance() 10 5.041e-05 5.041e-05 5.041e-05 0.01% MLMG::mgVcycle_up::1 82 5.005e-05 5.005e-05 5.005e-05 0.01% MLCellLinOp::solutionResidual() 93 4.893e-05 4.893e-05 4.893e-05 0.01% MLMG::mgVcycle_up::2 82 4.749e-05 4.749e-05 4.749e-05 0.01% Castro::swap_state_time_levels() 10 3.712e-05 3.712e-05 3.712e-05 0.00% Castro::finalize_do_advance() 10 3.671e-05 3.671e-05 3.671e-05 0.00% StateData::define() 4 3.564e-05 3.564e-05 3.564e-05 0.00% Castro::post_timestep() 10 3.461e-05 3.461e-05 3.461e-05 0.00% Castro::enforce_consistent_e() 1 3.4e-05 3.4e-05 3.4e-05 0.00% MLMG::ResNormInf() 93 3.24e-05 3.24e-05 3.24e-05 0.00% MLMG::mgVcycle_bottom 82 3.178e-05 3.178e-05 3.178e-05 0.00% FillPatchSingleLevel 41 2.95e-05 2.95e-05 2.95e-05 0.00% MLMG::computeResidual() 82 2.887e-05 2.887e-05 2.887e-05 0.00% Amr::writeSmallPlotFile() 1 2.568e-05 2.568e-05 2.568e-05 0.00% Castro::initMFs() 1 2.524e-05 2.524e-05 2.524e-05 0.00% makeSFC 55 2.366e-05 2.366e-05 2.366e-05 0.00% Castro::construct_new_gravity() 10 2.355e-05 2.355e-05 2.355e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.285e-05 2.285e-05 2.285e-05 0.00% MLPoisson::define() 11 2.205e-05 2.205e-05 2.205e-05 0.00% Castro::advance() 10 2.137e-05 2.137e-05 2.137e-05 0.00% Amr::defBaseLevel() 1 2.065e-05 2.065e-05 2.065e-05 0.00% Amr::FinalizeInit() 1 1.971e-05 1.971e-05 1.971e-05 0.00% Castro::buildMetrics() 1 1.825e-05 1.825e-05 1.825e-05 0.00% Castro::construct_old_source() 50 1.81e-05 1.81e-05 1.81e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.723e-05 1.723e-05 1.723e-05 0.00% Castro::do_new_sources() 10 1.716e-05 1.716e-05 1.716e-05 0.00% DistributionMapping::Distribute() 56 1.488e-05 1.488e-05 1.488e-05 0.00% MLPoisson::prepareForSolve() 11 1.474e-05 1.474e-05 1.474e-05 0.00% Castro::do_old_sources() 10 1.441e-05 1.441e-05 1.441e-05 0.00% MLMG::computeMLResidual() 11 1.436e-05 1.436e-05 1.436e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.358e-05 1.358e-05 1.358e-05 0.00% Castro::check_for_nan() 20 1.082e-05 1.082e-05 1.082e-05 0.00% Castro::apply_source_to_state() 20 1.041e-05 1.041e-05 1.041e-05 0.00% MLLinOp::define() 11 9.837e-06 9.837e-06 9.837e-06 0.00% AmrLevel::AmrLevel(dm) 1 9.78e-06 9.78e-06 9.78e-06 0.00% Castro::construct_old_gravity() 10 9.393e-06 9.393e-06 9.393e-06 0.00% Amr::initSubcycle() 1 8.754e-06 8.754e-06 8.754e-06 0.00% Gravity::swapTimeLevels() 10 8.546e-06 8.546e-06 8.546e-06 0.00% Gravity::actual_multilevel_solve() 1 8.278e-06 8.278e-06 8.278e-06 0.00% Castro::computeNewDt() 9 6.374e-06 6.374e-06 6.374e-06 0.00% MLMG::getGradSolution() 11 5.584e-06 5.584e-06 5.584e-06 0.00% Amr::InitializeInit() 1 4.679e-06 4.679e-06 4.679e-06 0.00% AmrLevel::checkPointPost() 3 4.317e-06 4.317e-06 4.317e-06 0.00% Castro::retry_advance_ctu() 10 4.31e-06 4.31e-06 4.31e-06 0.00% Gravity::set_mass_offset() 11 4.238e-06 4.238e-06 4.238e-06 0.00% MLMG::MLRhsNormInf() 11 3.962e-06 3.962e-06 3.962e-06 0.00% MLMG::MLResNormInf() 11 3.775e-06 3.775e-06 3.775e-06 0.00% Castro::post_init() 1 3.614e-06 3.614e-06 3.614e-06 0.00% Castro::computeInitialDt() 2 3.144e-06 3.144e-06 3.144e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.128e-06 3.128e-06 3.128e-06 0.00% Amr::init() 1 2.627e-06 2.627e-06 2.627e-06 0.00% Castro::FluxRegCrseInit 10 2.618e-06 2.618e-06 2.618e-06 0.00% Castro::FluxRegFineAdd() 10 1.85e-06 1.85e-06 1.85e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.842e-06 1.842e-06 1.842e-06 0.00% AmrLevel::checkPointPre() 3 1.71e-06 1.71e-06 1.71e-06 0.00% Amr::initialInit() 1 1.229e-06 1.229e-06 1.229e-06 0.00% Castro::post_regrid() 1 7.99e-07 7.99e-07 7.99e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8529 0.8529 0.8529 100.00% Amr::coarseTimeStep() 10 0.6752 0.6752 0.6752 79.17% Amr::timeStep() 10 0.5536 0.5536 0.5536 64.91% Castro::advance() 10 0.5467 0.5467 0.5467 64.10% Castro::subcycle_advance_ctu() 10 0.5346 0.5346 0.5346 62.68% Castro::do_advance_ctu() 10 0.5344 0.5344 0.5344 62.66% Gravity::solve_phi_with_mlmg() 11 0.282 0.282 0.282 33.06% Gravity::actual_solve_with_mlmg() 11 0.2753 0.2753 0.2753 32.28% Castro::construct_new_gravity() 10 0.2574 0.2574 0.2574 30.18% MLMG::solve() 11 0.2547 0.2547 0.2547 29.86% Gravity::solve_for_phi() 10 0.2418 0.2418 0.2418 28.35% MLMG::oneIter() 82 0.2404 0.2404 0.2404 28.19% VisMF::Write(FabArray) 11 0.2397 0.2397 0.2397 28.10% MLMG::mgVcycle() 82 0.2368 0.2368 0.2368 27.76% Castro::construct_ctu_hydro_source() 10 0.2018 0.2018 0.2018 23.66% Amr::checkPoint() 3 0.1774 0.1774 0.1774 20.80% AmrLevel::checkPoint() 3 0.1735 0.1735 0.1735 20.35% StateData::checkPoint() 12 0.1735 0.1735 0.1735 20.34% Amr::init() 1 0.1419 0.1419 0.1419 16.63% MLCellLinOp::smooth() 1640 0.1162 0.1162 0.1162 13.62% MLCellLinOp::applyBC() 4433 0.1086 0.1086 0.1086 12.73% MLMG::mgVcycle_bottom 82 0.07372 0.07372 0.07372 8.64% MLMG::actualBottomSolve() 82 0.07369 0.07369 0.07369 8.64% MLCGSolver::bicgstab 82 0.07299 0.07299 0.07299 8.56% Amr::writePlotFile() 2 0.06927 0.06927 0.06927 8.12% Amr::initialInit() 1 0.04792 0.04792 0.04792 5.62% Castro::clean_state() 62 0.04482 0.04482 0.04482 5.26% Amr::FinalizeInit() 1 0.04393 0.04393 0.04393 5.15% Castro::post_init() 1 0.04258 0.04258 0.04258 4.99% FillPatchIterator::Initialize 41 0.04191 0.04191 0.04191 4.91% Gravity::multilevel_solve_for_new_phi() 1 0.04062 0.04062 0.04062 4.76% Gravity::actual_multilevel_solve() 1 0.04061 0.04061 0.04061 4.76% FillPatchSingleLevel 41 0.04038 0.04038 0.04038 4.73% StateDataPhysBCFunct::() 41 0.03633 0.03633 0.03633 4.26% MLCellLinOp::apply() 1142 0.03606 0.03606 0.03606 4.23% MLMG::mgVcycle_down::0 82 0.03312 0.03312 0.03312 3.88% MLPoisson::Fsmooth() 3280 0.03227 0.03227 0.03227 3.78% FabArray::FillBoundary() 4023 0.03127 0.03127 0.03127 3.67% FillBoundary_nowait() 4023 0.03048 0.03048 0.03048 3.57% MLMG::mgVcycle_up::0 82 0.02503 0.02503 0.02503 2.94% StateData::FillBoundary(geom) 328 0.02493 0.02493 0.02493 2.92% MLCellLinOp::correctionResidual() 492 0.02197 0.02197 0.02197 2.58% amrex::Dot() 1114 0.02056 0.02056 0.02056 2.41% Castro::initialize_do_advance() 10 0.01978 0.01978 0.01978 2.32% MLMG:computeResOfCorrection() 410 0.01934 0.01934 0.01934 2.27% Castro::computeTemp() 63 0.01925 0.01925 0.01925 2.26% Gravity::get_new_grav_vector() 11 0.01726 0.01726 0.01726 2.02% MLPoisson::define() 11 0.01642 0.01642 0.01642 1.92% MLMG::mgVcycle_down::1 82 0.01578 0.01578 0.01578 1.85% Castro::construct_old_gravity() 10 0.01498 0.01498 0.01498 1.76% Gravity::get_old_grav_vector() 10 0.01497 0.01497 0.01497 1.75% amrex::Copy() 1029 0.0148 0.0148 0.0148 1.74% MLMG::mgVcycle_down::2 82 0.01473 0.01473 0.01473 1.73% FabArray::norminf() 743 0.01446 0.01446 0.01446 1.70% FabArray::ParallelCopy() 861 0.0144 0.0144 0.0144 1.69% MLMG::mgVcycle_down::3 82 0.01439 0.01439 0.01439 1.69% MLMG::mgVcycle_down::4 82 0.01426 0.01426 0.01426 1.67% FabArray::ParallelCopy_nowait() 861 0.01417 0.01417 0.01417 1.66% Castro::normalize_species() 62 0.01401 0.01401 0.01401 1.64% FabArray::setVal() 1144 0.0131 0.0131 0.0131 1.54% MLCGSolver::ParallelAllReduce 1514 0.01231 0.01231 0.01231 1.44% MLMG::addInterpCorrection() 410 0.0118 0.0118 0.0118 1.38% Castro::do_new_sources() 10 0.01174 0.01174 0.01174 1.38% MLMG::mgVcycle_up::1 82 0.01163 0.01163 0.01163 1.36% Castro::initialize_advance() 10 0.0115 0.0115 0.0115 1.35% MLMG::mgVcycle_up::4 82 0.01142 0.01142 0.01142 1.34% MLMG::mgVcycle_up::2 82 0.01126 0.01126 0.01126 1.32% amrex::average_down 410 0.01117 0.01117 0.01117 1.31% Castro::expand_state() 10 0.01106 0.01106 0.01106 1.30% MLMG::mgVcycle_up::3 82 0.01106 0.01106 0.01106 1.30% MLCellLinOp::defineAuxData() 11 0.01101 0.01101 0.01101 1.29% Castro::enforce_min_density() 62 0.01093 0.01093 0.01093 1.28% MLPoisson::Fapply() 1142 0.01032 0.01032 0.01032 1.21% Castro::do_old_sources() 10 0.01012 0.01012 0.01012 1.19% FabArray::Saxpy() 813 0.008165 0.008165 0.008165 0.96% FabArray::Xpay() 821 0.007986 0.007986 0.007986 0.94% MLCellLinOp::solutionResidual() 93 0.007118 0.007118 0.007118 0.83% Castro::post_timestep() 10 0.006726 0.006726 0.006726 0.79% Gravity::fill_multipole_BCs() 11 0.006418 0.006418 0.006418 0.75% MLMG::computeResidual() 82 0.006131 0.006131 0.006131 0.72% Castro::reset_internal_energy(MultiFab) 63 0.005477 0.005477 0.005477 0.64% Castro::estTimeStep() 21 0.005426 0.005426 0.005426 0.64% MLCellLinOp::defineBC() 11 0.004968 0.004968 0.004968 0.58% BndryData::define() 11 0.004746 0.004746 0.004746 0.56% MLMG::prepareForSolve() 11 0.004679 0.004679 0.004679 0.55% FabArray::LinComb() 557 0.004511 0.004511 0.004511 0.53% amrex::Add() 164 0.004371 0.004371 0.004371 0.51% Amr::InitializeInit() 1 0.00399 0.00399 0.00399 0.47% Amr::defBaseLevel() 1 0.003985 0.003985 0.003985 0.47% Castro::initData() 1 0.003463 0.003463 0.003463 0.41% Castro::construct_new_source() 50 0.002824 0.002824 0.002824 0.33% Castro::computeNewDt() 9 0.002821 0.002821 0.002821 0.33% Castro::construct_new_gravity_source() 10 0.002751 0.002751 0.002751 0.32% Castro::construct_old_source() 50 0.002234 0.002234 0.002234 0.26% Castro::construct_old_gravity_source() 10 0.002216 0.002216 0.002216 0.26% MLMG::ResNormInf() 93 0.002089 0.002089 0.002089 0.24% Castro::apply_source_to_state() 20 0.001821 0.001821 0.001821 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001731 0.001731 0.001731 0.20% Castro::reset_internal_energy(Fab) 504 0.001548 0.001548 0.001548 0.18% FabArrayBase::getCPC() 1323 0.001404 0.001404 0.001404 0.16% MLCellLinOp::setLevelBC() 11 0.001396 0.001396 0.001396 0.16% MLMG::getGradSolution() 11 0.001393 0.001393 0.001393 0.16% MLCellLinOp::compGrad() 11 0.001388 0.001388 0.001388 0.16% FabArray::mult() 43 0.001311 0.001311 0.001311 0.15% FabArray::setDomainBndry() 41 0.001298 0.001298 0.001298 0.15% Castro::enforce_speed_limit() 62 0.001296 0.001296 0.001296 0.15% Castro::check_for_nan() 20 0.001211 0.001211 0.001211 0.14% MultiFab::contains_nan() 20 0.001201 0.001201 0.001201 0.14% MLPoisson::prepareForSolve() 11 0.001142 0.001142 0.001142 0.13% MLCellLinOp::prepareForSolve() 11 0.001127 0.001127 0.001127 0.13% Castro::post_regrid() 1 0.001123 0.001123 0.001123 0.13% MLMG::computeMLResidual() 11 0.001031 0.001031 0.001031 0.12% Castro::computeInitialDt() 2 0.0009051 0.0009051 0.0009051 0.11% Gravity::update_max_rhs() 11 0.0008112 0.0008112 0.0008112 0.10% FabArrayBase::CPC::define() 454 0.0006771 0.0006771 0.0006771 0.08% FabArrayBase::getFB() 4023 0.0006664 0.0006664 0.0006664 0.08% Castro::finalize_advance() 10 0.0005803 0.0005803 0.0005803 0.07% Amr::InitAmr() 1 0.0005172 0.0005172 0.0005172 0.06% Castro::Castro() 1 0.0004518 0.0004518 0.0004518 0.05% Gravity::swapTimeLevels() 10 0.0004346 0.0004346 0.0004346 0.05% MLLinOp::define() 11 0.0004197 0.0004197 0.0004197 0.05% MLLinOp::defineGrids() 11 0.0004098 0.0004098 0.0004098 0.05% MLMG::MLResNormInf() 11 0.0002842 0.0002842 0.0002842 0.03% MultiFab::max() 11 0.0002572 0.0002572 0.0002572 0.03% MLMG::MLRhsNormInf() 11 0.0002194 0.0002194 0.0002194 0.03% Castro::buildMetrics() 1 0.0001627 0.0001627 0.0001627 0.02% Castro::create_source_corrector() 10 0.0001495 0.0001495 0.0001495 0.02% FabArrayBase::FB::FB() 56 8.934e-05 8.934e-05 8.934e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.082e-05 5.082e-05 5.082e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.542e-05 4.542e-05 4.542e-05 0.01% makeSFC 55 3.724e-05 3.724e-05 3.724e-05 0.00% Castro::swap_state_time_levels() 10 3.712e-05 3.712e-05 3.712e-05 0.00% Castro::finalize_do_advance() 10 3.671e-05 3.671e-05 3.671e-05 0.00% StateData::define() 4 3.564e-05 3.564e-05 3.564e-05 0.00% Castro::enforce_consistent_e() 1 3.4e-05 3.4e-05 3.4e-05 0.00% Amr::writeSmallPlotFile() 1 2.568e-05 2.568e-05 2.568e-05 0.00% Castro::initMFs() 1 2.524e-05 2.524e-05 2.524e-05 0.00% DistributionMapping::Distribute() 56 1.488e-05 1.488e-05 1.488e-05 0.00% Amr::initSubcycle() 1 8.754e-06 8.754e-06 8.754e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.432e-06 4.432e-06 4.432e-06 0.00% AmrLevel::checkPointPost() 3 4.317e-06 4.317e-06 4.317e-06 0.00% Castro::retry_advance_ctu() 10 4.31e-06 4.31e-06 4.31e-06 0.00% Gravity::set_mass_offset() 11 4.238e-06 4.238e-06 4.238e-06 0.00% Castro::FluxRegCrseInit 10 2.618e-06 2.618e-06 2.618e-06 0.00% Castro::FluxRegFineAdd() 10 1.85e-06 1.85e-06 1.85e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.842e-06 1.842e-06 1.842e-06 0.00% AmrLevel::checkPointPre() 3 1.71e-06 1.71e-06 1.71e-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 94 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 110 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1042 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2282 KiB 28 MiB Castro::initialize_advance() 80 80 14 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3673 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 210 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 179 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7524 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1824 B 2048 KiB Gravity::solve_for_phi() 80 80 579 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 335 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 213 KiB 671 KiB Castro::estTimeStep() 21 21 2424 B 480 KiB VisMF::Write(FabArray) 656 656 3527 B 320 KiB Castro::normalize_species() 62 62 5346 B 320 KiB amrex::average_down 1067 1067 1298 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1192 B 257 KiB amrex::Dot() 1360 1360 3554 B 160 KiB FabArray::norminf() 907 907 2506 B 160 KiB Castro::do_advance_ctu() 10 10 500 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 28 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3591 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 8866 8866 231 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3843 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 124 B 1472 B MLCellLinOp::defineBC() 66 66 378 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 607 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 52 KiB 8192 KiB VisMF::Write(FabArray) 744 744 655 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3591 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 304 B 9648 B MLCellLinOp::applyBC() 4433 4433 230 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3843 B 6144 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 2880 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 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 306 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-10-g1e2154f614e5) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-10-g1e2154f614e5) initialized Starting run at 07:32:58 UTC on 2023-05-11. Successfully read inputs file ... Castro git describe: 23.05-4-g91b60034d AMReX git describe: 23.05-10-g1e2154f61 Microphysics git describe: 23.05-4-g0685d31f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.493345976 Restart time = 0.045981718 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.047859631 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.047661181 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.047151808 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.047113009 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.061215721 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033320263 seconds Ending run at 07:32:59 UTC on 2023-05-11. Run time = 0.331322817 Run time without initialization = 0.284724226 Average number of zones advanced per microsecond: 4.603 Average number of zones advanced per microsecond per rank: 4.603 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3314 ... 0.3314 ... 0.3314 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0717 0.0717 0.0717 21.64% VisMF::Read() 3 0.03958 0.03958 0.03958 11.94% MLCellLinOp::applyBC() 1946 0.03341 0.03341 0.03341 10.08% VisMF::Write(FabArray) 1 0.03181 0.03181 0.03181 9.60% MLPoisson::Fsmooth() 1440 0.0139 0.0139 0.0139 4.19% FillBoundary_nowait() 1766 0.01283 0.01283 0.01283 3.87% StateData::FillBoundary(geom) 160 0.01215 0.01215 0.01215 3.67% amrex::Dot() 484 0.008812 0.008812 0.008812 2.66% Castro::normalize_species() 30 0.006932 0.006932 0.006932 2.09% amrex::Copy() 463 0.006924 0.006924 0.006924 2.09% FabArray::norminf() 326 0.00627 0.00627 0.00627 1.89% FabArray::setVal() 537 0.006251 0.006251 0.006251 1.89% FabArray::ParallelCopy_nowait() 380 0.006075 0.006075 0.006075 1.83% StateDataPhysBCFunct::() 20 0.00549 0.00549 0.00549 1.66% MLCellLinOp::defineAuxData() 6 0.005273 0.005273 0.005273 1.59% Castro::enforce_min_density() 30 0.00516 0.00516 0.00516 1.56% Castro::computeTemp() 30 0.004805 0.004805 0.004805 1.45% MLPoisson::Fapply() 500 0.004472 0.004472 0.004472 1.35% FabArray::Saxpy() 355 0.003637 0.003637 0.003637 1.10% FabArray::Xpay() 361 0.003495 0.003495 0.003495 1.05% Gravity::fill_multipole_BCs() 6 0.003436 0.003436 0.003436 1.04% MLMG::addInterpCorrection() 180 0.002875 0.002875 0.002875 0.87% amrex::average_down 180 0.0026 0.0026 0.0026 0.78% Amr::restart() 1 0.002594 0.002594 0.002594 0.78% Castro::estTimeStep() 10 0.002463 0.002463 0.002463 0.74% Castro::reset_internal_energy(MultiFab) 30 0.002294 0.002294 0.002294 0.69% BndryData::define() 6 0.002082 0.002082 0.002082 0.63% FabArray::LinComb() 242 0.001929 0.001929 0.001929 0.58% amrex::Add() 72 0.001858 0.001858 0.001858 0.56% Castro::construct_new_gravity_source() 5 0.001588 0.001588 0.001588 0.48% Castro::do_advance_ctu() 5 0.001446 0.001446 0.001446 0.44% Amr::writePlotFile() 1 0.001349 0.001349 0.001349 0.41% Castro::construct_old_gravity_source() 5 0.001299 0.001299 0.001299 0.39% MLCGSolver::bicgstab 36 0.0009508 0.0009508 0.0009508 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009371 0.0009371 0.0009371 0.28% Gravity::actual_solve_with_mlmg() 6 0.0007857 0.0007857 0.0007857 0.24% MLCellLinOp::setLevelBC() 6 0.00077 0.00077 0.00077 0.23% Castro::reset_internal_energy(Fab) 240 0.0007494 0.0007494 0.0007494 0.23% Castro::enforce_speed_limit() 30 0.0007017 0.0007017 0.0007017 0.21% FabArray::mult() 22 0.0006472 0.0006472 0.0006472 0.20% FabArray::setDomainBndry() 20 0.000641 0.000641 0.000641 0.19% MLCellLinOp::prepareForSolve() 6 0.0006164 0.0006164 0.0006164 0.19% MultiFab::contains_nan() 10 0.0005991 0.0005991 0.0005991 0.18% MLCellLinOp::compGrad() 6 0.0004922 0.0004922 0.0004922 0.15% MLMG::prepareForSolve() 6 0.0004898 0.0004898 0.0004898 0.15% Amr::InitAmr() 1 0.0004352 0.0004352 0.0004352 0.13% MLCellLinOp::smooth() 720 0.0004351 0.0004351 0.0004351 0.13% FabArrayBase::CPC::define() 244 0.0004222 0.0004222 0.0004222 0.13% FabArrayBase::getCPC() 632 0.000349 0.000349 0.000349 0.11% FabArray::FillBoundary() 1766 0.0003441 0.0003441 0.0003441 0.10% Gravity::get_old_grav_vector() 5 0.000307 0.000307 0.000307 0.09% Gravity::get_new_grav_vector() 5 0.0002732 0.0002732 0.0002732 0.08% main() 1 0.0002726 0.0002726 0.0002726 0.08% FabArrayBase::getFB() 1766 0.0002463 0.0002463 0.0002463 0.07% MLLinOp::defineGrids() 6 0.0001887 0.0001887 0.0001887 0.06% MLCellLinOp::apply() 500 0.0001858 0.0001858 0.0001858 0.06% Amr::coarseTimeStep() 5 0.0001608 0.0001608 0.0001608 0.05% MLMG::mgVcycle() 36 0.0001562 0.0001562 0.0001562 0.05% MultiFab::max() 6 0.0001368 0.0001368 0.0001368 0.04% FillPatchIterator::Initialize 20 0.0001257 0.0001257 0.0001257 0.04% MLCGSolver::ParallelAllReduce 659 0.0001214 0.0001214 0.0001214 0.04% MLCellLinOp::defineBC() 6 0.0001201 0.0001201 0.0001201 0.04% Castro::subcycle_advance_ctu() 5 0.0001149 0.0001149 0.0001149 0.03% FabArray::ParallelCopy() 380 0.0001077 0.0001077 0.0001077 0.03% Castro::create_source_corrector() 5 0.0001013 0.0001013 0.0001013 0.03% MLCellLinOp::correctionResidual() 216 9.489e-05 9.489e-05 9.489e-05 0.03% Amr::timeStep() 5 7.662e-05 7.662e-05 7.662e-05 0.02% AmrLevel::restart() 1 7.506e-05 7.506e-05 7.506e-05 0.02% StateData::restartDoit() 4 6.507e-05 6.507e-05 6.507e-05 0.02% Gravity::update_max_rhs() 6 5.86e-05 5.86e-05 5.86e-05 0.02% FabArrayBase::FB::FB() 26 5.86e-05 5.86e-05 5.86e-05 0.02% Gravity::solve_for_phi() 5 5.4e-05 5.4e-05 5.4e-05 0.02% MLMG:computeResOfCorrection() 180 5.113e-05 5.113e-05 5.113e-05 0.02% Castro::expand_state() 5 4.946e-05 4.946e-05 4.946e-05 0.01% MLMG::actualBottomSolve() 36 3.91e-05 3.91e-05 3.91e-05 0.01% MLMG::mgVcycle_down::0 36 3.879e-05 3.879e-05 3.879e-05 0.01% Castro::clean_state() 30 3.65e-05 3.65e-05 3.65e-05 0.01% MLMG::mgVcycle_down::3 36 3.571e-05 3.571e-05 3.571e-05 0.01% MLMG::mgVcycle_down::1 36 3.465e-05 3.465e-05 3.465e-05 0.01% MLMG::mgVcycle_down::4 36 3.419e-05 3.419e-05 3.419e-05 0.01% MLMG::mgVcycle_down::2 36 3.342e-05 3.342e-05 3.342e-05 0.01% MLMG::solve() 6 3.313e-05 3.313e-05 3.313e-05 0.01% Castro::initialize_advance() 5 3.279e-05 3.279e-05 3.279e-05 0.01% MLMG::mgVcycle_up::4 36 2.853e-05 2.853e-05 2.853e-05 0.01% Castro::finalize_advance() 5 2.839e-05 2.839e-05 2.839e-05 0.01% Castro::construct_new_source() 25 2.831e-05 2.831e-05 2.831e-05 0.01% Amr::writeSmallPlotFile() 1 2.686e-05 2.686e-05 2.686e-05 0.01% Castro::initMFs() 1 2.574e-05 2.574e-05 2.574e-05 0.01% Castro::buildMetrics() 1 2.549e-05 2.549e-05 2.549e-05 0.01% Castro::initialize_do_advance() 5 2.532e-05 2.532e-05 2.532e-05 0.01% MLMG::oneIter() 36 2.502e-05 2.502e-05 2.502e-05 0.01% Castro::finalize_do_advance() 5 2.421e-05 2.421e-05 2.421e-05 0.01% Castro::swap_state_time_levels() 5 2.256e-05 2.256e-05 2.256e-05 0.01% MLMG::mgVcycle_up::0 36 2.179e-05 2.179e-05 2.179e-05 0.01% MLMG::mgVcycle_up::3 36 2.165e-05 2.165e-05 2.165e-05 0.01% MLCellLinOp::solutionResidual() 42 2.1e-05 2.1e-05 2.1e-05 0.01% MLMG::mgVcycle_up::2 36 2.086e-05 2.086e-05 2.086e-05 0.01% MLMG::mgVcycle_up::1 36 2.046e-05 2.046e-05 2.046e-05 0.01% Castro::post_restart() 1 1.966e-05 1.966e-05 1.966e-05 0.01% MLMG::ResNormInf() 42 1.72e-05 1.72e-05 1.72e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.564e-05 1.564e-05 1.564e-05 0.00% MLPoisson::define() 6 1.538e-05 1.538e-05 1.538e-05 0.00% Castro::do_new_sources() 5 1.472e-05 1.472e-05 1.472e-05 0.00% FillPatchSingleLevel 20 1.421e-05 1.421e-05 1.421e-05 0.00% Castro::advance() 5 1.408e-05 1.408e-05 1.408e-05 0.00% MLMG::computeResidual() 36 1.393e-05 1.393e-05 1.393e-05 0.00% MLMG::mgVcycle_bottom 36 1.378e-05 1.378e-05 1.378e-05 0.00% makeSFC 30 1.28e-05 1.28e-05 1.28e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.21e-05 1.21e-05 1.21e-05 0.00% Castro::construct_new_gravity() 5 1.174e-05 1.174e-05 1.174e-05 0.00% MLPoisson::prepareForSolve() 6 1.086e-05 1.086e-05 1.086e-05 0.00% MLLinOp::define() 6 1.043e-05 1.043e-05 1.043e-05 0.00% MLMG::computeMLResidual() 6 1.027e-05 1.027e-05 1.027e-05 0.00% Castro::construct_old_source() 25 1.018e-05 1.018e-05 1.018e-05 0.00% Amr::initSubcycle() 1 9.39e-06 9.39e-06 9.39e-06 0.00% DistributionMapping::Distribute() 31 8.775e-06 8.775e-06 8.775e-06 0.00% Castro::do_old_sources() 5 7.897e-06 7.897e-06 7.897e-06 0.00% Gravity::actual_multilevel_solve() 1 7.485e-06 7.485e-06 7.485e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.045e-06 7.045e-06 7.045e-06 0.00% Castro::check_for_nan() 10 5.799e-06 5.799e-06 5.799e-06 0.00% Castro::construct_old_gravity() 5 5.385e-06 5.385e-06 5.385e-06 0.00% Castro::apply_source_to_state() 10 5.168e-06 5.168e-06 5.168e-06 0.00% Castro::post_timestep() 5 4.452e-06 4.452e-06 4.452e-06 0.00% Gravity::swapTimeLevels() 5 3.443e-06 3.443e-06 3.443e-06 0.00% Castro::computeNewDt() 5 3.249e-06 3.249e-06 3.249e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.149e-06 3.149e-06 3.149e-06 0.00% MLMG::getGradSolution() 6 3.049e-06 3.049e-06 3.049e-06 0.00% MLMG::MLResNormInf() 6 2.319e-06 2.319e-06 2.319e-06 0.00% MLMG::MLRhsNormInf() 6 2.215e-06 2.215e-06 2.215e-06 0.00% Gravity::set_mass_offset() 6 1.975e-06 1.975e-06 1.975e-06 0.00% Castro::retry_advance_ctu() 5 1.812e-06 1.812e-06 1.812e-06 0.00% Castro::FluxRegCrseInit 5 1.568e-06 1.568e-06 1.568e-06 0.00% Castro::FluxRegFineAdd() 5 1.19e-06 1.19e-06 1.19e-06 0.00% Amr::init() 1 1.092e-06 1.092e-06 1.092e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.88e-07 9.88e-07 9.88e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3313 0.3313 0.3313 99.99% Amr::coarseTimeStep() 5 0.2512 0.2512 0.2512 75.80% Amr::timeStep() 5 0.2493 0.2493 0.2493 75.23% Castro::advance() 5 0.2458 0.2458 0.2458 74.17% Castro::subcycle_advance_ctu() 5 0.2391 0.2391 0.2391 72.17% Castro::do_advance_ctu() 5 0.239 0.239 0.239 72.14% Castro::construct_new_gravity() 5 0.1301 0.1301 0.1301 39.27% Gravity::solve_phi_with_mlmg() 6 0.1255 0.1255 0.1255 37.87% Gravity::solve_for_phi() 5 0.1223 0.1223 0.1223 36.92% Gravity::actual_solve_with_mlmg() 6 0.1218 0.1218 0.1218 36.76% MLMG::solve() 6 0.1105 0.1105 0.1105 33.34% MLMG::oneIter() 36 0.1036 0.1036 0.1036 31.26% MLMG::mgVcycle() 36 0.102 0.102 0.102 30.79% Castro::construct_ctu_hydro_source() 5 0.0717 0.0717 0.0717 21.64% MLCellLinOp::smooth() 720 0.04993 0.04993 0.04993 15.07% MLCellLinOp::applyBC() 1946 0.04689 0.04689 0.04689 14.15% Amr::init() 1 0.04602 0.04602 0.04602 13.89% Amr::restart() 1 0.04602 0.04602 0.04602 13.89% AmrLevel::restart() 1 0.03977 0.03977 0.03977 12.00% StateData::restartDoit() 4 0.03969 0.03969 0.03969 11.98% VisMF::Read() 3 0.03958 0.03958 0.03958 11.94% Amr::writePlotFile() 1 0.03341 0.03341 0.03341 10.08% VisMF::Write(FabArray) 1 0.03181 0.03181 0.03181 9.60% MLMG::mgVcycle_bottom 36 0.03173 0.03173 0.03173 9.57% MLMG::actualBottomSolve() 36 0.03171 0.03171 0.03171 9.57% MLCGSolver::bicgstab 36 0.03141 0.03141 0.03141 9.48% Castro::clean_state() 30 0.02068 0.02068 0.02068 6.24% FillPatchIterator::Initialize 20 0.02045 0.02045 0.02045 6.17% FillPatchSingleLevel 20 0.01968 0.01968 0.01968 5.94% StateDataPhysBCFunct::() 20 0.01764 0.01764 0.01764 5.32% MLCellLinOp::apply() 500 0.01568 0.01568 0.01568 4.73% MLMG::mgVcycle_down::0 36 0.0143 0.0143 0.0143 4.32% MLPoisson::Fsmooth() 1440 0.0139 0.0139 0.0139 4.19% FabArray::FillBoundary() 1766 0.01348 0.01348 0.01348 4.07% FillBoundary_nowait() 1766 0.01313 0.01313 0.01313 3.96% StateData::FillBoundary(geom) 160 0.01215 0.01215 0.01215 3.67% MLMG::mgVcycle_up::0 36 0.01081 0.01081 0.01081 3.26% Castro::initialize_do_advance() 5 0.009636 0.009636 0.009636 2.91% MLCellLinOp::correctionResidual() 216 0.009486 0.009486 0.009486 2.86% MLPoisson::define() 6 0.009038 0.009038 0.009038 2.73% amrex::Dot() 484 0.008812 0.008812 0.008812 2.66% MLMG:computeResOfCorrection() 180 0.008336 0.008336 0.008336 2.52% Castro::computeTemp() 30 0.007848 0.007848 0.007848 2.37% Gravity::get_new_grav_vector() 5 0.007663 0.007663 0.007663 2.31% Castro::construct_old_gravity() 5 0.007473 0.007473 0.007473 2.26% Gravity::get_old_grav_vector() 5 0.007468 0.007468 0.007468 2.25% Castro::normalize_species() 30 0.006932 0.006932 0.006932 2.09% amrex::Copy() 463 0.006924 0.006924 0.006924 2.09% MLMG::mgVcycle_down::1 36 0.006783 0.006783 0.006783 2.05% FabArray::ParallelCopy() 380 0.006572 0.006572 0.006572 1.98% FabArray::ParallelCopy_nowait() 380 0.006465 0.006465 0.006465 1.95% MLMG::mgVcycle_down::2 36 0.006399 0.006399 0.006399 1.93% Castro::initialize_advance() 5 0.006325 0.006325 0.006325 1.91% FabArray::norminf() 326 0.00627 0.00627 0.00627 1.89% MLMG::mgVcycle_down::3 36 0.006253 0.006253 0.006253 1.89% FabArray::setVal() 537 0.006251 0.006251 0.006251 1.89% MLMG::mgVcycle_down::4 36 0.006135 0.006135 0.006135 1.85% MLCellLinOp::defineAuxData() 6 0.006013 0.006013 0.006013 1.81% Castro::expand_state() 5 0.005949 0.005949 0.005949 1.80% Castro::do_new_sources() 5 0.005444 0.005444 0.005444 1.64% Castro::do_old_sources() 5 0.00543 0.00543 0.00543 1.64% MLCGSolver::ParallelAllReduce 659 0.005297 0.005297 0.005297 1.60% Castro::enforce_min_density() 30 0.00516 0.00516 0.00516 1.56% MLMG::addInterpCorrection() 180 0.005119 0.005119 0.005119 1.54% MLMG::mgVcycle_up::1 36 0.004952 0.004952 0.004952 1.49% amrex::average_down 180 0.004906 0.004906 0.004906 1.48% MLMG::mgVcycle_up::4 36 0.004901 0.004901 0.004901 1.48% MLMG::mgVcycle_up::2 36 0.004842 0.004842 0.004842 1.46% MLMG::mgVcycle_up::3 36 0.004762 0.004762 0.004762 1.44% MLPoisson::Fapply() 500 0.004472 0.004472 0.004472 1.35% FabArray::Saxpy() 355 0.003637 0.003637 0.003637 1.10% Gravity::fill_multipole_BCs() 6 0.003561 0.003561 0.003561 1.07% FabArray::Xpay() 361 0.003495 0.003495 0.003495 1.05% Castro::post_restart() 1 0.003485 0.003485 0.003485 1.05% Castro::post_timestep() 5 0.003412 0.003412 0.003412 1.03% Gravity::multilevel_solve_for_new_phi() 1 0.003376 0.003376 0.003376 1.02% Gravity::actual_multilevel_solve() 1 0.003361 0.003361 0.003361 1.01% MLCellLinOp::solutionResidual() 42 0.003209 0.003209 0.003209 0.97% Castro::reset_internal_energy(MultiFab) 30 0.003043 0.003043 0.003043 0.92% MLCellLinOp::defineBC() 6 0.002782 0.002782 0.002782 0.84% BndryData::define() 6 0.002661 0.002661 0.002661 0.80% MLMG::computeResidual() 36 0.002655 0.002655 0.002655 0.80% MLMG::prepareForSolve() 6 0.002558 0.002558 0.002558 0.77% Castro::estTimeStep() 10 0.002463 0.002463 0.002463 0.74% FabArray::LinComb() 242 0.001929 0.001929 0.001929 0.58% amrex::Add() 72 0.001858 0.001858 0.001858 0.56% Castro::computeNewDt() 5 0.001731 0.001731 0.001731 0.52% Castro::construct_new_source() 25 0.001616 0.001616 0.001616 0.49% Castro::construct_new_gravity_source() 5 0.001588 0.001588 0.001588 0.48% Castro::construct_old_source() 25 0.001309 0.001309 0.001309 0.40% Castro::construct_old_gravity_source() 5 0.001299 0.001299 0.001299 0.39% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009371 0.0009371 0.0009371 0.28% MLMG::ResNormInf() 42 0.000929 0.000929 0.000929 0.28% Castro::apply_source_to_state() 10 0.0009193 0.0009193 0.0009193 0.28% FabArrayBase::getCPC() 632 0.0007712 0.0007712 0.0007712 0.23% MLCellLinOp::setLevelBC() 6 0.00077 0.00077 0.00077 0.23% MLMG::getGradSolution() 6 0.0007573 0.0007573 0.0007573 0.23% MLCellLinOp::compGrad() 6 0.0007542 0.0007542 0.0007542 0.23% Castro::reset_internal_energy(Fab) 240 0.0007494 0.0007494 0.0007494 0.23% Castro::enforce_speed_limit() 30 0.0007017 0.0007017 0.0007017 0.21% FabArray::mult() 22 0.0006472 0.0006472 0.0006472 0.20% FabArray::setDomainBndry() 20 0.000641 0.000641 0.000641 0.19% MLPoisson::prepareForSolve() 6 0.0006273 0.0006273 0.0006273 0.19% MLCellLinOp::prepareForSolve() 6 0.0006164 0.0006164 0.0006164 0.19% Castro::check_for_nan() 10 0.0006049 0.0006049 0.0006049 0.18% MultiFab::contains_nan() 10 0.0005991 0.0005991 0.0005991 0.18% MLMG::computeMLResidual() 6 0.0005785 0.0005785 0.0005785 0.17% Amr::InitAmr() 1 0.0004446 0.0004446 0.0004446 0.13% Gravity::update_max_rhs() 6 0.0004397 0.0004397 0.0004397 0.13% FabArrayBase::CPC::define() 244 0.0004222 0.0004222 0.0004222 0.13% FabArrayBase::getFB() 1766 0.0003049 0.0003049 0.0003049 0.09% Castro::finalize_advance() 5 0.0002856 0.0002856 0.0002856 0.09% Gravity::swapTimeLevels() 5 0.0002331 0.0002331 0.0002331 0.07% MLLinOp::define() 6 0.0002275 0.0002275 0.0002275 0.07% MLLinOp::defineGrids() 6 0.000217 0.000217 0.000217 0.07% MLMG::MLResNormInf() 6 0.0001515 0.0001515 0.0001515 0.05% Castro::buildMetrics() 1 0.0001459 0.0001459 0.0001459 0.04% MultiFab::max() 6 0.0001368 0.0001368 0.0001368 0.04% MLMG::MLRhsNormInf() 6 0.0001187 0.0001187 0.0001187 0.04% Castro::create_source_corrector() 5 0.0001013 0.0001013 0.0001013 0.03% FabArrayBase::FB::FB() 26 5.86e-05 5.86e-05 5.86e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.73e-05 2.73e-05 2.73e-05 0.01% Amr::writeSmallPlotFile() 1 2.686e-05 2.686e-05 2.686e-05 0.01% Castro::initMFs() 1 2.574e-05 2.574e-05 2.574e-05 0.01% Castro::finalize_do_advance() 5 2.421e-05 2.421e-05 2.421e-05 0.01% Castro::swap_state_time_levels() 5 2.256e-05 2.256e-05 2.256e-05 0.01% makeSFC 30 2.026e-05 2.026e-05 2.026e-05 0.01% Amr::initSubcycle() 1 9.39e-06 9.39e-06 9.39e-06 0.00% DistributionMapping::Distribute() 31 8.775e-06 8.775e-06 8.775e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.468e-06 4.468e-06 4.468e-06 0.00% Gravity::set_mass_offset() 6 1.975e-06 1.975e-06 1.975e-06 0.00% Castro::retry_advance_ctu() 5 1.812e-06 1.812e-06 1.812e-06 0.00% Castro::FluxRegCrseInit 5 1.568e-06 1.568e-06 1.568e-06 0.00% Castro::FluxRegFineAdd() 5 1.19e-06 1.19e-06 1.19e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.88e-07 9.88e-07 9.88e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 252 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 97 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1357 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2821 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 6586 KiB 14 MiB MLMG::prepareForSolve() 361 361 4091 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 233 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 236 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6581 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 16 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2568 B 2048 KiB Gravity::solve_for_phi() 40 40 754 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 20 KiB 2048 KiB BndryData::define() 576 576 376 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 241 KiB 671 KiB Castro::estTimeStep() 10 10 3411 B 480 KiB VisMF::Write(FabArray) 112 112 1497 B 320 KiB Castro::normalize_species() 30 30 6797 B 320 KiB amrex::average_down 469 469 1380 B 257 KiB MLMG::addInterpCorrection() 468 468 1330 B 257 KiB amrex::Dot() 592 592 3911 B 160 KiB FabArray::norminf() 398 398 2793 B 160 KiB Castro::do_advance_ctu() 5 5 676 B 160 KiB MultiFab::max() 6 6 63 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 35 B 20 KiB MLPoisson::Fsmooth() 60 60 3978 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 59 B 10 KiB FillBoundary_nowait() 336 336 336 B 9648 B MLCellLinOp::applyBC() 3892 3892 258 B 9344 B amrex::Copy() 56 56 5920 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 56 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 137 B 1472 B MLCellLinOp::defineBC() 36 36 423 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1561 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 132 KiB 8192 KiB VisMF::Write(FabArray) 120 120 296 KiB 3584 KiB VisMF::Read() 24 24 231 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3978 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 59 B 10 KiB FillBoundary_nowait() 336 336 336 B 9648 B MLCellLinOp::applyBC() 1946 1946 257 B 9328 B amrex::Copy() 56 56 5920 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2585 B 3072 B StateData::FillBoundary(geom) 960 960 56 B 2880 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 575 B 1296 B amrex::average_down 37 37 217 B 1296 B MLMG::addInterpCorrection() 36 36 3 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 28 B 400 B FabArray::norminf() 398 398 20 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-10-g1e2154f614e5) finalized