Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-22-g346a4d1c915f) initialized Starting run at 08:42:24 UTC on 2023-08-08. Successfully read inputs file ... Castro git describe: 23.08 AMReX git describe: 23.08-22-g346a4d1c9 Microphysics git describe: 23.08-3-g3d2714f8 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.06042902 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034588153 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.047282268 [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.067143458 [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.073579648 [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.066486271 [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.056908843 [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.060662201 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.049904448 [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.082178233 [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.081241886 [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.048943779 [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.050689062 [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.0594295 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034412343 seconds Ending run at 08:42:25 UTC on 2023-08-08. Run time = 0.923527319 Run time without initialization = 0.779513223 Average number of zones advanced per microsecond: 3.363 Average number of zones advanced per microsecond per rank: 3.363 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9236 ... 0.9236 ... 0.9236 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2580 0.2580 0.2580 27.94% VisMF::Write(FabArray) 11 0.2425 0.2425 0.2425 26.26% MLCellLinOp::applyBC() 4433 0.07669 0.07669 0.07669 8.30% MLPoisson::Fsmooth() 3280 0.03201 0.03201 0.03201 3.47% FillBoundary_nowait() 4023 0.03102 0.03102 0.03102 3.36% StateData::FillBoundary(geom) 328 0.02534 0.02534 0.02534 2.74% amrex::Dot() 1114 0.02049 0.02049 0.02049 2.22% Castro::normalize_species() 62 0.01921 0.01921 0.01921 2.08% Castro::computeTemp() 63 0.01617 0.01617 0.01617 1.75% amrex::Copy() 1029 0.01482 0.01482 0.01482 1.60% FabArray::norminf() 743 0.01435 0.01435 0.01435 1.55% FabArray::ParallelCopy_nowait() 861 0.01342 0.01342 0.01342 1.45% FabArray::setVal() 1144 0.01308 0.01308 0.01308 1.42% Castro::enforce_min_density() 62 0.01144 0.01144 0.01144 1.24% StateDataPhysBCFunct::() 41 0.01106 0.01106 0.01106 1.20% MLPoisson::Fapply() 1142 0.01028 0.01028 0.01028 1.11% MLCellLinOp::defineAuxData() 11 0.009636 0.009636 0.009636 1.04% FabArray::Saxpy() 813 0.008131 0.008131 0.008131 0.88% FabArray::Xpay() 821 0.008031 0.008031 0.008031 0.87% Gravity::fill_multipole_BCs() 11 0.006848 0.006848 0.006848 0.74% MLMG::addInterpCorrection() 410 0.006663 0.006663 0.006663 0.72% amrex::average_down 410 0.005905 0.005905 0.005905 0.64% Castro::estTimeStep() 21 0.005343 0.005343 0.005343 0.58% Castro::reset_internal_energy(MultiFab) 63 0.004826 0.004826 0.004826 0.52% FabArray::LinComb() 557 0.00451 0.00451 0.00451 0.49% amrex::Add() 164 0.004314 0.004314 0.004314 0.47% Amr::checkPoint() 3 0.004106 0.004106 0.004106 0.44% BndryData::define() 11 0.003735 0.003735 0.003735 0.40% Castro::construct_new_gravity_source() 10 0.003163 0.003163 0.003163 0.34% Castro::construct_old_gravity_source() 10 0.002696 0.002696 0.002696 0.29% Castro::enforce_speed_limit() 62 0.002696 0.002696 0.002696 0.29% Amr::writePlotFile() 2 0.002445 0.002445 0.002445 0.26% MLCGSolver::bicgstab 82 0.002199 0.002199 0.002199 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001675 0.001675 0.001675 0.18% check_for_negative_density() 10 0.001603 0.001603 0.001603 0.17% Castro::reset_internal_energy(Fab) 504 0.001559 0.001559 0.001559 0.17% Gravity::actual_solve_with_mlmg() 11 0.001471 0.001471 0.001471 0.16% MLCellLinOp::setLevelBC() 11 0.001388 0.001388 0.001388 0.15% FabArray::mult() 43 0.001312 0.001312 0.001312 0.14% FabArray::setDomainBndry() 41 0.0013 0.0013 0.0013 0.14% Castro::initData() 1 0.001265 0.001265 0.001265 0.14% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.13% MLCellLinOp::prepareForSolve() 11 0.001155 0.001155 0.001155 0.13% MLCellLinOp::smooth() 1640 0.001096 0.001096 0.001096 0.12% MLCellLinOp::compGrad() 11 0.000914 0.000914 0.000914 0.10% MLMG::prepareForSolve() 11 0.0008652 0.0008652 0.0008652 0.09% FabArray::FillBoundary() 4023 0.0008104 0.0008104 0.0008104 0.09% FabArrayBase::getCPC() 1323 0.0007227 0.0007227 0.0007227 0.08% FabArrayBase::CPC::define() 454 0.0006771 0.0006771 0.0006771 0.07% FabArrayBase::getFB() 4023 0.0005937 0.0005937 0.0005937 0.06% Gravity::get_new_grav_vector() 11 0.0005745 0.0005745 0.0005745 0.06% Amr::InitAmr() 1 0.0005191 0.0005191 0.0005191 0.06% Gravity::get_old_grav_vector() 10 0.0004888 0.0004888 0.0004888 0.05% MLCellLinOp::apply() 1142 0.0004312 0.0004312 0.0004312 0.05% MLMG::mgVcycle() 82 0.0003701 0.0003701 0.0003701 0.04% Amr::coarseTimeStep() 10 0.0003645 0.0003645 0.0003645 0.04% MLLinOp::defineGrids() 11 0.0003461 0.0003461 0.0003461 0.04% AmrLevel::FillPatch() 41 0.0003194 0.0003194 0.0003194 0.03% main() 1 0.0003131 0.0003131 0.0003131 0.03% MLCGSolver::ParallelAllReduce 1514 0.000299 0.000299 0.000299 0.03% MultiFab::max() 11 0.0002585 0.0002585 0.0002585 0.03% FabArray::ParallelCopy() 861 0.0002324 0.0002324 0.0002324 0.03% MLCellLinOp::correctionResidual() 492 0.0002265 0.0002265 0.0002265 0.02% FillPatchIterator::Initialize 41 0.0002134 0.0002134 0.0002134 0.02% MLCellLinOp::defineBC() 11 0.0002089 0.0002089 0.0002089 0.02% Castro::subcycle_advance_ctu() 10 0.0001822 0.0001822 0.0001822 0.02% Castro::create_source_corrector() 10 0.0001799 0.0001799 0.0001799 0.02% Amr::timeStep() 10 0.0001585 0.0001585 0.0001585 0.02% StateData::checkPoint() 12 0.0001359 0.0001359 0.0001359 0.01% Gravity::update_max_rhs() 11 0.0001318 0.0001318 0.0001318 0.01% Gravity::solve_for_phi() 10 0.000126 0.000126 0.000126 0.01% MLMG:computeResOfCorrection() 410 0.0001236 0.0001236 0.0001236 0.01% Castro::construct_new_source() 50 0.0001048 0.0001048 0.0001048 0.01% Castro::advance() 10 9.673e-05 9.673e-05 9.673e-05 0.01% Castro::Castro() 1 9.327e-05 9.327e-05 9.327e-05 0.01% FabArrayBase::FB::FB() 56 9.189e-05 9.189e-05 9.189e-05 0.01% MLMG::actualBottomSolve() 82 9.135e-05 9.135e-05 9.135e-05 0.01% MLMG::mgVcycle_down::1 82 9.062e-05 9.062e-05 9.062e-05 0.01% MLMG::mgVcycle_down::2 82 8.775e-05 8.775e-05 8.775e-05 0.01% MLMG::mgVcycle_down::4 82 8.501e-05 8.501e-05 8.501e-05 0.01% MLMG::mgVcycle_down::0 82 8.437e-05 8.437e-05 8.437e-05 0.01% MLMG::mgVcycle_down::3 82 8.34e-05 8.34e-05 8.34e-05 0.01% AmrLevel::checkPoint() 3 7.801e-05 7.801e-05 7.801e-05 0.01% Castro::do_new_sources() 10 7.763e-05 7.763e-05 7.763e-05 0.01% MLMG::solve() 11 7.213e-05 7.213e-05 7.213e-05 0.01% Castro::initialize_advance() 10 7.017e-05 7.017e-05 7.017e-05 0.01% Castro::clean_state() 62 6.485e-05 6.485e-05 6.485e-05 0.01% Castro::finalize_advance() 10 6.425e-05 6.425e-05 6.425e-05 0.01% MLMG::mgVcycle_up::4 82 6.044e-05 6.044e-05 6.044e-05 0.01% Castro::initialize_do_advance() 10 5.877e-05 5.877e-05 5.877e-05 0.01% MLMG::oneIter() 82 5.314e-05 5.314e-05 5.314e-05 0.01% MLMG::mgVcycle_up::1 82 4.868e-05 4.868e-05 4.868e-05 0.01% MLMG::mgVcycle_up::3 82 4.858e-05 4.858e-05 4.858e-05 0.01% MLMG::mgVcycle_up::0 82 4.767e-05 4.767e-05 4.767e-05 0.01% Castro::do_advance_ctu() 10 4.715e-05 4.715e-05 4.715e-05 0.01% MLMG::mgVcycle_up::2 82 4.698e-05 4.698e-05 4.698e-05 0.01% MLCellLinOp::solutionResidual() 93 4.646e-05 4.646e-05 4.646e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.421e-05 4.421e-05 4.421e-05 0.00% Castro::finalize_do_advance() 10 4.103e-05 4.103e-05 4.103e-05 0.00% Castro::swap_state_time_levels() 10 3.762e-05 3.762e-05 3.762e-05 0.00% StateData::define() 4 3.705e-05 3.705e-05 3.705e-05 0.00% Castro::enforce_consistent_e() 1 3.473e-05 3.473e-05 3.473e-05 0.00% FillPatchSingleLevel 41 3.439e-05 3.439e-05 3.439e-05 0.00% MLMG::ResNormInf() 93 3.417e-05 3.417e-05 3.417e-05 0.00% MLMG::mgVcycle_bottom 82 3.357e-05 3.357e-05 3.357e-05 0.00% MLMG::computeResidual() 82 3.175e-05 3.175e-05 3.175e-05 0.00% Amr::FinalizeInit() 1 2.985e-05 2.985e-05 2.985e-05 0.00% Castro::initMFs() 1 2.64e-05 2.64e-05 2.64e-05 0.00% MLPoisson::define() 11 2.626e-05 2.626e-05 2.626e-05 0.00% Castro::construct_new_gravity() 10 2.537e-05 2.537e-05 2.537e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.537e-05 2.537e-05 2.537e-05 0.00% Amr::writeSmallPlotFile() 1 2.438e-05 2.438e-05 2.438e-05 0.00% makeSFC 55 2.34e-05 2.34e-05 2.34e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.036e-05 2.036e-05 2.036e-05 0.00% Castro::do_old_sources() 10 2e-05 2e-05 2e-05 0.00% Castro::buildMetrics() 1 1.913e-05 1.913e-05 1.913e-05 0.00% Castro::construct_old_source() 50 1.884e-05 1.884e-05 1.884e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.611e-05 1.611e-05 1.611e-05 0.00% MLLinOp::define() 11 1.596e-05 1.596e-05 1.596e-05 0.00% DistributionMapping::Distribute() 56 1.5e-05 1.5e-05 1.5e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.338e-05 1.338e-05 1.338e-05 0.00% Amr::defBaseLevel() 1 1.334e-05 1.334e-05 1.334e-05 0.00% Castro::construct_old_gravity() 10 1.325e-05 1.325e-05 1.325e-05 0.00% Castro::apply_source_to_state() 20 1.15e-05 1.15e-05 1.15e-05 0.00% Amr::initSubcycle() 1 1.041e-05 1.041e-05 1.041e-05 0.00% Castro::check_for_nan() 20 1.036e-05 1.036e-05 1.036e-05 0.00% Gravity::swapTimeLevels() 10 9.836e-06 9.836e-06 9.836e-06 0.00% MLPoisson::prepareForSolve() 11 8.314e-06 8.314e-06 8.314e-06 0.00% Gravity::actual_multilevel_solve() 1 8.211e-06 8.211e-06 8.211e-06 0.00% Castro::post_timestep() 10 7.751e-06 7.751e-06 7.751e-06 0.00% MLMG::computeMLResidual() 11 7.75e-06 7.75e-06 7.75e-06 0.00% Castro::computeNewDt() 9 6.552e-06 6.552e-06 6.552e-06 0.00% Castro::expand_state() 10 5.898e-06 5.898e-06 5.898e-06 0.00% MLMG::getGradSolution() 11 5.677e-06 5.677e-06 5.677e-06 0.00% AmrLevel::checkPointPost() 3 5.389e-06 5.389e-06 5.389e-06 0.00% Amr::InitializeInit() 1 4.872e-06 4.872e-06 4.872e-06 0.00% Castro::post_init() 1 4.271e-06 4.271e-06 4.271e-06 0.00% Gravity::set_mass_offset() 11 4.097e-06 4.097e-06 4.097e-06 0.00% MLMG::MLRhsNormInf() 11 3.977e-06 3.977e-06 3.977e-06 0.00% Castro::retry_advance_ctu() 10 3.946e-06 3.946e-06 3.946e-06 0.00% MLMG::MLResNormInf() 11 3.835e-06 3.835e-06 3.835e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.809e-06 2.809e-06 2.809e-06 0.00% Castro::FluxRegCrseInit 10 2.771e-06 2.771e-06 2.771e-06 0.00% Amr::init() 1 2.521e-06 2.521e-06 2.521e-06 0.00% Castro::computeInitialDt() 2 2.367e-06 2.367e-06 2.367e-06 0.00% Castro::FluxRegFineAdd() 10 2.15e-06 2.15e-06 2.15e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.849e-06 1.849e-06 1.849e-06 0.00% AmrLevel::checkPointPre() 3 1.814e-06 1.814e-06 1.814e-06 0.00% Castro::post_regrid() 1 1.345e-06 1.345e-06 1.345e-06 0.00% Amr::initialInit() 1 1.007e-06 1.007e-06 1.007e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9236 0.9236 0.9236 100.00% Amr::coarseTimeStep() 10 0.7449 0.7449 0.7449 80.65% Amr::timeStep() 10 0.6212 0.6212 0.6212 67.26% Castro::advance() 10 0.6108 0.6108 0.6108 66.14% Castro::subcycle_advance_ctu() 10 0.5963 0.5963 0.5963 64.57% Castro::do_advance_ctu() 10 0.5961 0.5961 0.5961 64.55% Gravity::solve_phi_with_mlmg() 11 0.2827 0.2827 0.2827 30.61% Gravity::actual_solve_with_mlmg() 11 0.2754 0.2754 0.2754 29.82% Castro::construct_ctu_hydro_source() 10 0.2684 0.2684 0.2684 29.06% Castro::construct_new_gravity() 10 0.2581 0.2581 0.2581 27.95% MLMG::solve() 11 0.2548 0.2548 0.2548 27.59% VisMF::Write(FabArray) 11 0.2425 0.2425 0.2425 26.26% Gravity::solve_for_phi() 10 0.2424 0.2424 0.2424 26.25% MLMG::oneIter() 82 0.2406 0.2406 0.2406 26.05% MLMG::mgVcycle() 82 0.2369 0.2369 0.2369 25.65% Amr::checkPoint() 3 0.1806 0.1806 0.1806 19.56% AmrLevel::checkPoint() 3 0.1765 0.1765 0.1765 19.11% StateData::checkPoint() 12 0.1765 0.1765 0.1765 19.11% Amr::init() 1 0.1433 0.1433 0.1433 15.52% MLCellLinOp::smooth() 1640 0.1165 0.1165 0.1165 12.61% MLCellLinOp::applyBC() 4433 0.1092 0.1092 0.1092 11.82% MLMG::mgVcycle_bottom 82 0.07335 0.07335 0.07335 7.94% MLMG::actualBottomSolve() 82 0.07332 0.07332 0.07332 7.94% MLCGSolver::bicgstab 82 0.07262 0.07262 0.07262 7.86% Amr::writePlotFile() 2 0.06914 0.06914 0.06914 7.49% Castro::clean_state() 62 0.05508 0.05508 0.05508 5.96% Amr::initialInit() 1 0.04819 0.04819 0.04819 5.22% AmrLevel::FillPatch() 41 0.0462 0.0462 0.0462 5.00% Amr::FinalizeInit() 1 0.04387 0.04387 0.04387 4.75% Castro::post_init() 1 0.04252 0.04252 0.04252 4.60% FillPatchIterator::Initialize 41 0.04205 0.04205 0.04205 4.55% Gravity::multilevel_solve_for_new_phi() 1 0.04071 0.04071 0.04071 4.41% Gravity::actual_multilevel_solve() 1 0.0407 0.0407 0.0407 4.41% FillPatchIterator::FillFromLevel0() 41 0.04054 0.04054 0.04054 4.39% FillPatchSingleLevel 41 0.0405 0.0405 0.0405 4.38% StateDataPhysBCFunct::() 41 0.0364 0.0364 0.0364 3.94% MLCellLinOp::apply() 1142 0.03604 0.03604 0.03604 3.90% MLMG::mgVcycle_down::0 82 0.03368 0.03368 0.03368 3.65% FabArray::FillBoundary() 4023 0.03252 0.03252 0.03252 3.52% MLPoisson::Fsmooth() 3280 0.03201 0.03201 0.03201 3.47% FillBoundary_nowait() 4023 0.03171 0.03171 0.03171 3.43% MLMG::mgVcycle_up::0 82 0.02552 0.02552 0.02552 2.76% StateData::FillBoundary(geom) 328 0.02534 0.02534 0.02534 2.74% Castro::computeTemp() 63 0.02255 0.02255 0.02255 2.44% MLCellLinOp::correctionResidual() 492 0.0221 0.0221 0.0221 2.39% Castro::initialize_do_advance() 10 0.0209 0.0209 0.0209 2.26% amrex::Dot() 1114 0.02049 0.02049 0.02049 2.22% MLMG:computeResOfCorrection() 410 0.01948 0.01948 0.01948 2.11% Castro::normalize_species() 62 0.01921 0.01921 0.01921 2.08% Castro::do_old_sources() 10 0.01802 0.01802 0.01802 1.95% Gravity::get_new_grav_vector() 11 0.01725 0.01725 0.01725 1.87% MLPoisson::define() 11 0.0163 0.0163 0.0163 1.76% MLMG::mgVcycle_down::1 82 0.0158 0.0158 0.0158 1.71% Castro::construct_old_gravity() 10 0.01502 0.01502 0.01502 1.63% Gravity::get_old_grav_vector() 10 0.015 0.015 0.015 1.62% amrex::Copy() 1029 0.01482 0.01482 0.01482 1.60% MLMG::mgVcycle_down::2 82 0.0147 0.0147 0.0147 1.59% FabArray::ParallelCopy() 861 0.01445 0.01445 0.01445 1.56% MLMG::mgVcycle_down::3 82 0.0144 0.0144 0.0144 1.56% FabArray::norminf() 743 0.01435 0.01435 0.01435 1.55% FabArray::ParallelCopy_nowait() 861 0.01421 0.01421 0.01421 1.54% MLMG::mgVcycle_down::4 82 0.0142 0.0142 0.0142 1.54% Castro::initialize_advance() 10 0.01383 0.01383 0.01383 1.50% FabArray::setVal() 1144 0.01308 0.01308 0.01308 1.42% Castro::do_new_sources() 10 0.01264 0.01264 0.01264 1.37% MLCGSolver::ParallelAllReduce 1514 0.0123 0.0123 0.0123 1.33% MLMG::addInterpCorrection() 410 0.0118 0.0118 0.0118 1.28% Castro::enforce_min_density() 62 0.01144 0.01144 0.01144 1.24% MLMG::mgVcycle_up::4 82 0.01143 0.01143 0.01143 1.24% MLMG::mgVcycle_up::1 82 0.01139 0.01139 0.01139 1.23% Castro::expand_state() 10 0.01132 0.01132 0.01132 1.23% amrex::average_down 410 0.01115 0.01115 0.01115 1.21% MLMG::mgVcycle_up::2 82 0.01114 0.01114 0.01114 1.21% MLCellLinOp::defineAuxData() 11 0.01094 0.01094 0.01094 1.18% MLMG::mgVcycle_up::3 82 0.01092 0.01092 0.01092 1.18% MLPoisson::Fapply() 1142 0.01028 0.01028 0.01028 1.11% Castro::post_timestep() 10 0.01016 0.01016 0.01016 1.10% FabArray::Saxpy() 813 0.008131 0.008131 0.008131 0.88% FabArray::Xpay() 821 0.008031 0.008031 0.008031 0.87% MLCellLinOp::solutionResidual() 93 0.00709 0.00709 0.00709 0.77% Gravity::fill_multipole_BCs() 11 0.00709 0.00709 0.00709 0.77% Castro::reset_internal_energy(MultiFab) 63 0.006386 0.006386 0.006386 0.69% MLMG::computeResidual() 82 0.006108 0.006108 0.006108 0.66% Castro::estTimeStep() 21 0.005343 0.005343 0.005343 0.58% MLCellLinOp::defineBC() 11 0.004918 0.004918 0.004918 0.53% BndryData::define() 11 0.004709 0.004709 0.004709 0.51% MLMG::prepareForSolve() 11 0.004702 0.004702 0.004702 0.51% FabArray::LinComb() 557 0.00451 0.00451 0.00451 0.49% Amr::InitializeInit() 1 0.004319 0.004319 0.004319 0.47% amrex::Add() 164 0.004314 0.004314 0.004314 0.47% Amr::defBaseLevel() 1 0.004314 0.004314 0.004314 0.47% Castro::initData() 1 0.003787 0.003787 0.003787 0.41% Castro::construct_new_source() 50 0.003268 0.003268 0.003268 0.35% Castro::construct_new_gravity_source() 10 0.003163 0.003163 0.003163 0.34% Castro::construct_old_source() 50 0.002715 0.002715 0.002715 0.29% Castro::construct_old_gravity_source() 10 0.002696 0.002696 0.002696 0.29% Castro::enforce_speed_limit() 62 0.002696 0.002696 0.002696 0.29% Castro::computeNewDt() 9 0.002495 0.002495 0.002495 0.27% MLMG::ResNormInf() 93 0.002137 0.002137 0.002137 0.23% Castro::finalize_do_advance() 10 0.002055 0.002055 0.002055 0.22% Castro::apply_source_to_state() 20 0.001824 0.001824 0.001824 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001675 0.001675 0.001675 0.18% check_for_negative_density() 10 0.001603 0.001603 0.001603 0.17% Castro::reset_internal_energy(Fab) 504 0.001559 0.001559 0.001559 0.17% FabArrayBase::getCPC() 1323 0.0014 0.0014 0.0014 0.15% MLMG::getGradSolution() 11 0.001394 0.001394 0.001394 0.15% MLCellLinOp::compGrad() 11 0.001388 0.001388 0.001388 0.15% MLCellLinOp::setLevelBC() 11 0.001388 0.001388 0.001388 0.15% FabArray::mult() 43 0.001312 0.001312 0.001312 0.14% FabArray::setDomainBndry() 41 0.0013 0.0013 0.0013 0.14% Castro::check_for_nan() 20 0.001209 0.001209 0.001209 0.13% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.13% MLPoisson::prepareForSolve() 11 0.001164 0.001164 0.001164 0.13% Castro::post_regrid() 1 0.001161 0.001161 0.001161 0.13% MLCellLinOp::prepareForSolve() 11 0.001155 0.001155 0.001155 0.13% MLMG::computeMLResidual() 11 0.001022 0.001022 0.001022 0.11% Castro::computeInitialDt() 2 0.0008428 0.0008428 0.0008428 0.09% Gravity::update_max_rhs() 11 0.0008323 0.0008323 0.0008323 0.09% FabArrayBase::getFB() 4023 0.0006856 0.0006856 0.0006856 0.07% FabArrayBase::CPC::define() 454 0.0006771 0.0006771 0.0006771 0.07% Castro::finalize_advance() 10 0.0005825 0.0005825 0.0005825 0.06% Amr::InitAmr() 1 0.0005295 0.0005295 0.0005295 0.06% Castro::Castro() 1 0.0004466 0.0004466 0.0004466 0.05% Gravity::swapTimeLevels() 10 0.000438 0.000438 0.000438 0.05% MLLinOp::define() 11 0.0004143 0.0004143 0.0004143 0.04% MLLinOp::defineGrids() 11 0.0003984 0.0003984 0.0003984 0.04% MLMG::MLResNormInf() 11 0.0002821 0.0002821 0.0002821 0.03% MultiFab::max() 11 0.0002585 0.0002585 0.0002585 0.03% MLMG::MLRhsNormInf() 11 0.0002195 0.0002195 0.0002195 0.02% Castro::create_source_corrector() 10 0.0001799 0.0001799 0.0001799 0.02% Castro::buildMetrics() 1 0.0001609 0.0001609 0.0001609 0.02% FabArrayBase::FB::FB() 56 9.189e-05 9.189e-05 9.189e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.241e-05 6.241e-05 6.241e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.045e-05 5.045e-05 5.045e-05 0.01% Castro::swap_state_time_levels() 10 3.762e-05 3.762e-05 3.762e-05 0.00% makeSFC 55 3.707e-05 3.707e-05 3.707e-05 0.00% StateData::define() 4 3.705e-05 3.705e-05 3.705e-05 0.00% Castro::enforce_consistent_e() 1 3.473e-05 3.473e-05 3.473e-05 0.00% Castro::initMFs() 1 2.64e-05 2.64e-05 2.64e-05 0.00% Amr::writeSmallPlotFile() 1 2.438e-05 2.438e-05 2.438e-05 0.00% DistributionMapping::Distribute() 56 1.5e-05 1.5e-05 1.5e-05 0.00% Amr::initSubcycle() 1 1.041e-05 1.041e-05 1.041e-05 0.00% AmrLevel::checkPointPost() 3 5.389e-06 5.389e-06 5.389e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.137e-06 4.137e-06 4.137e-06 0.00% Gravity::set_mass_offset() 11 4.097e-06 4.097e-06 4.097e-06 0.00% Castro::retry_advance_ctu() 10 3.946e-06 3.946e-06 3.946e-06 0.00% Castro::FluxRegCrseInit 10 2.771e-06 2.771e-06 2.771e-06 0.00% Castro::FluxRegFineAdd() 10 2.15e-06 2.15e-06 2.15e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.849e-06 1.849e-06 1.849e-06 0.00% AmrLevel::checkPointPre() 3 1.814e-06 1.814e-06 1.814e-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 129 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 2103 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 3394 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 194 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 166 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 1713 B 2048 KiB Gravity::solve_for_phi() 80 80 536 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 90 KiB 2048 KiB BndryData::define() 1056 1056 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 197 KiB 671 KiB Castro::estTimeStep() 21 21 2823 B 480 KiB VisMF::Write(FabArray) 656 656 3251 B 320 KiB Castro::normalize_species() 62 62 6780 B 320 KiB amrex::average_down 1067 1067 1219 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1107 B 257 KiB amrex::Dot() 1360 1360 3265 B 160 KiB FabArray::norminf() 907 907 2297 B 160 KiB check_for_negative_density() 10 10 277 B 160 KiB Castro::initData() 1 1 26 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 3318 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 294 B 9648 B MLCellLinOp::applyBC() 8866 8866 213 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3845 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 3136 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 114 B 1472 B MLCellLinOp::defineBC() 66 66 349 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 573 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 609 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3318 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 294 B 9648 B MLCellLinOp::applyBC() 4433 4433 211 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3845 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 3168 B Gravity::get_new_grav_vector() 3 3 2912 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 282 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.08-22-g346a4d1c915f) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-22-g346a4d1c915f) initialized Starting run at 08:42:26 UTC on 2023-08-08. Successfully read inputs file ... Castro git describe: 23.08 AMReX git describe: 23.08-22-g346a4d1c9 Microphysics git describe: 23.08-3-g3d2714f8 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.516090723 Restart time = 0.046534716 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.04939096 [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.049712961 [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.066199115 [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.079916521 [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.076962813 [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.033936942 seconds Ending run at 08:42:27 UTC on 2023-08-08. Run time = 0.403731745 Run time without initialization = 0.356600413 Average number of zones advanced per microsecond: 3.676 Average number of zones advanced per microsecond per rank: 3.676 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4038 ... 0.4038 ... 0.4038 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1373 0.1373 0.1373 34.02% VisMF::Read() 3 0.0403 0.0403 0.0403 9.98% MLCellLinOp::applyBC() 1946 0.03373 0.03373 0.03373 8.35% VisMF::Write(FabArray) 1 0.03231 0.03231 0.03231 8.00% MLPoisson::Fsmooth() 1440 0.01387 0.01387 0.01387 3.44% FillBoundary_nowait() 1766 0.01273 0.01273 0.01273 3.15% StateData::FillBoundary(geom) 160 0.01261 0.01261 0.01261 3.12% amrex::Dot() 484 0.008842 0.008842 0.008842 2.19% Castro::normalize_species() 30 0.008539 0.008539 0.008539 2.11% Castro::computeTemp() 30 0.007376 0.007376 0.007376 1.83% amrex::Copy() 463 0.00696 0.00696 0.00696 1.72% FabArray::setVal() 537 0.006293 0.006293 0.006293 1.56% FabArray::norminf() 326 0.006241 0.006241 0.006241 1.55% FabArray::ParallelCopy_nowait() 380 0.006126 0.006126 0.006126 1.52% Castro::enforce_min_density() 30 0.005556 0.005556 0.005556 1.38% MLCellLinOp::defineAuxData() 6 0.005248 0.005248 0.005248 1.30% MLPoisson::Fapply() 500 0.004466 0.004466 0.004466 1.11% StateDataPhysBCFunct::() 20 0.004266 0.004266 0.004266 1.06% FabArray::Saxpy() 355 0.003619 0.003619 0.003619 0.90% FabArray::Xpay() 361 0.003499 0.003499 0.003499 0.87% Gravity::fill_multipole_BCs() 6 0.003456 0.003456 0.003456 0.86% Castro::estTimeStep() 10 0.003404 0.003404 0.003404 0.84% MLMG::addInterpCorrection() 180 0.002898 0.002898 0.002898 0.72% amrex::average_down 180 0.002584 0.002584 0.002584 0.64% Amr::restart() 1 0.002554 0.002554 0.002554 0.63% BndryData::define() 6 0.002042 0.002042 0.002042 0.51% Castro::reset_internal_energy(MultiFab) 30 0.001961 0.001961 0.001961 0.49% FabArray::LinComb() 242 0.001917 0.001917 0.001917 0.47% amrex::Add() 72 0.001836 0.001836 0.001836 0.45% Castro::construct_new_gravity_source() 5 0.0016 0.0016 0.0016 0.40% Amr::writePlotFile() 1 0.001498 0.001498 0.001498 0.37% Castro::construct_old_gravity_source() 5 0.001449 0.001449 0.001449 0.36% Castro::subcycle_advance_ctu() 5 0.001324 0.001324 0.001324 0.33% MLCGSolver::bicgstab 36 0.0009242 0.0009242 0.0009242 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000916 0.000916 0.000916 0.23% Castro::reset_internal_energy(Fab) 240 0.0007995 0.0007995 0.0007995 0.20% check_for_negative_density() 5 0.000798 0.000798 0.000798 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007815 0.0007815 0.0007815 0.19% MLCellLinOp::setLevelBC() 6 0.000757 0.000757 0.000757 0.19% FabArray::mult() 22 0.000662 0.000662 0.000662 0.16% FabArray::setDomainBndry() 20 0.0006404 0.0006404 0.0006404 0.16% MLCellLinOp::prepareForSolve() 6 0.0006116 0.0006116 0.0006116 0.15% MultiFab::contains_nan() 10 0.000588 0.000588 0.000588 0.15% MLCellLinOp::compGrad() 6 0.0004943 0.0004943 0.0004943 0.12% MLCellLinOp::smooth() 720 0.0004857 0.0004857 0.0004857 0.12% MLMG::prepareForSolve() 6 0.000468 0.000468 0.000468 0.12% Castro::enforce_speed_limit() 30 0.0004557 0.0004557 0.0004557 0.11% FabArrayBase::CPC::define() 244 0.0004217 0.0004217 0.0004217 0.10% Amr::InitAmr() 1 0.0004137 0.0004137 0.0004137 0.10% FabArray::FillBoundary() 1766 0.0003508 0.0003508 0.0003508 0.09% FabArrayBase::getCPC() 632 0.0003459 0.0003459 0.0003459 0.09% main() 1 0.0002814 0.0002814 0.0002814 0.07% Gravity::get_old_grav_vector() 5 0.0002651 0.0002651 0.0002651 0.07% FabArrayBase::getFB() 1766 0.0002537 0.0002537 0.0002537 0.06% Gravity::get_new_grav_vector() 5 0.0002336 0.0002336 0.0002336 0.06% Amr::coarseTimeStep() 5 0.0001995 0.0001995 0.0001995 0.05% MLCellLinOp::apply() 500 0.0001881 0.0001881 0.0001881 0.05% MLMG::mgVcycle() 36 0.000172 0.000172 0.000172 0.04% AmrLevel::FillPatch() 20 0.0001602 0.0001602 0.0001602 0.04% MLLinOp::defineGrids() 6 0.0001458 0.0001458 0.0001458 0.04% Castro::construct_new_source() 25 0.0001418 0.0001418 0.0001418 0.04% MultiFab::max() 6 0.0001355 0.0001355 0.0001355 0.03% MLCGSolver::ParallelAllReduce 659 0.0001279 0.0001279 0.0001279 0.03% MLCellLinOp::defineBC() 6 0.0001091 0.0001091 0.0001091 0.03% FabArray::ParallelCopy() 380 0.0001037 0.0001037 0.0001037 0.03% FillPatchIterator::Initialize 20 0.000103 0.000103 0.000103 0.03% MLCellLinOp::correctionResidual() 216 9.826e-05 9.826e-05 9.826e-05 0.02% Castro::create_source_corrector() 5 9.012e-05 9.012e-05 9.012e-05 0.02% Amr::timeStep() 5 8.024e-05 8.024e-05 8.024e-05 0.02% AmrLevel::restart() 1 7.738e-05 7.738e-05 7.738e-05 0.02% Castro::do_new_sources() 5 6.715e-05 6.715e-05 6.715e-05 0.02% Gravity::update_max_rhs() 6 6.448e-05 6.448e-05 6.448e-05 0.02% StateData::restartDoit() 4 6.368e-05 6.368e-05 6.368e-05 0.02% FabArrayBase::FB::FB() 26 6.001e-05 6.001e-05 6.001e-05 0.01% MLMG:computeResOfCorrection() 180 5.258e-05 5.258e-05 5.258e-05 0.01% Gravity::solve_for_phi() 5 5.064e-05 5.064e-05 5.064e-05 0.01% Castro::finalize_do_advance() 5 4.601e-05 4.601e-05 4.601e-05 0.01% MLMG::actualBottomSolve() 36 4.037e-05 4.037e-05 4.037e-05 0.01% MLMG::mgVcycle_down::0 36 3.789e-05 3.789e-05 3.789e-05 0.01% Castro::advance() 5 3.693e-05 3.693e-05 3.693e-05 0.01% MLMG::mgVcycle_down::1 36 3.475e-05 3.475e-05 3.475e-05 0.01% Castro::construct_old_source() 25 3.372e-05 3.372e-05 3.372e-05 0.01% MLMG::mgVcycle_down::4 36 3.352e-05 3.352e-05 3.352e-05 0.01% MLMG::mgVcycle_down::2 36 3.34e-05 3.34e-05 3.34e-05 0.01% MLMG::mgVcycle_down::3 36 3.238e-05 3.238e-05 3.238e-05 0.01% MLMG::solve() 6 3.191e-05 3.191e-05 3.191e-05 0.01% Castro::initialize_advance() 5 3.17e-05 3.17e-05 3.17e-05 0.01% Castro::clean_state() 30 2.991e-05 2.991e-05 2.991e-05 0.01% MLMG::mgVcycle_up::4 36 2.862e-05 2.862e-05 2.862e-05 0.01% Amr::writeSmallPlotFile() 1 2.829e-05 2.829e-05 2.829e-05 0.01% Castro::finalize_advance() 5 2.821e-05 2.821e-05 2.821e-05 0.01% Castro::initialize_do_advance() 5 2.767e-05 2.767e-05 2.767e-05 0.01% Castro::buildMetrics() 1 2.693e-05 2.693e-05 2.693e-05 0.01% Castro::initMFs() 1 2.5e-05 2.5e-05 2.5e-05 0.01% MLMG::oneIter() 36 2.435e-05 2.435e-05 2.435e-05 0.01% Castro::swap_state_time_levels() 5 2.341e-05 2.341e-05 2.341e-05 0.01% Castro::do_advance_ctu() 5 2.288e-05 2.288e-05 2.288e-05 0.01% MLCellLinOp::solutionResidual() 42 2.127e-05 2.127e-05 2.127e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.105e-05 2.105e-05 2.105e-05 0.01% MLMG::mgVcycle_up::0 36 2.056e-05 2.056e-05 2.056e-05 0.01% MLMG::mgVcycle_up::3 36 2.049e-05 2.049e-05 2.049e-05 0.01% MLMG::mgVcycle_up::2 36 1.954e-05 1.954e-05 1.954e-05 0.00% Castro::post_restart() 1 1.933e-05 1.933e-05 1.933e-05 0.00% MLMG::mgVcycle_up::1 36 1.928e-05 1.928e-05 1.928e-05 0.00% MLPoisson::define() 6 1.854e-05 1.854e-05 1.854e-05 0.00% MLMG::ResNormInf() 42 1.811e-05 1.811e-05 1.811e-05 0.00% MLMG::mgVcycle_bottom 36 1.663e-05 1.663e-05 1.663e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.584e-05 1.584e-05 1.584e-05 0.00% FillPatchSingleLevel 20 1.574e-05 1.574e-05 1.574e-05 0.00% MLMG::computeResidual() 36 1.406e-05 1.406e-05 1.406e-05 0.00% Castro::construct_new_gravity() 5 1.266e-05 1.266e-05 1.266e-05 0.00% makeSFC 30 1.253e-05 1.253e-05 1.253e-05 0.00% MLLinOp::makeAgglomeratedDMap 6 1.208e-05 1.208e-05 1.208e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.099e-05 1.099e-05 1.099e-05 0.00% Castro::do_old_sources() 5 1.04e-05 1.04e-05 1.04e-05 0.00% MLLinOp::define() 6 9.929e-06 9.929e-06 9.929e-06 0.00% Amr::initSubcycle() 1 9.173e-06 9.173e-06 9.173e-06 0.00% DistributionMapping::Distribute() 31 8.632e-06 8.632e-06 8.632e-06 0.00% Gravity::actual_multilevel_solve() 1 7.371e-06 7.371e-06 7.371e-06 0.00% Castro::construct_old_gravity() 5 5.992e-06 5.992e-06 5.992e-06 0.00% Castro::apply_source_to_state() 10 5.544e-06 5.544e-06 5.544e-06 0.00% Castro::check_for_nan() 10 5.244e-06 5.244e-06 5.244e-06 0.00% MLPoisson::prepareForSolve() 6 4.802e-06 4.802e-06 4.802e-06 0.00% Castro::post_timestep() 5 4.428e-06 4.428e-06 4.428e-06 0.00% MLMG::computeMLResidual() 6 4.213e-06 4.213e-06 4.213e-06 0.00% Gravity::swapTimeLevels() 5 3.897e-06 3.897e-06 3.897e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.708e-06 3.708e-06 3.708e-06 0.00% MLMG::getGradSolution() 6 3.276e-06 3.276e-06 3.276e-06 0.00% Castro::computeNewDt() 5 2.878e-06 2.878e-06 2.878e-06 0.00% Castro::expand_state() 5 2.762e-06 2.762e-06 2.762e-06 0.00% MLMG::MLResNormInf() 6 2.18e-06 2.18e-06 2.18e-06 0.00% MLMG::MLRhsNormInf() 6 2.012e-06 2.012e-06 2.012e-06 0.00% Castro::retry_advance_ctu() 5 1.96e-06 1.96e-06 1.96e-06 0.00% Gravity::set_mass_offset() 6 1.891e-06 1.891e-06 1.891e-06 0.00% Castro::FluxRegCrseInit 5 1.418e-06 1.418e-06 1.418e-06 0.00% Castro::FluxRegFineAdd() 5 1.338e-06 1.338e-06 1.338e-06 0.00% Amr::init() 1 1.128e-06 1.128e-06 1.128e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.047e-06 1.047e-06 1.047e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4037 0.4037 0.4037 100.00% Amr::coarseTimeStep() 5 0.3224 0.3224 0.3224 79.84% Amr::timeStep() 5 0.3202 0.3202 0.3202 79.31% Castro::advance() 5 0.3161 0.3161 0.3161 78.29% Castro::subcycle_advance_ctu() 5 0.3095 0.3095 0.3095 76.65% Castro::do_advance_ctu() 5 0.3081 0.3081 0.3081 76.32% Castro::construct_ctu_hydro_source() 5 0.1426 0.1426 0.1426 35.32% Castro::construct_new_gravity() 5 0.1305 0.1305 0.1305 32.33% Gravity::solve_phi_with_mlmg() 6 0.1256 0.1256 0.1256 31.11% Gravity::solve_for_phi() 5 0.1226 0.1226 0.1226 30.37% Gravity::actual_solve_with_mlmg() 6 0.1219 0.1219 0.1219 30.20% MLMG::solve() 6 0.1107 0.1107 0.1107 27.42% MLMG::oneIter() 36 0.1038 0.1038 0.1038 25.71% MLMG::mgVcycle() 36 0.1023 0.1023 0.1023 25.33% MLCellLinOp::smooth() 720 0.05007 0.05007 0.05007 12.40% MLCellLinOp::applyBC() 1946 0.04713 0.04713 0.04713 11.67% Amr::init() 1 0.04658 0.04658 0.04658 11.54% Amr::restart() 1 0.04658 0.04658 0.04658 11.54% AmrLevel::restart() 1 0.0405 0.0405 0.0405 10.03% StateData::restartDoit() 4 0.04042 0.04042 0.04042 10.01% VisMF::Read() 3 0.0403 0.0403 0.0403 9.98% Amr::writePlotFile() 1 0.03406 0.03406 0.03406 8.44% VisMF::Write(FabArray) 1 0.03231 0.03231 0.03231 8.00% MLMG::mgVcycle_bottom 36 0.03167 0.03167 0.03167 7.84% MLMG::actualBottomSolve() 36 0.03166 0.03166 0.03166 7.84% MLCGSolver::bicgstab 36 0.03136 0.03136 0.03136 7.77% Castro::clean_state() 30 0.02472 0.02472 0.02472 6.12% AmrLevel::FillPatch() 20 0.02173 0.02173 0.02173 5.38% FillPatchIterator::Initialize 20 0.01967 0.01967 0.01967 4.87% FillPatchIterator::FillFromLevel0() 20 0.01893 0.01893 0.01893 4.69% FillPatchSingleLevel 20 0.01891 0.01891 0.01891 4.68% StateDataPhysBCFunct::() 20 0.01687 0.01687 0.01687 4.18% MLCellLinOp::apply() 500 0.0158 0.0158 0.0158 3.91% MLMG::mgVcycle_down::0 36 0.01428 0.01428 0.01428 3.54% MLPoisson::Fsmooth() 1440 0.01387 0.01387 0.01387 3.44% FabArray::FillBoundary() 1766 0.01339 0.01339 0.01339 3.32% FillBoundary_nowait() 1766 0.01304 0.01304 0.01304 3.23% StateData::FillBoundary(geom) 160 0.01261 0.01261 0.01261 3.12% MLMG::mgVcycle_up::0 36 0.01079 0.01079 0.01079 2.67% Castro::computeTemp() 30 0.01014 0.01014 0.01014 2.51% Castro::initialize_do_advance() 5 0.009848 0.009848 0.009848 2.44% Castro::do_old_sources() 5 0.009571 0.009571 0.009571 2.37% MLCellLinOp::correctionResidual() 216 0.009565 0.009565 0.009565 2.37% MLPoisson::define() 6 0.008909 0.008909 0.008909 2.21% amrex::Dot() 484 0.008842 0.008842 0.008842 2.19% Castro::normalize_species() 30 0.008539 0.008539 0.008539 2.11% MLMG:computeResOfCorrection() 180 0.008411 0.008411 0.008411 2.08% Gravity::get_new_grav_vector() 5 0.007797 0.007797 0.007797 1.93% Castro::construct_old_gravity() 5 0.007557 0.007557 0.007557 1.87% Gravity::get_old_grav_vector() 5 0.007552 0.007552 0.007552 1.87% amrex::Copy() 463 0.00696 0.00696 0.00696 1.72% MLMG::mgVcycle_down::1 36 0.006831 0.006831 0.006831 1.69% FabArray::ParallelCopy() 380 0.006611 0.006611 0.006611 1.64% FabArray::ParallelCopy_nowait() 380 0.006507 0.006507 0.006507 1.61% MLMG::mgVcycle_down::2 36 0.00644 0.00644 0.00644 1.60% Castro::initialize_advance() 5 0.006317 0.006317 0.006317 1.56% FabArray::setVal() 537 0.006293 0.006293 0.006293 1.56% MLMG::mgVcycle_down::3 36 0.006272 0.006272 0.006272 1.55% MLMG::mgVcycle_down::4 36 0.006242 0.006242 0.006242 1.55% FabArray::norminf() 326 0.006241 0.006241 0.006241 1.55% Castro::do_new_sources() 5 0.006029 0.006029 0.006029 1.49% MLCellLinOp::defineAuxData() 6 0.005986 0.005986 0.005986 1.48% Castro::enforce_min_density() 30 0.005556 0.005556 0.005556 1.38% MLCGSolver::ParallelAllReduce 659 0.005346 0.005346 0.005346 1.32% MLMG::addInterpCorrection() 180 0.005179 0.005179 0.005179 1.28% Castro::expand_state() 5 0.005048 0.005048 0.005048 1.25% MLMG::mgVcycle_up::4 36 0.004994 0.004994 0.004994 1.24% MLMG::mgVcycle_up::1 36 0.004957 0.004957 0.004957 1.23% amrex::average_down 180 0.004893 0.004893 0.004893 1.21% MLMG::mgVcycle_up::2 36 0.004854 0.004854 0.004854 1.20% MLMG::mgVcycle_up::3 36 0.004753 0.004753 0.004753 1.18% MLPoisson::Fapply() 500 0.004466 0.004466 0.004466 1.11% Castro::post_timestep() 5 0.004035 0.004035 0.004035 1.00% FabArray::Saxpy() 355 0.003619 0.003619 0.003619 0.90% Gravity::fill_multipole_BCs() 6 0.003578 0.003578 0.003578 0.89% FabArray::Xpay() 361 0.003499 0.003499 0.003499 0.87% Castro::estTimeStep() 10 0.003404 0.003404 0.003404 0.84% Castro::post_restart() 1 0.003341 0.003341 0.003341 0.83% MLCellLinOp::solutionResidual() 42 0.003233 0.003233 0.003233 0.80% Gravity::multilevel_solve_for_new_phi() 1 0.003228 0.003228 0.003228 0.80% Gravity::actual_multilevel_solve() 1 0.003212 0.003212 0.003212 0.80% Castro::reset_internal_energy(MultiFab) 30 0.00276 0.00276 0.00276 0.68% MLCellLinOp::defineBC() 6 0.002716 0.002716 0.002716 0.67% MLMG::computeResidual() 36 0.002686 0.002686 0.002686 0.67% BndryData::define() 6 0.002607 0.002607 0.002607 0.65% MLMG::prepareForSolve() 6 0.002543 0.002543 0.002543 0.63% Castro::computeNewDt() 5 0.001951 0.001951 0.001951 0.48% FabArray::LinComb() 242 0.001917 0.001917 0.001917 0.47% amrex::Add() 72 0.001836 0.001836 0.001836 0.45% Castro::construct_new_source() 25 0.001742 0.001742 0.001742 0.43% Castro::construct_new_gravity_source() 5 0.0016 0.0016 0.0016 0.40% Castro::finalize_do_advance() 5 0.001502 0.001502 0.001502 0.37% Castro::construct_old_source() 25 0.001483 0.001483 0.001483 0.37% Castro::construct_old_gravity_source() 5 0.001449 0.001449 0.001449 0.36% MLMG::ResNormInf() 42 0.0009532 0.0009532 0.0009532 0.24% Castro::apply_source_to_state() 10 0.0009248 0.0009248 0.0009248 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000916 0.000916 0.000916 0.23% Castro::reset_internal_energy(Fab) 240 0.0007995 0.0007995 0.0007995 0.20% check_for_negative_density() 5 0.000798 0.000798 0.000798 0.20% FabArrayBase::getCPC() 632 0.0007676 0.0007676 0.0007676 0.19% MLMG::getGradSolution() 6 0.0007636 0.0007636 0.0007636 0.19% MLCellLinOp::compGrad() 6 0.0007603 0.0007603 0.0007603 0.19% MLCellLinOp::setLevelBC() 6 0.000757 0.000757 0.000757 0.19% FabArray::mult() 22 0.000662 0.000662 0.000662 0.16% FabArray::setDomainBndry() 20 0.0006404 0.0006404 0.0006404 0.16% MLPoisson::prepareForSolve() 6 0.0006164 0.0006164 0.0006164 0.15% MLCellLinOp::prepareForSolve() 6 0.0006116 0.0006116 0.0006116 0.15% Castro::check_for_nan() 10 0.0005932 0.0005932 0.0005932 0.15% MultiFab::contains_nan() 10 0.000588 0.000588 0.000588 0.15% MLMG::computeMLResidual() 6 0.0005656 0.0005656 0.0005656 0.14% Gravity::update_max_rhs() 6 0.0004578 0.0004578 0.0004578 0.11% Castro::enforce_speed_limit() 30 0.0004557 0.0004557 0.0004557 0.11% Amr::InitAmr() 1 0.0004229 0.0004229 0.0004229 0.10% FabArrayBase::CPC::define() 244 0.0004217 0.0004217 0.0004217 0.10% FabArrayBase::getFB() 1766 0.0003138 0.0003138 0.0003138 0.08% Castro::finalize_advance() 5 0.0002842 0.0002842 0.0002842 0.07% Gravity::swapTimeLevels() 5 0.0002262 0.0002262 0.0002262 0.06% MLLinOp::define() 6 0.0001887 0.0001887 0.0001887 0.05% MLLinOp::defineGrids() 6 0.0001787 0.0001787 0.0001787 0.04% Castro::buildMetrics() 1 0.0001548 0.0001548 0.0001548 0.04% MLMG::MLResNormInf() 6 0.0001511 0.0001511 0.0001511 0.04% MultiFab::max() 6 0.0001355 0.0001355 0.0001355 0.03% MLMG::MLRhsNormInf() 6 0.0001166 0.0001166 0.0001166 0.03% Castro::create_source_corrector() 5 9.012e-05 9.012e-05 9.012e-05 0.02% FabArrayBase::FB::FB() 26 6.001e-05 6.001e-05 6.001e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.186e-05 3.186e-05 3.186e-05 0.01% Amr::writeSmallPlotFile() 1 2.829e-05 2.829e-05 2.829e-05 0.01% Castro::initMFs() 1 2.5e-05 2.5e-05 2.5e-05 0.01% Castro::swap_state_time_levels() 5 2.341e-05 2.341e-05 2.341e-05 0.01% makeSFC 30 1.978e-05 1.978e-05 1.978e-05 0.00% Amr::initSubcycle() 1 9.173e-06 9.173e-06 9.173e-06 0.00% DistributionMapping::Distribute() 31 8.632e-06 8.632e-06 8.632e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.092e-06 5.092e-06 5.092e-06 0.00% Castro::retry_advance_ctu() 5 1.96e-06 1.96e-06 1.96e-06 0.00% Gravity::set_mass_offset() 6 1.891e-06 1.891e-06 1.891e-06 0.00% Castro::FluxRegCrseInit 5 1.418e-06 1.418e-06 1.418e-06 0.00% Castro::FluxRegFineAdd() 5 1.338e-06 1.338e-06 1.338e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.047e-06 1.047e-06 1.047e-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 205 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 154 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 1025 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2356 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 6751 KiB 14 MiB MLMG::prepareForSolve() 361 361 3367 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 194 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 197 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6747 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2201 B 2048 KiB Gravity::solve_for_phi() 40 40 620 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 3998 B 480 KiB VisMF::Write(FabArray) 112 112 1250 B 320 KiB Castro::normalize_species() 30 30 6881 B 320 KiB amrex::average_down 469 469 1187 B 257 KiB MLMG::addInterpCorrection() 468 468 1102 B 257 KiB amrex::Dot() 592 592 3214 B 160 KiB FabArray::norminf() 398 398 2282 B 160 KiB check_for_negative_density() 5 5 312 B 160 KiB MultiFab::max() 6 6 51 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3275 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 273 B 9648 B MLCellLinOp::applyBC() 3892 3892 216 B 9344 B amrex::Copy() 56 56 5986 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2880 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 348 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1332 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 111 KiB 8192 KiB VisMF::Write(FabArray) 120 120 247 KiB 3584 KiB VisMF::Read() 24 24 193 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3275 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 273 B 9648 B MLCellLinOp::applyBC() 1946 1946 214 B 9328 B amrex::Copy() 56 56 5986 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2671 B 3072 B StateData::FillBoundary(geom) 960 960 41 B 2976 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 521 B 1296 B amrex::average_down 37 37 226 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-22-g346a4d1c915f) finalized