Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-16-g5f8030af0ddf) initialized Starting run at 09:21:30 UTC on 2023-03-20. Successfully read inputs file ... Castro git describe: 23.03-9-ge8cab45ef AMReX git describe: 23.03-16-g5f8030af0 Microphysics git describe: 23.03-18-g87518821 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.058047316 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033209255 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.048456882 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050098994 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.057664561 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.057656181 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.065887873 [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.057436233 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.075314248 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.067795664 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.058954694 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.057415796 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.060812849 [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.057416604 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033424629 seconds Ending run at 09:21:30 UTC on 2023-03-20. Run time = 0.889352549 Run time without initialization = 0.749011003 Average number of zones advanced per microsecond: 3.500 Average number of zones advanced per microsecond per rank: 3.500 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8894 ... 0.8894 ... 0.8894 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2377 0.2377 0.2377 26.73% VisMF::Write(FabArray) 11 0.2327 0.2327 0.2327 26.16% MLCellLinOp::applyBC() 4433 0.07746 0.07746 0.07746 8.71% MLPoisson::Fsmooth() 3280 0.03273 0.03273 0.03273 3.68% FillBoundary_nowait() 4023 0.03074 0.03074 0.03074 3.46% StateData::FillBoundary(geom) 328 0.02483 0.02483 0.02483 2.79% amrex::Dot() 1114 0.02097 0.02097 0.02097 2.36% Castro::normalize_species() 62 0.01596 0.01596 0.01596 1.79% Castro::computeTemp() 63 0.01536 0.01536 0.01536 1.73% amrex::Copy() 1029 0.01504 0.01504 0.01504 1.69% FabArray::norminf() 743 0.01461 0.01461 0.01461 1.64% FabArray::ParallelCopy_nowait() 861 0.01353 0.01353 0.01353 1.52% FabArray::setVal() 1144 0.0133 0.0133 0.0133 1.50% StateDataPhysBCFunct::() 41 0.01267 0.01267 0.01267 1.42% MLPoisson::Fapply() 1142 0.01051 0.01051 0.01051 1.18% MLCellLinOp::defineAuxData() 11 0.009882 0.009882 0.009882 1.11% FabArray::Saxpy() 813 0.008368 0.008368 0.008368 0.94% FabArray::Xpay() 821 0.008205 0.008205 0.008205 0.92% MLMG::addInterpCorrection() 410 0.006902 0.006902 0.006902 0.78% Castro::enforce_min_density() 62 0.006748 0.006748 0.006748 0.76% Gravity::fill_multipole_BCs() 11 0.006706 0.006706 0.006706 0.75% amrex::average_down 410 0.005997 0.005997 0.005997 0.67% Castro::estTimeStep() 21 0.005425 0.005425 0.005425 0.61% FabArray::LinComb() 557 0.004624 0.004624 0.004624 0.52% Castro::reset_internal_energy(MultiFab) 63 0.004381 0.004381 0.004381 0.49% amrex::Add() 164 0.004378 0.004378 0.004378 0.49% Amr::checkPoint() 3 0.004017 0.004017 0.004017 0.45% BndryData::define() 11 0.003768 0.003768 0.003768 0.42% Castro::construct_new_gravity_source() 10 0.00327 0.00327 0.00327 0.37% Castro::do_advance_ctu() 10 0.003238 0.003238 0.003238 0.36% Amr::writePlotFile() 2 0.002352 0.002352 0.002352 0.26% Castro::construct_old_gravity_source() 10 0.00234 0.00234 0.00234 0.26% MLCGSolver::bicgstab 82 0.002239 0.002239 0.002239 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00171 0.00171 0.00171 0.19% Castro::reset_internal_energy(Fab) 504 0.001555 0.001555 0.001555 0.17% Gravity::actual_solve_with_mlmg() 11 0.001457 0.001457 0.001457 0.16% MLCellLinOp::setLevelBC() 11 0.001404 0.001404 0.001404 0.16% FabArray::mult() 43 0.001324 0.001324 0.001324 0.15% FabArray::setDomainBndry() 41 0.001311 0.001311 0.001311 0.15% Castro::initData() 1 0.001243 0.001243 0.001243 0.14% MultiFab::contains_nan() 20 0.001207 0.001207 0.001207 0.14% Castro::enforce_speed_limit() 62 0.001139 0.001139 0.001139 0.13% MLCellLinOp::prepareForSolve() 11 0.001138 0.001138 0.001138 0.13% MLCellLinOp::smooth() 1640 0.001111 0.001111 0.001111 0.12% Castro::subcycle_advance_ctu() 10 0.0009416 0.0009416 0.0009416 0.11% MLCellLinOp::compGrad() 11 0.0009195 0.0009195 0.0009195 0.10% MLMG::prepareForSolve() 11 0.0008717 0.0008717 0.0008717 0.10% FabArray::FillBoundary() 4023 0.000811 0.000811 0.000811 0.09% FabArrayBase::getCPC() 1323 0.0007236 0.0007236 0.0007236 0.08% FabArrayBase::CPC::define() 454 0.0006618 0.0006618 0.0006618 0.07% Gravity::get_new_grav_vector() 11 0.0006368 0.0006368 0.0006368 0.07% FabArrayBase::getFB() 4023 0.0005939 0.0005939 0.0005939 0.07% Gravity::get_old_grav_vector() 10 0.0005478 0.0005478 0.0005478 0.06% Amr::InitAmr() 1 0.0005048 0.0005048 0.0005048 0.06% MLCellLinOp::apply() 1142 0.0004964 0.0004964 0.0004964 0.06% MLLinOp::defineGrids() 11 0.0003644 0.0003644 0.0003644 0.04% MLMG::mgVcycle() 82 0.0003598 0.0003598 0.0003598 0.04% Amr::coarseTimeStep() 10 0.0003365 0.0003365 0.0003365 0.04% main() 1 0.0003152 0.0003152 0.0003152 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003046 0.0003046 0.0003046 0.03% MultiFab::max() 11 0.0002644 0.0002644 0.0002644 0.03% FabArray::ParallelCopy() 861 0.0002446 0.0002446 0.0002446 0.03% FillPatchIterator::Initialize 41 0.0002329 0.0002329 0.0002329 0.03% MLCellLinOp::correctionResidual() 492 0.0002213 0.0002213 0.0002213 0.02% MLCellLinOp::defineBC() 11 0.0002143 0.0002143 0.0002143 0.02% Amr::timeStep() 10 0.0002106 0.0002106 0.0002106 0.02% Castro::finalize_advance() 10 0.0001484 0.0001484 0.0001484 0.02% StateData::checkPoint() 12 0.0001318 0.0001318 0.0001318 0.01% MLMG:computeResOfCorrection() 410 0.0001188 0.0001188 0.0001188 0.01% Gravity::update_max_rhs() 11 0.0001185 0.0001185 0.0001185 0.01% Gravity::solve_for_phi() 10 0.0001129 0.0001129 0.0001129 0.01% Castro::advance() 10 0.0001085 0.0001085 0.0001085 0.01% MLMG::actualBottomSolve() 82 9.385e-05 9.385e-05 9.385e-05 0.01% MLMG::mgVcycle_down::0 82 9.183e-05 9.183e-05 9.183e-05 0.01% FabArrayBase::FB::FB() 56 8.727e-05 8.727e-05 8.727e-05 0.01% Castro::Castro() 1 8.601e-05 8.601e-05 8.601e-05 0.01% MLMG::mgVcycle_down::1 82 8.512e-05 8.512e-05 8.512e-05 0.01% MLMG::mgVcycle_down::2 82 8.168e-05 8.168e-05 8.168e-05 0.01% Castro::expand_state() 10 7.898e-05 7.898e-05 7.898e-05 0.01% MLMG::solve() 11 7.628e-05 7.628e-05 7.628e-05 0.01% MLMG::mgVcycle_down::3 82 7.578e-05 7.578e-05 7.578e-05 0.01% AmrLevel::checkPoint() 3 7.568e-05 7.568e-05 7.568e-05 0.01% MLMG::mgVcycle_down::4 82 7.499e-05 7.499e-05 7.499e-05 0.01% Castro::clean_state() 62 7.488e-05 7.488e-05 7.488e-05 0.01% Castro::initialize_advance() 10 7.16e-05 7.16e-05 7.16e-05 0.01% MLMG::mgVcycle_up::4 82 6.48e-05 6.48e-05 6.48e-05 0.01% MLMG::mgVcycle_up::0 82 5.493e-05 5.493e-05 5.493e-05 0.01% MLMG::mgVcycle_up::1 82 5.334e-05 5.334e-05 5.334e-05 0.01% MLCellLinOp::solutionResidual() 93 5.211e-05 5.211e-05 5.211e-05 0.01% Castro::initialize_do_advance() 10 5.197e-05 5.197e-05 5.197e-05 0.01% MLMG::mgVcycle_up::3 82 5.056e-05 5.056e-05 5.056e-05 0.01% MLMG::oneIter() 82 5.015e-05 5.015e-05 5.015e-05 0.01% MLMG::mgVcycle_up::2 82 4.938e-05 4.938e-05 4.938e-05 0.01% Castro::swap_state_time_levels() 10 4.878e-05 4.878e-05 4.878e-05 0.01% Castro::create_source_corrector() 10 4.724e-05 4.724e-05 4.724e-05 0.01% StateData::define() 4 3.778e-05 3.778e-05 3.778e-05 0.00% Castro::finalize_do_advance() 10 3.742e-05 3.742e-05 3.742e-05 0.00% MLMG::ResNormInf() 93 3.548e-05 3.548e-05 3.548e-05 0.00% Castro::enforce_consistent_e() 1 3.468e-05 3.468e-05 3.468e-05 0.00% MLMG::mgVcycle_bottom 82 3.265e-05 3.265e-05 3.265e-05 0.00% MLMG::computeResidual() 82 3.034e-05 3.034e-05 3.034e-05 0.00% FillPatchSingleLevel 41 2.927e-05 2.927e-05 2.927e-05 0.00% makeSFC 55 2.524e-05 2.524e-05 2.524e-05 0.00% Castro::initMFs() 1 2.518e-05 2.518e-05 2.518e-05 0.00% Castro::construct_new_gravity() 10 2.487e-05 2.487e-05 2.487e-05 0.00% Amr::writeSmallPlotFile() 1 2.353e-05 2.353e-05 2.353e-05 0.00% MLPoisson::define() 11 2.345e-05 2.345e-05 2.345e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.127e-05 2.127e-05 2.127e-05 0.00% Amr::FinalizeInit() 1 2.001e-05 2.001e-05 2.001e-05 0.00% Castro::construct_old_source() 50 1.942e-05 1.942e-05 1.942e-05 0.00% Amr::defBaseLevel() 1 1.893e-05 1.893e-05 1.893e-05 0.00% Castro::construct_new_source() 50 1.804e-05 1.804e-05 1.804e-05 0.00% Castro::buildMetrics() 1 1.74e-05 1.74e-05 1.74e-05 0.00% Castro::do_new_sources() 10 1.714e-05 1.714e-05 1.714e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.645e-05 1.645e-05 1.645e-05 0.00% DistributionMapping::Distribute() 56 1.58e-05 1.58e-05 1.58e-05 0.00% Castro::do_old_sources() 10 1.576e-05 1.576e-05 1.576e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.373e-05 1.373e-05 1.373e-05 0.00% MLPoisson::prepareForSolve() 11 1.308e-05 1.308e-05 1.308e-05 0.00% Castro::check_for_nan() 20 1.155e-05 1.155e-05 1.155e-05 0.00% Castro::apply_source_to_state() 20 1.086e-05 1.086e-05 1.086e-05 0.00% Castro::post_timestep() 10 1.055e-05 1.055e-05 1.055e-05 0.00% MLLinOp::define() 11 1.012e-05 1.012e-05 1.012e-05 0.00% AmrLevel::AmrLevel(dm) 1 9.385e-06 9.385e-06 9.385e-06 0.00% Castro::construct_old_gravity() 10 9.296e-06 9.296e-06 9.296e-06 0.00% Amr::initSubcycle() 1 8.813e-06 8.813e-06 8.813e-06 0.00% Gravity::swapTimeLevels() 10 8.352e-06 8.352e-06 8.352e-06 0.00% Gravity::actual_multilevel_solve() 1 8.241e-06 8.241e-06 8.241e-06 0.00% Castro::computeNewDt() 9 8.033e-06 8.033e-06 8.033e-06 0.00% MLMG::computeMLResidual() 11 8.014e-06 8.014e-06 8.014e-06 0.00% MLMG::getGradSolution() 11 6.151e-06 6.151e-06 6.151e-06 0.00% Castro::retry_advance_ctu() 10 5.674e-06 5.674e-06 5.674e-06 0.00% Amr::InitializeInit() 1 4.357e-06 4.357e-06 4.357e-06 0.00% Gravity::set_mass_offset() 11 4.009e-06 4.009e-06 4.009e-06 0.00% Castro::post_init() 1 3.909e-06 3.909e-06 3.909e-06 0.00% Castro::FluxRegCrseInit 10 3.875e-06 3.875e-06 3.875e-06 0.00% MLMG::MLRhsNormInf() 11 3.729e-06 3.729e-06 3.729e-06 0.00% AmrLevel::checkPointPost() 3 3.701e-06 3.701e-06 3.701e-06 0.00% MLMG::MLResNormInf() 11 3.539e-06 3.539e-06 3.539e-06 0.00% Amr::init() 1 2.771e-06 2.771e-06 2.771e-06 0.00% Castro::FluxRegFineAdd() 10 2.755e-06 2.755e-06 2.755e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.75e-06 2.75e-06 2.75e-06 0.00% Castro::computeInitialDt() 2 2.645e-06 2.645e-06 2.645e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.974e-06 1.974e-06 1.974e-06 0.00% AmrLevel::checkPointPre() 3 1.911e-06 1.911e-06 1.911e-06 0.00% Castro::post_regrid() 1 1.123e-06 1.123e-06 1.123e-06 0.00% Amr::initialInit() 1 9.61e-07 9.61e-07 9.61e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8894 0.8894 0.8894 100.00% Amr::coarseTimeStep() 10 0.7153 0.7153 0.7153 80.43% Amr::timeStep() 10 0.5964 0.5964 0.5964 67.06% Castro::advance() 10 0.5893 0.5893 0.5893 66.26% Castro::subcycle_advance_ctu() 10 0.5773 0.5773 0.5773 64.91% Castro::do_advance_ctu() 10 0.5763 0.5763 0.5763 64.80% Gravity::solve_phi_with_mlmg() 11 0.2865 0.2865 0.2865 32.22% Gravity::actual_solve_with_mlmg() 11 0.2793 0.2793 0.2793 31.41% Castro::construct_new_gravity() 10 0.2621 0.2621 0.2621 29.47% MLMG::solve() 11 0.2584 0.2584 0.2584 29.06% Gravity::solve_for_phi() 10 0.246 0.246 0.246 27.66% MLMG::oneIter() 82 0.2441 0.2441 0.2441 27.44% MLMG::mgVcycle() 82 0.2404 0.2404 0.2404 27.03% Castro::construct_ctu_hydro_source() 10 0.2377 0.2377 0.2377 26.73% VisMF::Write(FabArray) 11 0.2327 0.2327 0.2327 26.16% Amr::checkPoint() 3 0.1731 0.1731 0.1731 19.46% AmrLevel::checkPoint() 3 0.169 0.169 0.169 19.01% StateData::checkPoint() 12 0.169 0.169 0.169 19.00% Amr::init() 1 0.1397 0.1397 0.1397 15.71% MLCellLinOp::smooth() 1640 0.1175 0.1175 0.1175 13.22% MLCellLinOp::applyBC() 4433 0.1097 0.1097 0.1097 12.33% MLMG::mgVcycle_bottom 82 0.07515 0.07515 0.07515 8.45% MLMG::actualBottomSolve() 82 0.07512 0.07512 0.07512 8.45% MLCGSolver::bicgstab 82 0.07441 0.07441 0.07441 8.37% Amr::writePlotFile() 2 0.06675 0.06675 0.06675 7.51% Amr::initialInit() 1 0.04833 0.04833 0.04833 5.43% Castro::clean_state() 62 0.04434 0.04434 0.04434 4.99% Amr::FinalizeInit() 1 0.04424 0.04424 0.04424 4.97% FillPatchIterator::Initialize 41 0.04314 0.04314 0.04314 4.85% Castro::post_init() 1 0.04291 0.04291 0.04291 4.83% FillPatchSingleLevel 41 0.0416 0.0416 0.0416 4.68% Gravity::multilevel_solve_for_new_phi() 1 0.04094 0.04094 0.04094 4.60% Gravity::actual_multilevel_solve() 1 0.04092 0.04092 0.04092 4.60% StateDataPhysBCFunct::() 41 0.0375 0.0375 0.0375 4.22% MLCellLinOp::apply() 1142 0.03653 0.03653 0.03653 4.11% MLMG::mgVcycle_down::0 82 0.03369 0.03369 0.03369 3.79% MLPoisson::Fsmooth() 3280 0.03273 0.03273 0.03273 3.68% FabArray::FillBoundary() 4023 0.03223 0.03223 0.03223 3.62% FillBoundary_nowait() 4023 0.03142 0.03142 0.03142 3.53% MLMG::mgVcycle_up::0 82 0.02567 0.02567 0.02567 2.89% StateData::FillBoundary(geom) 328 0.02483 0.02483 0.02483 2.79% MLCellLinOp::correctionResidual() 492 0.02233 0.02233 0.02233 2.51% Castro::computeTemp() 63 0.0213 0.0213 0.0213 2.39% amrex::Dot() 1114 0.02097 0.02097 0.02097 2.36% MLMG:computeResOfCorrection() 410 0.01963 0.01963 0.01963 2.21% Castro::initialize_do_advance() 10 0.01947 0.01947 0.01947 2.19% Gravity::get_new_grav_vector() 11 0.01775 0.01775 0.01775 2.00% MLPoisson::define() 11 0.01662 0.01662 0.01662 1.87% MLMG::mgVcycle_down::1 82 0.01598 0.01598 0.01598 1.80% Castro::normalize_species() 62 0.01596 0.01596 0.01596 1.79% amrex::Copy() 1029 0.01504 0.01504 0.01504 1.69% Castro::construct_old_gravity() 10 0.01494 0.01494 0.01494 1.68% Gravity::get_old_grav_vector() 10 0.01494 0.01494 0.01494 1.68% MLMG::mgVcycle_down::2 82 0.01488 0.01488 0.01488 1.67% FabArray::norminf() 743 0.01461 0.01461 0.01461 1.64% FabArray::ParallelCopy() 861 0.01457 0.01457 0.01457 1.64% MLMG::mgVcycle_down::3 82 0.01449 0.01449 0.01449 1.63% MLMG::mgVcycle_down::4 82 0.01434 0.01434 0.01434 1.61% FabArray::ParallelCopy_nowait() 861 0.01432 0.01432 0.01432 1.61% FabArray::setVal() 1144 0.0133 0.0133 0.0133 1.50% MLCGSolver::ParallelAllReduce 1514 0.01259 0.01259 0.01259 1.42% Castro::do_new_sources() 10 0.01257 0.01257 0.01257 1.41% MLMG::addInterpCorrection() 410 0.01216 0.01216 0.01216 1.37% MLMG::mgVcycle_up::1 82 0.0117 0.0117 0.0117 1.32% MLMG::mgVcycle_up::4 82 0.01167 0.01167 0.01167 1.31% Castro::expand_state() 10 0.01156 0.01156 0.01156 1.30% MLMG::mgVcycle_up::2 82 0.01135 0.01135 0.01135 1.28% amrex::average_down 410 0.01123 0.01123 0.01123 1.26% MLCellLinOp::defineAuxData() 11 0.01121 0.01121 0.01121 1.26% Castro::initialize_advance() 10 0.01119 0.01119 0.01119 1.26% MLMG::mgVcycle_up::3 82 0.01113 0.01113 0.01113 1.25% MLPoisson::Fapply() 1142 0.01051 0.01051 0.01051 1.18% Castro::do_old_sources() 10 0.009972 0.009972 0.009972 1.12% FabArray::Saxpy() 813 0.008368 0.008368 0.008368 0.94% FabArray::Xpay() 821 0.008205 0.008205 0.008205 0.92% MLCellLinOp::solutionResidual() 93 0.007209 0.007209 0.007209 0.81% Gravity::fill_multipole_BCs() 11 0.006974 0.006974 0.006974 0.78% Castro::post_timestep() 10 0.0069 0.0069 0.0069 0.78% Castro::enforce_min_density() 62 0.006748 0.006748 0.006748 0.76% MLMG::computeResidual() 82 0.006226 0.006226 0.006226 0.70% Castro::reset_internal_energy(MultiFab) 63 0.005936 0.005936 0.005936 0.67% Castro::estTimeStep() 21 0.005425 0.005425 0.005425 0.61% MLCellLinOp::defineBC() 11 0.004964 0.004964 0.004964 0.56% BndryData::define() 11 0.004749 0.004749 0.004749 0.53% MLMG::prepareForSolve() 11 0.004712 0.004712 0.004712 0.53% FabArray::LinComb() 557 0.004624 0.004624 0.004624 0.52% amrex::Add() 164 0.004378 0.004378 0.004378 0.49% Amr::InitializeInit() 1 0.004086 0.004086 0.004086 0.46% Amr::defBaseLevel() 1 0.004081 0.004081 0.004081 0.46% Castro::initData() 1 0.003578 0.003578 0.003578 0.40% Castro::construct_new_source() 50 0.003288 0.003288 0.003288 0.37% Castro::construct_new_gravity_source() 10 0.00327 0.00327 0.00327 0.37% Castro::computeNewDt() 9 0.003005 0.003005 0.003005 0.34% Castro::construct_old_source() 50 0.002359 0.002359 0.002359 0.27% Castro::construct_old_gravity_source() 10 0.00234 0.00234 0.00234 0.26% MLMG::ResNormInf() 93 0.002102 0.002102 0.002102 0.24% Castro::apply_source_to_state() 20 0.001828 0.001828 0.001828 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00171 0.00171 0.00171 0.19% Castro::reset_internal_energy(Fab) 504 0.001555 0.001555 0.001555 0.17% MLMG::getGradSolution() 11 0.001405 0.001405 0.001405 0.16% MLCellLinOp::setLevelBC() 11 0.001404 0.001404 0.001404 0.16% MLCellLinOp::compGrad() 11 0.001399 0.001399 0.001399 0.16% FabArrayBase::getCPC() 1323 0.001385 0.001385 0.001385 0.16% FabArray::mult() 43 0.001324 0.001324 0.001324 0.15% FabArray::setDomainBndry() 41 0.001311 0.001311 0.001311 0.15% Castro::check_for_nan() 20 0.001219 0.001219 0.001219 0.14% MultiFab::contains_nan() 20 0.001207 0.001207 0.001207 0.14% MLPoisson::prepareForSolve() 11 0.001151 0.001151 0.001151 0.13% Castro::post_regrid() 1 0.001145 0.001145 0.001145 0.13% Castro::enforce_speed_limit() 62 0.001139 0.001139 0.001139 0.13% MLCellLinOp::prepareForSolve() 11 0.001138 0.001138 0.001138 0.13% MLMG::computeMLResidual() 11 0.001022 0.001022 0.001022 0.11% Gravity::update_max_rhs() 11 0.000825 0.000825 0.000825 0.09% Castro::computeInitialDt() 2 0.0008192 0.0008192 0.0008192 0.09% Castro::finalize_advance() 10 0.0006944 0.0006944 0.0006944 0.08% FabArrayBase::getFB() 4023 0.0006811 0.0006811 0.0006811 0.08% FabArrayBase::CPC::define() 454 0.0006618 0.0006618 0.0006618 0.07% Amr::InitAmr() 1 0.0005136 0.0005136 0.0005136 0.06% Gravity::swapTimeLevels() 10 0.0004496 0.0004496 0.0004496 0.05% Castro::Castro() 1 0.0004333 0.0004333 0.0004333 0.05% MLLinOp::define() 11 0.0004297 0.0004297 0.0004297 0.05% MLLinOp::defineGrids() 11 0.0004196 0.0004196 0.0004196 0.05% MLMG::MLResNormInf() 11 0.000287 0.000287 0.000287 0.03% MultiFab::max() 11 0.0002644 0.0002644 0.0002644 0.03% MLMG::MLRhsNormInf() 11 0.0002215 0.0002215 0.0002215 0.02% Castro::buildMetrics() 1 0.0001588 0.0001588 0.0001588 0.02% FabArrayBase::FB::FB() 56 8.727e-05 8.727e-05 8.727e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.328e-05 5.328e-05 5.328e-05 0.01% Castro::swap_state_time_levels() 10 4.878e-05 4.878e-05 4.878e-05 0.01% Castro::create_source_corrector() 10 4.724e-05 4.724e-05 4.724e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.716e-05 4.716e-05 4.716e-05 0.01% makeSFC 55 3.955e-05 3.955e-05 3.955e-05 0.00% StateData::define() 4 3.778e-05 3.778e-05 3.778e-05 0.00% Castro::finalize_do_advance() 10 3.742e-05 3.742e-05 3.742e-05 0.00% Castro::enforce_consistent_e() 1 3.468e-05 3.468e-05 3.468e-05 0.00% Castro::initMFs() 1 2.518e-05 2.518e-05 2.518e-05 0.00% Amr::writeSmallPlotFile() 1 2.353e-05 2.353e-05 2.353e-05 0.00% DistributionMapping::Distribute() 56 1.58e-05 1.58e-05 1.58e-05 0.00% Amr::initSubcycle() 1 8.813e-06 8.813e-06 8.813e-06 0.00% Castro::retry_advance_ctu() 10 5.674e-06 5.674e-06 5.674e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.25e-06 4.25e-06 4.25e-06 0.00% Gravity::set_mass_offset() 11 4.009e-06 4.009e-06 4.009e-06 0.00% Castro::FluxRegCrseInit 10 3.875e-06 3.875e-06 3.875e-06 0.00% AmrLevel::checkPointPost() 3 3.701e-06 3.701e-06 3.701e-06 0.00% Castro::FluxRegFineAdd() 10 2.755e-06 2.755e-06 2.755e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.974e-06 1.974e-06 1.974e-06 0.00% AmrLevel::checkPointPre() 3 1.911e-06 1.911e-06 1.911e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 93 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 122 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1034 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2109 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3575 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 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 1780 B 2048 KiB Gravity::solve_for_phi() 80 80 565 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 94 KiB 2048 KiB BndryData::define() 1056 1056 326 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 2951 B 480 KiB VisMF::Write(FabArray) 656 656 3395 B 320 KiB Castro::normalize_species() 62 62 5844 B 320 KiB amrex::average_down 1067 1067 1265 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1177 B 257 KiB amrex::Dot() 1360 1360 3484 B 160 KiB FabArray::norminf() 907 907 2433 B 160 KiB Castro::do_advance_ctu() 10 10 568 B 160 KiB MultiFab::max() 11 11 45 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3495 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 302 B 9648 B MLCellLinOp::applyBC() 8866 8866 225 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3869 B 6144 B StateData::FillBoundary(geom) 1992 1992 48 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 121 B 1472 B MLCellLinOp::defineBC() 66 66 367 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 589 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 47 KiB 8192 KiB VisMF::Write(FabArray) 744 744 611 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3495 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 302 B 9648 B MLCellLinOp::applyBC() 4433 4433 223 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3869 B 6144 B Gravity::get_new_grav_vector() 3 3 2906 B 3072 B StateData::FillBoundary(geom) 1992 1992 49 B 2976 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 297 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.03-16-g5f8030af0ddf) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-16-g5f8030af0ddf) initialized Starting run at 09:21:31 UTC on 2023-03-20. Successfully read inputs file ... Castro git describe: 23.03-9-ge8cab45ef AMReX git describe: 23.03-16-g5f8030af0 Microphysics git describe: 23.03-18-g87518821 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.477551052 Restart time = 0.044442142 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.052289081 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.046908831 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.055030467 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.058006035 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.062781351 [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.032944513 seconds Ending run at 09:21:32 UTC on 2023-03-20. Run time = 0.353460088 Run time without initialization = 0.308397361 Average number of zones advanced per microsecond: 4.250 Average number of zones advanced per microsecond per rank: 4.250 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3535 ... 0.3535 ... 0.3535 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0972 0.0972 0.0972 27.50% VisMF::Read() 3 0.03826 0.03826 0.03826 10.82% MLCellLinOp::applyBC() 1946 0.03327 0.03327 0.03327 9.41% VisMF::Write(FabArray) 1 0.03142 0.03142 0.03142 8.89% MLPoisson::Fsmooth() 1440 0.01403 0.01403 0.01403 3.97% FillBoundary_nowait() 1766 0.01267 0.01267 0.01267 3.58% StateData::FillBoundary(geom) 160 0.01199 0.01199 0.01199 3.39% amrex::Dot() 484 0.008843 0.008843 0.008843 2.50% amrex::Copy() 463 0.006985 0.006985 0.006985 1.98% FabArray::setVal() 537 0.006275 0.006275 0.006275 1.78% FabArray::norminf() 326 0.006218 0.006218 0.006218 1.76% Castro::normalize_species() 30 0.00619 0.00619 0.00619 1.75% FabArray::ParallelCopy_nowait() 380 0.006137 0.006137 0.006137 1.74% Castro::computeTemp() 30 0.005693 0.005693 0.005693 1.61% StateDataPhysBCFunct::() 20 0.005685 0.005685 0.005685 1.61% MLCellLinOp::defineAuxData() 6 0.00522 0.00522 0.00522 1.48% MLPoisson::Fapply() 500 0.004458 0.004458 0.004458 1.26% Castro::enforce_min_density() 30 0.003685 0.003685 0.003685 1.04% FabArray::Saxpy() 355 0.00365 0.00365 0.00365 1.03% FabArray::Xpay() 361 0.003532 0.003532 0.003532 1.00% Gravity::fill_multipole_BCs() 6 0.003127 0.003127 0.003127 0.88% MLMG::addInterpCorrection() 180 0.002975 0.002975 0.002975 0.84% amrex::average_down 180 0.002612 0.002612 0.002612 0.74% Amr::restart() 1 0.002496 0.002496 0.002496 0.71% Castro::estTimeStep() 10 0.002236 0.002236 0.002236 0.63% BndryData::define() 6 0.002054 0.002054 0.002054 0.58% FabArray::LinComb() 242 0.00194 0.00194 0.00194 0.55% Castro::reset_internal_energy(MultiFab) 30 0.001871 0.001871 0.001871 0.53% amrex::Add() 72 0.001858 0.001858 0.001858 0.53% Castro::reset_internal_energy(Fab) 240 0.001563 0.001563 0.001563 0.44% Amr::writePlotFile() 1 0.001375 0.001375 0.001375 0.39% Castro::do_advance_ctu() 5 0.00137 0.00137 0.00137 0.39% Castro::construct_new_gravity_source() 5 0.001224 0.001224 0.001224 0.35% MLCGSolver::bicgstab 36 0.0009637 0.0009637 0.0009637 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000919 0.000919 0.000919 0.26% Castro::enforce_speed_limit() 30 0.000876 0.000876 0.000876 0.25% Castro::construct_old_gravity_source() 5 0.000861 0.000861 0.000861 0.24% Gravity::actual_solve_with_mlmg() 6 0.0007693 0.0007693 0.0007693 0.22% MLCellLinOp::setLevelBC() 6 0.0007419 0.0007419 0.0007419 0.21% Castro::subcycle_advance_ctu() 5 0.000722 0.000722 0.000722 0.20% FabArray::setDomainBndry() 20 0.0006463 0.0006463 0.0006463 0.18% FabArray::mult() 22 0.0006452 0.0006452 0.0006452 0.18% MLCellLinOp::prepareForSolve() 6 0.000605 0.000605 0.000605 0.17% MultiFab::contains_nan() 10 0.0005965 0.0005965 0.0005965 0.17% MLCellLinOp::smooth() 720 0.0004965 0.0004965 0.0004965 0.14% MLCellLinOp::compGrad() 6 0.0004893 0.0004893 0.0004893 0.14% MLMG::prepareForSolve() 6 0.0004724 0.0004724 0.0004724 0.13% Amr::InitAmr() 1 0.0004279 0.0004279 0.0004279 0.12% FabArrayBase::CPC::define() 244 0.0004108 0.0004108 0.0004108 0.12% FabArray::FillBoundary() 1766 0.0003499 0.0003499 0.0003499 0.10% FabArrayBase::getCPC() 632 0.0003418 0.0003418 0.0003418 0.10% Gravity::get_old_grav_vector() 5 0.0003003 0.0003003 0.0003003 0.08% main() 1 0.0002947 0.0002947 0.0002947 0.08% Gravity::get_new_grav_vector() 5 0.0002751 0.0002751 0.0002751 0.08% FabArrayBase::getFB() 1766 0.0002476 0.0002476 0.0002476 0.07% MLCellLinOp::apply() 500 0.0002169 0.0002169 0.0002169 0.06% Amr::coarseTimeStep() 5 0.0001737 0.0001737 0.0001737 0.05% MLMG::mgVcycle() 36 0.000161 0.000161 0.000161 0.05% MLLinOp::defineGrids() 6 0.0001565 0.0001565 0.0001565 0.04% MultiFab::max() 6 0.0001364 0.0001364 0.0001364 0.04% MLCGSolver::ParallelAllReduce 659 0.000131 0.000131 0.000131 0.04% MLCellLinOp::defineBC() 6 0.0001165 0.0001165 0.0001165 0.03% FillPatchIterator::Initialize 20 0.0001126 0.0001126 0.0001126 0.03% FabArray::ParallelCopy() 380 0.0001059 0.0001059 0.0001059 0.03% MLCellLinOp::correctionResidual() 216 9.233e-05 9.233e-05 9.233e-05 0.03% AmrLevel::restart() 1 8.029e-05 8.029e-05 8.029e-05 0.02% Amr::timeStep() 5 7.743e-05 7.743e-05 7.743e-05 0.02% StateData::restartDoit() 4 6.891e-05 6.891e-05 6.891e-05 0.02% Gravity::solve_for_phi() 5 6.252e-05 6.252e-05 6.252e-05 0.02% Gravity::update_max_rhs() 6 5.955e-05 5.955e-05 5.955e-05 0.02% FabArrayBase::FB::FB() 26 5.923e-05 5.923e-05 5.923e-05 0.02% MLMG:computeResOfCorrection() 180 5.271e-05 5.271e-05 5.271e-05 0.01% Castro::finalize_advance() 5 4.358e-05 4.358e-05 4.358e-05 0.01% MLMG::mgVcycle_down::0 36 4.255e-05 4.255e-05 4.255e-05 0.01% MLMG::actualBottomSolve() 36 3.99e-05 3.99e-05 3.99e-05 0.01% Castro::expand_state() 5 3.984e-05 3.984e-05 3.984e-05 0.01% Castro::clean_state() 30 3.918e-05 3.918e-05 3.918e-05 0.01% MLMG::mgVcycle_down::1 36 3.77e-05 3.77e-05 3.77e-05 0.01% MLMG::solve() 6 3.526e-05 3.526e-05 3.526e-05 0.01% MLMG::mgVcycle_down::4 36 3.487e-05 3.487e-05 3.487e-05 0.01% MLMG::mgVcycle_down::2 36 3.474e-05 3.474e-05 3.474e-05 0.01% Castro::initialize_advance() 5 3.361e-05 3.361e-05 3.361e-05 0.01% MLMG::mgVcycle_down::3 36 3.335e-05 3.335e-05 3.335e-05 0.01% Castro::initialize_do_advance() 5 3.105e-05 3.105e-05 3.105e-05 0.01% MLMG::mgVcycle_up::4 36 3.053e-05 3.053e-05 3.053e-05 0.01% Castro::initMFs() 1 2.737e-05 2.737e-05 2.737e-05 0.01% Amr::writeSmallPlotFile() 1 2.71e-05 2.71e-05 2.71e-05 0.01% Castro::buildMetrics() 1 2.594e-05 2.594e-05 2.594e-05 0.01% MLMG::mgVcycle_up::0 36 2.52e-05 2.52e-05 2.52e-05 0.01% MLMG::mgVcycle_up::3 36 2.39e-05 2.39e-05 2.39e-05 0.01% MLMG::mgVcycle_up::2 36 2.328e-05 2.328e-05 2.328e-05 0.01% Castro::swap_state_time_levels() 5 2.302e-05 2.302e-05 2.302e-05 0.01% MLMG::oneIter() 36 2.28e-05 2.28e-05 2.28e-05 0.01% MLCellLinOp::solutionResidual() 42 2.274e-05 2.274e-05 2.274e-05 0.01% MLMG::mgVcycle_up::1 36 2.245e-05 2.245e-05 2.245e-05 0.01% Castro::finalize_do_advance() 5 2.029e-05 2.029e-05 2.029e-05 0.01% Castro::post_restart() 1 1.883e-05 1.883e-05 1.883e-05 0.01% MLMG::ResNormInf() 42 1.741e-05 1.741e-05 1.741e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.579e-05 1.579e-05 1.579e-05 0.00% MLMG::mgVcycle_bottom 36 1.496e-05 1.496e-05 1.496e-05 0.00% Castro::construct_new_gravity() 5 1.434e-05 1.434e-05 1.434e-05 0.00% MLPoisson::define() 6 1.39e-05 1.39e-05 1.39e-05 0.00% FillPatchSingleLevel 20 1.389e-05 1.389e-05 1.389e-05 0.00% MLMG::computeResidual() 36 1.382e-05 1.382e-05 1.382e-05 0.00% Castro::advance() 5 1.373e-05 1.373e-05 1.373e-05 0.00% makeSFC 30 1.248e-05 1.248e-05 1.248e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.129e-05 1.129e-05 1.129e-05 0.00% Castro::construct_old_source() 25 1.07e-05 1.07e-05 1.07e-05 0.00% Castro::construct_new_source() 25 1.009e-05 1.009e-05 1.009e-05 0.00% MLPoisson::prepareForSolve() 6 9.351e-06 9.351e-06 9.351e-06 0.00% DistributionMapping::Distribute() 31 9.115e-06 9.115e-06 9.115e-06 0.00% Amr::initSubcycle() 1 9.111e-06 9.111e-06 9.111e-06 0.00% Castro::do_new_sources() 5 9.081e-06 9.081e-06 9.081e-06 0.00% Castro::do_old_sources() 5 8.011e-06 8.011e-06 8.011e-06 0.00% Gravity::actual_multilevel_solve() 1 7.535e-06 7.535e-06 7.535e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.122e-06 7.122e-06 7.122e-06 0.00% Castro::check_for_nan() 10 5.558e-06 5.558e-06 5.558e-06 0.00% Castro::construct_old_gravity() 5 5.428e-06 5.428e-06 5.428e-06 0.00% MLLinOp::define() 6 5.347e-06 5.347e-06 5.347e-06 0.00% Castro::apply_source_to_state() 10 5.261e-06 5.261e-06 5.261e-06 0.00% Castro::post_timestep() 5 5.187e-06 5.187e-06 5.187e-06 0.00% Gravity::swapTimeLevels() 5 3.804e-06 3.804e-06 3.804e-06 0.00% MLMG::computeMLResidual() 6 3.627e-06 3.627e-06 3.627e-06 0.00% Castro::computeNewDt() 5 3.586e-06 3.586e-06 3.586e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.078e-06 3.078e-06 3.078e-06 0.00% MLMG::getGradSolution() 6 2.893e-06 2.893e-06 2.893e-06 0.00% Castro::create_source_corrector() 5 2.62e-06 2.62e-06 2.62e-06 0.00% MLMG::MLResNormInf() 6 2.41e-06 2.41e-06 2.41e-06 0.00% MLMG::MLRhsNormInf() 6 2.065e-06 2.065e-06 2.065e-06 0.00% Castro::retry_advance_ctu() 5 2.042e-06 2.042e-06 2.042e-06 0.00% Gravity::set_mass_offset() 6 2.005e-06 2.005e-06 2.005e-06 0.00% Castro::FluxRegCrseInit 5 1.453e-06 1.453e-06 1.453e-06 0.00% Castro::FluxRegFineAdd() 5 1.237e-06 1.237e-06 1.237e-06 0.00% Amr::init() 1 1.148e-06 1.148e-06 1.148e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.005e-06 1.005e-06 1.005e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3535 0.3535 0.3535 100.00% Amr::coarseTimeStep() 5 0.2752 0.2752 0.2752 77.85% Amr::timeStep() 5 0.2735 0.2735 0.2735 77.38% Castro::advance() 5 0.2695 0.2695 0.2695 76.23% Castro::subcycle_advance_ctu() 5 0.2624 0.2624 0.2624 74.23% Castro::do_advance_ctu() 5 0.2617 0.2617 0.2617 74.03% Castro::construct_new_gravity() 5 0.1299 0.1299 0.1299 36.74% Gravity::solve_phi_with_mlmg() 6 0.1251 0.1251 0.1251 35.39% Gravity::solve_for_phi() 5 0.1221 0.1221 0.1221 34.55% Gravity::actual_solve_with_mlmg() 6 0.1217 0.1217 0.1217 34.44% MLMG::solve() 6 0.1106 0.1106 0.1106 31.28% MLMG::oneIter() 36 0.1037 0.1037 0.1037 29.35% MLMG::mgVcycle() 36 0.1022 0.1022 0.1022 28.91% Castro::construct_ctu_hydro_source() 5 0.09721 0.09721 0.09721 27.50% MLCellLinOp::smooth() 720 0.04982 0.04982 0.04982 14.09% MLCellLinOp::applyBC() 1946 0.04659 0.04659 0.04659 13.18% Amr::init() 1 0.04448 0.04448 0.04448 12.58% Amr::restart() 1 0.04448 0.04448 0.04448 12.58% AmrLevel::restart() 1 0.03847 0.03847 0.03847 10.88% StateData::restartDoit() 4 0.03838 0.03838 0.03838 10.86% VisMF::Read() 3 0.03826 0.03826 0.03826 10.82% Amr::writePlotFile() 1 0.03305 0.03305 0.03305 9.35% MLMG::mgVcycle_bottom 36 0.03181 0.03181 0.03181 9.00% MLMG::actualBottomSolve() 36 0.03179 0.03179 0.03179 8.99% MLCGSolver::bicgstab 36 0.03149 0.03149 0.03149 8.91% VisMF::Write(FabArray) 1 0.03142 0.03142 0.03142 8.89% FillPatchIterator::Initialize 20 0.02052 0.02052 0.02052 5.81% Castro::clean_state() 30 0.01992 0.01992 0.01992 5.63% FillPatchSingleLevel 20 0.01976 0.01976 0.01976 5.59% StateDataPhysBCFunct::() 20 0.01768 0.01768 0.01768 5.00% MLCellLinOp::apply() 500 0.01571 0.01571 0.01571 4.44% MLMG::mgVcycle_down::0 36 0.01425 0.01425 0.01425 4.03% MLPoisson::Fsmooth() 1440 0.01403 0.01403 0.01403 3.97% FabArray::FillBoundary() 1766 0.01332 0.01332 0.01332 3.77% FillBoundary_nowait() 1766 0.01297 0.01297 0.01297 3.67% StateData::FillBoundary(geom) 160 0.01199 0.01199 0.01199 3.39% MLMG::mgVcycle_up::0 36 0.01072 0.01072 0.01072 3.03% MLCellLinOp::correctionResidual() 216 0.009543 0.009543 0.009543 2.70% Castro::computeTemp() 30 0.009127 0.009127 0.009127 2.58% MLPoisson::define() 6 0.008891 0.008891 0.008891 2.52% amrex::Dot() 484 0.008843 0.008843 0.008843 2.50% Castro::initialize_do_advance() 5 0.008796 0.008796 0.008796 2.49% MLMG:computeResOfCorrection() 180 0.008377 0.008377 0.008377 2.37% Castro::construct_old_gravity() 5 0.007682 0.007682 0.007682 2.17% Gravity::get_old_grav_vector() 5 0.007677 0.007677 0.007677 2.17% Gravity::get_new_grav_vector() 5 0.007645 0.007645 0.007645 2.16% amrex::Copy() 463 0.006985 0.006985 0.006985 1.98% MLMG::mgVcycle_down::1 36 0.006824 0.006824 0.006824 1.93% Castro::initialize_advance() 5 0.00673 0.00673 0.00673 1.90% FabArray::ParallelCopy() 380 0.006619 0.006619 0.006619 1.87% FabArray::ParallelCopy_nowait() 380 0.006513 0.006513 0.006513 1.84% MLMG::mgVcycle_down::2 36 0.006382 0.006382 0.006382 1.81% FabArray::setVal() 537 0.006275 0.006275 0.006275 1.78% MLMG::mgVcycle_down::3 36 0.006228 0.006228 0.006228 1.76% FabArray::norminf() 326 0.006218 0.006218 0.006218 1.76% Castro::normalize_species() 30 0.00619 0.00619 0.00619 1.75% MLMG::mgVcycle_down::4 36 0.006157 0.006157 0.006157 1.74% MLCellLinOp::defineAuxData() 6 0.005945 0.005945 0.005945 1.68% Castro::expand_state() 5 0.005814 0.005814 0.005814 1.64% Castro::do_new_sources() 5 0.00543 0.00543 0.00543 1.54% MLCGSolver::ParallelAllReduce 659 0.005327 0.005327 0.005327 1.51% MLMG::addInterpCorrection() 180 0.005232 0.005232 0.005232 1.48% MLMG::mgVcycle_up::4 36 0.004997 0.004997 0.004997 1.41% MLMG::mgVcycle_up::1 36 0.004957 0.004957 0.004957 1.40% amrex::average_down 180 0.004901 0.004901 0.004901 1.39% MLMG::mgVcycle_up::2 36 0.004873 0.004873 0.004873 1.38% MLMG::mgVcycle_up::3 36 0.004813 0.004813 0.004813 1.36% MLPoisson::Fapply() 500 0.004458 0.004458 0.004458 1.26% Castro::post_timestep() 5 0.003995 0.003995 0.003995 1.13% Castro::enforce_min_density() 30 0.003685 0.003685 0.003685 1.04% FabArray::Saxpy() 355 0.00365 0.00365 0.00365 1.03% Castro::do_old_sources() 5 0.003573 0.003573 0.003573 1.01% FabArray::Xpay() 361 0.003532 0.003532 0.003532 1.00% Castro::reset_internal_energy(MultiFab) 30 0.003434 0.003434 0.003434 0.97% Castro::post_restart() 1 0.003341 0.003341 0.003341 0.95% Gravity::fill_multipole_BCs() 6 0.003269 0.003269 0.003269 0.92% MLCellLinOp::solutionResidual() 42 0.003241 0.003241 0.003241 0.92% Gravity::multilevel_solve_for_new_phi() 1 0.003232 0.003232 0.003232 0.91% Gravity::actual_multilevel_solve() 1 0.003217 0.003217 0.003217 0.91% MLCellLinOp::defineBC() 6 0.002742 0.002742 0.002742 0.78% MLMG::computeResidual() 36 0.002686 0.002686 0.002686 0.76% BndryData::define() 6 0.002625 0.002625 0.002625 0.74% MLMG::prepareForSolve() 6 0.002511 0.002511 0.002511 0.71% Castro::estTimeStep() 10 0.002236 0.002236 0.002236 0.63% FabArray::LinComb() 242 0.00194 0.00194 0.00194 0.55% amrex::Add() 72 0.001858 0.001858 0.001858 0.53% Castro::reset_internal_energy(Fab) 240 0.001563 0.001563 0.001563 0.44% Castro::computeNewDt() 5 0.001474 0.001474 0.001474 0.42% Castro::construct_new_source() 25 0.001234 0.001234 0.001234 0.35% Castro::construct_new_gravity_source() 5 0.001224 0.001224 0.001224 0.35% MLMG::ResNormInf() 42 0.0009212 0.0009212 0.0009212 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000919 0.000919 0.000919 0.26% Castro::apply_source_to_state() 10 0.0009189 0.0009189 0.0009189 0.26% Castro::enforce_speed_limit() 30 0.000876 0.000876 0.000876 0.25% Castro::construct_old_source() 25 0.0008717 0.0008717 0.0008717 0.25% Castro::construct_old_gravity_source() 5 0.000861 0.000861 0.000861 0.24% MLMG::getGradSolution() 6 0.0007563 0.0007563 0.0007563 0.21% MLCellLinOp::compGrad() 6 0.0007534 0.0007534 0.0007534 0.21% FabArrayBase::getCPC() 632 0.0007527 0.0007527 0.0007527 0.21% MLCellLinOp::setLevelBC() 6 0.0007419 0.0007419 0.0007419 0.21% FabArray::setDomainBndry() 20 0.0006463 0.0006463 0.0006463 0.18% FabArray::mult() 22 0.0006452 0.0006452 0.0006452 0.18% MLPoisson::prepareForSolve() 6 0.0006143 0.0006143 0.0006143 0.17% MLCellLinOp::prepareForSolve() 6 0.000605 0.000605 0.000605 0.17% Castro::check_for_nan() 10 0.000602 0.000602 0.000602 0.17% MultiFab::contains_nan() 10 0.0005965 0.0005965 0.0005965 0.17% MLMG::computeMLResidual() 6 0.0005726 0.0005726 0.0005726 0.16% Gravity::update_max_rhs() 6 0.00044 0.00044 0.00044 0.12% Amr::InitAmr() 1 0.000437 0.000437 0.000437 0.12% FabArrayBase::CPC::define() 244 0.0004108 0.0004108 0.0004108 0.12% Castro::finalize_advance() 5 0.0003073 0.0003073 0.0003073 0.09% FabArrayBase::getFB() 1766 0.0003069 0.0003069 0.0003069 0.09% Gravity::swapTimeLevels() 5 0.0002289 0.0002289 0.0002289 0.06% MLLinOp::define() 6 0.0001901 0.0001901 0.0001901 0.05% MLLinOp::defineGrids() 6 0.0001848 0.0001848 0.0001848 0.05% MLMG::MLResNormInf() 6 0.0001551 0.0001551 0.0001551 0.04% Castro::buildMetrics() 1 0.0001491 0.0001491 0.0001491 0.04% MultiFab::max() 6 0.0001364 0.0001364 0.0001364 0.04% MLMG::MLRhsNormInf() 6 0.0001174 0.0001174 0.0001174 0.03% FabArrayBase::FB::FB() 26 5.923e-05 5.923e-05 5.923e-05 0.02% Castro::initMFs() 1 2.737e-05 2.737e-05 2.737e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.726e-05 2.726e-05 2.726e-05 0.01% Amr::writeSmallPlotFile() 1 2.71e-05 2.71e-05 2.71e-05 0.01% Castro::swap_state_time_levels() 5 2.302e-05 2.302e-05 2.302e-05 0.01% Castro::finalize_do_advance() 5 2.029e-05 2.029e-05 2.029e-05 0.01% makeSFC 30 2.013e-05 2.013e-05 2.013e-05 0.01% DistributionMapping::Distribute() 31 9.115e-06 9.115e-06 9.115e-06 0.00% Amr::initSubcycle() 1 9.111e-06 9.111e-06 9.111e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.54e-06 4.54e-06 4.54e-06 0.00% Castro::create_source_corrector() 5 2.62e-06 2.62e-06 2.62e-06 0.00% Castro::retry_advance_ctu() 5 2.042e-06 2.042e-06 2.042e-06 0.00% Gravity::set_mass_offset() 6 2.005e-06 2.005e-06 2.005e-06 0.00% Castro::FluxRegCrseInit 5 1.453e-06 1.453e-06 1.453e-06 0.00% Castro::FluxRegFineAdd() 5 1.237e-06 1.237e-06 1.237e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.005e-06 1.005e-06 1.005e-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 232 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 123 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1264 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2613 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6676 KiB 14 MiB MLMG::prepareForSolve() 361 361 3840 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 224 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 221 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6671 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2411 B 2048 KiB Gravity::solve_for_phi() 40 40 705 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 353 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 226 KiB 671 KiB Castro::estTimeStep() 10 10 2976 B 480 KiB VisMF::Write(FabArray) 112 112 1402 B 320 KiB Castro::normalize_species() 30 30 5682 B 320 KiB amrex::average_down 469 469 1315 B 257 KiB MLMG::addInterpCorrection() 468 468 1261 B 257 KiB amrex::Dot() 592 592 3686 B 160 KiB FabArray::norminf() 398 398 2592 B 160 KiB Castro::do_advance_ctu() 5 5 598 B 160 KiB MultiFab::max() 6 6 59 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3735 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 310 B 9648 B MLCellLinOp::applyBC() 3892 3892 242 B 9344 B amrex::Copy() 56 56 5944 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 57 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 129 B 1472 B MLCellLinOp::defineBC() 36 36 396 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1452 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 120 KiB 8192 KiB VisMF::Write(FabArray) 120 120 274 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3735 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 310 B 9648 B MLCellLinOp::applyBC() 1946 1946 241 B 9328 B amrex::Copy() 56 56 5944 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2626 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 57 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 557 B 1296 B amrex::average_down 37 37 219 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.03-16-g5f8030af0ddf) finalized