Initializing AMReX (24.01-1-gf1ec8df75c56)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-1-gf1ec8df75c56) initialized Starting run at 09:34:39 UTC on 2024-01-05. Successfully read inputs file ... Castro git describe: 24.01-2-g3e624f0de AMReX git describe: 24.01-1-gf1ec8df75 Microphysics git describe: 24.01-5-g3700590c 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.044642256 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024921325 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.063693843 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.04976668 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.079080306 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.081020842 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.062715755 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.052623672 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.062908349 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.075073222 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.070546148 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.057974956 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.06856829 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.042261869 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02448478 seconds Ending run at 09:34:40 UTC on 2024-01-05. Run time = 0.913290204 Run time without initialization = 0.791440331 Average number of zones advanced per microsecond: 3.312 Average number of zones advanced per microsecond per rank: 3.312 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9133 ... 0.9133 ... 0.9133 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2897 0.2897 0.2897 31.72% VisMF::Write(FabArray) 11 0.18 0.18 0.18 19.71% MLCellLinOp::applyBC() 4298 0.08008 0.08008 0.08008 8.77% MLPoisson::Fsmooth() 3240 0.03389 0.03389 0.03389 3.71% FillBoundary_nowait() 3893 0.03005 0.03005 0.03005 3.29% StateData::FillBoundary(geom) 328 0.02723 0.02723 0.02723 2.98% amrex::Dot() 1100 0.02161 0.02161 0.02161 2.37% Castro::normalize_species() 62 0.02043 0.02043 0.02043 2.24% FabArray::norminf() 1048 0.01985 0.01985 0.01985 2.17% Castro::computeTemp() 63 0.01494 0.01494 0.01494 1.64% FabArray::ParallelCopy_nowait() 851 0.01351 0.01351 0.01351 1.48% FabArray::setVal() 1054 0.01319 0.01319 0.01319 1.44% FabArray::Saxpy() 1353 0.01315 0.01315 0.01315 1.44% StateDataPhysBCFunct::() 41 0.01096 0.01096 0.01096 1.20% amrex::Copy() 469 0.01079 0.01079 0.01079 1.18% Castro::enforce_min_density() 62 0.01074 0.01074 0.01074 1.18% MLCellLinOp::defineAuxData() 11 0.01053 0.01053 0.01053 1.15% MLPoisson::Fapply() 1047 0.01025 0.01025 0.01025 1.12% Gravity::fill_multipole_BCs() 11 0.009284 0.009284 0.009284 1.02% FabArray::Xpay() 730 0.007775 0.007775 0.007775 0.85% amrex::Add() 81 0.007447 0.007447 0.007447 0.82% MLMG::addInterpCorrection() 405 0.007002 0.007002 0.007002 0.77% amrex::average_down 405 0.006294 0.006294 0.006294 0.69% Amr::checkPoint() 3 0.006268 0.006268 0.006268 0.69% Castro::estTimeStep() 21 0.005787 0.005787 0.005787 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005514 0.005514 0.005514 0.60% BndryData::define() 11 0.003988 0.003988 0.003988 0.44% Castro::construct_new_gravity_source() 10 0.003369 0.003369 0.003369 0.37% Castro::construct_old_gravity_source() 10 0.002922 0.002922 0.002922 0.32% Castro::enforce_speed_limit() 62 0.00218 0.00218 0.00218 0.24% Amr::writePlotFile() 2 0.002071 0.002071 0.002071 0.23% check_for_negative_density() 10 0.001823 0.001823 0.001823 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001819 0.001819 0.001819 0.20% MLCGSolver::bicgstab 81 0.00173 0.00173 0.00173 0.19% Gravity::actual_solve_with_mlmg() 11 0.001675 0.001675 0.001675 0.18% MLCellLinOp::setLevelBC() 11 0.001626 0.001626 0.001626 0.18% Castro::reset_internal_energy(Fab) 504 0.00161 0.00161 0.00161 0.18% Castro::initData() 1 0.001529 0.001529 0.001529 0.17% FabArray::mult() 43 0.001365 0.001365 0.001365 0.15% MLCellLinOp::prepareForSolve() 11 0.001364 0.001364 0.001364 0.15% FabArray::setDomainBndry() 41 0.00136 0.00136 0.00136 0.15% MultiFab::contains_nan() 20 0.001266 0.001266 0.001266 0.14% MLCellLinOp::smooth() 1620 0.001118 0.001118 0.001118 0.12% MLCellLinOp::compGrad() 11 0.001098 0.001098 0.001098 0.12% MLMG::prepareForSolve() 11 0.0009898 0.0009898 0.0009898 0.11% FabArray::FillBoundary() 3893 0.0008708 0.0008708 0.0008708 0.10% FabArrayBase::getCPC() 1313 0.000817 0.000817 0.000817 0.09% FabArrayBase::CPC::define() 454 0.0006773 0.0006773 0.0006773 0.07% FabArrayBase::getFB() 3893 0.000614 0.000614 0.000614 0.07% Gravity::get_new_grav_vector() 11 0.0006131 0.0006131 0.0006131 0.07% Amr::InitAmr() 1 0.0005765 0.0005765 0.0005765 0.06% Gravity::get_old_grav_vector() 10 0.0004809 0.0004809 0.0004809 0.05% Amr::coarseTimeStep() 10 0.0004226 0.0004226 0.0004226 0.05% AmrLevel::FillPatch() 41 0.0004155 0.0004155 0.0004155 0.05% MLCellLinOp::apply() 1047 0.0004104 0.0004104 0.0004104 0.04% MLCGSolver::ParallelAllReduce 1809 0.000385 0.000385 0.000385 0.04% MultiFab::max() 11 0.000326 0.000326 0.000326 0.04% main() 1 0.0003126 0.0003126 0.0003126 0.03% MLCellLinOp::defineBC() 11 0.0002842 0.0002842 0.0002842 0.03% FabArray::ParallelCopy() 851 0.0002453 0.0002453 0.0002453 0.03% FillPatchIterator::Initialize 41 0.0002167 0.0002167 0.0002167 0.02% MLMG::mgVcycle() 81 0.0002079 0.0002079 0.0002079 0.02% Castro::subcycle_advance_ctu() 10 0.0002078 0.0002078 0.0002078 0.02% MLCellLinOp::correctionResidual() 405 0.0001724 0.0001724 0.0001724 0.02% MLLinOp::defineGrids() 11 0.0001717 0.0001717 0.0001717 0.02% Amr::timeStep() 10 0.0001651 0.0001651 0.0001651 0.02% Castro::create_source_corrector() 10 0.0001547 0.0001547 0.0001547 0.02% StateData::checkPoint() 12 0.0001447 0.0001447 0.0001447 0.02% Gravity::update_max_rhs() 11 0.0001353 0.0001353 0.0001353 0.01% MLMG:computeResOfCorrection() 405 0.0001208 0.0001208 0.0001208 0.01% Gravity::solve_for_phi() 10 0.000119 0.000119 0.000119 0.01% Castro::advance() 10 0.0001139 0.0001139 0.0001139 0.01% MLMG::actualBottomSolve() 81 9.202e-05 9.202e-05 9.202e-05 0.01% MLMG::mgVcycle_down::0 81 9.173e-05 9.173e-05 9.173e-05 0.01% Castro::Castro() 1 9.054e-05 9.054e-05 9.054e-05 0.01% FabArrayBase::FB::FB() 56 8.989e-05 8.989e-05 8.989e-05 0.01% AmrLevel::checkPoint() 3 8.366e-05 8.366e-05 8.366e-05 0.01% MLMG::mgVcycle_down::1 81 8.29e-05 8.29e-05 8.29e-05 0.01% Castro::do_new_sources() 10 8.268e-05 8.268e-05 8.268e-05 0.01% MLMG::mgVcycle_down::2 81 8.095e-05 8.095e-05 8.095e-05 0.01% Castro::initialize_advance() 10 7.913e-05 7.913e-05 7.913e-05 0.01% MLMG::mgVcycle_down::4 81 7.84e-05 7.84e-05 7.84e-05 0.01% Castro::enforce_consistent_e() 1 7.751e-05 7.751e-05 7.751e-05 0.01% MLMG::solve() 11 7.618e-05 7.618e-05 7.618e-05 0.01% MLMG::mgVcycle_down::3 81 7.615e-05 7.615e-05 7.615e-05 0.01% Castro::construct_new_source() 50 7.541e-05 7.541e-05 7.541e-05 0.01% Castro::clean_state() 62 7.231e-05 7.231e-05 7.231e-05 0.01% Castro::finalize_advance() 10 6.589e-05 6.589e-05 6.589e-05 0.01% MLMG::oneIter() 81 6.288e-05 6.288e-05 6.288e-05 0.01% MLMG::mgVcycle_up::4 81 6.075e-05 6.075e-05 6.075e-05 0.01% Castro::initialize_do_advance() 10 6.072e-05 6.072e-05 6.072e-05 0.01% MLCellLinOp::solutionResidual() 92 6e-05 6e-05 6e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.984e-05 5.984e-05 5.984e-05 0.01% MLMG::computeResidual() 81 5.403e-05 5.403e-05 5.403e-05 0.01% MLMG::mgVcycle_up::0 81 5.157e-05 5.157e-05 5.157e-05 0.01% MLMG::mgVcycle_up::3 81 4.841e-05 4.841e-05 4.841e-05 0.01% Castro::do_advance_ctu() 10 4.736e-05 4.736e-05 4.736e-05 0.01% Castro::finalize_do_advance() 10 4.731e-05 4.731e-05 4.731e-05 0.01% MLMG::mgVcycle_up::1 81 4.704e-05 4.704e-05 4.704e-05 0.01% MLMG::mgVcycle_up::2 81 4.584e-05 4.584e-05 4.584e-05 0.01% FillPatchSingleLevel 41 4.219e-05 4.219e-05 4.219e-05 0.00% StateData::define() 4 4.027e-05 4.027e-05 4.027e-05 0.00% MLMG::ResNormInf() 92 3.813e-05 3.813e-05 3.813e-05 0.00% Castro::swap_state_time_levels() 10 3.47e-05 3.47e-05 3.47e-05 0.00% MLMG::mgVcycle_bottom 81 3.454e-05 3.454e-05 3.454e-05 0.00% Castro::initMFs() 1 3.313e-05 3.313e-05 3.313e-05 0.00% Amr::writeSmallPlotFile() 1 3.209e-05 3.209e-05 3.209e-05 0.00% Castro::buildMetrics() 1 3.052e-05 3.052e-05 3.052e-05 0.00% Castro::construct_new_gravity() 10 2.812e-05 2.812e-05 2.812e-05 0.00% makeSFC 55 2.693e-05 2.693e-05 2.693e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.307e-05 2.307e-05 2.307e-05 0.00% Castro::do_old_sources() 10 2.268e-05 2.268e-05 2.268e-05 0.00% Amr::defBaseLevel() 1 2.229e-05 2.229e-05 2.229e-05 0.00% MLPoisson::define() 11 2.065e-05 2.065e-05 2.065e-05 0.00% Amr::FinalizeInit() 1 1.89e-05 1.89e-05 1.89e-05 0.00% Castro::construct_old_source() 50 1.888e-05 1.888e-05 1.888e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.859e-05 1.859e-05 1.859e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.708e-05 1.708e-05 1.708e-05 0.00% DistributionMapping::Distribute() 56 1.674e-05 1.674e-05 1.674e-05 0.00% MLMG::computeMLResidual() 11 1.37e-05 1.37e-05 1.37e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.343e-05 1.343e-05 1.343e-05 0.00% Castro::check_for_nan() 20 1.306e-05 1.306e-05 1.306e-05 0.00% Castro::apply_source_to_state() 20 1.256e-05 1.256e-05 1.256e-05 0.00% MLPoisson::prepareForSolve() 11 1.247e-05 1.247e-05 1.247e-05 0.00% Castro::construct_old_gravity() 10 1.168e-05 1.168e-05 1.168e-05 0.00% MLLinOp::define() 11 1.166e-05 1.166e-05 1.166e-05 0.00% Gravity::swapTimeLevels() 10 9.711e-06 9.711e-06 9.711e-06 0.00% Amr::initSubcycle() 1 9.149e-06 9.149e-06 9.149e-06 0.00% Castro::post_init() 1 9.053e-06 9.053e-06 9.053e-06 0.00% Castro::post_timestep() 10 8.99e-06 8.99e-06 8.99e-06 0.00% Gravity::actual_multilevel_solve() 1 7.98e-06 7.98e-06 7.98e-06 0.00% Castro::computeNewDt() 9 6.719e-06 6.719e-06 6.719e-06 0.00% MLMG::getGradSolution() 11 6.419e-06 6.419e-06 6.419e-06 0.00% Castro::expand_state() 10 5.834e-06 5.834e-06 5.834e-06 0.00% Amr::init() 1 5.213e-06 5.213e-06 5.213e-06 0.00% AmrLevel::checkPointPost() 3 5.095e-06 5.095e-06 5.095e-06 0.00% Amr::InitializeInit() 1 4.705e-06 4.705e-06 4.705e-06 0.00% Castro::retry_advance_ctu() 10 4.337e-06 4.337e-06 4.337e-06 0.00% Gravity::set_mass_offset() 11 4.33e-06 4.33e-06 4.33e-06 0.00% MLMG::MLRhsNormInf() 11 4.027e-06 4.027e-06 4.027e-06 0.00% MLMG::MLResNormInf() 11 3.912e-06 3.912e-06 3.912e-06 0.00% Castro::computeInitialDt() 2 3.262e-06 3.262e-06 3.262e-06 0.00% Castro::FluxRegCrseInit 10 3.133e-06 3.133e-06 3.133e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.87e-06 2.87e-06 2.87e-06 0.00% AmrLevel::checkPointPre() 3 2.473e-06 2.473e-06 2.473e-06 0.00% Castro::FluxRegFineAdd() 10 2.312e-06 2.312e-06 2.312e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.012e-06 2.012e-06 2.012e-06 0.00% Castro::post_regrid() 1 1.288e-06 1.288e-06 1.288e-06 0.00% Amr::initialInit() 1 1.118e-06 1.118e-06 1.118e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9133 0.9133 0.9133 100.00% Amr::coarseTimeStep() 10 0.7667 0.7667 0.7667 83.95% Amr::timeStep() 10 0.6681 0.6681 0.6681 73.14% Castro::advance() 10 0.6586 0.6586 0.6586 72.11% Castro::subcycle_advance_ctu() 10 0.6449 0.6449 0.6449 70.61% Castro::do_advance_ctu() 10 0.6447 0.6447 0.6447 70.58% Castro::construct_ctu_hydro_source() 10 0.3005 0.3005 0.3005 32.91% Gravity::solve_phi_with_mlmg() 11 0.2977 0.2977 0.2977 32.60% Gravity::actual_solve_with_mlmg() 11 0.288 0.288 0.288 31.53% Castro::construct_new_gravity() 10 0.2723 0.2723 0.2723 29.81% MLMG::solve() 11 0.2656 0.2656 0.2656 29.08% Gravity::solve_for_phi() 10 0.256 0.256 0.256 28.03% MLMG::oneIter() 81 0.25 0.25 0.25 27.37% MLMG::mgVcycle() 81 0.2425 0.2425 0.2425 26.55% VisMF::Write(FabArray) 11 0.18 0.18 0.18 19.71% Amr::checkPoint() 3 0.1396 0.1396 0.1396 15.29% AmrLevel::checkPoint() 3 0.1334 0.1334 0.1334 14.60% StateData::checkPoint() 12 0.1333 0.1333 0.1333 14.59% Amr::init() 1 0.1211 0.1211 0.1211 13.26% MLCellLinOp::smooth() 1620 0.1207 0.1207 0.1207 13.21% MLCellLinOp::applyBC() 4298 0.1117 0.1117 0.1117 12.23% MLMG::mgVcycle_bottom 81 0.07308 0.07308 0.07308 8.00% MLMG::actualBottomSolve() 81 0.07304 0.07304 0.07304 8.00% MLCGSolver::bicgstab 81 0.0723 0.0723 0.0723 7.92% Castro::clean_state() 62 0.05443 0.05443 0.05443 5.96% Amr::initialInit() 1 0.05145 0.05145 0.05145 5.63% Amr::writePlotFile() 2 0.04952 0.04952 0.04952 5.42% AmrLevel::FillPatch() 41 0.04818 0.04818 0.04818 5.28% Amr::FinalizeInit() 1 0.04618 0.04618 0.04618 5.06% Castro::post_init() 1 0.04464 0.04464 0.04464 4.89% FillPatchIterator::Initialize 41 0.0439 0.0439 0.0439 4.81% FillPatchIterator::FillFromLevel0() 41 0.04233 0.04233 0.04233 4.63% FillPatchSingleLevel 41 0.04227 0.04227 0.04227 4.63% Gravity::multilevel_solve_for_new_phi() 1 0.0422 0.0422 0.0422 4.62% Gravity::actual_multilevel_solve() 1 0.04218 0.04218 0.04218 4.62% StateDataPhysBCFunct::() 41 0.03819 0.03819 0.03819 4.18% MLCellLinOp::apply() 1047 0.03619 0.03619 0.03619 3.96% MLMG::mgVcycle_down::0 81 0.03411 0.03411 0.03411 3.73% MLPoisson::Fsmooth() 3240 0.03389 0.03389 0.03389 3.71% FabArray::FillBoundary() 3893 0.03162 0.03162 0.03162 3.46% FillBoundary_nowait() 3893 0.03075 0.03075 0.03075 3.37% StateData::FillBoundary(geom) 328 0.02723 0.02723 0.02723 2.98% MLMG::mgVcycle_up::0 81 0.02561 0.02561 0.02561 2.80% Castro::computeTemp() 63 0.02206 0.02206 0.02206 2.42% Castro::initialize_do_advance() 10 0.02165 0.02165 0.02165 2.37% amrex::Dot() 1100 0.02161 0.02161 0.02161 2.37% Castro::normalize_species() 62 0.02043 0.02043 0.02043 2.24% MLMG:computeResOfCorrection() 405 0.02023 0.02023 0.02023 2.22% MLCellLinOp::correctionResidual() 405 0.02011 0.02011 0.02011 2.20% FabArray::norminf() 1048 0.01985 0.01985 0.01985 2.17% Castro::do_old_sources() 10 0.0192 0.0192 0.0192 2.10% Gravity::get_new_grav_vector() 11 0.01833 0.01833 0.01833 2.01% MLPoisson::define() 11 0.01755 0.01755 0.01755 1.92% MLMG::mgVcycle_down::1 81 0.01665 0.01665 0.01665 1.82% MLMG::mgVcycle_down::2 81 0.01546 0.01546 0.01546 1.69% Castro::construct_old_gravity() 10 0.01527 0.01527 0.01527 1.67% Gravity::get_old_grav_vector() 10 0.01526 0.01526 0.01526 1.67% MLMG::mgVcycle_down::3 81 0.01508 0.01508 0.01508 1.65% MLMG::mgVcycle_down::4 81 0.01492 0.01492 0.01492 1.63% FabArray::ParallelCopy() 851 0.01458 0.01458 0.01458 1.60% FabArray::ParallelCopy_nowait() 851 0.01433 0.01433 0.01433 1.57% FabArray::setVal() 1054 0.01319 0.01319 0.01319 1.44% FabArray::Saxpy() 1353 0.01315 0.01315 0.01315 1.44% Castro::initialize_advance() 10 0.01305 0.01305 0.01305 1.43% MLCGSolver::ParallelAllReduce 1809 0.01304 0.01304 0.01304 1.43% Castro::do_new_sources() 10 0.01244 0.01244 0.01244 1.36% MLMG::addInterpCorrection() 405 0.01226 0.01226 0.01226 1.34% MLMG::mgVcycle_up::1 81 0.01203 0.01203 0.01203 1.32% MLCellLinOp::defineAuxData() 11 0.01197 0.01197 0.01197 1.31% MLMG::mgVcycle_up::4 81 0.01195 0.01195 0.01195 1.31% Castro::expand_state() 10 0.01185 0.01185 0.01185 1.30% MLMG::mgVcycle_up::2 81 0.01184 0.01184 0.01184 1.30% amrex::average_down 405 0.01158 0.01158 0.01158 1.27% MLMG::mgVcycle_up::3 81 0.01153 0.01153 0.01153 1.26% amrex::Copy() 469 0.01079 0.01079 0.01079 1.18% Castro::enforce_min_density() 62 0.01074 0.01074 0.01074 1.18% MLPoisson::Fapply() 1047 0.01025 0.01025 0.01025 1.12% Gravity::fill_multipole_BCs() 11 0.009513 0.009513 0.009513 1.04% Castro::post_timestep() 10 0.009252 0.009252 0.009252 1.01% MLCellLinOp::solutionResidual() 92 0.007817 0.007817 0.007817 0.86% FabArray::Xpay() 730 0.007775 0.007775 0.007775 0.85% amrex::Add() 81 0.007447 0.007447 0.007447 0.82% Castro::reset_internal_energy(MultiFab) 63 0.007124 0.007124 0.007124 0.78% MLMG::computeResidual() 81 0.006551 0.006551 0.006551 0.72% Castro::estTimeStep() 21 0.005787 0.005787 0.005787 0.63% MLCellLinOp::defineBC() 11 0.005319 0.005319 0.005319 0.58% Amr::InitializeInit() 1 0.005274 0.005274 0.005274 0.58% Amr::defBaseLevel() 1 0.00527 0.00527 0.00527 0.58% MLMG::prepareForSolve() 11 0.005207 0.005207 0.005207 0.57% BndryData::define() 11 0.005035 0.005035 0.005035 0.55% Castro::initData() 1 0.004586 0.004586 0.004586 0.50% Castro::construct_new_source() 50 0.003444 0.003444 0.003444 0.38% Castro::construct_new_gravity_source() 10 0.003369 0.003369 0.003369 0.37% Castro::construct_old_source() 50 0.002941 0.002941 0.002941 0.32% Castro::construct_old_gravity_source() 10 0.002922 0.002922 0.002922 0.32% Castro::computeNewDt() 9 0.00247 0.00247 0.00247 0.27% Castro::finalize_do_advance() 10 0.002293 0.002293 0.002293 0.25% MLMG::ResNormInf() 92 0.002182 0.002182 0.002182 0.24% Castro::enforce_speed_limit() 62 0.00218 0.00218 0.00218 0.24% Castro::apply_source_to_state() 20 0.001859 0.001859 0.001859 0.20% check_for_negative_density() 10 0.001823 0.001823 0.001823 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001819 0.001819 0.001819 0.20% MLCellLinOp::setLevelBC() 11 0.001626 0.001626 0.001626 0.18% Castro::reset_internal_energy(Fab) 504 0.00161 0.00161 0.00161 0.18% MLMG::getGradSolution() 11 0.001606 0.001606 0.001606 0.18% MLCellLinOp::compGrad() 11 0.0016 0.0016 0.0016 0.18% FabArrayBase::getCPC() 1313 0.001494 0.001494 0.001494 0.16% MLPoisson::prepareForSolve() 11 0.001376 0.001376 0.001376 0.15% FabArray::mult() 43 0.001365 0.001365 0.001365 0.15% MLCellLinOp::prepareForSolve() 11 0.001364 0.001364 0.001364 0.15% FabArray::setDomainBndry() 41 0.00136 0.00136 0.00136 0.15% MLMG::computeMLResidual() 11 0.001333 0.001333 0.001333 0.15% Castro::check_for_nan() 20 0.001279 0.001279 0.001279 0.14% MultiFab::contains_nan() 20 0.001266 0.001266 0.001266 0.14% Castro::post_regrid() 1 0.001234 0.001234 0.001234 0.14% Castro::computeInitialDt() 2 0.001082 0.001082 0.001082 0.12% Gravity::update_max_rhs() 11 0.0009873 0.0009873 0.0009873 0.11% FabArrayBase::getFB() 3893 0.0007039 0.0007039 0.0007039 0.08% FabArrayBase::CPC::define() 454 0.0006773 0.0006773 0.0006773 0.07% Castro::Castro() 1 0.0005988 0.0005988 0.0005988 0.07% Castro::finalize_advance() 10 0.000598 0.000598 0.000598 0.07% Amr::InitAmr() 1 0.0005856 0.0005856 0.0005856 0.06% Gravity::swapTimeLevels() 10 0.0004448 0.0004448 0.0004448 0.05% MLMG::MLResNormInf() 11 0.0003372 0.0003372 0.0003372 0.04% MultiFab::max() 11 0.000326 0.000326 0.000326 0.04% Castro::buildMetrics() 1 0.0003027 0.0003027 0.0003027 0.03% MLLinOp::define() 11 0.0002413 0.0002413 0.0002413 0.03% MLLinOp::defineGrids() 11 0.0002296 0.0002296 0.0002296 0.03% MLMG::MLRhsNormInf() 11 0.0002225 0.0002225 0.0002225 0.02% Castro::create_source_corrector() 10 0.0001547 0.0001547 0.0001547 0.02% FabArrayBase::FB::FB() 56 8.989e-05 8.989e-05 8.989e-05 0.01% Castro::enforce_consistent_e() 1 7.751e-05 7.751e-05 7.751e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.886e-05 5.886e-05 5.886e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.589e-05 5.589e-05 5.589e-05 0.01% makeSFC 55 4.246e-05 4.246e-05 4.246e-05 0.00% StateData::define() 4 4.027e-05 4.027e-05 4.027e-05 0.00% Castro::swap_state_time_levels() 10 3.47e-05 3.47e-05 3.47e-05 0.00% Castro::initMFs() 1 3.313e-05 3.313e-05 3.313e-05 0.00% Amr::writeSmallPlotFile() 1 3.209e-05 3.209e-05 3.209e-05 0.00% DistributionMapping::Distribute() 56 1.674e-05 1.674e-05 1.674e-05 0.00% Amr::initSubcycle() 1 9.149e-06 9.149e-06 9.149e-06 0.00% AmrLevel::checkPointPost() 3 5.095e-06 5.095e-06 5.095e-06 0.00% Castro::retry_advance_ctu() 10 4.337e-06 4.337e-06 4.337e-06 0.00% Gravity::set_mass_offset() 11 4.33e-06 4.33e-06 4.33e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.077e-06 4.077e-06 4.077e-06 0.00% Castro::FluxRegCrseInit 10 3.133e-06 3.133e-06 3.133e-06 0.00% AmrLevel::checkPointPre() 3 2.473e-06 2.473e-06 2.473e-06 0.00% Castro::FluxRegFineAdd() 10 2.312e-06 2.312e-06 2.312e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.012e-06 2.012e-06 2.012e-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 87 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1021 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1513 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 3576 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 208 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7514 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2083 B 2048 KiB Gravity::solve_for_phi() 80 80 573 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 94 KiB 2048 KiB BndryData::define() 1056 1056 327 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 208 KiB 671 KiB Castro::estTimeStep() 21 21 3090 B 480 KiB VisMF::Write(FabArray) 656 656 3434 B 320 KiB Castro::normalize_species() 62 62 7286 B 320 KiB amrex::average_down 1054 1054 1260 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1134 B 257 KiB amrex::Dot() 1343 1343 3493 B 160 KiB FabArray::norminf() 1129 1129 3354 B 160 KiB check_for_negative_density() 10 10 320 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 3491 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 286 B 9648 B MLCellLinOp::applyBC() 8596 8596 217 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3956 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 368 B 1248 B MLCGSolver::bicgstab 405 405 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 607 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 426 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3491 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 286 B 9648 B MLCellLinOp::applyBC() 4298 4298 215 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3956 B 6144 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 270 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 298 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 9 B 144 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): 2189 [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 (24.01-1-gf1ec8df75c56) finalized Initializing AMReX (24.01-1-gf1ec8df75c56)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-1-gf1ec8df75c56) initialized Starting run at 09:34:40 UTC on 2024-01-05. Successfully read inputs file ... Castro git describe: 24.01-2-g3e624f0de AMReX git describe: 24.01-1-gf1ec8df75 Microphysics git describe: 24.01-5-g3700590c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.510781781 Restart time = 0.069627776 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.073912678 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.05167386 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.07363641 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.085467104 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.075569374 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028416681 seconds Ending run at 09:34:41 UTC on 2024-01-05. Run time = 0.459526786 Run time without initialization = 0.389223226 Average number of zones advanced per microsecond: 3.368 Average number of zones advanced per microsecond per rank: 3.368 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4596 ... 0.4596 ... 0.4596 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1488 0.1488 0.1488 32.38% VisMF::Read() 3 0.05797 0.05797 0.05797 12.61% MLCellLinOp::applyBC() 1910 0.03804 0.03804 0.03804 8.28% VisMF::Write(FabArray) 1 0.02576 0.02576 0.02576 5.60% MLPoisson::Fsmooth() 1440 0.01556 0.01556 0.01556 3.39% StateData::FillBoundary(geom) 160 0.01456 0.01456 0.01456 3.17% FabArray::norminf() 465 0.0143 0.0143 0.0143 3.11% FillBoundary_nowait() 1730 0.01322 0.01322 0.01322 2.88% Castro::normalize_species() 30 0.01037 0.01037 0.01037 2.26% amrex::Dot() 484 0.01026 0.01026 0.01026 2.23% Castro::computeTemp() 30 0.007434 0.007434 0.007434 1.62% FabArray::setVal() 501 0.006839 0.006839 0.006839 1.49% FabArray::ParallelCopy_nowait() 380 0.006506 0.006506 0.006506 1.42% Castro::enforce_min_density() 30 0.006453 0.006453 0.006453 1.40% FabArray::Saxpy() 597 0.006116 0.006116 0.006116 1.33% MLCellLinOp::defineAuxData() 6 0.006085 0.006085 0.006085 1.32% Gravity::fill_multipole_BCs() 6 0.006057 0.006057 0.006057 1.32% amrex::Copy() 221 0.005587 0.005587 0.005587 1.22% StateDataPhysBCFunct::() 20 0.005467 0.005467 0.005467 1.19% Amr::restart() 1 0.004697 0.004697 0.004697 1.02% MLPoisson::Fapply() 464 0.004678 0.004678 0.004678 1.02% FabArray::Xpay() 325 0.003564 0.003564 0.003564 0.78% MLMG::addInterpCorrection() 180 0.003396 0.003396 0.003396 0.74% amrex::average_down 180 0.00294 0.00294 0.00294 0.64% Castro::estTimeStep() 10 0.002922 0.002922 0.002922 0.64% Amr::writePlotFile() 1 0.002501 0.002501 0.002501 0.54% BndryData::define() 6 0.002326 0.002326 0.002326 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002099 0.002099 0.002099 0.46% Castro::construct_new_gravity_source() 5 0.001913 0.001913 0.001913 0.42% amrex::Add() 36 0.001539 0.001539 0.001539 0.33% Castro::construct_old_gravity_source() 5 0.001536 0.001536 0.001536 0.33% check_for_negative_density() 5 0.001474 0.001474 0.001474 0.32% Gravity::actual_solve_with_mlmg() 6 0.001097 0.001097 0.001097 0.24% Castro::enforce_speed_limit() 30 0.001073 0.001073 0.001073 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001059 0.001059 0.001059 0.23% MLCellLinOp::setLevelBC() 6 0.0009263 0.0009263 0.0009263 0.20% MLCGSolver::bicgstab 36 0.0009172 0.0009172 0.0009172 0.20% MLCellLinOp::prepareForSolve() 6 0.0008364 0.0008364 0.0008364 0.18% Castro::reset_internal_energy(Fab) 240 0.0008058 0.0008058 0.0008058 0.18% FabArray::setDomainBndry() 20 0.0007323 0.0007323 0.0007323 0.16% FabArray::mult() 22 0.0007221 0.0007221 0.0007221 0.16% MLCellLinOp::compGrad() 6 0.0006987 0.0006987 0.0006987 0.15% MultiFab::contains_nan() 10 0.0006894 0.0006894 0.0006894 0.15% MLMG::prepareForSolve() 6 0.0006303 0.0006303 0.0006303 0.14% MLCellLinOp::smooth() 720 0.0005678 0.0005678 0.0005678 0.12% Amr::InitAmr() 1 0.0004914 0.0004914 0.0004914 0.11% FabArrayBase::CPC::define() 244 0.0004552 0.0004552 0.0004552 0.10% FabArrayBase::getCPC() 632 0.0004414 0.0004414 0.0004414 0.10% Gravity::get_new_grav_vector() 5 0.00044 0.00044 0.00044 0.10% FabArray::FillBoundary() 1730 0.000426 0.000426 0.000426 0.09% Gravity::get_old_grav_vector() 5 0.0003898 0.0003898 0.0003898 0.08% main() 1 0.0003236 0.0003236 0.0003236 0.07% FabArrayBase::getFB() 1730 0.0003002 0.0003002 0.0003002 0.07% Amr::coarseTimeStep() 5 0.0002365 0.0002365 0.0002365 0.05% AmrLevel::FillPatch() 20 0.0002153 0.0002153 0.0002153 0.05% MultiFab::max() 6 0.0002152 0.0002152 0.0002152 0.05% MLCellLinOp::apply() 464 0.000204 0.000204 0.000204 0.04% MLCGSolver::ParallelAllReduce 798 0.0001903 0.0001903 0.0001903 0.04% Castro::clean_state() 30 0.0001807 0.0001807 0.0001807 0.04% MLCellLinOp::defineBC() 6 0.0001751 0.0001751 0.0001751 0.04% Amr::timeStep() 5 0.0001535 0.0001535 0.0001535 0.03% Castro::subcycle_advance_ctu() 5 0.0001345 0.0001345 0.0001345 0.03% MLLinOp::defineGrids() 6 0.0001343 0.0001343 0.0001343 0.03% FillPatchIterator::Initialize 20 0.0001316 0.0001316 0.0001316 0.03% Castro::create_source_corrector() 5 0.0001225 0.0001225 0.0001225 0.03% Gravity::update_max_rhs() 6 0.0001225 0.0001225 0.0001225 0.03% FabArray::ParallelCopy() 380 0.0001166 0.0001166 0.0001166 0.03% MLMG::mgVcycle() 36 0.0001152 0.0001152 0.0001152 0.03% Castro::construct_new_source() 25 0.0001129 0.0001129 0.0001129 0.02% Castro::initialize_advance() 5 9.643e-05 9.643e-05 9.643e-05 0.02% Gravity::solve_for_phi() 5 9.633e-05 9.633e-05 9.633e-05 0.02% MLCellLinOp::correctionResidual() 180 8.656e-05 8.656e-05 8.656e-05 0.02% AmrLevel::restart() 1 7.71e-05 7.71e-05 7.71e-05 0.02% Castro::finalize_do_advance() 5 7.706e-05 7.706e-05 7.706e-05 0.02% Castro::initialize_do_advance() 5 7.505e-05 7.505e-05 7.505e-05 0.02% FabArrayBase::FB::FB() 26 6.787e-05 6.787e-05 6.787e-05 0.01% StateData::restartDoit() 4 6.562e-05 6.562e-05 6.562e-05 0.01% Castro::do_advance_ctu() 5 6.038e-05 6.038e-05 6.038e-05 0.01% MLMG::mgVcycle_down::0 36 5.5e-05 5.5e-05 5.5e-05 0.01% MLMG:computeResOfCorrection() 180 5.365e-05 5.365e-05 5.365e-05 0.01% MLMG::solve() 6 5.107e-05 5.107e-05 5.107e-05 0.01% MLMG::actualBottomSolve() 36 4.87e-05 4.87e-05 4.87e-05 0.01% Castro::finalize_advance() 5 4.649e-05 4.649e-05 4.649e-05 0.01% MLMG::mgVcycle_down::1 36 4.455e-05 4.455e-05 4.455e-05 0.01% MLMG::mgVcycle_down::2 36 4.188e-05 4.188e-05 4.188e-05 0.01% Castro::do_new_sources() 5 3.99e-05 3.99e-05 3.99e-05 0.01% Castro::advance() 5 3.839e-05 3.839e-05 3.839e-05 0.01% MLMG::mgVcycle_down::4 36 3.826e-05 3.826e-05 3.826e-05 0.01% MLMG::mgVcycle_down::3 36 3.75e-05 3.75e-05 3.75e-05 0.01% Castro::post_timestep() 5 3.599e-05 3.599e-05 3.599e-05 0.01% MLMG::mgVcycle_up::4 36 3.494e-05 3.494e-05 3.494e-05 0.01% Castro::construct_old_source() 25 3.401e-05 3.401e-05 3.401e-05 0.01% MLMG::oneIter() 36 3.268e-05 3.268e-05 3.268e-05 0.01% Castro::post_restart() 1 3.224e-05 3.224e-05 3.224e-05 0.01% Amr::writeSmallPlotFile() 1 3.174e-05 3.174e-05 3.174e-05 0.01% MLCellLinOp::solutionResidual() 42 2.958e-05 2.958e-05 2.958e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.946e-05 2.946e-05 2.946e-05 0.01% Castro::buildMetrics() 1 2.923e-05 2.923e-05 2.923e-05 0.01% MLMG::mgVcycle_up::3 36 2.714e-05 2.714e-05 2.714e-05 0.01% Castro::construct_new_gravity() 5 2.597e-05 2.597e-05 2.597e-05 0.01% Castro::swap_state_time_levels() 5 2.584e-05 2.584e-05 2.584e-05 0.01% Castro::initMFs() 1 2.582e-05 2.582e-05 2.582e-05 0.01% MLMG::mgVcycle_up::1 36 2.468e-05 2.468e-05 2.468e-05 0.01% MLMG::mgVcycle_up::2 36 2.354e-05 2.354e-05 2.354e-05 0.01% MLMG::ResNormInf() 42 2.325e-05 2.325e-05 2.325e-05 0.01% MLMG::mgVcycle_up::0 36 2.292e-05 2.292e-05 2.292e-05 0.00% FillPatchSingleLevel 20 2.165e-05 2.165e-05 2.165e-05 0.00% MLMG::computeResidual() 36 2.088e-05 2.088e-05 2.088e-05 0.00% MLMG::computeMLResidual() 6 2.033e-05 2.033e-05 2.033e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.881e-05 1.881e-05 1.881e-05 0.00% MLMG::mgVcycle_bottom 36 1.862e-05 1.862e-05 1.862e-05 0.00% MLPoisson::define() 6 1.828e-05 1.828e-05 1.828e-05 0.00% makeSFC 30 1.771e-05 1.771e-05 1.771e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.655e-05 1.655e-05 1.655e-05 0.00% Castro::do_old_sources() 5 1.515e-05 1.515e-05 1.515e-05 0.00% DistributionMapping::Distribute() 31 1.267e-05 1.267e-05 1.267e-05 0.00% Amr::initSubcycle() 1 1.205e-05 1.205e-05 1.205e-05 0.00% MLPoisson::prepareForSolve() 6 1.155e-05 1.155e-05 1.155e-05 0.00% MLLinOp::define() 6 1.127e-05 1.127e-05 1.127e-05 0.00% Castro::apply_source_to_state() 10 8.867e-06 8.867e-06 8.867e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.599e-06 8.599e-06 8.599e-06 0.00% Castro::construct_old_gravity() 5 8.284e-06 8.284e-06 8.284e-06 0.00% Gravity::actual_multilevel_solve() 1 8.063e-06 8.063e-06 8.063e-06 0.00% Castro::check_for_nan() 10 8.038e-06 8.038e-06 8.038e-06 0.00% Gravity::swapTimeLevels() 5 5.756e-06 5.756e-06 5.756e-06 0.00% Castro::computeNewDt() 5 4.289e-06 4.289e-06 4.289e-06 0.00% MLMG::getGradSolution() 6 4.067e-06 4.067e-06 4.067e-06 0.00% Castro::expand_state() 5 3.709e-06 3.709e-06 3.709e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.286e-06 3.286e-06 3.286e-06 0.00% Gravity::set_mass_offset() 6 3.055e-06 3.055e-06 3.055e-06 0.00% Castro::retry_advance_ctu() 5 2.946e-06 2.946e-06 2.946e-06 0.00% MLMG::MLResNormInf() 6 2.772e-06 2.772e-06 2.772e-06 0.00% MLMG::MLRhsNormInf() 6 2.568e-06 2.568e-06 2.568e-06 0.00% Castro::FluxRegCrseInit 5 1.877e-06 1.877e-06 1.877e-06 0.00% Castro::FluxRegFineAdd() 5 1.436e-06 1.436e-06 1.436e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.361e-06 1.361e-06 1.361e-06 0.00% Amr::init() 1 1.125e-06 1.125e-06 1.125e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4595 0.4595 0.4595 100.00% Amr::coarseTimeStep() 5 0.3605 0.3605 0.3605 78.44% Amr::timeStep() 5 0.3585 0.3585 0.3585 78.00% Castro::advance() 5 0.3528 0.3528 0.3528 76.77% Castro::subcycle_advance_ctu() 5 0.3459 0.3459 0.3459 75.26% Castro::do_advance_ctu() 5 0.3457 0.3457 0.3457 75.23% Castro::construct_ctu_hydro_source() 5 0.155 0.155 0.155 33.72% Castro::construct_new_gravity() 5 0.151 0.151 0.151 32.87% Gravity::solve_phi_with_mlmg() 6 0.1474 0.1474 0.1474 32.07% Gravity::solve_for_phi() 5 0.1416 0.1416 0.1416 30.81% Gravity::actual_solve_with_mlmg() 6 0.141 0.141 0.141 30.69% MLMG::solve() 6 0.1277 0.1277 0.1277 27.80% MLMG::oneIter() 36 0.1196 0.1196 0.1196 26.02% MLMG::mgVcycle() 36 0.118 0.118 0.118 25.68% Amr::init() 1 0.06968 0.06968 0.06968 15.16% Amr::restart() 1 0.06968 0.06968 0.06968 15.16% AmrLevel::restart() 1 0.05833 0.05833 0.05833 12.69% StateData::restartDoit() 4 0.05825 0.05825 0.05825 12.68% VisMF::Read() 3 0.05797 0.05797 0.05797 12.61% MLCellLinOp::smooth() 720 0.05557 0.05557 0.05557 12.09% MLCellLinOp::applyBC() 1910 0.05206 0.05206 0.05206 11.33% MLMG::mgVcycle_bottom 36 0.03962 0.03962 0.03962 8.62% MLMG::actualBottomSolve() 36 0.0396 0.0396 0.0396 8.62% MLCGSolver::bicgstab 36 0.03926 0.03926 0.03926 8.54% Amr::writePlotFile() 1 0.02852 0.02852 0.02852 6.21% Castro::clean_state() 30 0.02842 0.02842 0.02842 6.18% VisMF::Write(FabArray) 1 0.02576 0.02576 0.02576 5.60% AmrLevel::FillPatch() 20 0.02523 0.02523 0.02523 5.49% FillPatchIterator::Initialize 20 0.02309 0.02309 0.02309 5.02% FillPatchIterator::FillFromLevel0() 20 0.02223 0.02223 0.02223 4.84% FillPatchSingleLevel 20 0.0222 0.0222 0.0222 4.83% StateDataPhysBCFunct::() 20 0.02003 0.02003 0.02003 4.36% MLCellLinOp::apply() 464 0.01721 0.01721 0.01721 3.75% MLMG::mgVcycle_down::0 36 0.01559 0.01559 0.01559 3.39% MLPoisson::Fsmooth() 1440 0.01556 0.01556 0.01556 3.39% StateData::FillBoundary(geom) 160 0.01456 0.01456 0.01456 3.17% FabArray::norminf() 465 0.0143 0.0143 0.0143 3.11% FabArray::FillBoundary() 1730 0.01401 0.01401 0.01401 3.05% FillBoundary_nowait() 1730 0.01359 0.01359 0.01359 2.96% MLMG::mgVcycle_up::0 36 0.01166 0.01166 0.01166 2.54% Castro::initialize_do_advance() 5 0.01119 0.01119 0.01119 2.43% Castro::normalize_species() 30 0.01037 0.01037 0.01037 2.26% Castro::computeTemp() 30 0.01034 0.01034 0.01034 2.25% MLPoisson::define() 6 0.01029 0.01029 0.01029 2.24% amrex::Dot() 484 0.01026 0.01026 0.01026 2.23% Castro::do_old_sources() 5 0.01011 0.01011 0.01011 2.20% Gravity::get_new_grav_vector() 5 0.009314 0.009314 0.009314 2.03% MLMG:computeResOfCorrection() 180 0.009152 0.009152 0.009152 1.99% MLCellLinOp::correctionResidual() 180 0.009099 0.009099 0.009099 1.98% Castro::construct_old_gravity() 5 0.008636 0.008636 0.008636 1.88% Gravity::get_old_grav_vector() 5 0.008628 0.008628 0.008628 1.88% Castro::do_new_sources() 5 0.008013 0.008013 0.008013 1.74% MLMG::mgVcycle_down::1 36 0.007747 0.007747 0.007747 1.69% MLMG::mgVcycle_down::2 36 0.00717 0.00717 0.00717 1.56% FabArray::ParallelCopy() 380 0.00708 0.00708 0.00708 1.54% FabArray::ParallelCopy_nowait() 380 0.006963 0.006963 0.006963 1.52% MLCellLinOp::defineAuxData() 6 0.006952 0.006952 0.006952 1.51% MLMG::mgVcycle_down::3 36 0.006922 0.006922 0.006922 1.51% FabArray::setVal() 501 0.006839 0.006839 0.006839 1.49% MLMG::mgVcycle_down::4 36 0.006834 0.006834 0.006834 1.49% Castro::initialize_advance() 5 0.00659 0.00659 0.00659 1.43% Castro::post_restart() 1 0.006465 0.006465 0.006465 1.41% Castro::enforce_min_density() 30 0.006453 0.006453 0.006453 1.40% MLCGSolver::ParallelAllReduce 798 0.006218 0.006218 0.006218 1.35% Gravity::fill_multipole_BCs() 6 0.006186 0.006186 0.006186 1.35% Castro::expand_state() 5 0.006141 0.006141 0.006141 1.34% FabArray::Saxpy() 597 0.006116 0.006116 0.006116 1.33% Gravity::multilevel_solve_for_new_phi() 1 0.006075 0.006075 0.006075 1.32% Gravity::actual_multilevel_solve() 1 0.006058 0.006058 0.006058 1.32% MLMG::addInterpCorrection() 180 0.005887 0.005887 0.005887 1.28% MLMG::mgVcycle_up::1 36 0.005788 0.005788 0.005788 1.26% MLMG::mgVcycle_up::4 36 0.005667 0.005667 0.005667 1.23% amrex::Copy() 221 0.005587 0.005587 0.005587 1.22% Castro::post_timestep() 5 0.005513 0.005513 0.005513 1.20% MLMG::mgVcycle_up::2 36 0.005482 0.005482 0.005482 1.19% MLMG::mgVcycle_up::3 36 0.005401 0.005401 0.005401 1.18% amrex::average_down 180 0.005379 0.005379 0.005379 1.17% MLPoisson::Fapply() 464 0.004678 0.004678 0.004678 1.02% MLCellLinOp::solutionResidual() 42 0.003857 0.003857 0.003857 0.84% FabArray::Xpay() 325 0.003564 0.003564 0.003564 0.78% MLCellLinOp::defineBC() 6 0.003132 0.003132 0.003132 0.68% MLMG::prepareForSolve() 6 0.003074 0.003074 0.003074 0.67% MLMG::computeResidual() 36 0.002961 0.002961 0.002961 0.64% BndryData::define() 6 0.002957 0.002957 0.002957 0.64% Castro::estTimeStep() 10 0.002922 0.002922 0.002922 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002905 0.002905 0.002905 0.63% Castro::construct_new_source() 25 0.002026 0.002026 0.002026 0.44% Castro::construct_new_gravity_source() 5 0.001913 0.001913 0.001913 0.42% Castro::computeNewDt() 5 0.001769 0.001769 0.001769 0.38% Castro::construct_old_source() 25 0.00157 0.00157 0.00157 0.34% amrex::Add() 36 0.001539 0.001539 0.001539 0.33% Castro::construct_old_gravity_source() 5 0.001536 0.001536 0.001536 0.33% check_for_negative_density() 5 0.001474 0.001474 0.001474 0.32% Castro::finalize_do_advance() 5 0.001234 0.001234 0.001234 0.27% Castro::enforce_speed_limit() 30 0.001073 0.001073 0.001073 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001059 0.001059 0.001059 0.23% MLMG::ResNormInf() 42 0.001038 0.001038 0.001038 0.23% MLMG::getGradSolution() 6 0.0009883 0.0009883 0.0009883 0.22% MLCellLinOp::compGrad() 6 0.0009843 0.0009843 0.0009843 0.21% Castro::apply_source_to_state() 10 0.0009785 0.0009785 0.0009785 0.21% MLMG::computeMLResidual() 6 0.0009368 0.0009368 0.0009368 0.20% MLCellLinOp::setLevelBC() 6 0.0009263 0.0009263 0.0009263 0.20% FabArrayBase::getCPC() 632 0.0008966 0.0008966 0.0008966 0.20% MLPoisson::prepareForSolve() 6 0.000848 0.000848 0.000848 0.18% MLCellLinOp::prepareForSolve() 6 0.0008364 0.0008364 0.0008364 0.18% Castro::reset_internal_energy(Fab) 240 0.0008058 0.0008058 0.0008058 0.18% Gravity::update_max_rhs() 6 0.0007992 0.0007992 0.0007992 0.17% FabArray::setDomainBndry() 20 0.0007323 0.0007323 0.0007323 0.16% FabArray::mult() 22 0.0007221 0.0007221 0.0007221 0.16% Castro::check_for_nan() 10 0.0006975 0.0006975 0.0006975 0.15% MultiFab::contains_nan() 10 0.0006894 0.0006894 0.0006894 0.15% Amr::InitAmr() 1 0.0005034 0.0005034 0.0005034 0.11% FabArrayBase::CPC::define() 244 0.0004552 0.0004552 0.0004552 0.10% FabArrayBase::getFB() 1730 0.0003681 0.0003681 0.0003681 0.08% Castro::finalize_advance() 5 0.0003275 0.0003275 0.0003275 0.07% Gravity::swapTimeLevels() 5 0.0002386 0.0002386 0.0002386 0.05% MultiFab::max() 6 0.0002152 0.0002152 0.0002152 0.05% MLMG::MLResNormInf() 6 0.0002018 0.0002018 0.0002018 0.04% MLLinOp::define() 6 0.0001846 0.0001846 0.0001846 0.04% MLLinOp::defineGrids() 6 0.0001733 0.0001733 0.0001733 0.04% Castro::buildMetrics() 1 0.0001543 0.0001543 0.0001543 0.03% Castro::create_source_corrector() 5 0.0001225 0.0001225 0.0001225 0.03% MLMG::MLRhsNormInf() 6 0.0001207 0.0001207 0.0001207 0.03% FabArrayBase::FB::FB() 26 6.787e-05 6.787e-05 6.787e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.769e-05 3.769e-05 3.769e-05 0.01% Amr::writeSmallPlotFile() 1 3.174e-05 3.174e-05 3.174e-05 0.01% makeSFC 30 2.909e-05 2.909e-05 2.909e-05 0.01% Castro::swap_state_time_levels() 5 2.584e-05 2.584e-05 2.584e-05 0.01% Castro::initMFs() 1 2.582e-05 2.582e-05 2.582e-05 0.01% DistributionMapping::Distribute() 31 1.267e-05 1.267e-05 1.267e-05 0.00% Amr::initSubcycle() 1 1.205e-05 1.205e-05 1.205e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.58e-06 4.58e-06 4.58e-06 0.00% Gravity::set_mass_offset() 6 3.055e-06 3.055e-06 3.055e-06 0.00% Castro::retry_advance_ctu() 5 2.946e-06 2.946e-06 2.946e-06 0.00% Castro::FluxRegCrseInit 5 1.877e-06 1.877e-06 1.877e-06 0.00% Castro::FluxRegFineAdd() 5 1.436e-06 1.436e-06 1.436e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.361e-06 1.361e-06 1.361e-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 175 MiB 9042 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1053 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1653 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6526 KiB 14 MiB MLMG::prepareForSolve() 361 361 3413 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 194 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 207 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6513 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3231 B 2048 KiB Gravity::solve_for_phi() 40 40 629 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 201 KiB 671 KiB Castro::estTimeStep() 10 10 3033 B 480 KiB VisMF::Write(FabArray) 112 112 2216 B 320 KiB Castro::normalize_species() 30 30 7339 B 320 KiB amrex::average_down 469 469 1129 B 257 KiB MLMG::addInterpCorrection() 468 468 1063 B 257 KiB amrex::Dot() 592 592 3292 B 160 KiB FabArray::norminf() 501 501 4882 B 160 KiB check_for_negative_density() 5 5 510 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3311 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 244 B 9648 B MLCellLinOp::applyBC() 3820 3820 199 B 9344 B amrex::Copy() 56 56 5672 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 353 B 1248 B MLCGSolver::bicgstab 180 180 103 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1127 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 78 KiB 8192 KiB VisMF::Write(FabArray) 120 120 147 KiB 3584 KiB VisMF::Read() 24 24 192 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3311 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 244 B 9648 B MLCellLinOp::applyBC() 1910 1910 198 B 9328 B amrex::Copy() 56 56 5672 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2560 B 3072 B StateData::FillBoundary(geom) 960 960 37 B 3024 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 515 B 1296 B amrex::average_down 37 37 206 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 27 B 400 B FabArray::norminf() 501 501 10 B 144 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): 2189 [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 (24.01-1-gf1ec8df75c56) finalized