Initializing AMReX (23.10-23-g601cc4ee80e0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-23-g601cc4ee80e0) initialized Starting run at 07:38:36 UTC on 2023-11-01. Successfully read inputs file ... Castro git describe: 23.10-47-gebd2255bc AMReX git describe: 23.10-23-g601cc4ee8 Microphysics git describe: 23.10-28-g153fbf87 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.050522933 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028500022 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.052895579 [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.067969073 [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.075978804 [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.058910012 [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.050197343 [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.050315979 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.06855222 [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.080251822 [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.072807114 [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.051803523 [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.051077585 [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.048791974 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028351208 seconds Ending run at 07:38:37 UTC on 2023-11-01. Run time = 0.893751226 Run time without initialization = 0.758659904 Average number of zones advanced per microsecond: 3.455 Average number of zones advanced per microsecond per rank: 3.455 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8938 ... 0.8938 ... 0.8938 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2439 0.2439 0.2439 27.29% VisMF::Write(FabArray) 11 0.1978 0.1978 0.1978 22.13% MLCellLinOp::applyBC() 4433 0.07948 0.07948 0.07948 8.89% MLPoisson::Fsmooth() 3280 0.03367 0.03367 0.03367 3.77% FillBoundary_nowait() 4023 0.03114 0.03114 0.03114 3.48% StateData::FillBoundary(geom) 328 0.02664 0.02664 0.02664 2.98% Castro::normalize_species() 62 0.02238 0.02238 0.02238 2.50% amrex::Dot() 1114 0.02102 0.02102 0.02102 2.35% Castro::computeTemp() 63 0.01566 0.01566 0.01566 1.75% amrex::Copy() 1029 0.01517 0.01517 0.01517 1.70% Gravity::fill_multipole_BCs() 11 0.01516 0.01516 0.01516 1.70% FabArray::norminf() 743 0.01473 0.01473 0.01473 1.65% FabArray::setVal() 1144 0.0136 0.0136 0.0136 1.52% FabArray::ParallelCopy_nowait() 861 0.01349 0.01349 0.01349 1.51% Castro::enforce_min_density() 62 0.01278 0.01278 0.01278 1.43% StateDataPhysBCFunct::() 41 0.01102 0.01102 0.01102 1.23% MLPoisson::Fapply() 1142 0.01071 0.01071 0.01071 1.20% MLCellLinOp::defineAuxData() 11 0.01036 0.01036 0.01036 1.16% FabArray::Saxpy() 813 0.008477 0.008477 0.008477 0.95% FabArray::Xpay() 821 0.008292 0.008292 0.008292 0.93% MLMG::addInterpCorrection() 410 0.006874 0.006874 0.006874 0.77% Castro::reset_internal_energy(MultiFab) 63 0.006284 0.006284 0.006284 0.70% amrex::average_down 410 0.006196 0.006196 0.006196 0.69% Castro::estTimeStep() 21 0.006036 0.006036 0.006036 0.68% Amr::checkPoint() 3 0.005922 0.005922 0.005922 0.66% FabArray::LinComb() 557 0.004664 0.004664 0.004664 0.52% amrex::Add() 164 0.004464 0.004464 0.004464 0.50% BndryData::define() 11 0.003839 0.003839 0.003839 0.43% Castro::construct_new_gravity_source() 10 0.003324 0.003324 0.003324 0.37% Castro::construct_old_gravity_source() 10 0.002986 0.002986 0.002986 0.33% MLCGSolver::bicgstab 82 0.002326 0.002326 0.002326 0.26% Amr::writePlotFile() 2 0.002259 0.002259 0.002259 0.25% Castro::enforce_speed_limit() 62 0.002252 0.002252 0.002252 0.25% check_for_negative_density() 10 0.001866 0.001866 0.001866 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001805 0.001805 0.001805 0.20% Castro::reset_internal_energy(Fab) 504 0.001682 0.001682 0.001682 0.19% Gravity::actual_solve_with_mlmg() 11 0.001629 0.001629 0.001629 0.18% Castro::initData() 1 0.001594 0.001594 0.001594 0.18% MLCellLinOp::setLevelBC() 11 0.001538 0.001538 0.001538 0.17% FabArray::mult() 43 0.001371 0.001371 0.001371 0.15% FabArray::setDomainBndry() 41 0.001333 0.001333 0.001333 0.15% MLCellLinOp::prepareForSolve() 11 0.001316 0.001316 0.001316 0.15% MultiFab::contains_nan() 20 0.001256 0.001256 0.001256 0.14% MLCellLinOp::smooth() 1640 0.001212 0.001212 0.001212 0.14% MLCellLinOp::compGrad() 11 0.001061 0.001061 0.001061 0.12% MLMG::prepareForSolve() 11 0.0009993 0.0009993 0.0009993 0.11% FabArray::FillBoundary() 4023 0.0008217 0.0008217 0.0008217 0.09% FabArrayBase::getCPC() 1323 0.0007795 0.0007795 0.0007795 0.09% Amr::InitAmr() 1 0.0007568 0.0007568 0.0007568 0.08% FabArrayBase::CPC::define() 454 0.0006709 0.0006709 0.0006709 0.08% FabArrayBase::getFB() 4023 0.0006531 0.0006531 0.0006531 0.07% Gravity::get_new_grav_vector() 11 0.0006088 0.0006088 0.0006088 0.07% Gravity::get_old_grav_vector() 10 0.00048 0.00048 0.00048 0.05% MLCellLinOp::apply() 1142 0.0004743 0.0004743 0.0004743 0.05% Amr::coarseTimeStep() 10 0.0004293 0.0004293 0.0004293 0.05% main() 1 0.0003951 0.0003951 0.0003951 0.04% AmrLevel::FillPatch() 41 0.0003775 0.0003775 0.0003775 0.04% MultiFab::max() 11 0.000319 0.000319 0.000319 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003114 0.0003114 0.0003114 0.03% MLCellLinOp::defineBC() 11 0.0002559 0.0002559 0.0002559 0.03% Castro::subcycle_advance_ctu() 10 0.0002477 0.0002477 0.0002477 0.03% FabArray::ParallelCopy() 861 0.000238 0.000238 0.000238 0.03% MLCellLinOp::correctionResidual() 492 0.0002348 0.0002348 0.0002348 0.03% FillPatchIterator::Initialize 41 0.0002214 0.0002214 0.0002214 0.02% MLMG::mgVcycle() 82 0.000206 0.000206 0.000206 0.02% MLLinOp::defineGrids() 11 0.0001857 0.0001857 0.0001857 0.02% Gravity::solve_for_phi() 10 0.0001688 0.0001688 0.0001688 0.02% Castro::Castro() 1 0.0001556 0.0001556 0.0001556 0.02% Amr::timeStep() 10 0.0001528 0.0001528 0.0001528 0.02% StateData::checkPoint() 12 0.0001453 0.0001453 0.0001453 0.02% Gravity::update_max_rhs() 11 0.0001287 0.0001287 0.0001287 0.01% Castro::create_source_corrector() 10 0.0001127 0.0001127 0.0001127 0.01% MLMG:computeResOfCorrection() 410 0.0001074 0.0001074 0.0001074 0.01% Castro::advance() 10 9.415e-05 9.415e-05 9.415e-05 0.01% FabArrayBase::FB::FB() 56 9.414e-05 9.414e-05 9.414e-05 0.01% MLMG::actualBottomSolve() 82 9.067e-05 9.067e-05 9.067e-05 0.01% MLMG::mgVcycle_down::0 82 8.74e-05 8.74e-05 8.74e-05 0.01% MLMG::mgVcycle_down::1 82 7.957e-05 7.957e-05 7.957e-05 0.01% Castro::construct_new_source() 50 7.84e-05 7.84e-05 7.84e-05 0.01% MLMG::mgVcycle_down::2 82 7.8e-05 7.8e-05 7.8e-05 0.01% Castro::enforce_consistent_e() 1 7.67e-05 7.67e-05 7.67e-05 0.01% Castro::initialize_advance() 10 7.602e-05 7.602e-05 7.602e-05 0.01% AmrLevel::checkPoint() 3 7.576e-05 7.576e-05 7.576e-05 0.01% MLMG::mgVcycle_down::3 82 7.416e-05 7.416e-05 7.416e-05 0.01% MLMG::solve() 11 7.339e-05 7.339e-05 7.339e-05 0.01% MLMG::mgVcycle_down::4 82 7.242e-05 7.242e-05 7.242e-05 0.01% Castro::clean_state() 62 6.802e-05 6.802e-05 6.802e-05 0.01% Castro::finalize_advance() 10 6.672e-05 6.672e-05 6.672e-05 0.01% Castro::initialize_do_advance() 10 6.01e-05 6.01e-05 6.01e-05 0.01% StateData::define() 4 5.763e-05 5.763e-05 5.763e-05 0.01% MLMG::mgVcycle_up::4 82 5.632e-05 5.632e-05 5.632e-05 0.01% Castro::initMFs() 1 5.548e-05 5.548e-05 5.548e-05 0.01% MLMG::oneIter() 82 5.217e-05 5.217e-05 5.217e-05 0.01% MLCellLinOp::solutionResidual() 93 5.207e-05 5.207e-05 5.207e-05 0.01% MLMG::mgVcycle_up::0 82 4.776e-05 4.776e-05 4.776e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.624e-05 4.624e-05 4.624e-05 0.01% MLMG::mgVcycle_up::3 82 4.619e-05 4.619e-05 4.619e-05 0.01% Castro::finalize_do_advance() 10 4.554e-05 4.554e-05 4.554e-05 0.01% Castro::do_advance_ctu() 10 4.461e-05 4.461e-05 4.461e-05 0.00% MLMG::mgVcycle_up::1 82 4.421e-05 4.421e-05 4.421e-05 0.00% MLMG::mgVcycle_up::2 82 4.292e-05 4.292e-05 4.292e-05 0.00% Castro::buildMetrics() 1 4.03e-05 4.03e-05 4.03e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.769e-05 3.769e-05 3.769e-05 0.00% Castro::swap_state_time_levels() 10 3.659e-05 3.659e-05 3.659e-05 0.00% Amr::defBaseLevel() 1 3.528e-05 3.528e-05 3.528e-05 0.00% MLMG::ResNormInf() 93 3.508e-05 3.508e-05 3.508e-05 0.00% MLMG::mgVcycle_bottom 82 3.432e-05 3.432e-05 3.432e-05 0.00% FillPatchSingleLevel 41 3.342e-05 3.342e-05 3.342e-05 0.00% Amr::writeSmallPlotFile() 1 3.24e-05 3.24e-05 3.24e-05 0.00% MLMG::computeResidual() 82 3.207e-05 3.207e-05 3.207e-05 0.00% Castro::construct_new_gravity() 10 2.644e-05 2.644e-05 2.644e-05 0.00% makeSFC 55 2.632e-05 2.632e-05 2.632e-05 0.00% MLPoisson::define() 11 2.568e-05 2.568e-05 2.568e-05 0.00% Amr::initSubcycle() 1 2.46e-05 2.46e-05 2.46e-05 0.00% Castro::do_old_sources() 10 2.17e-05 2.17e-05 2.17e-05 0.00% Castro::do_new_sources() 10 1.981e-05 1.981e-05 1.981e-05 0.00% Amr::FinalizeInit() 1 1.9e-05 1.9e-05 1.9e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.893e-05 1.893e-05 1.893e-05 0.00% DistributionMapping::Distribute() 56 1.846e-05 1.846e-05 1.846e-05 0.00% Castro::construct_old_source() 50 1.785e-05 1.785e-05 1.785e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.776e-05 1.776e-05 1.776e-05 0.00% MLLinOp::define() 11 1.393e-05 1.393e-05 1.393e-05 0.00% MLPoisson::prepareForSolve() 11 1.366e-05 1.366e-05 1.366e-05 0.00% MLMG::computeMLResidual() 11 1.353e-05 1.353e-05 1.353e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.318e-05 1.318e-05 1.318e-05 0.00% Castro::construct_old_gravity() 10 1.226e-05 1.226e-05 1.226e-05 0.00% Castro::post_timestep() 10 1.159e-05 1.159e-05 1.159e-05 0.00% Castro::apply_source_to_state() 20 1.155e-05 1.155e-05 1.155e-05 0.00% Castro::post_init() 1 1.106e-05 1.106e-05 1.106e-05 0.00% Castro::check_for_nan() 20 1.094e-05 1.094e-05 1.094e-05 0.00% Gravity::swapTimeLevels() 10 9.152e-06 9.152e-06 9.152e-06 0.00% Gravity::actual_multilevel_solve() 1 8.258e-06 8.258e-06 8.258e-06 0.00% Castro::computeNewDt() 9 7.224e-06 7.224e-06 7.224e-06 0.00% Amr::InitializeInit() 1 6.564e-06 6.564e-06 6.564e-06 0.00% MLMG::getGradSolution() 11 6.237e-06 6.237e-06 6.237e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.924e-06 5.924e-06 5.924e-06 0.00% Castro::expand_state() 10 5.649e-06 5.649e-06 5.649e-06 0.00% AmrLevel::checkPointPost() 3 4.646e-06 4.646e-06 4.646e-06 0.00% Gravity::set_mass_offset() 11 4.337e-06 4.337e-06 4.337e-06 0.00% MLMG::MLRhsNormInf() 11 4.019e-06 4.019e-06 4.019e-06 0.00% Castro::retry_advance_ctu() 10 3.959e-06 3.959e-06 3.959e-06 0.00% MLMG::MLResNormInf() 11 3.697e-06 3.697e-06 3.697e-06 0.00% Castro::computeInitialDt() 2 2.712e-06 2.712e-06 2.712e-06 0.00% Castro::FluxRegCrseInit 10 2.666e-06 2.666e-06 2.666e-06 0.00% Amr::init() 1 2.487e-06 2.487e-06 2.487e-06 0.00% Castro::FluxRegFineAdd() 10 2.46e-06 2.46e-06 2.46e-06 0.00% AmrLevel::checkPointPre() 3 2.13e-06 2.13e-06 2.13e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.049e-06 2.049e-06 2.049e-06 0.00% Castro::post_regrid() 1 1.199e-06 1.199e-06 1.199e-06 0.00% Amr::initialInit() 1 1.142e-06 1.142e-06 1.142e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8938 0.8938 0.8938 100.00% Amr::coarseTimeStep() 10 0.73 0.73 0.73 81.68% Amr::timeStep() 10 0.6271 0.6271 0.6271 70.16% Castro::advance() 10 0.6154 0.6154 0.6154 68.86% Castro::subcycle_advance_ctu() 10 0.6013 0.6013 0.6013 67.28% Castro::do_advance_ctu() 10 0.601 0.601 0.601 67.25% Gravity::solve_phi_with_mlmg() 11 0.3009 0.3009 0.3009 33.66% Gravity::actual_solve_with_mlmg() 11 0.2852 0.2852 0.2852 31.91% Castro::construct_new_gravity() 10 0.2715 0.2715 0.2715 30.38% MLMG::solve() 11 0.2633 0.2633 0.2633 29.46% Gravity::solve_for_phi() 10 0.2556 0.2556 0.2556 28.59% Castro::construct_ctu_hydro_source() 10 0.2556 0.2556 0.2556 28.59% MLMG::oneIter() 82 0.2481 0.2481 0.2481 27.76% MLMG::mgVcycle() 82 0.2444 0.2444 0.2444 27.35% VisMF::Write(FabArray) 11 0.1978 0.1978 0.1978 22.13% Amr::checkPoint() 3 0.1497 0.1497 0.1497 16.75% AmrLevel::checkPoint() 3 0.1438 0.1438 0.1438 16.09% StateData::checkPoint() 12 0.1437 0.1437 0.1437 16.08% Amr::init() 1 0.1341 0.1341 0.1341 15.01% MLCellLinOp::smooth() 1640 0.1203 0.1203 0.1203 13.45% MLCellLinOp::applyBC() 4433 0.1122 0.1122 0.1122 12.55% MLMG::mgVcycle_bottom 82 0.07607 0.07607 0.07607 8.51% MLMG::actualBottomSolve() 82 0.07603 0.07603 0.07603 8.51% MLCGSolver::bicgstab 82 0.07531 0.07531 0.07531 8.43% Castro::clean_state() 62 0.06018 0.06018 0.06018 6.73% Amr::writePlotFile() 2 0.05697 0.05697 0.05697 6.37% Amr::initialInit() 1 0.05498 0.05498 0.05498 6.15% Amr::FinalizeInit() 1 0.04963 0.04963 0.04963 5.55% Castro::post_init() 1 0.04816 0.04816 0.04816 5.39% AmrLevel::FillPatch() 41 0.04756 0.04756 0.04756 5.32% Gravity::multilevel_solve_for_new_phi() 1 0.04579 0.04579 0.04579 5.12% Gravity::actual_multilevel_solve() 1 0.04577 0.04577 0.04577 5.12% FillPatchIterator::Initialize 41 0.04333 0.04333 0.04333 4.85% FillPatchIterator::FillFromLevel0() 41 0.04178 0.04178 0.04178 4.67% FillPatchSingleLevel 41 0.04173 0.04173 0.04173 4.67% StateDataPhysBCFunct::() 41 0.03766 0.03766 0.03766 4.21% MLCellLinOp::apply() 1142 0.03751 0.03751 0.03751 4.20% MLMG::mgVcycle_down::0 82 0.03424 0.03424 0.03424 3.83% MLPoisson::Fsmooth() 3280 0.03367 0.03367 0.03367 3.77% FabArray::FillBoundary() 4023 0.03271 0.03271 0.03271 3.66% FillBoundary_nowait() 4023 0.03188 0.03188 0.03188 3.57% StateData::FillBoundary(geom) 328 0.02664 0.02664 0.02664 2.98% MLMG::mgVcycle_up::0 82 0.02601 0.02601 0.02601 2.91% Castro::computeTemp() 63 0.02363 0.02363 0.02363 2.64% MLCellLinOp::correctionResidual() 492 0.02279 0.02279 0.02279 2.55% Castro::normalize_species() 62 0.02238 0.02238 0.02238 2.50% Castro::initialize_do_advance() 10 0.02161 0.02161 0.02161 2.42% amrex::Dot() 1114 0.02102 0.02102 0.02102 2.35% MLMG:computeResOfCorrection() 410 0.02003 0.02003 0.02003 2.24% Castro::do_old_sources() 10 0.01989 0.01989 0.01989 2.23% Gravity::get_new_grav_vector() 11 0.01789 0.01789 0.01789 2.00% MLPoisson::define() 11 0.01719 0.01719 0.01719 1.92% MLMG::mgVcycle_down::1 82 0.01645 0.01645 0.01645 1.84% Gravity::fill_multipole_BCs() 11 0.01539 0.01539 0.01539 1.72% Castro::construct_old_gravity() 10 0.01528 0.01528 0.01528 1.71% Gravity::get_old_grav_vector() 10 0.01527 0.01527 0.01527 1.71% MLMG::mgVcycle_down::2 82 0.01524 0.01524 0.01524 1.71% amrex::Copy() 1029 0.01517 0.01517 0.01517 1.70% MLMG::mgVcycle_down::3 82 0.01486 0.01486 0.01486 1.66% FabArray::norminf() 743 0.01473 0.01473 0.01473 1.65% MLMG::mgVcycle_down::4 82 0.01467 0.01467 0.01467 1.64% FabArray::ParallelCopy() 861 0.01454 0.01454 0.01454 1.63% FabArray::ParallelCopy_nowait() 861 0.0143 0.0143 0.0143 1.60% Castro::do_new_sources() 10 0.01374 0.01374 0.01374 1.54% FabArray::setVal() 1144 0.0136 0.0136 0.0136 1.52% Castro::initialize_advance() 10 0.01344 0.01344 0.01344 1.50% Castro::enforce_min_density() 62 0.01278 0.01278 0.01278 1.43% MLCGSolver::ParallelAllReduce 1514 0.01258 0.01258 0.01258 1.41% MLMG::addInterpCorrection() 410 0.01209 0.01209 0.01209 1.35% MLMG::mgVcycle_up::1 82 0.01193 0.01193 0.01193 1.34% MLCellLinOp::defineAuxData() 11 0.01181 0.01181 0.01181 1.32% MLMG::mgVcycle_up::4 82 0.01174 0.01174 0.01174 1.31% Castro::expand_state() 10 0.01165 0.01165 0.01165 1.30% MLMG::mgVcycle_up::2 82 0.01163 0.01163 0.01163 1.30% Castro::post_timestep() 10 0.01151 0.01151 0.01151 1.29% amrex::average_down 410 0.01148 0.01148 0.01148 1.28% MLMG::mgVcycle_up::3 82 0.01139 0.01139 0.01139 1.27% MLPoisson::Fapply() 1142 0.01071 0.01071 0.01071 1.20% FabArray::Saxpy() 813 0.008477 0.008477 0.008477 0.95% FabArray::Xpay() 821 0.008292 0.008292 0.008292 0.93% Castro::reset_internal_energy(MultiFab) 63 0.007967 0.007967 0.007967 0.89% MLCellLinOp::solutionResidual() 93 0.007536 0.007536 0.007536 0.84% MLMG::computeResidual() 82 0.006249 0.006249 0.006249 0.70% Castro::estTimeStep() 21 0.006036 0.006036 0.006036 0.68% Amr::InitializeInit() 1 0.005353 0.005353 0.005353 0.60% Amr::defBaseLevel() 1 0.005347 0.005347 0.005347 0.60% MLMG::prepareForSolve() 11 0.005128 0.005128 0.005128 0.57% MLCellLinOp::defineBC() 11 0.005102 0.005102 0.005102 0.57% BndryData::define() 11 0.004846 0.004846 0.004846 0.54% FabArray::LinComb() 557 0.004664 0.004664 0.004664 0.52% Castro::initData() 1 0.004509 0.004509 0.004509 0.50% amrex::Add() 164 0.004464 0.004464 0.004464 0.50% Castro::construct_new_source() 50 0.003403 0.003403 0.003403 0.38% Castro::construct_new_gravity_source() 10 0.003324 0.003324 0.003324 0.37% Castro::construct_old_source() 50 0.003004 0.003004 0.003004 0.34% Castro::construct_old_gravity_source() 10 0.002986 0.002986 0.002986 0.33% Castro::computeNewDt() 9 0.002542 0.002542 0.002542 0.28% Castro::finalize_do_advance() 10 0.002472 0.002472 0.002472 0.28% Castro::enforce_speed_limit() 62 0.002252 0.002252 0.002252 0.25% MLMG::ResNormInf() 93 0.002189 0.002189 0.002189 0.24% check_for_negative_density() 10 0.001866 0.001866 0.001866 0.21% Castro::apply_source_to_state() 20 0.001857 0.001857 0.001857 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001805 0.001805 0.001805 0.20% Castro::reset_internal_energy(Fab) 504 0.001682 0.001682 0.001682 0.19% MLMG::getGradSolution() 11 0.001549 0.001549 0.001549 0.17% MLCellLinOp::compGrad() 11 0.001543 0.001543 0.001543 0.17% MLCellLinOp::setLevelBC() 11 0.001538 0.001538 0.001538 0.17% FabArrayBase::getCPC() 1323 0.00145 0.00145 0.00145 0.16% FabArray::mult() 43 0.001371 0.001371 0.001371 0.15% MLMG::computeMLResidual() 11 0.001333 0.001333 0.001333 0.15% FabArray::setDomainBndry() 41 0.001333 0.001333 0.001333 0.15% MLPoisson::prepareForSolve() 11 0.00133 0.00133 0.00133 0.15% MLCellLinOp::prepareForSolve() 11 0.001316 0.001316 0.001316 0.15% Castro::check_for_nan() 20 0.001267 0.001267 0.001267 0.14% MultiFab::contains_nan() 20 0.001256 0.001256 0.001256 0.14% Castro::post_regrid() 1 0.001162 0.001162 0.001162 0.13% Castro::computeInitialDt() 2 0.001078 0.001078 0.001078 0.12% Gravity::update_max_rhs() 11 0.0009647 0.0009647 0.0009647 0.11% Amr::InitAmr() 1 0.0007814 0.0007814 0.0007814 0.09% FabArrayBase::getFB() 4023 0.0007473 0.0007473 0.0007473 0.08% Castro::Castro() 1 0.0007183 0.0007183 0.0007183 0.08% FabArrayBase::CPC::define() 454 0.0006709 0.0006709 0.0006709 0.08% Castro::finalize_advance() 10 0.0005944 0.0005944 0.0005944 0.07% Gravity::swapTimeLevels() 10 0.0004474 0.0004474 0.0004474 0.05% MLMG::MLResNormInf() 11 0.0003348 0.0003348 0.0003348 0.04% MultiFab::max() 11 0.000319 0.000319 0.000319 0.04% Castro::buildMetrics() 1 0.0003176 0.0003176 0.0003176 0.04% MLLinOp::define() 11 0.000258 0.000258 0.000258 0.03% MLLinOp::defineGrids() 11 0.0002441 0.0002441 0.0002441 0.03% MLMG::MLRhsNormInf() 11 0.0002214 0.0002214 0.0002214 0.02% Castro::create_source_corrector() 10 0.0001127 0.0001127 0.0001127 0.01% FabArrayBase::FB::FB() 56 9.414e-05 9.414e-05 9.414e-05 0.01% Castro::enforce_consistent_e() 1 7.67e-05 7.67e-05 7.67e-05 0.01% AmrLevel::AmrLevel(dm) 1 7.656e-05 7.656e-05 7.656e-05 0.01% StateData::define() 4 5.763e-05 5.763e-05 5.763e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.635e-05 5.635e-05 5.635e-05 0.01% Castro::initMFs() 1 5.548e-05 5.548e-05 5.548e-05 0.01% makeSFC 55 4.317e-05 4.317e-05 4.317e-05 0.00% Castro::swap_state_time_levels() 10 3.659e-05 3.659e-05 3.659e-05 0.00% Amr::writeSmallPlotFile() 1 3.24e-05 3.24e-05 3.24e-05 0.00% Amr::initSubcycle() 1 2.46e-05 2.46e-05 2.46e-05 0.00% DistributionMapping::Distribute() 56 1.846e-05 1.846e-05 1.846e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 7.531e-06 7.531e-06 7.531e-06 0.00% AmrLevel::checkPointPost() 3 4.646e-06 4.646e-06 4.646e-06 0.00% Gravity::set_mass_offset() 11 4.337e-06 4.337e-06 4.337e-06 0.00% Castro::retry_advance_ctu() 10 3.959e-06 3.959e-06 3.959e-06 0.00% Castro::FluxRegCrseInit 10 2.666e-06 2.666e-06 2.666e-06 0.00% Castro::FluxRegFineAdd() 10 2.46e-06 2.46e-06 2.46e-06 0.00% AmrLevel::checkPointPre() 3 2.13e-06 2.13e-06 2.13e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.049e-06 2.049e-06 2.049e-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 97 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 128 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 1030 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1785 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3623 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7510 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 31 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2081 B 2048 KiB Gravity::solve_for_phi() 80 80 584 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 104 KiB 2048 KiB BndryData::define() 1056 1056 331 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 210 KiB 671 KiB Castro::estTimeStep() 21 21 3292 B 480 KiB VisMF::Write(FabArray) 656 656 3461 B 320 KiB Castro::normalize_species() 62 62 8159 B 320 KiB amrex::average_down 1067 1067 1270 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1156 B 257 KiB amrex::Dot() 1360 1360 3462 B 160 KiB FabArray::norminf() 907 907 2438 B 160 KiB check_for_negative_density() 10 10 321 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3537 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 8866 8866 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3920 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 122 B 1472 B MLCellLinOp::defineBC() 66 66 373 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 584 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 502 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3537 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 4433 4433 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3920 B 6144 B Gravity::get_new_grav_vector() 3 3 2883 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 41 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 301 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B 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): 2528 [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.10-23-g601cc4ee80e0) finalized Initializing AMReX (23.10-23-g601cc4ee80e0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-23-g601cc4ee80e0) initialized Starting run at 07:38:38 UTC on 2023-11-01. Successfully read inputs file ... Castro git describe: 23.10-47-gebd2255bc AMReX git describe: 23.10-23-g601cc4ee8 Microphysics git describe: 23.10-28-g153fbf87 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.491325744 Restart time = 0.072233717 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.053736152 [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.050526214 [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.074610612 [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.080677277 [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.052292671 [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.031211302 seconds Ending run at 07:38:38 UTC on 2023-11-01. Run time = 0.416367371 Run time without initialization = 0.343529954 Average number of zones advanced per microsecond: 3.815 Average number of zones advanced per microsecond per rank: 3.815 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4164 ... 0.4164 ... 0.4164 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1106 0.1106 0.1106 26.56% VisMF::Read() 3 0.06082 0.06082 0.06082 14.61% MLCellLinOp::applyBC() 1946 0.03472 0.03472 0.03472 8.34% VisMF::Write(FabArray) 1 0.02875 0.02875 0.02875 6.91% amrex::Dot() 484 0.01545 0.01545 0.01545 3.71% MLPoisson::Fsmooth() 1440 0.01447 0.01447 0.01447 3.47% StateData::FillBoundary(geom) 160 0.01334 0.01334 0.01334 3.20% FillBoundary_nowait() 1766 0.01282 0.01282 0.01282 3.08% Castro::normalize_species() 30 0.01088 0.01088 0.01088 2.61% amrex::Copy() 463 0.007312 0.007312 0.007312 1.76% Castro::computeTemp() 30 0.00723 0.00723 0.00723 1.74% FabArray::norminf() 326 0.006792 0.006792 0.006792 1.63% FabArray::setVal() 537 0.006611 0.006611 0.006611 1.59% FabArray::ParallelCopy_nowait() 380 0.006138 0.006138 0.006138 1.47% Castro::enforce_min_density() 30 0.005894 0.005894 0.005894 1.42% MLCellLinOp::defineAuxData() 6 0.005702 0.005702 0.005702 1.37% Gravity::fill_multipole_BCs() 6 0.005503 0.005503 0.005503 1.32% StateDataPhysBCFunct::() 20 0.004722 0.004722 0.004722 1.13% Amr::restart() 1 0.004705 0.004705 0.004705 1.13% MLPoisson::Fapply() 500 0.004704 0.004704 0.004704 1.13% FabArray::Saxpy() 355 0.003914 0.003914 0.003914 0.94% Castro::estTimeStep() 10 0.00368 0.00368 0.00368 0.88% FabArray::Xpay() 361 0.003667 0.003667 0.003667 0.88% MLMG::addInterpCorrection() 180 0.00314 0.00314 0.00314 0.75% amrex::average_down 180 0.002769 0.002769 0.002769 0.67% Amr::writePlotFile() 1 0.002287 0.002287 0.002287 0.55% Castro::reset_internal_energy(MultiFab) 30 0.002179 0.002179 0.002179 0.52% BndryData::define() 6 0.002141 0.002141 0.002141 0.51% FabArray::LinComb() 242 0.002042 0.002042 0.002042 0.49% amrex::Add() 72 0.001914 0.001914 0.001914 0.46% Castro::construct_new_gravity_source() 5 0.001772 0.001772 0.001772 0.43% Castro::construct_old_gravity_source() 5 0.001502 0.001502 0.001502 0.36% Castro::enforce_speed_limit() 30 0.0014 0.0014 0.0014 0.34% MLCGSolver::bicgstab 36 0.001025 0.001025 0.001025 0.25% check_for_negative_density() 5 0.001011 0.001011 0.001011 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009924 0.0009924 0.0009924 0.24% Gravity::actual_solve_with_mlmg() 6 0.0008815 0.0008815 0.0008815 0.21% Castro::reset_internal_energy(Fab) 240 0.0008533 0.0008533 0.0008533 0.20% MLCellLinOp::setLevelBC() 6 0.0008458 0.0008458 0.0008458 0.20% MLCellLinOp::prepareForSolve() 6 0.0007736 0.0007736 0.0007736 0.19% FabArray::mult() 22 0.0006903 0.0006903 0.0006903 0.17% FabArray::setDomainBndry() 20 0.0006854 0.0006854 0.0006854 0.16% MultiFab::contains_nan() 10 0.0006545 0.0006545 0.0006545 0.16% MLCellLinOp::compGrad() 6 0.0006047 0.0006047 0.0006047 0.15% MLMG::prepareForSolve() 6 0.0005639 0.0005639 0.0005639 0.14% MLCellLinOp::smooth() 720 0.0005424 0.0005424 0.0005424 0.13% Amr::InitAmr() 1 0.0004229 0.0004229 0.0004229 0.10% FabArrayBase::CPC::define() 244 0.0004224 0.0004224 0.0004224 0.10% FabArrayBase::getCPC() 632 0.0003831 0.0003831 0.0003831 0.09% FabArray::FillBoundary() 1766 0.0003651 0.0003651 0.0003651 0.09% Gravity::get_old_grav_vector() 5 0.0003454 0.0003454 0.0003454 0.08% main() 1 0.0003096 0.0003096 0.0003096 0.07% Gravity::get_new_grav_vector() 5 0.0002987 0.0002987 0.0002987 0.07% FabArrayBase::getFB() 1766 0.0002726 0.0002726 0.0002726 0.07% MultiFab::max() 6 0.0002076 0.0002076 0.0002076 0.05% MLCellLinOp::apply() 500 0.0002061 0.0002061 0.0002061 0.05% AmrLevel::FillPatch() 20 0.0001904 0.0001904 0.0001904 0.05% Amr::coarseTimeStep() 5 0.0001879 0.0001879 0.0001879 0.05% Castro::subcycle_advance_ctu() 5 0.0001434 0.0001434 0.0001434 0.03% MLCGSolver::ParallelAllReduce 659 0.0001357 0.0001357 0.0001357 0.03% MLCellLinOp::defineBC() 6 0.0001334 0.0001334 0.0001334 0.03% FillPatchIterator::Initialize 20 0.0001109 0.0001109 0.0001109 0.03% FabArray::ParallelCopy() 380 0.000108 0.000108 0.000108 0.03% MLLinOp::defineGrids() 6 0.0001043 0.0001043 0.0001043 0.03% Castro::construct_new_source() 25 0.0001031 0.0001031 0.0001031 0.02% Castro::advance() 5 0.000102 0.000102 0.000102 0.02% MLCellLinOp::correctionResidual() 216 0.0001014 0.0001014 0.0001014 0.02% Gravity::solve_for_phi() 5 9.144e-05 9.144e-05 9.144e-05 0.02% MLMG::mgVcycle() 36 9.044e-05 9.044e-05 9.044e-05 0.02% Castro::finalize_do_advance() 5 8.941e-05 8.941e-05 8.941e-05 0.02% Amr::timeStep() 5 8.644e-05 8.644e-05 8.644e-05 0.02% Castro::create_source_corrector() 5 8.129e-05 8.129e-05 8.129e-05 0.02% AmrLevel::restart() 1 7.797e-05 7.797e-05 7.797e-05 0.02% Castro::do_new_sources() 5 7.697e-05 7.697e-05 7.697e-05 0.02% StateData::restartDoit() 4 7.318e-05 7.318e-05 7.318e-05 0.02% Castro::do_advance_ctu() 5 6.833e-05 6.833e-05 6.833e-05 0.02% Castro::initialize_do_advance() 5 6.724e-05 6.724e-05 6.724e-05 0.02% Gravity::update_max_rhs() 6 6.473e-05 6.473e-05 6.473e-05 0.02% FabArrayBase::FB::FB() 26 6.047e-05 6.047e-05 6.047e-05 0.01% Castro::initialize_advance() 5 5.661e-05 5.661e-05 5.661e-05 0.01% MLMG:computeResOfCorrection() 180 4.943e-05 4.943e-05 4.943e-05 0.01% Castro::construct_old_source() 25 4.634e-05 4.634e-05 4.634e-05 0.01% MLMG::actualBottomSolve() 36 4.159e-05 4.159e-05 4.159e-05 0.01% MLMG::mgVcycle_down::0 36 3.954e-05 3.954e-05 3.954e-05 0.01% MLMG::mgVcycle_down::1 36 3.888e-05 3.888e-05 3.888e-05 0.01% MLMG::solve() 6 3.556e-05 3.556e-05 3.556e-05 0.01% MLMG::mgVcycle_down::2 36 3.39e-05 3.39e-05 3.39e-05 0.01% Castro::clean_state() 30 3.34e-05 3.34e-05 3.34e-05 0.01% Castro::do_old_sources() 5 3.272e-05 3.272e-05 3.272e-05 0.01% MLMG::mgVcycle_down::4 36 3.254e-05 3.254e-05 3.254e-05 0.01% Amr::writeSmallPlotFile() 1 3.143e-05 3.143e-05 3.143e-05 0.01% Castro::post_restart() 1 3.14e-05 3.14e-05 3.14e-05 0.01% MLMG::mgVcycle_down::3 36 3.104e-05 3.104e-05 3.104e-05 0.01% Castro::finalize_advance() 5 2.98e-05 2.98e-05 2.98e-05 0.01% Castro::computeNewDt() 5 2.943e-05 2.943e-05 2.943e-05 0.01% MLMG::mgVcycle_up::4 36 2.823e-05 2.823e-05 2.823e-05 0.01% Castro::buildMetrics() 1 2.784e-05 2.784e-05 2.784e-05 0.01% Castro::initMFs() 1 2.603e-05 2.603e-05 2.603e-05 0.01% Castro::swap_state_time_levels() 5 2.504e-05 2.504e-05 2.504e-05 0.01% MLMG::oneIter() 36 2.377e-05 2.377e-05 2.377e-05 0.01% MLCellLinOp::solutionResidual() 42 2.246e-05 2.246e-05 2.246e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.104e-05 2.104e-05 2.104e-05 0.01% MLMG::mgVcycle_up::0 36 2.059e-05 2.059e-05 2.059e-05 0.00% MLMG::mgVcycle_up::3 36 2.037e-05 2.037e-05 2.037e-05 0.00% MLMG::mgVcycle_up::2 36 2.022e-05 2.022e-05 2.022e-05 0.00% MLMG::mgVcycle_up::1 36 1.893e-05 1.893e-05 1.893e-05 0.00% MLMG::ResNormInf() 42 1.785e-05 1.785e-05 1.785e-05 0.00% Castro::construct_new_gravity() 5 1.758e-05 1.758e-05 1.758e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.706e-05 1.706e-05 1.706e-05 0.00% MLMG::mgVcycle_bottom 36 1.544e-05 1.544e-05 1.544e-05 0.00% FillPatchSingleLevel 20 1.489e-05 1.489e-05 1.489e-05 0.00% MLPoisson::define() 6 1.484e-05 1.484e-05 1.484e-05 0.00% MLMG::computeResidual() 36 1.391e-05 1.391e-05 1.391e-05 0.00% makeSFC 30 1.321e-05 1.321e-05 1.321e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.31e-05 1.31e-05 1.31e-05 0.00% MLPoisson::prepareForSolve() 6 1.007e-05 1.007e-05 1.007e-05 0.00% DistributionMapping::Distribute() 31 1.004e-05 1.004e-05 1.004e-05 0.00% MLMG::computeMLResidual() 6 9.376e-06 9.376e-06 9.376e-06 0.00% Amr::initSubcycle() 1 9.18e-06 9.18e-06 9.18e-06 0.00% Gravity::actual_multilevel_solve() 1 8.81e-06 8.81e-06 8.81e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.144e-06 7.144e-06 7.144e-06 0.00% Castro::post_timestep() 5 7.05e-06 7.05e-06 7.05e-06 0.00% Castro::check_for_nan() 10 6.548e-06 6.548e-06 6.548e-06 0.00% Castro::construct_old_gravity() 5 6.185e-06 6.185e-06 6.185e-06 0.00% Castro::apply_source_to_state() 10 5.963e-06 5.963e-06 5.963e-06 0.00% MLLinOp::define() 6 5.539e-06 5.539e-06 5.539e-06 0.00% Gravity::swapTimeLevels() 5 4.407e-06 4.407e-06 4.407e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.433e-06 3.433e-06 3.433e-06 0.00% MLMG::getGradSolution() 6 3.147e-06 3.147e-06 3.147e-06 0.00% Castro::expand_state() 5 2.626e-06 2.626e-06 2.626e-06 0.00% MLMG::MLResNormInf() 6 2.157e-06 2.157e-06 2.157e-06 0.00% MLMG::MLRhsNormInf() 6 2.127e-06 2.127e-06 2.127e-06 0.00% Castro::retry_advance_ctu() 5 2.045e-06 2.045e-06 2.045e-06 0.00% Gravity::set_mass_offset() 6 1.981e-06 1.981e-06 1.981e-06 0.00% Castro::FluxRegCrseInit 5 1.434e-06 1.434e-06 1.434e-06 0.00% Castro::FluxRegFineAdd() 5 1.146e-06 1.146e-06 1.146e-06 0.00% Amr::init() 1 1.078e-06 1.078e-06 1.078e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.8e-07 9.8e-07 9.8e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4164 0.4164 0.4164 100.00% Amr::coarseTimeStep() 5 0.312 0.312 0.312 74.93% Amr::timeStep() 5 0.3095 0.3095 0.3095 74.33% Castro::advance() 5 0.304 0.304 0.304 73.02% Castro::subcycle_advance_ctu() 5 0.2963 0.2963 0.2963 71.15% Castro::do_advance_ctu() 5 0.2961 0.2961 0.2961 71.12% Castro::construct_new_gravity() 5 0.1422 0.1422 0.1422 34.14% Gravity::solve_phi_with_mlmg() 6 0.1395 0.1395 0.1395 33.49% Gravity::solve_for_phi() 5 0.1339 0.1339 0.1339 32.16% Gravity::actual_solve_with_mlmg() 6 0.1337 0.1337 0.1337 32.11% MLMG::solve() 6 0.1216 0.1216 0.1216 29.20% Castro::construct_ctu_hydro_source() 5 0.1166 0.1166 0.1166 27.99% MLMG::oneIter() 36 0.114 0.114 0.114 27.39% MLMG::mgVcycle() 36 0.1125 0.1125 0.1125 27.01% Amr::init() 1 0.07228 0.07228 0.07228 17.36% Amr::restart() 1 0.07228 0.07228 0.07228 17.36% AmrLevel::restart() 1 0.06119 0.06119 0.06119 14.69% StateData::restartDoit() 4 0.06111 0.06111 0.06111 14.67% VisMF::Read() 3 0.06082 0.06082 0.06082 14.61% MLCellLinOp::smooth() 720 0.05141 0.05141 0.05141 12.35% MLCellLinOp::applyBC() 1946 0.04824 0.04824 0.04824 11.59% MLMG::mgVcycle_bottom 36 0.03987 0.03987 0.03987 9.58% MLMG::actualBottomSolve() 36 0.03986 0.03986 0.03986 9.57% MLCGSolver::bicgstab 36 0.03954 0.03954 0.03954 9.50% Amr::writePlotFile() 1 0.0313 0.0313 0.0313 7.52% VisMF::Write(FabArray) 1 0.02875 0.02875 0.02875 6.91% Castro::clean_state() 30 0.02847 0.02847 0.02847 6.84% AmrLevel::FillPatch() 20 0.02302 0.02302 0.02302 5.53% FillPatchIterator::Initialize 20 0.02093 0.02093 0.02093 5.03% FillPatchIterator::FillFromLevel0() 20 0.02013 0.02013 0.02013 4.83% FillPatchSingleLevel 20 0.02011 0.02011 0.02011 4.83% StateDataPhysBCFunct::() 20 0.01807 0.01807 0.01807 4.34% MLCellLinOp::apply() 500 0.01648 0.01648 0.01648 3.96% amrex::Dot() 484 0.01545 0.01545 0.01545 3.71% MLMG::mgVcycle_down::0 36 0.01467 0.01467 0.01467 3.52% MLPoisson::Fsmooth() 1440 0.01447 0.01447 0.01447 3.47% FabArray::FillBoundary() 1766 0.01352 0.01352 0.01352 3.25% StateData::FillBoundary(geom) 160 0.01334 0.01334 0.01334 3.20% FillBoundary_nowait() 1766 0.01315 0.01315 0.01315 3.16% MLCGSolver::ParallelAllReduce 659 0.01184 0.01184 0.01184 2.84% Castro::initialize_do_advance() 5 0.01128 0.01128 0.01128 2.71% MLMG::mgVcycle_up::0 36 0.01103 0.01103 0.01103 2.65% Castro::normalize_species() 30 0.01088 0.01088 0.01088 2.61% Castro::computeTemp() 30 0.01026 0.01026 0.01026 2.46% MLCellLinOp::correctionResidual() 216 0.009863 0.009863 0.009863 2.37% MLPoisson::define() 6 0.009514 0.009514 0.009514 2.28% Castro::do_old_sources() 5 0.00943 0.00943 0.00943 2.26% MLMG:computeResOfCorrection() 180 0.00866 0.00866 0.00866 2.08% Gravity::get_new_grav_vector() 5 0.008149 0.008149 0.008149 1.96% Castro::construct_old_gravity() 5 0.007587 0.007587 0.007587 1.82% Gravity::get_old_grav_vector() 5 0.007581 0.007581 0.007581 1.82% Castro::initialize_advance() 5 0.007363 0.007363 0.007363 1.77% amrex::Copy() 463 0.007312 0.007312 0.007312 1.76% MLMG::mgVcycle_down::1 36 0.007165 0.007165 0.007165 1.72% Castro::do_new_sources() 5 0.007091 0.007091 0.007091 1.70% FabArray::norminf() 326 0.006792 0.006792 0.006792 1.63% FabArray::ParallelCopy() 380 0.00666 0.00666 0.00666 1.60% FabArray::setVal() 537 0.006611 0.006611 0.006611 1.59% MLMG::mgVcycle_down::2 36 0.006578 0.006578 0.006578 1.58% FabArray::ParallelCopy_nowait() 380 0.006552 0.006552 0.006552 1.57% MLCellLinOp::defineAuxData() 6 0.006504 0.006504 0.006504 1.56% MLMG::mgVcycle_down::3 36 0.006427 0.006427 0.006427 1.54% MLMG::mgVcycle_down::4 36 0.006326 0.006326 0.006326 1.52% Castro::post_restart() 1 0.00621 0.00621 0.00621 1.49% Castro::expand_state() 5 0.006092 0.006092 0.006092 1.46% Castro::enforce_min_density() 30 0.005894 0.005894 0.005894 1.42% Gravity::multilevel_solve_for_new_phi() 1 0.005832 0.005832 0.005832 1.40% Gravity::actual_multilevel_solve() 1 0.005815 0.005815 0.005815 1.40% Gravity::fill_multipole_BCs() 6 0.00563 0.00563 0.00563 1.35% MLMG::addInterpCorrection() 180 0.005456 0.005456 0.005456 1.31% Castro::post_timestep() 5 0.005376 0.005376 0.005376 1.29% MLMG::mgVcycle_up::4 36 0.005202 0.005202 0.005202 1.25% MLMG::mgVcycle_up::1 36 0.005145 0.005145 0.005145 1.24% amrex::average_down 180 0.005085 0.005085 0.005085 1.22% MLMG::mgVcycle_up::2 36 0.005044 0.005044 0.005044 1.21% MLMG::mgVcycle_up::3 36 0.004934 0.004934 0.004934 1.18% MLPoisson::Fapply() 500 0.004704 0.004704 0.004704 1.13% FabArray::Saxpy() 355 0.003914 0.003914 0.003914 0.94% Castro::estTimeStep() 10 0.00368 0.00368 0.00368 0.88% FabArray::Xpay() 361 0.003667 0.003667 0.003667 0.88% MLCellLinOp::solutionResidual() 42 0.003525 0.003525 0.003525 0.85% Castro::reset_internal_energy(MultiFab) 30 0.003033 0.003033 0.003033 0.73% MLMG::prepareForSolve() 6 0.002869 0.002869 0.002869 0.69% MLCellLinOp::defineBC() 6 0.002856 0.002856 0.002856 0.69% MLMG::computeResidual() 36 0.002765 0.002765 0.002765 0.66% BndryData::define() 6 0.002722 0.002722 0.002722 0.65% Castro::computeNewDt() 5 0.002339 0.002339 0.002339 0.56% FabArray::LinComb() 242 0.002042 0.002042 0.002042 0.49% amrex::Add() 72 0.001914 0.001914 0.001914 0.46% Castro::construct_new_source() 25 0.001875 0.001875 0.001875 0.45% Castro::construct_new_gravity_source() 5 0.001772 0.001772 0.001772 0.43% Castro::construct_old_source() 25 0.001549 0.001549 0.001549 0.37% Castro::construct_old_gravity_source() 5 0.001502 0.001502 0.001502 0.36% Castro::finalize_do_advance() 5 0.001459 0.001459 0.001459 0.35% Castro::enforce_speed_limit() 30 0.0014 0.0014 0.0014 0.34% check_for_negative_density() 5 0.001011 0.001011 0.001011 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009924 0.0009924 0.0009924 0.24% Castro::apply_source_to_state() 10 0.0009696 0.0009696 0.0009696 0.23% MLMG::ResNormInf() 42 0.0009634 0.0009634 0.0009634 0.23% MLMG::getGradSolution() 6 0.0008833 0.0008833 0.0008833 0.21% MLCellLinOp::compGrad() 6 0.0008801 0.0008801 0.0008801 0.21% Castro::reset_internal_energy(Fab) 240 0.0008533 0.0008533 0.0008533 0.20% MLCellLinOp::setLevelBC() 6 0.0008458 0.0008458 0.0008458 0.20% FabArrayBase::getCPC() 632 0.0008056 0.0008056 0.0008056 0.19% MLPoisson::prepareForSolve() 6 0.0007837 0.0007837 0.0007837 0.19% MLMG::computeMLResidual() 6 0.0007833 0.0007833 0.0007833 0.19% MLCellLinOp::prepareForSolve() 6 0.0007736 0.0007736 0.0007736 0.19% Gravity::update_max_rhs() 6 0.0007166 0.0007166 0.0007166 0.17% FabArray::mult() 22 0.0006903 0.0006903 0.0006903 0.17% FabArray::setDomainBndry() 20 0.0006854 0.0006854 0.0006854 0.16% Castro::check_for_nan() 10 0.0006611 0.0006611 0.0006611 0.16% MultiFab::contains_nan() 10 0.0006545 0.0006545 0.0006545 0.16% Amr::InitAmr() 1 0.0004321 0.0004321 0.0004321 0.10% FabArrayBase::CPC::define() 244 0.0004224 0.0004224 0.0004224 0.10% FabArrayBase::getFB() 1766 0.0003331 0.0003331 0.0003331 0.08% Castro::finalize_advance() 5 0.0002958 0.0002958 0.0002958 0.07% Gravity::swapTimeLevels() 5 0.0002283 0.0002283 0.0002283 0.05% MultiFab::max() 6 0.0002076 0.0002076 0.0002076 0.05% MLMG::MLResNormInf() 6 0.0001895 0.0001895 0.0001895 0.05% Castro::buildMetrics() 1 0.0001503 0.0001503 0.0001503 0.04% MLLinOp::define() 6 0.0001398 0.0001398 0.0001398 0.03% MLLinOp::defineGrids() 6 0.0001342 0.0001342 0.0001342 0.03% MLMG::MLRhsNormInf() 6 0.000119 0.000119 0.000119 0.03% Castro::create_source_corrector() 5 8.129e-05 8.129e-05 8.129e-05 0.02% FabArrayBase::FB::FB() 26 6.047e-05 6.047e-05 6.047e-05 0.01% Amr::writeSmallPlotFile() 1 3.143e-05 3.143e-05 3.143e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.894e-05 2.894e-05 2.894e-05 0.01% Castro::initMFs() 1 2.603e-05 2.603e-05 2.603e-05 0.01% Castro::swap_state_time_levels() 5 2.504e-05 2.504e-05 2.504e-05 0.01% makeSFC 30 2.179e-05 2.179e-05 2.179e-05 0.01% DistributionMapping::Distribute() 31 1.004e-05 1.004e-05 1.004e-05 0.00% Amr::initSubcycle() 1 9.18e-06 9.18e-06 9.18e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.897e-06 4.897e-06 4.897e-06 0.00% Castro::retry_advance_ctu() 5 2.045e-06 2.045e-06 2.045e-06 0.00% Gravity::set_mass_offset() 6 1.981e-06 1.981e-06 1.981e-06 0.00% Castro::FluxRegCrseInit 5 1.434e-06 1.434e-06 1.434e-06 0.00% Castro::FluxRegFineAdd() 5 1.146e-06 1.146e-06 1.146e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.8e-07 9.8e-07 9.8e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 207 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 123 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1100 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2036 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6365 KiB 14 MiB MLMG::prepareForSolve() 361 361 3584 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 188 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 200 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6352 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3417 B 2048 KiB Gravity::solve_for_phi() 40 40 657 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 329 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 211 KiB 671 KiB Castro::estTimeStep() 10 10 4203 B 480 KiB VisMF::Write(FabArray) 112 112 2324 B 320 KiB Castro::normalize_species() 30 30 8499 B 320 KiB amrex::average_down 469 469 1179 B 257 KiB MLMG::addInterpCorrection() 468 468 1105 B 257 KiB amrex::Dot() 592 592 5712 B 160 KiB FabArray::norminf() 398 398 2409 B 160 KiB check_for_negative_density() 5 5 387 B 160 KiB MultiFab::max() 6 6 78 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3480 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 267 B 9648 B MLCellLinOp::applyBC() 3892 3892 212 B 9344 B amrex::Copy() 56 56 5655 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2016 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 138 B 1472 B MLCellLinOp::defineBC() 36 36 370 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1181 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 191 KiB 3584 KiB VisMF::Read() 24 24 221 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3480 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 267 B 9648 B MLCellLinOp::applyBC() 1946 1946 211 B 9328 B amrex::Copy() 56 56 5655 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2489 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2016 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 523 B 1296 B amrex::average_down 37 37 210 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 29 B 400 B FabArray::norminf() 398 398 20 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): 2528 [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.10-23-g601cc4ee80e0) finalized