Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-6-g5b7fa9867d02) initialized Starting run at 10:07:58 UTC on 2023-03-08. Successfully read inputs file ... Castro git describe: 23.03-1-g11cc0c2de AMReX git describe: 23.03-6-g5b7fa9867 Microphysics git describe: 23.03-9-g7cc2e5f3 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.056572561 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032701228 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.045789521 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.04783441 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.04702383 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.053107745 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.058415218 [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.056025215 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.072593053 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.063613167 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.056017027 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.054605476 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.060484154 [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.055959536 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032844851 seconds Ending run at 10:07:58 UTC on 2023-03-08. Run time = 0.842007502 Run time without initialization = 0.704926057 Average number of zones advanced per microsecond: 3.719 Average number of zones advanced per microsecond per rank: 3.719 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.842 ... 0.842 ... 0.842 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2273 0.2273 0.2273 27.00% Castro::construct_ctu_hydro_source() 10 0.2105 0.2105 0.2105 25.00% MLCellLinOp::applyBC() 4433 0.07528 0.07528 0.07528 8.94% MLPoisson::Fsmooth() 3280 0.03144 0.03144 0.03144 3.73% FillBoundary_nowait() 4023 0.03062 0.03062 0.03062 3.64% StateData::FillBoundary(geom) 328 0.02438 0.02438 0.02438 2.90% amrex::Dot() 1114 0.01984 0.01984 0.01984 2.36% Castro::normalize_species() 62 0.01463 0.01463 0.01463 1.74% amrex::Copy() 1029 0.01461 0.01461 0.01461 1.74% FabArray::norminf() 743 0.01387 0.01387 0.01387 1.65% Castro::computeTemp() 63 0.01358 0.01358 0.01358 1.61% FabArray::ParallelCopy_nowait() 861 0.01304 0.01304 0.01304 1.55% FabArray::setVal() 1144 0.01282 0.01282 0.01282 1.52% StateDataPhysBCFunct::() 41 0.01229 0.01229 0.01229 1.46% MLPoisson::Fapply() 1142 0.01014 0.01014 0.01014 1.20% MLCellLinOp::defineAuxData() 11 0.009591 0.009591 0.009591 1.14% FabArray::Saxpy() 813 0.00792 0.00792 0.00792 0.94% FabArray::Xpay() 821 0.00783 0.00783 0.00783 0.93% Castro::enforce_min_density() 62 0.007773 0.007773 0.007773 0.92% MLMG::addInterpCorrection() 410 0.006755 0.006755 0.006755 0.80% Gravity::fill_multipole_BCs() 11 0.006265 0.006265 0.006265 0.74% amrex::average_down 410 0.005833 0.005833 0.005833 0.69% Castro::estTimeStep() 21 0.004702 0.004702 0.004702 0.56% FabArray::LinComb() 557 0.004362 0.004362 0.004362 0.52% amrex::Add() 164 0.004301 0.004301 0.004301 0.51% Castro::reset_internal_energy(MultiFab) 63 0.004239 0.004239 0.004239 0.50% Amr::checkPoint() 3 0.003939 0.003939 0.003939 0.47% BndryData::define() 11 0.003531 0.003531 0.003531 0.42% Castro::construct_new_gravity_source() 10 0.002794 0.002794 0.002794 0.33% Castro::do_advance_ctu() 10 0.002388 0.002388 0.002388 0.28% Amr::writePlotFile() 2 0.002335 0.002335 0.002335 0.28% Castro::reset_internal_energy(Fab) 504 0.002313 0.002313 0.002313 0.27% Castro::construct_old_gravity_source() 10 0.002275 0.002275 0.002275 0.27% MLCGSolver::bicgstab 82 0.002263 0.002263 0.002263 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001671 0.001671 0.001671 0.20% Gravity::actual_solve_with_mlmg() 11 0.001495 0.001495 0.001495 0.18% MLCellLinOp::setLevelBC() 11 0.001356 0.001356 0.001356 0.16% FabArray::mult() 43 0.001316 0.001316 0.001316 0.16% FabArray::setDomainBndry() 41 0.001271 0.001271 0.001271 0.15% Castro::initData() 1 0.001204 0.001204 0.001204 0.14% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.14% MLCellLinOp::prepareForSolve() 11 0.001092 0.001092 0.001092 0.13% MLCellLinOp::smooth() 1640 0.001082 0.001082 0.001082 0.13% MLCellLinOp::compGrad() 11 0.0008887 0.0008887 0.0008887 0.11% MLMG::prepareForSolve() 11 0.0008812 0.0008812 0.0008812 0.10% Castro::enforce_speed_limit() 62 0.0008767 0.0008767 0.0008767 0.10% FabArray::FillBoundary() 4023 0.0008364 0.0008364 0.0008364 0.10% FabArrayBase::getCPC() 1323 0.0007491 0.0007491 0.0007491 0.09% Castro::finalize_advance() 10 0.0007156 0.0007156 0.0007156 0.08% FabArrayBase::CPC::define() 454 0.0006866 0.0006866 0.0006866 0.08% Gravity::get_new_grav_vector() 11 0.0006323 0.0006323 0.0006323 0.08% FabArrayBase::getFB() 4023 0.0006179 0.0006179 0.0006179 0.07% Gravity::get_old_grav_vector() 10 0.0005454 0.0005454 0.0005454 0.06% Amr::InitAmr() 1 0.0004749 0.0004749 0.0004749 0.06% MLCellLinOp::apply() 1142 0.000458 0.000458 0.000458 0.05% MLMG::mgVcycle() 82 0.0003911 0.0003911 0.0003911 0.05% MLLinOp::defineGrids() 11 0.0003711 0.0003711 0.0003711 0.04% Amr::coarseTimeStep() 10 0.0003256 0.0003256 0.0003256 0.04% main() 1 0.0002963 0.0002963 0.0002963 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002783 0.0002783 0.0002783 0.03% MultiFab::max() 11 0.0002573 0.0002573 0.0002573 0.03% FillPatchIterator::Initialize 41 0.0002362 0.0002362 0.0002362 0.03% FabArray::ParallelCopy() 861 0.0002332 0.0002332 0.0002332 0.03% MLCellLinOp::correctionResidual() 492 0.0002268 0.0002268 0.0002268 0.03% MLCellLinOp::defineBC() 11 0.0002106 0.0002106 0.0002106 0.03% Castro::subcycle_advance_ctu() 10 0.0001859 0.0001859 0.0001859 0.02% Amr::timeStep() 10 0.0001646 0.0001646 0.0001646 0.02% StateData::checkPoint() 12 0.0001377 0.0001377 0.0001377 0.02% MLMG:computeResOfCorrection() 410 0.0001326 0.0001326 0.0001326 0.02% Gravity::update_max_rhs() 11 0.0001236 0.0001236 0.0001236 0.01% Gravity::solve_for_phi() 10 0.000112 0.000112 0.000112 0.01% Castro::advance() 10 0.0001004 0.0001004 0.0001004 0.01% MLMG::mgVcycle_down::0 82 9.615e-05 9.615e-05 9.615e-05 0.01% MLMG::actualBottomSolve() 82 9.264e-05 9.264e-05 9.264e-05 0.01% MLMG::mgVcycle_down::2 82 8.953e-05 8.953e-05 8.953e-05 0.01% MLMG::mgVcycle_down::1 82 8.864e-05 8.864e-05 8.864e-05 0.01% FabArrayBase::FB::FB() 56 8.852e-05 8.852e-05 8.852e-05 0.01% Castro::Castro() 1 8.122e-05 8.122e-05 8.122e-05 0.01% Castro::expand_state() 10 8.115e-05 8.115e-05 8.115e-05 0.01% Castro::clean_state() 62 8.086e-05 8.086e-05 8.086e-05 0.01% MLMG::mgVcycle_down::3 82 7.949e-05 7.949e-05 7.949e-05 0.01% MLMG::mgVcycle_down::4 82 7.797e-05 7.797e-05 7.797e-05 0.01% AmrLevel::checkPoint() 3 7.568e-05 7.568e-05 7.568e-05 0.01% Castro::initialize_advance() 10 7.552e-05 7.552e-05 7.552e-05 0.01% MLMG::solve() 11 7.313e-05 7.313e-05 7.313e-05 0.01% MLMG::mgVcycle_up::4 82 6.745e-05 6.745e-05 6.745e-05 0.01% MLMG::mgVcycle_up::0 82 5.766e-05 5.766e-05 5.766e-05 0.01% MLMG::mgVcycle_up::3 82 5.682e-05 5.682e-05 5.682e-05 0.01% MLMG::mgVcycle_up::1 82 5.678e-05 5.678e-05 5.678e-05 0.01% MLMG::mgVcycle_up::2 82 5.584e-05 5.584e-05 5.584e-05 0.01% MLMG::oneIter() 82 5.397e-05 5.397e-05 5.397e-05 0.01% Castro::initialize_do_advance() 10 5.335e-05 5.335e-05 5.335e-05 0.01% MLCellLinOp::solutionResidual() 93 5.117e-05 5.117e-05 5.117e-05 0.01% Castro::swap_state_time_levels() 10 4.013e-05 4.013e-05 4.013e-05 0.00% Castro::create_source_corrector() 10 3.873e-05 3.873e-05 3.873e-05 0.00% Castro::finalize_do_advance() 10 3.768e-05 3.768e-05 3.768e-05 0.00% Castro::construct_new_gravity() 10 3.639e-05 3.639e-05 3.639e-05 0.00% Castro::enforce_consistent_e() 1 3.369e-05 3.369e-05 3.369e-05 0.00% StateData::define() 4 3.349e-05 3.349e-05 3.349e-05 0.00% MLMG::computeResidual() 82 3.278e-05 3.278e-05 3.278e-05 0.00% MLMG::mgVcycle_bottom 82 3.224e-05 3.224e-05 3.224e-05 0.00% FillPatchSingleLevel 41 3.12e-05 3.12e-05 3.12e-05 0.00% MLMG::ResNormInf() 93 3.114e-05 3.114e-05 3.114e-05 0.00% Amr::writeSmallPlotFile() 1 2.43e-05 2.43e-05 2.43e-05 0.00% makeSFC 55 2.395e-05 2.395e-05 2.395e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.279e-05 2.279e-05 2.279e-05 0.00% MLPoisson::define() 11 2.227e-05 2.227e-05 2.227e-05 0.00% Castro::initMFs() 1 1.991e-05 1.991e-05 1.991e-05 0.00% Amr::FinalizeInit() 1 1.925e-05 1.925e-05 1.925e-05 0.00% Castro::construct_old_source() 50 1.912e-05 1.912e-05 1.912e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.809e-05 1.809e-05 1.809e-05 0.00% Castro::buildMetrics() 1 1.807e-05 1.807e-05 1.807e-05 0.00% Castro::do_new_sources() 10 1.745e-05 1.745e-05 1.745e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.733e-05 1.733e-05 1.733e-05 0.00% Castro::construct_new_source() 50 1.702e-05 1.702e-05 1.702e-05 0.00% Castro::do_old_sources() 10 1.603e-05 1.603e-05 1.603e-05 0.00% DistributionMapping::Distribute() 56 1.601e-05 1.601e-05 1.601e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.486e-05 1.486e-05 1.486e-05 0.00% MLPoisson::prepareForSolve() 11 1.379e-05 1.379e-05 1.379e-05 0.00% Amr::defBaseLevel() 1 1.329e-05 1.329e-05 1.329e-05 0.00% MLLinOp::define() 11 1.184e-05 1.184e-05 1.184e-05 0.00% Castro::check_for_nan() 20 1.127e-05 1.127e-05 1.127e-05 0.00% Castro::apply_source_to_state() 20 1.12e-05 1.12e-05 1.12e-05 0.00% Castro::construct_old_gravity() 10 9.271e-06 9.271e-06 9.271e-06 0.00% Gravity::swapTimeLevels() 10 9.248e-06 9.248e-06 9.248e-06 0.00% Amr::initSubcycle() 1 8.559e-06 8.559e-06 8.559e-06 0.00% MLMG::MLRhsNormInf() 11 8.419e-06 8.419e-06 8.419e-06 0.00% Castro::computeNewDt() 9 8.197e-06 8.197e-06 8.197e-06 0.00% MLMG::computeMLResidual() 11 8.186e-06 8.186e-06 8.186e-06 0.00% Castro::post_timestep() 10 8.1e-06 8.1e-06 8.1e-06 0.00% Gravity::actual_multilevel_solve() 1 7.598e-06 7.598e-06 7.598e-06 0.00% MLMG::getGradSolution() 11 5.573e-06 5.573e-06 5.573e-06 0.00% Amr::InitializeInit() 1 4.643e-06 4.643e-06 4.643e-06 0.00% Castro::FluxRegCrseInit 10 4.636e-06 4.636e-06 4.636e-06 0.00% AmrLevel::checkPointPost() 3 4.478e-06 4.478e-06 4.478e-06 0.00% Castro::post_init() 1 3.938e-06 3.938e-06 3.938e-06 0.00% Gravity::set_mass_offset() 11 3.849e-06 3.849e-06 3.849e-06 0.00% MLMG::MLResNormInf() 11 3.593e-06 3.593e-06 3.593e-06 0.00% Castro::retry_advance_ctu() 10 3.419e-06 3.419e-06 3.419e-06 0.00% Castro::computeInitialDt() 2 3.297e-06 3.297e-06 3.297e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.607e-06 2.607e-06 2.607e-06 0.00% Castro::FluxRegFineAdd() 10 2.524e-06 2.524e-06 2.524e-06 0.00% Amr::init() 1 2.394e-06 2.394e-06 2.394e-06 0.00% AmrLevel::checkPointPre() 3 2.176e-06 2.176e-06 2.176e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.163e-06 2.163e-06 2.163e-06 0.00% Amr::initialInit() 1 1.029e-06 1.029e-06 1.029e-06 0.00% Castro::post_regrid() 1 8.95e-07 8.95e-07 8.95e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.842 0.842 0.842 100.00% Amr::coarseTimeStep() 10 0.6719 0.6719 0.6719 79.79% Amr::timeStep() 10 0.5566 0.5566 0.5566 66.10% Castro::advance() 10 0.5495 0.5495 0.5495 65.26% Castro::subcycle_advance_ctu() 10 0.5361 0.5361 0.5361 63.67% Castro::do_advance_ctu() 10 0.5359 0.5359 0.5359 63.65% Gravity::solve_phi_with_mlmg() 11 0.277 0.277 0.277 32.90% Gravity::actual_solve_with_mlmg() 11 0.2703 0.2703 0.2703 32.10% Castro::construct_new_gravity() 10 0.2529 0.2529 0.2529 30.03% MLMG::solve() 11 0.25 0.25 0.25 29.69% Gravity::solve_for_phi() 10 0.2374 0.2374 0.2374 28.19% MLMG::oneIter() 82 0.2359 0.2359 0.2359 28.02% MLMG::mgVcycle() 82 0.2323 0.2323 0.2323 27.59% VisMF::Write(FabArray) 11 0.2273 0.2273 0.2273 27.00% Castro::construct_ctu_hydro_source() 10 0.2105 0.2105 0.2105 25.00% Amr::checkPoint() 3 0.1687 0.1687 0.1687 20.03% AmrLevel::checkPoint() 3 0.1647 0.1647 0.1647 19.56% StateData::checkPoint() 12 0.1647 0.1647 0.1647 19.55% Amr::init() 1 0.1365 0.1365 0.1365 16.21% MLCellLinOp::smooth() 1640 0.1146 0.1146 0.1146 13.61% MLCellLinOp::applyBC() 4433 0.1074 0.1074 0.1074 12.76% MLMG::mgVcycle_bottom 82 0.07132 0.07132 0.07132 8.47% MLMG::actualBottomSolve() 82 0.07129 0.07129 0.07129 8.47% MLCGSolver::bicgstab 82 0.07061 0.07061 0.07061 8.39% Amr::writePlotFile() 2 0.06568 0.06568 0.06568 7.80% Amr::initialInit() 1 0.04706 0.04706 0.04706 5.59% Amr::FinalizeInit() 1 0.04319 0.04319 0.04319 5.13% Castro::clean_state() 62 0.0428 0.0428 0.0428 5.08% FillPatchIterator::Initialize 41 0.04228 0.04228 0.04228 5.02% Castro::post_init() 1 0.0419 0.0419 0.0419 4.98% FillPatchSingleLevel 41 0.04077 0.04077 0.04077 4.84% Gravity::multilevel_solve_for_new_phi() 1 0.04005 0.04005 0.04005 4.76% Gravity::actual_multilevel_solve() 1 0.04003 0.04003 0.04003 4.75% StateDataPhysBCFunct::() 41 0.03668 0.03668 0.03668 4.36% MLCellLinOp::apply() 1142 0.03553 0.03553 0.03553 4.22% MLMG::mgVcycle_down::0 82 0.03327 0.03327 0.03327 3.95% FabArray::FillBoundary() 4023 0.03216 0.03216 0.03216 3.82% MLPoisson::Fsmooth() 3280 0.03144 0.03144 0.03144 3.73% FillBoundary_nowait() 4023 0.03133 0.03133 0.03133 3.72% MLMG::mgVcycle_up::0 82 0.02526 0.02526 0.02526 3.00% StateData::FillBoundary(geom) 328 0.02438 0.02438 0.02438 2.90% MLCellLinOp::correctionResidual() 492 0.02174 0.02174 0.02174 2.58% Castro::computeTemp() 63 0.02013 0.02013 0.02013 2.39% amrex::Dot() 1114 0.01984 0.01984 0.01984 2.36% MLMG:computeResOfCorrection() 410 0.01916 0.01916 0.01916 2.28% Castro::initialize_do_advance() 10 0.0179 0.0179 0.0179 2.13% Gravity::get_new_grav_vector() 11 0.01703 0.01703 0.01703 2.02% MLPoisson::define() 11 0.01608 0.01608 0.01608 1.91% MLMG::mgVcycle_down::1 82 0.01547 0.01547 0.01547 1.84% Castro::construct_old_gravity() 10 0.01522 0.01522 0.01522 1.81% Gravity::get_old_grav_vector() 10 0.01521 0.01521 0.01521 1.81% Castro::normalize_species() 62 0.01463 0.01463 0.01463 1.74% amrex::Copy() 1029 0.01461 0.01461 0.01461 1.74% MLMG::mgVcycle_down::2 82 0.0144 0.0144 0.0144 1.71% FabArray::ParallelCopy() 861 0.01409 0.01409 0.01409 1.67% MLMG::mgVcycle_down::3 82 0.01403 0.01403 0.01403 1.67% FabArray::norminf() 743 0.01387 0.01387 0.01387 1.65% MLMG::mgVcycle_down::4 82 0.01386 0.01386 0.01386 1.65% FabArray::ParallelCopy_nowait() 861 0.01385 0.01385 0.01385 1.65% FabArray::setVal() 1144 0.01282 0.01282 0.01282 1.52% Castro::initialize_advance() 10 0.01199 0.01199 0.01199 1.42% MLCGSolver::ParallelAllReduce 1514 0.0119 0.0119 0.0119 1.41% Castro::do_new_sources() 10 0.01186 0.01186 0.01186 1.41% MLMG::addInterpCorrection() 410 0.01175 0.01175 0.01175 1.40% Castro::expand_state() 10 0.01132 0.01132 0.01132 1.34% MLMG::mgVcycle_up::4 82 0.01131 0.01131 0.01131 1.34% MLMG::mgVcycle_up::1 82 0.01122 0.01122 0.01122 1.33% MLMG::mgVcycle_up::2 82 0.01102 0.01102 0.01102 1.31% MLCellLinOp::defineAuxData() 11 0.01093 0.01093 0.01093 1.30% amrex::average_down 410 0.01086 0.01086 0.01086 1.29% MLMG::mgVcycle_up::3 82 0.01074 0.01074 0.01074 1.28% MLPoisson::Fapply() 1142 0.01014 0.01014 0.01014 1.20% Castro::do_old_sources() 10 0.009465 0.009465 0.009465 1.12% FabArray::Saxpy() 813 0.00792 0.00792 0.00792 0.94% FabArray::Xpay() 821 0.00783 0.00783 0.00783 0.93% Castro::enforce_min_density() 62 0.007773 0.007773 0.007773 0.92% MLCellLinOp::solutionResidual() 93 0.007062 0.007062 0.007062 0.84% Castro::post_timestep() 10 0.006909 0.006909 0.006909 0.82% Castro::reset_internal_energy(MultiFab) 63 0.006552 0.006552 0.006552 0.78% Gravity::fill_multipole_BCs() 11 0.006547 0.006547 0.006547 0.78% MLMG::computeResidual() 82 0.0061 0.0061 0.0061 0.72% Castro::estTimeStep() 21 0.004702 0.004702 0.004702 0.56% MLCellLinOp::defineBC() 11 0.004691 0.004691 0.004691 0.56% MLMG::prepareForSolve() 11 0.004576 0.004576 0.004576 0.54% BndryData::define() 11 0.004481 0.004481 0.004481 0.53% FabArray::LinComb() 557 0.004362 0.004362 0.004362 0.52% amrex::Add() 164 0.004301 0.004301 0.004301 0.51% Amr::InitializeInit() 1 0.003864 0.003864 0.003864 0.46% Amr::defBaseLevel() 1 0.00386 0.00386 0.00386 0.46% Castro::initData() 1 0.003375 0.003375 0.003375 0.40% Castro::construct_new_source() 50 0.002811 0.002811 0.002811 0.33% Castro::construct_new_gravity_source() 10 0.002794 0.002794 0.002794 0.33% Castro::reset_internal_energy(Fab) 504 0.002313 0.002313 0.002313 0.27% Castro::construct_old_source() 50 0.002294 0.002294 0.002294 0.27% Castro::construct_old_gravity_source() 10 0.002275 0.002275 0.002275 0.27% Castro::computeNewDt() 9 0.002192 0.002192 0.002192 0.26% MLMG::ResNormInf() 93 0.002062 0.002062 0.002062 0.24% Castro::apply_source_to_state() 20 0.001815 0.001815 0.001815 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001671 0.001671 0.001671 0.20% FabArrayBase::getCPC() 1323 0.001436 0.001436 0.001436 0.17% MLMG::getGradSolution() 11 0.00136 0.00136 0.00136 0.16% MLCellLinOp::setLevelBC() 11 0.001356 0.001356 0.001356 0.16% MLCellLinOp::compGrad() 11 0.001354 0.001354 0.001354 0.16% FabArray::mult() 43 0.001316 0.001316 0.001316 0.16% Castro::finalize_advance() 10 0.001275 0.001275 0.001275 0.15% FabArray::setDomainBndry() 41 0.001271 0.001271 0.001271 0.15% Castro::check_for_nan() 20 0.00121 0.00121 0.00121 0.14% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.14% Castro::post_regrid() 1 0.001122 0.001122 0.001122 0.13% MLPoisson::prepareForSolve() 11 0.001106 0.001106 0.001106 0.13% MLCellLinOp::prepareForSolve() 11 0.001092 0.001092 0.001092 0.13% MLMG::computeMLResidual() 11 0.001003 0.001003 0.001003 0.12% Castro::enforce_speed_limit() 62 0.0008767 0.0008767 0.0008767 0.10% Castro::computeInitialDt() 2 0.0008686 0.0008686 0.0008686 0.10% Gravity::update_max_rhs() 11 0.0008192 0.0008192 0.0008192 0.10% FabArrayBase::getFB() 4023 0.0007064 0.0007064 0.0007064 0.08% FabArrayBase::CPC::define() 454 0.0006866 0.0006866 0.0006866 0.08% Amr::InitAmr() 1 0.0004835 0.0004835 0.0004835 0.06% MLLinOp::define() 11 0.0004384 0.0004384 0.0004384 0.05% Gravity::swapTimeLevels() 10 0.0004334 0.0004334 0.0004334 0.05% MLLinOp::defineGrids() 11 0.0004266 0.0004266 0.0004266 0.05% Castro::Castro() 1 0.0004159 0.0004159 0.0004159 0.05% MLMG::MLResNormInf() 11 0.0002894 0.0002894 0.0002894 0.03% MultiFab::max() 11 0.0002573 0.0002573 0.0002573 0.03% MLMG::MLRhsNormInf() 11 0.000223 0.000223 0.000223 0.03% Castro::buildMetrics() 1 0.0001541 0.0001541 0.0001541 0.02% FabArrayBase::FB::FB() 56 8.852e-05 8.852e-05 8.852e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.33e-05 5.33e-05 5.33e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.081e-05 5.081e-05 5.081e-05 0.01% Castro::swap_state_time_levels() 10 4.013e-05 4.013e-05 4.013e-05 0.00% Castro::create_source_corrector() 10 3.873e-05 3.873e-05 3.873e-05 0.00% makeSFC 55 3.844e-05 3.844e-05 3.844e-05 0.00% Castro::finalize_do_advance() 10 3.768e-05 3.768e-05 3.768e-05 0.00% Castro::enforce_consistent_e() 1 3.369e-05 3.369e-05 3.369e-05 0.00% StateData::define() 4 3.349e-05 3.349e-05 3.349e-05 0.00% Amr::writeSmallPlotFile() 1 2.43e-05 2.43e-05 2.43e-05 0.00% Castro::initMFs() 1 1.991e-05 1.991e-05 1.991e-05 0.00% DistributionMapping::Distribute() 56 1.601e-05 1.601e-05 1.601e-05 0.00% Amr::initSubcycle() 1 8.559e-06 8.559e-06 8.559e-06 0.00% Castro::FluxRegCrseInit 10 4.636e-06 4.636e-06 4.636e-06 0.00% AmrLevel::checkPointPost() 3 4.478e-06 4.478e-06 4.478e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.117e-06 4.117e-06 4.117e-06 0.00% Gravity::set_mass_offset() 11 3.849e-06 3.849e-06 3.849e-06 0.00% Castro::retry_advance_ctu() 10 3.419e-06 3.419e-06 3.419e-06 0.00% Castro::FluxRegFineAdd() 10 2.524e-06 2.524e-06 2.524e-06 0.00% AmrLevel::checkPointPre() 3 2.176e-06 2.176e-06 2.176e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.163e-06 2.163e-06 2.163e-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 102 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 117 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1069 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2191 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3652 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 209 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 185 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7525 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1855 B 2048 KiB Gravity::solve_for_phi() 80 80 576 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 333 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 212 KiB 671 KiB Castro::estTimeStep() 21 21 2709 B 480 KiB VisMF::Write(FabArray) 656 656 3508 B 320 KiB Castro::normalize_species() 62 62 5655 B 320 KiB amrex::average_down 1067 1067 1281 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1190 B 257 KiB amrex::Dot() 1360 1360 3472 B 160 KiB FabArray::norminf() 907 907 2437 B 160 KiB Castro::do_advance_ctu() 10 10 435 B 160 KiB MultiFab::max() 11 11 47 B 160 KiB Castro::initData() 1 1 28 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3571 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 318 B 9648 B MLCellLinOp::applyBC() 8866 8866 230 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3858 B 6144 B StateData::FillBoundary(geom) 1992 1992 50 B 2880 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 375 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 570 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 52 KiB 8192 KiB VisMF::Write(FabArray) 744 744 628 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3571 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 318 B 9648 B MLCellLinOp::applyBC() 4433 4433 228 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3858 B 6144 B Gravity::get_new_grav_vector() 3 3 2901 B 3072 B StateData::FillBoundary(geom) 1992 1992 51 B 2880 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 304 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.03-6-g5b7fa9867d02) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-6-g5b7fa9867d02) initialized Starting run at 10:07:59 UTC on 2023-03-08. Successfully read inputs file ... Castro git describe: 23.03-1-g11cc0c2de AMReX git describe: 23.03-6-g5b7fa9867 Microphysics git describe: 23.03-9-g7cc2e5f3 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.4452785 Restart time = 0.047594556 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.050021022 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.053945175 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.05602812 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.056400161 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.060921982 [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.032463536 seconds Ending run at 10:08:00 UTC on 2023-03-08. Run time = 0.358352579 Run time without initialization = 0.310196734 Average number of zones advanced per microsecond: 4.225 Average number of zones advanced per microsecond per rank: 4.225 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3584 ... 0.3584 ... 0.3584 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1003 0.1003 0.1003 27.98% VisMF::Read() 3 0.04148 0.04148 0.04148 11.57% MLCellLinOp::applyBC() 1946 0.03246 0.03246 0.03246 9.06% VisMF::Write(FabArray) 1 0.03085 0.03085 0.03085 8.61% MLPoisson::Fsmooth() 1440 0.01366 0.01366 0.01366 3.81% FillBoundary_nowait() 1766 0.01274 0.01274 0.01274 3.56% StateData::FillBoundary(geom) 160 0.01183 0.01183 0.01183 3.30% amrex::Dot() 484 0.008458 0.008458 0.008458 2.36% Castro::normalize_species() 30 0.007455 0.007455 0.007455 2.08% amrex::Copy() 463 0.00685 0.00685 0.00685 1.91% FabArray::setVal() 537 0.006065 0.006065 0.006065 1.69% FabArray::norminf() 326 0.006018 0.006018 0.006018 1.68% FabArray::ParallelCopy_nowait() 380 0.005926 0.005926 0.005926 1.65% Castro::computeTemp() 30 0.005697 0.005697 0.005697 1.59% StateDataPhysBCFunct::() 20 0.005528 0.005528 0.005528 1.54% MLCellLinOp::defineAuxData() 6 0.005048 0.005048 0.005048 1.41% Castro::enforce_min_density() 30 0.00479 0.00479 0.00479 1.34% MLPoisson::Fapply() 500 0.004328 0.004328 0.004328 1.21% FabArray::Saxpy() 355 0.003537 0.003537 0.003537 0.99% FabArray::Xpay() 361 0.00339 0.00339 0.00339 0.95% MLMG::addInterpCorrection() 180 0.002884 0.002884 0.002884 0.80% Gravity::fill_multipole_BCs() 6 0.002581 0.002581 0.002581 0.72% amrex::average_down 180 0.002527 0.002527 0.002527 0.71% Amr::restart() 1 0.002425 0.002425 0.002425 0.68% Castro::estTimeStep() 10 0.002103 0.002103 0.002103 0.59% BndryData::define() 6 0.00191 0.00191 0.00191 0.53% Castro::reset_internal_energy(MultiFab) 30 0.001868 0.001868 0.001868 0.52% FabArray::LinComb() 242 0.001845 0.001845 0.001845 0.51% amrex::Add() 72 0.001833 0.001833 0.001833 0.51% Amr::writePlotFile() 1 0.001445 0.001445 0.001445 0.40% Castro::construct_new_gravity_source() 5 0.001408 0.001408 0.001408 0.39% Castro::do_advance_ctu() 5 0.001112 0.001112 0.001112 0.31% Castro::construct_old_gravity_source() 5 0.0009997 0.0009997 0.0009997 0.28% MLCGSolver::bicgstab 36 0.0009785 0.0009785 0.0009785 0.27% Castro::reset_internal_energy(Fab) 240 0.0009138 0.0009138 0.0009138 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008768 0.0008768 0.0008768 0.24% Castro::finalize_advance() 5 0.0008528 0.0008528 0.0008528 0.24% Castro::advance() 5 0.0008217 0.0008217 0.0008217 0.23% Gravity::actual_solve_with_mlmg() 6 0.0007799 0.0007799 0.0007799 0.22% MLCellLinOp::setLevelBC() 6 0.0007178 0.0007178 0.0007178 0.20% Castro::post_timestep() 5 0.0006509 0.0006509 0.0006509 0.18% FabArray::setDomainBndry() 20 0.0006409 0.0006409 0.0006409 0.18% FabArray::mult() 22 0.0006398 0.0006398 0.0006398 0.18% Castro::enforce_speed_limit() 30 0.0006269 0.0006269 0.0006269 0.17% MultiFab::contains_nan() 10 0.000592 0.000592 0.000592 0.17% MLCellLinOp::prepareForSolve() 6 0.0005833 0.0005833 0.0005833 0.16% MLCellLinOp::smooth() 720 0.0004955 0.0004955 0.0004955 0.14% MLCellLinOp::compGrad() 6 0.0004815 0.0004815 0.0004815 0.13% MLMG::prepareForSolve() 6 0.0004762 0.0004762 0.0004762 0.13% FabArrayBase::CPC::define() 244 0.0004132 0.0004132 0.0004132 0.12% Amr::InitAmr() 1 0.0003919 0.0003919 0.0003919 0.11% FabArray::FillBoundary() 1766 0.0003741 0.0003741 0.0003741 0.10% FabArrayBase::getCPC() 632 0.000356 0.000356 0.000356 0.10% Gravity::get_old_grav_vector() 5 0.0003428 0.0003428 0.0003428 0.10% Gravity::get_new_grav_vector() 5 0.0002703 0.0002703 0.0002703 0.08% main() 1 0.0002654 0.0002654 0.0002654 0.07% FabArrayBase::getFB() 1766 0.0002644 0.0002644 0.0002644 0.07% MLCellLinOp::apply() 500 0.0002108 0.0002108 0.0002108 0.06% Amr::coarseTimeStep() 5 0.0001763 0.0001763 0.0001763 0.05% MLLinOp::defineGrids() 6 0.0001733 0.0001733 0.0001733 0.05% MLMG::mgVcycle() 36 0.000171 0.000171 0.000171 0.05% MultiFab::max() 6 0.0001352 0.0001352 0.0001352 0.04% Castro::subcycle_advance_ctu() 5 0.0001332 0.0001332 0.0001332 0.04% FillPatchIterator::Initialize 20 0.0001285 0.0001285 0.0001285 0.04% MLCGSolver::ParallelAllReduce 659 0.0001279 0.0001279 0.0001279 0.04% Castro::construct_new_source() 25 0.0001149 0.0001149 0.0001149 0.03% MLCellLinOp::defineBC() 6 0.0001136 0.0001136 0.0001136 0.03% FabArray::ParallelCopy() 380 0.000108 0.000108 0.000108 0.03% MLCellLinOp::correctionResidual() 216 9.804e-05 9.804e-05 9.804e-05 0.03% Amr::timeStep() 5 8.094e-05 8.094e-05 8.094e-05 0.02% AmrLevel::restart() 1 8.029e-05 8.029e-05 8.029e-05 0.02% StateData::restartDoit() 4 6.222e-05 6.222e-05 6.222e-05 0.02% Gravity::update_max_rhs() 6 6.197e-05 6.197e-05 6.197e-05 0.02% FabArrayBase::FB::FB() 26 5.882e-05 5.882e-05 5.882e-05 0.02% MLMG:computeResOfCorrection() 180 5.708e-05 5.708e-05 5.708e-05 0.02% Castro::initialize_do_advance() 5 5.564e-05 5.564e-05 5.564e-05 0.02% Gravity::solve_for_phi() 5 5.202e-05 5.202e-05 5.202e-05 0.01% Castro::construct_new_gravity() 5 5.024e-05 5.024e-05 5.024e-05 0.01% Castro::expand_state() 5 4.465e-05 4.465e-05 4.465e-05 0.01% MLMG::actualBottomSolve() 36 4.203e-05 4.203e-05 4.203e-05 0.01% MLMG::mgVcycle_down::0 36 4.194e-05 4.194e-05 4.194e-05 0.01% Castro::clean_state() 30 3.756e-05 3.756e-05 3.756e-05 0.01% Castro::create_source_corrector() 5 3.697e-05 3.697e-05 3.697e-05 0.01% MLMG::mgVcycle_down::1 36 3.619e-05 3.619e-05 3.619e-05 0.01% MLMG::mgVcycle_down::4 36 3.485e-05 3.485e-05 3.485e-05 0.01% MLMG::mgVcycle_down::2 36 3.473e-05 3.473e-05 3.473e-05 0.01% MLMG::solve() 6 3.408e-05 3.408e-05 3.408e-05 0.01% Castro::initialize_advance() 5 3.363e-05 3.363e-05 3.363e-05 0.01% MLMG::mgVcycle_down::3 36 3.36e-05 3.36e-05 3.36e-05 0.01% MLMG::mgVcycle_up::4 36 3.095e-05 3.095e-05 3.095e-05 0.01% Castro::post_restart() 1 3.015e-05 3.015e-05 3.015e-05 0.01% Castro::buildMetrics() 1 2.656e-05 2.656e-05 2.656e-05 0.01% Amr::writeSmallPlotFile() 1 2.543e-05 2.543e-05 2.543e-05 0.01% MLMG::mgVcycle_up::0 36 2.481e-05 2.481e-05 2.481e-05 0.01% MLMG::oneIter() 36 2.475e-05 2.475e-05 2.475e-05 0.01% Castro::swap_state_time_levels() 5 2.378e-05 2.378e-05 2.378e-05 0.01% MLMG::mgVcycle_up::3 36 2.35e-05 2.35e-05 2.35e-05 0.01% MLMG::mgVcycle_up::2 36 2.331e-05 2.331e-05 2.331e-05 0.01% MLMG::mgVcycle_up::1 36 2.317e-05 2.317e-05 2.317e-05 0.01% MLCellLinOp::solutionResidual() 42 2.275e-05 2.275e-05 2.275e-05 0.01% Castro::initMFs() 1 2.234e-05 2.234e-05 2.234e-05 0.01% Gravity::solve_phi_with_mlmg() 6 2.035e-05 2.035e-05 2.035e-05 0.01% Castro::finalize_do_advance() 5 1.992e-05 1.992e-05 1.992e-05 0.01% Castro::computeNewDt() 5 1.98e-05 1.98e-05 1.98e-05 0.01% MLMG::ResNormInf() 42 1.779e-05 1.779e-05 1.779e-05 0.00% FillPatchSingleLevel 20 1.561e-05 1.561e-05 1.561e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.55e-05 1.55e-05 1.55e-05 0.00% MLMG::computeResidual() 36 1.458e-05 1.458e-05 1.458e-05 0.00% MLPoisson::define() 6 1.447e-05 1.447e-05 1.447e-05 0.00% MLMG::mgVcycle_bottom 36 1.398e-05 1.398e-05 1.398e-05 0.00% makeSFC 30 1.352e-05 1.352e-05 1.352e-05 0.00% MLPoisson::prepareForSolve() 6 1.006e-05 1.006e-05 1.006e-05 0.00% Castro::construct_old_source() 25 9.934e-06 9.934e-06 9.934e-06 0.00% Castro::do_new_sources() 5 9.738e-06 9.738e-06 9.738e-06 0.00% DistributionMapping::Distribute() 31 8.607e-06 8.607e-06 8.607e-06 0.00% Amr::initSubcycle() 1 8.404e-06 8.404e-06 8.404e-06 0.00% Castro::do_old_sources() 5 8.105e-06 8.105e-06 8.105e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.823e-06 7.823e-06 7.823e-06 0.00% Gravity::actual_multilevel_solve() 1 7.73e-06 7.73e-06 7.73e-06 0.00% Castro::check_for_nan() 10 5.718e-06 5.718e-06 5.718e-06 0.00% Castro::apply_source_to_state() 10 5.503e-06 5.503e-06 5.503e-06 0.00% Castro::construct_old_gravity() 5 5.503e-06 5.503e-06 5.503e-06 0.00% MLLinOp::define() 6 5.235e-06 5.235e-06 5.235e-06 0.00% Gravity::swapTimeLevels() 5 4.036e-06 4.036e-06 4.036e-06 0.00% MLMG::computeMLResidual() 6 3.616e-06 3.616e-06 3.616e-06 0.00% MLMG::getGradSolution() 6 3.386e-06 3.386e-06 3.386e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.382e-06 3.382e-06 3.382e-06 0.00% Castro::FluxRegCrseInit 5 2.606e-06 2.606e-06 2.606e-06 0.00% MLMG::MLRhsNormInf() 6 2.388e-06 2.388e-06 2.388e-06 0.00% MLMG::MLResNormInf() 6 2.254e-06 2.254e-06 2.254e-06 0.00% Gravity::set_mass_offset() 6 2.108e-06 2.108e-06 2.108e-06 0.00% Castro::retry_advance_ctu() 5 1.756e-06 1.756e-06 1.756e-06 0.00% Castro::FluxRegFineAdd() 5 1.556e-06 1.556e-06 1.556e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.079e-06 1.079e-06 1.079e-06 0.00% Amr::init() 1 9.3e-07 9.3e-07 9.3e-07 0.00% AmrLevel::AmrLevel() 1 8.05e-07 8.05e-07 8.05e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3584 0.3584 0.3584 100.00% Amr::coarseTimeStep() 5 0.2775 0.2775 0.2775 77.43% Amr::timeStep() 5 0.2761 0.2761 0.2761 77.04% Castro::advance() 5 0.2719 0.2719 0.2719 75.88% Castro::subcycle_advance_ctu() 5 0.2642 0.2642 0.2642 73.73% Castro::do_advance_ctu() 5 0.2641 0.2641 0.2641 73.69% Castro::construct_new_gravity() 5 0.1262 0.1262 0.1262 35.20% Gravity::solve_phi_with_mlmg() 6 0.1214 0.1214 0.1214 33.87% Gravity::actual_solve_with_mlmg() 6 0.1186 0.1186 0.1186 33.08% Gravity::solve_for_phi() 5 0.1184 0.1184 0.1184 33.03% MLMG::solve() 6 0.1078 0.1078 0.1078 30.07% MLMG::oneIter() 36 0.101 0.101 0.101 28.19% Castro::construct_ctu_hydro_source() 5 0.1003 0.1003 0.1003 27.98% MLMG::mgVcycle() 36 0.09948 0.09948 0.09948 27.76% MLCellLinOp::smooth() 720 0.04899 0.04899 0.04899 13.67% Amr::init() 1 0.04764 0.04764 0.04764 13.29% Amr::restart() 1 0.04764 0.04764 0.04764 13.29% MLCellLinOp::applyBC() 1946 0.04589 0.04589 0.04589 12.81% AmrLevel::restart() 1 0.04168 0.04168 0.04168 11.63% StateData::restartDoit() 4 0.04159 0.04159 0.04159 11.61% VisMF::Read() 3 0.04148 0.04148 0.04148 11.57% Amr::writePlotFile() 1 0.03255 0.03255 0.03255 9.08% VisMF::Write(FabArray) 1 0.03085 0.03085 0.03085 8.61% MLMG::mgVcycle_bottom 36 0.03057 0.03057 0.03057 8.53% MLMG::actualBottomSolve() 36 0.03055 0.03055 0.03055 8.53% MLCGSolver::bicgstab 36 0.03026 0.03026 0.03026 8.44% Castro::clean_state() 30 0.02139 0.02139 0.02139 5.97% FillPatchIterator::Initialize 20 0.02021 0.02021 0.02021 5.64% FillPatchSingleLevel 20 0.01944 0.01944 0.01944 5.43% StateDataPhysBCFunct::() 20 0.01735 0.01735 0.01735 4.84% MLCellLinOp::apply() 500 0.01534 0.01534 0.01534 4.28% MLMG::mgVcycle_down::0 36 0.01411 0.01411 0.01411 3.94% MLPoisson::Fsmooth() 1440 0.01366 0.01366 0.01366 3.81% FabArray::FillBoundary() 1766 0.01344 0.01344 0.01344 3.75% FillBoundary_nowait() 1766 0.01306 0.01306 0.01306 3.65% StateData::FillBoundary(geom) 160 0.01183 0.01183 0.01183 3.30% MLMG::mgVcycle_up::0 36 0.01065 0.01065 0.01065 2.97% Castro::initialize_do_advance() 5 0.009443 0.009443 0.009443 2.63% MLCellLinOp::correctionResidual() 216 0.009291 0.009291 0.009291 2.59% MLPoisson::define() 6 0.008552 0.008552 0.008552 2.39% Castro::computeTemp() 30 0.008479 0.008479 0.008479 2.37% amrex::Dot() 484 0.008458 0.008458 0.008458 2.36% MLMG:computeResOfCorrection() 180 0.008171 0.008171 0.008171 2.28% Castro::construct_old_gravity() 5 0.007634 0.007634 0.007634 2.13% Gravity::get_old_grav_vector() 5 0.007628 0.007628 0.007628 2.13% Gravity::get_new_grav_vector() 5 0.007621 0.007621 0.007621 2.13% Castro::normalize_species() 30 0.007455 0.007455 0.007455 2.08% Castro::do_new_sources() 5 0.007428 0.007428 0.007428 2.07% amrex::Copy() 463 0.00685 0.00685 0.00685 1.91% MLMG::mgVcycle_down::1 36 0.006656 0.006656 0.006656 1.86% FabArray::ParallelCopy() 380 0.006423 0.006423 0.006423 1.79% FabArray::ParallelCopy_nowait() 380 0.006315 0.006315 0.006315 1.76% MLMG::mgVcycle_down::2 36 0.006205 0.006205 0.006205 1.73% FabArray::setVal() 537 0.006065 0.006065 0.006065 1.69% MLMG::mgVcycle_down::3 36 0.006034 0.006034 0.006034 1.68% FabArray::norminf() 326 0.006018 0.006018 0.006018 1.68% MLMG::mgVcycle_down::4 36 0.005974 0.005974 0.005974 1.67% MLCellLinOp::defineAuxData() 6 0.005759 0.005759 0.005759 1.61% Castro::initialize_advance() 5 0.005742 0.005742 0.005742 1.60% Castro::expand_state() 5 0.005708 0.005708 0.005708 1.59% MLCGSolver::ParallelAllReduce 659 0.005102 0.005102 0.005102 1.42% MLMG::addInterpCorrection() 180 0.005045 0.005045 0.005045 1.41% MLMG::mgVcycle_up::4 36 0.004881 0.004881 0.004881 1.36% MLMG::mgVcycle_up::1 36 0.004837 0.004837 0.004837 1.35% Castro::enforce_min_density() 30 0.00479 0.00479 0.00479 1.34% MLMG::mgVcycle_up::2 36 0.004737 0.004737 0.004737 1.32% amrex::average_down 180 0.004714 0.004714 0.004714 1.32% MLMG::mgVcycle_up::3 36 0.004659 0.004659 0.004659 1.30% MLPoisson::Fapply() 500 0.004328 0.004328 0.004328 1.21% Castro::post_timestep() 5 0.004087 0.004087 0.004087 1.14% Castro::do_old_sources() 5 0.004013 0.004013 0.004013 1.12% FabArray::Saxpy() 355 0.003537 0.003537 0.003537 0.99% FabArray::Xpay() 361 0.00339 0.00339 0.00339 0.95% Castro::post_restart() 1 0.003358 0.003358 0.003358 0.94% Gravity::multilevel_solve_for_new_phi() 1 0.00324 0.00324 0.00324 0.90% Gravity::actual_multilevel_solve() 1 0.003224 0.003224 0.003224 0.90% MLCellLinOp::solutionResidual() 42 0.003198 0.003198 0.003198 0.89% Castro::reset_internal_energy(MultiFab) 30 0.002782 0.002782 0.002782 0.78% Gravity::fill_multipole_BCs() 6 0.002721 0.002721 0.002721 0.76% MLMG::computeResidual() 36 0.002664 0.002664 0.002664 0.74% MLCellLinOp::defineBC() 6 0.002571 0.002571 0.002571 0.72% BndryData::define() 6 0.002457 0.002457 0.002457 0.69% MLMG::prepareForSolve() 6 0.002447 0.002447 0.002447 0.68% Castro::estTimeStep() 10 0.002103 0.002103 0.002103 0.59% FabArray::LinComb() 242 0.001845 0.001845 0.001845 0.51% amrex::Add() 72 0.001833 0.001833 0.001833 0.51% Castro::construct_new_source() 25 0.001522 0.001522 0.001522 0.42% Castro::construct_new_gravity_source() 5 0.001408 0.001408 0.001408 0.39% Castro::computeNewDt() 5 0.001208 0.001208 0.001208 0.34% Castro::finalize_advance() 5 0.001136 0.001136 0.001136 0.32% Castro::construct_old_source() 25 0.00101 0.00101 0.00101 0.28% Castro::construct_old_gravity_source() 5 0.0009997 0.0009997 0.0009997 0.28% Castro::apply_source_to_state() 10 0.0009193 0.0009193 0.0009193 0.26% Castro::reset_internal_energy(Fab) 240 0.0009138 0.0009138 0.0009138 0.25% MLMG::ResNormInf() 42 0.0009134 0.0009134 0.0009134 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008768 0.0008768 0.0008768 0.24% FabArrayBase::getCPC() 632 0.0007692 0.0007692 0.0007692 0.21% MLMG::getGradSolution() 6 0.0007417 0.0007417 0.0007417 0.21% MLCellLinOp::compGrad() 6 0.0007383 0.0007383 0.0007383 0.21% MLCellLinOp::setLevelBC() 6 0.0007178 0.0007178 0.0007178 0.20% FabArray::setDomainBndry() 20 0.0006409 0.0006409 0.0006409 0.18% FabArray::mult() 22 0.0006398 0.0006398 0.0006398 0.18% Castro::enforce_speed_limit() 30 0.0006269 0.0006269 0.0006269 0.17% Castro::check_for_nan() 10 0.0005977 0.0005977 0.0005977 0.17% MLPoisson::prepareForSolve() 6 0.0005933 0.0005933 0.0005933 0.17% MultiFab::contains_nan() 10 0.000592 0.000592 0.000592 0.17% MLCellLinOp::prepareForSolve() 6 0.0005833 0.0005833 0.0005833 0.16% MLMG::computeMLResidual() 6 0.0005523 0.0005523 0.0005523 0.15% Gravity::update_max_rhs() 6 0.0004388 0.0004388 0.0004388 0.12% FabArrayBase::CPC::define() 244 0.0004132 0.0004132 0.0004132 0.12% Amr::InitAmr() 1 0.0004003 0.0004003 0.0004003 0.11% FabArrayBase::getFB() 1766 0.0003233 0.0003233 0.0003233 0.09% Gravity::swapTimeLevels() 5 0.0002196 0.0002196 0.0002196 0.06% MLLinOp::define() 6 0.0002083 0.0002083 0.0002083 0.06% MLLinOp::defineGrids() 6 0.000203 0.000203 0.000203 0.06% MLMG::MLResNormInf() 6 0.0001534 0.0001534 0.0001534 0.04% Castro::buildMetrics() 1 0.0001531 0.0001531 0.0001531 0.04% MultiFab::max() 6 0.0001352 0.0001352 0.0001352 0.04% MLMG::MLRhsNormInf() 6 0.0001164 0.0001164 0.0001164 0.03% FabArrayBase::FB::FB() 26 5.882e-05 5.882e-05 5.882e-05 0.02% Castro::create_source_corrector() 5 3.697e-05 3.697e-05 3.697e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.867e-05 2.867e-05 2.867e-05 0.01% Amr::writeSmallPlotFile() 1 2.543e-05 2.543e-05 2.543e-05 0.01% Castro::swap_state_time_levels() 5 2.378e-05 2.378e-05 2.378e-05 0.01% Castro::initMFs() 1 2.234e-05 2.234e-05 2.234e-05 0.01% makeSFC 30 2.085e-05 2.085e-05 2.085e-05 0.01% Castro::finalize_do_advance() 5 1.992e-05 1.992e-05 1.992e-05 0.01% DistributionMapping::Distribute() 31 8.607e-06 8.607e-06 8.607e-06 0.00% Amr::initSubcycle() 1 8.404e-06 8.404e-06 8.404e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.656e-06 4.656e-06 4.656e-06 0.00% Castro::FluxRegCrseInit 5 2.606e-06 2.606e-06 2.606e-06 0.00% Gravity::set_mass_offset() 6 2.108e-06 2.108e-06 2.108e-06 0.00% Castro::retry_advance_ctu() 5 1.756e-06 1.756e-06 1.756e-06 0.00% Castro::FluxRegFineAdd() 5 1.556e-06 1.556e-06 1.556e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.079e-06 1.079e-06 1.079e-06 0.00% AmrLevel::AmrLevel() 1 8.05e-07 8.05e-07 8.05e-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 241 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 122 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1224 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2540 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 6625 KiB 14 MiB MLMG::prepareForSolve() 361 361 3692 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 219 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 217 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6620 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 10 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2361 B 2048 KiB Gravity::solve_for_phi() 40 40 675 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 339 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 217 KiB 671 KiB Castro::estTimeStep() 10 10 2727 B 480 KiB VisMF::Write(FabArray) 112 112 1358 B 320 KiB Castro::normalize_species() 30 30 6763 B 320 KiB amrex::average_down 469 469 1263 B 257 KiB MLMG::addInterpCorrection() 468 468 1203 B 257 KiB amrex::Dot() 592 592 3481 B 160 KiB FabArray::norminf() 398 398 2479 B 160 KiB Castro::do_advance_ctu() 5 5 437 B 160 KiB MultiFab::max() 6 6 58 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3592 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 54 B 10 KiB FillBoundary_nowait() 336 336 308 B 9648 B MLCellLinOp::applyBC() 3892 3892 235 B 9344 B amrex::Copy() 56 56 5891 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 50 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 122 B 1472 B MLCellLinOp::defineBC() 36 36 381 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1350 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 123 KiB 8192 KiB VisMF::Write(FabArray) 120 120 264 KiB 3584 KiB VisMF::Read() 24 24 215 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3592 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 54 B 10 KiB FillBoundary_nowait() 336 336 308 B 9648 B MLCellLinOp::applyBC() 1946 1946 233 B 9328 B amrex::Copy() 56 56 5891 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2609 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 50 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 543 B 1296 B amrex::average_down 37 37 219 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.03-6-g5b7fa9867d02) finalized