Initializing CUDA... CUDA initialized with 1 device. AMReX (23.06-30-g4a4e8b3fb1b9) initialized Starting run at 08:51:48 UTC on 2023-06-29. Successfully read inputs file ... Castro git describe: 23.06-37-g46f8579c6 AMReX git describe: 23.06-30-g4a4e8b3fb Microphysics git describe: 23.06-33-g716dc7f9 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.059483051 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034110263 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.048372964 [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.073894021 [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.084850833 [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.069405126 [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.050926724 [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.058725143 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.073008405 [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.077513434 [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.051759259 [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.052771797 [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.082701048 [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.058925294 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034287026 seconds Ending run at 08:51:49 UTC on 2023-06-29. Run time = 0.96010986 Run time without initialization = 0.817928267 Average number of zones advanced per microsecond: 3.205 Average number of zones advanced per microsecond per rank: 3.205 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9602 ... 0.9602 ... 0.9602 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2943 0.2943 0.2943 30.65% VisMF::Write(FabArray) 11 0.2387 0.2387 0.2387 24.86% MLCellLinOp::applyBC() 4433 0.07664 0.07664 0.07664 7.98% MLPoisson::Fsmooth() 3280 0.03222 0.03222 0.03222 3.36% FillBoundary_nowait() 4023 0.03097 0.03097 0.03097 3.23% StateData::FillBoundary(geom) 328 0.0253 0.0253 0.0253 2.63% Castro::normalize_species() 62 0.02105 0.02105 0.02105 2.19% amrex::Dot() 1114 0.0207 0.0207 0.0207 2.16% Castro::computeTemp() 63 0.01648 0.01648 0.01648 1.72% amrex::Copy() 1029 0.01485 0.01485 0.01485 1.55% FabArray::norminf() 743 0.01432 0.01432 0.01432 1.49% FabArray::ParallelCopy_nowait() 861 0.01349 0.01349 0.01349 1.41% FabArray::setVal() 1144 0.01311 0.01311 0.01311 1.37% Castro::enforce_min_density() 62 0.01238 0.01238 0.01238 1.29% StateDataPhysBCFunct::() 41 0.01114 0.01114 0.01114 1.16% MLPoisson::Fapply() 1142 0.01033 0.01033 0.01033 1.08% MLCellLinOp::defineAuxData() 11 0.00971 0.00971 0.00971 1.01% FabArray::Saxpy() 813 0.008175 0.008175 0.008175 0.85% FabArray::Xpay() 821 0.00808 0.00808 0.00808 0.84% MLMG::addInterpCorrection() 410 0.006753 0.006753 0.006753 0.70% Gravity::fill_multipole_BCs() 11 0.006694 0.006694 0.006694 0.70% amrex::average_down 410 0.006085 0.006085 0.006085 0.63% Castro::estTimeStep() 21 0.005663 0.005663 0.005663 0.59% Castro::reset_internal_energy(MultiFab) 63 0.004614 0.004614 0.004614 0.48% FabArray::LinComb() 557 0.004506 0.004506 0.004506 0.47% amrex::Add() 164 0.004372 0.004372 0.004372 0.46% Amr::checkPoint() 3 0.00396 0.00396 0.00396 0.41% BndryData::define() 11 0.003759 0.003759 0.003759 0.39% Castro::construct_new_gravity_source() 10 0.003054 0.003054 0.003054 0.32% Castro::construct_old_gravity_source() 10 0.002747 0.002747 0.002747 0.29% Amr::writePlotFile() 2 0.002367 0.002367 0.002367 0.25% Castro::enforce_speed_limit() 62 0.002242 0.002242 0.002242 0.23% MLCGSolver::bicgstab 82 0.002207 0.002207 0.002207 0.23% check_for_negative_density() 10 0.001893 0.001893 0.001893 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001723 0.001723 0.001723 0.18% Castro::reset_internal_energy(Fab) 504 0.001668 0.001668 0.001668 0.17% Gravity::actual_solve_with_mlmg() 11 0.001474 0.001474 0.001474 0.15% MLCellLinOp::setLevelBC() 11 0.001401 0.001401 0.001401 0.15% FabArray::mult() 43 0.001317 0.001317 0.001317 0.14% FabArray::setDomainBndry() 41 0.001278 0.001278 0.001278 0.13% Castro::initData() 1 0.001229 0.001229 0.001229 0.13% MultiFab::contains_nan() 20 0.001183 0.001183 0.001183 0.12% MLCellLinOp::smooth() 1640 0.001167 0.001167 0.001167 0.12% MLCellLinOp::prepareForSolve() 11 0.001147 0.001147 0.001147 0.12% MLCellLinOp::compGrad() 11 0.0009109 0.0009109 0.0009109 0.09% MLMG::prepareForSolve() 11 0.000884 0.000884 0.000884 0.09% FabArray::FillBoundary() 4023 0.0008077 0.0008077 0.0008077 0.08% FabArrayBase::getCPC() 1323 0.0007402 0.0007402 0.0007402 0.08% FabArrayBase::CPC::define() 454 0.0006883 0.0006883 0.0006883 0.07% Gravity::get_new_grav_vector() 11 0.00063 0.00063 0.00063 0.07% FabArrayBase::getFB() 4023 0.000596 0.000596 0.000596 0.06% Gravity::get_old_grav_vector() 10 0.0005548 0.0005548 0.0005548 0.06% Amr::coarseTimeStep() 10 0.0004851 0.0004851 0.0004851 0.05% MLLinOp::defineGrids() 11 0.0004844 0.0004844 0.0004844 0.05% Amr::InitAmr() 1 0.0004834 0.0004834 0.0004834 0.05% MLCellLinOp::apply() 1142 0.0004793 0.0004793 0.0004793 0.05% MLMG::mgVcycle() 82 0.0003454 0.0003454 0.0003454 0.04% main() 1 0.0003219 0.0003219 0.0003219 0.03% MLCGSolver::ParallelAllReduce 1514 0.0003007 0.0003007 0.0003007 0.03% FillPatchIterator::Initialize 41 0.0002658 0.0002658 0.0002658 0.03% MultiFab::max() 11 0.0002625 0.0002625 0.0002625 0.03% FabArray::ParallelCopy() 861 0.0002395 0.0002395 0.0002395 0.02% Castro::subcycle_advance_ctu() 10 0.000232 0.000232 0.000232 0.02% MLCellLinOp::correctionResidual() 492 0.0002154 0.0002154 0.0002154 0.02% MLCellLinOp::defineBC() 11 0.0002116 0.0002116 0.0002116 0.02% Castro::create_source_corrector() 10 0.0001894 0.0001894 0.0001894 0.02% Amr::timeStep() 10 0.0001422 0.0001422 0.0001422 0.01% Castro::construct_new_source() 50 0.0001409 0.0001409 0.0001409 0.01% StateData::checkPoint() 12 0.0001364 0.0001364 0.0001364 0.01% Gravity::update_max_rhs() 11 0.0001322 0.0001322 0.0001322 0.01% MLMG:computeResOfCorrection() 410 0.000114 0.000114 0.000114 0.01% Gravity::solve_for_phi() 10 0.0001132 0.0001132 0.0001132 0.01% MLMG::actualBottomSolve() 82 9.876e-05 9.876e-05 9.876e-05 0.01% MLMG::mgVcycle_down::0 82 9.573e-05 9.573e-05 9.573e-05 0.01% MLMG::mgVcycle_down::1 82 9.377e-05 9.377e-05 9.377e-05 0.01% Castro::do_old_sources() 10 9.015e-05 9.015e-05 9.015e-05 0.01% Castro::Castro() 1 8.839e-05 8.839e-05 8.839e-05 0.01% FabArrayBase::FB::FB() 56 8.776e-05 8.776e-05 8.776e-05 0.01% MLMG::mgVcycle_down::2 82 8.445e-05 8.445e-05 8.445e-05 0.01% MLMG::mgVcycle_down::4 82 7.955e-05 7.955e-05 7.955e-05 0.01% MLMG::mgVcycle_down::3 82 7.918e-05 7.918e-05 7.918e-05 0.01% Castro::expand_state() 10 7.721e-05 7.721e-05 7.721e-05 0.01% MLMG::solve() 11 7.651e-05 7.651e-05 7.651e-05 0.01% AmrLevel::checkPoint() 3 7.639e-05 7.639e-05 7.639e-05 0.01% Castro::initialize_advance() 10 7.224e-05 7.224e-05 7.224e-05 0.01% Castro::finalize_advance() 10 7.072e-05 7.072e-05 7.072e-05 0.01% Castro::advance() 10 6.943e-05 6.943e-05 6.943e-05 0.01% Castro::clean_state() 62 6.691e-05 6.691e-05 6.691e-05 0.01% MLMG::mgVcycle_up::4 82 6.453e-05 6.453e-05 6.453e-05 0.01% Castro::initialize_do_advance() 10 5.934e-05 5.934e-05 5.934e-05 0.01% MLMG::oneIter() 82 5.651e-05 5.651e-05 5.651e-05 0.01% MLMG::mgVcycle_up::0 82 5.569e-05 5.569e-05 5.569e-05 0.01% MLMG::mgVcycle_up::1 82 5.182e-05 5.182e-05 5.182e-05 0.01% MLCellLinOp::solutionResidual() 93 5.097e-05 5.097e-05 5.097e-05 0.01% MLMG::mgVcycle_up::3 82 5.015e-05 5.015e-05 5.015e-05 0.01% MLMG::mgVcycle_up::2 82 4.856e-05 4.856e-05 4.856e-05 0.01% Castro::finalize_do_advance() 10 4.67e-05 4.67e-05 4.67e-05 0.00% Castro::do_new_sources() 10 4.416e-05 4.416e-05 4.416e-05 0.00% StateData::define() 4 4.146e-05 4.146e-05 4.146e-05 0.00% Castro::post_timestep() 10 4.049e-05 4.049e-05 4.049e-05 0.00% Castro::do_advance_ctu() 10 4.015e-05 4.015e-05 4.015e-05 0.00% Castro::swap_state_time_levels() 10 3.8e-05 3.8e-05 3.8e-05 0.00% MLMG::ResNormInf() 93 3.497e-05 3.497e-05 3.497e-05 0.00% Castro::enforce_consistent_e() 1 3.332e-05 3.332e-05 3.332e-05 0.00% MLMG::computeResidual() 82 3.219e-05 3.219e-05 3.219e-05 0.00% MLMG::mgVcycle_bottom 82 2.972e-05 2.972e-05 2.972e-05 0.00% FillPatchSingleLevel 41 2.938e-05 2.938e-05 2.938e-05 0.00% MLPoisson::define() 11 2.704e-05 2.704e-05 2.704e-05 0.00% Castro::initMFs() 1 2.687e-05 2.687e-05 2.687e-05 0.00% Castro::construct_new_gravity() 10 2.571e-05 2.571e-05 2.571e-05 0.00% Amr::writeSmallPlotFile() 1 2.495e-05 2.495e-05 2.495e-05 0.00% makeSFC 55 2.338e-05 2.338e-05 2.338e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.129e-05 2.129e-05 2.129e-05 0.00% Amr::defBaseLevel() 1 2.112e-05 2.112e-05 2.112e-05 0.00% Amr::FinalizeInit() 1 1.96e-05 1.96e-05 1.96e-05 0.00% Castro::buildMetrics() 1 1.893e-05 1.893e-05 1.893e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.803e-05 1.803e-05 1.803e-05 0.00% Castro::construct_old_source() 50 1.718e-05 1.718e-05 1.718e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.698e-05 1.698e-05 1.698e-05 0.00% MLLinOp::define() 11 1.653e-05 1.653e-05 1.653e-05 0.00% DistributionMapping::Distribute() 56 1.454e-05 1.454e-05 1.454e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.349e-05 1.349e-05 1.349e-05 0.00% Castro::check_for_nan() 20 1.046e-05 1.046e-05 1.046e-05 0.00% Castro::apply_source_to_state() 20 9.856e-06 9.856e-06 9.856e-06 0.00% Castro::construct_old_gravity() 10 9.586e-06 9.586e-06 9.586e-06 0.00% MLPoisson::prepareForSolve() 11 9.079e-06 9.079e-06 9.079e-06 0.00% Amr::initSubcycle() 1 8.989e-06 8.989e-06 8.989e-06 0.00% Gravity::swapTimeLevels() 10 8.689e-06 8.689e-06 8.689e-06 0.00% Gravity::actual_multilevel_solve() 1 8.413e-06 8.413e-06 8.413e-06 0.00% MLMG::computeMLResidual() 11 8.104e-06 8.104e-06 8.104e-06 0.00% Castro::computeNewDt() 9 6.663e-06 6.663e-06 6.663e-06 0.00% MLMG::getGradSolution() 11 5.399e-06 5.399e-06 5.399e-06 0.00% Amr::InitializeInit() 1 4.749e-06 4.749e-06 4.749e-06 0.00% Gravity::set_mass_offset() 11 4.527e-06 4.527e-06 4.527e-06 0.00% Castro::post_init() 1 4.316e-06 4.316e-06 4.316e-06 0.00% AmrLevel::checkPointPost() 3 4.282e-06 4.282e-06 4.282e-06 0.00% Castro::retry_advance_ctu() 10 4.115e-06 4.115e-06 4.115e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.847e-06 3.847e-06 3.847e-06 0.00% MLMG::MLRhsNormInf() 11 3.769e-06 3.769e-06 3.769e-06 0.00% MLMG::MLResNormInf() 11 3.579e-06 3.579e-06 3.579e-06 0.00% Castro::computeInitialDt() 2 2.698e-06 2.698e-06 2.698e-06 0.00% Castro::FluxRegCrseInit 10 2.683e-06 2.683e-06 2.683e-06 0.00% Amr::init() 1 2.646e-06 2.646e-06 2.646e-06 0.00% Castro::FluxRegFineAdd() 10 1.917e-06 1.917e-06 1.917e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.829e-06 1.829e-06 1.829e-06 0.00% AmrLevel::checkPointPre() 3 1.705e-06 1.705e-06 1.705e-06 0.00% Amr::initialInit() 1 1.207e-06 1.207e-06 1.207e-06 0.00% Castro::post_regrid() 1 9.61e-07 9.61e-07 9.61e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9601 0.9601 0.9601 100.00% Amr::coarseTimeStep() 10 0.7834 0.7834 0.7834 81.59% Amr::timeStep() 10 0.6621 0.6621 0.6621 68.96% Castro::advance() 10 0.6506 0.6506 0.6506 67.76% Castro::subcycle_advance_ctu() 10 0.6373 0.6373 0.6373 66.37% Castro::do_advance_ctu() 10 0.637 0.637 0.637 66.35% Castro::construct_ctu_hydro_source() 10 0.3055 0.3055 0.3055 31.82% Gravity::solve_phi_with_mlmg() 11 0.2839 0.2839 0.2839 29.56% Gravity::actual_solve_with_mlmg() 11 0.2767 0.2767 0.2767 28.82% Castro::construct_new_gravity() 10 0.2594 0.2594 0.2594 27.02% MLMG::solve() 11 0.2559 0.2559 0.2559 26.65% Gravity::solve_for_phi() 10 0.2437 0.2437 0.2437 25.38% MLMG::oneIter() 82 0.2415 0.2415 0.2415 25.15% VisMF::Write(FabArray) 11 0.2387 0.2387 0.2387 24.86% MLMG::mgVcycle() 82 0.2378 0.2378 0.2378 24.77% Amr::checkPoint() 3 0.1773 0.1773 0.1773 18.46% AmrLevel::checkPoint() 3 0.1733 0.1733 0.1733 18.05% StateData::checkPoint() 12 0.1732 0.1732 0.1732 18.04% Amr::init() 1 0.1415 0.1415 0.1415 14.74% MLCellLinOp::smooth() 1640 0.1167 0.1167 0.1167 12.16% MLCellLinOp::applyBC() 4433 0.1091 0.1091 0.1091 11.36% MLMG::mgVcycle_bottom 82 0.07372 0.07372 0.07372 7.68% MLMG::actualBottomSolve() 82 0.07369 0.07369 0.07369 7.68% MLCGSolver::bicgstab 82 0.07299 0.07299 0.07299 7.60% Amr::writePlotFile() 2 0.06852 0.06852 0.06852 7.14% Castro::clean_state() 62 0.05781 0.05781 0.05781 6.02% Amr::initialInit() 1 0.04783 0.04783 0.04783 4.98% Amr::FinalizeInit() 1 0.0439 0.0439 0.0439 4.57% Castro::post_init() 1 0.04264 0.04264 0.04264 4.44% FillPatchIterator::Initialize 41 0.0421 0.0421 0.0421 4.38% Gravity::multilevel_solve_for_new_phi() 1 0.04061 0.04061 0.04061 4.23% Gravity::actual_multilevel_solve() 1 0.0406 0.0406 0.0406 4.23% FillPatchSingleLevel 41 0.04055 0.04055 0.04055 4.22% StateDataPhysBCFunct::() 41 0.03644 0.03644 0.03644 3.79% MLCellLinOp::apply() 1142 0.03611 0.03611 0.03611 3.76% MLMG::mgVcycle_down::0 82 0.03377 0.03377 0.03377 3.52% FabArray::FillBoundary() 4023 0.03247 0.03247 0.03247 3.38% MLPoisson::Fsmooth() 3280 0.03222 0.03222 0.03222 3.36% FillBoundary_nowait() 4023 0.03166 0.03166 0.03166 3.30% MLMG::mgVcycle_up::0 82 0.0256 0.0256 0.0256 2.67% StateData::FillBoundary(geom) 328 0.0253 0.0253 0.0253 2.63% Castro::computeTemp() 63 0.02276 0.02276 0.02276 2.37% MLCellLinOp::correctionResidual() 492 0.02207 0.02207 0.02207 2.30% Castro::normalize_species() 62 0.02105 0.02105 0.02105 2.19% amrex::Dot() 1114 0.0207 0.0207 0.0207 2.16% Castro::initialize_do_advance() 10 0.02023 0.02023 0.02023 2.11% MLMG:computeResOfCorrection() 410 0.01944 0.01944 0.01944 2.02% Castro::do_old_sources() 10 0.01843 0.01843 0.01843 1.92% Gravity::get_new_grav_vector() 11 0.01744 0.01744 0.01744 1.82% MLPoisson::define() 11 0.0166 0.0166 0.0166 1.73% MLMG::mgVcycle_down::1 82 0.01581 0.01581 0.01581 1.65% Castro::construct_old_gravity() 10 0.01505 0.01505 0.01505 1.57% Gravity::get_old_grav_vector() 10 0.01504 0.01504 0.01504 1.57% Castro::do_new_sources() 10 0.01498 0.01498 0.01498 1.56% amrex::Copy() 1029 0.01485 0.01485 0.01485 1.55% MLMG::mgVcycle_down::2 82 0.01472 0.01472 0.01472 1.53% FabArray::ParallelCopy() 861 0.01454 0.01454 0.01454 1.51% MLMG::mgVcycle_down::3 82 0.01438 0.01438 0.01438 1.50% FabArray::norminf() 743 0.01432 0.01432 0.01432 1.49% FabArray::ParallelCopy_nowait() 861 0.0143 0.0143 0.0143 1.49% MLMG::mgVcycle_down::4 82 0.0142 0.0142 0.0142 1.48% FabArray::setVal() 1144 0.01311 0.01311 0.01311 1.37% Castro::initialize_advance() 10 0.01269 0.01269 0.01269 1.32% MLCGSolver::ParallelAllReduce 1514 0.01244 0.01244 0.01244 1.30% Castro::enforce_min_density() 62 0.01238 0.01238 0.01238 1.29% MLMG::addInterpCorrection() 410 0.012 0.012 0.012 1.25% MLMG::mgVcycle_up::4 82 0.01154 0.01154 0.01154 1.20% MLMG::mgVcycle_up::1 82 0.0115 0.0115 0.0115 1.20% Castro::post_timestep() 10 0.01133 0.01133 0.01133 1.18% amrex::average_down 410 0.0113 0.0113 0.0113 1.18% MLMG::mgVcycle_up::2 82 0.01121 0.01121 0.01121 1.17% Castro::expand_state() 10 0.01115 0.01115 0.01115 1.16% MLCellLinOp::defineAuxData() 11 0.01106 0.01106 0.01106 1.15% MLMG::mgVcycle_up::3 82 0.01102 0.01102 0.01102 1.15% MLPoisson::Fapply() 1142 0.01033 0.01033 0.01033 1.08% FabArray::Saxpy() 813 0.008175 0.008175 0.008175 0.85% FabArray::Xpay() 821 0.00808 0.00808 0.00808 0.84% MLCellLinOp::solutionResidual() 93 0.007175 0.007175 0.007175 0.75% Gravity::fill_multipole_BCs() 11 0.006925 0.006925 0.006925 0.72% Castro::reset_internal_energy(MultiFab) 63 0.006282 0.006282 0.006282 0.65% MLMG::computeResidual() 82 0.006202 0.006202 0.006202 0.65% Castro::estTimeStep() 21 0.005663 0.005663 0.005663 0.59% MLCellLinOp::defineBC() 11 0.004965 0.004965 0.004965 0.52% BndryData::define() 11 0.004753 0.004753 0.004753 0.50% MLMG::prepareForSolve() 11 0.004715 0.004715 0.004715 0.49% FabArray::LinComb() 557 0.004506 0.004506 0.004506 0.47% amrex::Add() 164 0.004372 0.004372 0.004372 0.46% Amr::InitializeInit() 1 0.003928 0.003928 0.003928 0.41% Amr::defBaseLevel() 1 0.003923 0.003923 0.003923 0.41% Castro::initData() 1 0.003381 0.003381 0.003381 0.35% Castro::construct_new_source() 50 0.003195 0.003195 0.003195 0.33% Castro::construct_new_gravity_source() 10 0.003054 0.003054 0.003054 0.32% Castro::construct_old_source() 50 0.002764 0.002764 0.002764 0.29% Castro::construct_old_gravity_source() 10 0.002747 0.002747 0.002747 0.29% Castro::finalize_do_advance() 10 0.002459 0.002459 0.002459 0.26% Castro::computeNewDt() 9 0.002427 0.002427 0.002427 0.25% Castro::enforce_speed_limit() 62 0.002242 0.002242 0.002242 0.23% MLMG::ResNormInf() 93 0.002097 0.002097 0.002097 0.22% check_for_negative_density() 10 0.001893 0.001893 0.001893 0.20% Castro::apply_source_to_state() 20 0.001826 0.001826 0.001826 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001723 0.001723 0.001723 0.18% Castro::reset_internal_energy(Fab) 504 0.001668 0.001668 0.001668 0.17% FabArrayBase::getCPC() 1323 0.001428 0.001428 0.001428 0.15% MLCellLinOp::setLevelBC() 11 0.001401 0.001401 0.001401 0.15% MLMG::getGradSolution() 11 0.001392 0.001392 0.001392 0.15% MLCellLinOp::compGrad() 11 0.001387 0.001387 0.001387 0.14% FabArray::mult() 43 0.001317 0.001317 0.001317 0.14% FabArray::setDomainBndry() 41 0.001278 0.001278 0.001278 0.13% Castro::check_for_nan() 20 0.001193 0.001193 0.001193 0.12% MultiFab::contains_nan() 20 0.001183 0.001183 0.001183 0.12% MLPoisson::prepareForSolve() 11 0.001156 0.001156 0.001156 0.12% MLCellLinOp::prepareForSolve() 11 0.001147 0.001147 0.001147 0.12% Castro::post_regrid() 1 0.001097 0.001097 0.001097 0.11% MLMG::computeMLResidual() 11 0.001013 0.001013 0.001013 0.11% Gravity::update_max_rhs() 11 0.0008354 0.0008354 0.0008354 0.09% Castro::computeInitialDt() 2 0.0008324 0.0008324 0.0008324 0.09% FabArrayBase::CPC::define() 454 0.0006883 0.0006883 0.0006883 0.07% FabArrayBase::getFB() 4023 0.0006838 0.0006838 0.0006838 0.07% Castro::finalize_advance() 10 0.0005928 0.0005928 0.0005928 0.06% MLLinOp::define() 11 0.0005528 0.0005528 0.0005528 0.06% MLLinOp::defineGrids() 11 0.0005362 0.0005362 0.0005362 0.06% Amr::InitAmr() 1 0.0004924 0.0004924 0.0004924 0.05% Castro::Castro() 1 0.0004572 0.0004572 0.0004572 0.05% Gravity::swapTimeLevels() 10 0.0004365 0.0004365 0.0004365 0.05% MLMG::MLResNormInf() 11 0.0002807 0.0002807 0.0002807 0.03% MultiFab::max() 11 0.0002625 0.0002625 0.0002625 0.03% MLMG::MLRhsNormInf() 11 0.0002223 0.0002223 0.0002223 0.02% Castro::create_source_corrector() 10 0.0001894 0.0001894 0.0001894 0.02% Castro::buildMetrics() 1 0.0001618 0.0001618 0.0001618 0.02% FabArrayBase::FB::FB() 56 8.776e-05 8.776e-05 8.776e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.844e-05 5.844e-05 5.844e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.002e-05 5.002e-05 5.002e-05 0.01% StateData::define() 4 4.146e-05 4.146e-05 4.146e-05 0.00% Castro::swap_state_time_levels() 10 3.8e-05 3.8e-05 3.8e-05 0.00% makeSFC 55 3.653e-05 3.653e-05 3.653e-05 0.00% Castro::enforce_consistent_e() 1 3.332e-05 3.332e-05 3.332e-05 0.00% Castro::initMFs() 1 2.687e-05 2.687e-05 2.687e-05 0.00% Amr::writeSmallPlotFile() 1 2.495e-05 2.495e-05 2.495e-05 0.00% DistributionMapping::Distribute() 56 1.454e-05 1.454e-05 1.454e-05 0.00% Amr::initSubcycle() 1 8.989e-06 8.989e-06 8.989e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.236e-06 5.236e-06 5.236e-06 0.00% Gravity::set_mass_offset() 11 4.527e-06 4.527e-06 4.527e-06 0.00% AmrLevel::checkPointPost() 3 4.282e-06 4.282e-06 4.282e-06 0.00% Castro::retry_advance_ctu() 10 4.115e-06 4.115e-06 4.115e-06 0.00% Castro::FluxRegCrseInit 10 2.683e-06 2.683e-06 2.683e-06 0.00% Castro::FluxRegFineAdd() 10 1.917e-06 1.917e-06 1.917e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.829e-06 1.829e-06 1.829e-06 0.00% AmrLevel::checkPointPre() 3 1.705e-06 1.705e-06 1.705e-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 86 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 144 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 927 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2006 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7607 KiB 14 MiB MLMG::prepareForSolve() 660 660 3278 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 189 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 160 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7532 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1654 B 2048 KiB Gravity::solve_for_phi() 80 80 519 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 86 KiB 2048 KiB BndryData::define() 1056 1056 299 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 190 KiB 671 KiB Castro::estTimeStep() 21 21 2870 B 480 KiB VisMF::Write(FabArray) 656 656 3108 B 320 KiB Castro::normalize_species() 62 62 7146 B 320 KiB amrex::average_down 1067 1067 1200 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1068 B 257 KiB amrex::Dot() 1360 1360 3176 B 160 KiB FabArray::norminf() 907 907 2203 B 160 KiB check_for_negative_density() 10 10 314 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 42 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 24 B 20 KiB MLPoisson::Fsmooth() 132 132 3205 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 282 B 9648 B MLCellLinOp::applyBC() 8866 8866 205 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3864 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 110 B 1472 B MLCellLinOp::defineBC() 66 66 337 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 549 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 47 KiB 8192 KiB VisMF::Write(FabArray) 744 744 579 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3205 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 282 B 9648 B MLCellLinOp::applyBC() 4433 4433 203 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3864 B 6144 B Gravity::get_new_grav_vector() 3 3 2920 B 3072 B StateData::FillBoundary(geom) 1992 1992 38 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 273 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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.06-30-g4a4e8b3fb1b9) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.06-30-g4a4e8b3fb1b9) initialized Starting run at 08:51:50 UTC on 2023-06-29. Successfully read inputs file ... Castro git describe: 23.06-37-g46f8579c6 AMReX git describe: 23.06-30-g4a4e8b3fb Microphysics git describe: 23.06-33-g716dc7f9 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.528382229 Restart time = 0.046105171 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.051496468 [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.059941789 [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.080188311 [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.080407662 [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.055602084 [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.034218926 seconds Ending run at 08:51:50 UTC on 2023-06-29. Run time = 0.40903524 Run time without initialization = 0.362319388 Average number of zones advanced per microsecond: 3.618 Average number of zones advanced per microsecond per rank: 3.618 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4091 ... 0.4091 ... 0.4091 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1423 0.1423 0.1423 34.78% VisMF::Read() 3 0.03979 0.03979 0.03979 9.73% MLCellLinOp::applyBC() 1946 0.03356 0.03356 0.03356 8.20% VisMF::Write(FabArray) 1 0.03256 0.03256 0.03256 7.96% MLPoisson::Fsmooth() 1440 0.01395 0.01395 0.01395 3.41% FillBoundary_nowait() 1766 0.01266 0.01266 0.01266 3.09% StateData::FillBoundary(geom) 160 0.01244 0.01244 0.01244 3.04% Castro::normalize_species() 30 0.00949 0.00949 0.00949 2.32% amrex::Dot() 484 0.008881 0.008881 0.008881 2.17% amrex::Copy() 463 0.007049 0.007049 0.007049 1.72% Castro::computeTemp() 30 0.006276 0.006276 0.006276 1.53% FabArray::setVal() 537 0.006262 0.006262 0.006262 1.53% FabArray::norminf() 326 0.006242 0.006242 0.006242 1.53% FabArray::ParallelCopy_nowait() 380 0.006155 0.006155 0.006155 1.50% MLCellLinOp::defineAuxData() 6 0.005208 0.005208 0.005208 1.27% StateDataPhysBCFunct::() 20 0.004684 0.004684 0.004684 1.14% MLPoisson::Fapply() 500 0.00445 0.00445 0.00445 1.09% Castro::enforce_min_density() 30 0.004349 0.004349 0.004349 1.06% Castro::estTimeStep() 10 0.003759 0.003759 0.003759 0.92% FabArray::Saxpy() 355 0.003656 0.003656 0.003656 0.89% Gravity::fill_multipole_BCs() 6 0.00361 0.00361 0.00361 0.88% FabArray::Xpay() 361 0.003526 0.003526 0.003526 0.86% MLMG::addInterpCorrection() 180 0.002963 0.002963 0.002963 0.72% amrex::average_down 180 0.002637 0.002637 0.002637 0.64% Amr::restart() 1 0.002559 0.002559 0.002559 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002285 0.002285 0.002285 0.56% BndryData::define() 6 0.002042 0.002042 0.002042 0.50% FabArray::LinComb() 242 0.00192 0.00192 0.00192 0.47% Castro::subcycle_advance_ctu() 5 0.001889 0.001889 0.001889 0.46% amrex::Add() 72 0.00186 0.00186 0.00186 0.45% Castro::construct_new_gravity_source() 5 0.001571 0.001571 0.001571 0.38% Amr::writePlotFile() 1 0.001507 0.001507 0.001507 0.37% Castro::construct_old_gravity_source() 5 0.001401 0.001401 0.001401 0.34% MLCGSolver::bicgstab 36 0.0009606 0.0009606 0.0009606 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009193 0.0009193 0.0009193 0.22% check_for_negative_density() 5 0.0008112 0.0008112 0.0008112 0.20% Castro::reset_internal_energy(Fab) 240 0.0007837 0.0007837 0.0007837 0.19% Gravity::actual_solve_with_mlmg() 6 0.0007759 0.0007759 0.0007759 0.19% MLCellLinOp::setLevelBC() 6 0.0007505 0.0007505 0.0007505 0.18% FabArray::mult() 22 0.0006435 0.0006435 0.0006435 0.16% FabArray::setDomainBndry() 20 0.000632 0.000632 0.000632 0.15% MLCellLinOp::prepareForSolve() 6 0.000615 0.000615 0.000615 0.15% MultiFab::contains_nan() 10 0.0005951 0.0005951 0.0005951 0.15% Castro::enforce_speed_limit() 30 0.0005243 0.0005243 0.0005243 0.13% MLMG::prepareForSolve() 6 0.0004922 0.0004922 0.0004922 0.12% MLCellLinOp::smooth() 720 0.0004896 0.0004896 0.0004896 0.12% MLCellLinOp::compGrad() 6 0.000489 0.000489 0.000489 0.12% FabArrayBase::CPC::define() 244 0.0004205 0.0004205 0.0004205 0.10% Amr::InitAmr() 1 0.0004072 0.0004072 0.0004072 0.10% FabArray::FillBoundary() 1766 0.0003573 0.0003573 0.0003573 0.09% FabArrayBase::getCPC() 632 0.0003415 0.0003415 0.0003415 0.08% main() 1 0.000318 0.000318 0.000318 0.08% Gravity::get_old_grav_vector() 5 0.0003073 0.0003073 0.0003073 0.08% Gravity::get_new_grav_vector() 5 0.0002775 0.0002775 0.0002775 0.07% FabArrayBase::getFB() 1766 0.0002502 0.0002502 0.0002502 0.06% Amr::coarseTimeStep() 5 0.0002024 0.0002024 0.0002024 0.05% MLCellLinOp::apply() 500 0.0001961 0.0001961 0.0001961 0.05% MLLinOp::defineGrids() 6 0.0001812 0.0001812 0.0001812 0.04% MLMG::mgVcycle() 36 0.0001653 0.0001653 0.0001653 0.04% Castro::construct_new_source() 25 0.0001518 0.0001518 0.0001518 0.04% MultiFab::max() 6 0.0001358 0.0001358 0.0001358 0.03% MLCGSolver::ParallelAllReduce 659 0.0001237 0.0001237 0.0001237 0.03% FillPatchIterator::Initialize 20 0.0001146 0.0001146 0.0001146 0.03% MLCellLinOp::defineBC() 6 0.0001074 0.0001074 0.0001074 0.03% FabArray::ParallelCopy() 380 0.0001046 0.0001046 0.0001046 0.03% Castro::do_new_sources() 5 9.578e-05 9.578e-05 9.578e-05 0.02% Castro::finalize_do_advance() 5 9.446e-05 9.446e-05 9.446e-05 0.02% Amr::timeStep() 5 9.285e-05 9.285e-05 9.285e-05 0.02% MLCellLinOp::correctionResidual() 216 9.157e-05 9.157e-05 9.157e-05 0.02% AmrLevel::restart() 1 8.328e-05 8.328e-05 8.328e-05 0.02% StateData::restartDoit() 4 7.339e-05 7.339e-05 7.339e-05 0.02% Gravity::update_max_rhs() 6 6.603e-05 6.603e-05 6.603e-05 0.02% Castro::create_source_corrector() 5 6.515e-05 6.515e-05 6.515e-05 0.02% FabArrayBase::FB::FB() 26 6.086e-05 6.086e-05 6.086e-05 0.01% Castro::advance() 5 5.575e-05 5.575e-05 5.575e-05 0.01% Gravity::solve_for_phi() 5 5.252e-05 5.252e-05 5.252e-05 0.01% MLMG:computeResOfCorrection() 180 4.943e-05 4.943e-05 4.943e-05 0.01% Castro::do_old_sources() 5 4.647e-05 4.647e-05 4.647e-05 0.01% MLMG::actualBottomSolve() 36 4.593e-05 4.593e-05 4.593e-05 0.01% Castro::expand_state() 5 4.135e-05 4.135e-05 4.135e-05 0.01% Castro::finalize_advance() 5 3.999e-05 3.999e-05 3.999e-05 0.01% MLMG::mgVcycle_down::0 36 3.974e-05 3.974e-05 3.974e-05 0.01% MLMG::mgVcycle_down::1 36 3.971e-05 3.971e-05 3.971e-05 0.01% MLMG::mgVcycle_down::2 36 3.687e-05 3.687e-05 3.687e-05 0.01% MLMG::mgVcycle_down::4 36 3.604e-05 3.604e-05 3.604e-05 0.01% Castro::initialize_advance() 5 3.529e-05 3.529e-05 3.529e-05 0.01% MLMG::mgVcycle_down::3 36 3.509e-05 3.509e-05 3.509e-05 0.01% MLMG::solve() 6 3.357e-05 3.357e-05 3.357e-05 0.01% Castro::construct_old_source() 25 3.166e-05 3.166e-05 3.166e-05 0.01% Castro::clean_state() 30 3.055e-05 3.055e-05 3.055e-05 0.01% MLMG::mgVcycle_up::4 36 2.993e-05 2.993e-05 2.993e-05 0.01% Castro::initialize_do_advance() 5 2.947e-05 2.947e-05 2.947e-05 0.01% Castro::initMFs() 1 2.776e-05 2.776e-05 2.776e-05 0.01% Castro::buildMetrics() 1 2.771e-05 2.771e-05 2.771e-05 0.01% Amr::writeSmallPlotFile() 1 2.707e-05 2.707e-05 2.707e-05 0.01% MLMG::mgVcycle_up::0 36 2.422e-05 2.422e-05 2.422e-05 0.01% MLMG::oneIter() 36 2.352e-05 2.352e-05 2.352e-05 0.01% MLMG::mgVcycle_up::2 36 2.268e-05 2.268e-05 2.268e-05 0.01% MLMG::mgVcycle_up::3 36 2.239e-05 2.239e-05 2.239e-05 0.01% Castro::swap_state_time_levels() 5 2.215e-05 2.215e-05 2.215e-05 0.01% MLCellLinOp::solutionResidual() 42 2.172e-05 2.172e-05 2.172e-05 0.01% MLMG::mgVcycle_up::1 36 2.14e-05 2.14e-05 2.14e-05 0.01% MLPoisson::define() 6 2.084e-05 2.084e-05 2.084e-05 0.01% Castro::do_advance_ctu() 5 2.053e-05 2.053e-05 2.053e-05 0.01% Castro::post_restart() 1 1.967e-05 1.967e-05 1.967e-05 0.00% MLMG::ResNormInf() 42 1.738e-05 1.738e-05 1.738e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.603e-05 1.603e-05 1.603e-05 0.00% FillPatchSingleLevel 20 1.439e-05 1.439e-05 1.439e-05 0.00% MLMG::computeResidual() 36 1.421e-05 1.421e-05 1.421e-05 0.00% MLMG::mgVcycle_bottom 36 1.356e-05 1.356e-05 1.356e-05 0.00% Castro::construct_new_gravity() 5 1.327e-05 1.327e-05 1.327e-05 0.00% makeSFC 30 1.282e-05 1.282e-05 1.282e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.157e-05 1.157e-05 1.157e-05 0.00% MLLinOp::define() 6 1.11e-05 1.11e-05 1.11e-05 0.00% Amr::initSubcycle() 1 8.958e-06 8.958e-06 8.958e-06 0.00% DistributionMapping::Distribute() 31 8.624e-06 8.624e-06 8.624e-06 0.00% Gravity::actual_multilevel_solve() 1 7.669e-06 7.669e-06 7.669e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.016e-06 7.016e-06 7.016e-06 0.00% Castro::apply_source_to_state() 10 5.611e-06 5.611e-06 5.611e-06 0.00% Castro::construct_old_gravity() 5 5.395e-06 5.395e-06 5.395e-06 0.00% Castro::check_for_nan() 10 5.324e-06 5.324e-06 5.324e-06 0.00% Castro::post_timestep() 5 5.019e-06 5.019e-06 5.019e-06 0.00% MLPoisson::prepareForSolve() 6 4.583e-06 4.583e-06 4.583e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.874e-06 3.874e-06 3.874e-06 0.00% Gravity::swapTimeLevels() 5 3.79e-06 3.79e-06 3.79e-06 0.00% MLMG::computeMLResidual() 6 3.55e-06 3.55e-06 3.55e-06 0.00% Castro::computeNewDt() 5 3.369e-06 3.369e-06 3.369e-06 0.00% Castro::retry_advance_ctu() 5 3.197e-06 3.197e-06 3.197e-06 0.00% MLMG::getGradSolution() 6 2.799e-06 2.799e-06 2.799e-06 0.00% Castro::FluxRegCrseInit 5 2.318e-06 2.318e-06 2.318e-06 0.00% MLMG::MLResNormInf() 6 2.139e-06 2.139e-06 2.139e-06 0.00% Gravity::set_mass_offset() 6 2.015e-06 2.015e-06 2.015e-06 0.00% MLMG::MLRhsNormInf() 6 1.995e-06 1.995e-06 1.995e-06 0.00% Castro::FluxRegFineAdd() 5 1.73e-06 1.73e-06 1.73e-06 0.00% Amr::init() 1 1.167e-06 1.167e-06 1.167e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.57e-07 9.57e-07 9.57e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4091 0.4091 0.4091 100.00% Amr::coarseTimeStep() 5 0.3278 0.3278 0.3278 80.14% Amr::timeStep() 5 0.3249 0.3249 0.3249 79.42% Castro::advance() 5 0.3211 0.3211 0.3211 78.50% Castro::subcycle_advance_ctu() 5 0.315 0.315 0.315 77.01% Castro::do_advance_ctu() 5 0.3132 0.3132 0.3132 76.55% Castro::construct_ctu_hydro_source() 5 0.1475 0.1475 0.1475 36.06% Castro::construct_new_gravity() 5 0.1309 0.1309 0.1309 32.00% Gravity::solve_phi_with_mlmg() 6 0.126 0.126 0.126 30.79% Gravity::solve_for_phi() 5 0.1229 0.1229 0.1229 30.05% Gravity::actual_solve_with_mlmg() 6 0.1221 0.1221 0.1221 29.84% MLMG::solve() 6 0.1109 0.1109 0.1109 27.11% MLMG::oneIter() 36 0.104 0.104 0.104 25.42% MLMG::mgVcycle() 36 0.1024 0.1024 0.1024 25.04% MLCellLinOp::smooth() 720 0.04999 0.04999 0.04999 12.22% MLCellLinOp::applyBC() 1946 0.04689 0.04689 0.04689 11.46% Amr::init() 1 0.04615 0.04615 0.04615 11.28% Amr::restart() 1 0.04615 0.04615 0.04615 11.28% AmrLevel::restart() 1 0.04001 0.04001 0.04001 9.78% StateData::restartDoit() 4 0.03992 0.03992 0.03992 9.76% VisMF::Read() 3 0.03979 0.03979 0.03979 9.73% Amr::writePlotFile() 1 0.03432 0.03432 0.03432 8.39% VisMF::Write(FabArray) 1 0.03256 0.03256 0.03256 7.96% MLMG::mgVcycle_bottom 36 0.03181 0.03181 0.03181 7.78% MLMG::actualBottomSolve() 36 0.03179 0.03179 0.03179 7.77% MLCGSolver::bicgstab 36 0.03148 0.03148 0.03148 7.70% Castro::clean_state() 30 0.02374 0.02374 0.02374 5.80% FillPatchIterator::Initialize 20 0.01991 0.01991 0.01991 4.87% FillPatchSingleLevel 20 0.01916 0.01916 0.01916 4.68% StateDataPhysBCFunct::() 20 0.01712 0.01712 0.01712 4.18% MLCellLinOp::apply() 500 0.01572 0.01572 0.01572 3.84% MLMG::mgVcycle_down::0 36 0.01426 0.01426 0.01426 3.49% MLPoisson::Fsmooth() 1440 0.01395 0.01395 0.01395 3.41% FabArray::FillBoundary() 1766 0.01333 0.01333 0.01333 3.26% FillBoundary_nowait() 1766 0.01297 0.01297 0.01297 3.17% StateData::FillBoundary(geom) 160 0.01244 0.01244 0.01244 3.04% MLMG::mgVcycle_up::0 36 0.0108 0.0108 0.0108 2.64% Castro::do_old_sources() 5 0.009703 0.009703 0.009703 2.37% MLCellLinOp::correctionResidual() 216 0.009512 0.009512 0.009512 2.33% Castro::normalize_species() 30 0.00949 0.00949 0.00949 2.32% Castro::computeTemp() 30 0.009344 0.009344 0.009344 2.28% Castro::initialize_do_advance() 5 0.009252 0.009252 0.009252 2.26% MLPoisson::define() 6 0.008897 0.008897 0.008897 2.17% amrex::Dot() 484 0.008881 0.008881 0.008881 2.17% MLMG:computeResOfCorrection() 180 0.00836 0.00836 0.00836 2.04% Gravity::get_new_grav_vector() 5 0.007894 0.007894 0.007894 1.93% Castro::construct_old_gravity() 5 0.007526 0.007526 0.007526 1.84% Gravity::get_old_grav_vector() 5 0.007521 0.007521 0.007521 1.84% amrex::Copy() 463 0.007049 0.007049 0.007049 1.72% MLMG::mgVcycle_down::1 36 0.006872 0.006872 0.006872 1.68% FabArray::ParallelCopy() 380 0.006642 0.006642 0.006642 1.62% Castro::do_new_sources() 5 0.006637 0.006637 0.006637 1.62% FabArray::ParallelCopy_nowait() 380 0.006538 0.006538 0.006538 1.60% MLMG::mgVcycle_down::2 36 0.006418 0.006418 0.006418 1.57% FabArray::setVal() 537 0.006262 0.006262 0.006262 1.53% FabArray::norminf() 326 0.006242 0.006242 0.006242 1.53% MLMG::mgVcycle_down::3 36 0.006239 0.006239 0.006239 1.53% MLMG::mgVcycle_down::4 36 0.006171 0.006171 0.006171 1.51% MLCellLinOp::defineAuxData() 6 0.005937 0.005937 0.005937 1.45% Castro::initialize_advance() 5 0.00571 0.00571 0.00571 1.40% MLCGSolver::ParallelAllReduce 659 0.005366 0.005366 0.005366 1.31% MLMG::addInterpCorrection() 180 0.005261 0.005261 0.005261 1.29% Castro::expand_state() 5 0.005139 0.005139 0.005139 1.26% MLMG::mgVcycle_up::4 36 0.005035 0.005035 0.005035 1.23% MLMG::mgVcycle_up::1 36 0.004992 0.004992 0.004992 1.22% amrex::average_down 180 0.004955 0.004955 0.004955 1.21% MLMG::mgVcycle_up::2 36 0.004862 0.004862 0.004862 1.19% MLMG::mgVcycle_up::3 36 0.004797 0.004797 0.004797 1.17% MLPoisson::Fapply() 500 0.00445 0.00445 0.00445 1.09% Castro::enforce_min_density() 30 0.004349 0.004349 0.004349 1.06% Gravity::fill_multipole_BCs() 6 0.00378 0.00378 0.00378 0.92% Castro::estTimeStep() 10 0.003759 0.003759 0.003759 0.92% Castro::post_timestep() 5 0.003659 0.003659 0.003659 0.89% FabArray::Saxpy() 355 0.003656 0.003656 0.003656 0.89% FabArray::Xpay() 361 0.003526 0.003526 0.003526 0.86% Castro::post_restart() 1 0.003402 0.003402 0.003402 0.83% Gravity::multilevel_solve_for_new_phi() 1 0.003286 0.003286 0.003286 0.80% Gravity::actual_multilevel_solve() 1 0.00327 0.00327 0.00327 0.80% MLCellLinOp::solutionResidual() 42 0.003251 0.003251 0.003251 0.79% Castro::reset_internal_energy(MultiFab) 30 0.003068 0.003068 0.003068 0.75% Castro::computeNewDt() 5 0.002737 0.002737 0.002737 0.67% MLCellLinOp::defineBC() 6 0.002719 0.002719 0.002719 0.66% MLMG::computeResidual() 36 0.002698 0.002698 0.002698 0.66% BndryData::define() 6 0.002612 0.002612 0.002612 0.64% MLMG::prepareForSolve() 6 0.002547 0.002547 0.002547 0.62% FabArray::LinComb() 242 0.00192 0.00192 0.00192 0.47% amrex::Add() 72 0.00186 0.00186 0.00186 0.45% Castro::construct_new_source() 25 0.001723 0.001723 0.001723 0.42% Castro::construct_new_gravity_source() 5 0.001571 0.001571 0.001571 0.38% Castro::construct_old_source() 25 0.001433 0.001433 0.001433 0.35% Castro::construct_old_gravity_source() 5 0.001401 0.001401 0.001401 0.34% Castro::finalize_do_advance() 5 0.001119 0.001119 0.001119 0.27% MLMG::ResNormInf() 42 0.0009373 0.0009373 0.0009373 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009193 0.0009193 0.0009193 0.22% Castro::apply_source_to_state() 10 0.0009188 0.0009188 0.0009188 0.22% check_for_negative_density() 5 0.0008112 0.0008112 0.0008112 0.20% Castro::reset_internal_energy(Fab) 240 0.0007837 0.0007837 0.0007837 0.19% FabArrayBase::getCPC() 632 0.0007621 0.0007621 0.0007621 0.19% MLMG::getGradSolution() 6 0.0007554 0.0007554 0.0007554 0.18% MLCellLinOp::compGrad() 6 0.0007526 0.0007526 0.0007526 0.18% MLCellLinOp::setLevelBC() 6 0.0007505 0.0007505 0.0007505 0.18% FabArray::mult() 22 0.0006435 0.0006435 0.0006435 0.16% FabArray::setDomainBndry() 20 0.000632 0.000632 0.000632 0.15% MLPoisson::prepareForSolve() 6 0.0006195 0.0006195 0.0006195 0.15% MLCellLinOp::prepareForSolve() 6 0.000615 0.000615 0.000615 0.15% Castro::check_for_nan() 10 0.0006004 0.0006004 0.0006004 0.15% MultiFab::contains_nan() 10 0.0005951 0.0005951 0.0005951 0.15% MLMG::computeMLResidual() 6 0.000571 0.000571 0.000571 0.14% Castro::enforce_speed_limit() 30 0.0005243 0.0005243 0.0005243 0.13% Gravity::update_max_rhs() 6 0.0004498 0.0004498 0.0004498 0.11% FabArrayBase::CPC::define() 244 0.0004205 0.0004205 0.0004205 0.10% Amr::InitAmr() 1 0.0004162 0.0004162 0.0004162 0.10% Castro::finalize_advance() 5 0.0003235 0.0003235 0.0003235 0.08% FabArrayBase::getFB() 1766 0.000311 0.000311 0.000311 0.08% Gravity::swapTimeLevels() 5 0.000225 0.000225 0.000225 0.06% MLLinOp::define() 6 0.0002202 0.0002202 0.0002202 0.05% MLLinOp::defineGrids() 6 0.0002092 0.0002092 0.0002092 0.05% Castro::buildMetrics() 1 0.0001514 0.0001514 0.0001514 0.04% MLMG::MLResNormInf() 6 0.0001505 0.0001505 0.0001505 0.04% MultiFab::max() 6 0.0001358 0.0001358 0.0001358 0.03% MLMG::MLRhsNormInf() 6 0.000117 0.000117 0.000117 0.03% Castro::create_source_corrector() 5 6.515e-05 6.515e-05 6.515e-05 0.02% FabArrayBase::FB::FB() 26 6.086e-05 6.086e-05 6.086e-05 0.01% Castro::initMFs() 1 2.776e-05 2.776e-05 2.776e-05 0.01% Amr::writeSmallPlotFile() 1 2.707e-05 2.707e-05 2.707e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.698e-05 2.698e-05 2.698e-05 0.01% Castro::swap_state_time_levels() 5 2.215e-05 2.215e-05 2.215e-05 0.01% makeSFC 30 1.996e-05 1.996e-05 1.996e-05 0.00% Amr::initSubcycle() 1 8.958e-06 8.958e-06 8.958e-06 0.00% DistributionMapping::Distribute() 31 8.624e-06 8.624e-06 8.624e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.36e-06 5.36e-06 5.36e-06 0.00% Castro::retry_advance_ctu() 5 3.197e-06 3.197e-06 3.197e-06 0.00% Castro::FluxRegCrseInit 5 2.318e-06 2.318e-06 2.318e-06 0.00% Gravity::set_mass_offset() 6 2.015e-06 2.015e-06 2.015e-06 0.00% Castro::FluxRegFineAdd() 5 1.73e-06 1.73e-06 1.73e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.57e-07 9.57e-07 9.57e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 202 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 158 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1027 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2345 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 6771 KiB 14 MiB MLMG::prepareForSolve() 361 361 3328 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 190 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 197 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6766 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2128 B 2048 KiB Gravity::solve_for_phi() 40 40 614 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 306 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 196 KiB 671 KiB Castro::estTimeStep() 10 10 4371 B 480 KiB VisMF::Write(FabArray) 112 112 1205 B 320 KiB Castro::normalize_species() 30 30 7554 B 320 KiB amrex::average_down 469 469 1186 B 257 KiB MLMG::addInterpCorrection() 468 468 1098 B 257 KiB amrex::Dot() 592 592 3190 B 160 KiB FabArray::norminf() 398 398 2253 B 160 KiB check_for_negative_density() 5 5 314 B 160 KiB MultiFab::max() 6 6 51 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3237 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 268 B 9648 B MLCellLinOp::applyBC() 3892 3892 212 B 9344 B amrex::Copy() 56 56 5985 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 2064 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 111 B 1472 B MLCellLinOp::defineBC() 36 36 344 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1259 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 107 KiB 8192 KiB VisMF::Write(FabArray) 120 120 245 KiB 3584 KiB VisMF::Read() 24 24 188 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3237 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 268 B 9648 B MLCellLinOp::applyBC() 1946 1946 210 B 9328 B amrex::Copy() 56 56 5986 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2676 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2160 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 518 B 1296 B amrex::average_down 37 37 226 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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.06-30-g4a4e8b3fb1b9) finalized