Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-13-gb41f85ab36ac) initialized Starting run at 08:06:06 UTC on 2023-07-10. Successfully read inputs file ... Castro git describe: 23.07-12-gee0f06585 AMReX git describe: 23.07-13-gb41f85ab3 Microphysics git describe: 23.07-19-g4bea489a 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.057600378 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032960866 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.045173414 [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.071719598 [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.07321751 [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.055811247 [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.05481576 [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.056913759 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.066040354 [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.081217873 [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.070663424 [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.054371936 [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.058110262 [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.056816067 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032823756 seconds Ending run at 08:06:07 UTC on 2023-07-10. Run time = 0.916082285 Run time without initialization = 0.778344897 Average number of zones advanced per microsecond: 3.368 Average number of zones advanced per microsecond per rank: 3.368 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9161 ... 0.9161 ... 0.9161 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2777 0.2777 0.2777 30.31% VisMF::Write(FabArray) 11 0.2303 0.2303 0.2303 25.14% MLCellLinOp::applyBC() 4433 0.07485 0.07485 0.07485 8.17% MLPoisson::Fsmooth() 3280 0.03134 0.03134 0.03134 3.42% FillBoundary_nowait() 4023 0.03114 0.03114 0.03114 3.40% StateData::FillBoundary(geom) 328 0.02425 0.02425 0.02425 2.65% amrex::Dot() 1114 0.01979 0.01979 0.01979 2.16% Castro::normalize_species() 62 0.01778 0.01778 0.01778 1.94% amrex::Copy() 1029 0.01452 0.01452 0.01452 1.59% FabArray::norminf() 743 0.01383 0.01383 0.01383 1.51% Castro::computeTemp() 63 0.01307 0.01307 0.01307 1.43% FabArray::ParallelCopy_nowait() 861 0.01304 0.01304 0.01304 1.42% FabArray::setVal() 1144 0.01275 0.01275 0.01275 1.39% StateDataPhysBCFunct::() 41 0.01155 0.01155 0.01155 1.26% Castro::enforce_min_density() 62 0.01076 0.01076 0.01076 1.17% MLPoisson::Fapply() 1142 0.009998 0.009998 0.009998 1.09% MLCellLinOp::defineAuxData() 11 0.009578 0.009578 0.009578 1.05% FabArray::Saxpy() 813 0.007911 0.007911 0.007911 0.86% FabArray::Xpay() 821 0.00783 0.00783 0.00783 0.85% MLMG::addInterpCorrection() 410 0.00652 0.00652 0.00652 0.71% Gravity::fill_multipole_BCs() 11 0.006263 0.006263 0.006263 0.68% amrex::average_down 410 0.005822 0.005822 0.005822 0.64% Castro::estTimeStep() 21 0.005272 0.005272 0.005272 0.58% Castro::reset_internal_energy(MultiFab) 63 0.004725 0.004725 0.004725 0.52% amrex::Add() 164 0.004349 0.004349 0.004349 0.47% FabArray::LinComb() 557 0.004323 0.004323 0.004323 0.47% Amr::checkPoint() 3 0.003974 0.003974 0.003974 0.43% BndryData::define() 11 0.003504 0.003504 0.003504 0.38% Castro::construct_new_gravity_source() 10 0.002724 0.002724 0.002724 0.30% Amr::writePlotFile() 2 0.002347 0.002347 0.002347 0.26% Castro::construct_old_gravity_source() 10 0.002289 0.002289 0.002289 0.25% Castro::enforce_speed_limit() 62 0.002215 0.002215 0.002215 0.24% MLCGSolver::bicgstab 82 0.002118 0.002118 0.002118 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001644 0.001644 0.001644 0.18% Castro::reset_internal_energy(Fab) 504 0.001524 0.001524 0.001524 0.17% Gravity::actual_solve_with_mlmg() 11 0.001481 0.001481 0.001481 0.16% check_for_negative_density() 10 0.001433 0.001433 0.001433 0.16% MLCellLinOp::setLevelBC() 11 0.001356 0.001356 0.001356 0.15% FabArray::mult() 43 0.001301 0.001301 0.001301 0.14% FabArray::setDomainBndry() 41 0.001284 0.001284 0.001284 0.14% MultiFab::contains_nan() 20 0.001189 0.001189 0.001189 0.13% MLCellLinOp::smooth() 1640 0.001116 0.001116 0.001116 0.12% MLCellLinOp::prepareForSolve() 11 0.001099 0.001099 0.001099 0.12% Castro::initData() 1 0.001074 0.001074 0.001074 0.12% MLCellLinOp::compGrad() 11 0.0009044 0.0009044 0.0009044 0.10% MLMG::prepareForSolve() 11 0.0008528 0.0008528 0.0008528 0.09% FabArray::FillBoundary() 4023 0.0007875 0.0007875 0.0007875 0.09% FabArrayBase::getCPC() 1323 0.0007816 0.0007816 0.0007816 0.09% FabArrayBase::CPC::define() 454 0.000682 0.000682 0.000682 0.07% FabArrayBase::getFB() 4023 0.0006044 0.0006044 0.0006044 0.07% Gravity::get_new_grav_vector() 11 0.0005269 0.0005269 0.0005269 0.06% Amr::InitAmr() 1 0.0004746 0.0004746 0.0004746 0.05% Gravity::get_old_grav_vector() 10 0.0004728 0.0004728 0.0004728 0.05% MLCellLinOp::apply() 1142 0.0004408 0.0004408 0.0004408 0.05% MLLinOp::defineGrids() 11 0.0004072 0.0004072 0.0004072 0.04% MLMG::mgVcycle() 82 0.0004068 0.0004068 0.0004068 0.04% Amr::coarseTimeStep() 10 0.0003869 0.0003869 0.0003869 0.04% AmrLevel::FillPatch() 41 0.0003206 0.0003206 0.0003206 0.03% MLCGSolver::ParallelAllReduce 1514 0.000287 0.000287 0.000287 0.03% main() 1 0.0002844 0.0002844 0.0002844 0.03% MultiFab::max() 11 0.0002571 0.0002571 0.0002571 0.03% FabArray::ParallelCopy() 861 0.0002416 0.0002416 0.0002416 0.03% MLCellLinOp::defineBC() 11 0.0002169 0.0002169 0.0002169 0.02% MLCellLinOp::correctionResidual() 492 0.0002119 0.0002119 0.0002119 0.02% FillPatchIterator::Initialize 41 0.0002089 0.0002089 0.0002089 0.02% Castro::subcycle_advance_ctu() 10 0.0001976 0.0001976 0.0001976 0.02% Castro::create_source_corrector() 10 0.0001615 0.0001615 0.0001615 0.02% Amr::timeStep() 10 0.0001571 0.0001571 0.0001571 0.02% StateData::checkPoint() 12 0.0001356 0.0001356 0.0001356 0.01% Gravity::update_max_rhs() 11 0.0001296 0.0001296 0.0001296 0.01% Gravity::solve_for_phi() 10 0.0001278 0.0001278 0.0001278 0.01% MLMG:computeResOfCorrection() 410 0.000119 0.000119 0.000119 0.01% Castro::advance() 10 0.0001132 0.0001132 0.0001132 0.01% MLMG::actualBottomSolve() 82 9.088e-05 9.088e-05 9.088e-05 0.01% Castro::Castro() 1 8.538e-05 8.538e-05 8.538e-05 0.01% FabArrayBase::FB::FB() 56 8.537e-05 8.537e-05 8.537e-05 0.01% MLMG::mgVcycle_down::0 82 8.176e-05 8.176e-05 8.176e-05 0.01% MLMG::mgVcycle_down::1 82 7.814e-05 7.814e-05 7.814e-05 0.01% AmrLevel::checkPoint() 3 7.523e-05 7.523e-05 7.523e-05 0.01% MLMG::mgVcycle_down::2 82 7.456e-05 7.456e-05 7.456e-05 0.01% MLMG::mgVcycle_down::4 82 7.397e-05 7.397e-05 7.397e-05 0.01% Castro::initialize_advance() 10 7.29e-05 7.29e-05 7.29e-05 0.01% MLMG::solve() 11 7.175e-05 7.175e-05 7.175e-05 0.01% MLMG::mgVcycle_down::3 82 7.091e-05 7.091e-05 7.091e-05 0.01% Castro::clean_state() 62 6.734e-05 6.734e-05 6.734e-05 0.01% Castro::finalize_advance() 10 6.225e-05 6.225e-05 6.225e-05 0.01% MLMG::mgVcycle_up::4 82 6e-05 6e-05 6e-05 0.01% Castro::initialize_do_advance() 10 5.785e-05 5.785e-05 5.785e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.897e-05 4.897e-05 4.897e-05 0.01% MLMG::mgVcycle_up::1 82 4.849e-05 4.849e-05 4.849e-05 0.01% MLMG::mgVcycle_up::0 82 4.821e-05 4.821e-05 4.821e-05 0.01% MLMG::oneIter() 82 4.796e-05 4.796e-05 4.796e-05 0.01% MLMG::mgVcycle_up::3 82 4.759e-05 4.759e-05 4.759e-05 0.01% MLMG::mgVcycle_up::2 82 4.736e-05 4.736e-05 4.736e-05 0.01% Castro::do_advance_ctu() 10 4.721e-05 4.721e-05 4.721e-05 0.01% MLCellLinOp::solutionResidual() 93 4.664e-05 4.664e-05 4.664e-05 0.01% Castro::construct_new_source() 50 4.114e-05 4.114e-05 4.114e-05 0.00% Castro::finalize_do_advance() 10 4.018e-05 4.018e-05 4.018e-05 0.00% FillPatchSingleLevel 41 3.812e-05 3.812e-05 3.812e-05 0.00% Castro::swap_state_time_levels() 10 3.802e-05 3.802e-05 3.802e-05 0.00% StateData::define() 4 3.489e-05 3.489e-05 3.489e-05 0.00% MLMG::ResNormInf() 93 3.361e-05 3.361e-05 3.361e-05 0.00% MLMG::mgVcycle_bottom 82 3.351e-05 3.351e-05 3.351e-05 0.00% Castro::enforce_consistent_e() 1 3.314e-05 3.314e-05 3.314e-05 0.00% MLMG::computeResidual() 82 3.09e-05 3.09e-05 3.09e-05 0.00% makeSFC 55 2.658e-05 2.658e-05 2.658e-05 0.00% Amr::writeSmallPlotFile() 1 2.536e-05 2.536e-05 2.536e-05 0.00% Castro::construct_new_gravity() 10 2.309e-05 2.309e-05 2.309e-05 0.00% Castro::initMFs() 1 2.29e-05 2.29e-05 2.29e-05 0.00% MLPoisson::define() 11 2.262e-05 2.262e-05 2.262e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.169e-05 2.169e-05 2.169e-05 0.00% Castro::do_old_sources() 10 2.113e-05 2.113e-05 2.113e-05 0.00% Amr::FinalizeInit() 1 2.11e-05 2.11e-05 2.11e-05 0.00% Castro::construct_old_source() 50 1.85e-05 1.85e-05 1.85e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.779e-05 1.779e-05 1.779e-05 0.00% Castro::buildMetrics() 1 1.744e-05 1.744e-05 1.744e-05 0.00% Castro::do_new_sources() 10 1.73e-05 1.73e-05 1.73e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.687e-05 1.687e-05 1.687e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.485e-05 1.485e-05 1.485e-05 0.00% DistributionMapping::Distribute() 56 1.433e-05 1.433e-05 1.433e-05 0.00% MLPoisson::prepareForSolve() 11 1.414e-05 1.414e-05 1.414e-05 0.00% Amr::defBaseLevel() 1 1.244e-05 1.244e-05 1.244e-05 0.00% Castro::check_for_nan() 20 1.077e-05 1.077e-05 1.077e-05 0.00% MLLinOp::define() 11 9.973e-06 9.973e-06 9.973e-06 0.00% Castro::construct_old_gravity() 10 9.719e-06 9.719e-06 9.719e-06 0.00% Castro::apply_source_to_state() 20 9.642e-06 9.642e-06 9.642e-06 0.00% Gravity::swapTimeLevels() 10 8.894e-06 8.894e-06 8.894e-06 0.00% Amr::initSubcycle() 1 8.466e-06 8.466e-06 8.466e-06 0.00% Gravity::actual_multilevel_solve() 1 8.081e-06 8.081e-06 8.081e-06 0.00% MLMG::computeMLResidual() 11 7.89e-06 7.89e-06 7.89e-06 0.00% Castro::post_timestep() 10 7.476e-06 7.476e-06 7.476e-06 0.00% Castro::computeNewDt() 9 6.518e-06 6.518e-06 6.518e-06 0.00% MLMG::getGradSolution() 11 6.112e-06 6.112e-06 6.112e-06 0.00% AmrLevel::checkPointPost() 3 5.77e-06 5.77e-06 5.77e-06 0.00% Castro::expand_state() 10 5.481e-06 5.481e-06 5.481e-06 0.00% Amr::InitializeInit() 1 4.699e-06 4.699e-06 4.699e-06 0.00% Gravity::set_mass_offset() 11 4.555e-06 4.555e-06 4.555e-06 0.00% Castro::post_init() 1 4.438e-06 4.438e-06 4.438e-06 0.00% Castro::retry_advance_ctu() 10 3.83e-06 3.83e-06 3.83e-06 0.00% MLMG::MLRhsNormInf() 11 3.755e-06 3.755e-06 3.755e-06 0.00% MLMG::MLResNormInf() 11 3.425e-06 3.425e-06 3.425e-06 0.00% Castro::FluxRegCrseInit 10 3.158e-06 3.158e-06 3.158e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.931e-06 2.931e-06 2.931e-06 0.00% Castro::computeInitialDt() 2 2.859e-06 2.859e-06 2.859e-06 0.00% Amr::init() 1 2.48e-06 2.48e-06 2.48e-06 0.00% Castro::FluxRegFineAdd() 10 2.033e-06 2.033e-06 2.033e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.919e-06 1.919e-06 1.919e-06 0.00% AmrLevel::checkPointPre() 3 1.784e-06 1.784e-06 1.784e-06 0.00% Amr::initialInit() 1 9.92e-07 9.92e-07 9.92e-07 0.00% Castro::post_regrid() 1 8.8e-07 8.8e-07 8.8e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9161 0.9161 0.9161 100.00% Amr::coarseTimeStep() 10 0.7453 0.7453 0.7453 81.36% Amr::timeStep() 10 0.6281 0.6281 0.6281 68.56% Castro::advance() 10 0.6183 0.6183 0.6183 67.49% Castro::subcycle_advance_ctu() 10 0.6046 0.6046 0.6046 66.00% Castro::do_advance_ctu() 10 0.6044 0.6044 0.6044 65.98% Castro::construct_ctu_hydro_source() 10 0.2859 0.2859 0.2859 31.21% Gravity::solve_phi_with_mlmg() 11 0.2761 0.2761 0.2761 30.14% Gravity::actual_solve_with_mlmg() 11 0.2694 0.2694 0.2694 29.41% Castro::construct_new_gravity() 10 0.2524 0.2524 0.2524 27.55% MLMG::solve() 11 0.2491 0.2491 0.2491 27.19% Gravity::solve_for_phi() 10 0.2371 0.2371 0.2371 25.88% MLMG::oneIter() 82 0.2351 0.2351 0.2351 25.67% MLMG::mgVcycle() 82 0.2315 0.2315 0.2315 25.27% VisMF::Write(FabArray) 11 0.2303 0.2303 0.2303 25.14% Amr::checkPoint() 3 0.1715 0.1715 0.1715 18.72% AmrLevel::checkPoint() 3 0.1675 0.1675 0.1675 18.28% StateData::checkPoint() 12 0.1674 0.1674 0.1674 18.27% Amr::init() 1 0.1371 0.1371 0.1371 14.97% MLCellLinOp::smooth() 1640 0.1146 0.1146 0.1146 12.51% MLCellLinOp::applyBC() 4433 0.1075 0.1075 0.1075 11.73% MLMG::mgVcycle_bottom 82 0.07087 0.07087 0.07087 7.74% MLMG::actualBottomSolve() 82 0.07083 0.07083 0.07083 7.73% MLCGSolver::bicgstab 82 0.07016 0.07016 0.07016 7.66% Amr::writePlotFile() 2 0.0659 0.0659 0.0659 7.19% Castro::clean_state() 62 0.04948 0.04948 0.04948 5.40% Amr::initialInit() 1 0.04644 0.04644 0.04644 5.07% AmrLevel::FillPatch() 41 0.04554 0.04554 0.04554 4.97% Amr::FinalizeInit() 1 0.04267 0.04267 0.04267 4.66% FillPatchIterator::Initialize 41 0.04142 0.04142 0.04142 4.52% Castro::post_init() 1 0.0414 0.0414 0.0414 4.52% FillPatchIterator::FillFromLevel0() 41 0.03993 0.03993 0.03993 4.36% FillPatchSingleLevel 41 0.03988 0.03988 0.03988 4.35% Gravity::multilevel_solve_for_new_phi() 1 0.03951 0.03951 0.03951 4.31% Gravity::actual_multilevel_solve() 1 0.03949 0.03949 0.03949 4.31% StateDataPhysBCFunct::() 41 0.0358 0.0358 0.0358 3.91% MLCellLinOp::apply() 1142 0.03531 0.03531 0.03531 3.85% MLMG::mgVcycle_down::0 82 0.03356 0.03356 0.03356 3.66% FabArray::FillBoundary() 4023 0.03261 0.03261 0.03261 3.56% FillBoundary_nowait() 4023 0.03183 0.03183 0.03183 3.47% MLPoisson::Fsmooth() 3280 0.03134 0.03134 0.03134 3.42% MLMG::mgVcycle_up::0 82 0.02532 0.02532 0.02532 2.76% StateData::FillBoundary(geom) 328 0.02425 0.02425 0.02425 2.65% MLCellLinOp::correctionResidual() 492 0.02166 0.02166 0.02166 2.36% Castro::initialize_do_advance() 10 0.02002 0.02002 0.02002 2.18% amrex::Dot() 1114 0.01979 0.01979 0.01979 2.16% Castro::computeTemp() 63 0.01931 0.01931 0.01931 2.11% MLMG:computeResOfCorrection() 410 0.01912 0.01912 0.01912 2.09% Castro::normalize_species() 62 0.01778 0.01778 0.01778 1.94% Castro::do_old_sources() 10 0.01701 0.01701 0.01701 1.86% Gravity::get_new_grav_vector() 11 0.01687 0.01687 0.01687 1.84% MLPoisson::define() 11 0.01609 0.01609 0.01609 1.76% MLMG::mgVcycle_down::1 82 0.01542 0.01542 0.01542 1.68% Castro::construct_old_gravity() 10 0.01467 0.01467 0.01467 1.60% Gravity::get_old_grav_vector() 10 0.01466 0.01466 0.01466 1.60% amrex::Copy() 1029 0.01452 0.01452 0.01452 1.59% MLMG::mgVcycle_down::2 82 0.01432 0.01432 0.01432 1.56% FabArray::ParallelCopy() 861 0.0141 0.0141 0.0141 1.54% MLMG::mgVcycle_down::3 82 0.01405 0.01405 0.01405 1.53% FabArray::ParallelCopy_nowait() 861 0.01386 0.01386 0.01386 1.51% FabArray::norminf() 743 0.01383 0.01383 0.01383 1.51% MLMG::mgVcycle_down::4 82 0.01372 0.01372 0.01372 1.50% Castro::initialize_advance() 10 0.01292 0.01292 0.01292 1.41% FabArray::setVal() 1144 0.01275 0.01275 0.01275 1.39% MLCGSolver::ParallelAllReduce 1514 0.01187 0.01187 0.01187 1.30% MLMG::addInterpCorrection() 410 0.01153 0.01153 0.01153 1.26% Castro::do_new_sources() 10 0.01137 0.01137 0.01137 1.24% Castro::expand_state() 10 0.01133 0.01133 0.01133 1.24% MLMG::mgVcycle_up::1 82 0.01118 0.01118 0.01118 1.22% MLMG::mgVcycle_up::4 82 0.01104 0.01104 0.01104 1.20% MLCellLinOp::defineAuxData() 11 0.01092 0.01092 0.01092 1.19% MLMG::mgVcycle_up::2 82 0.0109 0.0109 0.0109 1.19% amrex::average_down 410 0.01087 0.01087 0.01087 1.19% Castro::enforce_min_density() 62 0.01076 0.01076 0.01076 1.17% MLMG::mgVcycle_up::3 82 0.01069 0.01069 0.01069 1.17% MLPoisson::Fapply() 1142 0.009998 0.009998 0.009998 1.09% Castro::post_timestep() 10 0.009679 0.009679 0.009679 1.06% FabArray::Saxpy() 813 0.007911 0.007911 0.007911 0.86% FabArray::Xpay() 821 0.00783 0.00783 0.00783 0.85% MLCellLinOp::solutionResidual() 93 0.006996 0.006996 0.006996 0.76% Gravity::fill_multipole_BCs() 11 0.006517 0.006517 0.006517 0.71% Castro::reset_internal_energy(MultiFab) 63 0.006248 0.006248 0.006248 0.68% MLMG::computeResidual() 82 0.006034 0.006034 0.006034 0.66% Castro::estTimeStep() 21 0.005272 0.005272 0.005272 0.58% MLCellLinOp::defineBC() 11 0.004679 0.004679 0.004679 0.51% MLMG::prepareForSolve() 11 0.004545 0.004545 0.004545 0.50% BndryData::define() 11 0.004462 0.004462 0.004462 0.49% amrex::Add() 164 0.004349 0.004349 0.004349 0.47% FabArray::LinComb() 557 0.004323 0.004323 0.004323 0.47% Amr::InitializeInit() 1 0.003766 0.003766 0.003766 0.41% Amr::defBaseLevel() 1 0.003762 0.003762 0.003762 0.41% Castro::initData() 1 0.003274 0.003274 0.003274 0.36% Castro::construct_new_source() 50 0.002765 0.002765 0.002765 0.30% Castro::construct_new_gravity_source() 10 0.002724 0.002724 0.002724 0.30% Castro::computeNewDt() 9 0.002346 0.002346 0.002346 0.26% Castro::construct_old_source() 50 0.002308 0.002308 0.002308 0.25% Castro::construct_old_gravity_source() 10 0.002289 0.002289 0.002289 0.25% Castro::enforce_speed_limit() 62 0.002215 0.002215 0.002215 0.24% Castro::finalize_do_advance() 10 0.002152 0.002152 0.002152 0.23% MLMG::ResNormInf() 93 0.002101 0.002101 0.002101 0.23% Castro::apply_source_to_state() 20 0.001819 0.001819 0.001819 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001644 0.001644 0.001644 0.18% Castro::reset_internal_energy(Fab) 504 0.001524 0.001524 0.001524 0.17% FabArrayBase::getCPC() 1323 0.001464 0.001464 0.001464 0.16% check_for_negative_density() 10 0.001433 0.001433 0.001433 0.16% MLMG::getGradSolution() 11 0.001376 0.001376 0.001376 0.15% MLCellLinOp::compGrad() 11 0.00137 0.00137 0.00137 0.15% MLCellLinOp::setLevelBC() 11 0.001356 0.001356 0.001356 0.15% FabArray::mult() 43 0.001301 0.001301 0.001301 0.14% FabArray::setDomainBndry() 41 0.001284 0.001284 0.001284 0.14% Castro::check_for_nan() 20 0.0012 0.0012 0.0012 0.13% MultiFab::contains_nan() 20 0.001189 0.001189 0.001189 0.13% MLPoisson::prepareForSolve() 11 0.001113 0.001113 0.001113 0.12% Castro::post_regrid() 1 0.001099 0.001099 0.001099 0.12% MLCellLinOp::prepareForSolve() 11 0.001099 0.001099 0.001099 0.12% MLMG::computeMLResidual() 11 0.001001 0.001001 0.001001 0.11% Gravity::update_max_rhs() 11 0.0008241 0.0008241 0.0008241 0.09% Castro::computeInitialDt() 2 0.0008237 0.0008237 0.0008237 0.09% FabArrayBase::getFB() 4023 0.0006898 0.0006898 0.0006898 0.08% FabArrayBase::CPC::define() 454 0.000682 0.000682 0.000682 0.07% Castro::finalize_advance() 10 0.000576 0.000576 0.000576 0.06% Amr::InitAmr() 1 0.0004831 0.0004831 0.0004831 0.05% MLLinOp::define() 11 0.0004737 0.0004737 0.0004737 0.05% MLLinOp::defineGrids() 11 0.0004637 0.0004637 0.0004637 0.05% Gravity::swapTimeLevels() 10 0.000433 0.000433 0.000433 0.05% Castro::Castro() 1 0.0004192 0.0004192 0.0004192 0.05% MLMG::MLResNormInf() 11 0.0002798 0.0002798 0.0002798 0.03% MultiFab::max() 11 0.0002571 0.0002571 0.0002571 0.03% MLMG::MLRhsNormInf() 11 0.0002146 0.0002146 0.0002146 0.02% Castro::create_source_corrector() 10 0.0001615 0.0001615 0.0001615 0.02% Castro::buildMetrics() 1 0.0001531 0.0001531 0.0001531 0.02% FabArrayBase::FB::FB() 56 8.537e-05 8.537e-05 8.537e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.463e-05 5.463e-05 5.463e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.176e-05 5.176e-05 5.176e-05 0.01% makeSFC 55 3.978e-05 3.978e-05 3.978e-05 0.00% Castro::swap_state_time_levels() 10 3.802e-05 3.802e-05 3.802e-05 0.00% StateData::define() 4 3.489e-05 3.489e-05 3.489e-05 0.00% Castro::enforce_consistent_e() 1 3.314e-05 3.314e-05 3.314e-05 0.00% Amr::writeSmallPlotFile() 1 2.536e-05 2.536e-05 2.536e-05 0.00% Castro::initMFs() 1 2.29e-05 2.29e-05 2.29e-05 0.00% DistributionMapping::Distribute() 56 1.433e-05 1.433e-05 1.433e-05 0.00% Amr::initSubcycle() 1 8.466e-06 8.466e-06 8.466e-06 0.00% AmrLevel::checkPointPost() 3 5.77e-06 5.77e-06 5.77e-06 0.00% Gravity::set_mass_offset() 11 4.555e-06 4.555e-06 4.555e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.066e-06 4.066e-06 4.066e-06 0.00% Castro::retry_advance_ctu() 10 3.83e-06 3.83e-06 3.83e-06 0.00% Castro::FluxRegCrseInit 10 3.158e-06 3.158e-06 3.158e-06 0.00% Castro::FluxRegFineAdd() 10 2.033e-06 2.033e-06 2.033e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.919e-06 1.919e-06 1.919e-06 0.00% AmrLevel::checkPointPre() 3 1.784e-06 1.784e-06 1.784e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 88 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 145 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 970 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2022 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7608 KiB 14 MiB MLMG::prepareForSolve() 660 660 3346 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 191 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 163 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7531 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1720 B 2048 KiB Gravity::solve_for_phi() 80 80 529 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 88 KiB 2048 KiB BndryData::define() 1056 1056 305 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 194 KiB 671 KiB Castro::estTimeStep() 21 21 2807 B 480 KiB VisMF::Write(FabArray) 656 656 3228 B 320 KiB Castro::normalize_species() 62 62 6323 B 320 KiB amrex::average_down 1067 1067 1199 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1093 B 257 KiB amrex::Dot() 1360 1360 3183 B 160 KiB FabArray::norminf() 907 907 2235 B 160 KiB check_for_negative_density() 10 10 248 B 160 KiB Castro::initData() 1 1 24 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3271 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 8866 8866 212 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3867 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 111 B 1472 B MLCellLinOp::defineBC() 66 66 397 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 612 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 579 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3271 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 4433 4433 210 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3867 B 6144 B Gravity::get_new_grav_vector() 3 3 2917 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 42 B 2784 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 278 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.07-13-gb41f85ab36ac) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-13-gb41f85ab36ac) initialized Starting run at 08:06:08 UTC on 2023-07-10. Successfully read inputs file ... Castro git describe: 23.07-12-gee0f06585 AMReX git describe: 23.07-13-gb41f85ab3 Microphysics git describe: 23.07-19-g4bea489a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.495386085 Restart time = 0.045401514 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.048859391 [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.055607351 [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.077968945 [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.073086416 [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.05350096 [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.032679415 seconds Ending run at 08:06:08 UTC on 2023-07-10. Run time = 0.388074355 Run time without initialization = 0.34210531 Average number of zones advanced per microsecond: 3.831 Average number of zones advanced per microsecond per rank: 3.831 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3881 ... 0.3881 ... 0.3881 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1289 0.1289 0.1289 33.22% VisMF::Read() 3 0.03911 0.03911 0.03911 10.08% MLCellLinOp::applyBC() 1946 0.03239 0.03239 0.03239 8.35% VisMF::Write(FabArray) 1 0.03105 0.03105 0.03105 8.00% MLPoisson::Fsmooth() 1440 0.01362 0.01362 0.01362 3.51% FillBoundary_nowait() 1766 0.01276 0.01276 0.01276 3.29% StateData::FillBoundary(geom) 160 0.01176 0.01176 0.01176 3.03% Castro::normalize_species() 30 0.008515 0.008515 0.008515 2.19% amrex::Dot() 484 0.008466 0.008466 0.008466 2.18% amrex::Copy() 463 0.006825 0.006825 0.006825 1.76% Castro::computeTemp() 30 0.006312 0.006312 0.006312 1.63% FabArray::setVal() 537 0.006088 0.006088 0.006088 1.57% FabArray::norminf() 326 0.006 0.006 0.006 1.55% FabArray::ParallelCopy_nowait() 380 0.005875 0.005875 0.005875 1.51% MLCellLinOp::defineAuxData() 6 0.0052 0.0052 0.0052 1.34% Castro::enforce_min_density() 30 0.005122 0.005122 0.005122 1.32% StateDataPhysBCFunct::() 20 0.004532 0.004532 0.004532 1.17% MLPoisson::Fapply() 500 0.004284 0.004284 0.004284 1.10% FabArray::Saxpy() 355 0.00352 0.00352 0.00352 0.91% Castro::estTimeStep() 10 0.003518 0.003518 0.003518 0.91% Gravity::fill_multipole_BCs() 6 0.003421 0.003421 0.003421 0.88% FabArray::Xpay() 361 0.003386 0.003386 0.003386 0.87% MLMG::addInterpCorrection() 180 0.002844 0.002844 0.002844 0.73% amrex::average_down 180 0.002547 0.002547 0.002547 0.66% Amr::restart() 1 0.00249 0.00249 0.00249 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002062 0.002062 0.002062 0.53% BndryData::define() 6 0.00192 0.00192 0.00192 0.49% FabArray::LinComb() 242 0.001845 0.001845 0.001845 0.48% amrex::Add() 72 0.001838 0.001838 0.001838 0.47% Castro::construct_new_gravity_source() 5 0.00156 0.00156 0.00156 0.40% Castro::reset_internal_energy(Fab) 240 0.001543 0.001543 0.001543 0.40% Amr::writePlotFile() 1 0.001457 0.001457 0.001457 0.38% Castro::construct_old_gravity_source() 5 0.001397 0.001397 0.001397 0.36% Castro::enforce_speed_limit() 30 0.001184 0.001184 0.001184 0.31% MLCGSolver::bicgstab 36 0.0009546 0.0009546 0.0009546 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008947 0.0008947 0.0008947 0.23% Gravity::actual_solve_with_mlmg() 6 0.0007921 0.0007921 0.0007921 0.20% MLCellLinOp::setLevelBC() 6 0.0007317 0.0007317 0.0007317 0.19% check_for_negative_density() 5 0.0007175 0.0007175 0.0007175 0.18% Castro::subcycle_advance_ctu() 5 0.0006672 0.0006672 0.0006672 0.17% FabArray::mult() 22 0.0006434 0.0006434 0.0006434 0.17% FabArray::setDomainBndry() 20 0.0006262 0.0006262 0.0006262 0.16% MultiFab::contains_nan() 10 0.0005975 0.0005975 0.0005975 0.15% MLCellLinOp::prepareForSolve() 6 0.0005961 0.0005961 0.0005961 0.15% MLCellLinOp::smooth() 720 0.0005187 0.0005187 0.0005187 0.13% MLCellLinOp::compGrad() 6 0.0004813 0.0004813 0.0004813 0.12% MLMG::prepareForSolve() 6 0.0004756 0.0004756 0.0004756 0.12% FabArrayBase::CPC::define() 244 0.0004363 0.0004363 0.0004363 0.11% Amr::InitAmr() 1 0.0003784 0.0003784 0.0003784 0.10% FabArrayBase::getCPC() 632 0.0003663 0.0003663 0.0003663 0.09% FabArray::FillBoundary() 1766 0.0003627 0.0003627 0.0003627 0.09% main() 1 0.0002865 0.0002865 0.0002865 0.07% Gravity::get_old_grav_vector() 5 0.0002589 0.0002589 0.0002589 0.07% FabArrayBase::getFB() 1766 0.0002483 0.0002483 0.0002483 0.06% Gravity::get_new_grav_vector() 5 0.0002331 0.0002331 0.0002331 0.06% MLCellLinOp::apply() 500 0.0002016 0.0002016 0.0002016 0.05% MLLinOp::defineGrids() 6 0.0002002 0.0002002 0.0002002 0.05% AmrLevel::FillPatch() 20 0.0001652 0.0001652 0.0001652 0.04% Amr::coarseTimeStep() 5 0.0001651 0.0001651 0.0001651 0.04% MLMG::mgVcycle() 36 0.0001625 0.0001625 0.0001625 0.04% MultiFab::max() 6 0.0001365 0.0001365 0.0001365 0.04% MLCGSolver::ParallelAllReduce 659 0.0001293 0.0001293 0.0001293 0.03% MLCellLinOp::defineBC() 6 0.0001219 0.0001219 0.0001219 0.03% FabArray::ParallelCopy() 380 0.0001059 0.0001059 0.0001059 0.03% FillPatchIterator::Initialize 20 0.0001019 0.0001019 0.0001019 0.03% MLCellLinOp::correctionResidual() 216 9.443e-05 9.443e-05 9.443e-05 0.02% Castro::construct_new_source() 25 9.401e-05 9.401e-05 9.401e-05 0.02% Amr::timeStep() 5 8.947e-05 8.947e-05 8.947e-05 0.02% Castro::do_new_sources() 5 8.862e-05 8.862e-05 8.862e-05 0.02% Castro::create_source_corrector() 5 7.877e-05 7.877e-05 7.877e-05 0.02% AmrLevel::restart() 1 7.594e-05 7.594e-05 7.594e-05 0.02% Gravity::update_max_rhs() 6 6.696e-05 6.696e-05 6.696e-05 0.02% Castro::finalize_do_advance() 5 6.403e-05 6.403e-05 6.403e-05 0.02% Gravity::solve_for_phi() 5 6.353e-05 6.353e-05 6.353e-05 0.02% StateData::restartDoit() 4 6.345e-05 6.345e-05 6.345e-05 0.02% FabArrayBase::FB::FB() 26 6.195e-05 6.195e-05 6.195e-05 0.02% Castro::advance() 5 5.62e-05 5.62e-05 5.62e-05 0.01% MLMG:computeResOfCorrection() 180 5.138e-05 5.138e-05 5.138e-05 0.01% MLMG::actualBottomSolve() 36 4.083e-05 4.083e-05 4.083e-05 0.01% MLMG::mgVcycle_down::0 36 3.734e-05 3.734e-05 3.734e-05 0.01% Castro::clean_state() 30 3.704e-05 3.704e-05 3.704e-05 0.01% MLMG::mgVcycle_down::1 36 3.503e-05 3.503e-05 3.503e-05 0.01% Castro::initialize_advance() 5 3.5e-05 3.5e-05 3.5e-05 0.01% MLMG::mgVcycle_down::4 36 3.353e-05 3.353e-05 3.353e-05 0.01% MLMG::solve() 6 3.342e-05 3.342e-05 3.342e-05 0.01% MLMG::mgVcycle_down::3 36 3.221e-05 3.221e-05 3.221e-05 0.01% MLMG::mgVcycle_down::2 36 3.219e-05 3.219e-05 3.219e-05 0.01% Castro::post_timestep() 5 3.029e-05 3.029e-05 3.029e-05 0.01% Castro::finalize_advance() 5 2.98e-05 2.98e-05 2.98e-05 0.01% Castro::initialize_do_advance() 5 2.869e-05 2.869e-05 2.869e-05 0.01% MLMG::mgVcycle_up::4 36 2.776e-05 2.776e-05 2.776e-05 0.01% Castro::buildMetrics() 1 2.761e-05 2.761e-05 2.761e-05 0.01% Castro::initMFs() 1 2.76e-05 2.76e-05 2.76e-05 0.01% Castro::swap_state_time_levels() 5 2.594e-05 2.594e-05 2.594e-05 0.01% Amr::writeSmallPlotFile() 1 2.575e-05 2.575e-05 2.575e-05 0.01% Castro::do_advance_ctu() 5 2.46e-05 2.46e-05 2.46e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.298e-05 2.298e-05 2.298e-05 0.01% MLCellLinOp::solutionResidual() 42 2.25e-05 2.25e-05 2.25e-05 0.01% MLMG::oneIter() 36 2.244e-05 2.244e-05 2.244e-05 0.01% Castro::post_restart() 1 2.183e-05 2.183e-05 2.183e-05 0.01% MLMG::mgVcycle_up::3 36 2.167e-05 2.167e-05 2.167e-05 0.01% MLMG::mgVcycle_up::0 36 2.162e-05 2.162e-05 2.162e-05 0.01% MLMG::mgVcycle_up::2 36 2.158e-05 2.158e-05 2.158e-05 0.01% MLMG::mgVcycle_up::1 36 2.084e-05 2.084e-05 2.084e-05 0.01% MLMG::ResNormInf() 42 1.856e-05 1.856e-05 1.856e-05 0.00% MLMG::computeResidual() 36 1.771e-05 1.771e-05 1.771e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.75e-05 1.75e-05 1.75e-05 0.00% FillPatchSingleLevel 20 1.596e-05 1.596e-05 1.596e-05 0.00% MLPoisson::define() 6 1.571e-05 1.571e-05 1.571e-05 0.00% MLMG::mgVcycle_bottom 36 1.56e-05 1.56e-05 1.56e-05 0.00% Castro::construct_new_gravity() 5 1.418e-05 1.418e-05 1.418e-05 0.00% makeSFC 30 1.392e-05 1.392e-05 1.392e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.196e-05 1.196e-05 1.196e-05 0.00% MLPoisson::prepareForSolve() 6 1.082e-05 1.082e-05 1.082e-05 0.00% Castro::do_old_sources() 5 1.082e-05 1.082e-05 1.082e-05 0.00% Castro::construct_old_source() 25 1.038e-05 1.038e-05 1.038e-05 0.00% DistributionMapping::Distribute() 31 8.968e-06 8.968e-06 8.968e-06 0.00% Amr::initSubcycle() 1 8.636e-06 8.636e-06 8.636e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.479e-06 8.479e-06 8.479e-06 0.00% Gravity::actual_multilevel_solve() 1 7.901e-06 7.901e-06 7.901e-06 0.00% Castro::check_for_nan() 10 6.361e-06 6.361e-06 6.361e-06 0.00% Castro::apply_source_to_state() 10 6.095e-06 6.095e-06 6.095e-06 0.00% MLLinOp::define() 6 6.061e-06 6.061e-06 6.061e-06 0.00% Castro::construct_old_gravity() 5 5.711e-06 5.711e-06 5.711e-06 0.00% Gravity::swapTimeLevels() 5 4.321e-06 4.321e-06 4.321e-06 0.00% MLMG::computeMLResidual() 6 4.08e-06 4.08e-06 4.08e-06 0.00% MLMG::getGradSolution() 6 3.607e-06 3.607e-06 3.607e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.554e-06 3.554e-06 3.554e-06 0.00% Castro::computeNewDt() 5 3.204e-06 3.204e-06 3.204e-06 0.00% MLMG::MLResNormInf() 6 2.542e-06 2.542e-06 2.542e-06 0.00% Castro::expand_state() 5 2.501e-06 2.501e-06 2.501e-06 0.00% Castro::FluxRegCrseInit 5 2.281e-06 2.281e-06 2.281e-06 0.00% Gravity::set_mass_offset() 6 2.114e-06 2.114e-06 2.114e-06 0.00% Castro::retry_advance_ctu() 5 2.049e-06 2.049e-06 2.049e-06 0.00% MLMG::MLRhsNormInf() 6 2.027e-06 2.027e-06 2.027e-06 0.00% Castro::FluxRegFineAdd() 5 1.269e-06 1.269e-06 1.269e-06 0.00% Amr::init() 1 1.118e-06 1.118e-06 1.118e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.036e-06 1.036e-06 1.036e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3881 0.3881 0.3881 100.00% Amr::coarseTimeStep() 5 0.3092 0.3092 0.3092 79.66% Amr::timeStep() 5 0.3071 0.3071 0.3071 79.12% Castro::advance() 5 0.3038 0.3038 0.3038 78.27% Castro::subcycle_advance_ctu() 5 0.2968 0.2968 0.2968 76.48% Castro::do_advance_ctu() 5 0.2961 0.2961 0.2961 76.31% Castro::construct_ctu_hydro_source() 5 0.1343 0.1343 0.1343 34.61% Castro::construct_new_gravity() 5 0.1268 0.1268 0.1268 32.68% Gravity::solve_phi_with_mlmg() 6 0.1223 0.1223 0.1223 31.51% Gravity::solve_for_phi() 5 0.1192 0.1192 0.1192 30.72% Gravity::actual_solve_with_mlmg() 6 0.1186 0.1186 0.1186 30.57% MLMG::solve() 6 0.1076 0.1076 0.1076 27.72% MLMG::oneIter() 36 0.1008 0.1008 0.1008 25.98% MLMG::mgVcycle() 36 0.09928 0.09928 0.09928 25.58% MLCellLinOp::smooth() 720 0.04898 0.04898 0.04898 12.62% MLCellLinOp::applyBC() 1946 0.04583 0.04583 0.04583 11.81% Amr::init() 1 0.04545 0.04545 0.04545 11.71% Amr::restart() 1 0.04545 0.04545 0.04545 11.71% AmrLevel::restart() 1 0.0393 0.0393 0.0393 10.13% StateData::restartDoit() 4 0.03922 0.03922 0.03922 10.11% VisMF::Read() 3 0.03911 0.03911 0.03911 10.08% Amr::writePlotFile() 1 0.03277 0.03277 0.03277 8.44% VisMF::Write(FabArray) 1 0.03105 0.03105 0.03105 8.00% MLMG::mgVcycle_bottom 36 0.03046 0.03046 0.03046 7.85% MLMG::actualBottomSolve() 36 0.03044 0.03044 0.03044 7.84% MLCGSolver::bicgstab 36 0.03015 0.03015 0.03015 7.77% Castro::clean_state() 30 0.02478 0.02478 0.02478 6.38% AmrLevel::FillPatch() 20 0.02111 0.02111 0.02111 5.44% FillPatchIterator::Initialize 20 0.01907 0.01907 0.01907 4.91% FillPatchIterator::FillFromLevel0() 20 0.01834 0.01834 0.01834 4.73% FillPatchSingleLevel 20 0.01832 0.01832 0.01832 4.72% StateDataPhysBCFunct::() 20 0.01629 0.01629 0.01629 4.20% MLCellLinOp::apply() 500 0.01522 0.01522 0.01522 3.92% MLMG::mgVcycle_down::0 36 0.01418 0.01418 0.01418 3.65% MLPoisson::Fsmooth() 1440 0.01362 0.01362 0.01362 3.51% FabArray::FillBoundary() 1766 0.01343 0.01343 0.01343 3.46% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.37% StateData::FillBoundary(geom) 160 0.01176 0.01176 0.01176 3.03% MLMG::mgVcycle_up::0 36 0.0107 0.0107 0.0107 2.76% Castro::computeTemp() 30 0.009917 0.009917 0.009917 2.56% Castro::initialize_do_advance() 5 0.009623 0.009623 0.009623 2.48% Castro::do_old_sources() 5 0.009265 0.009265 0.009265 2.39% MLCellLinOp::correctionResidual() 216 0.009241 0.009241 0.009241 2.38% MLPoisson::define() 6 0.008812 0.008812 0.008812 2.27% Castro::normalize_species() 30 0.008515 0.008515 0.008515 2.19% amrex::Dot() 484 0.008466 0.008466 0.008466 2.18% MLMG:computeResOfCorrection() 180 0.008139 0.008139 0.008139 2.10% Gravity::get_new_grav_vector() 5 0.007495 0.007495 0.007495 1.93% Castro::construct_old_gravity() 5 0.007422 0.007422 0.007422 1.91% Gravity::get_old_grav_vector() 5 0.007417 0.007417 0.007417 1.91% amrex::Copy() 463 0.006825 0.006825 0.006825 1.76% MLMG::mgVcycle_down::1 36 0.006632 0.006632 0.006632 1.71% Castro::initialize_advance() 5 0.006619 0.006619 0.006619 1.71% Castro::do_new_sources() 5 0.006567 0.006567 0.006567 1.69% FabArray::ParallelCopy() 380 0.006361 0.006361 0.006361 1.64% FabArray::ParallelCopy_nowait() 380 0.006255 0.006255 0.006255 1.61% MLMG::mgVcycle_down::2 36 0.00617 0.00617 0.00617 1.59% FabArray::setVal() 537 0.006088 0.006088 0.006088 1.57% MLMG::mgVcycle_down::3 36 0.006023 0.006023 0.006023 1.55% FabArray::norminf() 326 0.006 0.006 0.006 1.55% MLCellLinOp::defineAuxData() 6 0.005969 0.005969 0.005969 1.54% MLMG::mgVcycle_down::4 36 0.00595 0.00595 0.00595 1.53% Castro::enforce_min_density() 30 0.005122 0.005122 0.005122 1.32% MLCGSolver::ParallelAllReduce 659 0.005116 0.005116 0.005116 1.32% MLMG::addInterpCorrection() 180 0.005014 0.005014 0.005014 1.29% Castro::expand_state() 5 0.00488 0.00488 0.00488 1.26% MLMG::mgVcycle_up::1 36 0.004816 0.004816 0.004816 1.24% MLMG::mgVcycle_up::4 36 0.004802 0.004802 0.004802 1.24% MLMG::mgVcycle_up::2 36 0.004747 0.004747 0.004747 1.22% amrex::average_down 180 0.004731 0.004731 0.004731 1.22% MLMG::mgVcycle_up::3 36 0.004646 0.004646 0.004646 1.20% MLPoisson::Fapply() 500 0.004284 0.004284 0.004284 1.10% Castro::reset_internal_energy(MultiFab) 30 0.003605 0.003605 0.003605 0.93% Gravity::fill_multipole_BCs() 6 0.00355 0.00355 0.00355 0.91% FabArray::Saxpy() 355 0.00352 0.00352 0.00352 0.91% Castro::estTimeStep() 10 0.003518 0.003518 0.003518 0.91% Castro::post_restart() 1 0.003475 0.003475 0.003475 0.90% FabArray::Xpay() 361 0.003386 0.003386 0.003386 0.87% Gravity::multilevel_solve_for_new_phi() 1 0.003359 0.003359 0.003359 0.87% Gravity::actual_multilevel_solve() 1 0.003341 0.003341 0.003341 0.86% Castro::post_timestep() 5 0.003195 0.003195 0.003195 0.82% MLCellLinOp::solutionResidual() 42 0.003145 0.003145 0.003145 0.81% MLMG::computeResidual() 36 0.002598 0.002598 0.002598 0.67% MLCellLinOp::defineBC() 6 0.00259 0.00259 0.00259 0.67% MLMG::prepareForSolve() 6 0.002489 0.002489 0.002489 0.64% BndryData::define() 6 0.002468 0.002468 0.002468 0.64% Castro::computeNewDt() 5 0.001957 0.001957 0.001957 0.50% FabArray::LinComb() 242 0.001845 0.001845 0.001845 0.48% amrex::Add() 72 0.001838 0.001838 0.001838 0.47% Castro::construct_new_source() 25 0.001654 0.001654 0.001654 0.43% Castro::finalize_do_advance() 5 0.001628 0.001628 0.001628 0.42% Castro::construct_new_gravity_source() 5 0.00156 0.00156 0.00156 0.40% Castro::reset_internal_energy(Fab) 240 0.001543 0.001543 0.001543 0.40% Castro::construct_old_source() 25 0.001407 0.001407 0.001407 0.36% Castro::construct_old_gravity_source() 5 0.001397 0.001397 0.001397 0.36% Castro::enforce_speed_limit() 30 0.001184 0.001184 0.001184 0.31% MLMG::ResNormInf() 42 0.0009361 0.0009361 0.0009361 0.24% Castro::apply_source_to_state() 10 0.000918 0.000918 0.000918 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008947 0.0008947 0.0008947 0.23% FabArrayBase::getCPC() 632 0.0008026 0.0008026 0.0008026 0.21% MLMG::getGradSolution() 6 0.0007398 0.0007398 0.0007398 0.19% MLCellLinOp::compGrad() 6 0.0007362 0.0007362 0.0007362 0.19% MLCellLinOp::setLevelBC() 6 0.0007317 0.0007317 0.0007317 0.19% check_for_negative_density() 5 0.0007175 0.0007175 0.0007175 0.18% FabArray::mult() 22 0.0006434 0.0006434 0.0006434 0.17% FabArray::setDomainBndry() 20 0.0006262 0.0006262 0.0006262 0.16% MLPoisson::prepareForSolve() 6 0.0006069 0.0006069 0.0006069 0.16% Castro::check_for_nan() 10 0.0006038 0.0006038 0.0006038 0.16% MultiFab::contains_nan() 10 0.0005975 0.0005975 0.0005975 0.15% MLCellLinOp::prepareForSolve() 6 0.0005961 0.0005961 0.0005961 0.15% MLMG::computeMLResidual() 6 0.0005689 0.0005689 0.0005689 0.15% Gravity::update_max_rhs() 6 0.0004451 0.0004451 0.0004451 0.11% FabArrayBase::CPC::define() 244 0.0004363 0.0004363 0.0004363 0.11% Amr::InitAmr() 1 0.000387 0.000387 0.000387 0.10% FabArrayBase::getFB() 1766 0.0003102 0.0003102 0.0003102 0.08% Castro::finalize_advance() 5 0.0002821 0.0002821 0.0002821 0.07% MLLinOp::define() 6 0.0002376 0.0002376 0.0002376 0.06% MLLinOp::defineGrids() 6 0.0002315 0.0002315 0.0002315 0.06% Gravity::swapTimeLevels() 5 0.0002203 0.0002203 0.0002203 0.06% MLMG::MLResNormInf() 6 0.0001513 0.0001513 0.0001513 0.04% Castro::buildMetrics() 1 0.0001481 0.0001481 0.0001481 0.04% MultiFab::max() 6 0.0001365 0.0001365 0.0001365 0.04% MLMG::MLRhsNormInf() 6 0.0001148 0.0001148 0.0001148 0.03% Castro::create_source_corrector() 5 7.877e-05 7.877e-05 7.877e-05 0.02% FabArrayBase::FB::FB() 26 6.195e-05 6.195e-05 6.195e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 3.024e-05 3.024e-05 3.024e-05 0.01% Castro::initMFs() 1 2.76e-05 2.76e-05 2.76e-05 0.01% Castro::swap_state_time_levels() 5 2.594e-05 2.594e-05 2.594e-05 0.01% Amr::writeSmallPlotFile() 1 2.575e-05 2.575e-05 2.575e-05 0.01% makeSFC 30 2.176e-05 2.176e-05 2.176e-05 0.01% DistributionMapping::Distribute() 31 8.968e-06 8.968e-06 8.968e-06 0.00% Amr::initSubcycle() 1 8.636e-06 8.636e-06 8.636e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.683e-06 4.683e-06 4.683e-06 0.00% Castro::FluxRegCrseInit 5 2.281e-06 2.281e-06 2.281e-06 0.00% Gravity::set_mass_offset() 6 2.114e-06 2.114e-06 2.114e-06 0.00% Castro::retry_advance_ctu() 5 2.049e-06 2.049e-06 2.049e-06 0.00% Castro::FluxRegFineAdd() 5 1.269e-06 1.269e-06 1.269e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.036e-06 1.036e-06 1.036e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 206 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 146 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1036 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2361 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6744 KiB 14 MiB MLMG::prepareForSolve() 361 361 3403 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 198 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 197 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6739 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2219 B 2048 KiB Gravity::solve_for_phi() 40 40 627 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 313 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 201 KiB 671 KiB Castro::estTimeStep() 10 10 4331 B 480 KiB VisMF::Write(FabArray) 112 112 1261 B 320 KiB Castro::normalize_species() 30 30 7137 B 320 KiB amrex::average_down 469 469 1196 B 257 KiB MLMG::addInterpCorrection() 468 468 1105 B 257 KiB amrex::Dot() 592 592 3211 B 160 KiB FabArray::norminf() 398 398 2283 B 160 KiB check_for_negative_density() 5 5 292 B 160 KiB MultiFab::max() 6 6 54 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3309 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 3892 3892 217 B 9344 B amrex::Copy() 56 56 5978 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 406 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1391 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 113 KiB 8192 KiB VisMF::Write(FabArray) 120 120 245 KiB 3584 KiB VisMF::Read() 24 24 195 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3309 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 1946 1946 215 B 9328 B amrex::Copy() 56 56 5978 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2666 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 43 B 2784 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 225 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.07-13-gb41f85ab36ac) finalized