Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-44-g49dd703558c5) initialized Starting run at 07:24:31 UTC on 2023-07-27. Successfully read inputs file ... Castro git describe: 23.07-20-g4174f17eb AMReX git describe: 23.07-44-g49dd70355 Microphysics git describe: 23.07-48-g588beb9c 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.058128315 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033113581 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.045845443 [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.067666189 [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.072236101 [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.06381705 [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.055041465 [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.057545858 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.065445439 [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.076536778 [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.063736167 [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.05458623 [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.058619122 [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.05756373 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033260171 seconds Ending run at 07:24:32 UTC on 2023-07-27. Run time = 0.911302111 Run time without initialization = 0.772514648 Average number of zones advanced per microsecond: 3.393 Average number of zones advanced per microsecond per rank: 3.393 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9113 ... 0.9113 ... 0.9113 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2727 0.2727 0.2727 29.92% VisMF::Write(FabArray) 11 0.2327 0.2327 0.2327 25.53% MLCellLinOp::applyBC() 4433 0.07456 0.07456 0.07456 8.18% FillBoundary_nowait() 4023 0.03132 0.03132 0.03132 3.44% MLPoisson::Fsmooth() 3280 0.03105 0.03105 0.03105 3.41% StateData::FillBoundary(geom) 328 0.02412 0.02412 0.02412 2.65% amrex::Dot() 1114 0.01967 0.01967 0.01967 2.16% Castro::normalize_species() 62 0.01725 0.01725 0.01725 1.89% Castro::computeTemp() 63 0.01519 0.01519 0.01519 1.67% amrex::Copy() 1029 0.01442 0.01442 0.01442 1.58% FabArray::norminf() 743 0.01378 0.01378 0.01378 1.51% FabArray::ParallelCopy_nowait() 861 0.01296 0.01296 0.01296 1.42% FabArray::setVal() 1144 0.01266 0.01266 0.01266 1.39% StateDataPhysBCFunct::() 41 0.01094 0.01094 0.01094 1.20% Castro::enforce_min_density() 62 0.01016 0.01016 0.01016 1.11% MLPoisson::Fapply() 1142 0.009917 0.009917 0.009917 1.09% MLCellLinOp::defineAuxData() 11 0.009497 0.009497 0.009497 1.04% FabArray::Saxpy() 813 0.007821 0.007821 0.007821 0.86% FabArray::Xpay() 821 0.007748 0.007748 0.007748 0.85% MLMG::addInterpCorrection() 410 0.006608 0.006608 0.006608 0.73% amrex::average_down 410 0.0058 0.0058 0.0058 0.64% Gravity::fill_multipole_BCs() 11 0.005756 0.005756 0.005756 0.63% Castro::estTimeStep() 21 0.005297 0.005297 0.005297 0.58% Castro::reset_internal_energy(MultiFab) 63 0.004877 0.004877 0.004877 0.54% FabArray::LinComb() 557 0.004309 0.004309 0.004309 0.47% amrex::Add() 164 0.004281 0.004281 0.004281 0.47% Amr::checkPoint() 3 0.004015 0.004015 0.004015 0.44% BndryData::define() 11 0.003514 0.003514 0.003514 0.39% Castro::construct_new_gravity_source() 10 0.00259 0.00259 0.00259 0.28% Amr::writePlotFile() 2 0.002402 0.002402 0.002402 0.26% Castro::construct_old_gravity_source() 10 0.002156 0.002156 0.002156 0.24% MLCGSolver::bicgstab 82 0.002099 0.002099 0.002099 0.23% Castro::enforce_speed_limit() 62 0.001638 0.001638 0.001638 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001629 0.001629 0.001629 0.18% Gravity::actual_solve_with_mlmg() 11 0.001482 0.001482 0.001482 0.16% Castro::reset_internal_energy(Fab) 504 0.001476 0.001476 0.001476 0.16% MLCellLinOp::setLevelBC() 11 0.001345 0.001345 0.001345 0.15% FabArray::mult() 43 0.001303 0.001303 0.001303 0.14% FabArray::setDomainBndry() 41 0.00128 0.00128 0.00128 0.14% Castro::initData() 1 0.001234 0.001234 0.001234 0.14% check_for_negative_density() 10 0.001216 0.001216 0.001216 0.13% MultiFab::contains_nan() 20 0.001201 0.001201 0.001201 0.13% MLCellLinOp::smooth() 1640 0.001123 0.001123 0.001123 0.12% MLCellLinOp::prepareForSolve() 11 0.00107 0.00107 0.00107 0.12% MLCellLinOp::compGrad() 11 0.0008974 0.0008974 0.0008974 0.10% FabArray::FillBoundary() 4023 0.0008587 0.0008587 0.0008587 0.09% MLMG::prepareForSolve() 11 0.000849 0.000849 0.000849 0.09% FabArrayBase::getCPC() 1323 0.0007436 0.0007436 0.0007436 0.08% FabArrayBase::CPC::define() 454 0.0006858 0.0006858 0.0006858 0.08% FabArrayBase::getFB() 4023 0.000591 0.000591 0.000591 0.06% Gravity::get_new_grav_vector() 11 0.0005438 0.0005438 0.0005438 0.06% Gravity::get_old_grav_vector() 10 0.0004749 0.0004749 0.0004749 0.05% MLCellLinOp::apply() 1142 0.0004597 0.0004597 0.0004597 0.05% Amr::InitAmr() 1 0.0004581 0.0004581 0.0004581 0.05% MLMG::mgVcycle() 82 0.0003601 0.0003601 0.0003601 0.04% MLLinOp::defineGrids() 11 0.0003539 0.0003539 0.0003539 0.04% Amr::coarseTimeStep() 10 0.0003347 0.0003347 0.0003347 0.04% AmrLevel::FillPatch() 41 0.0003203 0.0003203 0.0003203 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002944 0.0002944 0.0002944 0.03% main() 1 0.0002907 0.0002907 0.0002907 0.03% MultiFab::max() 11 0.0002557 0.0002557 0.0002557 0.03% FabArray::ParallelCopy() 861 0.0002358 0.0002358 0.0002358 0.03% MLCellLinOp::correctionResidual() 492 0.0002266 0.0002266 0.0002266 0.02% FillPatchIterator::Initialize 41 0.0002234 0.0002234 0.0002234 0.02% MLCellLinOp::defineBC() 11 0.0002027 0.0002027 0.0002027 0.02% Amr::timeStep() 10 0.0001637 0.0001637 0.0001637 0.02% Castro::subcycle_advance_ctu() 10 0.0001577 0.0001577 0.0001577 0.02% Castro::create_source_corrector() 10 0.0001398 0.0001398 0.0001398 0.02% StateData::checkPoint() 12 0.0001396 0.0001396 0.0001396 0.02% Gravity::update_max_rhs() 11 0.0001323 0.0001323 0.0001323 0.01% MLMG:computeResOfCorrection() 410 0.0001178 0.0001178 0.0001178 0.01% Gravity::solve_for_phi() 10 0.00011 0.00011 0.00011 0.01% MLMG::actualBottomSolve() 82 9.088e-05 9.088e-05 9.088e-05 0.01% Castro::Castro() 1 9.053e-05 9.053e-05 9.053e-05 0.01% Castro::advance() 10 8.89e-05 8.89e-05 8.89e-05 0.01% FabArrayBase::FB::FB() 56 8.626e-05 8.626e-05 8.626e-05 0.01% MLMG::mgVcycle_down::2 82 8.176e-05 8.176e-05 8.176e-05 0.01% MLMG::solve() 11 7.915e-05 7.915e-05 7.915e-05 0.01% MLMG::mgVcycle_down::0 82 7.899e-05 7.899e-05 7.899e-05 0.01% MLMG::mgVcycle_down::1 82 7.84e-05 7.84e-05 7.84e-05 0.01% AmrLevel::checkPoint() 3 7.716e-05 7.716e-05 7.716e-05 0.01% MLMG::mgVcycle_down::4 82 7.486e-05 7.486e-05 7.486e-05 0.01% Castro::initialize_advance() 10 7.475e-05 7.475e-05 7.475e-05 0.01% MLMG::mgVcycle_down::3 82 7.327e-05 7.327e-05 7.327e-05 0.01% Castro::clean_state() 62 6.742e-05 6.742e-05 6.742e-05 0.01% Castro::construct_new_source() 50 6.669e-05 6.669e-05 6.669e-05 0.01% Castro::finalize_advance() 10 6.515e-05 6.515e-05 6.515e-05 0.01% Castro::initialize_do_advance() 10 5.907e-05 5.907e-05 5.907e-05 0.01% MLMG::oneIter() 82 5.845e-05 5.845e-05 5.845e-05 0.01% MLMG::mgVcycle_up::4 82 5.441e-05 5.441e-05 5.441e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.744e-05 4.744e-05 4.744e-05 0.01% Castro::do_new_sources() 10 4.736e-05 4.736e-05 4.736e-05 0.01% MLMG::mgVcycle_up::0 82 4.693e-05 4.693e-05 4.693e-05 0.01% Castro::do_advance_ctu() 10 4.654e-05 4.654e-05 4.654e-05 0.01% MLCellLinOp::solutionResidual() 93 4.641e-05 4.641e-05 4.641e-05 0.01% MLMG::mgVcycle_up::3 82 4.581e-05 4.581e-05 4.581e-05 0.01% MLMG::mgVcycle_up::1 82 4.561e-05 4.561e-05 4.561e-05 0.01% MLMG::mgVcycle_up::2 82 4.406e-05 4.406e-05 4.406e-05 0.00% Castro::finalize_do_advance() 10 4.375e-05 4.375e-05 4.375e-05 0.00% Castro::swap_state_time_levels() 10 3.835e-05 3.835e-05 3.835e-05 0.00% Castro::post_timestep() 10 3.696e-05 3.696e-05 3.696e-05 0.00% StateData::define() 4 3.502e-05 3.502e-05 3.502e-05 0.00% MLMG::mgVcycle_bottom 82 3.401e-05 3.401e-05 3.401e-05 0.00% FillPatchSingleLevel 41 3.341e-05 3.341e-05 3.341e-05 0.00% Castro::enforce_consistent_e() 1 3.318e-05 3.318e-05 3.318e-05 0.00% MLMG::computeResidual() 82 3.098e-05 3.098e-05 3.098e-05 0.00% MLMG::ResNormInf() 93 2.978e-05 2.978e-05 2.978e-05 0.00% MLPoisson::define() 11 2.836e-05 2.836e-05 2.836e-05 0.00% makeSFC 55 2.697e-05 2.697e-05 2.697e-05 0.00% Castro::initMFs() 1 2.606e-05 2.606e-05 2.606e-05 0.00% Amr::writeSmallPlotFile() 1 2.513e-05 2.513e-05 2.513e-05 0.00% Castro::construct_new_gravity() 10 2.471e-05 2.471e-05 2.471e-05 0.00% Amr::FinalizeInit() 1 2.27e-05 2.27e-05 2.27e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.173e-05 2.173e-05 2.173e-05 0.00% Castro::do_old_sources() 10 2.098e-05 2.098e-05 2.098e-05 0.00% Castro::construct_old_source() 50 1.964e-05 1.964e-05 1.964e-05 0.00% MLLinOp::define() 11 1.838e-05 1.838e-05 1.838e-05 0.00% Castro::buildMetrics() 1 1.775e-05 1.775e-05 1.775e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.771e-05 1.771e-05 1.771e-05 0.00% DistributionMapping::Distribute() 56 1.641e-05 1.641e-05 1.641e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.637e-05 1.637e-05 1.637e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.484e-05 1.484e-05 1.484e-05 0.00% Amr::defBaseLevel() 1 1.268e-05 1.268e-05 1.268e-05 0.00% Castro::apply_source_to_state() 20 1.119e-05 1.119e-05 1.119e-05 0.00% Castro::check_for_nan() 20 1.076e-05 1.076e-05 1.076e-05 0.00% Castro::construct_old_gravity() 10 1.054e-05 1.054e-05 1.054e-05 0.00% Gravity::swapTimeLevels() 10 9.006e-06 9.006e-06 9.006e-06 0.00% MLPoisson::prepareForSolve() 11 8.775e-06 8.775e-06 8.775e-06 0.00% Amr::initSubcycle() 1 8.503e-06 8.503e-06 8.503e-06 0.00% Gravity::actual_multilevel_solve() 1 8.019e-06 8.019e-06 8.019e-06 0.00% MLMG::computeMLResidual() 11 7.858e-06 7.858e-06 7.858e-06 0.00% Castro::computeNewDt() 9 6.469e-06 6.469e-06 6.469e-06 0.00% MLMG::getGradSolution() 11 6.202e-06 6.202e-06 6.202e-06 0.00% AmrLevel::checkPointPost() 3 6.164e-06 6.164e-06 6.164e-06 0.00% Castro::expand_state() 10 5.079e-06 5.079e-06 5.079e-06 0.00% Castro::post_init() 1 4.682e-06 4.682e-06 4.682e-06 0.00% Amr::InitializeInit() 1 4.545e-06 4.545e-06 4.545e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.053e-06 4.053e-06 4.053e-06 0.00% Gravity::set_mass_offset() 11 3.808e-06 3.808e-06 3.808e-06 0.00% Castro::retry_advance_ctu() 10 3.732e-06 3.732e-06 3.732e-06 0.00% MLMG::MLRhsNormInf() 11 3.706e-06 3.706e-06 3.706e-06 0.00% Amr::init() 1 3.494e-06 3.494e-06 3.494e-06 0.00% MLMG::MLResNormInf() 11 3.287e-06 3.287e-06 3.287e-06 0.00% Castro::computeInitialDt() 2 3.013e-06 3.013e-06 3.013e-06 0.00% Castro::FluxRegCrseInit 10 2.989e-06 2.989e-06 2.989e-06 0.00% Castro::FluxRegFineAdd() 10 2.351e-06 2.351e-06 2.351e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.989e-06 1.989e-06 1.989e-06 0.00% AmrLevel::checkPointPre() 3 1.554e-06 1.554e-06 1.554e-06 0.00% Amr::initialInit() 1 1.097e-06 1.097e-06 1.097e-06 0.00% Castro::post_regrid() 1 8.7e-07 8.7e-07 8.7e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9113 0.9113 0.9113 100.00% Amr::coarseTimeStep() 10 0.739 0.739 0.739 81.09% Amr::timeStep() 10 0.6206 0.6206 0.6206 68.10% Castro::advance() 10 0.6107 0.6107 0.6107 67.02% Castro::subcycle_advance_ctu() 10 0.5974 0.5974 0.5974 65.55% Castro::do_advance_ctu() 10 0.5972 0.5972 0.5972 65.53% Castro::construct_ctu_hydro_source() 10 0.2818 0.2818 0.2818 30.92% Gravity::solve_phi_with_mlmg() 11 0.2744 0.2744 0.2744 30.11% Gravity::actual_solve_with_mlmg() 11 0.2682 0.2682 0.2682 29.43% Castro::construct_new_gravity() 10 0.2501 0.2501 0.2501 27.44% MLMG::solve() 11 0.2481 0.2481 0.2481 27.22% Gravity::solve_for_phi() 10 0.2351 0.2351 0.2351 25.80% MLMG::oneIter() 82 0.2342 0.2342 0.2342 25.70% VisMF::Write(FabArray) 11 0.2327 0.2327 0.2327 25.53% MLMG::mgVcycle() 82 0.2306 0.2306 0.2306 25.31% Amr::checkPoint() 3 0.1734 0.1734 0.1734 19.02% AmrLevel::checkPoint() 3 0.1693 0.1693 0.1693 18.58% StateData::checkPoint() 12 0.1693 0.1693 0.1693 18.57% Amr::init() 1 0.1382 0.1382 0.1382 15.16% MLCellLinOp::smooth() 1640 0.1143 0.1143 0.1143 12.54% MLCellLinOp::applyBC() 4433 0.1074 0.1074 0.1074 11.79% MLMG::mgVcycle_bottom 82 0.07052 0.07052 0.07052 7.74% MLMG::actualBottomSolve() 82 0.07049 0.07049 0.07049 7.73% MLCGSolver::bicgstab 82 0.06982 0.06982 0.06982 7.66% Amr::writePlotFile() 2 0.0665 0.0665 0.0665 7.30% Castro::clean_state() 62 0.04994 0.04994 0.04994 5.48% Amr::initialInit() 1 0.04682 0.04682 0.04682 5.14% AmrLevel::FillPatch() 41 0.04481 0.04481 0.04481 4.92% Amr::FinalizeInit() 1 0.04291 0.04291 0.04291 4.71% Castro::post_init() 1 0.04163 0.04163 0.04163 4.57% FillPatchIterator::Initialize 41 0.04069 0.04069 0.04069 4.46% Gravity::multilevel_solve_for_new_phi() 1 0.03966 0.03966 0.03966 4.35% Gravity::actual_multilevel_solve() 1 0.03964 0.03964 0.03964 4.35% FillPatchIterator::FillFromLevel0() 41 0.03918 0.03918 0.03918 4.30% FillPatchSingleLevel 41 0.03914 0.03914 0.03914 4.29% MLCellLinOp::apply() 1142 0.0352 0.0352 0.0352 3.86% StateDataPhysBCFunct::() 41 0.03506 0.03506 0.03506 3.85% MLMG::mgVcycle_down::0 82 0.03359 0.03359 0.03359 3.69% FabArray::FillBoundary() 4023 0.03286 0.03286 0.03286 3.61% FillBoundary_nowait() 4023 0.032 0.032 0.032 3.51% MLPoisson::Fsmooth() 3280 0.03105 0.03105 0.03105 3.41% MLMG::mgVcycle_up::0 82 0.02535 0.02535 0.02535 2.78% StateData::FillBoundary(geom) 328 0.02412 0.02412 0.02412 2.65% MLCellLinOp::correctionResidual() 492 0.02157 0.02157 0.02157 2.37% Castro::computeTemp() 63 0.02155 0.02155 0.02155 2.36% amrex::Dot() 1114 0.01967 0.01967 0.01967 2.16% Castro::initialize_do_advance() 10 0.01952 0.01952 0.01952 2.14% MLMG:computeResOfCorrection() 410 0.01901 0.01901 0.01901 2.09% Castro::normalize_species() 62 0.01725 0.01725 0.01725 1.89% Castro::do_old_sources() 10 0.01669 0.01669 0.01669 1.83% Gravity::get_new_grav_vector() 11 0.01666 0.01666 0.01666 1.83% MLPoisson::define() 11 0.01592 0.01592 0.01592 1.75% MLMG::mgVcycle_down::1 82 0.01525 0.01525 0.01525 1.67% Castro::construct_old_gravity() 10 0.01489 0.01489 0.01489 1.63% Gravity::get_old_grav_vector() 10 0.01488 0.01488 0.01488 1.63% amrex::Copy() 1029 0.01442 0.01442 0.01442 1.58% MLMG::mgVcycle_down::2 82 0.01427 0.01427 0.01427 1.57% FabArray::ParallelCopy() 861 0.014 0.014 0.014 1.54% MLMG::mgVcycle_down::3 82 0.01392 0.01392 0.01392 1.53% FabArray::norminf() 743 0.01378 0.01378 0.01378 1.51% FabArray::ParallelCopy_nowait() 861 0.01377 0.01377 0.01377 1.51% MLMG::mgVcycle_down::4 82 0.01371 0.01371 0.01371 1.50% Castro::initialize_advance() 10 0.01269 0.01269 0.01269 1.39% FabArray::setVal() 1144 0.01266 0.01266 0.01266 1.39% MLCGSolver::ParallelAllReduce 1514 0.0118 0.0118 0.0118 1.29% MLMG::addInterpCorrection() 410 0.01156 0.01156 0.01156 1.27% MLMG::mgVcycle_up::1 82 0.01111 0.01111 0.01111 1.22% MLMG::mgVcycle_up::4 82 0.0111 0.0111 0.0111 1.22% Castro::do_new_sources() 10 0.01097 0.01097 0.01097 1.20% MLMG::mgVcycle_up::2 82 0.01084 0.01084 0.01084 1.19% MLCellLinOp::defineAuxData() 11 0.01082 0.01082 0.01082 1.19% amrex::average_down 410 0.01081 0.01081 0.01081 1.19% Castro::expand_state() 10 0.0107 0.0107 0.0107 1.17% MLMG::mgVcycle_up::3 82 0.01064 0.01064 0.01064 1.17% Castro::enforce_min_density() 62 0.01016 0.01016 0.01016 1.11% MLPoisson::Fapply() 1142 0.009917 0.009917 0.009917 1.09% Castro::post_timestep() 10 0.009678 0.009678 0.009678 1.06% FabArray::Saxpy() 813 0.007821 0.007821 0.007821 0.86% FabArray::Xpay() 821 0.007748 0.007748 0.007748 0.85% MLCellLinOp::solutionResidual() 93 0.006953 0.006953 0.006953 0.76% Castro::reset_internal_energy(MultiFab) 63 0.006353 0.006353 0.006353 0.70% MLMG::computeResidual() 82 0.00599 0.00599 0.00599 0.66% Gravity::fill_multipole_BCs() 11 0.005984 0.005984 0.005984 0.66% Castro::estTimeStep() 21 0.005297 0.005297 0.005297 0.58% MLCellLinOp::defineBC() 11 0.004648 0.004648 0.004648 0.51% MLMG::prepareForSolve() 11 0.004466 0.004466 0.004466 0.49% BndryData::define() 11 0.004445 0.004445 0.004445 0.49% FabArray::LinComb() 557 0.004309 0.004309 0.004309 0.47% amrex::Add() 164 0.004281 0.004281 0.004281 0.47% Amr::InitializeInit() 1 0.003907 0.003907 0.003907 0.43% Amr::defBaseLevel() 1 0.003902 0.003902 0.003902 0.43% Castro::initData() 1 0.003394 0.003394 0.003394 0.37% Castro::construct_new_source() 50 0.002657 0.002657 0.002657 0.29% Castro::construct_new_gravity_source() 10 0.00259 0.00259 0.00259 0.28% Castro::finalize_do_advance() 10 0.002265 0.002265 0.002265 0.25% Castro::computeNewDt() 9 0.002236 0.002236 0.002236 0.25% Castro::construct_old_source() 50 0.002175 0.002175 0.002175 0.24% Castro::construct_old_gravity_source() 10 0.002156 0.002156 0.002156 0.24% MLMG::ResNormInf() 93 0.002072 0.002072 0.002072 0.23% Castro::apply_source_to_state() 20 0.001808 0.001808 0.001808 0.20% Castro::enforce_speed_limit() 62 0.001638 0.001638 0.001638 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001629 0.001629 0.001629 0.18% Castro::reset_internal_energy(Fab) 504 0.001476 0.001476 0.001476 0.16% FabArrayBase::getCPC() 1323 0.001429 0.001429 0.001429 0.16% MLMG::getGradSolution() 11 0.001365 0.001365 0.001365 0.15% MLCellLinOp::compGrad() 11 0.001359 0.001359 0.001359 0.15% MLCellLinOp::setLevelBC() 11 0.001345 0.001345 0.001345 0.15% FabArray::mult() 43 0.001303 0.001303 0.001303 0.14% FabArray::setDomainBndry() 41 0.00128 0.00128 0.00128 0.14% check_for_negative_density() 10 0.001216 0.001216 0.001216 0.13% Castro::check_for_nan() 20 0.001212 0.001212 0.001212 0.13% MultiFab::contains_nan() 20 0.001201 0.001201 0.001201 0.13% Castro::post_regrid() 1 0.0011 0.0011 0.0011 0.12% MLPoisson::prepareForSolve() 11 0.001079 0.001079 0.001079 0.12% MLCellLinOp::prepareForSolve() 11 0.00107 0.00107 0.00107 0.12% MLMG::computeMLResidual() 11 0.001003 0.001003 0.001003 0.11% Castro::computeInitialDt() 2 0.0008496 0.0008496 0.0008496 0.09% Gravity::update_max_rhs() 11 0.0008256 0.0008256 0.0008256 0.09% FabArrayBase::CPC::define() 454 0.0006858 0.0006858 0.0006858 0.08% FabArrayBase::getFB() 4023 0.0006773 0.0006773 0.0006773 0.07% Castro::finalize_advance() 10 0.0005726 0.0005726 0.0005726 0.06% Amr::InitAmr() 1 0.0004666 0.0004666 0.0004666 0.05% Castro::Castro() 1 0.0004386 0.0004386 0.0004386 0.05% Gravity::swapTimeLevels() 10 0.000432 0.000432 0.000432 0.05% MLLinOp::define() 11 0.0004311 0.0004311 0.0004311 0.05% MLLinOp::defineGrids() 11 0.0004127 0.0004127 0.0004127 0.05% MLMG::MLResNormInf() 11 0.0002782 0.0002782 0.0002782 0.03% MultiFab::max() 11 0.0002557 0.0002557 0.0002557 0.03% MLMG::MLRhsNormInf() 11 0.0002124 0.0002124 0.0002124 0.02% Castro::buildMetrics() 1 0.0001626 0.0001626 0.0001626 0.02% Castro::create_source_corrector() 10 0.0001398 0.0001398 0.0001398 0.02% FabArrayBase::FB::FB() 56 8.626e-05 8.626e-05 8.626e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.686e-05 5.686e-05 5.686e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.138e-05 5.138e-05 5.138e-05 0.01% makeSFC 55 4.201e-05 4.201e-05 4.201e-05 0.00% Castro::swap_state_time_levels() 10 3.835e-05 3.835e-05 3.835e-05 0.00% StateData::define() 4 3.502e-05 3.502e-05 3.502e-05 0.00% Castro::enforce_consistent_e() 1 3.318e-05 3.318e-05 3.318e-05 0.00% Castro::initMFs() 1 2.606e-05 2.606e-05 2.606e-05 0.00% Amr::writeSmallPlotFile() 1 2.513e-05 2.513e-05 2.513e-05 0.00% DistributionMapping::Distribute() 56 1.641e-05 1.641e-05 1.641e-05 0.00% Amr::initSubcycle() 1 8.503e-06 8.503e-06 8.503e-06 0.00% AmrLevel::checkPointPost() 3 6.164e-06 6.164e-06 6.164e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.416e-06 5.416e-06 5.416e-06 0.00% Gravity::set_mass_offset() 11 3.808e-06 3.808e-06 3.808e-06 0.00% Castro::retry_advance_ctu() 10 3.732e-06 3.732e-06 3.732e-06 0.00% Castro::FluxRegCrseInit 10 2.989e-06 2.989e-06 2.989e-06 0.00% Castro::FluxRegFineAdd() 10 2.351e-06 2.351e-06 2.351e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.989e-06 1.989e-06 1.989e-06 0.00% AmrLevel::checkPointPre() 3 1.554e-06 1.554e-06 1.554e-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 88 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 143 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 945 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2049 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7609 KiB 14 MiB MLMG::prepareForSolve() 660 660 3350 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 190 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7530 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 10 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1729 B 2048 KiB Gravity::solve_for_phi() 80 80 527 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 305 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 194 KiB 671 KiB Castro::estTimeStep() 21 21 2835 B 480 KiB VisMF::Write(FabArray) 656 656 3247 B 320 KiB Castro::normalize_species() 62 62 6169 B 320 KiB amrex::average_down 1067 1067 1209 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1099 B 257 KiB amrex::Dot() 1360 1360 3180 B 160 KiB FabArray::norminf() 907 907 2237 B 160 KiB check_for_negative_density() 10 10 211 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3275 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 8866 8866 211 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3854 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 111 B 1472 B MLCellLinOp::defineBC() 66 66 344 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 610 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 589 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3275 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 4433 4433 209 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3854 B 6144 B Gravity::get_new_grav_vector() 3 3 2915 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 39 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 279 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [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.07-44-g49dd703558c5) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-44-g49dd703558c5) initialized Starting run at 07:24:33 UTC on 2023-07-27. Successfully read inputs file ... Castro git describe: 23.07-20-g4174f17eb AMReX git describe: 23.07-44-g49dd70355 Microphysics git describe: 23.07-48-g588beb9c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.500945206 Restart time = 0.045048402 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.050986049 [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.06915288 [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.076815914 [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.065013959 [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.05627497 [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.033088286 seconds Ending run at 07:24:34 UTC on 2023-07-27. Run time = 0.397421677 Run time without initialization = 0.35176428 Average number of zones advanced per microsecond: 3.726 Average number of zones advanced per microsecond per rank: 3.726 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3975 ... 0.3975 ... 0.3975 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1371 0.1371 0.1371 34.49% VisMF::Read() 3 0.03885 0.03885 0.03885 9.77% MLCellLinOp::applyBC() 1946 0.03248 0.03248 0.03248 8.17% VisMF::Write(FabArray) 1 0.03148 0.03148 0.03148 7.92% MLPoisson::Fsmooth() 1440 0.01355 0.01355 0.01355 3.41% FillBoundary_nowait() 1766 0.01279 0.01279 0.01279 3.22% StateData::FillBoundary(geom) 160 0.01156 0.01156 0.01156 2.91% Castro::normalize_species() 30 0.0101 0.0101 0.0101 2.54% amrex::Dot() 484 0.008472 0.008472 0.008472 2.13% Castro::computeTemp() 30 0.007148 0.007148 0.007148 1.80% amrex::Copy() 463 0.006809 0.006809 0.006809 1.71% FabArray::setVal() 537 0.006113 0.006113 0.006113 1.54% FabArray::norminf() 326 0.006013 0.006013 0.006013 1.51% FabArray::ParallelCopy_nowait() 380 0.005899 0.005899 0.005899 1.48% Castro::enforce_min_density() 30 0.005419 0.005419 0.005419 1.36% MLCellLinOp::defineAuxData() 6 0.005 0.005 0.005 1.26% StateDataPhysBCFunct::() 20 0.004716 0.004716 0.004716 1.19% MLPoisson::Fapply() 500 0.004313 0.004313 0.004313 1.09% FabArray::Saxpy() 355 0.003515 0.003515 0.003515 0.88% Gravity::fill_multipole_BCs() 6 0.003499 0.003499 0.003499 0.88% FabArray::Xpay() 361 0.003397 0.003397 0.003397 0.85% MLMG::addInterpCorrection() 180 0.002869 0.002869 0.002869 0.72% Amr::restart() 1 0.00254 0.00254 0.00254 0.64% amrex::average_down 180 0.002523 0.002523 0.002523 0.63% Castro::estTimeStep() 10 0.002473 0.002473 0.002473 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002141 0.002141 0.002141 0.54% BndryData::define() 6 0.001929 0.001929 0.001929 0.49% FabArray::LinComb() 242 0.001847 0.001847 0.001847 0.46% amrex::Add() 72 0.001827 0.001827 0.001827 0.46% Castro::construct_new_gravity_source() 5 0.001557 0.001557 0.001557 0.39% Amr::writePlotFile() 1 0.001437 0.001437 0.001437 0.36% Castro::construct_old_gravity_source() 5 0.00143 0.00143 0.00143 0.36% Castro::enforce_speed_limit() 30 0.001189 0.001189 0.001189 0.30% MLCGSolver::bicgstab 36 0.0009156 0.0009156 0.0009156 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008713 0.0008713 0.0008713 0.22% Castro::reset_internal_energy(Fab) 240 0.000821 0.000821 0.000821 0.21% Gravity::actual_solve_with_mlmg() 6 0.0007773 0.0007773 0.0007773 0.20% check_for_negative_density() 5 0.0007359 0.0007359 0.0007359 0.19% MLCellLinOp::setLevelBC() 6 0.0007245 0.0007245 0.0007245 0.18% Castro::subcycle_advance_ctu() 5 0.0006971 0.0006971 0.0006971 0.18% FabArray::mult() 22 0.0006371 0.0006371 0.0006371 0.16% FabArray::setDomainBndry() 20 0.0006203 0.0006203 0.0006203 0.16% MLCellLinOp::prepareForSolve() 6 0.000593 0.000593 0.000593 0.15% MultiFab::contains_nan() 10 0.0005862 0.0005862 0.0005862 0.15% MLCellLinOp::compGrad() 6 0.0004817 0.0004817 0.0004817 0.12% MLCellLinOp::smooth() 720 0.0004814 0.0004814 0.0004814 0.12% MLMG::prepareForSolve() 6 0.0004654 0.0004654 0.0004654 0.12% FabArrayBase::CPC::define() 244 0.0004185 0.0004185 0.0004185 0.11% Amr::InitAmr() 1 0.0004067 0.0004067 0.0004067 0.10% FabArray::FillBoundary() 1766 0.0003699 0.0003699 0.0003699 0.09% FabArrayBase::getCPC() 632 0.0003431 0.0003431 0.0003431 0.09% main() 1 0.0002825 0.0002825 0.0002825 0.07% Gravity::get_old_grav_vector() 5 0.0002588 0.0002588 0.0002588 0.07% FabArrayBase::getFB() 1766 0.0002474 0.0002474 0.0002474 0.06% Gravity::get_new_grav_vector() 5 0.000243 0.000243 0.000243 0.06% MLCellLinOp::apply() 500 0.0002002 0.0002002 0.0002002 0.05% Amr::coarseTimeStep() 5 0.0001904 0.0001904 0.0001904 0.05% MLLinOp::defineGrids() 6 0.0001761 0.0001761 0.0001761 0.04% AmrLevel::FillPatch() 20 0.0001588 0.0001588 0.0001588 0.04% MLMG::mgVcycle() 36 0.0001558 0.0001558 0.0001558 0.04% MultiFab::max() 6 0.0001363 0.0001363 0.0001363 0.03% Castro::construct_new_source() 25 0.0001248 0.0001248 0.0001248 0.03% MLCGSolver::ParallelAllReduce 659 0.0001237 0.0001237 0.0001237 0.03% MLCellLinOp::defineBC() 6 0.0001102 0.0001102 0.0001102 0.03% Amr::timeStep() 5 0.0001099 0.0001099 0.0001099 0.03% FabArray::ParallelCopy() 380 0.0001093 0.0001093 0.0001093 0.03% FillPatchIterator::Initialize 20 0.0001008 0.0001008 0.0001008 0.03% MLCellLinOp::correctionResidual() 216 9.486e-05 9.486e-05 9.486e-05 0.02% Castro::finalize_do_advance() 5 8.214e-05 8.214e-05 8.214e-05 0.02% AmrLevel::restart() 1 8.045e-05 8.045e-05 8.045e-05 0.02% Castro::create_source_corrector() 5 7.936e-05 7.936e-05 7.936e-05 0.02% Gravity::update_max_rhs() 6 6.599e-05 6.599e-05 6.599e-05 0.02% StateData::restartDoit() 4 6.345e-05 6.345e-05 6.345e-05 0.02% Castro::do_new_sources() 5 6.163e-05 6.163e-05 6.163e-05 0.02% FabArrayBase::FB::FB() 26 5.877e-05 5.877e-05 5.877e-05 0.01% MLMG:computeResOfCorrection() 180 5.376e-05 5.376e-05 5.376e-05 0.01% Gravity::solve_for_phi() 5 5.225e-05 5.225e-05 5.225e-05 0.01% Castro::initialize_do_advance() 5 4.944e-05 4.944e-05 4.944e-05 0.01% Castro::finalize_advance() 5 4.197e-05 4.197e-05 4.197e-05 0.01% MLMG::actualBottomSolve() 36 4.02e-05 4.02e-05 4.02e-05 0.01% Castro::advance() 5 3.897e-05 3.897e-05 3.897e-05 0.01% Castro::initialize_advance() 5 3.662e-05 3.662e-05 3.662e-05 0.01% MLMG::mgVcycle_down::0 36 3.586e-05 3.586e-05 3.586e-05 0.01% MLMG::solve() 6 3.533e-05 3.533e-05 3.533e-05 0.01% MLMG::mgVcycle_down::1 36 3.532e-05 3.532e-05 3.532e-05 0.01% MLMG::mgVcycle_down::4 36 3.414e-05 3.414e-05 3.414e-05 0.01% Castro::construct_old_source() 25 3.396e-05 3.396e-05 3.396e-05 0.01% Castro::do_old_sources() 5 3.342e-05 3.342e-05 3.342e-05 0.01% MLMG::mgVcycle_down::2 36 3.326e-05 3.326e-05 3.326e-05 0.01% Castro::post_timestep() 5 3.314e-05 3.314e-05 3.314e-05 0.01% MLMG::mgVcycle_down::3 36 3.297e-05 3.297e-05 3.297e-05 0.01% Castro::clean_state() 30 3.23e-05 3.23e-05 3.23e-05 0.01% Castro::buildMetrics() 1 2.77e-05 2.77e-05 2.77e-05 0.01% Castro::initMFs() 1 2.698e-05 2.698e-05 2.698e-05 0.01% Amr::writeSmallPlotFile() 1 2.66e-05 2.66e-05 2.66e-05 0.01% MLMG::mgVcycle_up::4 36 2.558e-05 2.558e-05 2.558e-05 0.01% MLMG::oneIter() 36 2.472e-05 2.472e-05 2.472e-05 0.01% Castro::do_advance_ctu() 5 2.464e-05 2.464e-05 2.464e-05 0.01% Castro::swap_state_time_levels() 5 2.451e-05 2.451e-05 2.451e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.237e-05 2.237e-05 2.237e-05 0.01% MLPoisson::define() 6 2.096e-05 2.096e-05 2.096e-05 0.01% MLMG::mgVcycle_up::0 36 2.07e-05 2.07e-05 2.07e-05 0.01% MLMG::mgVcycle_up::3 36 2.063e-05 2.063e-05 2.063e-05 0.01% MLCellLinOp::solutionResidual() 42 2.063e-05 2.063e-05 2.063e-05 0.01% MLMG::mgVcycle_up::2 36 2.04e-05 2.04e-05 2.04e-05 0.01% Castro::post_restart() 1 1.966e-05 1.966e-05 1.966e-05 0.00% MLMG::mgVcycle_up::1 36 1.949e-05 1.949e-05 1.949e-05 0.00% MLMG::ResNormInf() 42 1.667e-05 1.667e-05 1.667e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.618e-05 1.618e-05 1.618e-05 0.00% FillPatchSingleLevel 20 1.521e-05 1.521e-05 1.521e-05 0.00% MLMG::mgVcycle_bottom 36 1.5e-05 1.5e-05 1.5e-05 0.00% MLMG::computeResidual() 36 1.411e-05 1.411e-05 1.411e-05 0.00% makeSFC 30 1.344e-05 1.344e-05 1.344e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.24e-05 1.24e-05 1.24e-05 0.00% MLLinOp::define() 6 1.192e-05 1.192e-05 1.192e-05 0.00% Castro::construct_new_gravity() 5 1.174e-05 1.174e-05 1.174e-05 0.00% Amr::initSubcycle() 1 9.101e-06 9.101e-06 9.101e-06 0.00% DistributionMapping::Distribute() 31 8.863e-06 8.863e-06 8.863e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.792e-06 7.792e-06 7.792e-06 0.00% Gravity::actual_multilevel_solve() 1 7.734e-06 7.734e-06 7.734e-06 0.00% Castro::construct_old_gravity() 5 5.684e-06 5.684e-06 5.684e-06 0.00% Castro::check_for_nan() 10 5.57e-06 5.57e-06 5.57e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.361e-06 5.361e-06 5.361e-06 0.00% Castro::apply_source_to_state() 10 5.359e-06 5.359e-06 5.359e-06 0.00% MLPoisson::prepareForSolve() 6 4.715e-06 4.715e-06 4.715e-06 0.00% MLMG::computeMLResidual() 6 4.111e-06 4.111e-06 4.111e-06 0.00% Gravity::swapTimeLevels() 5 3.959e-06 3.959e-06 3.959e-06 0.00% Castro::computeNewDt() 5 3.677e-06 3.677e-06 3.677e-06 0.00% MLMG::getGradSolution() 6 3.154e-06 3.154e-06 3.154e-06 0.00% Castro::retry_advance_ctu() 5 2.622e-06 2.622e-06 2.622e-06 0.00% Castro::expand_state() 5 2.614e-06 2.614e-06 2.614e-06 0.00% MLMG::MLResNormInf() 6 2.145e-06 2.145e-06 2.145e-06 0.00% MLMG::MLRhsNormInf() 6 2.026e-06 2.026e-06 2.026e-06 0.00% Gravity::set_mass_offset() 6 2e-06 2e-06 2e-06 0.00% Castro::FluxRegCrseInit 5 1.73e-06 1.73e-06 1.73e-06 0.00% Castro::FluxRegFineAdd() 5 1.525e-06 1.525e-06 1.525e-06 0.00% Amr::init() 1 1.442e-06 1.442e-06 1.442e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.09e-06 1.09e-06 1.09e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3974 0.3974 0.3974 100.00% Amr::coarseTimeStep() 5 0.3184 0.3184 0.3184 80.12% Amr::timeStep() 5 0.3168 0.3168 0.3168 79.72% Castro::advance() 5 0.3116 0.3116 0.3116 78.40% Castro::subcycle_advance_ctu() 5 0.3039 0.3039 0.3039 76.46% Castro::do_advance_ctu() 5 0.3032 0.3032 0.3032 76.29% Castro::construct_ctu_hydro_source() 5 0.1419 0.1419 0.1419 35.69% Castro::construct_new_gravity() 5 0.1266 0.1266 0.1266 31.85% Gravity::solve_phi_with_mlmg() 6 0.1221 0.1221 0.1221 30.72% Gravity::solve_for_phi() 5 0.1191 0.1191 0.1191 29.96% Gravity::actual_solve_with_mlmg() 6 0.1183 0.1183 0.1183 29.77% MLMG::solve() 6 0.1076 0.1076 0.1076 27.06% MLMG::oneIter() 36 0.1009 0.1009 0.1009 25.38% MLMG::mgVcycle() 36 0.09933 0.09933 0.09933 24.99% MLCellLinOp::smooth() 720 0.04898 0.04898 0.04898 12.32% MLCellLinOp::applyBC() 1946 0.04595 0.04595 0.04595 11.56% Amr::init() 1 0.04511 0.04511 0.04511 11.35% Amr::restart() 1 0.04511 0.04511 0.04511 11.35% AmrLevel::restart() 1 0.03905 0.03905 0.03905 9.83% StateData::restartDoit() 4 0.03897 0.03897 0.03897 9.80% VisMF::Read() 3 0.03885 0.03885 0.03885 9.77% Amr::writePlotFile() 1 0.03317 0.03317 0.03317 8.35% VisMF::Write(FabArray) 1 0.03148 0.03148 0.03148 7.92% MLMG::mgVcycle_bottom 36 0.03047 0.03047 0.03047 7.67% MLMG::actualBottomSolve() 36 0.03045 0.03045 0.03045 7.66% MLCGSolver::bicgstab 36 0.03016 0.03016 0.03016 7.59% Castro::clean_state() 30 0.02685 0.02685 0.02685 6.76% AmrLevel::FillPatch() 20 0.02108 0.02108 0.02108 5.30% FillPatchIterator::Initialize 20 0.01906 0.01906 0.01906 4.79% FillPatchIterator::FillFromLevel0() 20 0.01833 0.01833 0.01833 4.61% FillPatchSingleLevel 20 0.01831 0.01831 0.01831 4.61% StateDataPhysBCFunct::() 20 0.01628 0.01628 0.01628 4.10% MLCellLinOp::apply() 500 0.01526 0.01526 0.01526 3.84% MLMG::mgVcycle_down::0 36 0.01416 0.01416 0.01416 3.56% MLPoisson::Fsmooth() 1440 0.01355 0.01355 0.01355 3.41% FabArray::FillBoundary() 1766 0.01347 0.01347 0.01347 3.39% FillBoundary_nowait() 1766 0.0131 0.0131 0.0131 3.30% StateData::FillBoundary(geom) 160 0.01156 0.01156 0.01156 2.91% MLMG::mgVcycle_up::0 36 0.01073 0.01073 0.01073 2.70% Castro::computeTemp() 30 0.01011 0.01011 0.01011 2.54% Castro::normalize_species() 30 0.0101 0.0101 0.0101 2.54% Castro::initialize_do_advance() 5 0.009964 0.009964 0.009964 2.51% MLCellLinOp::correctionResidual() 216 0.009298 0.009298 0.009298 2.34% Castro::do_old_sources() 5 0.009263 0.009263 0.009263 2.33% MLPoisson::define() 6 0.008531 0.008531 0.008531 2.15% amrex::Dot() 484 0.008472 0.008472 0.008472 2.13% MLMG:computeResOfCorrection() 180 0.008177 0.008177 0.008177 2.06% Gravity::get_new_grav_vector() 5 0.007374 0.007374 0.007374 1.86% Castro::construct_old_gravity() 5 0.007345 0.007345 0.007345 1.85% Gravity::get_old_grav_vector() 5 0.007339 0.007339 0.007339 1.85% Castro::initialize_advance() 5 0.007337 0.007337 0.007337 1.85% amrex::Copy() 463 0.006809 0.006809 0.006809 1.71% MLMG::mgVcycle_down::1 36 0.006616 0.006616 0.006616 1.66% Castro::do_new_sources() 5 0.006548 0.006548 0.006548 1.65% FabArray::ParallelCopy() 380 0.006388 0.006388 0.006388 1.61% FabArray::ParallelCopy_nowait() 380 0.006278 0.006278 0.006278 1.58% MLMG::mgVcycle_down::2 36 0.006185 0.006185 0.006185 1.56% FabArray::setVal() 537 0.006113 0.006113 0.006113 1.54% MLMG::mgVcycle_down::3 36 0.006028 0.006028 0.006028 1.52% FabArray::norminf() 326 0.006013 0.006013 0.006013 1.51% MLMG::mgVcycle_down::4 36 0.005972 0.005972 0.005972 1.50% MLCellLinOp::defineAuxData() 6 0.005707 0.005707 0.005707 1.44% Castro::enforce_min_density() 30 0.005419 0.005419 0.005419 1.36% Castro::post_timestep() 5 0.005135 0.005135 0.005135 1.29% MLCGSolver::ParallelAllReduce 659 0.005113 0.005113 0.005113 1.29% MLMG::addInterpCorrection() 180 0.005044 0.005044 0.005044 1.27% Castro::expand_state() 5 0.004898 0.004898 0.004898 1.23% MLMG::mgVcycle_up::1 36 0.004826 0.004826 0.004826 1.21% MLMG::mgVcycle_up::4 36 0.004822 0.004822 0.004822 1.21% MLMG::mgVcycle_up::2 36 0.00473 0.00473 0.00473 1.19% amrex::average_down 180 0.004719 0.004719 0.004719 1.19% MLMG::mgVcycle_up::3 36 0.004636 0.004636 0.004636 1.17% MLPoisson::Fapply() 500 0.004313 0.004313 0.004313 1.09% Gravity::fill_multipole_BCs() 6 0.003639 0.003639 0.003639 0.92% FabArray::Saxpy() 355 0.003515 0.003515 0.003515 0.88% FabArray::Xpay() 361 0.003397 0.003397 0.003397 0.85% Castro::post_restart() 1 0.00334 0.00334 0.00334 0.84% Gravity::multilevel_solve_for_new_phi() 1 0.003226 0.003226 0.003226 0.81% Gravity::actual_multilevel_solve() 1 0.00321 0.00321 0.00321 0.81% MLCellLinOp::solutionResidual() 42 0.00314 0.00314 0.00314 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002962 0.002962 0.002962 0.75% MLMG::computeResidual() 36 0.00259 0.00259 0.00259 0.65% MLCellLinOp::defineBC() 6 0.002586 0.002586 0.002586 0.65% BndryData::define() 6 0.002476 0.002476 0.002476 0.62% Castro::estTimeStep() 10 0.002473 0.002473 0.002473 0.62% MLMG::prepareForSolve() 6 0.002467 0.002467 0.002467 0.62% FabArray::LinComb() 242 0.001847 0.001847 0.001847 0.46% amrex::Add() 72 0.001827 0.001827 0.001827 0.46% Castro::construct_new_source() 25 0.001682 0.001682 0.001682 0.42% Castro::construct_new_gravity_source() 5 0.001557 0.001557 0.001557 0.39% Castro::construct_old_source() 25 0.001464 0.001464 0.001464 0.37% Castro::construct_old_gravity_source() 5 0.00143 0.00143 0.00143 0.36% Castro::computeNewDt() 5 0.001403 0.001403 0.001403 0.35% Castro::enforce_speed_limit() 30 0.001189 0.001189 0.001189 0.30% Castro::finalize_do_advance() 5 0.001156 0.001156 0.001156 0.29% MLMG::ResNormInf() 42 0.0009237 0.0009237 0.0009237 0.23% Castro::apply_source_to_state() 10 0.0009158 0.0009158 0.0009158 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008713 0.0008713 0.0008713 0.22% Castro::reset_internal_energy(Fab) 240 0.000821 0.000821 0.000821 0.21% FabArrayBase::getCPC() 632 0.0007616 0.0007616 0.0007616 0.19% MLMG::getGradSolution() 6 0.0007427 0.0007427 0.0007427 0.19% MLCellLinOp::compGrad() 6 0.0007395 0.0007395 0.0007395 0.19% check_for_negative_density() 5 0.0007359 0.0007359 0.0007359 0.19% MLCellLinOp::setLevelBC() 6 0.0007245 0.0007245 0.0007245 0.18% FabArray::mult() 22 0.0006371 0.0006371 0.0006371 0.16% FabArray::setDomainBndry() 20 0.0006203 0.0006203 0.0006203 0.16% MLPoisson::prepareForSolve() 6 0.0005977 0.0005977 0.0005977 0.15% MLCellLinOp::prepareForSolve() 6 0.000593 0.000593 0.000593 0.15% Castro::check_for_nan() 10 0.0005917 0.0005917 0.0005917 0.15% MultiFab::contains_nan() 10 0.0005862 0.0005862 0.0005862 0.15% MLMG::computeMLResidual() 6 0.0005679 0.0005679 0.0005679 0.14% Gravity::update_max_rhs() 6 0.0004404 0.0004404 0.0004404 0.11% FabArrayBase::CPC::define() 244 0.0004185 0.0004185 0.0004185 0.11% Amr::InitAmr() 1 0.0004158 0.0004158 0.0004158 0.10% Castro::finalize_advance() 5 0.0003066 0.0003066 0.0003066 0.08% FabArrayBase::getFB() 1766 0.0003062 0.0003062 0.0003062 0.08% Gravity::swapTimeLevels() 5 0.0002208 0.0002208 0.0002208 0.06% MLLinOp::define() 6 0.0002177 0.0002177 0.0002177 0.05% MLLinOp::defineGrids() 6 0.0002058 0.0002058 0.0002058 0.05% MLMG::MLResNormInf() 6 0.0001518 0.0001518 0.0001518 0.04% Castro::buildMetrics() 1 0.000146 0.000146 0.000146 0.04% MultiFab::max() 6 0.0001363 0.0001363 0.0001363 0.03% MLMG::MLRhsNormInf() 6 0.0001147 0.0001147 0.0001147 0.03% Castro::create_source_corrector() 5 7.936e-05 7.936e-05 7.936e-05 0.02% FabArrayBase::FB::FB() 26 5.877e-05 5.877e-05 5.877e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.857e-05 2.857e-05 2.857e-05 0.01% Castro::initMFs() 1 2.698e-05 2.698e-05 2.698e-05 0.01% Amr::writeSmallPlotFile() 1 2.66e-05 2.66e-05 2.66e-05 0.01% Castro::swap_state_time_levels() 5 2.451e-05 2.451e-05 2.451e-05 0.01% makeSFC 30 2.078e-05 2.078e-05 2.078e-05 0.01% Amr::initSubcycle() 1 9.101e-06 9.101e-06 9.101e-06 0.00% DistributionMapping::Distribute() 31 8.863e-06 8.863e-06 8.863e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 6.881e-06 6.881e-06 6.881e-06 0.00% Castro::retry_advance_ctu() 5 2.622e-06 2.622e-06 2.622e-06 0.00% Gravity::set_mass_offset() 6 2e-06 2e-06 2e-06 0.00% Castro::FluxRegCrseInit 5 1.73e-06 1.73e-06 1.73e-06 0.00% Castro::FluxRegFineAdd() 5 1.525e-06 1.525e-06 1.525e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.09e-06 1.09e-06 1.09e-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 200 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 164 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1018 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2335 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6766 KiB 14 MiB MLMG::prepareForSolve() 361 361 3323 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 191 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 189 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6762 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2142 B 2048 KiB Gravity::solve_for_phi() 40 40 612 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 305 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 196 KiB 671 KiB Castro::estTimeStep() 10 10 2966 B 480 KiB VisMF::Write(FabArray) 112 112 1204 B 320 KiB Castro::normalize_species() 30 30 8273 B 320 KiB amrex::average_down 469 469 1165 B 257 KiB MLMG::addInterpCorrection() 468 468 1094 B 257 KiB amrex::Dot() 592 592 3134 B 160 KiB FabArray::norminf() 398 398 2235 B 160 KiB check_for_negative_density() 5 5 293 B 160 KiB MultiFab::max() 6 6 52 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3231 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 280 B 9648 B MLCellLinOp::applyBC() 3892 3892 212 B 9344 B amrex::Copy() 56 56 5977 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 45 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 110 B 1472 B MLCellLinOp::defineBC() 36 36 343 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1388 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 110 KiB 8192 KiB VisMF::Write(FabArray) 120 120 243 KiB 3584 KiB VisMF::Read() 24 24 190 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3231 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 280 B 9648 B MLCellLinOp::applyBC() 1946 1946 211 B 9328 B amrex::Copy() 56 56 5977 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2677 B 3072 B StateData::FillBoundary(geom) 960 960 45 B 2880 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 518 B 1296 B amrex::average_down 37 37 225 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [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.07-44-g49dd703558c5) finalized