Initializing AMReX (24.02-7-g798ca3356d16)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-7-g798ca3356d16) initialized Starting run at 17:06:10 UTC on 2024-02-10. Successfully read inputs file ... Castro git describe: 24.02-13-g80422fc1c AMReX git describe: 24.02-7-g798ca3356 Microphysics git describe: 24.02-11-g348ca2f5 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.058796094 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024765201 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.067694237 [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.068882453 [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.081051485 [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.074081875 [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.052853061 [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.044144816 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.05231089 [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.058429781 [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.075499067 [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.08001514 [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.070619634 [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.042636121 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024826138 seconds Ending run at 17:06:11 UTC on 2024-02-10. Run time = 0.933420795 Run time without initialization = 0.793730631 Average number of zones advanced per microsecond: 3.303 Average number of zones advanced per microsecond per rank: 3.303 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9335 ... 0.9335 ... 0.9335 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2904 0.2904 0.2904 31.11% VisMF::Write(FabArray) 11 0.1726 0.1726 0.1726 18.49% MLCellLinOp::applyBC() 4351 0.08814 0.08814 0.08814 9.44% MLPoisson::Fsmooth() 3280 0.034 0.034 0.034 3.64% FillBoundary_nowait() 3941 0.03258 0.03258 0.03258 3.49% StateData::FillBoundary(geom) 328 0.02729 0.02729 0.02729 2.92% Castro::normalize_species() 62 0.02257 0.02257 0.02257 2.42% amrex::Dot() 1114 0.02171 0.02171 0.02171 2.33% FabArray::norminf() 1061 0.02046 0.02046 0.02046 2.19% Amr::checkPoint() 3 0.02003 0.02003 0.02003 2.15% Castro::computeTemp() 63 0.01543 0.01543 0.01543 1.65% FabArray::ParallelCopy_nowait() 861 0.01376 0.01376 0.01376 1.47% FabArray::setVal() 1062 0.01363 0.01363 0.01363 1.46% FabArray::Saxpy() 1370 0.01334 0.01334 0.01334 1.43% Castro::enforce_min_density() 62 0.01272 0.01272 0.01272 1.36% amrex::Copy() 472 0.0109 0.0109 0.0109 1.17% StateDataPhysBCFunct::() 41 0.01087 0.01087 0.01087 1.16% MLPoisson::Fapply() 1060 0.01056 0.01056 0.01056 1.13% MLCellLinOp::defineAuxData() 11 0.01037 0.01037 0.01037 1.11% Gravity::fill_multipole_BCs() 11 0.008972 0.008972 0.008972 0.96% FabArray::Xpay() 739 0.008019 0.008019 0.008019 0.86% MLMG::addInterpCorrection() 410 0.007144 0.007144 0.007144 0.77% amrex::average_down 410 0.006276 0.006276 0.006276 0.67% Castro::estTimeStep() 21 0.005747 0.005747 0.005747 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005555 0.005555 0.005555 0.60% BndryData::define() 11 0.004055 0.004055 0.004055 0.43% amrex::Add() 82 0.00367 0.00367 0.00367 0.39% Castro::construct_new_gravity_source() 10 0.003462 0.003462 0.003462 0.37% Castro::construct_old_gravity_source() 10 0.002944 0.002944 0.002944 0.32% Amr::writePlotFile() 2 0.002066 0.002066 0.002066 0.22% Castro::enforce_speed_limit() 62 0.001933 0.001933 0.001933 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.19% check_for_negative_density() 10 0.001792 0.001792 0.001792 0.19% Castro::reset_internal_energy(Fab) 504 0.001769 0.001769 0.001769 0.19% MLCGSolver::bicgstab 82 0.001677 0.001677 0.001677 0.18% Gravity::actual_solve_with_mlmg() 11 0.001624 0.001624 0.001624 0.17% MLCellLinOp::setLevelBC() 11 0.001623 0.001623 0.001623 0.17% Castro::initData() 1 0.001534 0.001534 0.001534 0.16% FabArray::mult() 43 0.001391 0.001391 0.001391 0.15% FabArray::setDomainBndry() 41 0.001373 0.001373 0.001373 0.15% MLCellLinOp::prepareForSolve() 11 0.001359 0.001359 0.001359 0.15% MultiFab::contains_nan() 20 0.001274 0.001274 0.001274 0.14% MLCellLinOp::compGrad() 11 0.001112 0.001112 0.001112 0.12% MLCellLinOp::smooth() 1640 0.001103 0.001103 0.001103 0.12% MLMG::prepareForSolve() 11 0.0009989 0.0009989 0.0009989 0.11% FabArray::FillBoundary() 3941 0.0008861 0.0008861 0.0008861 0.09% FabArrayBase::getCPC() 1323 0.0008169 0.0008169 0.0008169 0.09% FabArrayBase::CPC::define() 454 0.0006682 0.0006682 0.0006682 0.07% Gravity::get_new_grav_vector() 11 0.0006214 0.0006214 0.0006214 0.07% FabArrayBase::getFB() 3941 0.0006081 0.0006081 0.0006081 0.07% Amr::InitAmr() 1 0.000553 0.000553 0.000553 0.06% Gravity::get_old_grav_vector() 10 0.0004839 0.0004839 0.0004839 0.05% MLCellLinOp::apply() 1060 0.0004164 0.0004164 0.0004164 0.04% AmrLevel::FillPatch() 41 0.0004155 0.0004155 0.0004155 0.04% Amr::coarseTimeStep() 10 0.0003946 0.0003946 0.0003946 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003514 0.0003514 0.0003514 0.04% MultiFab::max() 11 0.0003383 0.0003383 0.0003383 0.04% MLCellLinOp::defineBC() 11 0.0002911 0.0002911 0.0002911 0.03% main() 1 0.0002851 0.0002851 0.0002851 0.03% FabArray::ParallelCopy() 861 0.0002482 0.0002482 0.0002482 0.03% FillPatchIterator::Initialize 41 0.0002166 0.0002166 0.0002166 0.02% MLMG::mgVcycle() 82 0.0001932 0.0001932 0.0001932 0.02% Castro::create_source_corrector() 10 0.0001805 0.0001805 0.0001805 0.02% MLCellLinOp::correctionResidual() 410 0.0001786 0.0001786 0.0001786 0.02% Castro::subcycle_advance_ctu() 10 0.0001649 0.0001649 0.0001649 0.02% MLLinOp::defineGrids() 11 0.0001625 0.0001625 0.0001625 0.02% Amr::timeStep() 10 0.0001578 0.0001578 0.0001578 0.02% StateData::checkPoint() 12 0.0001347 0.0001347 0.0001347 0.01% Gravity::update_max_rhs() 11 0.0001299 0.0001299 0.0001299 0.01% MLMG:computeResOfCorrection() 410 0.0001112 0.0001112 0.0001112 0.01% Gravity::solve_for_phi() 10 0.0001084 0.0001084 0.0001084 0.01% Castro::construct_new_source() 50 9.863e-05 9.863e-05 9.863e-05 0.01% MLMG::actualBottomSolve() 82 9.656e-05 9.656e-05 9.656e-05 0.01% FabArrayBase::FB::FB() 56 9.281e-05 9.281e-05 9.281e-05 0.01% MLMG::mgVcycle_down::0 82 8.828e-05 8.828e-05 8.828e-05 0.01% Castro::Castro() 1 8.585e-05 8.585e-05 8.585e-05 0.01% MLMG::mgVcycle_down::1 82 8.516e-05 8.516e-05 8.516e-05 0.01% MLMG::mgVcycle_down::2 82 8.321e-05 8.321e-05 8.321e-05 0.01% Castro::initialize_advance() 10 8.182e-05 8.182e-05 8.182e-05 0.01% MLMG::mgVcycle_down::4 82 7.986e-05 7.986e-05 7.986e-05 0.01% AmrLevel::checkPoint() 3 7.869e-05 7.869e-05 7.869e-05 0.01% MLMG::mgVcycle_down::3 82 7.75e-05 7.75e-05 7.75e-05 0.01% MLMG::solve() 11 7.345e-05 7.345e-05 7.345e-05 0.01% Castro::clean_state() 62 7.019e-05 7.019e-05 7.019e-05 0.01% Castro::finalize_advance() 10 6.487e-05 6.487e-05 6.487e-05 0.01% Castro::enforce_consistent_e() 1 6.454e-05 6.454e-05 6.454e-05 0.01% Castro::initialize_do_advance() 10 6.289e-05 6.289e-05 6.289e-05 0.01% Castro::post_timestep() 10 6.028e-05 6.028e-05 6.028e-05 0.01% MLMG::mgVcycle_up::4 82 5.95e-05 5.95e-05 5.95e-05 0.01% MLMG::mgVcycle_up::0 82 5.613e-05 5.613e-05 5.613e-05 0.01% Castro::finalize_do_advance() 10 5.354e-05 5.354e-05 5.354e-05 0.01% MLMG::oneIter() 82 5.322e-05 5.322e-05 5.322e-05 0.01% MLMG::mgVcycle_up::3 82 5.26e-05 5.26e-05 5.26e-05 0.01% MLCellLinOp::solutionResidual() 93 5.066e-05 5.066e-05 5.066e-05 0.01% MLMG::mgVcycle_up::1 82 5.042e-05 5.042e-05 5.042e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.963e-05 4.963e-05 4.963e-05 0.01% MLMG::mgVcycle_up::2 82 4.934e-05 4.934e-05 4.934e-05 0.01% Castro::do_advance_ctu() 10 4.701e-05 4.701e-05 4.701e-05 0.01% Castro::advance() 10 4.568e-05 4.568e-05 4.568e-05 0.00% MLMG::ResNormInf() 93 3.82e-05 3.82e-05 3.82e-05 0.00% Castro::swap_state_time_levels() 10 3.723e-05 3.723e-05 3.723e-05 0.00% StateData::define() 4 3.583e-05 3.583e-05 3.583e-05 0.00% FillPatchSingleLevel 41 3.408e-05 3.408e-05 3.408e-05 0.00% MLMG::mgVcycle_bottom 82 3.388e-05 3.388e-05 3.388e-05 0.00% MLMG::computeResidual() 82 3.276e-05 3.276e-05 3.276e-05 0.00% Castro::initMFs() 1 3.146e-05 3.146e-05 3.146e-05 0.00% Amr::writeSmallPlotFile() 1 3.059e-05 3.059e-05 3.059e-05 0.00% Amr::defBaseLevel() 1 3.054e-05 3.054e-05 3.054e-05 0.00% makeSFC 55 2.737e-05 2.737e-05 2.737e-05 0.00% Castro::construct_new_gravity() 10 2.692e-05 2.692e-05 2.692e-05 0.00% Castro::buildMetrics() 1 2.61e-05 2.61e-05 2.61e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.585e-05 2.585e-05 2.585e-05 0.00% Castro::do_old_sources() 10 2.281e-05 2.281e-05 2.281e-05 0.00% MLPoisson::define() 11 2.121e-05 2.121e-05 2.121e-05 0.00% Castro::do_new_sources() 10 2.066e-05 2.066e-05 2.066e-05 0.00% Amr::FinalizeInit() 1 1.985e-05 1.985e-05 1.985e-05 0.00% Castro::construct_old_source() 50 1.846e-05 1.846e-05 1.846e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.808e-05 1.808e-05 1.808e-05 0.00% DistributionMapping::Distribute() 56 1.688e-05 1.688e-05 1.688e-05 0.00% Amr::initSubcycle() 1 1.661e-05 1.661e-05 1.661e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.469e-05 1.469e-05 1.469e-05 0.00% MLLinOp::define() 11 1.453e-05 1.453e-05 1.453e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.345e-05 1.345e-05 1.345e-05 0.00% MLPoisson::prepareForSolve() 11 1.316e-05 1.316e-05 1.316e-05 0.00% Castro::apply_source_to_state() 20 1.254e-05 1.254e-05 1.254e-05 0.00% Castro::construct_old_gravity() 10 1.199e-05 1.199e-05 1.199e-05 0.00% Castro::check_for_nan() 20 1.165e-05 1.165e-05 1.165e-05 0.00% Castro::post_init() 1 9.69e-06 9.69e-06 9.69e-06 0.00% Gravity::swapTimeLevels() 10 9.192e-06 9.192e-06 9.192e-06 0.00% MLMG::computeMLResidual() 11 8.461e-06 8.461e-06 8.461e-06 0.00% Gravity::actual_multilevel_solve() 1 7.884e-06 7.884e-06 7.884e-06 0.00% Castro::computeNewDt() 9 6.506e-06 6.506e-06 6.506e-06 0.00% Castro::expand_state() 10 5.936e-06 5.936e-06 5.936e-06 0.00% MLMG::getGradSolution() 11 5.487e-06 5.487e-06 5.487e-06 0.00% Amr::InitializeInit() 1 5.216e-06 5.216e-06 5.216e-06 0.00% Gravity::set_mass_offset() 11 4.652e-06 4.652e-06 4.652e-06 0.00% AmrLevel::checkPointPost() 3 4.599e-06 4.599e-06 4.599e-06 0.00% MLMG::MLRhsNormInf() 11 4.163e-06 4.163e-06 4.163e-06 0.00% Castro::retry_advance_ctu() 10 4.044e-06 4.044e-06 4.044e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.86e-06 3.86e-06 3.86e-06 0.00% MLMG::MLResNormInf() 11 3.823e-06 3.823e-06 3.823e-06 0.00% AmrLevel::checkPointPre() 3 3.457e-06 3.457e-06 3.457e-06 0.00% Castro::FluxRegCrseInit 10 2.962e-06 2.962e-06 2.962e-06 0.00% Castro::computeInitialDt() 2 2.841e-06 2.841e-06 2.841e-06 0.00% Amr::init() 1 2.701e-06 2.701e-06 2.701e-06 0.00% Castro::FluxRegFineAdd() 10 2.382e-06 2.382e-06 2.382e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.961e-06 1.961e-06 1.961e-06 0.00% Castro::post_regrid() 1 1.18e-06 1.18e-06 1.18e-06 0.00% Amr::initialInit() 1 1.036e-06 1.036e-06 1.036e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9334 0.9334 0.9334 100.00% Amr::coarseTimeStep() 10 0.7687 0.7687 0.7687 82.35% Amr::timeStep() 10 0.6782 0.6782 0.6782 72.66% Castro::advance() 10 0.6675 0.6675 0.6675 71.51% Castro::subcycle_advance_ctu() 10 0.6529 0.6529 0.6529 69.94% Castro::do_advance_ctu() 10 0.6527 0.6527 0.6527 69.93% Gravity::solve_phi_with_mlmg() 11 0.3063 0.3063 0.3063 32.82% Castro::construct_ctu_hydro_source() 10 0.3013 0.3013 0.3013 32.27% Gravity::actual_solve_with_mlmg() 11 0.2969 0.2969 0.2969 31.80% Castro::construct_new_gravity() 10 0.2769 0.2769 0.2769 29.66% MLMG::solve() 11 0.2746 0.2746 0.2746 29.41% Gravity::solve_for_phi() 10 0.2606 0.2606 0.2606 27.91% MLMG::oneIter() 82 0.2588 0.2588 0.2588 27.72% MLMG::mgVcycle() 82 0.255 0.255 0.255 27.32% VisMF::Write(FabArray) 11 0.1726 0.1726 0.1726 18.49% Amr::checkPoint() 3 0.1457 0.1457 0.1457 15.61% Amr::init() 1 0.139 0.139 0.139 14.89% MLCellLinOp::smooth() 1640 0.1308 0.1308 0.1308 14.02% AmrLevel::checkPoint() 3 0.1256 0.1256 0.1256 13.46% StateData::checkPoint() 12 0.1256 0.1256 0.1256 13.45% MLCellLinOp::applyBC() 4351 0.1223 0.1223 0.1223 13.10% MLMG::mgVcycle_bottom 82 0.07422 0.07422 0.07422 7.95% MLMG::actualBottomSolve() 82 0.07419 0.07419 0.07419 7.95% MLCGSolver::bicgstab 82 0.07335 0.07335 0.07335 7.86% Castro::clean_state() 62 0.05892 0.05892 0.05892 6.31% Amr::initialInit() 1 0.05531 0.05531 0.05531 5.93% Amr::FinalizeInit() 1 0.05007 0.05007 0.05007 5.36% Amr::writePlotFile() 2 0.04973 0.04973 0.04973 5.33% Castro::post_init() 1 0.04852 0.04852 0.04852 5.20% AmrLevel::FillPatch() 41 0.04821 0.04821 0.04821 5.16% Gravity::multilevel_solve_for_new_phi() 1 0.04618 0.04618 0.04618 4.95% Gravity::actual_multilevel_solve() 1 0.04616 0.04616 0.04616 4.95% FillPatchIterator::Initialize 41 0.04391 0.04391 0.04391 4.70% FillPatchIterator::FillFromLevel0() 41 0.04232 0.04232 0.04232 4.53% FillPatchSingleLevel 41 0.04227 0.04227 0.04227 4.53% StateDataPhysBCFunct::() 41 0.03817 0.03817 0.03817 4.09% MLCellLinOp::apply() 1060 0.03705 0.03705 0.03705 3.97% MLMG::mgVcycle_down::0 82 0.03588 0.03588 0.03588 3.84% FabArray::FillBoundary() 3941 0.03417 0.03417 0.03417 3.66% MLPoisson::Fsmooth() 3280 0.034 0.034 0.034 3.64% FillBoundary_nowait() 3941 0.03328 0.03328 0.03328 3.57% StateData::FillBoundary(geom) 328 0.02729 0.02729 0.02729 2.92% MLMG::mgVcycle_up::0 82 0.02728 0.02728 0.02728 2.92% Castro::computeTemp() 63 0.02275 0.02275 0.02275 2.44% Castro::normalize_species() 62 0.02257 0.02257 0.02257 2.42% amrex::Dot() 1114 0.02171 0.02171 0.02171 2.33% Castro::initialize_do_advance() 10 0.02157 0.02157 0.02157 2.31% MLMG:computeResOfCorrection() 410 0.02096 0.02096 0.02096 2.25% MLCellLinOp::correctionResidual() 410 0.02085 0.02085 0.02085 2.23% FabArray::norminf() 1061 0.02046 0.02046 0.02046 2.19% Castro::do_old_sources() 10 0.01947 0.01947 0.01947 2.09% MLMG::mgVcycle_up::1 82 0.01866 0.01866 0.01866 2.00% Gravity::get_new_grav_vector() 11 0.0182 0.0182 0.0182 1.95% MLPoisson::define() 11 0.01745 0.01745 0.01745 1.87% MLMG::mgVcycle_down::1 82 0.0169 0.0169 0.0169 1.81% MLMG::mgVcycle_down::2 82 0.0157 0.0157 0.0157 1.68% Castro::construct_old_gravity() 10 0.01566 0.01566 0.01566 1.68% Gravity::get_old_grav_vector() 10 0.01565 0.01565 0.01565 1.68% MLMG::mgVcycle_down::3 82 0.0153 0.0153 0.0153 1.64% MLMG::mgVcycle_down::4 82 0.01522 0.01522 0.01522 1.63% FabArray::ParallelCopy() 861 0.01482 0.01482 0.01482 1.59% Castro::do_new_sources() 10 0.01458 0.01458 0.01458 1.56% FabArray::ParallelCopy_nowait() 861 0.01457 0.01457 0.01457 1.56% Castro::initialize_advance() 10 0.01399 0.01399 0.01399 1.50% FabArray::setVal() 1062 0.01363 0.01363 0.01363 1.46% FabArray::Saxpy() 1370 0.01334 0.01334 0.01334 1.43% MLCGSolver::ParallelAllReduce 1832 0.01308 0.01308 0.01308 1.40% Castro::enforce_min_density() 62 0.01272 0.01272 0.01272 1.36% MLMG::addInterpCorrection() 410 0.0125 0.0125 0.0125 1.34% MLMG::mgVcycle_up::4 82 0.01211 0.01211 0.01211 1.30% MLMG::mgVcycle_up::2 82 0.01192 0.01192 0.01192 1.28% MLCellLinOp::defineAuxData() 11 0.0118 0.0118 0.0118 1.26% Castro::expand_state() 10 0.01173 0.01173 0.01173 1.26% amrex::average_down 410 0.01167 0.01167 0.01167 1.25% MLMG::mgVcycle_up::3 82 0.01166 0.01166 0.01166 1.25% amrex::Copy() 472 0.0109 0.0109 0.0109 1.17% MLPoisson::Fapply() 1060 0.01056 0.01056 0.01056 1.13% Castro::post_timestep() 10 0.01054 0.01054 0.01054 1.13% Gravity::fill_multipole_BCs() 11 0.009211 0.009211 0.009211 0.99% FabArray::Xpay() 739 0.008019 0.008019 0.008019 0.86% MLCellLinOp::solutionResidual() 93 0.007862 0.007862 0.007862 0.84% Castro::reset_internal_energy(MultiFab) 63 0.007323 0.007323 0.007323 0.78% MLMG::computeResidual() 82 0.006554 0.006554 0.006554 0.70% Castro::estTimeStep() 21 0.005747 0.005747 0.005747 0.62% MLCellLinOp::defineBC() 11 0.005385 0.005385 0.005385 0.58% MLMG::prepareForSolve() 11 0.005299 0.005299 0.005299 0.57% Amr::InitializeInit() 1 0.005242 0.005242 0.005242 0.56% Amr::defBaseLevel() 1 0.005236 0.005236 0.005236 0.56% BndryData::define() 11 0.005094 0.005094 0.005094 0.55% Castro::initData() 1 0.00457 0.00457 0.00457 0.49% amrex::Add() 82 0.00367 0.00367 0.00367 0.39% Castro::construct_new_source() 50 0.003561 0.003561 0.003561 0.38% Castro::construct_new_gravity_source() 10 0.003462 0.003462 0.003462 0.37% Castro::construct_old_source() 50 0.002962 0.002962 0.002962 0.32% Castro::construct_old_gravity_source() 10 0.002944 0.002944 0.002944 0.32% Castro::computeNewDt() 9 0.00242 0.00242 0.00242 0.26% Castro::finalize_do_advance() 10 0.002342 0.002342 0.002342 0.25% MLMG::ResNormInf() 93 0.002281 0.002281 0.002281 0.24% Castro::enforce_speed_limit() 62 0.001933 0.001933 0.001933 0.21% Castro::apply_source_to_state() 20 0.001873 0.001873 0.001873 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.19% check_for_negative_density() 10 0.001792 0.001792 0.001792 0.19% Castro::reset_internal_energy(Fab) 504 0.001769 0.001769 0.001769 0.19% MLCellLinOp::setLevelBC() 11 0.001623 0.001623 0.001623 0.17% MLMG::getGradSolution() 11 0.001615 0.001615 0.001615 0.17% MLCellLinOp::compGrad() 11 0.001609 0.001609 0.001609 0.17% FabArrayBase::getCPC() 1323 0.001485 0.001485 0.001485 0.16% FabArray::mult() 43 0.001391 0.001391 0.001391 0.15% FabArray::setDomainBndry() 41 0.001373 0.001373 0.001373 0.15% MLPoisson::prepareForSolve() 11 0.001373 0.001373 0.001373 0.15% MLCellLinOp::prepareForSolve() 11 0.001359 0.001359 0.001359 0.15% MLMG::computeMLResidual() 11 0.001349 0.001349 0.001349 0.14% Castro::check_for_nan() 20 0.001285 0.001285 0.001285 0.14% MultiFab::contains_nan() 20 0.001274 0.001274 0.001274 0.14% Castro::post_regrid() 1 0.001248 0.001248 0.001248 0.13% Castro::computeInitialDt() 2 0.001048 0.001048 0.001048 0.11% Gravity::update_max_rhs() 11 0.001014 0.001014 0.001014 0.11% FabArrayBase::getFB() 3941 0.0007009 0.0007009 0.0007009 0.08% FabArrayBase::CPC::define() 454 0.0006682 0.0006682 0.0006682 0.07% Castro::finalize_advance() 10 0.0006036 0.0006036 0.0006036 0.06% Castro::Castro() 1 0.0005801 0.0005801 0.0005801 0.06% Amr::InitAmr() 1 0.0005696 0.0005696 0.0005696 0.06% Gravity::swapTimeLevels() 10 0.0004739 0.0004739 0.0004739 0.05% MLMG::MLResNormInf() 11 0.0003419 0.0003419 0.0003419 0.04% MultiFab::max() 11 0.0003383 0.0003383 0.0003383 0.04% Castro::buildMetrics() 1 0.0002904 0.0002904 0.0002904 0.03% MLMG::MLRhsNormInf() 11 0.0002384 0.0002384 0.0002384 0.03% MLLinOp::define() 11 0.0002355 0.0002355 0.0002355 0.03% MLLinOp::defineGrids() 11 0.000221 0.000221 0.000221 0.02% Castro::create_source_corrector() 10 0.0001805 0.0001805 0.0001805 0.02% FabArrayBase::FB::FB() 56 9.281e-05 9.281e-05 9.281e-05 0.01% Castro::enforce_consistent_e() 1 6.454e-05 6.454e-05 6.454e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.659e-05 5.659e-05 5.659e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.051e-05 5.051e-05 5.051e-05 0.01% makeSFC 55 4.314e-05 4.314e-05 4.314e-05 0.00% Castro::swap_state_time_levels() 10 3.723e-05 3.723e-05 3.723e-05 0.00% StateData::define() 4 3.583e-05 3.583e-05 3.583e-05 0.00% Castro::initMFs() 1 3.146e-05 3.146e-05 3.146e-05 0.00% Amr::writeSmallPlotFile() 1 3.059e-05 3.059e-05 3.059e-05 0.00% DistributionMapping::Distribute() 56 1.688e-05 1.688e-05 1.688e-05 0.00% Amr::initSubcycle() 1 1.661e-05 1.661e-05 1.661e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.97e-06 4.97e-06 4.97e-06 0.00% Gravity::set_mass_offset() 11 4.652e-06 4.652e-06 4.652e-06 0.00% AmrLevel::checkPointPost() 3 4.599e-06 4.599e-06 4.599e-06 0.00% Castro::retry_advance_ctu() 10 4.044e-06 4.044e-06 4.044e-06 0.00% AmrLevel::checkPointPre() 3 3.457e-06 3.457e-06 3.457e-06 0.00% Castro::FluxRegCrseInit 10 2.962e-06 2.962e-06 2.962e-06 0.00% Castro::FluxRegFineAdd() 10 2.382e-06 2.382e-06 2.382e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.961e-06 1.961e-06 1.961e-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 96 MiB 9042 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 994 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1487 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 3617 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 202 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2105 B 2048 KiB Gravity::solve_for_phi() 80 80 571 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 330 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 210 KiB 671 KiB Castro::estTimeStep() 21 21 3003 B 480 KiB VisMF::Write(FabArray) 656 656 3319 B 320 KiB Castro::normalize_species() 62 62 7880 B 320 KiB amrex::average_down 1067 1067 1241 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1150 B 257 KiB amrex::Dot() 1360 1360 3440 B 160 KiB FabArray::norminf() 1143 1143 3388 B 160 KiB check_for_negative_density() 10 10 308 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3532 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 8702 8702 226 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3898 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 372 B 1248 B MLCGSolver::bicgstab 410 410 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 487 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 402 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3532 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 307 B 9648 B MLCellLinOp::applyBC() 4351 4351 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3898 B 6144 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 301 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 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): 2167 [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.02-7-g798ca3356d16) finalized Initializing AMReX (24.02-7-g798ca3356d16)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-7-g798ca3356d16) initialized Starting run at 17:06:12 UTC on 2024-02-10. Successfully read inputs file ... Castro git describe: 24.02-13-g80422fc1c AMReX git describe: 24.02-7-g798ca3356 Microphysics git describe: 24.02-11-g348ca2f5 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.528471038 Restart time = 0.07117495 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.069792392 [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.050725649 [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.063544678 [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.077383426 [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.082090413 [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.028218798 seconds Ending run at 17:06:12 UTC on 2024-02-10. Run time = 0.444055436 Run time without initialization = 0.372231217 Average number of zones advanced per microsecond: 3.521 Average number of zones advanced per microsecond per rank: 3.521 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4441 ... 0.4441 ... 0.4441 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1435 0.1435 0.1435 32.31% VisMF::Read() 3 0.05961 0.05961 0.05961 13.42% MLCellLinOp::applyBC() 1910 0.0423 0.0423 0.0423 9.53% VisMF::Write(FabArray) 1 0.0256 0.0256 0.0256 5.77% MLPoisson::Fsmooth() 1440 0.01515 0.01515 0.01515 3.41% FillBoundary_nowait() 1730 0.01321 0.01321 0.01321 2.97% StateData::FillBoundary(geom) 160 0.01311 0.01311 0.01311 2.95% amrex::Dot() 484 0.009311 0.009311 0.009311 2.10% Castro::normalize_species() 30 0.009297 0.009297 0.009297 2.09% FabArray::norminf() 465 0.008734 0.008734 0.008734 1.97% Castro::computeTemp() 30 0.006794 0.006794 0.006794 1.53% FabArray::setVal() 501 0.006611 0.006611 0.006611 1.49% FabArray::ParallelCopy_nowait() 380 0.006207 0.006207 0.006207 1.40% FabArray::Saxpy() 597 0.0059 0.0059 0.0059 1.33% MLCellLinOp::defineAuxData() 6 0.005654 0.005654 0.005654 1.27% amrex::Copy() 221 0.005481 0.005481 0.005481 1.23% Gravity::fill_multipole_BCs() 6 0.005165 0.005165 0.005165 1.16% Castro::enforce_min_density() 30 0.005113 0.005113 0.005113 1.15% Amr::restart() 1 0.004682 0.004682 0.004682 1.05% StateDataPhysBCFunct::() 20 0.004558 0.004558 0.004558 1.03% MLPoisson::Fapply() 464 0.004555 0.004555 0.004555 1.03% Castro::estTimeStep() 10 0.003827 0.003827 0.003827 0.86% FabArray::Xpay() 325 0.003532 0.003532 0.003532 0.80% MLMG::addInterpCorrection() 180 0.003181 0.003181 0.003181 0.72% amrex::average_down 180 0.002776 0.002776 0.002776 0.63% Amr::writePlotFile() 1 0.002452 0.002452 0.002452 0.55% BndryData::define() 6 0.002226 0.002226 0.002226 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002163 0.002163 0.002163 0.49% Castro::subcycle_advance_ctu() 5 0.001866 0.001866 0.001866 0.42% Castro::construct_new_gravity_source() 5 0.00182 0.00182 0.00182 0.41% amrex::Add() 36 0.001584 0.001584 0.001584 0.36% Castro::construct_old_gravity_source() 5 0.001513 0.001513 0.001513 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009902 0.0009902 0.0009902 0.22% check_for_negative_density() 5 0.0009519 0.0009519 0.0009519 0.21% MLCellLinOp::setLevelBC() 6 0.0008941 0.0008941 0.0008941 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008786 0.0008786 0.0008786 0.20% Castro::reset_internal_energy(Fab) 240 0.0008226 0.0008226 0.0008226 0.19% MLCellLinOp::prepareForSolve() 6 0.0007591 0.0007591 0.0007591 0.17% MLCGSolver::bicgstab 36 0.0007325 0.0007325 0.0007325 0.16% FabArray::setDomainBndry() 20 0.0007152 0.0007152 0.0007152 0.16% FabArray::mult() 22 0.0007041 0.0007041 0.0007041 0.16% MultiFab::contains_nan() 10 0.0006546 0.0006546 0.0006546 0.15% MLCellLinOp::compGrad() 6 0.0006339 0.0006339 0.0006339 0.14% MLMG::prepareForSolve() 6 0.0005597 0.0005597 0.0005597 0.13% Castro::enforce_speed_limit() 30 0.0005194 0.0005194 0.0005194 0.12% MLCellLinOp::smooth() 720 0.0005102 0.0005102 0.0005102 0.11% Amr::InitAmr() 1 0.0004818 0.0004818 0.0004818 0.11% FabArrayBase::CPC::define() 244 0.0004268 0.0004268 0.0004268 0.10% FabArrayBase::getCPC() 632 0.0003783 0.0003783 0.0003783 0.09% FabArray::FillBoundary() 1730 0.000376 0.000376 0.000376 0.08% Gravity::get_old_grav_vector() 5 0.0003004 0.0003004 0.0003004 0.07% main() 1 0.000293 0.000293 0.000293 0.07% FabArrayBase::getFB() 1730 0.0002707 0.0002707 0.0002707 0.06% Gravity::get_new_grav_vector() 5 0.0002468 0.0002468 0.0002468 0.06% MultiFab::max() 6 0.0002089 0.0002089 0.0002089 0.05% AmrLevel::FillPatch() 20 0.000202 0.000202 0.000202 0.05% Amr::coarseTimeStep() 5 0.0001936 0.0001936 0.0001936 0.04% MLCellLinOp::apply() 464 0.0001869 0.0001869 0.0001869 0.04% MLCGSolver::ParallelAllReduce 798 0.000158 0.000158 0.000158 0.04% MLCellLinOp::defineBC() 6 0.0001577 0.0001577 0.0001577 0.04% FabArray::ParallelCopy() 380 0.0001098 0.0001098 0.0001098 0.02% FillPatchIterator::Initialize 20 0.0001084 0.0001084 0.0001084 0.02% Amr::timeStep() 5 0.000107 0.000107 0.000107 0.02% MLLinOp::defineGrids() 6 9.575e-05 9.575e-05 9.575e-05 0.02% MLMG::mgVcycle() 36 9.075e-05 9.075e-05 9.075e-05 0.02% Castro::create_source_corrector() 5 8.643e-05 8.643e-05 8.643e-05 0.02% Castro::construct_new_source() 25 7.748e-05 7.748e-05 7.748e-05 0.02% MLCellLinOp::correctionResidual() 180 7.568e-05 7.568e-05 7.568e-05 0.02% AmrLevel::restart() 1 7.259e-05 7.259e-05 7.259e-05 0.02% StateData::restartDoit() 4 7.226e-05 7.226e-05 7.226e-05 0.02% Castro::finalize_do_advance() 5 6.972e-05 6.972e-05 6.972e-05 0.02% FabArrayBase::FB::FB() 26 6.965e-05 6.965e-05 6.965e-05 0.02% Gravity::update_max_rhs() 6 6.726e-05 6.726e-05 6.726e-05 0.02% Gravity::solve_for_phi() 5 6.078e-05 6.078e-05 6.078e-05 0.01% Castro::advance() 5 5.63e-05 5.63e-05 5.63e-05 0.01% MLMG:computeResOfCorrection() 180 4.853e-05 4.853e-05 4.853e-05 0.01% Castro::finalize_advance() 5 4.223e-05 4.223e-05 4.223e-05 0.01% MLMG::actualBottomSolve() 36 4.036e-05 4.036e-05 4.036e-05 0.01% MLMG::mgVcycle_down::0 36 3.916e-05 3.916e-05 3.916e-05 0.01% MLMG::mgVcycle_down::1 36 3.837e-05 3.837e-05 3.837e-05 0.01% Castro::initialize_advance() 5 3.692e-05 3.692e-05 3.692e-05 0.01% MLMG::mgVcycle_down::2 36 3.6e-05 3.6e-05 3.6e-05 0.01% Castro::do_new_sources() 5 3.569e-05 3.569e-05 3.569e-05 0.01% MLMG::mgVcycle_down::4 36 3.434e-05 3.434e-05 3.434e-05 0.01% Castro::construct_old_source() 25 3.396e-05 3.396e-05 3.396e-05 0.01% MLMG::solve() 6 3.353e-05 3.353e-05 3.353e-05 0.01% Castro::post_timestep() 5 3.313e-05 3.313e-05 3.313e-05 0.01% MLMG::mgVcycle_down::3 36 3.302e-05 3.302e-05 3.302e-05 0.01% Amr::writeSmallPlotFile() 1 3.156e-05 3.156e-05 3.156e-05 0.01% Castro::initialize_do_advance() 5 3.092e-05 3.092e-05 3.092e-05 0.01% Castro::clean_state() 30 3.086e-05 3.086e-05 3.086e-05 0.01% Castro::post_restart() 1 3.065e-05 3.065e-05 3.065e-05 0.01% Castro::buildMetrics() 1 2.845e-05 2.845e-05 2.845e-05 0.01% MLMG::mgVcycle_up::4 36 2.709e-05 2.709e-05 2.709e-05 0.01% Castro::swap_state_time_levels() 5 2.536e-05 2.536e-05 2.536e-05 0.01% Castro::initMFs() 1 2.476e-05 2.476e-05 2.476e-05 0.01% MLMG::mgVcycle_up::0 36 2.426e-05 2.426e-05 2.426e-05 0.01% Castro::do_advance_ctu() 5 2.415e-05 2.415e-05 2.415e-05 0.01% MLMG::mgVcycle_up::3 36 2.342e-05 2.342e-05 2.342e-05 0.01% MLMG::mgVcycle_up::1 36 2.334e-05 2.334e-05 2.334e-05 0.01% MLMG::oneIter() 36 2.3e-05 2.3e-05 2.3e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.268e-05 2.268e-05 2.268e-05 0.01% MLCellLinOp::solutionResidual() 42 2.259e-05 2.259e-05 2.259e-05 0.01% MLMG::mgVcycle_up::2 36 2.256e-05 2.256e-05 2.256e-05 0.01% MLMG::ResNormInf() 42 2.034e-05 2.034e-05 2.034e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.834e-05 1.834e-05 1.834e-05 0.00% Castro::construct_new_gravity() 5 1.583e-05 1.583e-05 1.583e-05 0.00% FillPatchSingleLevel 20 1.546e-05 1.546e-05 1.546e-05 0.00% MLMG::mgVcycle_bottom 36 1.52e-05 1.52e-05 1.52e-05 0.00% MLMG::computeResidual() 36 1.463e-05 1.463e-05 1.463e-05 0.00% makeSFC 30 1.45e-05 1.45e-05 1.45e-05 0.00% MLPoisson::define() 6 1.433e-05 1.433e-05 1.433e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.395e-05 1.395e-05 1.395e-05 0.00% Castro::do_old_sources() 5 1.154e-05 1.154e-05 1.154e-05 0.00% DistributionMapping::Distribute() 31 1.012e-05 1.012e-05 1.012e-05 0.00% MLPoisson::prepareForSolve() 6 8.939e-06 8.939e-06 8.939e-06 0.00% Gravity::actual_multilevel_solve() 1 8.464e-06 8.464e-06 8.464e-06 0.00% Amr::initSubcycle() 1 8.179e-06 8.179e-06 8.179e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.704e-06 7.704e-06 7.704e-06 0.00% Castro::check_for_nan() 10 7.333e-06 7.333e-06 7.333e-06 0.00% MLLinOp::define() 6 6.498e-06 6.498e-06 6.498e-06 0.00% Castro::construct_old_gravity() 5 6.313e-06 6.313e-06 6.313e-06 0.00% Castro::apply_source_to_state() 10 5.798e-06 5.798e-06 5.798e-06 0.00% Gravity::swapTimeLevels() 5 4.294e-06 4.294e-06 4.294e-06 0.00% Castro::retry_advance_ctu() 5 4.203e-06 4.203e-06 4.203e-06 0.00% MLMG::getGradSolution() 6 4.178e-06 4.178e-06 4.178e-06 0.00% MLMG::computeMLResidual() 6 4.123e-06 4.123e-06 4.123e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.231e-06 3.231e-06 3.231e-06 0.00% Castro::expand_state() 5 3.132e-06 3.132e-06 3.132e-06 0.00% Castro::computeNewDt() 5 3.079e-06 3.079e-06 3.079e-06 0.00% Castro::FluxRegCrseInit 5 2.778e-06 2.778e-06 2.778e-06 0.00% MLMG::MLResNormInf() 6 2.51e-06 2.51e-06 2.51e-06 0.00% Gravity::set_mass_offset() 6 2.372e-06 2.372e-06 2.372e-06 0.00% MLMG::MLRhsNormInf() 6 2.288e-06 2.288e-06 2.288e-06 0.00% Castro::FluxRegFineAdd() 5 2.104e-06 2.104e-06 2.104e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.083e-06 1.083e-06 1.083e-06 0.00% Amr::init() 1 1.055e-06 1.055e-06 1.055e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4441 0.4441 0.4441 100.00% Amr::coarseTimeStep() 5 0.3437 0.3437 0.3437 77.40% Amr::timeStep() 5 0.3407 0.3407 0.3407 76.72% Castro::advance() 5 0.337 0.337 0.337 75.88% Castro::subcycle_advance_ctu() 5 0.3304 0.3304 0.3304 74.40% Castro::do_advance_ctu() 5 0.3285 0.3285 0.3285 73.98% Castro::construct_ctu_hydro_source() 5 0.149 0.149 0.149 33.55% Castro::construct_new_gravity() 5 0.1435 0.1435 0.1435 32.32% Gravity::solve_phi_with_mlmg() 6 0.1409 0.1409 0.1409 31.72% Gravity::actual_solve_with_mlmg() 6 0.1355 0.1355 0.1355 30.50% Gravity::solve_for_phi() 5 0.1351 0.1351 0.1351 30.42% MLMG::solve() 6 0.1232 0.1232 0.1232 27.74% MLMG::oneIter() 36 0.1154 0.1154 0.1154 25.99% MLMG::mgVcycle() 36 0.1138 0.1138 0.1138 25.63% Amr::init() 1 0.07122 0.07122 0.07122 16.04% Amr::restart() 1 0.07122 0.07122 0.07122 16.04% MLCellLinOp::smooth() 720 0.06025 0.06025 0.06025 13.57% AmrLevel::restart() 1 0.05997 0.05997 0.05997 13.50% StateData::restartDoit() 4 0.0599 0.0599 0.0599 13.49% VisMF::Read() 3 0.05961 0.05961 0.05961 13.42% MLCellLinOp::applyBC() 1910 0.05622 0.05622 0.05622 12.66% MLMG::mgVcycle_bottom 36 0.03183 0.03183 0.03183 7.17% MLMG::actualBottomSolve() 36 0.03181 0.03181 0.03181 7.16% MLCGSolver::bicgstab 36 0.03144 0.03144 0.03144 7.08% Amr::writePlotFile() 1 0.02831 0.02831 0.02831 6.38% VisMF::Write(FabArray) 1 0.0256 0.0256 0.0256 5.77% Castro::clean_state() 30 0.02474 0.02474 0.02474 5.57% AmrLevel::FillPatch() 20 0.0227 0.0227 0.0227 5.11% FillPatchIterator::Initialize 20 0.02058 0.02058 0.02058 4.63% FillPatchIterator::FillFromLevel0() 20 0.01976 0.01976 0.01976 4.45% FillPatchSingleLevel 20 0.01974 0.01974 0.01974 4.44% StateDataPhysBCFunct::() 20 0.01767 0.01767 0.01767 3.98% MLCellLinOp::apply() 464 0.0161 0.0161 0.0161 3.63% MLMG::mgVcycle_down::0 36 0.01522 0.01522 0.01522 3.43% MLPoisson::Fsmooth() 1440 0.01515 0.01515 0.01515 3.41% FabArray::FillBoundary() 1730 0.01392 0.01392 0.01392 3.14% FillBoundary_nowait() 1730 0.01355 0.01355 0.01355 3.05% StateData::FillBoundary(geom) 160 0.01311 0.01311 0.01311 2.95% MLMG::mgVcycle_up::2 36 0.01182 0.01182 0.01182 2.66% MLMG::mgVcycle_up::0 36 0.01147 0.01147 0.01147 2.58% Castro::initialize_do_advance() 5 0.01045 0.01045 0.01045 2.35% Castro::do_old_sources() 5 0.009937 0.009937 0.009937 2.24% Castro::computeTemp() 30 0.00978 0.00978 0.00978 2.20% MLPoisson::define() 6 0.00958 0.00958 0.00958 2.16% amrex::Dot() 484 0.009311 0.009311 0.009311 2.10% Castro::normalize_species() 30 0.009297 0.009297 0.009297 2.09% MLMG:computeResOfCorrection() 180 0.008998 0.008998 0.008998 2.03% MLCellLinOp::correctionResidual() 180 0.00895 0.00895 0.00895 2.02% FabArray::norminf() 465 0.008734 0.008734 0.008734 1.97% Gravity::get_new_grav_vector() 5 0.0083 0.0083 0.0083 1.87% Castro::construct_old_gravity() 5 0.00766 0.00766 0.00766 1.72% Gravity::get_old_grav_vector() 5 0.007653 0.007653 0.007653 1.72% MLMG::mgVcycle_down::1 36 0.007653 0.007653 0.007653 1.72% MLMG::mgVcycle_down::2 36 0.006827 0.006827 0.006827 1.54% FabArray::ParallelCopy() 380 0.006719 0.006719 0.006719 1.51% MLMG::mgVcycle_down::3 36 0.006624 0.006624 0.006624 1.49% FabArray::setVal() 501 0.006611 0.006611 0.006611 1.49% FabArray::ParallelCopy_nowait() 380 0.006609 0.006609 0.006609 1.49% MLMG::mgVcycle_down::4 36 0.006594 0.006594 0.006594 1.48% MLCellLinOp::defineAuxData() 6 0.006445 0.006445 0.006445 1.45% Castro::do_new_sources() 5 0.00639 0.00639 0.00639 1.44% Castro::post_restart() 1 0.006384 0.006384 0.006384 1.44% Castro::initialize_advance() 5 0.006206 0.006206 0.006206 1.40% Gravity::multilevel_solve_for_new_phi() 1 0.006006 0.006006 0.006006 1.35% Gravity::actual_multilevel_solve() 1 0.005988 0.005988 0.005988 1.35% FabArray::Saxpy() 597 0.0059 0.0059 0.0059 1.33% MLCGSolver::ParallelAllReduce 798 0.005659 0.005659 0.005659 1.27% MLMG::addInterpCorrection() 180 0.005512 0.005512 0.005512 1.24% amrex::Copy() 221 0.005481 0.005481 0.005481 1.23% Castro::expand_state() 5 0.005399 0.005399 0.005399 1.22% MLMG::mgVcycle_up::1 36 0.00535 0.00535 0.00535 1.20% Gravity::fill_multipole_BCs() 6 0.00529 0.00529 0.00529 1.19% MLMG::mgVcycle_up::4 36 0.005285 0.005285 0.005285 1.19% amrex::average_down 180 0.005116 0.005116 0.005116 1.15% Castro::enforce_min_density() 30 0.005113 0.005113 0.005113 1.15% MLMG::mgVcycle_up::3 36 0.005049 0.005049 0.005049 1.14% MLPoisson::Fapply() 464 0.004555 0.004555 0.004555 1.03% Castro::estTimeStep() 10 0.003827 0.003827 0.003827 0.86% MLCellLinOp::solutionResidual() 42 0.003656 0.003656 0.003656 0.82% Castro::post_timestep() 5 0.003587 0.003587 0.003587 0.81% FabArray::Xpay() 325 0.003532 0.003532 0.003532 0.80% MLCellLinOp::defineBC() 6 0.002986 0.002986 0.002986 0.67% Castro::reset_internal_energy(MultiFab) 30 0.002986 0.002986 0.002986 0.67% MLMG::prepareForSolve() 6 0.002903 0.002903 0.002903 0.65% MLMG::computeResidual() 36 0.002858 0.002858 0.002858 0.64% Castro::computeNewDt() 5 0.002839 0.002839 0.002839 0.64% BndryData::define() 6 0.002829 0.002829 0.002829 0.64% Castro::construct_new_source() 25 0.001897 0.001897 0.001897 0.43% Castro::construct_new_gravity_source() 5 0.00182 0.00182 0.00182 0.41% amrex::Add() 36 0.001584 0.001584 0.001584 0.36% Castro::construct_old_source() 25 0.001547 0.001547 0.001547 0.35% Castro::construct_old_gravity_source() 5 0.001513 0.001513 0.001513 0.34% Castro::finalize_do_advance() 5 0.001061 0.001061 0.001061 0.24% MLMG::ResNormInf() 42 0.001036 0.001036 0.001036 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009902 0.0009902 0.0009902 0.22% Castro::apply_source_to_state() 10 0.0009562 0.0009562 0.0009562 0.22% check_for_negative_density() 5 0.0009519 0.0009519 0.0009519 0.21% MLMG::getGradSolution() 6 0.0009221 0.0009221 0.0009221 0.21% MLCellLinOp::compGrad() 6 0.0009179 0.0009179 0.0009179 0.21% MLCellLinOp::setLevelBC() 6 0.0008941 0.0008941 0.0008941 0.20% Castro::reset_internal_energy(Fab) 240 0.0008226 0.0008226 0.0008226 0.19% MLMG::computeMLResidual() 6 0.0008174 0.0008174 0.0008174 0.18% FabArrayBase::getCPC() 632 0.000805 0.000805 0.000805 0.18% MLPoisson::prepareForSolve() 6 0.000768 0.000768 0.000768 0.17% MLCellLinOp::prepareForSolve() 6 0.0007591 0.0007591 0.0007591 0.17% Gravity::update_max_rhs() 6 0.0007292 0.0007292 0.0007292 0.16% FabArray::setDomainBndry() 20 0.0007152 0.0007152 0.0007152 0.16% FabArray::mult() 22 0.0007041 0.0007041 0.0007041 0.16% Castro::check_for_nan() 10 0.0006619 0.0006619 0.0006619 0.15% MultiFab::contains_nan() 10 0.0006546 0.0006546 0.0006546 0.15% Castro::enforce_speed_limit() 30 0.0005194 0.0005194 0.0005194 0.12% Amr::InitAmr() 1 0.00049 0.00049 0.00049 0.11% FabArrayBase::CPC::define() 244 0.0004268 0.0004268 0.0004268 0.10% Castro::finalize_advance() 5 0.0003431 0.0003431 0.0003431 0.08% FabArrayBase::getFB() 1730 0.0003403 0.0003403 0.0003403 0.08% Gravity::swapTimeLevels() 5 0.0002372 0.0002372 0.0002372 0.05% MultiFab::max() 6 0.0002089 0.0002089 0.0002089 0.05% MLMG::MLResNormInf() 6 0.0001923 0.0001923 0.0001923 0.04% Castro::buildMetrics() 1 0.0001543 0.0001543 0.0001543 0.03% MLLinOp::define() 6 0.0001342 0.0001342 0.0001342 0.03% MLLinOp::defineGrids() 6 0.0001277 0.0001277 0.0001277 0.03% MLMG::MLRhsNormInf() 6 0.000126 0.000126 0.000126 0.03% Castro::create_source_corrector() 5 8.643e-05 8.643e-05 8.643e-05 0.02% FabArrayBase::FB::FB() 26 6.965e-05 6.965e-05 6.965e-05 0.02% Amr::writeSmallPlotFile() 1 3.156e-05 3.156e-05 3.156e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.088e-05 3.088e-05 3.088e-05 0.01% Castro::swap_state_time_levels() 5 2.536e-05 2.536e-05 2.536e-05 0.01% Castro::initMFs() 1 2.476e-05 2.476e-05 2.476e-05 0.01% makeSFC 30 2.317e-05 2.317e-05 2.317e-05 0.01% DistributionMapping::Distribute() 31 1.012e-05 1.012e-05 1.012e-05 0.00% Amr::initSubcycle() 1 8.179e-06 8.179e-06 8.179e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.673e-06 4.673e-06 4.673e-06 0.00% Castro::retry_advance_ctu() 5 4.203e-06 4.203e-06 4.203e-06 0.00% Castro::FluxRegCrseInit 5 2.778e-06 2.778e-06 2.778e-06 0.00% Gravity::set_mass_offset() 6 2.372e-06 2.372e-06 2.372e-06 0.00% Castro::FluxRegFineAdd() 5 2.104e-06 2.104e-06 2.104e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.083e-06 1.083e-06 1.083e-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 179 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 980 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1702 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 6462 KiB 14 MiB MLMG::prepareForSolve() 361 361 3406 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 178 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 191 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6449 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3258 B 2048 KiB Gravity::solve_for_phi() 40 40 621 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 313 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 201 KiB 671 KiB Castro::estTimeStep() 10 10 4098 B 480 KiB VisMF::Write(FabArray) 112 112 2289 B 320 KiB Castro::normalize_species() 30 30 6817 B 320 KiB amrex::average_down 469 469 1119 B 257 KiB MLMG::addInterpCorrection() 468 468 1070 B 257 KiB amrex::Dot() 592 592 3095 B 160 KiB FabArray::norminf() 501 501 3037 B 160 KiB check_for_negative_density() 5 5 344 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3306 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 3820 3820 218 B 9344 B amrex::Copy() 56 56 5612 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 352 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1142 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 81 KiB 8192 KiB VisMF::Write(FabArray) 120 120 151 KiB 3584 KiB VisMF::Read() 24 24 203 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3306 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 259 B 9648 B MLCellLinOp::applyBC() 1910 1910 217 B 9328 B amrex::Copy() 56 56 5612 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2529 B 3072 B StateData::FillBoundary(geom) 960 960 36 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 512 B 1296 B amrex::average_down 37 37 204 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() 501 501 8 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): 2135 [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.02-7-g798ca3356d16) finalized