Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-13-gb41f85ab36ac) initialized Starting run at 07:27:11 UTC on 2023-07-11. Successfully read inputs file ... Castro git describe: 23.07-14-g10cafd240 AMReX git describe: 23.07-13-gb41f85ab3 Microphysics git describe: 23.07-21-gffe836cf 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.058002027 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033349245 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046977821 [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 at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.047763646 [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 at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.069971276 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.071107126 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.062005733 [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.057220577 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.058606331 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.069655404 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.079109061 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.05556089 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.058821905 [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.057125165 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033008307 seconds Ending run at 07:27:12 UTC on 2023-07-11. Run time = 0.906828576 Run time without initialization = 0.767557372 Average number of zones advanced per microsecond: 3.415 Average number of zones advanced per microsecond per rank: 3.415 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9069 ... 0.9069 ... 0.9069 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2600 0.2600 0.2600 28.67% VisMF::Write(FabArray) 11 0.2319 0.2319 0.2319 25.57% MLCellLinOp::applyBC() 4433 0.075 0.075 0.075 8.27% FillBoundary_nowait() 4023 0.03163 0.03163 0.03163 3.49% MLPoisson::Fsmooth() 3280 0.03138 0.03138 0.03138 3.46% StateData::FillBoundary(geom) 328 0.02449 0.02449 0.02449 2.70% amrex::Dot() 1114 0.01984 0.01984 0.01984 2.19% Castro::normalize_species() 62 0.01923 0.01923 0.01923 2.12% amrex::Copy() 1029 0.01456 0.01456 0.01456 1.61% FabArray::norminf() 743 0.01388 0.01388 0.01388 1.53% Castro::computeTemp() 63 0.01373 0.01373 0.01373 1.51% FabArray::ParallelCopy_nowait() 861 0.01307 0.01307 0.01307 1.44% FabArray::setVal() 1144 0.0128 0.0128 0.0128 1.41% StateDataPhysBCFunct::() 41 0.01216 0.01216 0.01216 1.34% Castro::enforce_min_density() 62 0.01178 0.01178 0.01178 1.30% MLPoisson::Fapply() 1142 0.009994 0.009994 0.009994 1.10% MLCellLinOp::defineAuxData() 11 0.009264 0.009264 0.009264 1.02% FabArray::Saxpy() 813 0.007962 0.007962 0.007962 0.88% FabArray::Xpay() 821 0.007821 0.007821 0.007821 0.86% MLMG::addInterpCorrection() 410 0.006551 0.006551 0.006551 0.72% Gravity::fill_multipole_BCs() 11 0.006548 0.006548 0.006548 0.72% amrex::average_down 410 0.005826 0.005826 0.005826 0.64% Castro::estTimeStep() 21 0.005777 0.005777 0.005777 0.64% Castro::reset_internal_energy(MultiFab) 63 0.004934 0.004934 0.004934 0.54% amrex::Add() 164 0.004361 0.004361 0.004361 0.48% FabArray::LinComb() 557 0.004347 0.004347 0.004347 0.48% Amr::checkPoint() 3 0.00396 0.00396 0.00396 0.44% BndryData::define() 11 0.003498 0.003498 0.003498 0.39% Castro::construct_new_gravity_source() 10 0.00312 0.00312 0.00312 0.34% Castro::construct_old_gravity_source() 10 0.002741 0.002741 0.002741 0.30% Castro::enforce_speed_limit() 62 0.002372 0.002372 0.002372 0.26% Amr::writePlotFile() 2 0.002347 0.002347 0.002347 0.26% MLCGSolver::bicgstab 82 0.002133 0.002133 0.002133 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001638 0.001638 0.001638 0.18% Castro::reset_internal_energy(Fab) 504 0.001567 0.001567 0.001567 0.17% Gravity::actual_solve_with_mlmg() 11 0.00148 0.00148 0.00148 0.16% check_for_negative_density() 10 0.001462 0.001462 0.001462 0.16% MLCellLinOp::setLevelBC() 11 0.001353 0.001353 0.001353 0.15% FabArray::mult() 43 0.001303 0.001303 0.001303 0.14% FabArray::setDomainBndry() 41 0.001289 0.001289 0.001289 0.14% Castro::initData() 1 0.001237 0.001237 0.001237 0.14% MultiFab::contains_nan() 20 0.001188 0.001188 0.001188 0.13% MLCellLinOp::smooth() 1640 0.001122 0.001122 0.001122 0.12% MLCellLinOp::prepareForSolve() 11 0.001095 0.001095 0.001095 0.12% MLCellLinOp::compGrad() 11 0.0009001 0.0009001 0.0009001 0.10% MLMG::prepareForSolve() 11 0.0008586 0.0008586 0.0008586 0.09% FabArray::FillBoundary() 4023 0.0008184 0.0008184 0.0008184 0.09% FabArrayBase::getCPC() 1323 0.0007872 0.0007872 0.0007872 0.09% FabArrayBase::CPC::define() 454 0.000677 0.000677 0.000677 0.07% FabArrayBase::getFB() 4023 0.0005985 0.0005985 0.0005985 0.07% Gravity::get_new_grav_vector() 11 0.0005298 0.0005298 0.0005298 0.06% Gravity::get_old_grav_vector() 10 0.0004746 0.0004746 0.0004746 0.05% Amr::InitAmr() 1 0.0004552 0.0004552 0.0004552 0.05% MLCellLinOp::apply() 1142 0.0004431 0.0004431 0.0004431 0.05% MLMG::mgVcycle() 82 0.0003558 0.0003558 0.0003558 0.04% Amr::coarseTimeStep() 10 0.0003316 0.0003316 0.0003316 0.04% MLLinOp::defineGrids() 11 0.00033 0.00033 0.00033 0.04% AmrLevel::FillPatch() 41 0.0003294 0.0003294 0.0003294 0.04% MLCGSolver::ParallelAllReduce 1514 0.000306 0.000306 0.000306 0.03% main() 1 0.0002894 0.0002894 0.0002894 0.03% MultiFab::max() 11 0.0002576 0.0002576 0.0002576 0.03% Castro::subcycle_advance_ctu() 10 0.000252 0.000252 0.000252 0.03% FabArray::ParallelCopy() 861 0.000231 0.000231 0.000231 0.03% MLCellLinOp::correctionResidual() 492 0.0002188 0.0002188 0.0002188 0.02% FillPatchIterator::Initialize 41 0.0002175 0.0002175 0.0002175 0.02% MLCellLinOp::defineBC() 11 0.0002129 0.0002129 0.0002129 0.02% Amr::timeStep() 10 0.0001617 0.0001617 0.0001617 0.02% Castro::create_source_corrector() 10 0.0001512 0.0001512 0.0001512 0.02% StateData::checkPoint() 12 0.0001464 0.0001464 0.0001464 0.02% Gravity::update_max_rhs() 11 0.000125 0.000125 0.000125 0.01% Castro::advance() 10 0.0001215 0.0001215 0.0001215 0.01% MLMG:computeResOfCorrection() 410 0.0001157 0.0001157 0.0001157 0.01% Gravity::solve_for_phi() 10 0.0001073 0.0001073 0.0001073 0.01% MLMG::actualBottomSolve() 82 8.945e-05 8.945e-05 8.945e-05 0.01% FabArrayBase::FB::FB() 56 8.804e-05 8.804e-05 8.804e-05 0.01% Castro::Castro() 1 8.457e-05 8.457e-05 8.457e-05 0.01% MLMG::mgVcycle_down::0 82 8.061e-05 8.061e-05 8.061e-05 0.01% AmrLevel::checkPoint() 3 7.943e-05 7.943e-05 7.943e-05 0.01% MLMG::mgVcycle_down::1 82 7.7e-05 7.7e-05 7.7e-05 0.01% MLMG::mgVcycle_down::2 82 7.381e-05 7.381e-05 7.381e-05 0.01% MLMG::solve() 11 7.242e-05 7.242e-05 7.242e-05 0.01% Castro::initialize_advance() 10 7.241e-05 7.241e-05 7.241e-05 0.01% MLMG::mgVcycle_down::4 82 7.201e-05 7.201e-05 7.201e-05 0.01% MLMG::mgVcycle_down::3 82 7.081e-05 7.081e-05 7.081e-05 0.01% Castro::clean_state() 62 6.748e-05 6.748e-05 6.748e-05 0.01% Castro::initialize_do_advance() 10 6.387e-05 6.387e-05 6.387e-05 0.01% Castro::finalize_advance() 10 6.264e-05 6.264e-05 6.264e-05 0.01% MLMG::mgVcycle_up::4 82 5.792e-05 5.792e-05 5.792e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.999e-05 4.999e-05 4.999e-05 0.01% MLMG::oneIter() 82 4.905e-05 4.905e-05 4.905e-05 0.01% MLMG::mgVcycle_up::0 82 4.896e-05 4.896e-05 4.896e-05 0.01% MLMG::mgVcycle_up::1 82 4.89e-05 4.89e-05 4.89e-05 0.01% MLMG::mgVcycle_up::3 82 4.867e-05 4.867e-05 4.867e-05 0.01% MLMG::mgVcycle_up::2 82 4.794e-05 4.794e-05 4.794e-05 0.01% Castro::do_advance_ctu() 10 4.782e-05 4.782e-05 4.782e-05 0.01% MLCellLinOp::solutionResidual() 93 4.71e-05 4.71e-05 4.71e-05 0.01% StateData::define() 4 4.392e-05 4.392e-05 4.392e-05 0.00% Castro::finalize_do_advance() 10 3.986e-05 3.986e-05 3.986e-05 0.00% Castro::swap_state_time_levels() 10 3.728e-05 3.728e-05 3.728e-05 0.00% MLMG::mgVcycle_bottom 82 3.638e-05 3.638e-05 3.638e-05 0.00% MLMG::ResNormInf() 93 3.474e-05 3.474e-05 3.474e-05 0.00% FillPatchSingleLevel 41 3.328e-05 3.328e-05 3.328e-05 0.00% Castro::enforce_consistent_e() 1 3.281e-05 3.281e-05 3.281e-05 0.00% MLMG::computeResidual() 82 3.023e-05 3.023e-05 3.023e-05 0.00% makeSFC 55 2.609e-05 2.609e-05 2.609e-05 0.00% Amr::writeSmallPlotFile() 1 2.532e-05 2.532e-05 2.532e-05 0.00% Castro::construct_new_gravity() 10 2.413e-05 2.413e-05 2.413e-05 0.00% Castro::initMFs() 1 2.4e-05 2.4e-05 2.4e-05 0.00% Castro::do_old_sources() 10 2.205e-05 2.205e-05 2.205e-05 0.00% Amr::FinalizeInit() 1 2.141e-05 2.141e-05 2.141e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.09e-05 2.09e-05 2.09e-05 0.00% MLPoisson::define() 11 2.086e-05 2.086e-05 2.086e-05 0.00% Gravity::swapTimeLevels() 10 1.894e-05 1.894e-05 1.894e-05 0.00% Castro::buildMetrics() 1 1.77e-05 1.77e-05 1.77e-05 0.00% Castro::construct_old_source() 50 1.76e-05 1.76e-05 1.76e-05 0.00% Castro::do_new_sources() 10 1.745e-05 1.745e-05 1.745e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.628e-05 1.628e-05 1.628e-05 0.00% Castro::construct_new_source() 50 1.6e-05 1.6e-05 1.6e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.55e-05 1.55e-05 1.55e-05 0.00% MLPoisson::prepareForSolve() 11 1.41e-05 1.41e-05 1.41e-05 0.00% DistributionMapping::Distribute() 56 1.374e-05 1.374e-05 1.374e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.351e-05 1.351e-05 1.351e-05 0.00% Amr::defBaseLevel() 1 1.324e-05 1.324e-05 1.324e-05 0.00% Castro::check_for_nan() 20 1.077e-05 1.077e-05 1.077e-05 0.00% Castro::construct_old_gravity() 10 1.05e-05 1.05e-05 1.05e-05 0.00% MLLinOp::define() 11 1.01e-05 1.01e-05 1.01e-05 0.00% Castro::apply_source_to_state() 20 9.954e-06 9.954e-06 9.954e-06 0.00% Amr::initSubcycle() 1 8.789e-06 8.789e-06 8.789e-06 0.00% Gravity::actual_multilevel_solve() 1 7.991e-06 7.991e-06 7.991e-06 0.00% Castro::post_timestep() 10 7.625e-06 7.625e-06 7.625e-06 0.00% MLMG::computeMLResidual() 11 7.485e-06 7.485e-06 7.485e-06 0.00% AmrLevel::checkPointPost() 3 7.2e-06 7.2e-06 7.2e-06 0.00% Castro::computeNewDt() 9 6.476e-06 6.476e-06 6.476e-06 0.00% MLMG::getGradSolution() 11 5.731e-06 5.731e-06 5.731e-06 0.00% Castro::expand_state() 10 5.203e-06 5.203e-06 5.203e-06 0.00% Amr::InitializeInit() 1 4.799e-06 4.799e-06 4.799e-06 0.00% Castro::post_init() 1 4.422e-06 4.422e-06 4.422e-06 0.00% Castro::retry_advance_ctu() 10 4.044e-06 4.044e-06 4.044e-06 0.00% MLMG::MLRhsNormInf() 11 3.879e-06 3.879e-06 3.879e-06 0.00% Gravity::set_mass_offset() 11 3.806e-06 3.806e-06 3.806e-06 0.00% MLMG::MLResNormInf() 11 3.317e-06 3.317e-06 3.317e-06 0.00% Castro::FluxRegCrseInit 10 3.063e-06 3.063e-06 3.063e-06 0.00% Amr::init() 1 3.012e-06 3.012e-06 3.012e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.994e-06 2.994e-06 2.994e-06 0.00% Castro::computeInitialDt() 2 2.833e-06 2.833e-06 2.833e-06 0.00% Castro::FluxRegFineAdd() 10 2.337e-06 2.337e-06 2.337e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.906e-06 1.906e-06 1.906e-06 0.00% AmrLevel::checkPointPre() 3 1.858e-06 1.858e-06 1.858e-06 0.00% Amr::initialInit() 1 1.201e-06 1.201e-06 1.201e-06 0.00% Castro::post_regrid() 1 9.64e-07 9.64e-07 9.64e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9068 0.9068 0.9068 100.00% Amr::coarseTimeStep() 10 0.7343 0.7343 0.7343 80.97% Amr::timeStep() 10 0.6162 0.6162 0.6162 67.95% Castro::advance() 10 0.6054 0.6054 0.6054 66.76% Castro::subcycle_advance_ctu() 10 0.5919 0.5919 0.5919 65.27% Castro::do_advance_ctu() 10 0.5917 0.5917 0.5917 65.25% Gravity::solve_phi_with_mlmg() 11 0.277 0.277 0.277 30.55% Gravity::actual_solve_with_mlmg() 11 0.27 0.27 0.27 29.78% Castro::construct_ctu_hydro_source() 10 0.2693 0.2693 0.2693 29.70% Castro::construct_new_gravity() 10 0.2536 0.2536 0.2536 27.96% MLMG::solve() 11 0.2501 0.2501 0.2501 27.58% Gravity::solve_for_phi() 10 0.2377 0.2377 0.2377 26.21% MLMG::oneIter() 82 0.2361 0.2361 0.2361 26.04% MLMG::mgVcycle() 82 0.2324 0.2324 0.2324 25.63% VisMF::Write(FabArray) 11 0.2319 0.2319 0.2319 25.57% Amr::checkPoint() 3 0.1725 0.1725 0.1725 19.02% AmrLevel::checkPoint() 3 0.1685 0.1685 0.1685 18.58% StateData::checkPoint() 12 0.1684 0.1684 0.1684 18.57% Amr::init() 1 0.1387 0.1387 0.1387 15.29% MLCellLinOp::smooth() 1640 0.1151 0.1151 0.1151 12.70% MLCellLinOp::applyBC() 4433 0.1081 0.1081 0.1081 11.92% MLMG::mgVcycle_bottom 82 0.07115 0.07115 0.07115 7.85% MLMG::actualBottomSolve() 82 0.07111 0.07111 0.07111 7.84% MLCGSolver::bicgstab 82 0.07044 0.07044 0.07044 7.77% Amr::writePlotFile() 2 0.06648 0.06648 0.06648 7.33% Castro::clean_state() 62 0.05284 0.05284 0.05284 5.83% Amr::initialInit() 1 0.04721 0.04721 0.04721 5.21% AmrLevel::FillPatch() 41 0.0464 0.0464 0.0464 5.12% Amr::FinalizeInit() 1 0.04294 0.04294 0.04294 4.74% FillPatchIterator::Initialize 41 0.04226 0.04226 0.04226 4.66% Castro::post_init() 1 0.04164 0.04164 0.04164 4.59% FillPatchIterator::FillFromLevel0() 41 0.04076 0.04076 0.04076 4.49% FillPatchSingleLevel 41 0.04071 0.04071 0.04071 4.49% Gravity::multilevel_solve_for_new_phi() 1 0.03977 0.03977 0.03977 4.39% Gravity::actual_multilevel_solve() 1 0.03975 0.03975 0.03975 4.38% StateDataPhysBCFunct::() 41 0.03665 0.03665 0.03665 4.04% MLCellLinOp::apply() 1142 0.03547 0.03547 0.03547 3.91% MLMG::mgVcycle_down::0 82 0.03392 0.03392 0.03392 3.74% FabArray::FillBoundary() 4023 0.03313 0.03313 0.03313 3.65% FillBoundary_nowait() 4023 0.03232 0.03232 0.03232 3.56% MLPoisson::Fsmooth() 3280 0.03138 0.03138 0.03138 3.46% MLMG::mgVcycle_up::0 82 0.02558 0.02558 0.02558 2.82% StateData::FillBoundary(geom) 328 0.02449 0.02449 0.02449 2.70% MLCellLinOp::correctionResidual() 492 0.02178 0.02178 0.02178 2.40% Castro::initialize_do_advance() 10 0.02048 0.02048 0.02048 2.26% Castro::computeTemp() 63 0.02023 0.02023 0.02023 2.23% amrex::Dot() 1114 0.01984 0.01984 0.01984 2.19% Castro::normalize_species() 62 0.01923 0.01923 0.01923 2.12% MLMG:computeResOfCorrection() 410 0.01921 0.01921 0.01921 2.12% Castro::do_old_sources() 10 0.01842 0.01842 0.01842 2.03% Gravity::get_new_grav_vector() 11 0.01747 0.01747 0.01747 1.93% MLPoisson::define() 11 0.01569 0.01569 0.01569 1.73% MLMG::mgVcycle_down::1 82 0.01537 0.01537 0.01537 1.70% Castro::construct_old_gravity() 10 0.01471 0.01471 0.01471 1.62% Gravity::get_old_grav_vector() 10 0.0147 0.0147 0.0147 1.62% amrex::Copy() 1029 0.01456 0.01456 0.01456 1.61% MLMG::mgVcycle_down::2 82 0.0143 0.0143 0.0143 1.58% FabArray::ParallelCopy() 861 0.0141 0.0141 0.0141 1.56% MLMG::mgVcycle_down::3 82 0.01396 0.01396 0.01396 1.54% FabArray::norminf() 743 0.01388 0.01388 0.01388 1.53% FabArray::ParallelCopy_nowait() 861 0.01387 0.01387 0.01387 1.53% MLMG::mgVcycle_down::4 82 0.01376 0.01376 0.01376 1.52% FabArray::setVal() 1144 0.0128 0.0128 0.0128 1.41% Castro::initialize_advance() 10 0.01278 0.01278 0.01278 1.41% MLCGSolver::ParallelAllReduce 1514 0.01192 0.01192 0.01192 1.31% Castro::do_new_sources() 10 0.01192 0.01192 0.01192 1.31% Castro::enforce_min_density() 62 0.01178 0.01178 0.01178 1.30% Castro::expand_state() 10 0.01164 0.01164 0.01164 1.28% MLMG::addInterpCorrection() 410 0.0116 0.0116 0.0116 1.28% MLMG::mgVcycle_up::1 82 0.01121 0.01121 0.01121 1.24% MLMG::mgVcycle_up::4 82 0.01109 0.01109 0.01109 1.22% MLMG::mgVcycle_up::2 82 0.01099 0.01099 0.01099 1.21% amrex::average_down 410 0.01086 0.01086 0.01086 1.20% MLMG::mgVcycle_up::3 82 0.01075 0.01075 0.01075 1.19% Castro::post_timestep() 10 0.01062 0.01062 0.01062 1.17% MLCellLinOp::defineAuxData() 11 0.01061 0.01061 0.01061 1.17% MLPoisson::Fapply() 1142 0.009994 0.009994 0.009994 1.10% FabArray::Saxpy() 813 0.007962 0.007962 0.007962 0.88% FabArray::Xpay() 821 0.007821 0.007821 0.007821 0.86% MLCellLinOp::solutionResidual() 93 0.007025 0.007025 0.007025 0.77% Gravity::fill_multipole_BCs() 11 0.006797 0.006797 0.006797 0.75% Castro::reset_internal_energy(MultiFab) 63 0.006501 0.006501 0.006501 0.72% MLMG::computeResidual() 82 0.006063 0.006063 0.006063 0.67% Castro::estTimeStep() 21 0.005777 0.005777 0.005777 0.64% MLCellLinOp::defineBC() 11 0.004666 0.004666 0.004666 0.51% MLMG::prepareForSolve() 11 0.004568 0.004568 0.004568 0.50% BndryData::define() 11 0.004453 0.004453 0.004453 0.49% amrex::Add() 164 0.004361 0.004361 0.004361 0.48% FabArray::LinComb() 557 0.004347 0.004347 0.004347 0.48% Amr::InitializeInit() 1 0.004268 0.004268 0.004268 0.47% Amr::defBaseLevel() 1 0.004264 0.004264 0.004264 0.47% Castro::initData() 1 0.003757 0.003757 0.003757 0.41% Castro::construct_new_source() 50 0.003136 0.003136 0.003136 0.35% Castro::construct_new_gravity_source() 10 0.00312 0.00312 0.00312 0.34% Castro::construct_old_source() 50 0.002759 0.002759 0.002759 0.30% Castro::construct_old_gravity_source() 10 0.002741 0.002741 0.002741 0.30% Castro::computeNewDt() 9 0.002629 0.002629 0.002629 0.29% Castro::enforce_speed_limit() 62 0.002372 0.002372 0.002372 0.26% Castro::finalize_do_advance() 10 0.002317 0.002317 0.002317 0.26% MLMG::ResNormInf() 93 0.002104 0.002104 0.002104 0.23% Castro::apply_source_to_state() 20 0.001824 0.001824 0.001824 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001638 0.001638 0.001638 0.18% Castro::reset_internal_energy(Fab) 504 0.001567 0.001567 0.001567 0.17% FabArrayBase::getCPC() 1323 0.001464 0.001464 0.001464 0.16% check_for_negative_density() 10 0.001462 0.001462 0.001462 0.16% MLMG::getGradSolution() 11 0.001374 0.001374 0.001374 0.15% MLCellLinOp::compGrad() 11 0.001368 0.001368 0.001368 0.15% MLCellLinOp::setLevelBC() 11 0.001353 0.001353 0.001353 0.15% FabArray::mult() 43 0.001303 0.001303 0.001303 0.14% FabArray::setDomainBndry() 41 0.001289 0.001289 0.001289 0.14% Castro::check_for_nan() 20 0.001199 0.001199 0.001199 0.13% MultiFab::contains_nan() 20 0.001188 0.001188 0.001188 0.13% Castro::post_regrid() 1 0.001112 0.001112 0.001112 0.12% MLPoisson::prepareForSolve() 11 0.001109 0.001109 0.001109 0.12% MLCellLinOp::prepareForSolve() 11 0.001095 0.001095 0.001095 0.12% MLMG::computeMLResidual() 11 0.0009999 0.0009999 0.0009999 0.11% Castro::computeInitialDt() 2 0.0008801 0.0008801 0.0008801 0.10% Gravity::update_max_rhs() 11 0.0008185 0.0008185 0.0008185 0.09% FabArrayBase::getFB() 4023 0.0006865 0.0006865 0.0006865 0.08% FabArrayBase::CPC::define() 454 0.000677 0.000677 0.000677 0.07% Castro::finalize_advance() 10 0.000579 0.000579 0.000579 0.06% Amr::InitAmr() 1 0.000464 0.000464 0.000464 0.05% Gravity::swapTimeLevels() 10 0.0004404 0.0004404 0.0004404 0.05% Castro::Castro() 1 0.0004303 0.0004303 0.0004303 0.05% MLLinOp::define() 11 0.0003942 0.0003942 0.0003942 0.04% MLLinOp::defineGrids() 11 0.0003841 0.0003841 0.0003841 0.04% MLMG::MLResNormInf() 11 0.0002805 0.0002805 0.0002805 0.03% MultiFab::max() 11 0.0002576 0.0002576 0.0002576 0.03% MLMG::MLRhsNormInf() 11 0.000216 0.000216 0.000216 0.02% Castro::buildMetrics() 1 0.0001575 0.0001575 0.0001575 0.02% Castro::create_source_corrector() 10 0.0001512 0.0001512 0.0001512 0.02% FabArrayBase::FB::FB() 56 8.804e-05 8.804e-05 8.804e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.942e-05 5.942e-05 5.942e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.221e-05 5.221e-05 5.221e-05 0.01% StateData::define() 4 4.392e-05 4.392e-05 4.392e-05 0.00% makeSFC 55 3.87e-05 3.87e-05 3.87e-05 0.00% Castro::swap_state_time_levels() 10 3.728e-05 3.728e-05 3.728e-05 0.00% Castro::enforce_consistent_e() 1 3.281e-05 3.281e-05 3.281e-05 0.00% Amr::writeSmallPlotFile() 1 2.532e-05 2.532e-05 2.532e-05 0.00% Castro::initMFs() 1 2.4e-05 2.4e-05 2.4e-05 0.00% DistributionMapping::Distribute() 56 1.374e-05 1.374e-05 1.374e-05 0.00% Amr::initSubcycle() 1 8.789e-06 8.789e-06 8.789e-06 0.00% AmrLevel::checkPointPost() 3 7.2e-06 7.2e-06 7.2e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.122e-06 4.122e-06 4.122e-06 0.00% Castro::retry_advance_ctu() 10 4.044e-06 4.044e-06 4.044e-06 0.00% Gravity::set_mass_offset() 11 3.806e-06 3.806e-06 3.806e-06 0.00% Castro::FluxRegCrseInit 10 3.063e-06 3.063e-06 3.063e-06 0.00% Castro::FluxRegFineAdd() 10 2.337e-06 2.337e-06 2.337e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.906e-06 1.906e-06 1.906e-06 0.00% AmrLevel::checkPointPre() 3 1.858e-06 1.858e-06 1.858e-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 88 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 136 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 998 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2060 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 660 660 3394 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 200 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 166 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1728 B 2048 KiB Gravity::solve_for_phi() 80 80 536 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 196 KiB 671 KiB Castro::estTimeStep() 21 21 3109 B 480 KiB VisMF::Write(FabArray) 656 656 3242 B 320 KiB Castro::normalize_species() 62 62 6911 B 320 KiB amrex::average_down 1067 1067 1211 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1110 B 257 KiB amrex::Dot() 1360 1360 3226 B 160 KiB FabArray::norminf() 907 907 2265 B 160 KiB check_for_negative_density() 10 10 254 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3318 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 8866 8866 215 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 113 B 1472 B MLCellLinOp::defineBC() 66 66 402 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 586 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 590 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3318 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 4433 4433 213 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B Gravity::get_new_grav_vector() 3 3 2913 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 B 2976 B Gravity::fill_multipole_BCs() 33 33 3 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 282 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [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.07-13-gb41f85ab36ac) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-13-gb41f85ab36ac) initialized Starting run at 07:27:13 UTC on 2023-07-11. Successfully read inputs file ... Castro git describe: 23.07-14-g10cafd240 AMReX git describe: 23.07-13-gb41f85ab3 Microphysics git describe: 23.07-21-gffe836cf reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.494325105 Restart time = 0.068804069 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.04921513 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.045742868 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.056599343 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.071857935 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.080205586 [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.039908503 seconds Ending run at 07:27:13 UTC on 2023-07-11. Run time = 0.413441645 Run time without initialization = 0.344076396 Average number of zones advanced per microsecond: 3.809 Average number of zones advanced per microsecond per rank: 3.809 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4135 ... 0.4135 ... 0.4135 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1249 0.1249 0.1249 30.22% VisMF::Read() 3 0.03926 0.03926 0.03926 9.49% VisMF::Write(FabArray) 1 0.03829 0.03829 0.03829 9.26% MLCellLinOp::applyBC() 1946 0.03229 0.03229 0.03229 7.81% Amr::restart() 1 0.0259 0.0259 0.0259 6.26% MLPoisson::Fsmooth() 1440 0.01352 0.01352 0.01352 3.27% FillBoundary_nowait() 1766 0.01267 0.01267 0.01267 3.06% StateData::FillBoundary(geom) 160 0.01171 0.01171 0.01171 2.83% Castro::normalize_species() 30 0.008919 0.008919 0.008919 2.16% amrex::Dot() 484 0.008467 0.008467 0.008467 2.05% amrex::Copy() 463 0.006787 0.006787 0.006787 1.64% FabArray::setVal() 537 0.006074 0.006074 0.006074 1.47% Castro::computeTemp() 30 0.005992 0.005992 0.005992 1.45% FabArray::norminf() 326 0.005985 0.005985 0.005985 1.45% FabArray::ParallelCopy_nowait() 380 0.00587 0.00587 0.00587 1.42% MLCellLinOp::defineAuxData() 6 0.004976 0.004976 0.004976 1.20% StateDataPhysBCFunct::() 20 0.004963 0.004963 0.004963 1.20% MLPoisson::Fapply() 500 0.004279 0.004279 0.004279 1.03% Castro::enforce_min_density() 30 0.004251 0.004251 0.004251 1.03% Castro::estTimeStep() 10 0.003901 0.003901 0.003901 0.94% FabArray::Saxpy() 355 0.003517 0.003517 0.003517 0.85% FabArray::Xpay() 361 0.003403 0.003403 0.003403 0.82% Gravity::fill_multipole_BCs() 6 0.003309 0.003309 0.003309 0.80% MLMG::addInterpCorrection() 180 0.002815 0.002815 0.002815 0.68% amrex::average_down 180 0.002534 0.002534 0.002534 0.61% Castro::reset_internal_energy(MultiFab) 30 0.002143 0.002143 0.002143 0.52% BndryData::define() 6 0.001914 0.001914 0.001914 0.46% FabArray::LinComb() 242 0.001844 0.001844 0.001844 0.45% amrex::Add() 72 0.001843 0.001843 0.001843 0.45% Castro::construct_new_gravity_source() 5 0.001612 0.001612 0.001612 0.39% Amr::writePlotFile() 1 0.00148 0.00148 0.00148 0.36% Castro::construct_old_gravity_source() 5 0.001418 0.001418 0.001418 0.34% MLCGSolver::bicgstab 36 0.0009367 0.0009367 0.0009367 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008655 0.0008655 0.0008655 0.21% Gravity::actual_solve_with_mlmg() 6 0.0007759 0.0007759 0.0007759 0.19% Castro::reset_internal_energy(Fab) 240 0.0007483 0.0007483 0.0007483 0.18% check_for_negative_density() 5 0.0007431 0.0007431 0.0007431 0.18% MLCellLinOp::setLevelBC() 6 0.0007356 0.0007356 0.0007356 0.18% Castro::subcycle_advance_ctu() 5 0.0006677 0.0006677 0.0006677 0.16% Castro::initialize_do_advance() 5 0.0006582 0.0006582 0.0006582 0.16% FabArray::mult() 22 0.00064 0.00064 0.00064 0.15% FabArray::setDomainBndry() 20 0.0006364 0.0006364 0.0006364 0.15% MLCellLinOp::prepareForSolve() 6 0.0005972 0.0005972 0.0005972 0.14% MultiFab::contains_nan() 10 0.0005832 0.0005832 0.0005832 0.14% MLCellLinOp::smooth() 720 0.0005154 0.0005154 0.0005154 0.12% Castro::enforce_speed_limit() 30 0.0004934 0.0004934 0.0004934 0.12% MLCellLinOp::compGrad() 6 0.0004768 0.0004768 0.0004768 0.12% MLMG::prepareForSolve() 6 0.0004638 0.0004638 0.0004638 0.11% FabArrayBase::CPC::define() 244 0.0004111 0.0004111 0.0004111 0.10% Amr::InitAmr() 1 0.0003836 0.0003836 0.0003836 0.09% FabArray::FillBoundary() 1766 0.0003773 0.0003773 0.0003773 0.09% FabArrayBase::getCPC() 632 0.0003554 0.0003554 0.0003554 0.09% main() 1 0.0003381 0.0003381 0.0003381 0.08% Gravity::get_old_grav_vector() 5 0.0002577 0.0002577 0.0002577 0.06% FabArrayBase::getFB() 1766 0.0002494 0.0002494 0.0002494 0.06% Gravity::get_new_grav_vector() 5 0.0002371 0.0002371 0.0002371 0.06% Amr::coarseTimeStep() 5 0.0002178 0.0002178 0.0002178 0.05% MLCellLinOp::apply() 500 0.0002013 0.0002013 0.0002013 0.05% MLLinOp::defineGrids() 6 0.0001629 0.0001629 0.0001629 0.04% MLMG::mgVcycle() 36 0.0001626 0.0001626 0.0001626 0.04% AmrLevel::FillPatch() 20 0.0001605 0.0001605 0.0001605 0.04% MultiFab::max() 6 0.0001347 0.0001347 0.0001347 0.03% MLCGSolver::ParallelAllReduce 659 0.0001306 0.0001306 0.0001306 0.03% MLCellLinOp::defineBC() 6 0.0001174 0.0001174 0.0001174 0.03% FillPatchIterator::Initialize 20 0.0001089 0.0001089 0.0001089 0.03% Castro::do_new_sources() 5 0.000103 0.000103 0.000103 0.02% FabArray::ParallelCopy() 380 0.000102 0.000102 0.000102 0.02% MLCellLinOp::correctionResidual() 216 8.913e-05 8.913e-05 8.913e-05 0.02% Castro::construct_new_source() 25 8.794e-05 8.794e-05 8.794e-05 0.02% Amr::timeStep() 5 8.673e-05 8.673e-05 8.673e-05 0.02% AmrLevel::restart() 1 8.149e-05 8.149e-05 8.149e-05 0.02% Castro::create_source_corrector() 5 8.134e-05 8.134e-05 8.134e-05 0.02% Gravity::update_max_rhs() 6 7.258e-05 7.258e-05 7.258e-05 0.02% Castro::finalize_do_advance() 5 6.929e-05 6.929e-05 6.929e-05 0.02% Gravity::solve_for_phi() 5 6.255e-05 6.255e-05 6.255e-05 0.02% Castro::advance() 5 5.994e-05 5.994e-05 5.994e-05 0.01% FabArrayBase::FB::FB() 26 5.946e-05 5.946e-05 5.946e-05 0.01% StateData::restartDoit() 4 5.717e-05 5.717e-05 5.717e-05 0.01% MLMG:computeResOfCorrection() 180 5.255e-05 5.255e-05 5.255e-05 0.01% MLMG::actualBottomSolve() 36 3.947e-05 3.947e-05 3.947e-05 0.01% MLMG::mgVcycle_down::0 36 3.67e-05 3.67e-05 3.67e-05 0.01% Castro::post_timestep() 5 3.514e-05 3.514e-05 3.514e-05 0.01% MLMG::mgVcycle_down::1 36 3.448e-05 3.448e-05 3.448e-05 0.01% Castro::do_old_sources() 5 3.431e-05 3.431e-05 3.431e-05 0.01% Castro::initialize_advance() 5 3.413e-05 3.413e-05 3.413e-05 0.01% MLMG::solve() 6 3.333e-05 3.333e-05 3.333e-05 0.01% MLMG::mgVcycle_down::2 36 3.225e-05 3.225e-05 3.225e-05 0.01% Castro::clean_state() 30 3.219e-05 3.219e-05 3.219e-05 0.01% MLMG::mgVcycle_down::4 36 3.18e-05 3.18e-05 3.18e-05 0.01% MLMG::mgVcycle_down::3 36 3.124e-05 3.124e-05 3.124e-05 0.01% Castro::finalize_advance() 5 2.997e-05 2.997e-05 2.997e-05 0.01% Amr::writeSmallPlotFile() 1 2.848e-05 2.848e-05 2.848e-05 0.01% MLMG::mgVcycle_up::4 36 2.77e-05 2.77e-05 2.77e-05 0.01% Castro::buildMetrics() 1 2.64e-05 2.64e-05 2.64e-05 0.01% Castro::initMFs() 1 2.503e-05 2.503e-05 2.503e-05 0.01% Castro::swap_state_time_levels() 5 2.442e-05 2.442e-05 2.442e-05 0.01% Castro::do_advance_ctu() 5 2.355e-05 2.355e-05 2.355e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.293e-05 2.293e-05 2.293e-05 0.01% MLMG::mgVcycle_up::0 36 2.186e-05 2.186e-05 2.186e-05 0.01% MLMG::oneIter() 36 2.183e-05 2.183e-05 2.183e-05 0.01% MLCellLinOp::solutionResidual() 42 2.171e-05 2.171e-05 2.171e-05 0.01% MLMG::mgVcycle_up::3 36 2.148e-05 2.148e-05 2.148e-05 0.01% MLMG::mgVcycle_up::2 36 2.113e-05 2.113e-05 2.113e-05 0.01% MLMG::mgVcycle_up::1 36 2.019e-05 2.019e-05 2.019e-05 0.00% Castro::post_restart() 1 1.915e-05 1.915e-05 1.915e-05 0.00% MLMG::ResNormInf() 42 1.726e-05 1.726e-05 1.726e-05 0.00% MLMG::mgVcycle_bottom 36 1.587e-05 1.587e-05 1.587e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.575e-05 1.575e-05 1.575e-05 0.00% FillPatchSingleLevel 20 1.517e-05 1.517e-05 1.517e-05 0.00% MLPoisson::define() 6 1.408e-05 1.408e-05 1.408e-05 0.00% makeSFC 30 1.388e-05 1.388e-05 1.388e-05 0.00% MLMG::computeResidual() 36 1.382e-05 1.382e-05 1.382e-05 0.00% Castro::construct_new_gravity() 5 1.176e-05 1.176e-05 1.176e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.097e-05 1.097e-05 1.097e-05 0.00% Castro::construct_old_source() 25 1.024e-05 1.024e-05 1.024e-05 0.00% MLPoisson::prepareForSolve() 6 9.974e-06 9.974e-06 9.974e-06 0.00% DistributionMapping::Distribute() 31 8.441e-06 8.441e-06 8.441e-06 0.00% Amr::initSubcycle() 1 8.438e-06 8.438e-06 8.438e-06 0.00% Gravity::actual_multilevel_solve() 1 7.646e-06 7.646e-06 7.646e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.435e-06 7.435e-06 7.435e-06 0.00% Castro::construct_old_gravity() 5 5.982e-06 5.982e-06 5.982e-06 0.00% Castro::check_for_nan() 10 5.572e-06 5.572e-06 5.572e-06 0.00% Castro::apply_source_to_state() 10 4.937e-06 4.937e-06 4.937e-06 0.00% MLLinOp::define() 6 4.879e-06 4.879e-06 4.879e-06 0.00% Gravity::swapTimeLevels() 5 4.35e-06 4.35e-06 4.35e-06 0.00% Castro::computeNewDt() 5 3.873e-06 3.873e-06 3.873e-06 0.00% MLMG::computeMLResidual() 6 3.681e-06 3.681e-06 3.681e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.657e-06 3.657e-06 3.657e-06 0.00% MLMG::getGradSolution() 6 2.964e-06 2.964e-06 2.964e-06 0.00% Gravity::set_mass_offset() 6 2.769e-06 2.769e-06 2.769e-06 0.00% Castro::expand_state() 5 2.615e-06 2.615e-06 2.615e-06 0.00% MLMG::MLResNormInf() 6 2.338e-06 2.338e-06 2.338e-06 0.00% MLMG::MLRhsNormInf() 6 2.056e-06 2.056e-06 2.056e-06 0.00% Castro::retry_advance_ctu() 5 1.945e-06 1.945e-06 1.945e-06 0.00% Castro::FluxRegCrseInit 5 1.379e-06 1.379e-06 1.379e-06 0.00% Amr::init() 1 1.294e-06 1.294e-06 1.294e-06 0.00% Castro::FluxRegFineAdd() 5 1.152e-06 1.152e-06 1.152e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.67e-07 9.67e-07 9.67e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4135 0.4135 0.4135 100.00% Amr::coarseTimeStep() 5 0.3038 0.3038 0.3038 73.48% Amr::timeStep() 5 0.3013 0.3013 0.3013 72.86% Castro::advance() 5 0.2971 0.2971 0.2971 71.85% Castro::subcycle_advance_ctu() 5 0.2905 0.2905 0.2905 70.27% Castro::do_advance_ctu() 5 0.2899 0.2899 0.2899 70.10% Castro::construct_ctu_hydro_source() 5 0.1294 0.1294 0.1294 31.31% Castro::construct_new_gravity() 5 0.1261 0.1261 0.1261 30.50% Gravity::solve_phi_with_mlmg() 6 0.1214 0.1214 0.1214 29.36% Gravity::solve_for_phi() 5 0.1184 0.1184 0.1184 28.64% Gravity::actual_solve_with_mlmg() 6 0.1179 0.1179 0.1179 28.50% MLMG::solve() 6 0.1071 0.1071 0.1071 25.91% MLMG::oneIter() 36 0.1005 0.1005 0.1005 24.30% MLMG::mgVcycle() 36 0.09891 0.09891 0.09891 23.92% Amr::init() 1 0.06885 0.06885 0.06885 16.65% Amr::restart() 1 0.06885 0.06885 0.06885 16.65% MLCellLinOp::smooth() 720 0.0487 0.0487 0.0487 11.78% MLCellLinOp::applyBC() 1946 0.04565 0.04565 0.04565 11.04% Amr::writePlotFile() 1 0.04002 0.04002 0.04002 9.68% AmrLevel::restart() 1 0.03945 0.03945 0.03945 9.54% StateData::restartDoit() 4 0.03937 0.03937 0.03937 9.52% VisMF::Read() 3 0.03926 0.03926 0.03926 9.49% VisMF::Write(FabArray) 1 0.03829 0.03829 0.03829 9.26% MLMG::mgVcycle_bottom 36 0.03044 0.03044 0.03044 7.36% MLMG::actualBottomSolve() 36 0.03042 0.03042 0.03042 7.36% MLCGSolver::bicgstab 36 0.03013 0.03013 0.03013 7.29% Castro::clean_state() 30 0.02258 0.02258 0.02258 5.46% AmrLevel::FillPatch() 20 0.02151 0.02151 0.02151 5.20% FillPatchIterator::Initialize 20 0.01947 0.01947 0.01947 4.71% FillPatchIterator::FillFromLevel0() 20 0.01873 0.01873 0.01873 4.53% FillPatchSingleLevel 20 0.0187 0.0187 0.0187 4.52% StateDataPhysBCFunct::() 20 0.01667 0.01667 0.01667 4.03% MLCellLinOp::apply() 500 0.0152 0.0152 0.0152 3.68% MLMG::mgVcycle_down::0 36 0.01411 0.01411 0.01411 3.41% MLPoisson::Fsmooth() 1440 0.01352 0.01352 0.01352 3.27% FabArray::FillBoundary() 1766 0.01335 0.01335 0.01335 3.23% FillBoundary_nowait() 1766 0.01298 0.01298 0.01298 3.14% StateData::FillBoundary(geom) 160 0.01171 0.01171 0.01171 2.83% MLMG::mgVcycle_up::0 36 0.01062 0.01062 0.01062 2.57% Castro::initialize_do_advance() 5 0.00993 0.00993 0.00993 2.40% MLCellLinOp::correctionResidual() 216 0.009247 0.009247 0.009247 2.24% Castro::normalize_species() 30 0.008919 0.008919 0.008919 2.16% Castro::computeTemp() 30 0.008883 0.008883 0.008883 2.15% MLPoisson::define() 6 0.00847 0.00847 0.00847 2.05% amrex::Dot() 484 0.008467 0.008467 0.008467 2.05% Castro::do_old_sources() 5 0.008401 0.008401 0.008401 2.03% MLMG:computeResOfCorrection() 180 0.008144 0.008144 0.008144 1.97% Gravity::get_new_grav_vector() 5 0.007562 0.007562 0.007562 1.83% Castro::construct_old_gravity() 5 0.007458 0.007458 0.007458 1.80% Gravity::get_old_grav_vector() 5 0.007452 0.007452 0.007452 1.80% amrex::Copy() 463 0.006787 0.006787 0.006787 1.64% MLMG::mgVcycle_down::1 36 0.00661 0.00661 0.00661 1.60% Castro::do_new_sources() 5 0.006404 0.006404 0.006404 1.55% FabArray::ParallelCopy() 380 0.006352 0.006352 0.006352 1.54% FabArray::ParallelCopy_nowait() 380 0.00625 0.00625 0.00625 1.51% Castro::initialize_advance() 5 0.0062 0.0062 0.0062 1.50% MLMG::mgVcycle_down::2 36 0.006149 0.006149 0.006149 1.49% FabArray::setVal() 537 0.006074 0.006074 0.006074 1.47% MLMG::mgVcycle_down::3 36 0.006004 0.006004 0.006004 1.45% FabArray::norminf() 326 0.005985 0.005985 0.005985 1.45% MLMG::mgVcycle_down::4 36 0.005942 0.005942 0.005942 1.44% MLCellLinOp::defineAuxData() 6 0.005676 0.005676 0.005676 1.37% Castro::expand_state() 5 0.005188 0.005188 0.005188 1.25% MLCGSolver::ParallelAllReduce 659 0.005113 0.005113 0.005113 1.24% MLMG::addInterpCorrection() 180 0.004972 0.004972 0.004972 1.20% MLMG::mgVcycle_up::1 36 0.004806 0.004806 0.004806 1.16% MLMG::mgVcycle_up::4 36 0.004775 0.004775 0.004775 1.15% amrex::average_down 180 0.004714 0.004714 0.004714 1.14% MLMG::mgVcycle_up::2 36 0.004703 0.004703 0.004703 1.14% MLMG::mgVcycle_up::3 36 0.004591 0.004591 0.004591 1.11% MLPoisson::Fapply() 500 0.004279 0.004279 0.004279 1.03% Castro::enforce_min_density() 30 0.004251 0.004251 0.004251 1.03% Castro::post_timestep() 5 0.00411 0.00411 0.00411 0.99% Castro::estTimeStep() 10 0.003901 0.003901 0.003901 0.94% FabArray::Saxpy() 355 0.003517 0.003517 0.003517 0.85% Gravity::fill_multipole_BCs() 6 0.003433 0.003433 0.003433 0.83% FabArray::Xpay() 361 0.003403 0.003403 0.003403 0.82% Castro::post_restart() 1 0.003317 0.003317 0.003317 0.80% Gravity::multilevel_solve_for_new_phi() 1 0.003206 0.003206 0.003206 0.78% Gravity::actual_multilevel_solve() 1 0.00319 0.00319 0.00319 0.77% MLCellLinOp::solutionResidual() 42 0.003137 0.003137 0.003137 0.76% Castro::reset_internal_energy(MultiFab) 30 0.002892 0.002892 0.002892 0.70% MLMG::computeResidual() 36 0.002599 0.002599 0.002599 0.63% MLCellLinOp::defineBC() 6 0.002583 0.002583 0.002583 0.62% BndryData::define() 6 0.002466 0.002466 0.002466 0.60% MLMG::prepareForSolve() 6 0.002451 0.002451 0.002451 0.59% Castro::computeNewDt() 5 0.002341 0.002341 0.002341 0.57% FabArray::LinComb() 242 0.001844 0.001844 0.001844 0.45% amrex::Add() 72 0.001843 0.001843 0.001843 0.45% Castro::construct_new_source() 25 0.0017 0.0017 0.0017 0.41% Castro::finalize_do_advance() 5 0.001633 0.001633 0.001633 0.39% Castro::construct_new_gravity_source() 5 0.001612 0.001612 0.001612 0.39% Castro::construct_old_source() 25 0.001428 0.001428 0.001428 0.35% Castro::construct_old_gravity_source() 5 0.001418 0.001418 0.001418 0.34% MLMG::ResNormInf() 42 0.0009246 0.0009246 0.0009246 0.22% Castro::apply_source_to_state() 10 0.0009126 0.0009126 0.0009126 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008655 0.0008655 0.0008655 0.21% FabArrayBase::getCPC() 632 0.0007665 0.0007665 0.0007665 0.19% Castro::reset_internal_energy(Fab) 240 0.0007483 0.0007483 0.0007483 0.18% check_for_negative_density() 5 0.0007431 0.0007431 0.0007431 0.18% MLMG::getGradSolution() 6 0.0007381 0.0007381 0.0007381 0.18% MLCellLinOp::setLevelBC() 6 0.0007356 0.0007356 0.0007356 0.18% MLCellLinOp::compGrad() 6 0.0007352 0.0007352 0.0007352 0.18% FabArray::mult() 22 0.00064 0.00064 0.00064 0.15% FabArray::setDomainBndry() 20 0.0006364 0.0006364 0.0006364 0.15% MLPoisson::prepareForSolve() 6 0.0006072 0.0006072 0.0006072 0.15% MLCellLinOp::prepareForSolve() 6 0.0005972 0.0005972 0.0005972 0.14% Castro::check_for_nan() 10 0.0005888 0.0005888 0.0005888 0.14% MultiFab::contains_nan() 10 0.0005832 0.0005832 0.0005832 0.14% MLMG::computeMLResidual() 6 0.0005549 0.0005549 0.0005549 0.13% Castro::enforce_speed_limit() 30 0.0004934 0.0004934 0.0004934 0.12% Gravity::update_max_rhs() 6 0.0004496 0.0004496 0.0004496 0.11% FabArrayBase::CPC::define() 244 0.0004111 0.0004111 0.0004111 0.10% Amr::InitAmr() 1 0.0003921 0.0003921 0.0003921 0.09% FabArrayBase::getFB() 1766 0.0003088 0.0003088 0.0003088 0.07% Castro::finalize_advance() 5 0.0002835 0.0002835 0.0002835 0.07% Gravity::swapTimeLevels() 5 0.000221 0.000221 0.000221 0.05% MLLinOp::define() 6 0.0001971 0.0001971 0.0001971 0.05% MLLinOp::defineGrids() 6 0.0001922 0.0001922 0.0001922 0.05% MLMG::MLResNormInf() 6 0.0001496 0.0001496 0.0001496 0.04% Castro::buildMetrics() 1 0.0001475 0.0001475 0.0001475 0.04% MultiFab::max() 6 0.0001347 0.0001347 0.0001347 0.03% MLMG::MLRhsNormInf() 6 0.0001137 0.0001137 0.0001137 0.03% Castro::create_source_corrector() 5 8.134e-05 8.134e-05 8.134e-05 0.02% FabArrayBase::FB::FB() 26 5.946e-05 5.946e-05 5.946e-05 0.01% Amr::writeSmallPlotFile() 1 2.848e-05 2.848e-05 2.848e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.837e-05 2.837e-05 2.837e-05 0.01% Castro::initMFs() 1 2.503e-05 2.503e-05 2.503e-05 0.01% Castro::swap_state_time_levels() 5 2.442e-05 2.442e-05 2.442e-05 0.01% makeSFC 30 2.093e-05 2.093e-05 2.093e-05 0.01% DistributionMapping::Distribute() 31 8.441e-06 8.441e-06 8.441e-06 0.00% Amr::initSubcycle() 1 8.438e-06 8.438e-06 8.438e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.044e-06 5.044e-06 5.044e-06 0.00% Gravity::set_mass_offset() 6 2.769e-06 2.769e-06 2.769e-06 0.00% Castro::retry_advance_ctu() 5 1.945e-06 1.945e-06 1.945e-06 0.00% Castro::FluxRegCrseInit 5 1.379e-06 1.379e-06 1.379e-06 0.00% Castro::FluxRegFineAdd() 5 1.152e-06 1.152e-06 1.152e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.67e-07 9.67e-07 9.67e-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 184 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 137 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 50 MiB 55 MiB FillPatchIterator::Initialize 160 160 1004 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2716 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6363 KiB 14 MiB MLMG::prepareForSolve() 361 361 3182 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 186 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 187 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6358 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2069 B 2048 KiB Gravity::solve_for_phi() 40 40 585 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 15 KiB 2048 KiB BndryData::define() 576 576 292 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 187 KiB 671 KiB Castro::estTimeStep() 10 10 4489 B 480 KiB VisMF::Write(FabArray) 112 112 1240 B 320 KiB Castro::normalize_species() 30 30 7021 B 320 KiB amrex::average_down 469 469 1120 B 257 KiB MLMG::addInterpCorrection() 468 468 1038 B 257 KiB amrex::Dot() 592 592 3014 B 160 KiB FabArray::norminf() 398 398 2140 B 160 KiB check_for_negative_density() 5 5 284 B 160 KiB MultiFab::max() 6 6 50 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3095 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 3892 3892 204 B 9344 B amrex::Copy() 56 56 5635 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 105 B 1472 B MLCellLinOp::defineBC() 36 36 379 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1500 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 107 KiB 8192 KiB VisMF::Write(FabArray) 120 120 232 KiB 3584 KiB VisMF::Read() 24 24 184 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3095 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 1946 1946 203 B 9328 B amrex::Copy() 56 56 5635 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2515 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 491 B 1296 B amrex::average_down 37 37 212 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 398 398 15 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [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.07-13-gb41f85ab36ac) finalized