Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-8-gaaab804f1438) initialized Starting run at 08:59:02 UTC on 2023-03-15. Successfully read inputs file ... Castro git describe: 23.03-7-g4e534c06a AMReX git describe: 23.03-8-gaaab804f1 Microphysics git describe: 23.03-13-ga480b6a9 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.058366321 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033607517 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047781904 [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.048998576 [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.049923972 [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.066476756 [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.059079714 [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.058157931 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.074211127 [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.052969932 [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.056990841 [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.056812852 [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.061497592 [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.058661339 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034083579 seconds Ending run at 08:59:03 UTC on 2023-03-15. Run time = 0.867444341 Run time without initialization = 0.726270602 Average number of zones advanced per microsecond: 3.609 Average number of zones advanced per microsecond per rank: 3.609 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8675 ... 0.8675 ... 0.8675 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2359 0.2359 0.2359 27.19% Castro::construct_ctu_hydro_source() 10 0.2062 0.2062 0.2062 23.77% MLCellLinOp::applyBC() 4433 0.0773 0.0773 0.0773 8.91% MLPoisson::Fsmooth() 3280 0.03259 0.03259 0.03259 3.76% FillBoundary_nowait() 4023 0.03059 0.03059 0.03059 3.53% StateData::FillBoundary(geom) 328 0.02556 0.02556 0.02556 2.95% StateDataPhysBCFunct::() 41 0.02217 0.02217 0.02217 2.56% amrex::Dot() 1114 0.02086 0.02086 0.02086 2.41% Castro::normalize_species() 62 0.0153 0.0153 0.0153 1.76% amrex::Copy() 1029 0.01497 0.01497 0.01497 1.73% FabArray::norminf() 743 0.01446 0.01446 0.01446 1.67% Castro::computeTemp() 63 0.01419 0.01419 0.01419 1.64% FabArray::ParallelCopy_nowait() 861 0.0135 0.0135 0.0135 1.56% FabArray::setVal() 1144 0.01322 0.01322 0.01322 1.52% MLPoisson::Fapply() 1142 0.01047 0.01047 0.01047 1.21% MLCellLinOp::defineAuxData() 11 0.009806 0.009806 0.009806 1.13% FabArray::Saxpy() 813 0.008221 0.008221 0.008221 0.95% FabArray::Xpay() 821 0.008123 0.008123 0.008123 0.94% Castro::enforce_min_density() 62 0.007938 0.007938 0.007938 0.92% MLMG::addInterpCorrection() 410 0.006941 0.006941 0.006941 0.80% Gravity::fill_multipole_BCs() 11 0.006368 0.006368 0.006368 0.73% amrex::average_down 410 0.006013 0.006013 0.006013 0.69% FabArray::LinComb() 557 0.004545 0.004545 0.004545 0.52% Castro::estTimeStep() 21 0.004518 0.004518 0.004518 0.52% amrex::Add() 164 0.004348 0.004348 0.004348 0.50% Castro::reset_internal_energy(MultiFab) 63 0.004254 0.004254 0.004254 0.49% Amr::checkPoint() 3 0.004011 0.004011 0.004011 0.46% BndryData::define() 11 0.003781 0.003781 0.003781 0.44% Castro::construct_new_gravity_source() 10 0.003253 0.003253 0.003253 0.38% Castro::do_advance_ctu() 10 0.003197 0.003197 0.003197 0.37% Castro::construct_old_gravity_source() 10 0.002548 0.002548 0.002548 0.29% Amr::writePlotFile() 2 0.002443 0.002443 0.002443 0.28% MLCGSolver::bicgstab 82 0.002184 0.002184 0.002184 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001693 0.001693 0.001693 0.20% Castro::reset_internal_energy(Fab) 504 0.001631 0.001631 0.001631 0.19% Gravity::actual_solve_with_mlmg() 11 0.001479 0.001479 0.001479 0.17% MLCellLinOp::setLevelBC() 11 0.001384 0.001384 0.001384 0.16% FabArray::mult() 43 0.001322 0.001322 0.001322 0.15% FabArray::setDomainBndry() 41 0.001285 0.001285 0.001285 0.15% Castro::initData() 1 0.001255 0.001255 0.001255 0.14% Castro::enforce_speed_limit() 62 0.001224 0.001224 0.001224 0.14% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.14% MLCellLinOp::prepareForSolve() 11 0.001135 0.001135 0.001135 0.13% MLCellLinOp::smooth() 1640 0.001024 0.001024 0.001024 0.12% MLCellLinOp::compGrad() 11 0.0009137 0.0009137 0.0009137 0.11% MLMG::prepareForSolve() 11 0.0008741 0.0008741 0.0008741 0.10% FabArray::FillBoundary() 4023 0.0008603 0.0008603 0.0008603 0.10% FabArrayBase::getCPC() 1323 0.0007388 0.0007388 0.0007388 0.09% FabArrayBase::CPC::define() 454 0.0006762 0.0006762 0.0006762 0.08% Gravity::get_new_grav_vector() 11 0.0006328 0.0006328 0.0006328 0.07% FabArrayBase::getFB() 4023 0.0006262 0.0006262 0.0006262 0.07% Gravity::get_old_grav_vector() 10 0.0005431 0.0005431 0.0005431 0.06% Amr::InitAmr() 1 0.000493 0.000493 0.000493 0.06% MLCellLinOp::apply() 1142 0.0004358 0.0004358 0.0004358 0.05% MLMG::mgVcycle() 82 0.0004164 0.0004164 0.0004164 0.05% Amr::coarseTimeStep() 10 0.0003784 0.0003784 0.0003784 0.04% MLLinOp::defineGrids() 11 0.0003559 0.0003559 0.0003559 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003019 0.0003019 0.0003019 0.03% main() 1 0.0002776 0.0002776 0.0002776 0.03% MultiFab::max() 11 0.0002604 0.0002604 0.0002604 0.03% FabArray::ParallelCopy() 861 0.0002349 0.0002349 0.0002349 0.03% FillPatchIterator::Initialize 41 0.0002292 0.0002292 0.0002292 0.03% MLCellLinOp::defineBC() 11 0.0002131 0.0002131 0.0002131 0.02% MLCellLinOp::correctionResidual() 492 0.0002122 0.0002122 0.0002122 0.02% Castro::subcycle_advance_ctu() 10 0.0001628 0.0001628 0.0001628 0.02% Amr::timeStep() 10 0.0001552 0.0001552 0.0001552 0.02% StateData::checkPoint() 12 0.0001467 0.0001467 0.0001467 0.02% AmrLevel::checkPoint() 3 0.0001242 0.0001242 0.0001242 0.01% MLMG:computeResOfCorrection() 410 0.0001205 0.0001205 0.0001205 0.01% Gravity::update_max_rhs() 11 0.0001172 0.0001172 0.0001172 0.01% Gravity::solve_for_phi() 10 0.0001136 0.0001136 0.0001136 0.01% Castro::advance() 10 0.0001053 0.0001053 0.0001053 0.01% Castro::finalize_advance() 10 9.439e-05 9.439e-05 9.439e-05 0.01% FabArrayBase::FB::FB() 56 9.136e-05 9.136e-05 9.136e-05 0.01% MLMG::actualBottomSolve() 82 8.998e-05 8.998e-05 8.998e-05 0.01% MLMG::mgVcycle_down::0 82 8.984e-05 8.984e-05 8.984e-05 0.01% Castro::Castro() 1 8.601e-05 8.601e-05 8.601e-05 0.01% MLMG::mgVcycle_down::1 82 7.867e-05 7.867e-05 7.867e-05 0.01% Castro::expand_state() 10 7.731e-05 7.731e-05 7.731e-05 0.01% MLMG::mgVcycle_down::2 82 7.596e-05 7.596e-05 7.596e-05 0.01% Castro::clean_state() 62 7.473e-05 7.473e-05 7.473e-05 0.01% MLMG::solve() 11 7.459e-05 7.459e-05 7.459e-05 0.01% MLMG::mgVcycle_down::3 82 7.256e-05 7.256e-05 7.256e-05 0.01% MLMG::mgVcycle_down::4 82 7.064e-05 7.064e-05 7.064e-05 0.01% Castro::initialize_advance() 10 6.989e-05 6.989e-05 6.989e-05 0.01% MLMG::mgVcycle_up::4 82 6.359e-05 6.359e-05 6.359e-05 0.01% MLMG::oneIter() 82 5.763e-05 5.763e-05 5.763e-05 0.01% MLCellLinOp::solutionResidual() 93 5.617e-05 5.617e-05 5.617e-05 0.01% MLMG::mgVcycle_up::0 82 5.426e-05 5.426e-05 5.426e-05 0.01% Castro::initialize_do_advance() 10 5.204e-05 5.204e-05 5.204e-05 0.01% MLMG::mgVcycle_up::1 82 5.128e-05 5.128e-05 5.128e-05 0.01% MLMG::mgVcycle_up::3 82 4.939e-05 4.939e-05 4.939e-05 0.01% StateData::define() 4 4.931e-05 4.931e-05 4.931e-05 0.01% MLMG::mgVcycle_up::2 82 4.857e-05 4.857e-05 4.857e-05 0.01% Castro::create_source_corrector() 10 4.732e-05 4.732e-05 4.732e-05 0.01% Castro::construct_new_source() 50 4.182e-05 4.182e-05 4.182e-05 0.00% FillPatchSingleLevel 41 4.161e-05 4.161e-05 4.161e-05 0.00% Castro::construct_new_gravity() 10 4.065e-05 4.065e-05 4.065e-05 0.00% Castro::swap_state_time_levels() 10 3.767e-05 3.767e-05 3.767e-05 0.00% Castro::enforce_consistent_e() 1 3.757e-05 3.757e-05 3.757e-05 0.00% Castro::finalize_do_advance() 10 3.571e-05 3.571e-05 3.571e-05 0.00% MLMG::mgVcycle_bottom 82 3.19e-05 3.19e-05 3.19e-05 0.00% MLMG::ResNormInf() 93 3.08e-05 3.08e-05 3.08e-05 0.00% MLMG::computeResidual() 82 3.079e-05 3.079e-05 3.079e-05 0.00% Amr::writeSmallPlotFile() 1 2.586e-05 2.586e-05 2.586e-05 0.00% makeSFC 55 2.386e-05 2.386e-05 2.386e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.127e-05 2.127e-05 2.127e-05 0.00% Castro::initMFs() 1 2.109e-05 2.109e-05 2.109e-05 0.00% MLPoisson::define() 11 2.086e-05 2.086e-05 2.086e-05 0.00% Amr::FinalizeInit() 1 2.061e-05 2.061e-05 2.061e-05 0.00% Amr::defBaseLevel() 1 1.984e-05 1.984e-05 1.984e-05 0.00% Castro::construct_old_source() 50 1.737e-05 1.737e-05 1.737e-05 0.00% Castro::buildMetrics() 1 1.725e-05 1.725e-05 1.725e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.64e-05 1.64e-05 1.64e-05 0.00% Castro::do_new_sources() 10 1.628e-05 1.628e-05 1.628e-05 0.00% Castro::do_old_sources() 10 1.513e-05 1.513e-05 1.513e-05 0.00% DistributionMapping::Distribute() 56 1.441e-05 1.441e-05 1.441e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.338e-05 1.338e-05 1.338e-05 0.00% MLPoisson::prepareForSolve() 11 1.285e-05 1.285e-05 1.285e-05 0.00% Castro::check_for_nan() 20 1.117e-05 1.117e-05 1.117e-05 0.00% Castro::apply_source_to_state() 20 1.014e-05 1.014e-05 1.014e-05 0.00% MLLinOp::define() 11 9.876e-06 9.876e-06 9.876e-06 0.00% AmrLevel::AmrLevel(dm) 1 9.835e-06 9.835e-06 9.835e-06 0.00% Castro::construct_old_gravity() 10 9.299e-06 9.299e-06 9.299e-06 0.00% Amr::initSubcycle() 1 9.277e-06 9.277e-06 9.277e-06 0.00% Gravity::swapTimeLevels() 10 9.049e-06 9.049e-06 9.049e-06 0.00% MLMG::MLRhsNormInf() 11 8.58e-06 8.58e-06 8.58e-06 0.00% Castro::post_timestep() 10 8.005e-06 8.005e-06 8.005e-06 0.00% Gravity::actual_multilevel_solve() 1 7.895e-06 7.895e-06 7.895e-06 0.00% MLMG::computeMLResidual() 11 7.255e-06 7.255e-06 7.255e-06 0.00% Castro::computeNewDt() 9 6.622e-06 6.622e-06 6.622e-06 0.00% MLMG::getGradSolution() 11 6.063e-06 6.063e-06 6.063e-06 0.00% AmrLevel::checkPointPost() 3 4.598e-06 4.598e-06 4.598e-06 0.00% Amr::InitializeInit() 1 4.413e-06 4.413e-06 4.413e-06 0.00% Castro::retry_advance_ctu() 10 4.209e-06 4.209e-06 4.209e-06 0.00% Castro::post_init() 1 4.128e-06 4.128e-06 4.128e-06 0.00% Gravity::set_mass_offset() 11 3.712e-06 3.712e-06 3.712e-06 0.00% MLMG::MLResNormInf() 11 3.619e-06 3.619e-06 3.619e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.913e-06 2.913e-06 2.913e-06 0.00% Castro::FluxRegCrseInit 10 2.573e-06 2.573e-06 2.573e-06 0.00% Amr::init() 1 2.466e-06 2.466e-06 2.466e-06 0.00% Castro::computeInitialDt() 2 2.416e-06 2.416e-06 2.416e-06 0.00% AmrLevel::checkPointPre() 3 2.153e-06 2.153e-06 2.153e-06 0.00% Castro::FluxRegFineAdd() 10 1.89e-06 1.89e-06 1.89e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.833e-06 1.833e-06 1.833e-06 0.00% Amr::initialInit() 1 1.11e-06 1.11e-06 1.11e-06 0.00% Castro::post_regrid() 1 9.22e-07 9.22e-07 9.22e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8675 0.8675 0.8675 100.00% Amr::coarseTimeStep() 10 0.692 0.692 0.692 79.77% Amr::timeStep() 10 0.5718 0.5718 0.5718 65.92% Castro::advance() 10 0.565 0.565 0.565 65.13% Castro::subcycle_advance_ctu() 10 0.5534 0.5534 0.5534 63.79% Castro::do_advance_ctu() 10 0.5532 0.5532 0.5532 63.77% Gravity::solve_phi_with_mlmg() 11 0.2849 0.2849 0.2849 32.84% Gravity::actual_solve_with_mlmg() 11 0.278 0.278 0.278 32.05% Castro::construct_new_gravity() 10 0.2604 0.2604 0.2604 30.02% MLMG::solve() 11 0.2572 0.2572 0.2572 29.65% Gravity::solve_for_phi() 10 0.2443 0.2443 0.2443 28.16% MLMG::oneIter() 82 0.2429 0.2429 0.2429 28.00% MLMG::mgVcycle() 82 0.2392 0.2392 0.2392 27.58% VisMF::Write(FabArray) 11 0.2359 0.2359 0.2359 27.19% Castro::construct_ctu_hydro_source() 10 0.2062 0.2062 0.2062 23.77% Amr::checkPoint() 3 0.1753 0.1753 0.1753 20.21% AmrLevel::checkPoint() 3 0.1713 0.1713 0.1713 19.75% StateData::checkPoint() 12 0.1712 0.1712 0.1712 19.73% Amr::init() 1 0.1405 0.1405 0.1405 16.20% MLCellLinOp::smooth() 1640 0.1169 0.1169 0.1169 13.48% MLCellLinOp::applyBC() 4433 0.1095 0.1095 0.1095 12.62% MLMG::mgVcycle_bottom 82 0.07455 0.07455 0.07455 8.59% MLMG::actualBottomSolve() 82 0.07451 0.07451 0.07451 8.59% MLCGSolver::bicgstab 82 0.07381 0.07381 0.07381 8.51% Amr::writePlotFile() 2 0.06781 0.06781 0.06781 7.82% FillPatchIterator::Initialize 41 0.05336 0.05336 0.05336 6.15% FillPatchSingleLevel 41 0.05184 0.05184 0.05184 5.98% Amr::initialInit() 1 0.04845 0.04845 0.04845 5.59% StateDataPhysBCFunct::() 41 0.04773 0.04773 0.04773 5.50% Amr::FinalizeInit() 1 0.04428 0.04428 0.04428 5.11% Castro::clean_state() 62 0.04378 0.04378 0.04378 5.05% Castro::post_init() 1 0.04304 0.04304 0.04304 4.96% Gravity::multilevel_solve_for_new_phi() 1 0.04104 0.04104 0.04104 4.73% Gravity::actual_multilevel_solve() 1 0.04102 0.04102 0.04102 4.73% MLCellLinOp::apply() 1142 0.03657 0.03657 0.03657 4.22% MLMG::mgVcycle_down::0 82 0.03354 0.03354 0.03354 3.87% MLPoisson::Fsmooth() 3280 0.03259 0.03259 0.03259 3.76% FabArray::FillBoundary() 4023 0.03217 0.03217 0.03217 3.71% FillBoundary_nowait() 4023 0.03131 0.03131 0.03131 3.61% Castro::initialize_do_advance() 10 0.02951 0.02951 0.02951 3.40% StateData::FillBoundary(geom) 328 0.02556 0.02556 0.02556 2.95% MLMG::mgVcycle_up::0 82 0.02555 0.02555 0.02555 2.95% MLCellLinOp::correctionResidual() 492 0.0223 0.0223 0.0223 2.57% Castro::expand_state() 10 0.02128 0.02128 0.02128 2.45% amrex::Dot() 1114 0.02086 0.02086 0.02086 2.41% Castro::computeTemp() 63 0.02007 0.02007 0.02007 2.31% MLMG:computeResOfCorrection() 410 0.01963 0.01963 0.01963 2.26% Gravity::get_new_grav_vector() 11 0.01787 0.01787 0.01787 2.06% MLPoisson::define() 11 0.01654 0.01654 0.01654 1.91% MLMG::mgVcycle_down::1 82 0.01584 0.01584 0.01584 1.83% Castro::construct_old_gravity() 10 0.01551 0.01551 0.01551 1.79% Gravity::get_old_grav_vector() 10 0.0155 0.0155 0.0155 1.79% Castro::normalize_species() 62 0.0153 0.0153 0.0153 1.76% amrex::Copy() 1029 0.01497 0.01497 0.01497 1.73% MLMG::mgVcycle_down::2 82 0.01485 0.01485 0.01485 1.71% FabArray::ParallelCopy() 861 0.01455 0.01455 0.01455 1.68% MLMG::mgVcycle_down::3 82 0.01454 0.01454 0.01454 1.68% FabArray::norminf() 743 0.01446 0.01446 0.01446 1.67% FabArray::ParallelCopy_nowait() 861 0.01431 0.01431 0.01431 1.65% MLMG::mgVcycle_down::4 82 0.0143 0.0143 0.0143 1.65% FabArray::setVal() 1144 0.01322 0.01322 0.01322 1.52% MLCGSolver::ParallelAllReduce 1514 0.01249 0.01249 0.01249 1.44% Castro::do_new_sources() 10 0.01241 0.01241 0.01241 1.43% MLMG::addInterpCorrection() 410 0.01217 0.01217 0.01217 1.40% MLMG::mgVcycle_up::4 82 0.01165 0.01165 0.01165 1.34% MLMG::mgVcycle_up::1 82 0.0116 0.0116 0.0116 1.34% MLMG::mgVcycle_up::2 82 0.01131 0.01131 0.01131 1.30% amrex::average_down 410 0.01126 0.01126 0.01126 1.30% MLCellLinOp::defineAuxData() 11 0.01112 0.01112 0.01112 1.28% MLMG::mgVcycle_up::3 82 0.0111 0.0111 0.0111 1.28% Castro::initialize_advance() 10 0.0109 0.0109 0.0109 1.26% MLPoisson::Fapply() 1142 0.01047 0.01047 0.01047 1.21% Castro::do_old_sources() 10 0.01008 0.01008 0.01008 1.16% FabArray::Saxpy() 813 0.008221 0.008221 0.008221 0.95% FabArray::Xpay() 821 0.008123 0.008123 0.008123 0.94% Castro::enforce_min_density() 62 0.007938 0.007938 0.007938 0.92% MLCellLinOp::solutionResidual() 93 0.007195 0.007195 0.007195 0.83% Castro::post_timestep() 10 0.006684 0.006684 0.006684 0.77% Gravity::fill_multipole_BCs() 11 0.006642 0.006642 0.006642 0.77% MLMG::computeResidual() 82 0.0062 0.0062 0.0062 0.71% Castro::reset_internal_energy(MultiFab) 63 0.005885 0.005885 0.005885 0.68% MLCellLinOp::defineBC() 11 0.004972 0.004972 0.004972 0.57% BndryData::define() 11 0.004759 0.004759 0.004759 0.55% MLMG::prepareForSolve() 11 0.004707 0.004707 0.004707 0.54% FabArray::LinComb() 557 0.004545 0.004545 0.004545 0.52% Castro::estTimeStep() 21 0.004518 0.004518 0.004518 0.52% amrex::Add() 164 0.004348 0.004348 0.004348 0.50% Amr::InitializeInit() 1 0.004165 0.004165 0.004165 0.48% Amr::defBaseLevel() 1 0.004161 0.004161 0.004161 0.48% Castro::initData() 1 0.003643 0.003643 0.003643 0.42% Castro::construct_new_source() 50 0.003295 0.003295 0.003295 0.38% Castro::construct_new_gravity_source() 10 0.003253 0.003253 0.003253 0.38% Castro::construct_old_source() 50 0.002566 0.002566 0.002566 0.30% Castro::construct_old_gravity_source() 10 0.002548 0.002548 0.002548 0.29% Castro::computeNewDt() 9 0.002167 0.002167 0.002167 0.25% MLMG::ResNormInf() 93 0.002074 0.002074 0.002074 0.24% Castro::apply_source_to_state() 20 0.00182 0.00182 0.00182 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001693 0.001693 0.001693 0.20% Castro::reset_internal_energy(Fab) 504 0.001631 0.001631 0.001631 0.19% FabArrayBase::getCPC() 1323 0.001415 0.001415 0.001415 0.16% MLMG::getGradSolution() 11 0.001395 0.001395 0.001395 0.16% MLCellLinOp::compGrad() 11 0.001389 0.001389 0.001389 0.16% MLCellLinOp::setLevelBC() 11 0.001384 0.001384 0.001384 0.16% FabArray::mult() 43 0.001322 0.001322 0.001322 0.15% FabArray::setDomainBndry() 41 0.001285 0.001285 0.001285 0.15% Castro::enforce_speed_limit() 62 0.001224 0.001224 0.001224 0.14% Castro::check_for_nan() 20 0.001207 0.001207 0.001207 0.14% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.14% MLPoisson::prepareForSolve() 11 0.001147 0.001147 0.001147 0.13% MLCellLinOp::prepareForSolve() 11 0.001135 0.001135 0.001135 0.13% Castro::post_regrid() 1 0.00107 0.00107 0.00107 0.12% MLMG::computeMLResidual() 11 0.001032 0.001032 0.001032 0.12% Castro::computeInitialDt() 2 0.0008501 0.0008501 0.0008501 0.10% Gravity::update_max_rhs() 11 0.0008295 0.0008295 0.0008295 0.10% FabArrayBase::getFB() 4023 0.0007175 0.0007175 0.0007175 0.08% FabArrayBase::CPC::define() 454 0.0006762 0.0006762 0.0006762 0.08% Castro::finalize_advance() 10 0.0006136 0.0006136 0.0006136 0.07% Amr::InitAmr() 1 0.0005023 0.0005023 0.0005023 0.06% Gravity::swapTimeLevels() 10 0.0004391 0.0004391 0.0004391 0.05% Castro::Castro() 1 0.0004339 0.0004339 0.0004339 0.05% MLLinOp::define() 11 0.000418 0.000418 0.000418 0.05% MLLinOp::defineGrids() 11 0.0004081 0.0004081 0.0004081 0.05% MLMG::MLResNormInf() 11 0.0002829 0.0002829 0.0002829 0.03% MultiFab::max() 11 0.0002604 0.0002604 0.0002604 0.03% MLMG::MLRhsNormInf() 11 0.0002265 0.0002265 0.0002265 0.03% Castro::buildMetrics() 1 0.0001639 0.0001639 0.0001639 0.02% FabArrayBase::FB::FB() 56 9.136e-05 9.136e-05 9.136e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.914e-05 5.914e-05 5.914e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.042e-05 5.042e-05 5.042e-05 0.01% StateData::define() 4 4.931e-05 4.931e-05 4.931e-05 0.01% Castro::create_source_corrector() 10 4.732e-05 4.732e-05 4.732e-05 0.01% Castro::swap_state_time_levels() 10 3.767e-05 3.767e-05 3.767e-05 0.00% Castro::enforce_consistent_e() 1 3.757e-05 3.757e-05 3.757e-05 0.00% makeSFC 55 3.704e-05 3.704e-05 3.704e-05 0.00% Castro::finalize_do_advance() 10 3.571e-05 3.571e-05 3.571e-05 0.00% Amr::writeSmallPlotFile() 1 2.586e-05 2.586e-05 2.586e-05 0.00% Castro::initMFs() 1 2.109e-05 2.109e-05 2.109e-05 0.00% DistributionMapping::Distribute() 56 1.441e-05 1.441e-05 1.441e-05 0.00% Amr::initSubcycle() 1 9.277e-06 9.277e-06 9.277e-06 0.00% AmrLevel::checkPointPost() 3 4.598e-06 4.598e-06 4.598e-06 0.00% Castro::retry_advance_ctu() 10 4.209e-06 4.209e-06 4.209e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.138e-06 4.138e-06 4.138e-06 0.00% Gravity::set_mass_offset() 11 3.712e-06 3.712e-06 3.712e-06 0.00% Castro::FluxRegCrseInit 10 2.573e-06 2.573e-06 2.573e-06 0.00% AmrLevel::checkPointPre() 3 2.153e-06 2.153e-06 2.153e-06 0.00% Castro::FluxRegFineAdd() 10 1.89e-06 1.89e-06 1.89e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.833e-06 1.833e-06 1.833e-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 99 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 108 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 1511 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2196 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3648 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 213 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 183 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7525 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1840 B 2048 KiB Gravity::solve_for_phi() 80 80 575 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 2525 B 480 KiB VisMF::Write(FabArray) 656 656 3474 B 320 KiB Castro::normalize_species() 62 62 5744 B 320 KiB amrex::average_down 1067 1067 1288 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1197 B 257 KiB amrex::Dot() 1360 1360 3542 B 160 KiB FabArray::norminf() 907 907 2463 B 160 KiB Castro::do_advance_ctu() 10 10 571 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 29 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3566 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 308 B 9648 B MLCellLinOp::applyBC() 8866 8866 229 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3844 B 6144 B StateData::FillBoundary(geom) 1992 1992 71 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 123 B 1472 B MLCellLinOp::defineBC() 66 66 375 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 605 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 51 KiB 8192 KiB VisMF::Write(FabArray) 744 744 638 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3566 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 308 B 9648 B MLCellLinOp::applyBC() 4433 4433 227 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3844 B 6144 B Gravity::get_new_grav_vector() 3 3 2901 B 3072 B StateData::FillBoundary(geom) 1992 1992 72 B 2976 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 303 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 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): 2459 [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.03-8-gaaab804f1438) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-8-gaaab804f1438) initialized Starting run at 08:59:04 UTC on 2023-03-15. Successfully read inputs file ... Castro git describe: 23.03-7-g4e534c06a AMReX git describe: 23.03-8-gaaab804f1 Microphysics git describe: 23.03-13-ga480b6a9 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.471618249 Restart time = 0.047404203 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049213939 [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.049023567 [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.049680257 [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.059052096 [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.062449968 [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.033519959 seconds Ending run at 08:59:04 UTC on 2023-03-15. Run time = 0.35134018 Run time without initialization = 0.303345673 Average number of zones advanced per microsecond: 4.321 Average number of zones advanced per microsecond per rank: 4.321 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3514 ... 0.3514 ... 0.3514 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0895 0.0895 0.0895 25.47% VisMF::Read() 3 0.04118 0.04118 0.04118 11.72% MLCellLinOp::applyBC() 1946 0.03346 0.03346 0.03346 9.52% VisMF::Write(FabArray) 1 0.03199 0.03199 0.03199 9.10% MLPoisson::Fsmooth() 1440 0.0141 0.0141 0.0141 4.01% FillBoundary_nowait() 1766 0.01294 0.01294 0.01294 3.68% StateData::FillBoundary(geom) 160 0.01259 0.01259 0.01259 3.58% amrex::Dot() 484 0.008928 0.008928 0.008928 2.54% StateDataPhysBCFunct::() 20 0.007301 0.007301 0.007301 2.08% amrex::Copy() 463 0.007021 0.007021 0.007021 2.00% Castro::computeTemp() 30 0.006442 0.006442 0.006442 1.83% FabArray::setVal() 537 0.00631 0.00631 0.00631 1.80% FabArray::norminf() 326 0.006271 0.006271 0.006271 1.78% FabArray::ParallelCopy_nowait() 380 0.006107 0.006107 0.006107 1.74% Castro::normalize_species() 30 0.006096 0.006096 0.006096 1.73% MLCellLinOp::defineAuxData() 6 0.005289 0.005289 0.005289 1.51% MLPoisson::Fapply() 500 0.00452 0.00452 0.00452 1.29% FabArray::Saxpy() 355 0.003672 0.003672 0.003672 1.04% FabArray::Xpay() 361 0.003522 0.003522 0.003522 1.00% Castro::estTimeStep() 10 0.003051 0.003051 0.003051 0.87% Gravity::fill_multipole_BCs() 6 0.003021 0.003021 0.003021 0.86% MLMG::addInterpCorrection() 180 0.00301 0.00301 0.00301 0.86% amrex::average_down 180 0.002612 0.002612 0.002612 0.74% Amr::restart() 1 0.002465 0.002465 0.002465 0.70% Castro::enforce_min_density() 30 0.002231 0.002231 0.002231 0.63% BndryData::define() 6 0.002061 0.002061 0.002061 0.59% Castro::reset_internal_energy(MultiFab) 30 0.002 0.002 0.002 0.57% FabArray::LinComb() 242 0.001949 0.001949 0.001949 0.55% amrex::Add() 72 0.001864 0.001864 0.001864 0.53% Castro::construct_new_gravity_source() 5 0.001658 0.001658 0.001658 0.47% Amr::writePlotFile() 1 0.001369 0.001369 0.001369 0.39% Castro::construct_old_gravity_source() 5 0.001362 0.001362 0.001362 0.39% Castro::do_advance_ctu() 5 0.001324 0.001324 0.001324 0.38% MLCGSolver::bicgstab 36 0.0009776 0.0009776 0.0009776 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009335 0.0009335 0.0009335 0.27% Gravity::actual_solve_with_mlmg() 6 0.000786 0.000786 0.000786 0.22% MLCellLinOp::setLevelBC() 6 0.0007539 0.0007539 0.0007539 0.21% Castro::reset_internal_energy(Fab) 240 0.0006917 0.0006917 0.0006917 0.20% FabArray::setDomainBndry() 20 0.0006485 0.0006485 0.0006485 0.18% FabArray::mult() 22 0.000646 0.000646 0.000646 0.18% MLCellLinOp::prepareForSolve() 6 0.0006152 0.0006152 0.0006152 0.18% MultiFab::contains_nan() 10 0.0005937 0.0005937 0.0005937 0.17% MLCellLinOp::compGrad() 6 0.0004894 0.0004894 0.0004894 0.14% MLMG::prepareForSolve() 6 0.000472 0.000472 0.000472 0.13% MLCellLinOp::smooth() 720 0.0004678 0.0004678 0.0004678 0.13% Castro::enforce_speed_limit() 30 0.0004169 0.0004169 0.0004169 0.12% FabArrayBase::CPC::define() 244 0.0004064 0.0004064 0.0004064 0.12% Amr::InitAmr() 1 0.0003993 0.0003993 0.0003993 0.11% FabArray::FillBoundary() 1766 0.0003872 0.0003872 0.0003872 0.11% FabArrayBase::getCPC() 632 0.0003498 0.0003498 0.0003498 0.10% Gravity::get_old_grav_vector() 5 0.0002984 0.0002984 0.0002984 0.08% Gravity::get_new_grav_vector() 5 0.0002743 0.0002743 0.0002743 0.08% main() 1 0.0002696 0.0002696 0.0002696 0.08% FabArrayBase::getFB() 1766 0.0002534 0.0002534 0.0002534 0.07% MLCellLinOp::apply() 500 0.0001961 0.0001961 0.0001961 0.06% MLLinOp::defineGrids() 6 0.0001766 0.0001766 0.0001766 0.05% Amr::coarseTimeStep() 5 0.0001629 0.0001629 0.0001629 0.05% MLMG::mgVcycle() 36 0.0001595 0.0001595 0.0001595 0.05% MultiFab::max() 6 0.0001369 0.0001369 0.0001369 0.04% MLCGSolver::ParallelAllReduce 659 0.0001342 0.0001342 0.0001342 0.04% FillPatchIterator::Initialize 20 0.0001162 0.0001162 0.0001162 0.03% MLCellLinOp::defineBC() 6 0.0001157 0.0001157 0.0001157 0.03% FabArray::ParallelCopy() 380 0.0001112 0.0001112 0.0001112 0.03% MLCellLinOp::correctionResidual() 216 8.948e-05 8.948e-05 8.948e-05 0.03% Amr::timeStep() 5 8.731e-05 8.731e-05 8.731e-05 0.02% Castro::subcycle_advance_ctu() 5 7.761e-05 7.761e-05 7.761e-05 0.02% AmrLevel::restart() 1 7.446e-05 7.446e-05 7.446e-05 0.02% StateData::restartDoit() 4 6.651e-05 6.651e-05 6.651e-05 0.02% FabArrayBase::FB::FB() 26 5.993e-05 5.993e-05 5.993e-05 0.02% Gravity::update_max_rhs() 6 5.833e-05 5.833e-05 5.833e-05 0.02% Gravity::solve_for_phi() 5 5.473e-05 5.473e-05 5.473e-05 0.02% MLMG:computeResOfCorrection() 180 5.397e-05 5.397e-05 5.397e-05 0.02% Castro::advance() 5 5.343e-05 5.343e-05 5.343e-05 0.02% Castro::expand_state() 5 4.688e-05 4.688e-05 4.688e-05 0.01% Castro::finalize_advance() 5 4.681e-05 4.681e-05 4.681e-05 0.01% Castro::create_source_corrector() 5 4.379e-05 4.379e-05 4.379e-05 0.01% MLMG::mgVcycle_down::0 36 4.017e-05 4.017e-05 4.017e-05 0.01% MLMG::actualBottomSolve() 36 3.987e-05 3.987e-05 3.987e-05 0.01% MLMG::mgVcycle_down::1 36 3.593e-05 3.593e-05 3.593e-05 0.01% Castro::clean_state() 30 3.516e-05 3.516e-05 3.516e-05 0.01% MLMG::solve() 6 3.323e-05 3.323e-05 3.323e-05 0.01% MLMG::mgVcycle_down::2 36 3.298e-05 3.298e-05 3.298e-05 0.01% Castro::initialize_advance() 5 3.287e-05 3.287e-05 3.287e-05 0.01% MLMG::mgVcycle_down::4 36 3.243e-05 3.243e-05 3.243e-05 0.01% MLMG::mgVcycle_down::3 36 3.189e-05 3.189e-05 3.189e-05 0.01% MLMG::mgVcycle_up::4 36 3.041e-05 3.041e-05 3.041e-05 0.01% Castro::buildMetrics() 1 2.782e-05 2.782e-05 2.782e-05 0.01% MLMG::oneIter() 36 2.622e-05 2.622e-05 2.622e-05 0.01% Castro::initialize_do_advance() 5 2.562e-05 2.562e-05 2.562e-05 0.01% Amr::writeSmallPlotFile() 1 2.502e-05 2.502e-05 2.502e-05 0.01% MLMG::mgVcycle_up::0 36 2.423e-05 2.423e-05 2.423e-05 0.01% Castro::swap_state_time_levels() 5 2.374e-05 2.374e-05 2.374e-05 0.01% Castro::initMFs() 1 2.315e-05 2.315e-05 2.315e-05 0.01% MLMG::mgVcycle_up::2 36 2.219e-05 2.219e-05 2.219e-05 0.01% MLMG::mgVcycle_up::3 36 2.216e-05 2.216e-05 2.216e-05 0.01% MLMG::mgVcycle_up::1 36 2.147e-05 2.147e-05 2.147e-05 0.01% MLCellLinOp::solutionResidual() 42 2.125e-05 2.125e-05 2.125e-05 0.01% Castro::post_restart() 1 1.924e-05 1.924e-05 1.924e-05 0.01% Castro::finalize_do_advance() 5 1.845e-05 1.845e-05 1.845e-05 0.01% MLMG::ResNormInf() 42 1.622e-05 1.622e-05 1.622e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.605e-05 1.605e-05 1.605e-05 0.00% MLMG::mgVcycle_bottom 36 1.474e-05 1.474e-05 1.474e-05 0.00% FillPatchSingleLevel 20 1.378e-05 1.378e-05 1.378e-05 0.00% MLMG::computeResidual() 36 1.354e-05 1.354e-05 1.354e-05 0.00% MLPoisson::define() 6 1.342e-05 1.342e-05 1.342e-05 0.00% Castro::construct_new_gravity() 5 1.262e-05 1.262e-05 1.262e-05 0.00% makeSFC 30 1.261e-05 1.261e-05 1.261e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.162e-05 1.162e-05 1.162e-05 0.00% Castro::construct_old_source() 25 9.354e-06 9.354e-06 9.354e-06 0.00% MLPoisson::prepareForSolve() 6 9.01e-06 9.01e-06 9.01e-06 0.00% Amr::initSubcycle() 1 8.868e-06 8.868e-06 8.868e-06 0.00% Castro::construct_new_source() 25 8.867e-06 8.867e-06 8.867e-06 0.00% Castro::do_new_sources() 5 8.449e-06 8.449e-06 8.449e-06 0.00% DistributionMapping::Distribute() 31 8.25e-06 8.25e-06 8.25e-06 0.00% Castro::do_old_sources() 5 7.767e-06 7.767e-06 7.767e-06 0.00% Gravity::actual_multilevel_solve() 1 7.378e-06 7.378e-06 7.378e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.953e-06 6.953e-06 6.953e-06 0.00% Castro::check_for_nan() 10 5.529e-06 5.529e-06 5.529e-06 0.00% Castro::construct_old_gravity() 5 5.285e-06 5.285e-06 5.285e-06 0.00% MLLinOp::define() 6 4.944e-06 4.944e-06 4.944e-06 0.00% Castro::apply_source_to_state() 10 4.872e-06 4.872e-06 4.872e-06 0.00% Castro::post_timestep() 5 4.427e-06 4.427e-06 4.427e-06 0.00% Gravity::swapTimeLevels() 5 3.709e-06 3.709e-06 3.709e-06 0.00% Castro::computeNewDt() 5 3.54e-06 3.54e-06 3.54e-06 0.00% MLMG::computeMLResidual() 6 3.519e-06 3.519e-06 3.519e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.219e-06 3.219e-06 3.219e-06 0.00% Castro::FluxRegCrseInit 5 3.089e-06 3.089e-06 3.089e-06 0.00% MLMG::getGradSolution() 6 2.928e-06 2.928e-06 2.928e-06 0.00% MLMG::MLRhsNormInf() 6 2.093e-06 2.093e-06 2.093e-06 0.00% MLMG::MLResNormInf() 6 2.09e-06 2.09e-06 2.09e-06 0.00% Gravity::set_mass_offset() 6 1.791e-06 1.791e-06 1.791e-06 0.00% Castro::retry_advance_ctu() 5 1.575e-06 1.575e-06 1.575e-06 0.00% Castro::FluxRegFineAdd() 5 1.18e-06 1.18e-06 1.18e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.088e-06 1.088e-06 1.088e-06 0.00% Amr::init() 1 1.017e-06 1.017e-06 1.017e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3514 0.3514 0.3514 100.00% Amr::coarseTimeStep() 5 0.2696 0.2696 0.2696 76.72% Amr::timeStep() 5 0.2671 0.2671 0.2671 76.01% Castro::advance() 5 0.2647 0.2647 0.2647 75.34% Castro::subcycle_advance_ctu() 5 0.259 0.259 0.259 73.71% Castro::do_advance_ctu() 5 0.2589 0.2589 0.2589 73.69% Castro::construct_new_gravity() 5 0.1314 0.1314 0.1314 37.38% Gravity::solve_phi_with_mlmg() 6 0.1261 0.1261 0.1261 35.88% Gravity::solve_for_phi() 5 0.123 0.123 0.123 35.00% Gravity::actual_solve_with_mlmg() 6 0.1228 0.1228 0.1228 34.94% MLMG::solve() 6 0.1115 0.1115 0.1115 31.73% MLMG::oneIter() 36 0.1046 0.1046 0.1046 29.77% MLMG::mgVcycle() 36 0.103 0.103 0.103 29.32% Castro::construct_ctu_hydro_source() 5 0.08948 0.08948 0.08948 25.47% MLCellLinOp::smooth() 720 0.05032 0.05032 0.05032 14.32% Amr::init() 1 0.04746 0.04746 0.04746 13.51% Amr::restart() 1 0.04746 0.04746 0.04746 13.51% MLCellLinOp::applyBC() 1946 0.0471 0.0471 0.0471 13.40% AmrLevel::restart() 1 0.04138 0.04138 0.04138 11.78% StateData::restartDoit() 4 0.04131 0.04131 0.04131 11.76% VisMF::Read() 3 0.04118 0.04118 0.04118 11.72% Amr::writePlotFile() 1 0.03361 0.03361 0.03361 9.57% MLMG::mgVcycle_bottom 36 0.03208 0.03208 0.03208 9.13% MLMG::actualBottomSolve() 36 0.03207 0.03207 0.03207 9.13% VisMF::Write(FabArray) 1 0.03199 0.03199 0.03199 9.10% MLCGSolver::bicgstab 36 0.03176 0.03176 0.03176 9.04% FillPatchIterator::Initialize 20 0.0227 0.0227 0.0227 6.46% FillPatchSingleLevel 20 0.02194 0.02194 0.02194 6.24% StateDataPhysBCFunct::() 20 0.01989 0.01989 0.01989 5.66% Castro::clean_state() 30 0.01791 0.01791 0.01791 5.10% MLCellLinOp::apply() 500 0.01581 0.01581 0.01581 4.50% MLMG::mgVcycle_down::0 36 0.01441 0.01441 0.01441 4.10% MLPoisson::Fsmooth() 1440 0.0141 0.0141 0.0141 4.01% FabArray::FillBoundary() 1766 0.01364 0.01364 0.01364 3.88% FillBoundary_nowait() 1766 0.01325 0.01325 0.01325 3.77% StateData::FillBoundary(geom) 160 0.01259 0.01259 0.01259 3.58% MLMG::mgVcycle_up::0 36 0.0109 0.0109 0.0109 3.10% MLCellLinOp::correctionResidual() 216 0.009551 0.009551 0.009551 2.72% Castro::initialize_do_advance() 5 0.009205 0.009205 0.009205 2.62% Castro::computeTemp() 30 0.009134 0.009134 0.009134 2.60% MLPoisson::define() 6 0.008993 0.008993 0.008993 2.56% amrex::Dot() 484 0.008928 0.008928 0.008928 2.54% Castro::construct_old_gravity() 5 0.008713 0.008713 0.008713 2.48% Gravity::get_old_grav_vector() 5 0.008708 0.008708 0.008708 2.48% MLMG:computeResOfCorrection() 180 0.008397 0.008397 0.008397 2.39% Gravity::get_new_grav_vector() 5 0.008276 0.008276 0.008276 2.36% Castro::do_new_sources() 5 0.007286 0.007286 0.007286 2.07% amrex::Copy() 463 0.007021 0.007021 0.007021 2.00% MLMG::mgVcycle_down::1 36 0.006867 0.006867 0.006867 1.95% FabArray::ParallelCopy() 380 0.006603 0.006603 0.006603 1.88% FabArray::ParallelCopy_nowait() 380 0.006492 0.006492 0.006492 1.85% MLMG::mgVcycle_down::2 36 0.006408 0.006408 0.006408 1.82% FabArray::setVal() 537 0.00631 0.00631 0.00631 1.80% FabArray::norminf() 326 0.006271 0.006271 0.006271 1.78% MLMG::mgVcycle_down::3 36 0.006232 0.006232 0.006232 1.77% MLMG::mgVcycle_down::4 36 0.006186 0.006186 0.006186 1.76% Castro::normalize_species() 30 0.006096 0.006096 0.006096 1.73% Castro::expand_state() 5 0.006079 0.006079 0.006079 1.73% MLCellLinOp::defineAuxData() 6 0.006026 0.006026 0.006026 1.71% MLCGSolver::ParallelAllReduce 659 0.005372 0.005372 0.005372 1.53% Castro::initialize_advance() 5 0.005342 0.005342 0.005342 1.52% MLMG::addInterpCorrection() 180 0.005283 0.005283 0.005283 1.50% MLMG::mgVcycle_up::4 36 0.005061 0.005061 0.005061 1.44% MLMG::mgVcycle_up::1 36 0.005013 0.005013 0.005013 1.43% MLMG::mgVcycle_up::2 36 0.004919 0.004919 0.004919 1.40% amrex::average_down 180 0.004909 0.004909 0.004909 1.40% MLMG::mgVcycle_up::3 36 0.00479 0.00479 0.00479 1.36% MLPoisson::Fapply() 500 0.00452 0.00452 0.00452 1.29% Castro::do_old_sources() 5 0.004093 0.004093 0.004093 1.16% FabArray::Saxpy() 355 0.003672 0.003672 0.003672 1.04% FabArray::Xpay() 361 0.003522 0.003522 0.003522 1.00% Castro::post_restart() 1 0.003439 0.003439 0.003439 0.98% Gravity::multilevel_solve_for_new_phi() 1 0.00333 0.00333 0.00333 0.95% Gravity::actual_multilevel_solve() 1 0.003314 0.003314 0.003314 0.94% MLCellLinOp::solutionResidual() 42 0.003241 0.003241 0.003241 0.92% Gravity::fill_multipole_BCs() 6 0.003172 0.003172 0.003172 0.90% Castro::estTimeStep() 10 0.003051 0.003051 0.003051 0.87% MLCellLinOp::defineBC() 6 0.002745 0.002745 0.002745 0.78% Castro::reset_internal_energy(MultiFab) 30 0.002691 0.002691 0.002691 0.77% MLMG::computeResidual() 36 0.002686 0.002686 0.002686 0.76% BndryData::define() 6 0.002629 0.002629 0.002629 0.75% MLMG::prepareForSolve() 6 0.002554 0.002554 0.002554 0.73% Castro::computeNewDt() 5 0.002321 0.002321 0.002321 0.66% Castro::post_timestep() 5 0.002298 0.002298 0.002298 0.65% Castro::enforce_min_density() 30 0.002231 0.002231 0.002231 0.63% FabArray::LinComb() 242 0.001949 0.001949 0.001949 0.55% amrex::Add() 72 0.001864 0.001864 0.001864 0.53% Castro::construct_new_source() 25 0.001667 0.001667 0.001667 0.47% Castro::construct_new_gravity_source() 5 0.001658 0.001658 0.001658 0.47% Castro::construct_old_source() 25 0.001372 0.001372 0.001372 0.39% Castro::construct_old_gravity_source() 5 0.001362 0.001362 0.001362 0.39% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009335 0.0009335 0.0009335 0.27% MLMG::ResNormInf() 42 0.0009246 0.0009246 0.0009246 0.26% Castro::apply_source_to_state() 10 0.0009147 0.0009147 0.0009147 0.26% FabArrayBase::getCPC() 632 0.0007562 0.0007562 0.0007562 0.22% MLMG::getGradSolution() 6 0.0007559 0.0007559 0.0007559 0.22% MLCellLinOp::setLevelBC() 6 0.0007539 0.0007539 0.0007539 0.21% MLCellLinOp::compGrad() 6 0.000753 0.000753 0.000753 0.21% Castro::reset_internal_energy(Fab) 240 0.0006917 0.0006917 0.0006917 0.20% FabArray::setDomainBndry() 20 0.0006485 0.0006485 0.0006485 0.18% FabArray::mult() 22 0.000646 0.000646 0.000646 0.18% MLPoisson::prepareForSolve() 6 0.0006242 0.0006242 0.0006242 0.18% MLCellLinOp::prepareForSolve() 6 0.0006152 0.0006152 0.0006152 0.18% Castro::check_for_nan() 10 0.0005992 0.0005992 0.0005992 0.17% MultiFab::contains_nan() 10 0.0005937 0.0005937 0.0005937 0.17% MLMG::computeMLResidual() 6 0.0005726 0.0005726 0.0005726 0.16% Gravity::update_max_rhs() 6 0.0004398 0.0004398 0.0004398 0.13% Castro::enforce_speed_limit() 30 0.0004169 0.0004169 0.0004169 0.12% Amr::InitAmr() 1 0.0004082 0.0004082 0.0004082 0.12% FabArrayBase::CPC::define() 244 0.0004064 0.0004064 0.0004064 0.12% FabArrayBase::getFB() 1766 0.0003133 0.0003133 0.0003133 0.09% Castro::finalize_advance() 5 0.000307 0.000307 0.000307 0.09% Gravity::swapTimeLevels() 5 0.0002236 0.0002236 0.0002236 0.06% MLLinOp::define() 6 0.0002091 0.0002091 0.0002091 0.06% MLLinOp::defineGrids() 6 0.0002041 0.0002041 0.0002041 0.06% MLMG::MLResNormInf() 6 0.0001537 0.0001537 0.0001537 0.04% Castro::buildMetrics() 1 0.0001501 0.0001501 0.0001501 0.04% MultiFab::max() 6 0.0001369 0.0001369 0.0001369 0.04% MLMG::MLRhsNormInf() 6 0.0001199 0.0001199 0.0001199 0.03% FabArrayBase::FB::FB() 26 5.993e-05 5.993e-05 5.993e-05 0.02% Castro::create_source_corrector() 5 4.379e-05 4.379e-05 4.379e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.645e-05 2.645e-05 2.645e-05 0.01% Amr::writeSmallPlotFile() 1 2.502e-05 2.502e-05 2.502e-05 0.01% Castro::swap_state_time_levels() 5 2.374e-05 2.374e-05 2.374e-05 0.01% Castro::initMFs() 1 2.315e-05 2.315e-05 2.315e-05 0.01% makeSFC 30 1.95e-05 1.95e-05 1.95e-05 0.01% Castro::finalize_do_advance() 5 1.845e-05 1.845e-05 1.845e-05 0.01% Amr::initSubcycle() 1 8.868e-06 8.868e-06 8.868e-06 0.00% DistributionMapping::Distribute() 31 8.25e-06 8.25e-06 8.25e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.574e-06 4.574e-06 4.574e-06 0.00% Castro::FluxRegCrseInit 5 3.089e-06 3.089e-06 3.089e-06 0.00% Gravity::set_mass_offset() 6 1.791e-06 1.791e-06 1.791e-06 0.00% Castro::retry_advance_ctu() 5 1.575e-06 1.575e-06 1.575e-06 0.00% Castro::FluxRegFineAdd() 5 1.18e-06 1.18e-06 1.18e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.088e-06 1.088e-06 1.088e-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 248 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 112 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 1367 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2676 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 6611 KiB 14 MiB MLMG::prepareForSolve() 361 361 3895 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 256 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 241 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6606 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2423 B 2048 KiB Gravity::solve_for_phi() 40 40 715 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 358 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 230 KiB 671 KiB Castro::estTimeStep() 10 10 4067 B 480 KiB VisMF::Write(FabArray) 112 112 1419 B 320 KiB Castro::normalize_species() 30 30 5634 B 320 KiB amrex::average_down 469 469 1335 B 257 KiB MLMG::addInterpCorrection() 468 468 1280 B 257 KiB amrex::Dot() 592 592 3745 B 160 KiB FabArray::norminf() 398 398 2634 B 160 KiB Castro::do_advance_ctu() 5 5 582 B 160 KiB MultiFab::max() 6 6 60 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3788 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 320 B 9648 B MLCellLinOp::applyBC() 3892 3892 246 B 9344 B amrex::Copy() 56 56 5922 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 67 B 2720 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 131 B 1472 B MLCellLinOp::defineBC() 36 36 402 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1441 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 129 KiB 8192 KiB VisMF::Write(FabArray) 120 120 280 KiB 3584 KiB VisMF::Read() 24 24 220 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3788 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 320 B 9648 B MLCellLinOp::applyBC() 1946 1946 244 B 9328 B amrex::Copy() 56 56 5922 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2599 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 68 B 2720 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 559 B 1296 B amrex::average_down 37 37 219 B 1296 B MLMG::addInterpCorrection() 36 36 3 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 27 B 400 B FabArray::norminf() 398 398 19 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): 2459 [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.03-8-gaaab804f1438) finalized