Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-4-gf3598d2f7b6b) initialized Starting run at 07:34:33 UTC on 2023-09-07. Successfully read inputs file ... Castro git describe: 23.09 AMReX git describe: 23.09-4-gf3598d2f7 Microphysics git describe: 23.08-19-gbb8d2a2b 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.049936612 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027537465 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.05723305 [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.072696602 [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.081722224 [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.073587758 [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.071433926 [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.04883667 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.076413212 [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.047088224 [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.046977315 [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.06933592 [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.083257991 [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.047187995 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027323064 seconds Ending run at 07:34:34 UTC on 2023-09-07. Run time = 0.93942995 Run time without initialization = 0.803796404 Average number of zones advanced per microsecond: 3.261 Average number of zones advanced per microsecond per rank: 3.261 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9395 ... 0.9395 ... 0.9395 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2800 0.2800 0.2800 29.80% VisMF::Write(FabArray) 11 0.1927 0.1927 0.1927 20.51% MLCellLinOp::applyBC() 4433 0.07977 0.07977 0.07977 8.49% StateData::FillBoundary(geom) 328 0.04567 0.04567 0.04567 4.86% MLPoisson::Fsmooth() 3280 0.03379 0.03379 0.03379 3.60% FillBoundary_nowait() 4023 0.03066 0.03066 0.03066 3.26% Castro::computeTemp() 63 0.02154 0.02154 0.02154 2.29% amrex::Dot() 1114 0.02127 0.02127 0.02127 2.26% Castro::normalize_species() 62 0.01972 0.01972 0.01972 2.10% amrex::Copy() 1029 0.01531 0.01531 0.01531 1.63% FabArray::norminf() 743 0.01474 0.01474 0.01474 1.57% FabArray::ParallelCopy_nowait() 861 0.01398 0.01398 0.01398 1.49% FabArray::setVal() 1144 0.01381 0.01381 0.01381 1.47% Castro::enforce_min_density() 62 0.01262 0.01262 0.01262 1.34% MLPoisson::Fapply() 1142 0.01083 0.01083 0.01083 1.15% MLCellLinOp::defineAuxData() 11 0.01064 0.01064 0.01064 1.13% Gravity::fill_multipole_BCs() 11 0.009122 0.009122 0.009122 0.97% FabArray::Saxpy() 813 0.008481 0.008481 0.008481 0.90% FabArray::Xpay() 821 0.008376 0.008376 0.008376 0.89% StateDataPhysBCFunct::() 41 0.00818 0.00818 0.00818 0.87% MLMG::addInterpCorrection() 410 0.007112 0.007112 0.007112 0.76% amrex::average_down 410 0.006482 0.006482 0.006482 0.69% Castro::estTimeStep() 21 0.005936 0.005936 0.005936 0.63% Amr::checkPoint() 3 0.00561 0.00561 0.00561 0.60% FabArray::LinComb() 557 0.004697 0.004697 0.004697 0.50% Castro::reset_internal_energy(MultiFab) 63 0.004653 0.004653 0.004653 0.50% amrex::Add() 164 0.004409 0.004409 0.004409 0.47% BndryData::define() 11 0.003964 0.003964 0.003964 0.42% Castro::construct_new_gravity_source() 10 0.003358 0.003358 0.003358 0.36% Castro::construct_old_gravity_source() 10 0.002911 0.002911 0.002911 0.31% MLCGSolver::bicgstab 82 0.002597 0.002597 0.002597 0.28% Castro::enforce_speed_limit() 62 0.002449 0.002449 0.002449 0.26% check_for_negative_density() 10 0.002121 0.002121 0.002121 0.23% Amr::writePlotFile() 2 0.002014 0.002014 0.002014 0.21% Castro::reset_internal_energy(Fab) 504 0.002006 0.002006 0.002006 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001809 0.001809 0.001809 0.19% Gravity::actual_solve_with_mlmg() 11 0.001555 0.001555 0.001555 0.17% MLCellLinOp::smooth() 1640 0.001501 0.001501 0.001501 0.16% MLCellLinOp::setLevelBC() 11 0.001462 0.001462 0.001462 0.16% Castro::initData() 1 0.001453 0.001453 0.001453 0.15% FabArray::setDomainBndry() 41 0.001402 0.001402 0.001402 0.15% FabArray::mult() 43 0.001381 0.001381 0.001381 0.15% MLCellLinOp::prepareForSolve() 11 0.001317 0.001317 0.001317 0.14% MultiFab::contains_nan() 20 0.00129 0.00129 0.00129 0.14% MLCellLinOp::compGrad() 11 0.001072 0.001072 0.001072 0.11% MLMG::prepareForSolve() 11 0.001046 0.001046 0.001046 0.11% FabArray::FillBoundary() 4023 0.0008899 0.0008899 0.0008899 0.09% FabArrayBase::getCPC() 1323 0.0008265 0.0008265 0.0008265 0.09% FabArrayBase::CPC::define() 454 0.0007176 0.0007176 0.0007176 0.08% FabArrayBase::getFB() 4023 0.0006718 0.0006718 0.0006718 0.07% Gravity::get_new_grav_vector() 11 0.0006065 0.0006065 0.0006065 0.06% MLCellLinOp::apply() 1142 0.0005784 0.0005784 0.0005784 0.06% Gravity::get_old_grav_vector() 10 0.0004914 0.0004914 0.0004914 0.05% Amr::InitAmr() 1 0.0004911 0.0004911 0.0004911 0.05% Amr::coarseTimeStep() 10 0.0003999 0.0003999 0.0003999 0.04% AmrLevel::FillPatch() 41 0.0003677 0.0003677 0.0003677 0.04% MultiFab::max() 11 0.0003346 0.0003346 0.0003346 0.04% FillPatchIterator::Initialize 41 0.0003084 0.0003084 0.0003084 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002936 0.0002936 0.0002936 0.03% FabArray::ParallelCopy() 861 0.0002838 0.0002838 0.0002838 0.03% main() 1 0.0002773 0.0002773 0.0002773 0.03% MLCellLinOp::correctionResidual() 492 0.0002766 0.0002766 0.0002766 0.03% MLMG::mgVcycle() 82 0.0002606 0.0002606 0.0002606 0.03% Castro::subcycle_advance_ctu() 10 0.0002436 0.0002436 0.0002436 0.03% MLCellLinOp::defineBC() 11 0.0002278 0.0002278 0.0002278 0.02% Amr::timeStep() 10 0.0001766 0.0001766 0.0001766 0.02% MLLinOp::defineGrids() 11 0.0001657 0.0001657 0.0001657 0.02% Castro::create_source_corrector() 10 0.0001568 0.0001568 0.0001568 0.02% Gravity::solve_for_phi() 10 0.0001493 0.0001493 0.0001493 0.02% Gravity::update_max_rhs() 11 0.0001426 0.0001426 0.0001426 0.02% Castro::advance() 10 0.0001425 0.0001425 0.0001425 0.02% MLMG:computeResOfCorrection() 410 0.0001302 0.0001302 0.0001302 0.01% StateData::checkPoint() 12 0.0001299 0.0001299 0.0001299 0.01% MLMG::actualBottomSolve() 82 0.0001066 0.0001066 0.0001066 0.01% MLMG::mgVcycle_down::0 82 0.0001052 0.0001052 0.0001052 0.01% FabArrayBase::FB::FB() 56 0.0001017 0.0001017 0.0001017 0.01% MLMG::mgVcycle_down::1 82 0.0001003 0.0001003 0.0001003 0.01% MLMG::mgVcycle_down::2 82 9.93e-05 9.93e-05 9.93e-05 0.01% MLMG::mgVcycle_down::4 82 9.646e-05 9.646e-05 9.646e-05 0.01% MLMG::solve() 11 9.542e-05 9.542e-05 9.542e-05 0.01% Castro::initialize_advance() 10 9.49e-05 9.49e-05 9.49e-05 0.01% MLMG::mgVcycle_down::3 82 9.397e-05 9.397e-05 9.397e-05 0.01% Castro::Castro() 1 9.356e-05 9.356e-05 9.356e-05 0.01% Castro::clean_state() 62 8.262e-05 8.262e-05 8.262e-05 0.01% Castro::construct_new_source() 50 8.06e-05 8.06e-05 8.06e-05 0.01% Castro::finalize_advance() 10 7.507e-05 7.507e-05 7.507e-05 0.01% Castro::do_new_sources() 10 7.373e-05 7.373e-05 7.373e-05 0.01% Castro::enforce_consistent_e() 1 7.141e-05 7.141e-05 7.141e-05 0.01% MLMG::mgVcycle_up::4 82 7.071e-05 7.071e-05 7.071e-05 0.01% AmrLevel::checkPoint() 3 6.974e-05 6.974e-05 6.974e-05 0.01% Castro::initialize_do_advance() 10 6.311e-05 6.311e-05 6.311e-05 0.01% MLMG::mgVcycle_up::0 82 6.309e-05 6.309e-05 6.309e-05 0.01% MLMG::mgVcycle_up::3 82 6.134e-05 6.134e-05 6.134e-05 0.01% MLMG::mgVcycle_up::1 82 6.042e-05 6.042e-05 6.042e-05 0.01% MLMG::mgVcycle_up::2 82 5.962e-05 5.962e-05 5.962e-05 0.01% MLCellLinOp::solutionResidual() 93 5.851e-05 5.851e-05 5.851e-05 0.01% MLMG::oneIter() 82 5.794e-05 5.794e-05 5.794e-05 0.01% Castro::do_advance_ctu() 10 5.75e-05 5.75e-05 5.75e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.254e-05 5.254e-05 5.254e-05 0.01% Castro::finalize_do_advance() 10 4.487e-05 4.487e-05 4.487e-05 0.00% FillPatchSingleLevel 41 4.446e-05 4.446e-05 4.446e-05 0.00% StateData::define() 4 4.205e-05 4.205e-05 4.205e-05 0.00% Castro::swap_state_time_levels() 10 3.933e-05 3.933e-05 3.933e-05 0.00% MLMG::mgVcycle_bottom 82 3.654e-05 3.654e-05 3.654e-05 0.00% MLMG::computeResidual() 82 3.327e-05 3.327e-05 3.327e-05 0.00% Castro::do_old_sources() 10 3.303e-05 3.303e-05 3.303e-05 0.00% MLMG::ResNormInf() 93 3.3e-05 3.3e-05 3.3e-05 0.00% Amr::writeSmallPlotFile() 1 3.284e-05 3.284e-05 3.284e-05 0.00% Castro::initMFs() 1 3.086e-05 3.086e-05 3.086e-05 0.00% Castro::construct_new_gravity() 10 2.842e-05 2.842e-05 2.842e-05 0.00% Amr::defBaseLevel() 1 2.753e-05 2.753e-05 2.753e-05 0.00% Castro::buildMetrics() 1 2.645e-05 2.645e-05 2.645e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.555e-05 2.555e-05 2.555e-05 0.00% makeSFC 55 2.434e-05 2.434e-05 2.434e-05 0.00% MLPoisson::define() 11 2.309e-05 2.309e-05 2.309e-05 0.00% Amr::FinalizeInit() 1 2.265e-05 2.265e-05 2.265e-05 0.00% Castro::construct_old_source() 50 1.955e-05 1.955e-05 1.955e-05 0.00% DistributionMapping::Distribute() 56 1.831e-05 1.831e-05 1.831e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.759e-05 1.759e-05 1.759e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.709e-05 1.709e-05 1.709e-05 0.00% MLLinOp::define() 11 1.492e-05 1.492e-05 1.492e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.485e-05 1.485e-05 1.485e-05 0.00% Castro::construct_old_gravity() 10 1.313e-05 1.313e-05 1.313e-05 0.00% Castro::apply_source_to_state() 20 1.285e-05 1.285e-05 1.285e-05 0.00% Gravity::swapTimeLevels() 10 1.259e-05 1.259e-05 1.259e-05 0.00% Castro::check_for_nan() 20 1.165e-05 1.165e-05 1.165e-05 0.00% Gravity::actual_multilevel_solve() 1 1.105e-05 1.105e-05 1.105e-05 0.00% MLMG::computeMLResidual() 11 1.024e-05 1.024e-05 1.024e-05 0.00% Castro::post_init() 1 9.924e-06 9.924e-06 9.924e-06 0.00% Amr::initSubcycle() 1 9.859e-06 9.859e-06 9.859e-06 0.00% Castro::computeNewDt() 9 8.948e-06 8.948e-06 8.948e-06 0.00% MLPoisson::prepareForSolve() 11 8.831e-06 8.831e-06 8.831e-06 0.00% Castro::post_timestep() 10 8.215e-06 8.215e-06 8.215e-06 0.00% MLMG::getGradSolution() 11 6.185e-06 6.185e-06 6.185e-06 0.00% Castro::expand_state() 10 5.838e-06 5.838e-06 5.838e-06 0.00% AmrLevel::checkPointPost() 3 5.516e-06 5.516e-06 5.516e-06 0.00% Castro::retry_advance_ctu() 10 4.994e-06 4.994e-06 4.994e-06 0.00% Amr::InitializeInit() 1 4.37e-06 4.37e-06 4.37e-06 0.00% MLMG::MLRhsNormInf() 11 4.284e-06 4.284e-06 4.284e-06 0.00% Gravity::set_mass_offset() 11 4.04e-06 4.04e-06 4.04e-06 0.00% Castro::computeInitialDt() 2 3.669e-06 3.669e-06 3.669e-06 0.00% MLMG::MLResNormInf() 11 3.472e-06 3.472e-06 3.472e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.959e-06 2.959e-06 2.959e-06 0.00% Castro::FluxRegCrseInit 10 2.726e-06 2.726e-06 2.726e-06 0.00% Amr::init() 1 2.68e-06 2.68e-06 2.68e-06 0.00% AmrLevel::checkPointPre() 3 2.669e-06 2.669e-06 2.669e-06 0.00% Castro::FluxRegFineAdd() 10 2.246e-06 2.246e-06 2.246e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.878e-06 1.878e-06 1.878e-06 0.00% Castro::post_regrid() 1 1.828e-06 1.828e-06 1.828e-06 0.00% Amr::initialInit() 1 1.058e-06 1.058e-06 1.058e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9394 0.9394 0.9394 100.00% Amr::coarseTimeStep() 10 0.7762 0.7762 0.7762 82.63% Amr::timeStep() 10 0.6766 0.6766 0.6766 72.02% Castro::advance() 10 0.6661 0.6661 0.6661 70.90% Castro::subcycle_advance_ctu() 10 0.6526 0.6526 0.6526 69.47% Castro::do_advance_ctu() 10 0.6524 0.6524 0.6524 69.44% Gravity::solve_phi_with_mlmg() 11 0.2978 0.2978 0.2978 31.70% Castro::construct_ctu_hydro_source() 10 0.2909 0.2909 0.2909 30.97% Gravity::actual_solve_with_mlmg() 11 0.2882 0.2882 0.2882 30.68% Castro::construct_new_gravity() 10 0.2728 0.2728 0.2728 29.04% MLMG::solve() 11 0.266 0.266 0.266 28.32% Gravity::solve_for_phi() 10 0.2511 0.2511 0.2511 26.72% MLMG::oneIter() 82 0.2506 0.2506 0.2506 26.67% MLMG::mgVcycle() 82 0.247 0.247 0.247 26.29% VisMF::Write(FabArray) 11 0.1927 0.1927 0.1927 20.51% Amr::checkPoint() 3 0.1461 0.1461 0.1461 15.55% AmrLevel::checkPoint() 3 0.1405 0.1405 0.1405 14.95% StateData::checkPoint() 12 0.1404 0.1404 0.1404 14.94% Amr::init() 1 0.135 0.135 0.135 14.37% MLCellLinOp::smooth() 1640 0.1205 0.1205 0.1205 12.82% MLCellLinOp::applyBC() 4433 0.1121 0.1121 0.1121 11.93% MLMG::mgVcycle_bottom 82 0.07686 0.07686 0.07686 8.18% MLMG::actualBottomSolve() 82 0.07682 0.07682 0.07682 8.18% MLCGSolver::bicgstab 82 0.07606 0.07606 0.07606 8.10% AmrLevel::FillPatch() 41 0.06405 0.06405 0.06405 6.82% Castro::clean_state() 62 0.06206 0.06206 0.06206 6.61% FillPatchIterator::Initialize 41 0.05978 0.05978 0.05978 6.36% FillPatchIterator::FillFromLevel0() 41 0.05807 0.05807 0.05807 6.18% FillPatchSingleLevel 41 0.05801 0.05801 0.05801 6.18% Amr::initialInit() 1 0.05743 0.05743 0.05743 6.11% Amr::writePlotFile() 2 0.05498 0.05498 0.05498 5.85% StateDataPhysBCFunct::() 41 0.05385 0.05385 0.05385 5.73% Amr::FinalizeInit() 1 0.05223 0.05223 0.05223 5.56% Castro::post_init() 1 0.05072 0.05072 0.05072 5.40% Gravity::multilevel_solve_for_new_phi() 1 0.04721 0.04721 0.04721 5.02% Gravity::actual_multilevel_solve() 1 0.04719 0.04719 0.04719 5.02% StateData::FillBoundary(geom) 328 0.04567 0.04567 0.04567 4.86% MLCellLinOp::apply() 1142 0.03784 0.03784 0.03784 4.03% MLMG::mgVcycle_down::0 82 0.03429 0.03429 0.03429 3.65% MLPoisson::Fsmooth() 3280 0.03379 0.03379 0.03379 3.60% FabArray::FillBoundary() 4023 0.03233 0.03233 0.03233 3.44% FillBoundary_nowait() 4023 0.03144 0.03144 0.03144 3.35% Castro::computeTemp() 63 0.0282 0.0282 0.0282 3.00% Castro::do_old_sources() 10 0.02747 0.02747 0.02747 2.92% MLMG::mgVcycle_up::0 82 0.02591 0.02591 0.02591 2.76% Gravity::get_new_grav_vector() 11 0.02482 0.02482 0.02482 2.64% MLCellLinOp::correctionResidual() 492 0.02298 0.02298 0.02298 2.45% Castro::initialize_do_advance() 10 0.02298 0.02298 0.02298 2.45% Castro::construct_old_gravity() 10 0.02129 0.02129 0.02129 2.27% Gravity::get_old_grav_vector() 10 0.02127 0.02127 0.02127 2.26% amrex::Dot() 1114 0.02127 0.02127 0.02127 2.26% MLMG:computeResOfCorrection() 410 0.02019 0.02019 0.02019 2.15% Castro::normalize_species() 62 0.01972 0.01972 0.01972 2.10% MLPoisson::define() 11 0.01759 0.01759 0.01759 1.87% MLMG::mgVcycle_down::1 82 0.01669 0.01669 0.01669 1.78% MLMG::mgVcycle_down::2 82 0.01546 0.01546 0.01546 1.65% amrex::Copy() 1029 0.01531 0.01531 0.01531 1.63% MLMG::mgVcycle_down::3 82 0.01512 0.01512 0.01512 1.61% FabArray::ParallelCopy() 861 0.01512 0.01512 0.01512 1.61% MLMG::mgVcycle_down::4 82 0.01499 0.01499 0.01499 1.60% FabArray::ParallelCopy_nowait() 861 0.01483 0.01483 0.01483 1.58% FabArray::norminf() 743 0.01474 0.01474 0.01474 1.57% FabArray::setVal() 1144 0.01381 0.01381 0.01381 1.47% Castro::do_new_sources() 10 0.01337 0.01337 0.01337 1.42% MLCGSolver::ParallelAllReduce 1514 0.01276 0.01276 0.01276 1.36% Castro::expand_state() 10 0.01275 0.01275 0.01275 1.36% Castro::initialize_advance() 10 0.01269 0.01269 0.01269 1.35% Castro::enforce_min_density() 62 0.01262 0.01262 0.01262 1.34% MLMG::addInterpCorrection() 410 0.01256 0.01256 0.01256 1.34% MLCellLinOp::defineAuxData() 11 0.01212 0.01212 0.01212 1.29% amrex::average_down 410 0.01203 0.01203 0.01203 1.28% MLMG::mgVcycle_up::4 82 0.01203 0.01203 0.01203 1.28% MLMG::mgVcycle_up::1 82 0.01202 0.01202 0.01202 1.28% MLMG::mgVcycle_up::2 82 0.01177 0.01177 0.01177 1.25% MLMG::mgVcycle_up::3 82 0.01158 0.01158 0.01158 1.23% MLPoisson::Fapply() 1142 0.01083 0.01083 0.01083 1.15% Castro::post_timestep() 10 0.01033 0.01033 0.01033 1.10% Gravity::fill_multipole_BCs() 11 0.009355 0.009355 0.009355 1.00% FabArray::Saxpy() 813 0.008481 0.008481 0.008481 0.90% FabArray::Xpay() 821 0.008376 0.008376 0.008376 0.89% MLCellLinOp::solutionResidual() 93 0.007663 0.007663 0.007663 0.82% Castro::reset_internal_energy(MultiFab) 63 0.006659 0.006659 0.006659 0.71% MLMG::computeResidual() 82 0.006361 0.006361 0.006361 0.68% Castro::estTimeStep() 21 0.005936 0.005936 0.005936 0.63% MLCellLinOp::defineBC() 11 0.005208 0.005208 0.005208 0.55% MLMG::prepareForSolve() 11 0.005201 0.005201 0.005201 0.55% Amr::InitializeInit() 1 0.005196 0.005196 0.005196 0.55% Amr::defBaseLevel() 1 0.005192 0.005192 0.005192 0.55% BndryData::define() 11 0.00498 0.00498 0.00498 0.53% FabArray::LinComb() 557 0.004697 0.004697 0.004697 0.50% Castro::initData() 1 0.004512 0.004512 0.004512 0.48% amrex::Add() 164 0.004409 0.004409 0.004409 0.47% Castro::construct_new_source() 50 0.003439 0.003439 0.003439 0.37% Castro::construct_new_gravity_source() 10 0.003358 0.003358 0.003358 0.36% Castro::construct_old_source() 50 0.00293 0.00293 0.00293 0.31% Castro::construct_old_gravity_source() 10 0.002911 0.002911 0.002911 0.31% Castro::finalize_do_advance() 10 0.002558 0.002558 0.002558 0.27% Castro::enforce_speed_limit() 62 0.002449 0.002449 0.002449 0.26% Castro::computeNewDt() 9 0.002384 0.002384 0.002384 0.25% MLMG::ResNormInf() 93 0.002186 0.002186 0.002186 0.23% check_for_negative_density() 10 0.002121 0.002121 0.002121 0.23% Castro::reset_internal_energy(Fab) 504 0.002006 0.002006 0.002006 0.21% Castro::apply_source_to_state() 20 0.001876 0.001876 0.001876 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001809 0.001809 0.001809 0.19% MLMG::getGradSolution() 11 0.00157 0.00157 0.00157 0.17% MLCellLinOp::compGrad() 11 0.001564 0.001564 0.001564 0.17% FabArrayBase::getCPC() 1323 0.001544 0.001544 0.001544 0.16% MLCellLinOp::setLevelBC() 11 0.001462 0.001462 0.001462 0.16% FabArray::setDomainBndry() 41 0.001402 0.001402 0.001402 0.15% FabArray::mult() 43 0.001381 0.001381 0.001381 0.15% MLMG::computeMLResidual() 11 0.001346 0.001346 0.001346 0.14% MLPoisson::prepareForSolve() 11 0.001326 0.001326 0.001326 0.14% MLCellLinOp::prepareForSolve() 11 0.001317 0.001317 0.001317 0.14% Castro::check_for_nan() 20 0.001301 0.001301 0.001301 0.14% MultiFab::contains_nan() 20 0.00129 0.00129 0.00129 0.14% Castro::post_regrid() 1 0.001194 0.001194 0.001194 0.13% Castro::computeInitialDt() 2 0.001051 0.001051 0.001051 0.11% Gravity::update_max_rhs() 11 0.001022 0.001022 0.001022 0.11% FabArrayBase::getFB() 4023 0.0007735 0.0007735 0.0007735 0.08% FabArrayBase::CPC::define() 454 0.0007176 0.0007176 0.0007176 0.08% Castro::finalize_advance() 10 0.0006193 0.0006193 0.0006193 0.07% Castro::Castro() 1 0.0005886 0.0005886 0.0005886 0.06% Amr::InitAmr() 1 0.000501 0.000501 0.000501 0.05% Gravity::swapTimeLevels() 10 0.0004567 0.0004567 0.0004567 0.05% MLMG::MLResNormInf() 11 0.0003366 0.0003366 0.0003366 0.04% MultiFab::max() 11 0.0003346 0.0003346 0.0003346 0.04% Castro::buildMetrics() 1 0.0002907 0.0002907 0.0002907 0.03% MLLinOp::define() 11 0.0002388 0.0002388 0.0002388 0.03% MLMG::MLRhsNormInf() 11 0.0002258 0.0002258 0.0002258 0.02% MLLinOp::defineGrids() 11 0.0002239 0.0002239 0.0002239 0.02% Castro::create_source_corrector() 10 0.0001568 0.0001568 0.0001568 0.02% FabArrayBase::FB::FB() 56 0.0001017 0.0001017 0.0001017 0.01% Castro::enforce_consistent_e() 1 7.141e-05 7.141e-05 7.141e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.913e-05 5.913e-05 5.913e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.624e-05 5.624e-05 5.624e-05 0.01% StateData::define() 4 4.205e-05 4.205e-05 4.205e-05 0.00% makeSFC 55 4.139e-05 4.139e-05 4.139e-05 0.00% Castro::swap_state_time_levels() 10 3.933e-05 3.933e-05 3.933e-05 0.00% Amr::writeSmallPlotFile() 1 3.284e-05 3.284e-05 3.284e-05 0.00% Castro::initMFs() 1 3.086e-05 3.086e-05 3.086e-05 0.00% DistributionMapping::Distribute() 56 1.831e-05 1.831e-05 1.831e-05 0.00% Amr::initSubcycle() 1 9.859e-06 9.859e-06 9.859e-06 0.00% AmrLevel::checkPointPost() 3 5.516e-06 5.516e-06 5.516e-06 0.00% Castro::retry_advance_ctu() 10 4.994e-06 4.994e-06 4.994e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.223e-06 4.223e-06 4.223e-06 0.00% Gravity::set_mass_offset() 11 4.04e-06 4.04e-06 4.04e-06 0.00% Castro::FluxRegCrseInit 10 2.726e-06 2.726e-06 2.726e-06 0.00% AmrLevel::checkPointPre() 3 2.669e-06 2.669e-06 2.669e-06 0.00% Castro::FluxRegFineAdd() 10 2.246e-06 2.246e-06 2.246e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.878e-06 1.878e-06 1.878e-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 142 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 138 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 1230 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1646 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3482 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 273 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 232 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2088 B 2048 KiB Gravity::solve_for_phi() 80 80 546 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 318 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 202 KiB 671 KiB Castro::estTimeStep() 21 21 3078 B 480 KiB VisMF::Write(FabArray) 656 656 3296 B 320 KiB Castro::normalize_species() 62 62 6834 B 320 KiB amrex::average_down 1067 1067 1254 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1124 B 257 KiB amrex::Dot() 1360 1360 3325 B 160 KiB FabArray::norminf() 907 907 2313 B 160 KiB check_for_negative_density() 10 10 318 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3399 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 8866 8866 216 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3917 B 6144 B StateData::FillBoundary(geom) 1992 1992 33 B 2656 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 358 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 592 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 89 KiB 8192 KiB VisMF::Write(FabArray) 744 744 460 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3399 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 4433 4433 214 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3917 B 6144 B Gravity::get_new_grav_vector() 3 3 2889 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 34 B 2656 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 290 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.09-4-gf3598d2f7b6b) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-4-gf3598d2f7b6b) initialized Starting run at 07:34:35 UTC on 2023-09-07. Successfully read inputs file ... Castro git describe: 23.09 AMReX git describe: 23.09-4-gf3598d2f7 Microphysics git describe: 23.08-19-gbb8d2a2b reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.541243939 Restart time = 0.050355825 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.062908567 [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.057327786 [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.074898306 [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.07347594 [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.052712273 [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.06491727 seconds Ending run at 07:34:35 UTC on 2023-09-07. Run time = 0.479690374 Run time without initialization = 0.428755582 Average number of zones advanced per microsecond: 3.057 Average number of zones advanced per microsecond per rank: 3.057 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4797 ... 0.4797 ... 0.4797 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1299 0.1299 0.1299 27.08% Amr::writePlotFile() 1 0.07902 0.07902 0.07902 16.47% VisMF::Read() 3 0.03871 0.03871 0.03871 8.07% MLCellLinOp::applyBC() 1946 0.03386 0.03386 0.03386 7.06% VisMF::Write(FabArray) 1 0.02757 0.02757 0.02757 5.75% StateData::FillBoundary(geom) 160 0.01575 0.01575 0.01575 3.28% MLPoisson::Fsmooth() 1440 0.01415 0.01415 0.01415 2.95% FillBoundary_nowait() 1766 0.01278 0.01278 0.01278 2.66% Castro::normalize_species() 30 0.009979 0.009979 0.009979 2.08% amrex::Dot() 484 0.008944 0.008944 0.008944 1.86% amrex::Copy() 463 0.007222 0.007222 0.007222 1.51% Castro::computeTemp() 30 0.006941 0.006941 0.006941 1.45% FabArray::setVal() 537 0.006556 0.006556 0.006556 1.37% FabArray::norminf() 326 0.006312 0.006312 0.006312 1.32% FabArray::ParallelCopy_nowait() 380 0.006076 0.006076 0.006076 1.27% Castro::enforce_min_density() 30 0.005768 0.005768 0.005768 1.20% MLCellLinOp::defineAuxData() 6 0.005543 0.005543 0.005543 1.16% Gravity::fill_multipole_BCs() 6 0.005349 0.005349 0.005349 1.11% Amr::restart() 1 0.004743 0.004743 0.004743 0.99% MLPoisson::Fapply() 500 0.00455 0.00455 0.00455 0.95% StateDataPhysBCFunct::() 20 0.003976 0.003976 0.003976 0.83% FabArray::Saxpy() 355 0.003742 0.003742 0.003742 0.78% FabArray::Xpay() 361 0.003565 0.003565 0.003565 0.74% Castro::estTimeStep() 10 0.003288 0.003288 0.003288 0.69% MLMG::addInterpCorrection() 180 0.0031 0.0031 0.0031 0.65% amrex::average_down 180 0.002713 0.002713 0.002713 0.57% FabArray::LinComb() 242 0.002237 0.002237 0.002237 0.47% Castro::reset_internal_energy(MultiFab) 30 0.002159 0.002159 0.002159 0.45% BndryData::define() 6 0.002083 0.002083 0.002083 0.43% amrex::Add() 72 0.001878 0.001878 0.001878 0.39% Castro::construct_new_gravity_source() 5 0.001764 0.001764 0.001764 0.37% Castro::construct_old_gravity_source() 5 0.001535 0.001535 0.001535 0.32% Castro::subcycle_advance_ctu() 5 0.001261 0.001261 0.001261 0.26% MLCGSolver::bicgstab 36 0.00103 0.00103 0.00103 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009758 0.0009758 0.0009758 0.20% Castro::reset_internal_energy(Fab) 240 0.0009057 0.0009057 0.0009057 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008244 0.0008244 0.0008244 0.17% check_for_negative_density() 5 0.0008237 0.0008237 0.0008237 0.17% MLCellLinOp::setLevelBC() 6 0.0007962 0.0007962 0.0007962 0.17% MLCellLinOp::prepareForSolve() 6 0.0007269 0.0007269 0.0007269 0.15% FabArray::mult() 22 0.0006891 0.0006891 0.0006891 0.14% FabArray::setDomainBndry() 20 0.000671 0.000671 0.000671 0.14% MultiFab::contains_nan() 10 0.0006667 0.0006667 0.0006667 0.14% MLCellLinOp::compGrad() 6 0.0005899 0.0005899 0.0005899 0.12% MLMG::prepareForSolve() 6 0.000559 0.000559 0.000559 0.12% MLCellLinOp::smooth() 720 0.0005382 0.0005382 0.0005382 0.11% Castro::enforce_speed_limit() 30 0.0004596 0.0004596 0.0004596 0.10% FabArrayBase::CPC::define() 244 0.0004331 0.0004331 0.0004331 0.09% main() 1 0.0004127 0.0004127 0.0004127 0.09% Amr::InitAmr() 1 0.0004094 0.0004094 0.0004094 0.09% FabArray::FillBoundary() 1766 0.0003702 0.0003702 0.0003702 0.08% FabArrayBase::getCPC() 632 0.0003674 0.0003674 0.0003674 0.08% Gravity::get_old_grav_vector() 5 0.0002984 0.0002984 0.0002984 0.06% FabArrayBase::getFB() 1766 0.0002717 0.0002717 0.0002717 0.06% Gravity::get_new_grav_vector() 5 0.0002387 0.0002387 0.0002387 0.05% MLCellLinOp::apply() 500 0.0002116 0.0002116 0.0002116 0.04% MultiFab::max() 6 0.0002087 0.0002087 0.0002087 0.04% Amr::coarseTimeStep() 5 0.0001856 0.0001856 0.0001856 0.04% AmrLevel::FillPatch() 20 0.0001711 0.0001711 0.0001711 0.04% FabArray::ParallelCopy() 380 0.0001213 0.0001213 0.0001213 0.03% MLCGSolver::ParallelAllReduce 659 0.0001213 0.0001213 0.0001213 0.03% MLCellLinOp::defineBC() 6 0.0001181 0.0001181 0.0001181 0.02% Amr::writeSmallPlotFile() 1 0.0001169 0.0001169 0.0001169 0.02% FillPatchIterator::Initialize 20 0.0001135 0.0001135 0.0001135 0.02% MLCellLinOp::correctionResidual() 216 0.0001051 0.0001051 0.0001051 0.02% Amr::timeStep() 5 0.0001007 0.0001007 0.0001007 0.02% Castro::construct_new_source() 25 9.95e-05 9.95e-05 9.95e-05 0.02% MLMG::mgVcycle() 36 9.675e-05 9.675e-05 9.675e-05 0.02% MLLinOp::defineGrids() 6 9.382e-05 9.382e-05 9.382e-05 0.02% Castro::create_source_corrector() 5 8.644e-05 8.644e-05 8.644e-05 0.02% Castro::do_new_sources() 5 8.153e-05 8.153e-05 8.153e-05 0.02% AmrLevel::restart() 1 8.039e-05 8.039e-05 8.039e-05 0.02% Gravity::update_max_rhs() 6 7.433e-05 7.433e-05 7.433e-05 0.02% Gravity::solve_for_phi() 5 7.216e-05 7.216e-05 7.216e-05 0.02% StateData::restartDoit() 4 6.562e-05 6.562e-05 6.562e-05 0.01% FabArrayBase::FB::FB() 26 6.188e-05 6.188e-05 6.188e-05 0.01% Castro::advance() 5 5.88e-05 5.88e-05 5.88e-05 0.01% Castro::construct_old_source() 25 5.515e-05 5.515e-05 5.515e-05 0.01% MLMG:computeResOfCorrection() 180 5.169e-05 5.169e-05 5.169e-05 0.01% Castro::finalize_do_advance() 5 4.797e-05 4.797e-05 4.797e-05 0.01% MLMG::actualBottomSolve() 36 4.486e-05 4.486e-05 4.486e-05 0.01% Castro::initialize_advance() 5 4.253e-05 4.253e-05 4.253e-05 0.01% Castro::finalize_advance() 5 4.067e-05 4.067e-05 4.067e-05 0.01% MLMG::mgVcycle_down::0 36 4.064e-05 4.064e-05 4.064e-05 0.01% MLMG::mgVcycle_down::1 36 3.94e-05 3.94e-05 3.94e-05 0.01% MLMG::solve() 6 3.779e-05 3.779e-05 3.779e-05 0.01% MLMG::mgVcycle_down::2 36 3.734e-05 3.734e-05 3.734e-05 0.01% Castro::clean_state() 30 3.657e-05 3.657e-05 3.657e-05 0.01% MLMG::mgVcycle_down::4 36 3.655e-05 3.655e-05 3.655e-05 0.01% MLMG::mgVcycle_down::3 36 3.519e-05 3.519e-05 3.519e-05 0.01% Castro::initialize_do_advance() 5 3.214e-05 3.214e-05 3.214e-05 0.01% MLMG::mgVcycle_up::4 36 3.081e-05 3.081e-05 3.081e-05 0.01% Castro::post_restart() 1 2.844e-05 2.844e-05 2.844e-05 0.01% Castro::buildMetrics() 1 2.836e-05 2.836e-05 2.836e-05 0.01% Castro::initMFs() 1 2.66e-05 2.66e-05 2.66e-05 0.01% Castro::do_advance_ctu() 5 2.612e-05 2.612e-05 2.612e-05 0.01% MLMG::mgVcycle_up::0 36 2.507e-05 2.507e-05 2.507e-05 0.01% MLMG::mgVcycle_up::3 36 2.44e-05 2.44e-05 2.44e-05 0.01% Castro::swap_state_time_levels() 5 2.433e-05 2.433e-05 2.433e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.426e-05 2.426e-05 2.426e-05 0.01% MLMG::oneIter() 36 2.418e-05 2.418e-05 2.418e-05 0.01% MLCellLinOp::solutionResidual() 42 2.416e-05 2.416e-05 2.416e-05 0.01% MLMG::mgVcycle_up::2 36 2.346e-05 2.346e-05 2.346e-05 0.00% MLMG::mgVcycle_up::1 36 2.256e-05 2.256e-05 2.256e-05 0.00% MLMG::ResNormInf() 42 1.711e-05 1.711e-05 1.711e-05 0.00% FillPatchSingleLevel 20 1.71e-05 1.71e-05 1.71e-05 0.00% MLMG::mgVcycle_bottom 36 1.662e-05 1.662e-05 1.662e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.599e-05 1.599e-05 1.599e-05 0.00% MLMG::computeResidual() 36 1.455e-05 1.455e-05 1.455e-05 0.00% Castro::construct_new_gravity() 5 1.446e-05 1.446e-05 1.446e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.357e-05 1.357e-05 1.357e-05 0.00% MLPoisson::define() 6 1.335e-05 1.335e-05 1.335e-05 0.00% Castro::do_old_sources() 5 1.204e-05 1.204e-05 1.204e-05 0.00% makeSFC 30 1.202e-05 1.202e-05 1.202e-05 0.00% MLLinOp::define() 6 9.365e-06 9.365e-06 9.365e-06 0.00% DistributionMapping::Distribute() 31 9.204e-06 9.204e-06 9.204e-06 0.00% Amr::initSubcycle() 1 8.866e-06 8.866e-06 8.866e-06 0.00% Gravity::actual_multilevel_solve() 1 8.619e-06 8.619e-06 8.619e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.278e-06 8.278e-06 8.278e-06 0.00% MLMG::getGradSolution() 6 7.812e-06 7.812e-06 7.812e-06 0.00% Castro::construct_old_gravity() 5 7.019e-06 7.019e-06 7.019e-06 0.00% Castro::check_for_nan() 10 6.365e-06 6.365e-06 6.365e-06 0.00% Castro::apply_source_to_state() 10 6.36e-06 6.36e-06 6.36e-06 0.00% Castro::post_timestep() 5 5.335e-06 5.335e-06 5.335e-06 0.00% Gravity::swapTimeLevels() 5 5.156e-06 5.156e-06 5.156e-06 0.00% MLPoisson::prepareForSolve() 6 4.473e-06 4.473e-06 4.473e-06 0.00% MLMG::computeMLResidual() 6 4.342e-06 4.342e-06 4.342e-06 0.00% Castro::computeNewDt() 5 4.007e-06 4.007e-06 4.007e-06 0.00% Castro::retry_advance_ctu() 5 3.407e-06 3.407e-06 3.407e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.247e-06 3.247e-06 3.247e-06 0.00% Castro::expand_state() 5 2.824e-06 2.824e-06 2.824e-06 0.00% MLMG::MLRhsNormInf() 6 2.359e-06 2.359e-06 2.359e-06 0.00% MLMG::MLResNormInf() 6 2.299e-06 2.299e-06 2.299e-06 0.00% Castro::FluxRegCrseInit 5 2.201e-06 2.201e-06 2.201e-06 0.00% Gravity::set_mass_offset() 6 2.055e-06 2.055e-06 2.055e-06 0.00% Castro::FluxRegFineAdd() 5 1.506e-06 1.506e-06 1.506e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.077e-06 1.077e-06 1.077e-06 0.00% Amr::init() 1 8.71e-07 8.71e-07 8.71e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4797 0.4797 0.4797 100.00% Amr::coarseTimeStep() 5 0.3215 0.3215 0.3215 67.02% Amr::timeStep() 5 0.3191 0.3191 0.3191 66.51% Castro::advance() 5 0.314 0.314 0.314 65.46% Castro::subcycle_advance_ctu() 5 0.3072 0.3072 0.3072 64.03% Castro::do_advance_ctu() 5 0.3059 0.3059 0.3059 63.77% Castro::construct_ctu_hydro_source() 5 0.1347 0.1347 0.1347 28.08% Castro::construct_new_gravity() 5 0.1327 0.1327 0.1327 27.67% Gravity::solve_phi_with_mlmg() 6 0.1301 0.1301 0.1301 27.12% Gravity::actual_solve_with_mlmg() 6 0.1245 0.1245 0.1245 25.95% Gravity::solve_for_phi() 5 0.1243 0.1243 0.1243 25.91% MLMG::solve() 6 0.1127 0.1127 0.1127 23.50% Amr::writePlotFile() 1 0.1069 0.1069 0.1069 22.27% MLMG::oneIter() 36 0.1053 0.1053 0.1053 21.95% MLMG::mgVcycle() 36 0.1038 0.1038 0.1038 21.63% MLCellLinOp::smooth() 720 0.05046 0.05046 0.05046 10.52% Amr::init() 1 0.0504 0.0504 0.0504 10.51% Amr::restart() 1 0.0504 0.0504 0.0504 10.51% MLCellLinOp::applyBC() 1946 0.04734 0.04734 0.04734 9.87% AmrLevel::restart() 1 0.03906 0.03906 0.03906 8.14% StateData::restartDoit() 4 0.03898 0.03898 0.03898 8.13% VisMF::Read() 3 0.03871 0.03871 0.03871 8.07% MLMG::mgVcycle_bottom 36 0.03246 0.03246 0.03246 6.77% MLMG::actualBottomSolve() 36 0.03245 0.03245 0.03245 6.76% MLCGSolver::bicgstab 36 0.03213 0.03213 0.03213 6.70% VisMF::Write(FabArray) 1 0.02757 0.02757 0.02757 5.75% Castro::clean_state() 30 0.02625 0.02625 0.02625 5.47% AmrLevel::FillPatch() 20 0.02467 0.02467 0.02467 5.14% FillPatchIterator::Initialize 20 0.02259 0.02259 0.02259 4.71% FillPatchIterator::FillFromLevel0() 20 0.02181 0.02181 0.02181 4.55% FillPatchSingleLevel 20 0.02178 0.02178 0.02178 4.54% StateDataPhysBCFunct::() 20 0.01972 0.01972 0.01972 4.11% MLCellLinOp::apply() 500 0.01605 0.01605 0.01605 3.35% StateData::FillBoundary(geom) 160 0.01575 0.01575 0.01575 3.28% MLMG::mgVcycle_down::0 36 0.01445 0.01445 0.01445 3.01% MLPoisson::Fsmooth() 1440 0.01415 0.01415 0.01415 2.95% FabArray::FillBoundary() 1766 0.01348 0.01348 0.01348 2.81% FillBoundary_nowait() 1766 0.01311 0.01311 0.01311 2.73% MLMG::mgVcycle_up::0 36 0.01087 0.01087 0.01087 2.27% Castro::initialize_do_advance() 5 0.01055 0.01055 0.01055 2.20% Castro::do_old_sources() 5 0.01021 0.01021 0.01021 2.13% Castro::computeTemp() 30 0.01001 0.01001 0.01001 2.09% Castro::normalize_species() 30 0.009979 0.009979 0.009979 2.08% MLCellLinOp::correctionResidual() 216 0.009647 0.009647 0.009647 2.01% MLPoisson::define() 6 0.00927 0.00927 0.00927 1.93% amrex::Dot() 484 0.008944 0.008944 0.008944 1.86% Castro::construct_old_gravity() 5 0.008811 0.008811 0.008811 1.84% Gravity::get_old_grav_vector() 5 0.008804 0.008804 0.008804 1.84% MLMG:computeResOfCorrection() 180 0.00848 0.00848 0.00848 1.77% Gravity::get_new_grav_vector() 5 0.008316 0.008316 0.008316 1.73% Castro::do_new_sources() 5 0.007306 0.007306 0.007306 1.52% amrex::Copy() 463 0.007222 0.007222 0.007222 1.51% MLMG::mgVcycle_down::1 36 0.007078 0.007078 0.007078 1.48% FabArray::ParallelCopy() 380 0.006594 0.006594 0.006594 1.37% FabArray::setVal() 537 0.006556 0.006556 0.006556 1.37% FabArray::ParallelCopy_nowait() 380 0.006473 0.006473 0.006473 1.35% Castro::initialize_advance() 5 0.006463 0.006463 0.006463 1.35% MLMG::mgVcycle_down::2 36 0.006446 0.006446 0.006446 1.34% Castro::post_restart() 1 0.006413 0.006413 0.006413 1.34% MLCellLinOp::defineAuxData() 6 0.006345 0.006345 0.006345 1.32% FabArray::norminf() 326 0.006312 0.006312 0.006312 1.32% MLMG::mgVcycle_down::3 36 0.006284 0.006284 0.006284 1.31% MLMG::mgVcycle_down::4 36 0.006212 0.006212 0.006212 1.29% Gravity::multilevel_solve_for_new_phi() 1 0.00604 0.00604 0.00604 1.26% Gravity::actual_multilevel_solve() 1 0.006024 0.006024 0.006024 1.26% Castro::enforce_min_density() 30 0.005768 0.005768 0.005768 1.20% Castro::expand_state() 5 0.00572 0.00572 0.00572 1.19% Gravity::fill_multipole_BCs() 6 0.00547 0.00547 0.00547 1.14% MLCGSolver::ParallelAllReduce 659 0.005411 0.005411 0.005411 1.13% MLMG::addInterpCorrection() 180 0.005357 0.005357 0.005357 1.12% MLMG::mgVcycle_up::4 36 0.005075 0.005075 0.005075 1.06% MLMG::mgVcycle_up::1 36 0.005028 0.005028 0.005028 1.05% amrex::average_down 180 0.005009 0.005009 0.005009 1.04% MLMG::mgVcycle_up::2 36 0.004943 0.004943 0.004943 1.03% Castro::post_timestep() 5 0.004941 0.004941 0.004941 1.03% MLMG::mgVcycle_up::3 36 0.004833 0.004833 0.004833 1.01% MLPoisson::Fapply() 500 0.00455 0.00455 0.00455 0.95% FabArray::Saxpy() 355 0.003742 0.003742 0.003742 0.78% FabArray::Xpay() 361 0.003565 0.003565 0.003565 0.74% MLCellLinOp::solutionResidual() 42 0.003468 0.003468 0.003468 0.72% Castro::estTimeStep() 10 0.003288 0.003288 0.003288 0.69% Castro::reset_internal_energy(MultiFab) 30 0.003065 0.003065 0.003065 0.64% MLMG::prepareForSolve() 6 0.002799 0.002799 0.002799 0.58% MLCellLinOp::defineBC() 6 0.002779 0.002779 0.002779 0.58% MLMG::computeResidual() 36 0.002695 0.002695 0.002695 0.56% BndryData::define() 6 0.002661 0.002661 0.002661 0.55% Castro::computeNewDt() 5 0.002252 0.002252 0.002252 0.47% FabArray::LinComb() 242 0.002237 0.002237 0.002237 0.47% amrex::Add() 72 0.001878 0.001878 0.001878 0.39% Castro::construct_new_source() 25 0.001864 0.001864 0.001864 0.39% Castro::construct_new_gravity_source() 5 0.001764 0.001764 0.001764 0.37% Castro::construct_old_source() 25 0.001591 0.001591 0.001591 0.33% Castro::construct_old_gravity_source() 5 0.001535 0.001535 0.001535 0.32% Castro::finalize_do_advance() 5 0.001088 0.001088 0.001088 0.23% MLMG::ResNormInf() 42 0.0009922 0.0009922 0.0009922 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009758 0.0009758 0.0009758 0.20% Castro::apply_source_to_state() 10 0.0009682 0.0009682 0.0009682 0.20% Castro::reset_internal_energy(Fab) 240 0.0009057 0.0009057 0.0009057 0.19% MLMG::getGradSolution() 6 0.0008756 0.0008756 0.0008756 0.18% MLCellLinOp::compGrad() 6 0.0008678 0.0008678 0.0008678 0.18% check_for_negative_density() 5 0.0008237 0.0008237 0.0008237 0.17% FabArrayBase::getCPC() 632 0.0008006 0.0008006 0.0008006 0.17% MLCellLinOp::setLevelBC() 6 0.0007962 0.0007962 0.0007962 0.17% MLMG::computeMLResidual() 6 0.000792 0.000792 0.000792 0.17% MLPoisson::prepareForSolve() 6 0.0007313 0.0007313 0.0007313 0.15% MLCellLinOp::prepareForSolve() 6 0.0007269 0.0007269 0.0007269 0.15% Gravity::update_max_rhs() 6 0.0007262 0.0007262 0.0007262 0.15% FabArray::mult() 22 0.0006891 0.0006891 0.0006891 0.14% Castro::check_for_nan() 10 0.0006731 0.0006731 0.0006731 0.14% FabArray::setDomainBndry() 20 0.000671 0.000671 0.000671 0.14% MultiFab::contains_nan() 10 0.0006667 0.0006667 0.0006667 0.14% Castro::enforce_speed_limit() 30 0.0004596 0.0004596 0.0004596 0.10% FabArrayBase::CPC::define() 244 0.0004331 0.0004331 0.0004331 0.09% Amr::InitAmr() 1 0.0004183 0.0004183 0.0004183 0.09% FabArrayBase::getFB() 1766 0.0003336 0.0003336 0.0003336 0.07% Castro::finalize_advance() 5 0.0003241 0.0003241 0.0003241 0.07% Gravity::swapTimeLevels() 5 0.0002347 0.0002347 0.0002347 0.05% MultiFab::max() 6 0.0002087 0.0002087 0.0002087 0.04% MLMG::MLResNormInf() 6 0.0001899 0.0001899 0.0001899 0.04% Castro::buildMetrics() 1 0.0001581 0.0001581 0.0001581 0.03% MLLinOp::define() 6 0.0001325 0.0001325 0.0001325 0.03% MLLinOp::defineGrids() 6 0.0001232 0.0001232 0.0001232 0.03% MLMG::MLRhsNormInf() 6 0.0001187 0.0001187 0.0001187 0.02% Amr::writeSmallPlotFile() 1 0.0001169 0.0001169 0.0001169 0.02% Castro::create_source_corrector() 5 8.644e-05 8.644e-05 8.644e-05 0.02% FabArrayBase::FB::FB() 26 6.188e-05 6.188e-05 6.188e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.827e-05 2.827e-05 2.827e-05 0.01% Castro::initMFs() 1 2.66e-05 2.66e-05 2.66e-05 0.01% Castro::swap_state_time_levels() 5 2.433e-05 2.433e-05 2.433e-05 0.01% makeSFC 30 2e-05 2e-05 2e-05 0.00% DistributionMapping::Distribute() 31 9.204e-06 9.204e-06 9.204e-06 0.00% Amr::initSubcycle() 1 8.866e-06 8.866e-06 8.866e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.474e-06 4.474e-06 4.474e-06 0.00% Castro::retry_advance_ctu() 5 3.407e-06 3.407e-06 3.407e-06 0.00% Castro::FluxRegCrseInit 5 2.201e-06 2.201e-06 2.201e-06 0.00% Gravity::set_mass_offset() 6 2.055e-06 2.055e-06 2.055e-06 0.00% Castro::FluxRegFineAdd() 5 1.506e-06 1.506e-06 1.506e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.077e-06 1.077e-06 1.077e-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 171 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 120 MiB 692 MiB Castro::initMFs() 48 48 61 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 983 KiB 39 MiB Castro::initialize_do_advance() 40 40 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1699 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6874 KiB 14 MiB MLMG::prepareForSolve() 361 361 2885 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 190 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6862 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3002 B 2048 KiB Gravity::solve_for_phi() 40 40 529 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 265 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 170 KiB 671 KiB Castro::estTimeStep() 10 10 3263 B 480 KiB VisMF::Write(FabArray) 112 112 1147 B 320 KiB Castro::normalize_species() 30 30 6770 B 320 KiB amrex::average_down 469 469 1056 B 257 KiB MLMG::addInterpCorrection() 468 468 950 B 257 KiB amrex::Dot() 592 592 2735 B 160 KiB FabArray::norminf() 398 398 1937 B 160 KiB check_for_negative_density() 5 5 272 B 160 KiB MultiFab::max() 6 6 67 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 2795 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 40 B 10 KiB FillBoundary_nowait() 336 336 230 B 9648 B MLCellLinOp::applyBC() 3892 3892 182 B 9344 B amrex::Copy() 56 56 5792 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 32 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 97 B 1472 B MLCellLinOp::defineBC() 36 36 298 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1080 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 74 KiB 8192 KiB VisMF::Write(FabArray) 120 120 165 KiB 3584 KiB VisMF::Read() 24 24 156 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2795 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 231 B 9648 B MLCellLinOp::applyBC() 1946 1946 181 B 9328 B amrex::Copy() 56 56 5792 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2701 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 33 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 484 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 20 B 400 B FabArray::norminf() 398 398 14 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.09-4-gf3598d2f7b6b) finalized