Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-7-g88f03408f18a) initialized Starting run at 08:09:07 UTC on 2023-07-05. Successfully read inputs file ... Castro git describe: 23.07-3-g8dc29e1af AMReX git describe: 23.07-7-g88f03408f Microphysics git describe: 23.07-11-g6678fe90 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.058144068 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033121968 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.048141108 [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.048176907 [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.069145407 [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.068485671 [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.058309999 [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.057100698 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.057653925 [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.062212631 [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.076626974 [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.070610573 [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.058264699 [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.057824078 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032901895 seconds Ending run at 08:09:07 UTC on 2023-07-05. Run time = 0.904929628 Run time without initialization = 0.766120861 Average number of zones advanced per microsecond: 3.422 Average number of zones advanced per microsecond per rank: 3.422 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.905 ... 0.905 ... 0.905 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2578 0.2578 0.2578 28.48% VisMF::Write(FabArray) 11 0.2322 0.2322 0.2322 25.66% MLCellLinOp::applyBC() 4433 0.07408 0.07408 0.07408 8.19% FillBoundary_nowait() 4023 0.03145 0.03145 0.03145 3.48% MLPoisson::Fsmooth() 3280 0.03107 0.03107 0.03107 3.43% StateData::FillBoundary(geom) 328 0.02372 0.02372 0.02372 2.62% amrex::Dot() 1114 0.01972 0.01972 0.01972 2.18% Castro::normalize_species() 62 0.01892 0.01892 0.01892 2.09% Castro::computeTemp() 63 0.01661 0.01661 0.01661 1.84% amrex::Copy() 1029 0.01444 0.01444 0.01444 1.60% FabArray::norminf() 743 0.01382 0.01382 0.01382 1.53% FabArray::ParallelCopy_nowait() 861 0.01299 0.01299 0.01299 1.44% FabArray::setVal() 1144 0.01267 0.01267 0.01267 1.40% Castro::enforce_min_density() 62 0.01224 0.01224 0.01224 1.35% StateDataPhysBCFunct::() 41 0.01181 0.01181 0.01181 1.30% MLPoisson::Fapply() 1142 0.009885 0.009885 0.009885 1.09% MLCellLinOp::defineAuxData() 11 0.009298 0.009298 0.009298 1.03% FabArray::Saxpy() 813 0.007868 0.007868 0.007868 0.87% FabArray::Xpay() 821 0.007775 0.007775 0.007775 0.86% MLMG::addInterpCorrection() 410 0.006514 0.006514 0.006514 0.72% Gravity::fill_multipole_BCs() 11 0.00632 0.00632 0.00632 0.70% Castro::estTimeStep() 21 0.006258 0.006258 0.006258 0.69% amrex::average_down 410 0.005834 0.005834 0.005834 0.64% Castro::reset_internal_energy(MultiFab) 63 0.005017 0.005017 0.005017 0.55% amrex::Add() 164 0.004332 0.004332 0.004332 0.48% FabArray::LinComb() 557 0.004302 0.004302 0.004302 0.48% Amr::checkPoint() 3 0.004007 0.004007 0.004007 0.44% BndryData::define() 11 0.003541 0.003541 0.003541 0.39% Castro::construct_new_gravity_source() 10 0.003172 0.003172 0.003172 0.35% Castro::construct_old_gravity_source() 10 0.00277 0.00277 0.00277 0.31% Amr::writePlotFile() 2 0.002364 0.002364 0.002364 0.26% Castro::enforce_speed_limit() 62 0.002243 0.002243 0.002243 0.25% MLCGSolver::bicgstab 82 0.002175 0.002175 0.002175 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001614 0.001614 0.001614 0.18% Gravity::actual_solve_with_mlmg() 11 0.001475 0.001475 0.001475 0.16% Castro::reset_internal_energy(Fab) 504 0.001471 0.001471 0.001471 0.16% check_for_negative_density() 10 0.001457 0.001457 0.001457 0.16% MLCellLinOp::setLevelBC() 11 0.001365 0.001365 0.001365 0.15% FabArray::mult() 43 0.001309 0.001309 0.001309 0.14% FabArray::setDomainBndry() 41 0.001283 0.001283 0.001283 0.14% Castro::initData() 1 0.001196 0.001196 0.001196 0.13% MultiFab::contains_nan() 20 0.001188 0.001188 0.001188 0.13% MLCellLinOp::prepareForSolve() 11 0.001098 0.001098 0.001098 0.12% MLCellLinOp::smooth() 1640 0.001089 0.001089 0.001089 0.12% MLCellLinOp::compGrad() 11 0.0009113 0.0009113 0.0009113 0.10% MLMG::prepareForSolve() 11 0.0008716 0.0008716 0.0008716 0.10% FabArray::FillBoundary() 4023 0.0007879 0.0007879 0.0007879 0.09% FabArrayBase::getCPC() 1323 0.0007181 0.0007181 0.0007181 0.08% FabArrayBase::CPC::define() 454 0.0006794 0.0006794 0.0006794 0.08% Gravity::get_new_grav_vector() 11 0.0006274 0.0006274 0.0006274 0.07% FabArrayBase::getFB() 4023 0.0005933 0.0005933 0.0005933 0.07% Gravity::get_old_grav_vector() 10 0.0005511 0.0005511 0.0005511 0.06% Amr::InitAmr() 1 0.0004921 0.0004921 0.0004921 0.05% MLCellLinOp::apply() 1142 0.0004389 0.0004389 0.0004389 0.05% MLLinOp::defineGrids() 11 0.0003749 0.0003749 0.0003749 0.04% MLMG::mgVcycle() 82 0.0003579 0.0003579 0.0003579 0.04% Amr::coarseTimeStep() 10 0.0003536 0.0003536 0.0003536 0.04% main() 1 0.000302 0.000302 0.000302 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002819 0.0002819 0.0002819 0.03% MultiFab::max() 11 0.0002694 0.0002694 0.0002694 0.03% FillPatchIterator::Initialize 41 0.0002638 0.0002638 0.0002638 0.03% FabArray::ParallelCopy() 861 0.0002386 0.0002386 0.0002386 0.03% MLCellLinOp::correctionResidual() 492 0.0002238 0.0002238 0.0002238 0.02% MLCellLinOp::defineBC() 11 0.000211 0.000211 0.000211 0.02% Castro::subcycle_advance_ctu() 10 0.0002057 0.0002057 0.0002057 0.02% Amr::timeStep() 10 0.000161 0.000161 0.000161 0.02% Castro::create_source_corrector() 10 0.000152 0.000152 0.000152 0.02% StateData::checkPoint() 12 0.0001408 0.0001408 0.0001408 0.02% Castro::advance() 10 0.0001361 0.0001361 0.0001361 0.02% Gravity::update_max_rhs() 11 0.0001311 0.0001311 0.0001311 0.01% MLMG:computeResOfCorrection() 410 0.0001143 0.0001143 0.0001143 0.01% Gravity::solve_for_phi() 10 0.0001109 0.0001109 0.0001109 0.01% FabArrayBase::FB::FB() 56 9.054e-05 9.054e-05 9.054e-05 0.01% Castro::do_old_sources() 10 9.007e-05 9.007e-05 9.007e-05 0.01% Castro::Castro() 1 8.813e-05 8.813e-05 8.813e-05 0.01% MLMG::actualBottomSolve() 82 8.784e-05 8.784e-05 8.784e-05 0.01% MLMG::mgVcycle_down::1 82 8.355e-05 8.355e-05 8.355e-05 0.01% MLMG::mgVcycle_down::2 82 8.352e-05 8.352e-05 8.352e-05 0.01% MLMG::mgVcycle_down::0 82 8.315e-05 8.315e-05 8.315e-05 0.01% AmrLevel::checkPoint() 3 7.918e-05 7.918e-05 7.918e-05 0.01% Castro::expand_state() 10 7.899e-05 7.899e-05 7.899e-05 0.01% MLMG::mgVcycle_down::3 82 7.859e-05 7.859e-05 7.859e-05 0.01% MLMG::mgVcycle_down::4 82 7.782e-05 7.782e-05 7.782e-05 0.01% Castro::initialize_advance() 10 7.425e-05 7.425e-05 7.425e-05 0.01% MLMG::solve() 11 7.206e-05 7.206e-05 7.206e-05 0.01% Castro::clean_state() 62 6.407e-05 6.407e-05 6.407e-05 0.01% Castro::finalize_advance() 10 6.324e-05 6.324e-05 6.324e-05 0.01% MLMG::mgVcycle_up::4 82 6.262e-05 6.262e-05 6.262e-05 0.01% Castro::initialize_do_advance() 10 5.98e-05 5.98e-05 5.98e-05 0.01% MLMG::oneIter() 82 5.301e-05 5.301e-05 5.301e-05 0.01% MLMG::mgVcycle_up::0 82 5.29e-05 5.29e-05 5.29e-05 0.01% MLMG::mgVcycle_up::3 82 5.253e-05 5.253e-05 5.253e-05 0.01% MLMG::mgVcycle_up::1 82 5.225e-05 5.225e-05 5.225e-05 0.01% Castro::do_new_sources() 10 5.17e-05 5.17e-05 5.17e-05 0.01% MLMG::mgVcycle_up::2 82 5.149e-05 5.149e-05 5.149e-05 0.01% MLCellLinOp::solutionResidual() 93 4.873e-05 4.873e-05 4.873e-05 0.01% StateData::define() 4 4.306e-05 4.306e-05 4.306e-05 0.00% Castro::finalize_do_advance() 10 4.151e-05 4.151e-05 4.151e-05 0.00% Castro::do_advance_ctu() 10 3.93e-05 3.93e-05 3.93e-05 0.00% Castro::post_timestep() 10 3.807e-05 3.807e-05 3.807e-05 0.00% Castro::swap_state_time_levels() 10 3.779e-05 3.779e-05 3.779e-05 0.00% MLMG::ResNormInf() 93 3.594e-05 3.594e-05 3.594e-05 0.00% Castro::enforce_consistent_e() 1 3.368e-05 3.368e-05 3.368e-05 0.00% MLMG::mgVcycle_bottom 82 3.228e-05 3.228e-05 3.228e-05 0.00% MLMG::computeResidual() 82 3.183e-05 3.183e-05 3.183e-05 0.00% FillPatchSingleLevel 41 2.932e-05 2.932e-05 2.932e-05 0.00% Amr::writeSmallPlotFile() 1 2.734e-05 2.734e-05 2.734e-05 0.00% MLPoisson::define() 11 2.673e-05 2.673e-05 2.673e-05 0.00% Castro::initMFs() 1 2.655e-05 2.655e-05 2.655e-05 0.00% Castro::construct_new_gravity() 10 2.568e-05 2.568e-05 2.568e-05 0.00% makeSFC 55 2.282e-05 2.282e-05 2.282e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.231e-05 2.231e-05 2.231e-05 0.00% Amr::defBaseLevel() 1 2.073e-05 2.073e-05 2.073e-05 0.00% Amr::FinalizeInit() 1 2.025e-05 2.025e-05 2.025e-05 0.00% Castro::buildMetrics() 1 1.928e-05 1.928e-05 1.928e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.746e-05 1.746e-05 1.746e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.731e-05 1.731e-05 1.731e-05 0.00% Castro::construct_old_source() 50 1.697e-05 1.697e-05 1.697e-05 0.00% MLLinOp::define() 11 1.663e-05 1.663e-05 1.663e-05 0.00% Castro::construct_new_source() 50 1.63e-05 1.63e-05 1.63e-05 0.00% DistributionMapping::Distribute() 56 1.41e-05 1.41e-05 1.41e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.318e-05 1.318e-05 1.318e-05 0.00% Castro::check_for_nan() 20 1.09e-05 1.09e-05 1.09e-05 0.00% Castro::apply_source_to_state() 20 1.08e-05 1.08e-05 1.08e-05 0.00% Castro::construct_old_gravity() 10 1.07e-05 1.07e-05 1.07e-05 0.00% Amr::initSubcycle() 1 9.495e-06 9.495e-06 9.495e-06 0.00% Gravity::swapTimeLevels() 10 8.982e-06 8.982e-06 8.982e-06 0.00% MLPoisson::prepareForSolve() 11 8.482e-06 8.482e-06 8.482e-06 0.00% Gravity::actual_multilevel_solve() 1 7.891e-06 7.891e-06 7.891e-06 0.00% MLMG::computeMLResidual() 11 7.462e-06 7.462e-06 7.462e-06 0.00% Castro::computeNewDt() 9 6.085e-06 6.085e-06 6.085e-06 0.00% MLMG::getGradSolution() 11 5.285e-06 5.285e-06 5.285e-06 0.00% AmrLevel::checkPointPost() 3 5.067e-06 5.067e-06 5.067e-06 0.00% Amr::InitializeInit() 1 4.918e-06 4.918e-06 4.918e-06 0.00% MLMG::MLRhsNormInf() 11 3.656e-06 3.656e-06 3.656e-06 0.00% Castro::retry_advance_ctu() 10 3.492e-06 3.492e-06 3.492e-06 0.00% MLMG::MLResNormInf() 11 3.357e-06 3.357e-06 3.357e-06 0.00% Gravity::set_mass_offset() 11 3.345e-06 3.345e-06 3.345e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.317e-06 3.317e-06 3.317e-06 0.00% Castro::post_init() 1 3.3e-06 3.3e-06 3.3e-06 0.00% Castro::FluxRegCrseInit 10 2.826e-06 2.826e-06 2.826e-06 0.00% Amr::init() 1 2.425e-06 2.425e-06 2.425e-06 0.00% Castro::computeInitialDt() 2 2.342e-06 2.342e-06 2.342e-06 0.00% AmrLevel::checkPointPre() 3 1.899e-06 1.899e-06 1.899e-06 0.00% Castro::FluxRegFineAdd() 10 1.802e-06 1.802e-06 1.802e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.784e-06 1.784e-06 1.784e-06 0.00% Amr::initialInit() 1 1.011e-06 1.011e-06 1.011e-06 0.00% Castro::post_regrid() 1 9.26e-07 9.26e-07 9.26e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9049 0.9049 0.9049 100.00% Amr::coarseTimeStep() 10 0.733 0.733 0.733 80.99% Amr::timeStep() 10 0.6138 0.6138 0.6138 67.83% Castro::advance() 10 0.6045 0.6045 0.6045 66.80% Castro::subcycle_advance_ctu() 10 0.5905 0.5905 0.5905 65.26% Castro::do_advance_ctu() 10 0.5903 0.5903 0.5903 65.23% Gravity::solve_phi_with_mlmg() 11 0.2746 0.2746 0.2746 30.35% Gravity::actual_solve_with_mlmg() 11 0.2679 0.2679 0.2679 29.60% Castro::construct_ctu_hydro_source() 10 0.2677 0.2677 0.2677 29.58% Castro::construct_new_gravity() 10 0.2506 0.2506 0.2506 27.69% MLMG::solve() 11 0.2479 0.2479 0.2479 27.39% Gravity::solve_for_phi() 10 0.2355 0.2355 0.2355 26.03% MLMG::oneIter() 82 0.234 0.234 0.234 25.86% VisMF::Write(FabArray) 11 0.2322 0.2322 0.2322 25.66% MLMG::mgVcycle() 82 0.2304 0.2304 0.2304 25.46% Amr::checkPoint() 3 0.1732 0.1732 0.1732 19.14% AmrLevel::checkPoint() 3 0.1692 0.1692 0.1692 18.69% StateData::checkPoint() 12 0.1691 0.1691 0.1691 18.69% Amr::init() 1 0.1382 0.1382 0.1382 15.27% MLCellLinOp::smooth() 1640 0.114 0.114 0.114 12.60% MLCellLinOp::applyBC() 4433 0.107 0.107 0.107 11.82% MLMG::mgVcycle_bottom 82 0.07057 0.07057 0.07057 7.80% MLMG::actualBottomSolve() 82 0.07054 0.07054 0.07054 7.79% MLCGSolver::bicgstab 82 0.06986 0.06986 0.06986 7.72% Amr::writePlotFile() 2 0.06618 0.06618 0.06618 7.31% Castro::clean_state() 62 0.05586 0.05586 0.05586 6.17% Amr::initialInit() 1 0.04677 0.04677 0.04677 5.17% Amr::FinalizeInit() 1 0.04269 0.04269 0.04269 4.72% Castro::post_init() 1 0.0414 0.0414 0.0414 4.58% FillPatchIterator::Initialize 41 0.04115 0.04115 0.04115 4.55% FillPatchSingleLevel 41 0.03961 0.03961 0.03961 4.38% Gravity::multilevel_solve_for_new_phi() 1 0.03953 0.03953 0.03953 4.37% Gravity::actual_multilevel_solve() 1 0.03951 0.03951 0.03951 4.37% StateDataPhysBCFunct::() 41 0.03553 0.03553 0.03553 3.93% MLCellLinOp::apply() 1142 0.03498 0.03498 0.03498 3.87% MLMG::mgVcycle_down::0 82 0.03365 0.03365 0.03365 3.72% FabArray::FillBoundary() 4023 0.03293 0.03293 0.03293 3.64% FillBoundary_nowait() 4023 0.03214 0.03214 0.03214 3.55% MLPoisson::Fsmooth() 3280 0.03107 0.03107 0.03107 3.43% MLMG::mgVcycle_up::0 82 0.02537 0.02537 0.02537 2.80% StateData::FillBoundary(geom) 328 0.02372 0.02372 0.02372 2.62% Castro::computeTemp() 63 0.0231 0.0231 0.0231 2.55% MLCellLinOp::correctionResidual() 492 0.02151 0.02151 0.02151 2.38% Castro::initialize_do_advance() 10 0.02143 0.02143 0.02143 2.37% amrex::Dot() 1114 0.01972 0.01972 0.01972 2.18% MLMG:computeResOfCorrection() 410 0.01897 0.01897 0.01897 2.10% Castro::normalize_species() 62 0.01892 0.01892 0.01892 2.09% Castro::do_old_sources() 10 0.01889 0.01889 0.01889 2.09% Gravity::get_new_grav_vector() 11 0.01662 0.01662 0.01662 1.84% MLPoisson::define() 11 0.01574 0.01574 0.01574 1.74% MLMG::mgVcycle_down::1 82 0.01529 0.01529 0.01529 1.69% Castro::construct_old_gravity() 10 0.01452 0.01452 0.01452 1.60% Gravity::get_old_grav_vector() 10 0.01451 0.01451 0.01451 1.60% amrex::Copy() 1029 0.01444 0.01444 0.01444 1.60% MLMG::mgVcycle_down::2 82 0.01421 0.01421 0.01421 1.57% FabArray::ParallelCopy() 861 0.01402 0.01402 0.01402 1.55% Castro::do_new_sources() 10 0.01391 0.01391 0.01391 1.54% MLMG::mgVcycle_down::3 82 0.01384 0.01384 0.01384 1.53% FabArray::norminf() 743 0.01382 0.01382 0.01382 1.53% FabArray::ParallelCopy_nowait() 861 0.01378 0.01378 0.01378 1.52% MLMG::mgVcycle_down::4 82 0.01359 0.01359 0.01359 1.50% Castro::initialize_advance() 10 0.01326 0.01326 0.01326 1.47% FabArray::setVal() 1144 0.01267 0.01267 0.01267 1.40% Castro::enforce_min_density() 62 0.01224 0.01224 0.01224 1.35% MLCGSolver::ParallelAllReduce 1514 0.01183 0.01183 0.01183 1.31% Castro::expand_state() 10 0.01155 0.01155 0.01155 1.28% MLMG::addInterpCorrection() 410 0.01149 0.01149 0.01149 1.27% MLMG::mgVcycle_up::1 82 0.01109 0.01109 0.01109 1.23% MLMG::mgVcycle_up::4 82 0.01098 0.01098 0.01098 1.21% amrex::average_down 410 0.01083 0.01083 0.01083 1.20% MLMG::mgVcycle_up::2 82 0.01081 0.01081 0.01081 1.19% MLMG::mgVcycle_up::3 82 0.01062 0.01062 0.01062 1.17% MLCellLinOp::defineAuxData() 11 0.01058 0.01058 0.01058 1.17% MLPoisson::Fapply() 1142 0.009885 0.009885 0.009885 1.09% Castro::post_timestep() 10 0.009151 0.009151 0.009151 1.01% FabArray::Saxpy() 813 0.007868 0.007868 0.007868 0.87% FabArray::Xpay() 821 0.007775 0.007775 0.007775 0.86% MLCellLinOp::solutionResidual() 93 0.006932 0.006932 0.006932 0.77% Gravity::fill_multipole_BCs() 11 0.006551 0.006551 0.006551 0.72% Castro::reset_internal_energy(MultiFab) 63 0.006488 0.006488 0.006488 0.72% Castro::estTimeStep() 21 0.006258 0.006258 0.006258 0.69% MLMG::computeResidual() 82 0.005974 0.005974 0.005974 0.66% MLCellLinOp::defineBC() 11 0.004687 0.004687 0.004687 0.52% MLMG::prepareForSolve() 11 0.004536 0.004536 0.004536 0.50% BndryData::define() 11 0.004476 0.004476 0.004476 0.49% amrex::Add() 164 0.004332 0.004332 0.004332 0.48% FabArray::LinComb() 557 0.004302 0.004302 0.004302 0.48% Amr::InitializeInit() 1 0.004087 0.004087 0.004087 0.45% Amr::defBaseLevel() 1 0.004082 0.004082 0.004082 0.45% Castro::initData() 1 0.003563 0.003563 0.003563 0.39% Castro::construct_new_source() 50 0.003188 0.003188 0.003188 0.35% Castro::construct_new_gravity_source() 10 0.003172 0.003172 0.003172 0.35% Castro::computeNewDt() 9 0.003089 0.003089 0.003089 0.34% Castro::construct_old_source() 50 0.002787 0.002787 0.002787 0.31% Castro::construct_old_gravity_source() 10 0.00277 0.00277 0.00277 0.31% Castro::finalize_do_advance() 10 0.002357 0.002357 0.002357 0.26% Castro::enforce_speed_limit() 62 0.002243 0.002243 0.002243 0.25% MLMG::ResNormInf() 93 0.002091 0.002091 0.002091 0.23% Castro::apply_source_to_state() 20 0.001823 0.001823 0.001823 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001614 0.001614 0.001614 0.18% Castro::reset_internal_energy(Fab) 504 0.001471 0.001471 0.001471 0.16% check_for_negative_density() 10 0.001457 0.001457 0.001457 0.16% FabArrayBase::getCPC() 1323 0.001398 0.001398 0.001398 0.15% MLMG::getGradSolution() 11 0.001385 0.001385 0.001385 0.15% MLCellLinOp::compGrad() 11 0.00138 0.00138 0.00138 0.15% MLCellLinOp::setLevelBC() 11 0.001365 0.001365 0.001365 0.15% FabArray::mult() 43 0.001309 0.001309 0.001309 0.14% FabArray::setDomainBndry() 41 0.001283 0.001283 0.001283 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% MLPoisson::prepareForSolve() 11 0.001107 0.001107 0.001107 0.12% Castro::post_regrid() 1 0.001103 0.001103 0.001103 0.12% MLCellLinOp::prepareForSolve() 11 0.001098 0.001098 0.001098 0.12% MLMG::computeMLResidual() 11 0.0009971 0.0009971 0.0009971 0.11% Castro::computeInitialDt() 2 0.0008615 0.0008615 0.0008615 0.10% Gravity::update_max_rhs() 11 0.0008347 0.0008347 0.0008347 0.09% FabArrayBase::getFB() 4023 0.0006838 0.0006838 0.0006838 0.08% FabArrayBase::CPC::define() 454 0.0006794 0.0006794 0.0006794 0.08% Castro::finalize_advance() 10 0.0005685 0.0005685 0.0005685 0.06% Amr::InitAmr() 1 0.0005016 0.0005016 0.0005016 0.06% MLLinOp::define() 11 0.000442 0.000442 0.000442 0.05% Castro::Castro() 1 0.0004323 0.0004323 0.0004323 0.05% Gravity::swapTimeLevels() 10 0.0004285 0.0004285 0.0004285 0.05% MLLinOp::defineGrids() 11 0.0004254 0.0004254 0.0004254 0.05% MLMG::MLResNormInf() 11 0.0002777 0.0002777 0.0002777 0.03% MultiFab::max() 11 0.0002694 0.0002694 0.0002694 0.03% MLMG::MLRhsNormInf() 11 0.0002137 0.0002137 0.0002137 0.02% Castro::buildMetrics() 1 0.0001574 0.0001574 0.0001574 0.02% Castro::create_source_corrector() 10 0.000152 0.000152 0.000152 0.02% FabArrayBase::FB::FB() 56 9.054e-05 9.054e-05 9.054e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.052e-05 6.052e-05 6.052e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 4.87e-05 4.87e-05 4.87e-05 0.01% StateData::define() 4 4.306e-05 4.306e-05 4.306e-05 0.00% Castro::swap_state_time_levels() 10 3.779e-05 3.779e-05 3.779e-05 0.00% makeSFC 55 3.552e-05 3.552e-05 3.552e-05 0.00% Castro::enforce_consistent_e() 1 3.368e-05 3.368e-05 3.368e-05 0.00% Amr::writeSmallPlotFile() 1 2.734e-05 2.734e-05 2.734e-05 0.00% Castro::initMFs() 1 2.655e-05 2.655e-05 2.655e-05 0.00% DistributionMapping::Distribute() 56 1.41e-05 1.41e-05 1.41e-05 0.00% Amr::initSubcycle() 1 9.495e-06 9.495e-06 9.495e-06 0.00% AmrLevel::checkPointPost() 3 5.067e-06 5.067e-06 5.067e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.713e-06 4.713e-06 4.713e-06 0.00% Castro::retry_advance_ctu() 10 3.492e-06 3.492e-06 3.492e-06 0.00% Gravity::set_mass_offset() 11 3.345e-06 3.345e-06 3.345e-06 0.00% Castro::FluxRegCrseInit 10 2.826e-06 2.826e-06 2.826e-06 0.00% AmrLevel::checkPointPre() 3 1.899e-06 1.899e-06 1.899e-06 0.00% Castro::FluxRegFineAdd() 10 1.802e-06 1.802e-06 1.802e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.784e-06 1.784e-06 1.784e-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 87 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 985 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2055 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3371 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 190 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 164 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1758 B 2048 KiB Gravity::solve_for_phi() 80 80 532 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 307 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 195 KiB 671 KiB Castro::estTimeStep() 21 21 3376 B 480 KiB VisMF::Write(FabArray) 656 656 3266 B 320 KiB Castro::normalize_species() 62 62 6811 B 320 KiB amrex::average_down 1067 1067 1205 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1093 B 257 KiB amrex::Dot() 1360 1360 3210 B 160 KiB FabArray::norminf() 907 907 2258 B 160 KiB check_for_negative_density() 10 10 256 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3296 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 8866 8866 212 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3848 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 112 B 1472 B MLCellLinOp::defineBC() 66 66 400 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 576 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 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 3296 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 4433 4433 211 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3848 B 6144 B Gravity::get_new_grav_vector() 3 3 2914 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 2880 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 280 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-7-g88f03408f18a) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-7-g88f03408f18a) initialized Starting run at 08:09:08 UTC on 2023-07-05. Successfully read inputs file ... Castro git describe: 23.07-3-g8dc29e1af AMReX git describe: 23.07-7-g88f03408f Microphysics git describe: 23.07-11-g6678fe90 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.488191037 Restart time = 0.044991625 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.048266281 [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.049093662 [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.070343928 [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.074352975 [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.069291457 [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.032672632 seconds Ending run at 08:09:09 UTC on 2023-07-05. Run time = 0.390045688 Run time without initialization = 0.344464993 Average number of zones advanced per microsecond: 3.805 Average number of zones advanced per microsecond per rank: 3.805 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3901 ... 0.3901 ... 0.3901 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1284 0.1284 0.1284 32.91% VisMF::Read() 3 0.03877 0.03877 0.03877 9.94% MLCellLinOp::applyBC() 1946 0.03232 0.03232 0.03232 8.29% VisMF::Write(FabArray) 1 0.03112 0.03112 0.03112 7.98% MLPoisson::Fsmooth() 1440 0.01357 0.01357 0.01357 3.48% FillBoundary_nowait() 1766 0.0128 0.0128 0.0128 3.28% StateData::FillBoundary(geom) 160 0.01162 0.01162 0.01162 2.98% Castro::normalize_species() 30 0.0096 0.0096 0.0096 2.46% amrex::Dot() 484 0.008489 0.008489 0.008489 2.18% Castro::computeTemp() 30 0.007014 0.007014 0.007014 1.80% amrex::Copy() 463 0.006831 0.006831 0.006831 1.75% FabArray::setVal() 537 0.006087 0.006087 0.006087 1.56% FabArray::norminf() 326 0.006023 0.006023 0.006023 1.54% FabArray::ParallelCopy_nowait() 380 0.005877 0.005877 0.005877 1.51% Castro::enforce_min_density() 30 0.005607 0.005607 0.005607 1.44% StateDataPhysBCFunct::() 20 0.005488 0.005488 0.005488 1.41% MLCellLinOp::defineAuxData() 6 0.005011 0.005011 0.005011 1.28% MLPoisson::Fapply() 500 0.004304 0.004304 0.004304 1.10% FabArray::Saxpy() 355 0.003511 0.003511 0.003511 0.90% Gravity::fill_multipole_BCs() 6 0.003439 0.003439 0.003439 0.88% FabArray::Xpay() 361 0.003404 0.003404 0.003404 0.87% Castro::estTimeStep() 10 0.003284 0.003284 0.003284 0.84% MLMG::addInterpCorrection() 180 0.002813 0.002813 0.002813 0.72% amrex::average_down 180 0.002522 0.002522 0.002522 0.65% Amr::restart() 1 0.002502 0.002502 0.002502 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002143 0.002143 0.002143 0.55% BndryData::define() 6 0.001938 0.001938 0.001938 0.50% FabArray::LinComb() 242 0.001868 0.001868 0.001868 0.48% amrex::Add() 72 0.001845 0.001845 0.001845 0.47% Castro::construct_new_gravity_source() 5 0.001558 0.001558 0.001558 0.40% Castro::construct_old_gravity_source() 5 0.001421 0.001421 0.001421 0.36% Amr::writePlotFile() 1 0.001404 0.001404 0.001404 0.36% Castro::enforce_speed_limit() 30 0.001153 0.001153 0.001153 0.30% MLCGSolver::bicgstab 36 0.0009479 0.0009479 0.0009479 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008612 0.0008612 0.0008612 0.22% Castro::reset_internal_energy(Fab) 240 0.0008557 0.0008557 0.0008557 0.22% Castro::initialize_do_advance() 5 0.000849 0.000849 0.000849 0.22% Gravity::actual_solve_with_mlmg() 6 0.00077 0.00077 0.00077 0.20% check_for_negative_density() 5 0.0007404 0.0007404 0.0007404 0.19% MLCellLinOp::setLevelBC() 6 0.0007274 0.0007274 0.0007274 0.19% Castro::subcycle_advance_ctu() 5 0.0006882 0.0006882 0.0006882 0.18% FabArray::mult() 22 0.0006399 0.0006399 0.0006399 0.16% FabArray::setDomainBndry() 20 0.0006255 0.0006255 0.0006255 0.16% MultiFab::contains_nan() 10 0.0005991 0.0005991 0.0005991 0.15% MLCellLinOp::prepareForSolve() 6 0.000588 0.000588 0.000588 0.15% MLCellLinOp::smooth() 720 0.0004863 0.0004863 0.0004863 0.12% MLCellLinOp::compGrad() 6 0.0004795 0.0004795 0.0004795 0.12% MLMG::prepareForSolve() 6 0.00046 0.00046 0.00046 0.12% FabArrayBase::CPC::define() 244 0.0004159 0.0004159 0.0004159 0.11% Amr::InitAmr() 1 0.0004038 0.0004038 0.0004038 0.10% FabArrayBase::getCPC() 632 0.000354 0.000354 0.000354 0.09% FabArray::FillBoundary() 1766 0.0003479 0.0003479 0.0003479 0.09% Gravity::get_old_grav_vector() 5 0.0003159 0.0003159 0.0003159 0.08% main() 1 0.0002844 0.0002844 0.0002844 0.07% Gravity::get_new_grav_vector() 5 0.00027 0.00027 0.00027 0.07% FabArrayBase::getFB() 1766 0.0002449 0.0002449 0.0002449 0.06% MLCellLinOp::apply() 500 0.0001911 0.0001911 0.0001911 0.05% MLLinOp::defineGrids() 6 0.0001825 0.0001825 0.0001825 0.05% Amr::coarseTimeStep() 5 0.0001822 0.0001822 0.0001822 0.05% MLMG::mgVcycle() 36 0.0001538 0.0001538 0.0001538 0.04% MultiFab::max() 6 0.0001342 0.0001342 0.0001342 0.03% MLCGSolver::ParallelAllReduce 659 0.0001259 0.0001259 0.0001259 0.03% FillPatchIterator::Initialize 20 0.0001154 0.0001154 0.0001154 0.03% MLCellLinOp::defineBC() 6 0.000112 0.000112 0.000112 0.03% Castro::construct_new_source() 25 0.0001074 0.0001074 0.0001074 0.03% FabArray::ParallelCopy() 380 0.0001043 0.0001043 0.0001043 0.03% MLCellLinOp::correctionResidual() 216 9.564e-05 9.564e-05 9.564e-05 0.02% Castro::do_old_sources() 5 9.443e-05 9.443e-05 9.443e-05 0.02% Castro::create_source_corrector() 5 9.128e-05 9.128e-05 9.128e-05 0.02% Castro::finalize_do_advance() 5 8.919e-05 8.919e-05 8.919e-05 0.02% Castro::do_new_sources() 5 8.418e-05 8.418e-05 8.418e-05 0.02% AmrLevel::restart() 1 8.043e-05 8.043e-05 8.043e-05 0.02% Amr::timeStep() 5 7.969e-05 7.969e-05 7.969e-05 0.02% StateData::restartDoit() 4 6.829e-05 6.829e-05 6.829e-05 0.02% Gravity::update_max_rhs() 6 6.557e-05 6.557e-05 6.557e-05 0.02% Castro::post_timestep() 5 6.192e-05 6.192e-05 6.192e-05 0.02% FabArrayBase::FB::FB() 26 6.044e-05 6.044e-05 6.044e-05 0.02% Castro::advance() 5 5.817e-05 5.817e-05 5.817e-05 0.01% Gravity::solve_for_phi() 5 5.098e-05 5.098e-05 5.098e-05 0.01% MLMG:computeResOfCorrection() 180 5.057e-05 5.057e-05 5.057e-05 0.01% MLMG::actualBottomSolve() 36 4.059e-05 4.059e-05 4.059e-05 0.01% Castro::expand_state() 5 4.044e-05 4.044e-05 4.044e-05 0.01% MLMG::mgVcycle_down::0 36 3.901e-05 3.901e-05 3.901e-05 0.01% MLMG::mgVcycle_down::1 36 3.738e-05 3.738e-05 3.738e-05 0.01% MLMG::mgVcycle_down::2 36 3.695e-05 3.695e-05 3.695e-05 0.01% MLMG::mgVcycle_down::4 36 3.666e-05 3.666e-05 3.666e-05 0.01% MLMG::mgVcycle_down::3 36 3.524e-05 3.524e-05 3.524e-05 0.01% MLMG::solve() 6 3.363e-05 3.363e-05 3.363e-05 0.01% Castro::initialize_advance() 5 3.352e-05 3.352e-05 3.352e-05 0.01% Castro::construct_old_source() 25 3.279e-05 3.279e-05 3.279e-05 0.01% Castro::clean_state() 30 3.223e-05 3.223e-05 3.223e-05 0.01% MLMG::mgVcycle_up::4 36 2.938e-05 2.938e-05 2.938e-05 0.01% Castro::finalize_advance() 5 2.852e-05 2.852e-05 2.852e-05 0.01% Amr::writeSmallPlotFile() 1 2.797e-05 2.797e-05 2.797e-05 0.01% Castro::buildMetrics() 1 2.686e-05 2.686e-05 2.686e-05 0.01% Castro::initMFs() 1 2.68e-05 2.68e-05 2.68e-05 0.01% Castro::swap_state_time_levels() 5 2.447e-05 2.447e-05 2.447e-05 0.01% MLMG::oneIter() 36 2.4e-05 2.4e-05 2.4e-05 0.01% MLMG::mgVcycle_up::0 36 2.295e-05 2.295e-05 2.295e-05 0.01% MLMG::mgVcycle_up::3 36 2.275e-05 2.275e-05 2.275e-05 0.01% MLMG::mgVcycle_up::2 36 2.239e-05 2.239e-05 2.239e-05 0.01% MLCellLinOp::solutionResidual() 42 2.223e-05 2.223e-05 2.223e-05 0.01% MLMG::mgVcycle_up::1 36 2.217e-05 2.217e-05 2.217e-05 0.01% MLPoisson::define() 6 2.065e-05 2.065e-05 2.065e-05 0.01% Castro::post_restart() 1 2.051e-05 2.051e-05 2.051e-05 0.01% Castro::do_advance_ctu() 5 1.915e-05 1.915e-05 1.915e-05 0.00% MLMG::ResNormInf() 42 1.873e-05 1.873e-05 1.873e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.549e-05 1.549e-05 1.549e-05 0.00% Castro::construct_new_gravity() 5 1.504e-05 1.504e-05 1.504e-05 0.00% FillPatchSingleLevel 20 1.396e-05 1.396e-05 1.396e-05 0.00% MLMG::mgVcycle_bottom 36 1.358e-05 1.358e-05 1.358e-05 0.00% MLMG::computeResidual() 36 1.352e-05 1.352e-05 1.352e-05 0.00% makeSFC 30 1.221e-05 1.221e-05 1.221e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.16e-05 1.16e-05 1.16e-05 0.00% MLLinOp::define() 6 1.118e-05 1.118e-05 1.118e-05 0.00% Amr::initSubcycle() 1 9.108e-06 9.108e-06 9.108e-06 0.00% Gravity::actual_multilevel_solve() 1 8.196e-06 8.196e-06 8.196e-06 0.00% DistributionMapping::Distribute() 31 8.095e-06 8.095e-06 8.095e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.276e-06 7.276e-06 7.276e-06 0.00% Castro::construct_old_gravity() 5 6.323e-06 6.323e-06 6.323e-06 0.00% Castro::check_for_nan() 10 6.312e-06 6.312e-06 6.312e-06 0.00% Castro::apply_source_to_state() 10 5.453e-06 5.453e-06 5.453e-06 0.00% MLPoisson::prepareForSolve() 6 4.817e-06 4.817e-06 4.817e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.778e-06 3.778e-06 3.778e-06 0.00% Gravity::swapTimeLevels() 5 3.734e-06 3.734e-06 3.734e-06 0.00% MLMG::computeMLResidual() 6 3.696e-06 3.696e-06 3.696e-06 0.00% Castro::computeNewDt() 5 3.261e-06 3.261e-06 3.261e-06 0.00% MLMG::getGradSolution() 6 3.019e-06 3.019e-06 3.019e-06 0.00% Castro::retry_advance_ctu() 5 2.722e-06 2.722e-06 2.722e-06 0.00% MLMG::MLResNormInf() 6 2.098e-06 2.098e-06 2.098e-06 0.00% MLMG::MLRhsNormInf() 6 2.022e-06 2.022e-06 2.022e-06 0.00% Castro::FluxRegCrseInit 5 1.96e-06 1.96e-06 1.96e-06 0.00% Gravity::set_mass_offset() 6 1.835e-06 1.835e-06 1.835e-06 0.00% Castro::FluxRegFineAdd() 5 1.559e-06 1.559e-06 1.559e-06 0.00% Amr::init() 1 1.161e-06 1.161e-06 1.161e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.032e-06 1.032e-06 1.032e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3901 0.3901 0.3901 100.00% Amr::coarseTimeStep() 5 0.3115 0.3115 0.3115 79.86% Amr::timeStep() 5 0.3096 0.3096 0.3096 79.37% Castro::advance() 5 0.305 0.305 0.305 78.20% Castro::subcycle_advance_ctu() 5 0.2974 0.2974 0.2974 76.24% Castro::do_advance_ctu() 5 0.2967 0.2967 0.2967 76.06% Castro::construct_ctu_hydro_source() 5 0.1331 0.1331 0.1331 34.13% Castro::construct_new_gravity() 5 0.1264 0.1264 0.1264 32.40% Gravity::solve_phi_with_mlmg() 6 0.1219 0.1219 0.1219 31.25% Gravity::solve_for_phi() 5 0.1189 0.1189 0.1189 30.47% Gravity::actual_solve_with_mlmg() 6 0.1182 0.1182 0.1182 30.31% MLMG::solve() 6 0.1074 0.1074 0.1074 27.54% MLMG::oneIter() 36 0.1007 0.1007 0.1007 25.83% MLMG::mgVcycle() 36 0.09919 0.09919 0.09919 25.43% MLCellLinOp::smooth() 720 0.04884 0.04884 0.04884 12.52% MLCellLinOp::applyBC() 1946 0.04577 0.04577 0.04577 11.73% Amr::init() 1 0.04503 0.04503 0.04503 11.54% Amr::restart() 1 0.04503 0.04503 0.04503 11.54% AmrLevel::restart() 1 0.03898 0.03898 0.03898 9.99% StateData::restartDoit() 4 0.0389 0.0389 0.0389 9.97% VisMF::Read() 3 0.03877 0.03877 0.03877 9.94% Amr::writePlotFile() 1 0.03277 0.03277 0.03277 8.40% VisMF::Write(FabArray) 1 0.03112 0.03112 0.03112 7.98% MLMG::mgVcycle_bottom 36 0.03054 0.03054 0.03054 7.83% MLMG::actualBottomSolve() 36 0.03053 0.03053 0.03053 7.83% MLCGSolver::bicgstab 36 0.03023 0.03023 0.03023 7.75% Castro::clean_state() 30 0.02641 0.02641 0.02641 6.77% FillPatchIterator::Initialize 20 0.01986 0.01986 0.01986 5.09% FillPatchSingleLevel 20 0.01912 0.01912 0.01912 4.90% StateDataPhysBCFunct::() 20 0.0171 0.0171 0.0171 4.38% MLCellLinOp::apply() 500 0.01523 0.01523 0.01523 3.90% MLMG::mgVcycle_down::0 36 0.01416 0.01416 0.01416 3.63% MLPoisson::Fsmooth() 1440 0.01357 0.01357 0.01357 3.48% FabArray::FillBoundary() 1766 0.01345 0.01345 0.01345 3.45% FillBoundary_nowait() 1766 0.0131 0.0131 0.0131 3.36% StateData::FillBoundary(geom) 160 0.01162 0.01162 0.01162 2.98% Castro::initialize_do_advance() 5 0.01162 0.01162 0.01162 2.98% MLMG::mgVcycle_up::0 36 0.01069 0.01069 0.01069 2.74% Castro::computeTemp() 30 0.01001 0.01001 0.01001 2.57% Castro::normalize_species() 30 0.0096 0.0096 0.0096 2.46% Castro::do_old_sources() 5 0.009294 0.009294 0.009294 2.38% MLCellLinOp::correctionResidual() 216 0.009269 0.009269 0.009269 2.38% MLPoisson::define() 6 0.008547 0.008547 0.008547 2.19% amrex::Dot() 484 0.008489 0.008489 0.008489 2.18% MLMG:computeResOfCorrection() 180 0.008156 0.008156 0.008156 2.09% Gravity::get_new_grav_vector() 5 0.0074 0.0074 0.0074 1.90% Castro::construct_old_gravity() 5 0.007354 0.007354 0.007354 1.89% Gravity::get_old_grav_vector() 5 0.007348 0.007348 0.007348 1.88% Castro::initialize_advance() 5 0.00727 0.00727 0.00727 1.86% amrex::Copy() 463 0.006831 0.006831 0.006831 1.75% Castro::do_new_sources() 5 0.006795 0.006795 0.006795 1.74% MLMG::mgVcycle_down::1 36 0.006619 0.006619 0.006619 1.70% FabArray::ParallelCopy() 380 0.006368 0.006368 0.006368 1.63% FabArray::ParallelCopy_nowait() 380 0.006264 0.006264 0.006264 1.61% MLMG::mgVcycle_down::2 36 0.006159 0.006159 0.006159 1.58% FabArray::setVal() 537 0.006087 0.006087 0.006087 1.56% FabArray::norminf() 326 0.006023 0.006023 0.006023 1.54% MLMG::mgVcycle_down::3 36 0.006012 0.006012 0.006012 1.54% MLMG::mgVcycle_down::4 36 0.005936 0.005936 0.005936 1.52% Castro::expand_state() 5 0.005725 0.005725 0.005725 1.47% MLCellLinOp::defineAuxData() 6 0.005717 0.005717 0.005717 1.47% Castro::enforce_min_density() 30 0.005607 0.005607 0.005607 1.44% MLCGSolver::ParallelAllReduce 659 0.00512 0.00512 0.00512 1.31% MLMG::addInterpCorrection() 180 0.004989 0.004989 0.004989 1.28% MLMG::mgVcycle_up::1 36 0.004826 0.004826 0.004826 1.24% MLMG::mgVcycle_up::4 36 0.004768 0.004768 0.004768 1.22% amrex::average_down 180 0.004709 0.004709 0.004709 1.21% MLMG::mgVcycle_up::2 36 0.004704 0.004704 0.004704 1.21% MLMG::mgVcycle_up::3 36 0.004615 0.004615 0.004615 1.18% Castro::post_timestep() 5 0.00452 0.00452 0.00452 1.16% MLPoisson::Fapply() 500 0.004304 0.004304 0.004304 1.10% Gravity::fill_multipole_BCs() 6 0.003571 0.003571 0.003571 0.92% FabArray::Saxpy() 355 0.003511 0.003511 0.003511 0.90% FabArray::Xpay() 361 0.003404 0.003404 0.003404 0.87% Castro::post_restart() 1 0.003376 0.003376 0.003376 0.87% Castro::estTimeStep() 10 0.003284 0.003284 0.003284 0.84% Gravity::multilevel_solve_for_new_phi() 1 0.003262 0.003262 0.003262 0.84% Gravity::actual_multilevel_solve() 1 0.003247 0.003247 0.003247 0.83% MLCellLinOp::solutionResidual() 42 0.003143 0.003143 0.003143 0.81% Castro::reset_internal_energy(MultiFab) 30 0.002999 0.002999 0.002999 0.77% MLMG::computeResidual() 36 0.00259 0.00259 0.00259 0.66% MLCellLinOp::defineBC() 6 0.002589 0.002589 0.002589 0.66% BndryData::define() 6 0.002477 0.002477 0.002477 0.63% MLMG::prepareForSolve() 6 0.002442 0.002442 0.002442 0.63% FabArray::LinComb() 242 0.001868 0.001868 0.001868 0.48% amrex::Add() 72 0.001845 0.001845 0.001845 0.47% Castro::computeNewDt() 5 0.001719 0.001719 0.001719 0.44% Castro::construct_new_source() 25 0.001665 0.001665 0.001665 0.43% Castro::finalize_do_advance() 5 0.001658 0.001658 0.001658 0.42% Castro::construct_new_gravity_source() 5 0.001558 0.001558 0.001558 0.40% Castro::construct_old_source() 25 0.001454 0.001454 0.001454 0.37% Castro::construct_old_gravity_source() 5 0.001421 0.001421 0.001421 0.36% Castro::enforce_speed_limit() 30 0.001153 0.001153 0.001153 0.30% MLMG::ResNormInf() 42 0.0009398 0.0009398 0.0009398 0.24% Castro::apply_source_to_state() 10 0.0009152 0.0009152 0.0009152 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008612 0.0008612 0.0008612 0.22% Castro::reset_internal_energy(Fab) 240 0.0008557 0.0008557 0.0008557 0.22% FabArrayBase::getCPC() 632 0.0007699 0.0007699 0.0007699 0.20% check_for_negative_density() 5 0.0007404 0.0007404 0.0007404 0.19% MLMG::getGradSolution() 6 0.000739 0.000739 0.000739 0.19% MLCellLinOp::compGrad() 6 0.000736 0.000736 0.000736 0.19% MLCellLinOp::setLevelBC() 6 0.0007274 0.0007274 0.0007274 0.19% FabArray::mult() 22 0.0006399 0.0006399 0.0006399 0.16% FabArray::setDomainBndry() 20 0.0006255 0.0006255 0.0006255 0.16% Castro::check_for_nan() 10 0.0006055 0.0006055 0.0006055 0.16% MultiFab::contains_nan() 10 0.0005991 0.0005991 0.0005991 0.15% MLPoisson::prepareForSolve() 6 0.0005929 0.0005929 0.0005929 0.15% MLCellLinOp::prepareForSolve() 6 0.000588 0.000588 0.000588 0.15% MLMG::computeMLResidual() 6 0.0005703 0.0005703 0.0005703 0.15% Gravity::update_max_rhs() 6 0.000437 0.000437 0.000437 0.11% FabArrayBase::CPC::define() 244 0.0004159 0.0004159 0.0004159 0.11% Amr::InitAmr() 1 0.0004129 0.0004129 0.0004129 0.11% FabArrayBase::getFB() 1766 0.0003053 0.0003053 0.0003053 0.08% Castro::finalize_advance() 5 0.0002995 0.0002995 0.0002995 0.08% Gravity::swapTimeLevels() 5 0.0002214 0.0002214 0.0002214 0.06% MLLinOp::define() 6 0.0002211 0.0002211 0.0002211 0.06% MLLinOp::defineGrids() 6 0.0002099 0.0002099 0.0002099 0.05% MLMG::MLResNormInf() 6 0.0001498 0.0001498 0.0001498 0.04% Castro::buildMetrics() 1 0.0001455 0.0001455 0.0001455 0.04% MultiFab::max() 6 0.0001342 0.0001342 0.0001342 0.03% MLMG::MLRhsNormInf() 6 0.0001162 0.0001162 0.0001162 0.03% Castro::create_source_corrector() 5 9.128e-05 9.128e-05 9.128e-05 0.02% FabArrayBase::FB::FB() 26 6.044e-05 6.044e-05 6.044e-05 0.02% Amr::writeSmallPlotFile() 1 2.797e-05 2.797e-05 2.797e-05 0.01% Castro::initMFs() 1 2.68e-05 2.68e-05 2.68e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.642e-05 2.642e-05 2.642e-05 0.01% Castro::swap_state_time_levels() 5 2.447e-05 2.447e-05 2.447e-05 0.01% makeSFC 30 1.914e-05 1.914e-05 1.914e-05 0.00% Amr::initSubcycle() 1 9.108e-06 9.108e-06 9.108e-06 0.00% DistributionMapping::Distribute() 31 8.095e-06 8.095e-06 8.095e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.947e-06 4.947e-06 4.947e-06 0.00% Castro::retry_advance_ctu() 5 2.722e-06 2.722e-06 2.722e-06 0.00% Castro::FluxRegCrseInit 5 1.96e-06 1.96e-06 1.96e-06 0.00% Gravity::set_mass_offset() 6 1.835e-06 1.835e-06 1.835e-06 0.00% Castro::FluxRegFineAdd() 5 1.559e-06 1.559e-06 1.559e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.032e-06 1.032e-06 1.032e-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 206 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 157 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1120 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2350 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6752 KiB 14 MiB MLMG::prepareForSolve() 361 361 3382 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 195 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6748 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2166 B 2048 KiB Gravity::solve_for_phi() 40 40 622 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 4017 B 480 KiB VisMF::Write(FabArray) 112 112 1265 B 320 KiB Castro::normalize_species() 30 30 8008 B 320 KiB amrex::average_down 469 469 1183 B 257 KiB MLMG::addInterpCorrection() 468 468 1107 B 257 KiB amrex::Dot() 592 592 3207 B 160 KiB FabArray::norminf() 398 398 2280 B 160 KiB check_for_negative_density() 5 5 300 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3289 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 3892 3892 215 B 9344 B amrex::Copy() 56 56 5981 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 50 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 403 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1449 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 112 KiB 8192 KiB VisMF::Write(FabArray) 120 120 245 KiB 3584 KiB VisMF::Read() 24 24 193 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3289 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 1946 1946 214 B 9328 B amrex::Copy() 56 56 5981 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2668 B 3072 B StateData::FillBoundary(geom) 960 960 50 B 2976 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 522 B 1296 B amrex::average_down 37 37 226 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 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-7-g88f03408f18a) finalized