Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-1-g85a247b8a9d6) initialized Starting run at 07:37:32 UTC on 2023-05-03. Successfully read inputs file ... Castro git describe: 23.05-1-gc94456cbd AMReX git describe: 23.05-1-g85a247b8a Microphysics git describe: 23.05 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.060580814 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.03472829 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.052205706 [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.059682336 [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.059121038 [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.068857372 [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.06713625 [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.058657308 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.065746708 [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.071267472 [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.064277038 [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.05723201 [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.051567706 [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.058303992 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033886831 seconds Ending run at 07:37:33 UTC on 2023-05-03. Run time = 0.912686606 Run time without initialization = 0.768562635 Average number of zones advanced per microsecond: 3.411 Average number of zones advanced per microsecond per rank: 3.411 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9127 ... 0.9127 ... 0.9127 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2489 0.2489 0.2489 27.27% VisMF::Write(FabArray) 11 0.2394 0.2394 0.2394 26.23% MLCellLinOp::applyBC() 4433 0.07767 0.07767 0.07767 8.51% MLPoisson::Fsmooth() 3280 0.03258 0.03258 0.03258 3.57% FillBoundary_nowait() 4023 0.03164 0.03164 0.03164 3.47% StateData::FillBoundary(geom) 328 0.02497 0.02497 0.02497 2.74% amrex::Dot() 1114 0.02063 0.02063 0.02063 2.26% Castro::normalize_species() 62 0.01549 0.01549 0.01549 1.70% Castro::computeTemp() 63 0.01492 0.01492 0.01492 1.64% amrex::Copy() 1029 0.01484 0.01484 0.01484 1.63% FabArray::norminf() 743 0.01452 0.01452 0.01452 1.59% Castro::enforce_min_density() 62 0.01428 0.01428 0.01428 1.56% FabArray::ParallelCopy_nowait() 861 0.01341 0.01341 0.01341 1.47% FabArray::setVal() 1144 0.01311 0.01311 0.01311 1.44% StateDataPhysBCFunct::() 41 0.01199 0.01199 0.01199 1.31% MLPoisson::Fapply() 1142 0.01039 0.01039 0.01039 1.14% MLCellLinOp::defineAuxData() 11 0.009775 0.009775 0.009775 1.07% FabArray::Saxpy() 813 0.00821 0.00821 0.00821 0.90% FabArray::Xpay() 821 0.008098 0.008098 0.008098 0.89% MLMG::addInterpCorrection() 410 0.006624 0.006624 0.006624 0.73% Gravity::fill_multipole_BCs() 11 0.006474 0.006474 0.006474 0.71% Castro::estTimeStep() 21 0.006184 0.006184 0.006184 0.68% amrex::average_down 410 0.005965 0.005965 0.005965 0.65% FabArray::LinComb() 557 0.004564 0.004564 0.004564 0.50% amrex::Add() 164 0.004391 0.004391 0.004391 0.48% Castro::reset_internal_energy(MultiFab) 63 0.004303 0.004303 0.004303 0.47% Amr::checkPoint() 3 0.003935 0.003935 0.003935 0.43% Castro::do_advance_ctu() 10 0.003885 0.003885 0.003885 0.43% BndryData::define() 11 0.003766 0.003766 0.003766 0.41% Castro::construct_new_gravity_source() 10 0.003335 0.003335 0.003335 0.37% Castro::construct_old_gravity_source() 10 0.002698 0.002698 0.002698 0.30% Amr::writePlotFile() 2 0.002371 0.002371 0.002371 0.26% MLCGSolver::bicgstab 82 0.002103 0.002103 0.002103 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001726 0.001726 0.001726 0.19% Castro::reset_internal_energy(Fab) 504 0.00155 0.00155 0.00155 0.17% Gravity::actual_solve_with_mlmg() 11 0.001478 0.001478 0.001478 0.16% MLCellLinOp::setLevelBC() 11 0.001403 0.001403 0.001403 0.15% FabArray::mult() 43 0.001316 0.001316 0.001316 0.14% FabArray::setDomainBndry() 41 0.001308 0.001308 0.001308 0.14% MultiFab::contains_nan() 20 0.001206 0.001206 0.001206 0.13% Castro::initData() 1 0.001167 0.001167 0.001167 0.13% MLCellLinOp::prepareForSolve() 11 0.001146 0.001146 0.001146 0.13% Castro::enforce_speed_limit() 62 0.001116 0.001116 0.001116 0.12% MLCellLinOp::smooth() 1640 0.001072 0.001072 0.001072 0.12% MLCellLinOp::compGrad() 11 0.0009201 0.0009201 0.0009201 0.10% MLMG::prepareForSolve() 11 0.0008807 0.0008807 0.0008807 0.10% FabArray::FillBoundary() 4023 0.0008302 0.0008302 0.0008302 0.09% FabArrayBase::getCPC() 1323 0.0007274 0.0007274 0.0007274 0.08% FabArrayBase::CPC::define() 454 0.000663 0.000663 0.000663 0.07% Gravity::get_new_grav_vector() 11 0.0006292 0.0006292 0.0006292 0.07% Gravity::get_old_grav_vector() 10 0.0005665 0.0005665 0.0005665 0.06% FabArrayBase::getFB() 4023 0.0005563 0.0005563 0.0005563 0.06% Amr::InitAmr() 1 0.0004744 0.0004744 0.0004744 0.05% MLCellLinOp::apply() 1142 0.0004613 0.0004613 0.0004613 0.05% MLLinOp::defineGrids() 11 0.0003751 0.0003751 0.0003751 0.04% MLMG::mgVcycle() 82 0.0003702 0.0003702 0.0003702 0.04% Amr::coarseTimeStep() 10 0.0003232 0.0003232 0.0003232 0.04% MLCGSolver::ParallelAllReduce 1514 0.000292 0.000292 0.000292 0.03% main() 1 0.0002789 0.0002789 0.0002789 0.03% FabArray::ParallelCopy() 861 0.0002562 0.0002562 0.0002562 0.03% MultiFab::max() 11 0.0002557 0.0002557 0.0002557 0.03% FillPatchIterator::Initialize 41 0.00023 0.00023 0.00023 0.03% MLCellLinOp::defineBC() 11 0.0002165 0.0002165 0.0002165 0.02% MLCellLinOp::correctionResidual() 492 0.0002121 0.0002121 0.0002121 0.02% Castro::create_source_corrector() 10 0.0001755 0.0001755 0.0001755 0.02% Amr::timeStep() 10 0.0001579 0.0001579 0.0001579 0.02% Castro::subcycle_advance_ctu() 10 0.0001558 0.0001558 0.0001558 0.02% StateData::checkPoint() 12 0.0001338 0.0001338 0.0001338 0.01% MLMG:computeResOfCorrection() 410 0.0001168 0.0001168 0.0001168 0.01% Gravity::update_max_rhs() 11 0.0001168 0.0001168 0.0001168 0.01% Gravity::solve_for_phi() 10 0.0001077 0.0001077 0.0001077 0.01% Castro::Castro() 1 8.457e-05 8.457e-05 8.457e-05 0.01% FabArrayBase::FB::FB() 56 8.42e-05 8.42e-05 8.42e-05 0.01% MLMG::actualBottomSolve() 82 8.385e-05 8.385e-05 8.385e-05 0.01% MLMG::mgVcycle_down::0 82 8.286e-05 8.286e-05 8.286e-05 0.01% Castro::expand_state() 10 7.819e-05 7.819e-05 7.819e-05 0.01% MLMG::solve() 11 7.442e-05 7.442e-05 7.442e-05 0.01% MLMG::mgVcycle_down::1 82 7.362e-05 7.362e-05 7.362e-05 0.01% MLMG::mgVcycle_down::2 82 7.334e-05 7.334e-05 7.334e-05 0.01% Castro::initialize_advance() 10 7.294e-05 7.294e-05 7.294e-05 0.01% AmrLevel::checkPoint() 3 7.25e-05 7.25e-05 7.25e-05 0.01% Castro::clean_state() 62 7.089e-05 7.089e-05 7.089e-05 0.01% MLMG::mgVcycle_down::3 82 6.829e-05 6.829e-05 6.829e-05 0.01% MLMG::mgVcycle_down::4 82 6.81e-05 6.81e-05 6.81e-05 0.01% Castro::finalize_advance() 10 5.702e-05 5.702e-05 5.702e-05 0.01% MLMG::mgVcycle_up::4 82 5.682e-05 5.682e-05 5.682e-05 0.01% Castro::initialize_do_advance() 10 5.552e-05 5.552e-05 5.552e-05 0.01% MLMG::oneIter() 82 5.543e-05 5.543e-05 5.543e-05 0.01% MLCellLinOp::solutionResidual() 93 4.885e-05 4.885e-05 4.885e-05 0.01% MLMG::mgVcycle_up::0 82 4.681e-05 4.681e-05 4.681e-05 0.01% Castro::construct_new_source() 50 4.639e-05 4.639e-05 4.639e-05 0.01% MLMG::mgVcycle_up::1 82 4.629e-05 4.629e-05 4.629e-05 0.01% MLMG::mgVcycle_up::3 82 4.549e-05 4.549e-05 4.549e-05 0.00% MLMG::mgVcycle_up::2 82 4.463e-05 4.463e-05 4.463e-05 0.00% Castro::advance() 10 4.198e-05 4.198e-05 4.198e-05 0.00% Castro::swap_state_time_levels() 10 3.732e-05 3.732e-05 3.732e-05 0.00% Castro::post_timestep() 10 3.56e-05 3.56e-05 3.56e-05 0.00% Castro::finalize_do_advance() 10 3.471e-05 3.471e-05 3.471e-05 0.00% Castro::enforce_consistent_e() 1 3.326e-05 3.326e-05 3.326e-05 0.00% StateData::define() 4 3.281e-05 3.281e-05 3.281e-05 0.00% MLMG::ResNormInf() 93 3.251e-05 3.251e-05 3.251e-05 0.00% FillPatchSingleLevel 41 3.065e-05 3.065e-05 3.065e-05 0.00% MLMG::mgVcycle_bottom 82 2.998e-05 2.998e-05 2.998e-05 0.00% MLMG::computeResidual() 82 2.924e-05 2.924e-05 2.924e-05 0.00% makeSFC 55 2.408e-05 2.408e-05 2.408e-05 0.00% Amr::writeSmallPlotFile() 1 2.377e-05 2.377e-05 2.377e-05 0.00% Castro::initMFs() 1 2.315e-05 2.315e-05 2.315e-05 0.00% Castro::construct_new_gravity() 10 2.232e-05 2.232e-05 2.232e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.192e-05 2.192e-05 2.192e-05 0.00% MLPoisson::define() 11 2.187e-05 2.187e-05 2.187e-05 0.00% Amr::FinalizeInit() 1 2.067e-05 2.067e-05 2.067e-05 0.00% Amr::defBaseLevel() 1 1.915e-05 1.915e-05 1.915e-05 0.00% Castro::buildMetrics() 1 1.826e-05 1.826e-05 1.826e-05 0.00% Castro::construct_old_source() 50 1.794e-05 1.794e-05 1.794e-05 0.00% Castro::do_new_sources() 10 1.706e-05 1.706e-05 1.706e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.644e-05 1.644e-05 1.644e-05 0.00% DistributionMapping::Distribute() 56 1.497e-05 1.497e-05 1.497e-05 0.00% Castro::do_old_sources() 10 1.458e-05 1.458e-05 1.458e-05 0.00% MLPoisson::prepareForSolve() 11 1.388e-05 1.388e-05 1.388e-05 0.00% MLMG::computeMLResidual() 11 1.385e-05 1.385e-05 1.385e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.327e-05 1.327e-05 1.327e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.057e-05 1.057e-05 1.057e-05 0.00% Castro::apply_source_to_state() 20 1.027e-05 1.027e-05 1.027e-05 0.00% Castro::check_for_nan() 20 1.025e-05 1.025e-05 1.025e-05 0.00% MLLinOp::define() 11 1.021e-05 1.021e-05 1.021e-05 0.00% Castro::construct_old_gravity() 10 9.387e-06 9.387e-06 9.387e-06 0.00% Amr::initSubcycle() 1 8.348e-06 8.348e-06 8.348e-06 0.00% Gravity::swapTimeLevels() 10 8.225e-06 8.225e-06 8.225e-06 0.00% Gravity::actual_multilevel_solve() 1 8.093e-06 8.093e-06 8.093e-06 0.00% Castro::computeNewDt() 9 6.428e-06 6.428e-06 6.428e-06 0.00% MLMG::getGradSolution() 11 5.448e-06 5.448e-06 5.448e-06 0.00% Amr::InitializeInit() 1 4.596e-06 4.596e-06 4.596e-06 0.00% Castro::post_init() 1 4.366e-06 4.366e-06 4.366e-06 0.00% Castro::retry_advance_ctu() 10 4.186e-06 4.186e-06 4.186e-06 0.00% AmrLevel::checkPointPost() 3 4.095e-06 4.095e-06 4.095e-06 0.00% MLMG::MLResNormInf() 11 4.027e-06 4.027e-06 4.027e-06 0.00% MLMG::MLRhsNormInf() 11 3.963e-06 3.963e-06 3.963e-06 0.00% Gravity::set_mass_offset() 11 3.855e-06 3.855e-06 3.855e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.594e-06 3.594e-06 3.594e-06 0.00% Amr::init() 1 2.72e-06 2.72e-06 2.72e-06 0.00% Castro::computeInitialDt() 2 2.571e-06 2.571e-06 2.571e-06 0.00% Castro::FluxRegCrseInit 10 2.364e-06 2.364e-06 2.364e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.941e-06 1.941e-06 1.941e-06 0.00% Castro::FluxRegFineAdd() 10 1.89e-06 1.89e-06 1.89e-06 0.00% AmrLevel::checkPointPre() 3 1.519e-06 1.519e-06 1.519e-06 0.00% Castro::post_regrid() 1 1.468e-06 1.468e-06 1.468e-06 0.00% Amr::initialInit() 1 1.008e-06 1.008e-06 1.008e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9127 0.9127 0.9127 100.00% Amr::coarseTimeStep() 10 0.7345 0.7345 0.7345 80.47% Amr::timeStep() 10 0.6129 0.6129 0.6129 67.16% Castro::advance() 10 0.6048 0.6048 0.6048 66.26% Castro::subcycle_advance_ctu() 10 0.5922 0.5922 0.5922 64.88% Castro::do_advance_ctu() 10 0.592 0.592 0.592 64.86% Gravity::solve_phi_with_mlmg() 11 0.2854 0.2854 0.2854 31.27% Gravity::actual_solve_with_mlmg() 11 0.2785 0.2785 0.2785 30.51% Castro::construct_new_gravity() 10 0.2608 0.2608 0.2608 28.58% MLMG::solve() 11 0.2576 0.2576 0.2576 28.23% Castro::construct_ctu_hydro_source() 10 0.2489 0.2489 0.2489 27.27% Gravity::solve_for_phi() 10 0.2451 0.2451 0.2451 26.86% MLMG::oneIter() 82 0.2433 0.2433 0.2433 26.65% MLMG::mgVcycle() 82 0.2396 0.2396 0.2396 26.25% VisMF::Write(FabArray) 11 0.2394 0.2394 0.2394 26.23% Amr::checkPoint() 3 0.1777 0.1777 0.1777 19.47% AmrLevel::checkPoint() 3 0.1737 0.1737 0.1737 19.04% StateData::checkPoint() 12 0.1737 0.1737 0.1737 19.03% Amr::init() 1 0.1435 0.1435 0.1435 15.72% MLCellLinOp::smooth() 1640 0.1183 0.1183 0.1183 12.96% MLCellLinOp::applyBC() 4433 0.1108 0.1108 0.1108 12.14% MLMG::mgVcycle_bottom 82 0.07403 0.07403 0.07403 8.11% MLMG::actualBottomSolve() 82 0.074 0.074 0.074 8.11% MLCGSolver::bicgstab 82 0.07331 0.07331 0.07331 8.03% Amr::writePlotFile() 2 0.06873 0.06873 0.06873 7.53% Castro::clean_state() 62 0.05083 0.05083 0.05083 5.57% Amr::initialInit() 1 0.04809 0.04809 0.04809 5.27% Amr::FinalizeInit() 1 0.04399 0.04399 0.04399 4.82% Castro::post_init() 1 0.04265 0.04265 0.04265 4.67% FillPatchIterator::Initialize 41 0.04257 0.04257 0.04257 4.66% FillPatchSingleLevel 41 0.04104 0.04104 0.04104 4.50% Gravity::multilevel_solve_for_new_phi() 1 0.04071 0.04071 0.04071 4.46% Gravity::actual_multilevel_solve() 1 0.04069 0.04069 0.04069 4.46% StateDataPhysBCFunct::() 41 0.03696 0.03696 0.03696 4.05% MLCellLinOp::apply() 1142 0.03655 0.03655 0.03655 4.00% MLMG::mgVcycle_down::0 82 0.03422 0.03422 0.03422 3.75% FabArray::FillBoundary() 4023 0.03311 0.03311 0.03311 3.63% MLPoisson::Fsmooth() 3280 0.03258 0.03258 0.03258 3.57% FillBoundary_nowait() 4023 0.03228 0.03228 0.03228 3.54% MLMG::mgVcycle_up::0 82 0.02587 0.02587 0.02587 2.83% StateData::FillBoundary(geom) 328 0.02497 0.02497 0.02497 2.74% MLCellLinOp::correctionResidual() 492 0.02239 0.02239 0.02239 2.45% Castro::computeTemp() 63 0.02078 0.02078 0.02078 2.28% amrex::Dot() 1114 0.02063 0.02063 0.02063 2.26% Castro::initialize_do_advance() 10 0.02019 0.02019 0.02019 2.21% MLMG:computeResOfCorrection() 410 0.01972 0.01972 0.01972 2.16% Gravity::get_new_grav_vector() 11 0.01739 0.01739 0.01739 1.91% MLPoisson::define() 11 0.01655 0.01655 0.01655 1.81% MLMG::mgVcycle_down::1 82 0.01591 0.01591 0.01591 1.74% Castro::normalize_species() 62 0.01549 0.01549 0.01549 1.70% Castro::construct_old_gravity() 10 0.015 0.015 0.015 1.64% Gravity::get_old_grav_vector() 10 0.01499 0.01499 0.01499 1.64% MLMG::mgVcycle_down::2 82 0.01488 0.01488 0.01488 1.63% amrex::Copy() 1029 0.01484 0.01484 0.01484 1.63% FabArray::norminf() 743 0.01452 0.01452 0.01452 1.59% FabArray::ParallelCopy() 861 0.01446 0.01446 0.01446 1.58% MLMG::mgVcycle_down::3 82 0.01443 0.01443 0.01443 1.58% MLMG::mgVcycle_down::4 82 0.01434 0.01434 0.01434 1.57% Castro::enforce_min_density() 62 0.01428 0.01428 0.01428 1.56% FabArray::ParallelCopy_nowait() 861 0.0142 0.0142 0.0142 1.56% FabArray::setVal() 1144 0.01311 0.01311 0.01311 1.44% Castro::do_new_sources() 10 0.01253 0.01253 0.01253 1.37% MLCGSolver::ParallelAllReduce 1514 0.01237 0.01237 0.01237 1.36% Castro::do_old_sources() 10 0.0121 0.0121 0.0121 1.33% Castro::initialize_advance() 10 0.01201 0.01201 0.01201 1.32% MLMG::addInterpCorrection() 410 0.01181 0.01181 0.01181 1.29% MLMG::mgVcycle_up::1 82 0.01162 0.01162 0.01162 1.27% MLMG::mgVcycle_up::4 82 0.01149 0.01149 0.01149 1.26% Castro::expand_state() 10 0.01136 0.01136 0.01136 1.24% MLMG::mgVcycle_up::2 82 0.01133 0.01133 0.01133 1.24% amrex::average_down 410 0.01119 0.01119 0.01119 1.23% MLCellLinOp::defineAuxData() 11 0.01111 0.01111 0.01111 1.22% MLMG::mgVcycle_up::3 82 0.01108 0.01108 0.01108 1.21% MLPoisson::Fapply() 1142 0.01039 0.01039 0.01039 1.14% FabArray::Saxpy() 813 0.00821 0.00821 0.00821 0.90% FabArray::Xpay() 821 0.008098 0.008098 0.008098 0.89% Castro::post_timestep() 10 0.007978 0.007978 0.007978 0.87% MLCellLinOp::solutionResidual() 93 0.007164 0.007164 0.007164 0.78% Gravity::fill_multipole_BCs() 11 0.006706 0.006706 0.006706 0.73% Castro::estTimeStep() 21 0.006184 0.006184 0.006184 0.68% MLMG::computeResidual() 82 0.006181 0.006181 0.006181 0.68% Castro::reset_internal_energy(MultiFab) 63 0.005852 0.005852 0.005852 0.64% MLCellLinOp::defineBC() 11 0.004974 0.004974 0.004974 0.54% BndryData::define() 11 0.004757 0.004757 0.004757 0.52% MLMG::prepareForSolve() 11 0.004735 0.004735 0.004735 0.52% FabArray::LinComb() 557 0.004564 0.004564 0.004564 0.50% amrex::Add() 164 0.004391 0.004391 0.004391 0.48% Amr::InitializeInit() 1 0.004102 0.004102 0.004102 0.45% Amr::defBaseLevel() 1 0.004098 0.004098 0.004098 0.45% Castro::initData() 1 0.003601 0.003601 0.003601 0.39% Castro::computeNewDt() 9 0.003473 0.003473 0.003473 0.38% Castro::construct_new_source() 50 0.003381 0.003381 0.003381 0.37% Castro::construct_new_gravity_source() 10 0.003335 0.003335 0.003335 0.37% Castro::construct_old_source() 50 0.002716 0.002716 0.002716 0.30% Castro::construct_old_gravity_source() 10 0.002698 0.002698 0.002698 0.30% MLMG::ResNormInf() 93 0.002128 0.002128 0.002128 0.23% Castro::apply_source_to_state() 20 0.001821 0.001821 0.001821 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001726 0.001726 0.001726 0.19% Castro::reset_internal_energy(Fab) 504 0.00155 0.00155 0.00155 0.17% MLMG::getGradSolution() 11 0.001406 0.001406 0.001406 0.15% MLCellLinOp::setLevelBC() 11 0.001403 0.001403 0.001403 0.15% MLCellLinOp::compGrad() 11 0.0014 0.0014 0.0014 0.15% FabArrayBase::getCPC() 1323 0.00139 0.00139 0.00139 0.15% FabArray::mult() 43 0.001316 0.001316 0.001316 0.14% FabArray::setDomainBndry() 41 0.001308 0.001308 0.001308 0.14% Castro::check_for_nan() 20 0.001216 0.001216 0.001216 0.13% MultiFab::contains_nan() 20 0.001206 0.001206 0.001206 0.13% MLPoisson::prepareForSolve() 11 0.00116 0.00116 0.00116 0.13% MLCellLinOp::prepareForSolve() 11 0.001146 0.001146 0.001146 0.13% Castro::enforce_speed_limit() 62 0.001116 0.001116 0.001116 0.12% Castro::post_regrid() 1 0.001101 0.001101 0.001101 0.12% MLMG::computeMLResidual() 11 0.001026 0.001026 0.001026 0.11% Castro::computeInitialDt() 2 0.0008827 0.0008827 0.0008827 0.10% Gravity::update_max_rhs() 11 0.0008102 0.0008102 0.0008102 0.09% FabArrayBase::CPC::define() 454 0.000663 0.000663 0.000663 0.07% FabArrayBase::getFB() 4023 0.0006405 0.0006405 0.0006405 0.07% Castro::finalize_advance() 10 0.0005758 0.0005758 0.0005758 0.06% Amr::InitAmr() 1 0.0004828 0.0004828 0.0004828 0.05% MLLinOp::define() 11 0.0004384 0.0004384 0.0004384 0.05% Gravity::swapTimeLevels() 10 0.000431 0.000431 0.000431 0.05% Castro::Castro() 1 0.0004292 0.0004292 0.0004292 0.05% MLLinOp::defineGrids() 11 0.0004282 0.0004282 0.0004282 0.05% MLMG::MLResNormInf() 11 0.0002879 0.0002879 0.0002879 0.03% MultiFab::max() 11 0.0002557 0.0002557 0.0002557 0.03% MLMG::MLRhsNormInf() 11 0.000221 0.000221 0.000221 0.02% Castro::create_source_corrector() 10 0.0001755 0.0001755 0.0001755 0.02% Castro::buildMetrics() 1 0.0001579 0.0001579 0.0001579 0.02% FabArrayBase::FB::FB() 56 8.42e-05 8.42e-05 8.42e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.113e-05 5.113e-05 5.113e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.338e-05 4.338e-05 4.338e-05 0.00% makeSFC 55 3.786e-05 3.786e-05 3.786e-05 0.00% Castro::swap_state_time_levels() 10 3.732e-05 3.732e-05 3.732e-05 0.00% Castro::finalize_do_advance() 10 3.471e-05 3.471e-05 3.471e-05 0.00% Castro::enforce_consistent_e() 1 3.326e-05 3.326e-05 3.326e-05 0.00% StateData::define() 4 3.281e-05 3.281e-05 3.281e-05 0.00% Amr::writeSmallPlotFile() 1 2.377e-05 2.377e-05 2.377e-05 0.00% Castro::initMFs() 1 2.315e-05 2.315e-05 2.315e-05 0.00% DistributionMapping::Distribute() 56 1.497e-05 1.497e-05 1.497e-05 0.00% Amr::initSubcycle() 1 8.348e-06 8.348e-06 8.348e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.781e-06 4.781e-06 4.781e-06 0.00% Castro::retry_advance_ctu() 10 4.186e-06 4.186e-06 4.186e-06 0.00% AmrLevel::checkPointPost() 3 4.095e-06 4.095e-06 4.095e-06 0.00% Gravity::set_mass_offset() 11 3.855e-06 3.855e-06 3.855e-06 0.00% Castro::FluxRegCrseInit 10 2.364e-06 2.364e-06 2.364e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.941e-06 1.941e-06 1.941e-06 0.00% Castro::FluxRegFineAdd() 10 1.89e-06 1.89e-06 1.89e-06 0.00% AmrLevel::checkPointPre() 3 1.519e-06 1.519e-06 1.519e-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 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 132 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 994 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2117 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 3473 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 198 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 168 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7528 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1702 B 2048 KiB Gravity::solve_for_phi() 80 80 549 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 317 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 201 KiB 671 KiB Castro::estTimeStep() 21 21 2507 B 480 KiB VisMF::Write(FabArray) 656 656 3288 B 320 KiB Castro::normalize_species() 62 62 5526 B 320 KiB amrex::average_down 1067 1067 1238 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1118 B 257 KiB amrex::Dot() 1360 1360 3326 B 160 KiB FabArray::norminf() 907 907 2356 B 160 KiB Castro::do_advance_ctu() 10 10 657 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3395 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 304 B 9648 B MLCellLinOp::applyBC() 8866 8866 218 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3844 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 116 B 1472 B MLCellLinOp::defineBC() 66 66 357 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 568 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 608 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3395 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 303 B 9648 B MLCellLinOp::applyBC() 4433 4433 217 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3844 B 6144 B Gravity::get_new_grav_vector() 3 3 2911 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 2880 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 289 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 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): 2424 [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.05-1-g85a247b8a9d6) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-1-g85a247b8a9d6) initialized Starting run at 07:37:33 UTC on 2023-05-03. Successfully read inputs file ... Castro git describe: 23.05-1-gc94456cbd AMReX git describe: 23.05-1-g85a247b8a Microphysics git describe: 23.05 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.50979392 Restart time = 0.043688825 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.051266455 [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.04963686 [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.065734226 [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.069347527 [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.064560727 [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.032999374 seconds Ending run at 07:37:34 UTC on 2023-05-03. Run time = 0.37822312 Run time without initialization = 0.333966769 Average number of zones advanced per microsecond: 3.925 Average number of zones advanced per microsecond per rank: 3.925 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3783 ... 0.3783 ... 0.3783 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1160 0.1160 0.1160 30.66% VisMF::Read() 3 0.03736 0.03736 0.03736 9.88% MLCellLinOp::applyBC() 1946 0.03351 0.03351 0.03351 8.86% VisMF::Write(FabArray) 1 0.0314 0.0314 0.0314 8.30% MLPoisson::Fsmooth() 1440 0.014 0.014 0.014 3.70% FillBoundary_nowait() 1766 0.01282 0.01282 0.01282 3.39% StateData::FillBoundary(geom) 160 0.01216 0.01216 0.01216 3.21% Castro::normalize_species() 30 0.009102 0.009102 0.009102 2.41% amrex::Dot() 484 0.008797 0.008797 0.008797 2.33% amrex::Copy() 463 0.006929 0.006929 0.006929 1.83% Castro::enforce_min_density() 30 0.006701 0.006701 0.006701 1.77% FabArray::setVal() 537 0.00627 0.00627 0.00627 1.66% FabArray::norminf() 326 0.006254 0.006254 0.006254 1.65% FabArray::ParallelCopy_nowait() 380 0.006057 0.006057 0.006057 1.60% Castro::computeTemp() 30 0.005769 0.005769 0.005769 1.53% MLCellLinOp::defineAuxData() 6 0.005212 0.005212 0.005212 1.38% StateDataPhysBCFunct::() 20 0.004874 0.004874 0.004874 1.29% MLPoisson::Fapply() 500 0.004454 0.004454 0.004454 1.18% FabArray::Saxpy() 355 0.003652 0.003652 0.003652 0.97% FabArray::Xpay() 361 0.003476 0.003476 0.003476 0.92% Castro::estTimeStep() 10 0.003005 0.003005 0.003005 0.79% MLMG::addInterpCorrection() 180 0.002865 0.002865 0.002865 0.76% amrex::average_down 180 0.002575 0.002575 0.002575 0.68% Amr::restart() 1 0.002568 0.002568 0.002568 0.68% Gravity::fill_multipole_BCs() 6 0.002559 0.002559 0.002559 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002073 0.002073 0.002073 0.55% BndryData::define() 6 0.002062 0.002062 0.002062 0.55% FabArray::LinComb() 242 0.001923 0.001923 0.001923 0.51% Castro::construct_new_gravity_source() 5 0.001853 0.001853 0.001853 0.49% Castro::do_advance_ctu() 5 0.001853 0.001853 0.001853 0.49% amrex::Add() 72 0.001844 0.001844 0.001844 0.49% Amr::writePlotFile() 1 0.00144 0.00144 0.00144 0.38% Castro::enforce_speed_limit() 30 0.001327 0.001327 0.001327 0.35% Castro::construct_old_gravity_source() 5 0.001312 0.001312 0.001312 0.35% MLCGSolver::bicgstab 36 0.0009423 0.0009423 0.0009423 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009164 0.0009164 0.0009164 0.24% Gravity::actual_solve_with_mlmg() 6 0.0007882 0.0007882 0.0007882 0.21% Castro::reset_internal_energy(Fab) 240 0.0007521 0.0007521 0.0007521 0.20% MLCellLinOp::setLevelBC() 6 0.0007517 0.0007517 0.0007517 0.20% FabArray::mult() 22 0.0006536 0.0006536 0.0006536 0.17% FabArray::setDomainBndry() 20 0.0006425 0.0006425 0.0006425 0.17% MLCellLinOp::prepareForSolve() 6 0.0006152 0.0006152 0.0006152 0.16% MultiFab::contains_nan() 10 0.0005938 0.0005938 0.0005938 0.16% MLCellLinOp::compGrad() 6 0.0004894 0.0004894 0.0004894 0.13% MLMG::prepareForSolve() 6 0.0004851 0.0004851 0.0004851 0.13% MLCellLinOp::smooth() 720 0.0004754 0.0004754 0.0004754 0.13% FabArrayBase::CPC::define() 244 0.0004418 0.0004418 0.0004418 0.12% Amr::InitAmr() 1 0.0003906 0.0003906 0.0003906 0.10% FabArray::FillBoundary() 1766 0.0003843 0.0003843 0.0003843 0.10% FabArrayBase::getCPC() 632 0.000344 0.000344 0.000344 0.09% Gravity::get_old_grav_vector() 5 0.0003122 0.0003122 0.0003122 0.08% Gravity::get_new_grav_vector() 5 0.0002736 0.0002736 0.0002736 0.07% main() 1 0.0002702 0.0002702 0.0002702 0.07% FabArrayBase::getFB() 1766 0.0002443 0.0002443 0.0002443 0.06% MLCellLinOp::apply() 500 0.0001936 0.0001936 0.0001936 0.05% Amr::coarseTimeStep() 5 0.0001827 0.0001827 0.0001827 0.05% Castro::construct_new_source() 25 0.0001548 0.0001548 0.0001548 0.04% MLMG::mgVcycle() 36 0.0001486 0.0001486 0.0001486 0.04% Castro::create_source_corrector() 5 0.0001445 0.0001445 0.0001445 0.04% MultiFab::max() 6 0.0001341 0.0001341 0.0001341 0.04% MLCGSolver::ParallelAllReduce 659 0.0001283 0.0001283 0.0001283 0.03% MLLinOp::defineGrids() 6 0.0001226 0.0001226 0.0001226 0.03% MLCellLinOp::defineBC() 6 0.0001181 0.0001181 0.0001181 0.03% FillPatchIterator::Initialize 20 0.0001154 0.0001154 0.0001154 0.03% FabArray::ParallelCopy() 380 0.0001092 0.0001092 0.0001092 0.03% Castro::post_timestep() 5 9.471e-05 9.471e-05 9.471e-05 0.03% MLCellLinOp::correctionResidual() 216 9.364e-05 9.364e-05 9.364e-05 0.02% Castro::initialize_do_advance() 5 9.31e-05 9.31e-05 9.31e-05 0.02% Castro::subcycle_advance_ctu() 5 7.778e-05 7.778e-05 7.778e-05 0.02% AmrLevel::restart() 1 7.776e-05 7.776e-05 7.776e-05 0.02% Amr::timeStep() 5 7.638e-05 7.638e-05 7.638e-05 0.02% Castro::construct_old_gravity() 5 6.463e-05 6.463e-05 6.463e-05 0.02% StateData::restartDoit() 4 6.228e-05 6.228e-05 6.228e-05 0.02% FabArrayBase::FB::FB() 26 6.137e-05 6.137e-05 6.137e-05 0.02% Gravity::update_max_rhs() 6 5.879e-05 5.879e-05 5.879e-05 0.02% Castro::construct_old_source() 25 5.722e-05 5.722e-05 5.722e-05 0.02% Gravity::solve_for_phi() 5 5.607e-05 5.607e-05 5.607e-05 0.01% Castro::advance() 5 5.583e-05 5.583e-05 5.583e-05 0.01% MLMG:computeResOfCorrection() 180 5.013e-05 5.013e-05 5.013e-05 0.01% Castro::expand_state() 5 5.003e-05 5.003e-05 5.003e-05 0.01% MLMG::actualBottomSolve() 36 3.86e-05 3.86e-05 3.86e-05 0.01% MLMG::mgVcycle_down::0 36 3.767e-05 3.767e-05 3.767e-05 0.01% Castro::clean_state() 30 3.443e-05 3.443e-05 3.443e-05 0.01% MLMG::mgVcycle_down::1 36 3.387e-05 3.387e-05 3.387e-05 0.01% MLMG::solve() 6 3.361e-05 3.361e-05 3.361e-05 0.01% Castro::initialize_advance() 5 3.292e-05 3.292e-05 3.292e-05 0.01% MLMG::mgVcycle_down::4 36 3.265e-05 3.265e-05 3.265e-05 0.01% MLMG::mgVcycle_down::2 36 3.22e-05 3.22e-05 3.22e-05 0.01% MLMG::mgVcycle_down::3 36 3.143e-05 3.143e-05 3.143e-05 0.01% Castro::finalize_advance() 5 2.744e-05 2.744e-05 2.744e-05 0.01% MLMG::mgVcycle_up::4 36 2.715e-05 2.715e-05 2.715e-05 0.01% Castro::initMFs() 1 2.691e-05 2.691e-05 2.691e-05 0.01% Castro::buildMetrics() 1 2.594e-05 2.594e-05 2.594e-05 0.01% Amr::writeSmallPlotFile() 1 2.536e-05 2.536e-05 2.536e-05 0.01% Castro::swap_state_time_levels() 5 2.401e-05 2.401e-05 2.401e-05 0.01% MLMG::oneIter() 36 2.399e-05 2.399e-05 2.399e-05 0.01% MLMG::mgVcycle_up::3 36 2.196e-05 2.196e-05 2.196e-05 0.01% MLCellLinOp::solutionResidual() 42 2.125e-05 2.125e-05 2.125e-05 0.01% MLMG::mgVcycle_up::0 36 2.104e-05 2.104e-05 2.104e-05 0.01% Castro::post_restart() 1 2.059e-05 2.059e-05 2.059e-05 0.01% MLMG::mgVcycle_up::2 36 2.056e-05 2.056e-05 2.056e-05 0.01% MLMG::mgVcycle_up::1 36 1.98e-05 1.98e-05 1.98e-05 0.01% Castro::finalize_do_advance() 5 1.966e-05 1.966e-05 1.966e-05 0.01% MLMG::ResNormInf() 42 1.73e-05 1.73e-05 1.73e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.594e-05 1.594e-05 1.594e-05 0.00% MLPoisson::define() 6 1.448e-05 1.448e-05 1.448e-05 0.00% FillPatchSingleLevel 20 1.428e-05 1.428e-05 1.428e-05 0.00% MLMG::mgVcycle_bottom 36 1.363e-05 1.363e-05 1.363e-05 0.00% makeSFC 30 1.297e-05 1.297e-05 1.297e-05 0.00% MLMG::computeResidual() 36 1.272e-05 1.272e-05 1.272e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.25e-05 1.25e-05 1.25e-05 0.00% Castro::construct_new_gravity() 5 1.21e-05 1.21e-05 1.21e-05 0.00% MLPoisson::prepareForSolve() 6 9.997e-06 9.997e-06 9.997e-06 0.00% MLMG::computeMLResidual() 6 9.667e-06 9.667e-06 9.667e-06 0.00% DistributionMapping::Distribute() 31 9.494e-06 9.494e-06 9.494e-06 0.00% Castro::do_new_sources() 5 8.939e-06 8.939e-06 8.939e-06 0.00% Amr::initSubcycle() 1 8.183e-06 8.183e-06 8.183e-06 0.00% Castro::do_old_sources() 5 7.843e-06 7.843e-06 7.843e-06 0.00% Gravity::actual_multilevel_solve() 1 7.754e-06 7.754e-06 7.754e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.198e-06 7.198e-06 7.198e-06 0.00% Castro::check_for_nan() 10 5.417e-06 5.417e-06 5.417e-06 0.00% Castro::apply_source_to_state() 10 5.388e-06 5.388e-06 5.388e-06 0.00% MLLinOp::define() 6 5.185e-06 5.185e-06 5.185e-06 0.00% Gravity::swapTimeLevels() 5 3.72e-06 3.72e-06 3.72e-06 0.00% Castro::computeNewDt() 5 3.586e-06 3.586e-06 3.586e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.192e-06 3.192e-06 3.192e-06 0.00% MLMG::getGradSolution() 6 2.963e-06 2.963e-06 2.963e-06 0.00% MLMG::MLResNormInf() 6 2.315e-06 2.315e-06 2.315e-06 0.00% MLMG::MLRhsNormInf() 6 2.123e-06 2.123e-06 2.123e-06 0.00% Gravity::set_mass_offset() 6 2.054e-06 2.054e-06 2.054e-06 0.00% Castro::retry_advance_ctu() 5 1.753e-06 1.753e-06 1.753e-06 0.00% Castro::FluxRegCrseInit 5 1.401e-06 1.401e-06 1.401e-06 0.00% Castro::FluxRegFineAdd() 5 1.115e-06 1.115e-06 1.115e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.032e-06 1.032e-06 1.032e-06 0.00% Amr::init() 1 9.14e-07 9.14e-07 9.14e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3782 0.3782 0.3782 100.00% Amr::coarseTimeStep() 5 0.3007 0.3007 0.3007 79.50% Amr::timeStep() 5 0.2988 0.2988 0.2988 78.99% Castro::advance() 5 0.2939 0.2939 0.2939 77.69% Castro::subcycle_advance_ctu() 5 0.2863 0.2863 0.2863 75.69% Castro::do_advance_ctu() 5 0.2862 0.2862 0.2862 75.67% Castro::construct_new_gravity() 5 0.1291 0.1291 0.1291 34.14% Gravity::solve_phi_with_mlmg() 6 0.1246 0.1246 0.1246 32.94% Gravity::actual_solve_with_mlmg() 6 0.1218 0.1218 0.1218 32.20% Gravity::solve_for_phi() 5 0.1215 0.1215 0.1215 32.12% Castro::construct_ctu_hydro_source() 5 0.116 0.116 0.116 30.66% MLMG::solve() 6 0.1106 0.1106 0.1106 29.24% MLMG::oneIter() 36 0.1037 0.1037 0.1037 27.43% MLMG::mgVcycle() 36 0.1022 0.1022 0.1022 27.02% MLCellLinOp::smooth() 720 0.05015 0.05015 0.05015 13.26% MLCellLinOp::applyBC() 1946 0.04702 0.04702 0.04702 12.43% Amr::init() 1 0.04373 0.04373 0.04373 11.56% Amr::restart() 1 0.04373 0.04373 0.04373 11.56% AmrLevel::restart() 1 0.03756 0.03756 0.03756 9.93% StateData::restartDoit() 4 0.03748 0.03748 0.03748 9.91% VisMF::Read() 3 0.03736 0.03736 0.03736 9.88% Amr::writePlotFile() 1 0.03309 0.03309 0.03309 8.75% MLMG::mgVcycle_bottom 36 0.03174 0.03174 0.03174 8.39% MLMG::actualBottomSolve() 36 0.03172 0.03172 0.03172 8.39% MLCGSolver::bicgstab 36 0.03141 0.03141 0.03141 8.31% VisMF::Write(FabArray) 1 0.0314 0.0314 0.0314 8.30% Castro::clean_state() 30 0.02576 0.02576 0.02576 6.81% FillPatchIterator::Initialize 20 0.01983 0.01983 0.01983 5.24% FillPatchSingleLevel 20 0.01907 0.01907 0.01907 5.04% StateDataPhysBCFunct::() 20 0.01703 0.01703 0.01703 4.50% MLCellLinOp::apply() 500 0.01573 0.01573 0.01573 4.16% MLMG::mgVcycle_down::0 36 0.01435 0.01435 0.01435 3.79% MLPoisson::Fsmooth() 1440 0.014 0.014 0.014 3.70% FabArray::FillBoundary() 1766 0.01351 0.01351 0.01351 3.57% FillBoundary_nowait() 1766 0.01312 0.01312 0.01312 3.47% StateData::FillBoundary(geom) 160 0.01216 0.01216 0.01216 3.21% MLMG::mgVcycle_up::0 36 0.01079 0.01079 0.01079 2.85% Castro::initialize_do_advance() 5 0.009893 0.009893 0.009893 2.62% MLCellLinOp::correctionResidual() 216 0.009527 0.009527 0.009527 2.52% Castro::normalize_species() 30 0.009102 0.009102 0.009102 2.41% MLPoisson::define() 6 0.008877 0.008877 0.008877 2.35% amrex::Dot() 484 0.008797 0.008797 0.008797 2.33% Castro::computeTemp() 30 0.008594 0.008594 0.008594 2.27% MLMG:computeResOfCorrection() 180 0.008348 0.008348 0.008348 2.21% Gravity::get_new_grav_vector() 5 0.007521 0.007521 0.007521 1.99% Castro::construct_old_gravity() 5 0.007518 0.007518 0.007518 1.99% Gravity::get_old_grav_vector() 5 0.007454 0.007454 0.007454 1.97% Castro::initialize_advance() 5 0.007224 0.007224 0.007224 1.91% Castro::do_new_sources() 5 0.006941 0.006941 0.006941 1.84% amrex::Copy() 463 0.006929 0.006929 0.006929 1.83% MLMG::mgVcycle_down::1 36 0.006827 0.006827 0.006827 1.80% Castro::enforce_min_density() 30 0.006701 0.006701 0.006701 1.77% FabArray::ParallelCopy() 380 0.006554 0.006554 0.006554 1.73% FabArray::ParallelCopy_nowait() 380 0.006445 0.006445 0.006445 1.70% MLMG::mgVcycle_down::2 36 0.006374 0.006374 0.006374 1.69% FabArray::setVal() 537 0.00627 0.00627 0.00627 1.66% FabArray::norminf() 326 0.006254 0.006254 0.006254 1.65% MLMG::mgVcycle_down::3 36 0.006203 0.006203 0.006203 1.64% MLMG::mgVcycle_down::4 36 0.006158 0.006158 0.006158 1.63% MLCellLinOp::defineAuxData() 6 0.005956 0.005956 0.005956 1.57% Castro::expand_state() 5 0.005508 0.005508 0.005508 1.46% MLCGSolver::ParallelAllReduce 659 0.005294 0.005294 0.005294 1.40% Castro::do_old_sources() 5 0.005176 0.005176 0.005176 1.37% MLMG::addInterpCorrection() 180 0.005107 0.005107 0.005107 1.35% MLMG::mgVcycle_up::1 36 0.004988 0.004988 0.004988 1.32% MLMG::mgVcycle_up::4 36 0.004931 0.004931 0.004931 1.30% MLMG::mgVcycle_up::2 36 0.00487 0.00487 0.00487 1.29% amrex::average_down 180 0.004864 0.004864 0.004864 1.29% Castro::post_timestep() 5 0.00485 0.00485 0.00485 1.28% MLMG::mgVcycle_up::3 36 0.004812 0.004812 0.004812 1.27% MLPoisson::Fapply() 500 0.004454 0.004454 0.004454 1.18% FabArray::Saxpy() 355 0.003652 0.003652 0.003652 0.97% FabArray::Xpay() 361 0.003476 0.003476 0.003476 0.92% Castro::post_restart() 1 0.003434 0.003434 0.003434 0.91% Gravity::multilevel_solve_for_new_phi() 1 0.003318 0.003318 0.003318 0.88% Gravity::actual_multilevel_solve() 1 0.003302 0.003302 0.003302 0.87% MLCellLinOp::solutionResidual() 42 0.003214 0.003214 0.003214 0.85% Castro::estTimeStep() 10 0.003005 0.003005 0.003005 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002825 0.002825 0.002825 0.75% MLCellLinOp::defineBC() 6 0.00275 0.00275 0.00275 0.73% Gravity::fill_multipole_BCs() 6 0.002678 0.002678 0.002678 0.71% MLMG::computeResidual() 36 0.002654 0.002654 0.002654 0.70% BndryData::define() 6 0.002632 0.002632 0.002632 0.70% MLMG::prepareForSolve() 6 0.002559 0.002559 0.002559 0.68% Castro::construct_new_source() 25 0.002008 0.002008 0.002008 0.53% FabArray::LinComb() 242 0.001923 0.001923 0.001923 0.51% Castro::construct_new_gravity_source() 5 0.001853 0.001853 0.001853 0.49% amrex::Add() 72 0.001844 0.001844 0.001844 0.49% Castro::computeNewDt() 5 0.00176 0.00176 0.00176 0.47% Castro::construct_old_source() 25 0.001369 0.001369 0.001369 0.36% Castro::enforce_speed_limit() 30 0.001327 0.001327 0.001327 0.35% Castro::construct_old_gravity_source() 5 0.001312 0.001312 0.001312 0.35% MLMG::ResNormInf() 42 0.0009254 0.0009254 0.0009254 0.24% Castro::apply_source_to_state() 10 0.0009236 0.0009236 0.0009236 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009164 0.0009164 0.0009164 0.24% FabArrayBase::getCPC() 632 0.0007858 0.0007858 0.0007858 0.21% MLMG::getGradSolution() 6 0.0007585 0.0007585 0.0007585 0.20% MLCellLinOp::compGrad() 6 0.0007556 0.0007556 0.0007556 0.20% Castro::reset_internal_energy(Fab) 240 0.0007521 0.0007521 0.0007521 0.20% MLCellLinOp::setLevelBC() 6 0.0007517 0.0007517 0.0007517 0.20% FabArray::mult() 22 0.0006536 0.0006536 0.0006536 0.17% FabArray::setDomainBndry() 20 0.0006425 0.0006425 0.0006425 0.17% MLPoisson::prepareForSolve() 6 0.0006252 0.0006252 0.0006252 0.17% MLCellLinOp::prepareForSolve() 6 0.0006152 0.0006152 0.0006152 0.16% Castro::check_for_nan() 10 0.0005992 0.0005992 0.0005992 0.16% MultiFab::contains_nan() 10 0.0005938 0.0005938 0.0005938 0.16% MLMG::computeMLResidual() 6 0.0005825 0.0005825 0.0005825 0.15% Gravity::update_max_rhs() 6 0.0004443 0.0004443 0.0004443 0.12% FabArrayBase::CPC::define() 244 0.0004418 0.0004418 0.0004418 0.12% Amr::InitAmr() 1 0.0003987 0.0003987 0.0003987 0.11% FabArrayBase::getFB() 1766 0.0003056 0.0003056 0.0003056 0.08% Castro::finalize_advance() 5 0.0002852 0.0002852 0.0002852 0.08% Gravity::swapTimeLevels() 5 0.000224 0.000224 0.000224 0.06% MLLinOp::define() 6 0.0001568 0.0001568 0.0001568 0.04% MLLinOp::defineGrids() 6 0.0001516 0.0001516 0.0001516 0.04% MLMG::MLResNormInf() 6 0.0001512 0.0001512 0.0001512 0.04% Castro::create_source_corrector() 5 0.0001445 0.0001445 0.0001445 0.04% Castro::buildMetrics() 1 0.0001442 0.0001442 0.0001442 0.04% MultiFab::max() 6 0.0001341 0.0001341 0.0001341 0.04% MLMG::MLRhsNormInf() 6 0.0001176 0.0001176 0.0001176 0.03% FabArrayBase::FB::FB() 26 6.137e-05 6.137e-05 6.137e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.791e-05 2.791e-05 2.791e-05 0.01% Castro::initMFs() 1 2.691e-05 2.691e-05 2.691e-05 0.01% Amr::writeSmallPlotFile() 1 2.536e-05 2.536e-05 2.536e-05 0.01% Castro::swap_state_time_levels() 5 2.401e-05 2.401e-05 2.401e-05 0.01% makeSFC 30 2.071e-05 2.071e-05 2.071e-05 0.01% Castro::finalize_do_advance() 5 1.966e-05 1.966e-05 1.966e-05 0.01% DistributionMapping::Distribute() 31 9.494e-06 9.494e-06 9.494e-06 0.00% Amr::initSubcycle() 1 8.183e-06 8.183e-06 8.183e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.938e-06 4.938e-06 4.938e-06 0.00% Gravity::set_mass_offset() 6 2.054e-06 2.054e-06 2.054e-06 0.00% Castro::retry_advance_ctu() 5 1.753e-06 1.753e-06 1.753e-06 0.00% Castro::FluxRegCrseInit 5 1.401e-06 1.401e-06 1.401e-06 0.00% Castro::FluxRegFineAdd() 5 1.115e-06 1.115e-06 1.115e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.032e-06 1.032e-06 1.032e-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 213 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 139 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1137 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2447 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 6755 KiB 14 MiB MLMG::prepareForSolve() 361 361 3590 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 204 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 203 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6750 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 9 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2274 B 2048 KiB Gravity::solve_for_phi() 40 40 656 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 330 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 212 KiB 671 KiB Castro::estTimeStep() 10 10 3653 B 480 KiB VisMF::Write(FabArray) 112 112 1301 B 320 KiB Castro::normalize_species() 30 30 7831 B 320 KiB amrex::average_down 469 469 1253 B 257 KiB MLMG::addInterpCorrection() 468 468 1163 B 257 KiB amrex::Dot() 592 592 3418 B 160 KiB FabArray::norminf() 398 398 2438 B 160 KiB Castro::do_advance_ctu() 5 5 647 B 160 KiB MultiFab::max() 6 6 54 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3491 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 51 B 10 KiB FillBoundary_nowait() 336 336 294 B 9648 B MLCellLinOp::applyBC() 3892 3892 227 B 9344 B amrex::Copy() 56 56 5996 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 120 B 1472 B MLCellLinOp::defineBC() 36 36 371 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1432 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 116 KiB 8192 KiB VisMF::Write(FabArray) 120 120 256 KiB 3584 KiB VisMF::Read() 24 24 193 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3491 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 51 B 10 KiB FillBoundary_nowait() 336 336 294 B 9648 B MLCellLinOp::applyBC() 1946 1946 225 B 9328 B amrex::Copy() 56 56 5996 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2665 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 44 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 539 B 1296 B amrex::average_down 37 37 224 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 17 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): 2424 [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.05-1-g85a247b8a9d6) finalized