Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-30-g3396b1df1175) initialized Starting run at 08:03:55 UTC on 2023-08-15. Successfully read inputs file ... Castro git describe: 23.08-5-g5303a2cd5 AMReX git describe: 23.08-30-g3396b1df1 Microphysics git describe: 23.08-9-g255c3999 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.050132672 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028099576 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.052161184 [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.050006886 [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.083067061 [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.081791065 [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.05564444 [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.04867217 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.058882699 [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.081541534 [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.07868717 [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.057837325 [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.075090767 [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.048832823 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028307002 seconds Ending run at 08:03:56 UTC on 2023-08-15. Run time = 0.934383001 Run time without initialization = 0.801173703 Average number of zones advanced per microsecond: 3.272 Average number of zones advanced per microsecond per rank: 3.272 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9344 ... 0.9344 ... 0.9344 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2981 0.2981 0.2981 31.90% VisMF::Write(FabArray) 11 0.1968 0.1968 0.1968 21.06% MLCellLinOp::applyBC() 4433 0.0785 0.0785 0.0785 8.40% MLPoisson::Fsmooth() 3280 0.0333 0.0333 0.0333 3.56% FillBoundary_nowait() 4023 0.03088 0.03088 0.03088 3.31% StateData::FillBoundary(geom) 328 0.02675 0.02675 0.02675 2.86% amrex::Dot() 1114 0.02124 0.02124 0.02124 2.27% Castro::normalize_species() 62 0.02121 0.02121 0.02121 2.27% Castro::computeTemp() 63 0.01587 0.01587 0.01587 1.70% amrex::Copy() 1029 0.01518 0.01518 0.01518 1.62% FabArray::norminf() 743 0.01482 0.01482 0.01482 1.59% FabArray::ParallelCopy_nowait() 861 0.01359 0.01359 0.01359 1.45% FabArray::setVal() 1144 0.01353 0.01353 0.01353 1.45% StateDataPhysBCFunct::() 41 0.01135 0.01135 0.01135 1.21% MLPoisson::Fapply() 1142 0.01069 0.01069 0.01069 1.14% Castro::enforce_min_density() 62 0.01036 0.01036 0.01036 1.11% MLCellLinOp::defineAuxData() 11 0.01015 0.01015 0.01015 1.09% Gravity::fill_multipole_BCs() 11 0.00934 0.00934 0.00934 1.00% FabArray::Saxpy() 813 0.008408 0.008408 0.008408 0.90% FabArray::Xpay() 821 0.008323 0.008323 0.008323 0.89% MLMG::addInterpCorrection() 410 0.006923 0.006923 0.006923 0.74% amrex::average_down 410 0.006143 0.006143 0.006143 0.66% Castro::reset_internal_energy(MultiFab) 63 0.00556 0.00556 0.00556 0.60% Castro::estTimeStep() 21 0.005356 0.005356 0.005356 0.57% Amr::checkPoint() 3 0.004815 0.004815 0.004815 0.52% FabArray::LinComb() 557 0.004695 0.004695 0.004695 0.50% amrex::Add() 164 0.004489 0.004489 0.004489 0.48% BndryData::define() 11 0.003887 0.003887 0.003887 0.42% Castro::enforce_speed_limit() 62 0.003488 0.003488 0.003488 0.37% Castro::construct_new_gravity_source() 10 0.003333 0.003333 0.003333 0.36% Castro::construct_old_gravity_source() 10 0.002842 0.002842 0.002842 0.30% MLCGSolver::bicgstab 82 0.002283 0.002283 0.002283 0.24% check_for_negative_density() 10 0.002283 0.002283 0.002283 0.24% Amr::writePlotFile() 2 0.001959 0.001959 0.001959 0.21% Castro::reset_internal_energy(Fab) 504 0.001764 0.001764 0.001764 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001759 0.001759 0.001759 0.19% Castro::initData() 1 0.001522 0.001522 0.001522 0.16% MLCellLinOp::setLevelBC() 11 0.001514 0.001514 0.001514 0.16% Gravity::actual_solve_with_mlmg() 11 0.001499 0.001499 0.001499 0.16% FabArray::mult() 43 0.001375 0.001375 0.001375 0.15% FabArray::setDomainBndry() 41 0.001342 0.001342 0.001342 0.14% MLCellLinOp::prepareForSolve() 11 0.001272 0.001272 0.001272 0.14% MultiFab::contains_nan() 20 0.001262 0.001262 0.001262 0.14% MLCellLinOp::smooth() 1640 0.001207 0.001207 0.001207 0.13% MLCellLinOp::compGrad() 11 0.001055 0.001055 0.001055 0.11% MLMG::prepareForSolve() 11 0.0009416 0.0009416 0.0009416 0.10% FabArray::FillBoundary() 4023 0.0008129 0.0008129 0.0008129 0.09% FabArrayBase::getCPC() 1323 0.0007698 0.0007698 0.0007698 0.08% FabArrayBase::CPC::define() 454 0.0006694 0.0006694 0.0006694 0.07% FabArrayBase::getFB() 4023 0.0006309 0.0006309 0.0006309 0.07% Gravity::get_new_grav_vector() 11 0.000595 0.000595 0.000595 0.06% Amr::InitAmr() 1 0.0004951 0.0004951 0.0004951 0.05% MLCellLinOp::apply() 1142 0.0004781 0.0004781 0.0004781 0.05% Gravity::get_old_grav_vector() 10 0.0004764 0.0004764 0.0004764 0.05% Amr::coarseTimeStep() 10 0.0003763 0.0003763 0.0003763 0.04% MultiFab::max() 11 0.0003362 0.0003362 0.0003362 0.04% AmrLevel::FillPatch() 41 0.0003358 0.0003358 0.0003358 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003091 0.0003091 0.0003091 0.03% main() 1 0.0002629 0.0002629 0.0002629 0.03% FabArray::ParallelCopy() 861 0.0002608 0.0002608 0.0002608 0.03% MLCellLinOp::defineBC() 11 0.0002223 0.0002223 0.0002223 0.02% MLCellLinOp::correctionResidual() 492 0.0002162 0.0002162 0.0002162 0.02% FillPatchIterator::Initialize 41 0.0002139 0.0002139 0.0002139 0.02% MLMG::mgVcycle() 82 0.0002035 0.0002035 0.0002035 0.02% Castro::subcycle_advance_ctu() 10 0.0001863 0.0001863 0.0001863 0.02% Castro::create_source_corrector() 10 0.0001678 0.0001678 0.0001678 0.02% MLLinOp::defineGrids() 11 0.0001503 0.0001503 0.0001503 0.02% Amr::timeStep() 10 0.0001496 0.0001496 0.0001496 0.02% Gravity::update_max_rhs() 11 0.0001405 0.0001405 0.0001405 0.02% Gravity::solve_for_phi() 10 0.0001391 0.0001391 0.0001391 0.01% StateData::checkPoint() 12 0.0001279 0.0001279 0.0001279 0.01% MLMG:computeResOfCorrection() 410 0.0001205 0.0001205 0.0001205 0.01% Castro::Castro() 1 9.7e-05 9.7e-05 9.7e-05 0.01% FabArrayBase::FB::FB() 56 9.231e-05 9.231e-05 9.231e-05 0.01% MLMG::actualBottomSolve() 82 9.051e-05 9.051e-05 9.051e-05 0.01% MLMG::mgVcycle_down::0 82 8.737e-05 8.737e-05 8.737e-05 0.01% Castro::initialize_advance() 10 8.204e-05 8.204e-05 8.204e-05 0.01% Castro::do_new_sources() 10 8.124e-05 8.124e-05 8.124e-05 0.01% MLMG::solve() 11 8.074e-05 8.074e-05 8.074e-05 0.01% MLMG::mgVcycle_down::1 82 7.967e-05 7.967e-05 7.967e-05 0.01% MLMG::mgVcycle_down::2 82 7.948e-05 7.948e-05 7.948e-05 0.01% Castro::clean_state() 62 7.903e-05 7.903e-05 7.903e-05 0.01% MLMG::mgVcycle_down::4 82 7.837e-05 7.837e-05 7.837e-05 0.01% MLMG::mgVcycle_down::3 82 7.447e-05 7.447e-05 7.447e-05 0.01% Castro::enforce_consistent_e() 1 6.839e-05 6.839e-05 6.839e-05 0.01% Castro::finalize_advance() 10 6.742e-05 6.742e-05 6.742e-05 0.01% MLMG::mgVcycle_up::4 82 6.7e-05 6.7e-05 6.7e-05 0.01% Castro::advance() 10 6.687e-05 6.687e-05 6.687e-05 0.01% AmrLevel::checkPoint() 3 6.651e-05 6.651e-05 6.651e-05 0.01% Castro::initialize_do_advance() 10 6.041e-05 6.041e-05 6.041e-05 0.01% MLMG::mgVcycle_up::3 82 5.38e-05 5.38e-05 5.38e-05 0.01% MLMG::mgVcycle_up::0 82 5.189e-05 5.189e-05 5.189e-05 0.01% MLMG::oneIter() 82 5.118e-05 5.118e-05 5.118e-05 0.01% MLCellLinOp::solutionResidual() 93 4.983e-05 4.983e-05 4.983e-05 0.01% MLMG::mgVcycle_up::1 82 4.981e-05 4.981e-05 4.981e-05 0.01% MLMG::mgVcycle_up::2 82 4.954e-05 4.954e-05 4.954e-05 0.01% Castro::do_advance_ctu() 10 4.872e-05 4.872e-05 4.872e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.829e-05 4.829e-05 4.829e-05 0.01% Castro::construct_new_source() 50 4.569e-05 4.569e-05 4.569e-05 0.00% StateData::define() 4 4.348e-05 4.348e-05 4.348e-05 0.00% Castro::finalize_do_advance() 10 4.162e-05 4.162e-05 4.162e-05 0.00% Castro::swap_state_time_levels() 10 3.837e-05 3.837e-05 3.837e-05 0.00% MLMG::computeResidual() 82 3.697e-05 3.697e-05 3.697e-05 0.00% FillPatchSingleLevel 41 3.553e-05 3.553e-05 3.553e-05 0.00% MLMG::ResNormInf() 93 3.545e-05 3.545e-05 3.545e-05 0.00% MLMG::mgVcycle_bottom 82 3.494e-05 3.494e-05 3.494e-05 0.00% Amr::defBaseLevel() 1 3.469e-05 3.469e-05 3.469e-05 0.00% Castro::buildMetrics() 1 3.243e-05 3.243e-05 3.243e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.06e-05 3.06e-05 3.06e-05 0.00% Castro::initMFs() 1 2.854e-05 2.854e-05 2.854e-05 0.00% Amr::writeSmallPlotFile() 1 2.771e-05 2.771e-05 2.771e-05 0.00% Castro::construct_new_gravity() 10 2.598e-05 2.598e-05 2.598e-05 0.00% makeSFC 55 2.455e-05 2.455e-05 2.455e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 2.453e-05 2.453e-05 2.453e-05 0.00% Castro::do_old_sources() 10 2.161e-05 2.161e-05 2.161e-05 0.00% MLPoisson::define() 11 2.155e-05 2.155e-05 2.155e-05 0.00% Amr::FinalizeInit() 1 2.035e-05 2.035e-05 2.035e-05 0.00% Castro::construct_old_source() 50 2.034e-05 2.034e-05 2.034e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.704e-05 1.704e-05 1.704e-05 0.00% DistributionMapping::Distribute() 56 1.689e-05 1.689e-05 1.689e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.477e-05 1.477e-05 1.477e-05 0.00% Castro::check_for_nan() 20 1.461e-05 1.461e-05 1.461e-05 0.00% MLPoisson::prepareForSolve() 11 1.258e-05 1.258e-05 1.258e-05 0.00% Castro::construct_old_gravity() 10 1.25e-05 1.25e-05 1.25e-05 0.00% Castro::apply_source_to_state() 20 1.193e-05 1.193e-05 1.193e-05 0.00% MLLinOp::define() 11 1.067e-05 1.067e-05 1.067e-05 0.00% Amr::initSubcycle() 1 1.006e-05 1.006e-05 1.006e-05 0.00% Gravity::swapTimeLevels() 10 9.307e-06 9.307e-06 9.307e-06 0.00% Castro::post_init() 1 9.282e-06 9.282e-06 9.282e-06 0.00% MLMG::computeMLResidual() 11 8.599e-06 8.599e-06 8.599e-06 0.00% Castro::post_timestep() 10 8.258e-06 8.258e-06 8.258e-06 0.00% Gravity::actual_multilevel_solve() 1 7.789e-06 7.789e-06 7.789e-06 0.00% Castro::computeNewDt() 9 7.482e-06 7.482e-06 7.482e-06 0.00% Amr::InitializeInit() 1 7.05e-06 7.05e-06 7.05e-06 0.00% Castro::expand_state() 10 6.601e-06 6.601e-06 6.601e-06 0.00% MLMG::getGradSolution() 11 5.688e-06 5.688e-06 5.688e-06 0.00% AmrLevel::checkPointPost() 3 4.841e-06 4.841e-06 4.841e-06 0.00% Castro::retry_advance_ctu() 10 4.688e-06 4.688e-06 4.688e-06 0.00% Castro::computeInitialDt() 2 4.565e-06 4.565e-06 4.565e-06 0.00% MLMG::MLRhsNormInf() 11 4.32e-06 4.32e-06 4.32e-06 0.00% Gravity::set_mass_offset() 11 4.174e-06 4.174e-06 4.174e-06 0.00% MLMG::MLResNormInf() 11 3.821e-06 3.821e-06 3.821e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.956e-06 2.956e-06 2.956e-06 0.00% Castro::FluxRegCrseInit 10 2.821e-06 2.821e-06 2.821e-06 0.00% Amr::init() 1 2.458e-06 2.458e-06 2.458e-06 0.00% AmrLevel::checkPointPre() 3 2.283e-06 2.283e-06 2.283e-06 0.00% Castro::FluxRegFineAdd() 10 2.091e-06 2.091e-06 2.091e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.026e-06 2.026e-06 2.026e-06 0.00% Castro::post_regrid() 1 1.425e-06 1.425e-06 1.425e-06 0.00% Amr::initialInit() 1 1.084e-06 1.084e-06 1.084e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9344 0.9344 0.9344 100.00% Amr::coarseTimeStep() 10 0.7727 0.7727 0.7727 82.69% Amr::timeStep() 10 0.6718 0.6718 0.6718 71.90% Castro::advance() 10 0.6613 0.6613 0.6613 70.77% Castro::subcycle_advance_ctu() 10 0.6474 0.6474 0.6474 69.29% Castro::do_advance_ctu() 10 0.6472 0.6472 0.6472 69.27% Castro::construct_ctu_hydro_source() 10 0.3104 0.3104 0.3104 33.22% Gravity::solve_phi_with_mlmg() 11 0.2931 0.2931 0.2931 31.37% Gravity::actual_solve_with_mlmg() 11 0.2833 0.2833 0.2833 30.32% Castro::construct_new_gravity() 10 0.2639 0.2639 0.2639 28.25% MLMG::solve() 11 0.2618 0.2618 0.2618 28.02% Gravity::solve_for_phi() 10 0.2479 0.2479 0.2479 26.53% MLMG::oneIter() 82 0.2467 0.2467 0.2467 26.40% MLMG::mgVcycle() 82 0.243 0.243 0.243 26.01% VisMF::Write(FabArray) 11 0.1968 0.1968 0.1968 21.06% Amr::checkPoint() 3 0.1477 0.1477 0.1477 15.81% AmrLevel::checkPoint() 3 0.1429 0.1429 0.1429 15.30% StateData::checkPoint() 12 0.1429 0.1429 0.1429 15.29% Amr::init() 1 0.1326 0.1326 0.1326 14.19% MLCellLinOp::smooth() 1640 0.1188 0.1188 0.1188 12.71% MLCellLinOp::applyBC() 4433 0.1109 0.1109 0.1109 11.87% MLMG::mgVcycle_bottom 82 0.07606 0.07606 0.07606 8.14% MLMG::actualBottomSolve() 82 0.07603 0.07603 0.07603 8.14% MLCGSolver::bicgstab 82 0.07531 0.07531 0.07531 8.06% Castro::clean_state() 62 0.05729 0.05729 0.05729 6.13% Amr::writePlotFile() 2 0.05652 0.05652 0.05652 6.05% Amr::initialInit() 1 0.05426 0.05426 0.05426 5.81% Amr::FinalizeInit() 1 0.04926 0.04926 0.04926 5.27% Castro::post_init() 1 0.04808 0.04808 0.04808 5.15% AmrLevel::FillPatch() 41 0.04798 0.04798 0.04798 5.14% Gravity::multilevel_solve_for_new_phi() 1 0.04564 0.04564 0.04564 4.88% Gravity::actual_multilevel_solve() 1 0.04562 0.04562 0.04562 4.88% FillPatchIterator::Initialize 41 0.04377 0.04377 0.04377 4.68% FillPatchIterator::FillFromLevel0() 41 0.04221 0.04221 0.04221 4.52% FillPatchSingleLevel 41 0.04216 0.04216 0.04216 4.51% StateDataPhysBCFunct::() 41 0.0381 0.0381 0.0381 4.08% MLCellLinOp::apply() 1142 0.03732 0.03732 0.03732 3.99% MLMG::mgVcycle_down::0 82 0.03408 0.03408 0.03408 3.65% MLPoisson::Fsmooth() 3280 0.0333 0.0333 0.0333 3.56% FabArray::FillBoundary() 4023 0.03242 0.03242 0.03242 3.47% FillBoundary_nowait() 4023 0.03161 0.03161 0.03161 3.38% StateData::FillBoundary(geom) 328 0.02675 0.02675 0.02675 2.86% MLMG::mgVcycle_up::0 82 0.0257 0.0257 0.0257 2.75% Castro::computeTemp() 63 0.02319 0.02319 0.02319 2.48% MLCellLinOp::correctionResidual() 492 0.02263 0.02263 0.02263 2.42% amrex::Dot() 1114 0.02124 0.02124 0.02124 2.27% Castro::normalize_species() 62 0.02121 0.02121 0.02121 2.27% Castro::initialize_do_advance() 10 0.0212 0.0212 0.0212 2.27% MLMG:computeResOfCorrection() 410 0.01993 0.01993 0.01993 2.13% Castro::do_old_sources() 10 0.01978 0.01978 0.01978 2.12% Gravity::get_new_grav_vector() 11 0.01801 0.01801 0.01801 1.93% MLPoisson::define() 11 0.01691 0.01691 0.01691 1.81% MLMG::mgVcycle_down::1 82 0.01623 0.01623 0.01623 1.74% Castro::construct_old_gravity() 10 0.01528 0.01528 0.01528 1.64% Gravity::get_old_grav_vector() 10 0.01527 0.01527 0.01527 1.63% amrex::Copy() 1029 0.01518 0.01518 0.01518 1.62% MLMG::mgVcycle_down::2 82 0.01507 0.01507 0.01507 1.61% FabArray::norminf() 743 0.01482 0.01482 0.01482 1.59% MLMG::mgVcycle_down::3 82 0.01477 0.01477 0.01477 1.58% FabArray::ParallelCopy() 861 0.01465 0.01465 0.01465 1.57% MLMG::mgVcycle_down::4 82 0.01461 0.01461 0.01461 1.56% FabArray::ParallelCopy_nowait() 861 0.01439 0.01439 0.01439 1.54% FabArray::setVal() 1144 0.01353 0.01353 0.01353 1.45% Castro::do_new_sources() 10 0.01345 0.01345 0.01345 1.44% Castro::initialize_advance() 10 0.01318 0.01318 0.01318 1.41% MLCGSolver::ParallelAllReduce 1514 0.01274 0.01274 0.01274 1.36% MLMG::addInterpCorrection() 410 0.0122 0.0122 0.0122 1.31% Castro::expand_state() 10 0.01202 0.01202 0.01202 1.29% MLMG::mgVcycle_up::1 82 0.0118 0.0118 0.0118 1.26% MLMG::mgVcycle_up::4 82 0.01174 0.01174 0.01174 1.26% MLCellLinOp::defineAuxData() 11 0.01154 0.01154 0.01154 1.24% MLMG::mgVcycle_up::2 82 0.0115 0.0115 0.0115 1.23% amrex::average_down 410 0.01149 0.01149 0.01149 1.23% MLMG::mgVcycle_up::3 82 0.01127 0.01127 0.01127 1.21% MLPoisson::Fapply() 1142 0.01069 0.01069 0.01069 1.14% Castro::post_timestep() 10 0.01037 0.01037 0.01037 1.11% Castro::enforce_min_density() 62 0.01036 0.01036 0.01036 1.11% Gravity::fill_multipole_BCs() 11 0.00957 0.00957 0.00957 1.02% FabArray::Saxpy() 813 0.008408 0.008408 0.008408 0.90% FabArray::Xpay() 821 0.008323 0.008323 0.008323 0.89% MLCellLinOp::solutionResidual() 93 0.007609 0.007609 0.007609 0.81% Castro::reset_internal_energy(MultiFab) 63 0.007324 0.007324 0.007324 0.78% MLMG::computeResidual() 82 0.006324 0.006324 0.006324 0.68% Castro::estTimeStep() 21 0.005356 0.005356 0.005356 0.57% MLCellLinOp::defineBC() 11 0.005114 0.005114 0.005114 0.55% Amr::InitializeInit() 1 0.005 0.005 0.005 0.54% Amr::defBaseLevel() 1 0.004992 0.004992 0.004992 0.53% MLMG::prepareForSolve() 11 0.00497 0.00497 0.00497 0.53% BndryData::define() 11 0.004892 0.004892 0.004892 0.52% FabArray::LinComb() 557 0.004695 0.004695 0.004695 0.50% amrex::Add() 164 0.004489 0.004489 0.004489 0.48% Castro::initData() 1 0.00431 0.00431 0.00431 0.46% Castro::enforce_speed_limit() 62 0.003488 0.003488 0.003488 0.37% Castro::construct_new_source() 50 0.003379 0.003379 0.003379 0.36% Castro::construct_new_gravity_source() 10 0.003333 0.003333 0.003333 0.36% Castro::construct_old_source() 50 0.002862 0.002862 0.002862 0.31% Castro::construct_old_gravity_source() 10 0.002842 0.002842 0.002842 0.30% check_for_negative_density() 10 0.002283 0.002283 0.002283 0.24% Castro::finalize_do_advance() 10 0.002191 0.002191 0.002191 0.23% MLMG::ResNormInf() 93 0.002183 0.002183 0.002183 0.23% Castro::computeNewDt() 9 0.00213 0.00213 0.00213 0.23% Castro::apply_source_to_state() 20 0.00186 0.00186 0.00186 0.20% Castro::reset_internal_energy(Fab) 504 0.001764 0.001764 0.001764 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001759 0.001759 0.001759 0.19% MLMG::getGradSolution() 11 0.001544 0.001544 0.001544 0.17% MLCellLinOp::compGrad() 11 0.001539 0.001539 0.001539 0.16% MLCellLinOp::setLevelBC() 11 0.001514 0.001514 0.001514 0.16% FabArrayBase::getCPC() 1323 0.001439 0.001439 0.001439 0.15% FabArray::mult() 43 0.001375 0.001375 0.001375 0.15% FabArray::setDomainBndry() 41 0.001342 0.001342 0.001342 0.14% MLMG::computeMLResidual() 11 0.001331 0.001331 0.001331 0.14% MLPoisson::prepareForSolve() 11 0.001285 0.001285 0.001285 0.14% Castro::check_for_nan() 20 0.001276 0.001276 0.001276 0.14% MLCellLinOp::prepareForSolve() 11 0.001272 0.001272 0.001272 0.14% MultiFab::contains_nan() 20 0.001262 0.001262 0.001262 0.14% Castro::computeInitialDt() 2 0.001089 0.001089 0.001089 0.12% Gravity::update_max_rhs() 11 0.00101 0.00101 0.00101 0.11% Castro::post_regrid() 1 0.0008342 0.0008342 0.0008342 0.09% FabArrayBase::getFB() 4023 0.0007232 0.0007232 0.0007232 0.08% FabArrayBase::CPC::define() 454 0.0006694 0.0006694 0.0006694 0.07% Castro::finalize_advance() 10 0.0005985 0.0005985 0.0005985 0.06% Castro::Castro() 1 0.0005848 0.0005848 0.0005848 0.06% Amr::InitAmr() 1 0.0005051 0.0005051 0.0005051 0.05% Gravity::swapTimeLevels() 10 0.0004486 0.0004486 0.0004486 0.05% MultiFab::max() 11 0.0003362 0.0003362 0.0003362 0.04% MLMG::MLResNormInf() 11 0.0003307 0.0003307 0.0003307 0.04% Castro::buildMetrics() 1 0.0002901 0.0002901 0.0002901 0.03% MLMG::MLRhsNormInf() 11 0.0002402 0.0002402 0.0002402 0.03% MLLinOp::define() 11 0.0002276 0.0002276 0.0002276 0.02% MLLinOp::defineGrids() 11 0.0002169 0.0002169 0.0002169 0.02% Castro::create_source_corrector() 10 0.0001678 0.0001678 0.0001678 0.02% FabArrayBase::FB::FB() 56 9.231e-05 9.231e-05 9.231e-05 0.01% Castro::enforce_consistent_e() 1 6.839e-05 6.839e-05 6.839e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.454e-05 6.454e-05 6.454e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.825e-05 5.825e-05 5.825e-05 0.01% StateData::define() 4 4.348e-05 4.348e-05 4.348e-05 0.00% makeSFC 55 4.001e-05 4.001e-05 4.001e-05 0.00% Castro::swap_state_time_levels() 10 3.837e-05 3.837e-05 3.837e-05 0.00% Castro::initMFs() 1 2.854e-05 2.854e-05 2.854e-05 0.00% Amr::writeSmallPlotFile() 1 2.771e-05 2.771e-05 2.771e-05 0.00% DistributionMapping::Distribute() 56 1.689e-05 1.689e-05 1.689e-05 0.00% Amr::initSubcycle() 1 1.006e-05 1.006e-05 1.006e-05 0.00% AmrLevel::checkPointPost() 3 4.841e-06 4.841e-06 4.841e-06 0.00% Castro::retry_advance_ctu() 10 4.688e-06 4.688e-06 4.688e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.38e-06 4.38e-06 4.38e-06 0.00% Gravity::set_mass_offset() 11 4.174e-06 4.174e-06 4.174e-06 0.00% Castro::FluxRegCrseInit 10 2.821e-06 2.821e-06 2.821e-06 0.00% AmrLevel::checkPointPre() 3 2.283e-06 2.283e-06 2.283e-06 0.00% Castro::FluxRegFineAdd() 10 2.091e-06 2.091e-06 2.091e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.026e-06 2.026e-06 2.026e-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 89 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 148 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 1002 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1703 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3447 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 200 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2090 B 2048 KiB Gravity::solve_for_phi() 80 80 542 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 315 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 200 KiB 671 KiB Castro::estTimeStep() 21 21 2793 B 480 KiB VisMF::Write(FabArray) 656 656 3277 B 320 KiB Castro::normalize_species() 62 62 7394 B 320 KiB amrex::average_down 1067 1067 1238 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1115 B 257 KiB amrex::Dot() 1360 1360 3345 B 160 KiB FabArray::norminf() 907 907 2340 B 160 KiB check_for_negative_density() 10 10 360 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3365 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 289 B 9648 B MLCellLinOp::applyBC() 8866 8866 216 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3926 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 117 B 1472 B MLCellLinOp::defineBC() 66 66 355 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 582 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 478 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3365 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 289 B 9648 B MLCellLinOp::applyBC() 4433 4433 215 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3926 B 6144 B Gravity::get_new_grav_vector() 3 3 2895 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 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 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 287 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 check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-30-g3396b1df1175) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-30-g3396b1df1175) initialized Starting run at 08:03:56 UTC on 2023-08-15. Successfully read inputs file ... Castro git describe: 23.08-5-g5303a2cd5 AMReX git describe: 23.08-30-g3396b1df1 Microphysics git describe: 23.08-9-g255c3999 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.504586432 Restart time = 0.049198487 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.054271909 [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.05022919 [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.080974231 [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.079503822 [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.058460758 [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.028825925 seconds Ending run at 08:03:57 UTC on 2023-08-15. Run time = 0.402476434 Run time without initialization = 0.352687515 Average number of zones advanced per microsecond: 3.716 Average number of zones advanced per microsecond per rank: 3.716 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4025 ... 0.4025 ... 0.4025 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1350 0.1350 0.1350 33.53% VisMF::Read() 3 0.03772 0.03772 0.03772 9.37% MLCellLinOp::applyBC() 1946 0.03388 0.03388 0.03388 8.42% VisMF::Write(FabArray) 1 0.02746 0.02746 0.02746 6.82% MLPoisson::Fsmooth() 1440 0.01428 0.01428 0.01428 3.55% StateData::FillBoundary(geom) 160 0.01326 0.01326 0.01326 3.30% FillBoundary_nowait() 1766 0.01318 0.01318 0.01318 3.27% Castro::normalize_species() 30 0.009926 0.009926 0.009926 2.47% amrex::Dot() 484 0.00918 0.00918 0.00918 2.28% Castro::computeTemp() 30 0.007421 0.007421 0.007421 1.84% amrex::Copy() 463 0.007291 0.007291 0.007291 1.81% FabArray::setVal() 537 0.006599 0.006599 0.006599 1.64% FabArray::norminf() 326 0.006467 0.006467 0.006467 1.61% FabArray::ParallelCopy_nowait() 380 0.006165 0.006165 0.006165 1.53% Castro::enforce_min_density() 30 0.005784 0.005784 0.005784 1.44% MLCellLinOp::defineAuxData() 6 0.005542 0.005542 0.005542 1.38% Gravity::fill_multipole_BCs() 6 0.005411 0.005411 0.005411 1.34% Amr::restart() 1 0.00472 0.00472 0.00472 1.17% MLPoisson::Fapply() 500 0.004607 0.004607 0.004607 1.14% StateDataPhysBCFunct::() 20 0.004374 0.004374 0.004374 1.09% FabArray::Saxpy() 355 0.003797 0.003797 0.003797 0.94% FabArray::Xpay() 361 0.003637 0.003637 0.003637 0.90% MLMG::addInterpCorrection() 180 0.003059 0.003059 0.003059 0.76% amrex::average_down 180 0.002699 0.002699 0.002699 0.67% Castro::estTimeStep() 10 0.002675 0.002675 0.002675 0.66% FabArray::LinComb() 242 0.002265 0.002265 0.002265 0.56% BndryData::define() 6 0.002125 0.002125 0.002125 0.53% amrex::Add() 72 0.001894 0.001894 0.001894 0.47% Castro::construct_new_gravity_source() 5 0.001568 0.001568 0.001568 0.39% Castro::reset_internal_energy(MultiFab) 30 0.001518 0.001518 0.001518 0.38% Castro::construct_old_gravity_source() 5 0.001217 0.001217 0.001217 0.30% Amr::writePlotFile() 1 0.001209 0.001209 0.001209 0.30% MLCGSolver::bicgstab 36 0.001004 0.001004 0.001004 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009517 0.0009517 0.0009517 0.24% check_for_negative_density() 5 0.0009354 0.0009354 0.0009354 0.23% Castro::reset_internal_energy(Fab) 240 0.0008454 0.0008454 0.0008454 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008284 0.0008284 0.0008284 0.21% MLCellLinOp::setLevelBC() 6 0.0007921 0.0007921 0.0007921 0.20% MLCellLinOp::prepareForSolve() 6 0.000705 0.000705 0.000705 0.18% FabArray::mult() 22 0.0006957 0.0006957 0.0006957 0.17% FabArray::setDomainBndry() 20 0.000689 0.000689 0.000689 0.17% Castro::enforce_speed_limit() 30 0.0006627 0.0006627 0.0006627 0.16% MultiFab::contains_nan() 10 0.0006571 0.0006571 0.0006571 0.16% MLCellLinOp::compGrad() 6 0.0005889 0.0005889 0.0005889 0.15% MLMG::prepareForSolve() 6 0.000531 0.000531 0.000531 0.13% MLCellLinOp::smooth() 720 0.0005275 0.0005275 0.0005275 0.13% FabArrayBase::CPC::define() 244 0.0004154 0.0004154 0.0004154 0.10% Amr::InitAmr() 1 0.000412 0.000412 0.000412 0.10% FabArray::FillBoundary() 1766 0.0003578 0.0003578 0.0003578 0.09% FabArrayBase::getCPC() 632 0.0003559 0.0003559 0.0003559 0.09% Gravity::get_old_grav_vector() 5 0.0003314 0.0003314 0.0003314 0.08% main() 1 0.0002711 0.0002711 0.0002711 0.07% Gravity::get_new_grav_vector() 5 0.0002609 0.0002609 0.0002609 0.06% FabArrayBase::getFB() 1766 0.0002596 0.0002596 0.0002596 0.06% MLCellLinOp::apply() 500 0.0002162 0.0002162 0.0002162 0.05% MultiFab::max() 6 0.0002071 0.0002071 0.0002071 0.05% Castro::subcycle_advance_ctu() 5 0.000171 0.000171 0.000171 0.04% AmrLevel::FillPatch() 20 0.0001626 0.0001626 0.0001626 0.04% Amr::coarseTimeStep() 5 0.0001567 0.0001567 0.0001567 0.04% MLCGSolver::ParallelAllReduce 659 0.0001375 0.0001375 0.0001375 0.03% FabArray::ParallelCopy() 380 0.0001219 0.0001219 0.0001219 0.03% MLCellLinOp::defineBC() 6 0.0001185 0.0001185 0.0001185 0.03% Castro::create_source_corrector() 5 0.0001106 0.0001106 0.0001106 0.03% MLLinOp::defineGrids() 6 0.0001067 0.0001067 0.0001067 0.03% FillPatchIterator::Initialize 20 0.0001052 0.0001052 0.0001052 0.03% MLCellLinOp::correctionResidual() 216 9.405e-05 9.405e-05 9.405e-05 0.02% MLMG::mgVcycle() 36 8.71e-05 8.71e-05 8.71e-05 0.02% Amr::timeStep() 5 8.023e-05 8.023e-05 8.023e-05 0.02% AmrLevel::restart() 1 6.996e-05 6.996e-05 6.996e-05 0.02% Gravity::solve_for_phi() 5 6.632e-05 6.632e-05 6.632e-05 0.02% Gravity::update_max_rhs() 6 6.483e-05 6.483e-05 6.483e-05 0.02% StateData::restartDoit() 4 6.252e-05 6.252e-05 6.252e-05 0.02% Castro::do_advance_ctu() 5 6.174e-05 6.174e-05 6.174e-05 0.02% Castro::construct_new_source() 25 6.111e-05 6.111e-05 6.111e-05 0.02% FabArrayBase::FB::FB() 26 6.019e-05 6.019e-05 6.019e-05 0.01% Castro::advance() 5 5.538e-05 5.538e-05 5.538e-05 0.01% MLMG:computeResOfCorrection() 180 5.346e-05 5.346e-05 5.346e-05 0.01% Castro::finalize_do_advance() 5 4.753e-05 4.753e-05 4.753e-05 0.01% MLMG::mgVcycle_down::0 36 4.267e-05 4.267e-05 4.267e-05 0.01% Castro::do_new_sources() 5 4.121e-05 4.121e-05 4.121e-05 0.01% MLMG::solve() 6 4.108e-05 4.108e-05 4.108e-05 0.01% MLMG::actualBottomSolve() 36 4.081e-05 4.081e-05 4.081e-05 0.01% MLMG::mgVcycle_down::4 36 3.66e-05 3.66e-05 3.66e-05 0.01% Castro::initialize_advance() 5 3.599e-05 3.599e-05 3.599e-05 0.01% MLMG::mgVcycle_down::1 36 3.543e-05 3.543e-05 3.543e-05 0.01% Castro::clean_state() 30 3.541e-05 3.541e-05 3.541e-05 0.01% MLMG::mgVcycle_down::2 36 3.375e-05 3.375e-05 3.375e-05 0.01% MLMG::mgVcycle_down::3 36 3.196e-05 3.196e-05 3.196e-05 0.01% Castro::initialize_do_advance() 5 3.109e-05 3.109e-05 3.109e-05 0.01% Amr::writeSmallPlotFile() 1 3.021e-05 3.021e-05 3.021e-05 0.01% Castro::post_restart() 1 2.97e-05 2.97e-05 2.97e-05 0.01% Castro::finalize_advance() 5 2.909e-05 2.909e-05 2.909e-05 0.01% MLMG::mgVcycle_up::4 36 2.846e-05 2.846e-05 2.846e-05 0.01% Castro::construct_old_source() 25 2.76e-05 2.76e-05 2.76e-05 0.01% Castro::buildMetrics() 1 2.737e-05 2.737e-05 2.737e-05 0.01% Castro::swap_state_time_levels() 5 2.604e-05 2.604e-05 2.604e-05 0.01% Castro::initMFs() 1 2.507e-05 2.507e-05 2.507e-05 0.01% MLCellLinOp::solutionResidual() 42 2.319e-05 2.319e-05 2.319e-05 0.01% MLMG::mgVcycle_up::0 36 2.281e-05 2.281e-05 2.281e-05 0.01% MLMG::oneIter() 36 2.266e-05 2.266e-05 2.266e-05 0.01% MLMG::mgVcycle_up::3 36 2.183e-05 2.183e-05 2.183e-05 0.01% MLMG::mgVcycle_up::2 36 2.051e-05 2.051e-05 2.051e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.049e-05 2.049e-05 2.049e-05 0.01% MLMG::mgVcycle_up::1 36 1.98e-05 1.98e-05 1.98e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.717e-05 1.717e-05 1.717e-05 0.00% MLMG::ResNormInf() 42 1.669e-05 1.669e-05 1.669e-05 0.00% MLMG::computeResidual() 36 1.616e-05 1.616e-05 1.616e-05 0.00% FillPatchSingleLevel 20 1.611e-05 1.611e-05 1.611e-05 0.00% Gravity::actual_multilevel_solve() 1 1.567e-05 1.567e-05 1.567e-05 0.00% MLMG::mgVcycle_bottom 36 1.548e-05 1.548e-05 1.548e-05 0.00% MLPoisson::define() 6 1.402e-05 1.402e-05 1.402e-05 0.00% Castro::construct_new_gravity() 5 1.321e-05 1.321e-05 1.321e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.29e-05 1.29e-05 1.29e-05 0.00% makeSFC 30 1.24e-05 1.24e-05 1.24e-05 0.00% Castro::do_old_sources() 5 1.122e-05 1.122e-05 1.122e-05 0.00% Amr::initSubcycle() 1 9.747e-06 9.747e-06 9.747e-06 0.00% DistributionMapping::Distribute() 31 9.25e-06 9.25e-06 9.25e-06 0.00% MLPoisson::prepareForSolve() 6 8.092e-06 8.092e-06 8.092e-06 0.00% Castro::check_for_nan() 10 8.057e-06 8.057e-06 8.057e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.066e-06 7.066e-06 7.066e-06 0.00% Castro::construct_old_gravity() 5 6.393e-06 6.393e-06 6.393e-06 0.00% MLLinOp::define() 6 5.86e-06 5.86e-06 5.86e-06 0.00% Castro::apply_source_to_state() 10 5.816e-06 5.816e-06 5.816e-06 0.00% Castro::post_timestep() 5 4.463e-06 4.463e-06 4.463e-06 0.00% Gravity::swapTimeLevels() 5 4.102e-06 4.102e-06 4.102e-06 0.00% Castro::computeNewDt() 5 4.012e-06 4.012e-06 4.012e-06 0.00% MLMG::computeMLResidual() 6 3.895e-06 3.895e-06 3.895e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.44e-06 3.44e-06 3.44e-06 0.00% MLMG::getGradSolution() 6 2.845e-06 2.845e-06 2.845e-06 0.00% Castro::expand_state() 5 2.65e-06 2.65e-06 2.65e-06 0.00% MLMG::MLResNormInf() 6 2.476e-06 2.476e-06 2.476e-06 0.00% Castro::retry_advance_ctu() 5 2.463e-06 2.463e-06 2.463e-06 0.00% MLMG::MLRhsNormInf() 6 2.364e-06 2.364e-06 2.364e-06 0.00% Gravity::set_mass_offset() 6 2.096e-06 2.096e-06 2.096e-06 0.00% Castro::FluxRegFineAdd() 5 1.445e-06 1.445e-06 1.445e-06 0.00% Castro::FluxRegCrseInit 5 1.348e-06 1.348e-06 1.348e-06 0.00% Amr::init() 1 1.139e-06 1.139e-06 1.139e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.111e-06 1.111e-06 1.111e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4025 0.4025 0.4025 100.00% Amr::coarseTimeStep() 5 0.3236 0.3236 0.3236 80.39% Amr::timeStep() 5 0.3218 0.3218 0.3218 79.94% Castro::advance() 5 0.3171 0.3171 0.3171 78.78% Castro::subcycle_advance_ctu() 5 0.3102 0.3102 0.3102 77.06% Castro::do_advance_ctu() 5 0.31 0.31 0.31 77.02% Castro::construct_ctu_hydro_source() 5 0.1406 0.1406 0.1406 34.94% Castro::construct_new_gravity() 5 0.1335 0.1335 0.1335 33.18% Gravity::solve_phi_with_mlmg() 6 0.1313 0.1313 0.1313 32.63% Gravity::solve_for_phi() 5 0.1257 0.1257 0.1257 31.23% Gravity::actual_solve_with_mlmg() 6 0.1256 0.1256 0.1256 31.22% MLMG::solve() 6 0.1139 0.1139 0.1139 28.30% MLMG::oneIter() 36 0.1065 0.1065 0.1065 26.45% MLMG::mgVcycle() 36 0.1049 0.1049 0.1049 26.07% MLCellLinOp::smooth() 720 0.05093 0.05093 0.05093 12.65% Amr::init() 1 0.04925 0.04925 0.04925 12.24% Amr::restart() 1 0.04925 0.04925 0.04925 12.24% MLCellLinOp::applyBC() 1946 0.04774 0.04774 0.04774 11.86% AmrLevel::restart() 1 0.03806 0.03806 0.03806 9.46% StateData::restartDoit() 4 0.03799 0.03799 0.03799 9.44% VisMF::Read() 3 0.03772 0.03772 0.03772 9.37% MLMG::mgVcycle_bottom 36 0.03308 0.03308 0.03308 8.22% MLMG::actualBottomSolve() 36 0.03307 0.03307 0.03307 8.22% MLCGSolver::bicgstab 36 0.03275 0.03275 0.03275 8.14% Amr::writePlotFile() 1 0.02893 0.02893 0.02893 7.19% VisMF::Write(FabArray) 1 0.02746 0.02746 0.02746 6.82% Castro::clean_state() 30 0.02619 0.02619 0.02619 6.51% AmrLevel::FillPatch() 20 0.0226 0.0226 0.0226 5.61% FillPatchIterator::Initialize 20 0.02053 0.02053 0.02053 5.10% FillPatchIterator::FillFromLevel0() 20 0.01973 0.01973 0.01973 4.90% FillPatchSingleLevel 20 0.01971 0.01971 0.01971 4.90% StateDataPhysBCFunct::() 20 0.01764 0.01764 0.01764 4.38% MLCellLinOp::apply() 500 0.01616 0.01616 0.01616 4.02% MLMG::mgVcycle_down::0 36 0.01469 0.01469 0.01469 3.65% MLPoisson::Fsmooth() 1440 0.01428 0.01428 0.01428 3.55% FabArray::FillBoundary() 1766 0.01386 0.01386 0.01386 3.44% FillBoundary_nowait() 1766 0.0135 0.0135 0.0135 3.35% StateData::FillBoundary(geom) 160 0.01326 0.01326 0.01326 3.30% Castro::initialize_do_advance() 5 0.01126 0.01126 0.01126 2.80% MLMG::mgVcycle_up::0 36 0.01107 0.01107 0.01107 2.75% Castro::normalize_species() 30 0.009926 0.009926 0.009926 2.47% Castro::computeTemp() 30 0.009785 0.009785 0.009785 2.43% MLCellLinOp::correctionResidual() 216 0.009726 0.009726 0.009726 2.42% MLPoisson::define() 6 0.009272 0.009272 0.009272 2.30% amrex::Dot() 484 0.00918 0.00918 0.00918 2.28% Castro::do_old_sources() 5 0.009031 0.009031 0.009031 2.24% MLMG:computeResOfCorrection() 180 0.008556 0.008556 0.008556 2.13% Castro::construct_old_gravity() 5 0.007814 0.007814 0.007814 1.94% Gravity::get_old_grav_vector() 5 0.007807 0.007807 0.007807 1.94% Gravity::get_new_grav_vector() 5 0.00774 0.00774 0.00774 1.92% amrex::Copy() 463 0.007291 0.007291 0.007291 1.81% MLMG::mgVcycle_down::1 36 0.007063 0.007063 0.007063 1.75% FabArray::ParallelCopy() 380 0.006679 0.006679 0.006679 1.66% FabArray::setVal() 537 0.006599 0.006599 0.006599 1.64% Castro::initialize_advance() 5 0.006576 0.006576 0.006576 1.63% FabArray::ParallelCopy_nowait() 380 0.006557 0.006557 0.006557 1.63% MLMG::mgVcycle_down::2 36 0.006494 0.006494 0.006494 1.61% FabArray::norminf() 326 0.006467 0.006467 0.006467 1.61% MLMG::mgVcycle_down::3 36 0.006327 0.006327 0.006327 1.57% MLCellLinOp::defineAuxData() 6 0.00631 0.00631 0.00631 1.57% Castro::post_restart() 1 0.006286 0.006286 0.006286 1.56% MLMG::mgVcycle_down::4 36 0.006269 0.006269 0.006269 1.56% Castro::do_new_sources() 5 0.006156 0.006156 0.006156 1.53% Gravity::multilevel_solve_for_new_phi() 1 0.005903 0.005903 0.005903 1.47% Gravity::actual_multilevel_solve() 1 0.005886 0.005886 0.005886 1.46% Castro::enforce_min_density() 30 0.005784 0.005784 0.005784 1.44% Castro::expand_state() 5 0.005753 0.005753 0.005753 1.43% Gravity::fill_multipole_BCs() 6 0.005546 0.005546 0.005546 1.38% MLCGSolver::ParallelAllReduce 659 0.005534 0.005534 0.005534 1.37% MLMG::addInterpCorrection() 180 0.00534 0.00534 0.00534 1.33% MLMG::mgVcycle_up::4 36 0.005077 0.005077 0.005077 1.26% amrex::average_down 180 0.005039 0.005039 0.005039 1.25% MLMG::mgVcycle_up::1 36 0.00502 0.00502 0.00502 1.25% MLMG::mgVcycle_up::2 36 0.004932 0.004932 0.004932 1.23% MLMG::mgVcycle_up::3 36 0.004827 0.004827 0.004827 1.20% MLPoisson::Fapply() 500 0.004607 0.004607 0.004607 1.14% Castro::post_timestep() 5 0.00456 0.00456 0.00456 1.13% FabArray::Saxpy() 355 0.003797 0.003797 0.003797 0.94% FabArray::Xpay() 361 0.003637 0.003637 0.003637 0.90% MLCellLinOp::solutionResidual() 42 0.003479 0.003479 0.003479 0.86% MLCellLinOp::defineBC() 6 0.002807 0.002807 0.002807 0.70% MLMG::prepareForSolve() 6 0.002764 0.002764 0.002764 0.69% MLMG::computeResidual() 36 0.002713 0.002713 0.002713 0.67% BndryData::define() 6 0.002689 0.002689 0.002689 0.67% Castro::estTimeStep() 10 0.002675 0.002675 0.002675 0.66% Castro::reset_internal_energy(MultiFab) 30 0.002364 0.002364 0.002364 0.59% FabArray::LinComb() 242 0.002265 0.002265 0.002265 0.56% amrex::Add() 72 0.001894 0.001894 0.001894 0.47% Castro::computeNewDt() 5 0.001682 0.001682 0.001682 0.42% Castro::construct_new_source() 25 0.001629 0.001629 0.001629 0.40% Castro::construct_new_gravity_source() 5 0.001568 0.001568 0.001568 0.39% Castro::construct_old_source() 25 0.001244 0.001244 0.001244 0.31% Castro::construct_old_gravity_source() 5 0.001217 0.001217 0.001217 0.30% Castro::finalize_do_advance() 5 0.001044 0.001044 0.001044 0.26% MLMG::ResNormInf() 42 0.0009911 0.0009911 0.0009911 0.25% Castro::apply_source_to_state() 10 0.0009576 0.0009576 0.0009576 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009517 0.0009517 0.0009517 0.24% check_for_negative_density() 5 0.0009354 0.0009354 0.0009354 0.23% MLMG::getGradSolution() 6 0.0008679 0.0008679 0.0008679 0.22% MLCellLinOp::compGrad() 6 0.0008651 0.0008651 0.0008651 0.21% Castro::reset_internal_energy(Fab) 240 0.0008454 0.0008454 0.0008454 0.21% MLCellLinOp::setLevelBC() 6 0.0007921 0.0007921 0.0007921 0.20% MLMG::computeMLResidual() 6 0.0007861 0.0007861 0.0007861 0.20% FabArrayBase::getCPC() 632 0.0007713 0.0007713 0.0007713 0.19% Gravity::update_max_rhs() 6 0.0007213 0.0007213 0.0007213 0.18% MLPoisson::prepareForSolve() 6 0.0007131 0.0007131 0.0007131 0.18% MLCellLinOp::prepareForSolve() 6 0.000705 0.000705 0.000705 0.18% FabArray::mult() 22 0.0006957 0.0006957 0.0006957 0.17% FabArray::setDomainBndry() 20 0.000689 0.000689 0.000689 0.17% Castro::check_for_nan() 10 0.0006652 0.0006652 0.0006652 0.17% Castro::enforce_speed_limit() 30 0.0006627 0.0006627 0.0006627 0.16% MultiFab::contains_nan() 10 0.0006571 0.0006571 0.0006571 0.16% Amr::InitAmr() 1 0.0004217 0.0004217 0.0004217 0.10% FabArrayBase::CPC::define() 244 0.0004154 0.0004154 0.0004154 0.10% FabArrayBase::getFB() 1766 0.0003198 0.0003198 0.0003198 0.08% Castro::finalize_advance() 5 0.0002985 0.0002985 0.0002985 0.07% Gravity::swapTimeLevels() 5 0.0002433 0.0002433 0.0002433 0.06% MultiFab::max() 6 0.0002071 0.0002071 0.0002071 0.05% MLMG::MLResNormInf() 6 0.0001884 0.0001884 0.0001884 0.05% Castro::buildMetrics() 1 0.0001546 0.0001546 0.0001546 0.04% MLLinOp::define() 6 0.000141 0.000141 0.000141 0.04% MLLinOp::defineGrids() 6 0.0001351 0.0001351 0.0001351 0.03% MLMG::MLRhsNormInf() 6 0.0001187 0.0001187 0.0001187 0.03% Castro::create_source_corrector() 5 0.0001106 0.0001106 0.0001106 0.03% FabArrayBase::FB::FB() 26 6.019e-05 6.019e-05 6.019e-05 0.01% Amr::writeSmallPlotFile() 1 3.021e-05 3.021e-05 3.021e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.731e-05 2.731e-05 2.731e-05 0.01% Castro::swap_state_time_levels() 5 2.604e-05 2.604e-05 2.604e-05 0.01% Castro::initMFs() 1 2.507e-05 2.507e-05 2.507e-05 0.01% makeSFC 30 2.024e-05 2.024e-05 2.024e-05 0.01% Amr::initSubcycle() 1 9.747e-06 9.747e-06 9.747e-06 0.00% DistributionMapping::Distribute() 31 9.25e-06 9.25e-06 9.25e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.848e-06 4.848e-06 4.848e-06 0.00% Castro::retry_advance_ctu() 5 2.463e-06 2.463e-06 2.463e-06 0.00% Gravity::set_mass_offset() 6 2.096e-06 2.096e-06 2.096e-06 0.00% Castro::FluxRegFineAdd() 5 1.445e-06 1.445e-06 1.445e-06 0.00% Castro::FluxRegCrseInit 5 1.348e-06 1.348e-06 1.348e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.111e-06 1.111e-06 1.111e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 206 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 152 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1105 KiB 39 MiB Castro::initialize_do_advance() 40 40 30 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2016 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 6759 KiB 14 MiB MLMG::prepareForSolve() 361 361 3473 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 201 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 196 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6744 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3561 B 2048 KiB Gravity::solve_for_phi() 40 40 638 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 319 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 205 KiB 671 KiB Castro::estTimeStep() 10 10 3175 B 480 KiB VisMF::Write(FabArray) 112 112 1370 B 320 KiB Castro::normalize_species() 30 30 8026 B 320 KiB amrex::average_down 469 469 1219 B 257 KiB MLMG::addInterpCorrection() 468 468 1127 B 257 KiB amrex::Dot() 592 592 3347 B 160 KiB FabArray::norminf() 398 398 2366 B 160 KiB check_for_negative_density() 5 5 369 B 160 KiB MultiFab::max() 6 6 80 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3367 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 3892 3892 219 B 9344 B amrex::Copy() 56 56 5949 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 118 B 1472 B MLCellLinOp::defineBC() 36 36 359 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1297 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 195 KiB 3584 KiB VisMF::Read() 24 24 184 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3367 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 1946 1946 218 B 9328 B amrex::Copy() 56 56 5949 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2645 B 3072 B StateData::FillBoundary(geom) 960 960 38 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 528 B 1296 B amrex::average_down 37 37 222 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-30-g3396b1df1175) finalized