Initializing AMReX (23.12-10-gecaa46d0be4b)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-10-gecaa46d0be4b) initialized Starting run at 08:40:58 UTC on 2023-12-12. Successfully read inputs file ... Castro git describe: 23.12-6-g9cf0cb6b3 AMReX git describe: 23.12-10-gecaa46d0b Microphysics git describe: 23.12-1-gbdf6a18e 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.046010345 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02518406 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.051801689 [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.074634708 [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.07658952 [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.060852644 [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.067051228 [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.045204584 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.070959635 [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.08282393 [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.051656252 [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.058125899 [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.060940925 [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.044095435 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025158768 seconds Ending run at 08:40:59 UTC on 2023-12-12. Run time = 0.894522231 Run time without initialization = 0.770711054 Average number of zones advanced per microsecond: 3.401 Average number of zones advanced per microsecond per rank: 3.401 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8946 ... 0.8946 ... 0.8946 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2694 0.2694 0.2694 30.12% VisMF::Write(FabArray) 11 0.1782 0.1782 0.1782 19.92% MLCellLinOp::applyBC() 4379 0.07947 0.07947 0.07947 8.88% StateData::FillBoundary(geom) 328 0.03407 0.03407 0.03407 3.81% MLPoisson::Fsmooth() 3240 0.03311 0.03311 0.03311 3.70% FillBoundary_nowait() 3974 0.02967 0.02967 0.02967 3.32% amrex::Dot() 1100 0.02101 0.02101 0.02101 2.35% Castro::normalize_species() 62 0.02068 0.02068 0.02068 2.31% FabArray::norminf() 1048 0.0195 0.0195 0.0195 2.18% Castro::computeTemp() 63 0.01676 0.01676 0.01676 1.87% FabArray::ParallelCopy_nowait() 851 0.01357 0.01357 0.01357 1.52% FabArray::setVal() 1135 0.01355 0.01355 0.01355 1.51% FabArray::Saxpy() 1353 0.01277 0.01277 0.01277 1.43% Castro::enforce_min_density() 62 0.01149 0.01149 0.01149 1.28% StateDataPhysBCFunct::() 41 0.01117 0.01117 0.01117 1.25% amrex::Copy() 469 0.01078 0.01078 0.01078 1.20% MLPoisson::Fapply() 1128 0.01062 0.01062 0.01062 1.19% MLCellLinOp::defineAuxData() 11 0.01018 0.01018 0.01018 1.14% Gravity::fill_multipole_BCs() 11 0.008883 0.008883 0.008883 0.99% FabArray::Xpay() 811 0.008225 0.008225 0.008225 0.92% MLMG::addInterpCorrection() 405 0.006911 0.006911 0.006911 0.77% Castro::reset_internal_energy(MultiFab) 63 0.006342 0.006342 0.006342 0.71% amrex::average_down 405 0.006169 0.006169 0.006169 0.69% Castro::estTimeStep() 21 0.005919 0.005919 0.005919 0.66% Amr::checkPoint() 3 0.005181 0.005181 0.005181 0.58% amrex::Add() 162 0.004335 0.004335 0.004335 0.48% BndryData::define() 11 0.003902 0.003902 0.003902 0.44% Castro::construct_new_gravity_source() 10 0.003202 0.003202 0.003202 0.36% Castro::construct_old_gravity_source() 10 0.002937 0.002937 0.002937 0.33% Castro::enforce_speed_limit() 62 0.002701 0.002701 0.002701 0.30% Amr::writePlotFile() 2 0.001846 0.001846 0.001846 0.21% MLCGSolver::bicgstab 81 0.001822 0.001822 0.001822 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001792 0.001792 0.001792 0.20% Castro::reset_internal_energy(Fab) 504 0.001622 0.001622 0.001622 0.18% check_for_negative_density() 10 0.001607 0.001607 0.001607 0.18% Gravity::actual_solve_with_mlmg() 11 0.001569 0.001569 0.001569 0.18% MLCellLinOp::setLevelBC() 11 0.00154 0.00154 0.00154 0.17% Castro::initData() 1 0.00151 0.00151 0.00151 0.17% FabArray::mult() 43 0.001355 0.001355 0.001355 0.15% FabArray::setDomainBndry() 41 0.001348 0.001348 0.001348 0.15% MLCellLinOp::prepareForSolve() 11 0.001336 0.001336 0.001336 0.15% MultiFab::contains_nan() 20 0.001271 0.001271 0.001271 0.14% MLCellLinOp::smooth() 1620 0.001093 0.001093 0.001093 0.12% MLCellLinOp::compGrad() 11 0.001071 0.001071 0.001071 0.12% MLMG::prepareForSolve() 11 0.0009736 0.0009736 0.0009736 0.11% FabArray::FillBoundary() 3974 0.000888 0.000888 0.000888 0.10% FabArrayBase::getCPC() 1313 0.0007736 0.0007736 0.0007736 0.09% FabArrayBase::CPC::define() 454 0.0006763 0.0006763 0.0006763 0.08% FabArrayBase::getFB() 3974 0.0006583 0.0006583 0.0006583 0.07% Gravity::get_new_grav_vector() 11 0.0005983 0.0005983 0.0005983 0.07% Amr::InitAmr() 1 0.0005069 0.0005069 0.0005069 0.06% Gravity::get_old_grav_vector() 10 0.0005021 0.0005021 0.0005021 0.06% Amr::coarseTimeStep() 10 0.0004772 0.0004772 0.0004772 0.05% MLCellLinOp::apply() 1128 0.0004381 0.0004381 0.0004381 0.05% main() 1 0.0003866 0.0003866 0.0003866 0.04% AmrLevel::FillPatch() 41 0.0003828 0.0003828 0.0003828 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003369 0.0003369 0.0003369 0.04% MultiFab::max() 11 0.0003292 0.0003292 0.0003292 0.04% MLCellLinOp::defineBC() 11 0.0002519 0.0002519 0.0002519 0.03% FabArray::ParallelCopy() 851 0.0002412 0.0002412 0.0002412 0.03% FillPatchIterator::Initialize 41 0.0002191 0.0002191 0.0002191 0.02% MLCellLinOp::correctionResidual() 486 0.0002045 0.0002045 0.0002045 0.02% MLMG::mgVcycle() 81 0.0001934 0.0001934 0.0001934 0.02% Castro::subcycle_advance_ctu() 10 0.0001888 0.0001888 0.0001888 0.02% Amr::timeStep() 10 0.0001811 0.0001811 0.0001811 0.02% Castro::create_source_corrector() 10 0.0001805 0.0001805 0.0001805 0.02% Gravity::update_max_rhs() 11 0.0001631 0.0001631 0.0001631 0.02% Gravity::solve_for_phi() 10 0.0001617 0.0001617 0.0001617 0.02% MLLinOp::defineGrids() 11 0.0001478 0.0001478 0.0001478 0.02% StateData::checkPoint() 12 0.000135 0.000135 0.000135 0.02% Castro::advance() 10 0.0001267 0.0001267 0.0001267 0.01% MLMG:computeResOfCorrection() 405 0.0001147 0.0001147 0.0001147 0.01% MLMG::mgVcycle_down::0 81 9.802e-05 9.802e-05 9.802e-05 0.01% FabArrayBase::FB::FB() 56 9.467e-05 9.467e-05 9.467e-05 0.01% MLMG::actualBottomSolve() 81 9.274e-05 9.274e-05 9.274e-05 0.01% Castro::Castro() 1 8.778e-05 8.778e-05 8.778e-05 0.01% Castro::clean_state() 62 8.77e-05 8.77e-05 8.77e-05 0.01% MLMG::mgVcycle_down::1 81 8.682e-05 8.682e-05 8.682e-05 0.01% MLMG::mgVcycle_down::2 81 8.285e-05 8.285e-05 8.285e-05 0.01% Castro::initialize_advance() 10 7.986e-05 7.986e-05 7.986e-05 0.01% AmrLevel::checkPoint() 3 7.925e-05 7.925e-05 7.925e-05 0.01% MLMG::mgVcycle_down::4 81 7.704e-05 7.704e-05 7.704e-05 0.01% Castro::do_new_sources() 10 7.7e-05 7.7e-05 7.7e-05 0.01% MLMG::mgVcycle_down::3 81 7.549e-05 7.549e-05 7.549e-05 0.01% MLMG::solve() 11 7.455e-05 7.455e-05 7.455e-05 0.01% Castro::enforce_consistent_e() 1 7.368e-05 7.368e-05 7.368e-05 0.01% Castro::initialize_do_advance() 10 6.778e-05 6.778e-05 6.778e-05 0.01% MLMG::mgVcycle_up::4 81 6.34e-05 6.34e-05 6.34e-05 0.01% Castro::finalize_advance() 10 6.337e-05 6.337e-05 6.337e-05 0.01% MLMG::mgVcycle_up::0 81 5.736e-05 5.736e-05 5.736e-05 0.01% MLMG::mgVcycle_up::3 81 5.217e-05 5.217e-05 5.217e-05 0.01% MLMG::oneIter() 81 5.211e-05 5.211e-05 5.211e-05 0.01% MLMG::mgVcycle_up::1 81 5.068e-05 5.068e-05 5.068e-05 0.01% MLMG::mgVcycle_up::2 81 4.996e-05 4.996e-05 4.996e-05 0.01% MLCellLinOp::solutionResidual() 92 4.939e-05 4.939e-05 4.939e-05 0.01% Amr::writeSmallPlotFile() 1 4.723e-05 4.723e-05 4.723e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.587e-05 4.587e-05 4.587e-05 0.01% Castro::construct_new_source() 50 4.586e-05 4.586e-05 4.586e-05 0.01% Castro::do_advance_ctu() 10 4.567e-05 4.567e-05 4.567e-05 0.01% StateData::define() 4 4.202e-05 4.202e-05 4.202e-05 0.00% Castro::finalize_do_advance() 10 4.138e-05 4.138e-05 4.138e-05 0.00% Castro::swap_state_time_levels() 10 3.922e-05 3.922e-05 3.922e-05 0.00% MLMG::ResNormInf() 92 3.6e-05 3.6e-05 3.6e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.474e-05 3.474e-05 3.474e-05 0.00% MLMG::mgVcycle_bottom 81 3.412e-05 3.412e-05 3.412e-05 0.00% Amr::defBaseLevel() 1 3.34e-05 3.34e-05 3.34e-05 0.00% MLMG::computeResidual() 81 3.268e-05 3.268e-05 3.268e-05 0.00% FillPatchSingleLevel 41 3.231e-05 3.231e-05 3.231e-05 0.00% Castro::initMFs() 1 3.104e-05 3.104e-05 3.104e-05 0.00% makeSFC 55 2.572e-05 2.572e-05 2.572e-05 0.00% Amr::FinalizeInit() 1 2.507e-05 2.507e-05 2.507e-05 0.00% Castro::buildMetrics() 1 2.506e-05 2.506e-05 2.506e-05 0.00% Castro::construct_new_gravity() 10 2.335e-05 2.335e-05 2.335e-05 0.00% Castro::do_old_sources() 10 2.139e-05 2.139e-05 2.139e-05 0.00% MLPoisson::define() 11 2.067e-05 2.067e-05 2.067e-05 0.00% Castro::construct_old_source() 50 1.866e-05 1.866e-05 1.866e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.804e-05 1.804e-05 1.804e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.708e-05 1.708e-05 1.708e-05 0.00% Castro::construct_old_gravity() 10 1.524e-05 1.524e-05 1.524e-05 0.00% DistributionMapping::Distribute() 56 1.492e-05 1.492e-05 1.492e-05 0.00% Castro::apply_source_to_state() 20 1.474e-05 1.474e-05 1.474e-05 0.00% MLMG::computeMLResidual() 11 1.421e-05 1.421e-05 1.421e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.321e-05 1.321e-05 1.321e-05 0.00% MLPoisson::prepareForSolve() 11 1.305e-05 1.305e-05 1.305e-05 0.00% Castro::check_for_nan() 20 1.269e-05 1.269e-05 1.269e-05 0.00% Amr::initSubcycle() 1 1.197e-05 1.197e-05 1.197e-05 0.00% Castro::post_timestep() 10 1.149e-05 1.149e-05 1.149e-05 0.00% MLLinOp::define() 11 1.028e-05 1.028e-05 1.028e-05 0.00% Castro::post_init() 1 1.02e-05 1.02e-05 1.02e-05 0.00% Gravity::swapTimeLevels() 10 8.648e-06 8.648e-06 8.648e-06 0.00% Gravity::actual_multilevel_solve() 1 7.903e-06 7.903e-06 7.903e-06 0.00% Castro::computeNewDt() 9 6.87e-06 6.87e-06 6.87e-06 0.00% Castro::expand_state() 10 6.456e-06 6.456e-06 6.456e-06 0.00% MLMG::getGradSolution() 11 6.404e-06 6.404e-06 6.404e-06 0.00% Amr::InitializeInit() 1 5.755e-06 5.755e-06 5.755e-06 0.00% AmrLevel::checkPointPost() 3 5.396e-06 5.396e-06 5.396e-06 0.00% MLMG::MLResNormInf() 11 4.694e-06 4.694e-06 4.694e-06 0.00% Gravity::set_mass_offset() 11 4.57e-06 4.57e-06 4.57e-06 0.00% AmrLevel::checkPointPre() 3 4.172e-06 4.172e-06 4.172e-06 0.00% Castro::retry_advance_ctu() 10 4.071e-06 4.071e-06 4.071e-06 0.00% MLMG::MLRhsNormInf() 11 4.043e-06 4.043e-06 4.043e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.03e-06 4.03e-06 4.03e-06 0.00% Castro::computeInitialDt() 2 3.7e-06 3.7e-06 3.7e-06 0.00% Amr::init() 1 2.703e-06 2.703e-06 2.703e-06 0.00% Castro::FluxRegCrseInit 10 2.516e-06 2.516e-06 2.516e-06 0.00% Castro::FluxRegFineAdd() 10 2.317e-06 2.317e-06 2.317e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.972e-06 1.972e-06 1.972e-06 0.00% Amr::initialInit() 1 1.239e-06 1.239e-06 1.239e-06 0.00% Castro::post_regrid() 1 1.229e-06 1.229e-06 1.229e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8945 0.8945 0.8945 100.00% Amr::coarseTimeStep() 10 0.7453 0.7453 0.7453 83.31% Amr::timeStep() 10 0.6519 0.6519 0.6519 72.87% Castro::advance() 10 0.6409 0.6409 0.6409 71.65% Castro::subcycle_advance_ctu() 10 0.6263 0.6263 0.6263 70.02% Castro::do_advance_ctu() 10 0.6262 0.6262 0.6262 70.00% Gravity::solve_phi_with_mlmg() 11 0.2914 0.2914 0.2914 32.58% Gravity::actual_solve_with_mlmg() 11 0.2821 0.2821 0.2821 31.53% Castro::construct_ctu_hydro_source() 10 0.2799 0.2799 0.2799 31.29% Castro::construct_new_gravity() 10 0.2649 0.2649 0.2649 29.62% MLMG::solve() 11 0.2604 0.2604 0.2604 29.11% Gravity::solve_for_phi() 10 0.249 0.249 0.249 27.84% MLMG::oneIter() 81 0.2453 0.2453 0.2453 27.42% MLMG::mgVcycle() 81 0.2417 0.2417 0.2417 27.02% VisMF::Write(FabArray) 11 0.1782 0.1782 0.1782 19.92% Amr::checkPoint() 3 0.1354 0.1354 0.1354 15.14% AmrLevel::checkPoint() 3 0.1302 0.1302 0.1302 14.56% StateData::checkPoint() 12 0.1302 0.1302 0.1302 14.55% Amr::init() 1 0.1231 0.1231 0.1231 13.76% MLCellLinOp::smooth() 1620 0.1183 0.1183 0.1183 13.23% MLCellLinOp::applyBC() 4379 0.1108 0.1108 0.1108 12.38% MLMG::mgVcycle_bottom 81 0.07539 0.07539 0.07539 8.43% MLMG::actualBottomSolve() 81 0.07536 0.07536 0.07536 8.42% MLCGSolver::bicgstab 81 0.07464 0.07464 0.07464 8.34% Castro::clean_state() 62 0.05876 0.05876 0.05876 6.57% AmrLevel::FillPatch() 41 0.05517 0.05517 0.05517 6.17% Amr::initialInit() 1 0.05175 0.05175 0.05175 5.79% FillPatchIterator::Initialize 41 0.0509 0.0509 0.0509 5.69% Amr::writePlotFile() 2 0.05049 0.05049 0.05049 5.64% FillPatchIterator::FillFromLevel0() 41 0.04933 0.04933 0.04933 5.51% FillPatchSingleLevel 41 0.04929 0.04929 0.04929 5.51% Amr::FinalizeInit() 1 0.04673 0.04673 0.04673 5.22% Castro::post_init() 1 0.04526 0.04526 0.04526 5.06% StateDataPhysBCFunct::() 41 0.04523 0.04523 0.04523 5.06% Gravity::multilevel_solve_for_new_phi() 1 0.04286 0.04286 0.04286 4.79% Gravity::actual_multilevel_solve() 1 0.04284 0.04284 0.04284 4.79% MLCellLinOp::apply() 1128 0.03723 0.03723 0.03723 4.16% StateData::FillBoundary(geom) 328 0.03407 0.03407 0.03407 3.81% MLMG::mgVcycle_down::0 81 0.03353 0.03353 0.03353 3.75% MLPoisson::Fsmooth() 3240 0.03311 0.03311 0.03311 3.70% FabArray::FillBoundary() 3974 0.03131 0.03131 0.03131 3.50% FillBoundary_nowait() 3974 0.03042 0.03042 0.03042 3.40% Castro::initialize_do_advance() 10 0.02984 0.02984 0.02984 3.34% MLMG::mgVcycle_up::0 81 0.02526 0.02526 0.02526 2.82% Castro::computeTemp() 63 0.02472 0.02472 0.02472 2.76% MLCellLinOp::correctionResidual() 486 0.02254 0.02254 0.02254 2.52% amrex::Dot() 1100 0.02101 0.02101 0.02101 2.35% Castro::normalize_species() 62 0.02068 0.02068 0.02068 2.31% Castro::do_old_sources() 10 0.01994 0.01994 0.01994 2.23% MLMG:computeResOfCorrection() 405 0.01979 0.01979 0.01979 2.21% FabArray::norminf() 1048 0.0195 0.0195 0.0195 2.18% Castro::expand_state() 10 0.01922 0.01922 0.01922 2.15% Gravity::get_new_grav_vector() 11 0.01786 0.01786 0.01786 2.00% MLPoisson::define() 11 0.01702 0.01702 0.01702 1.90% MLMG::mgVcycle_down::1 81 0.01627 0.01627 0.01627 1.82% Castro::construct_old_gravity() 10 0.01541 0.01541 0.01541 1.72% Gravity::get_old_grav_vector() 10 0.01539 0.01539 0.01539 1.72% MLMG::mgVcycle_down::2 81 0.01519 0.01519 0.01519 1.70% MLMG::mgVcycle_down::3 81 0.01475 0.01475 0.01475 1.65% MLMG::mgVcycle_down::4 81 0.01464 0.01464 0.01464 1.64% FabArray::ParallelCopy() 851 0.01461 0.01461 0.01461 1.63% FabArray::ParallelCopy_nowait() 851 0.01437 0.01437 0.01437 1.61% Castro::initialize_advance() 10 0.01387 0.01387 0.01387 1.55% FabArray::setVal() 1135 0.01355 0.01355 0.01355 1.51% Castro::do_new_sources() 10 0.01302 0.01302 0.01302 1.46% FabArray::Saxpy() 1353 0.01277 0.01277 0.01277 1.43% MLCGSolver::ParallelAllReduce 1809 0.01266 0.01266 0.01266 1.42% MLMG::addInterpCorrection() 405 0.01217 0.01217 0.01217 1.36% MLMG::mgVcycle_up::1 81 0.0118 0.0118 0.0118 1.32% MLMG::mgVcycle_up::4 81 0.01174 0.01174 0.01174 1.31% MLMG::mgVcycle_up::2 81 0.01163 0.01163 0.01163 1.30% MLCellLinOp::defineAuxData() 11 0.01161 0.01161 0.01161 1.30% amrex::average_down 405 0.01149 0.01149 0.01149 1.28% Castro::enforce_min_density() 62 0.01149 0.01149 0.01149 1.28% MLMG::mgVcycle_up::3 81 0.01132 0.01132 0.01132 1.27% amrex::Copy() 469 0.01078 0.01078 0.01078 1.20% Castro::post_timestep() 10 0.01075 0.01075 0.01075 1.20% MLPoisson::Fapply() 1128 0.01062 0.01062 0.01062 1.19% Gravity::fill_multipole_BCs() 11 0.009126 0.009126 0.009126 1.02% FabArray::Xpay() 811 0.008225 0.008225 0.008225 0.92% Castro::reset_internal_energy(MultiFab) 63 0.007964 0.007964 0.007964 0.89% MLCellLinOp::solutionResidual() 92 0.00749 0.00749 0.00749 0.84% MLMG::computeResidual() 81 0.006198 0.006198 0.006198 0.69% Castro::estTimeStep() 21 0.005919 0.005919 0.005919 0.66% MLCellLinOp::defineBC() 11 0.005171 0.005171 0.005171 0.58% MLMG::prepareForSolve() 11 0.005109 0.005109 0.005109 0.57% Amr::InitializeInit() 1 0.005024 0.005024 0.005024 0.56% Amr::defBaseLevel() 1 0.005018 0.005018 0.005018 0.56% BndryData::define() 11 0.004919 0.004919 0.004919 0.55% Castro::initData() 1 0.004346 0.004346 0.004346 0.49% amrex::Add() 162 0.004335 0.004335 0.004335 0.48% Castro::construct_new_source() 50 0.003248 0.003248 0.003248 0.36% Castro::construct_new_gravity_source() 10 0.003202 0.003202 0.003202 0.36% Castro::construct_old_source() 50 0.002956 0.002956 0.002956 0.33% Castro::construct_old_gravity_source() 10 0.002937 0.002937 0.002937 0.33% Castro::enforce_speed_limit() 62 0.002701 0.002701 0.002701 0.30% Castro::computeNewDt() 9 0.002677 0.002677 0.002677 0.30% Castro::finalize_do_advance() 10 0.002143 0.002143 0.002143 0.24% MLMG::ResNormInf() 92 0.002141 0.002141 0.002141 0.24% Castro::apply_source_to_state() 20 0.001867 0.001867 0.001867 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001792 0.001792 0.001792 0.20% Castro::reset_internal_energy(Fab) 504 0.001622 0.001622 0.001622 0.18% check_for_negative_density() 10 0.001607 0.001607 0.001607 0.18% MLMG::getGradSolution() 11 0.00157 0.00157 0.00157 0.18% MLCellLinOp::compGrad() 11 0.001563 0.001563 0.001563 0.17% MLCellLinOp::setLevelBC() 11 0.00154 0.00154 0.00154 0.17% FabArrayBase::getCPC() 1313 0.00145 0.00145 0.00145 0.16% FabArray::mult() 43 0.001355 0.001355 0.001355 0.15% MLPoisson::prepareForSolve() 11 0.001349 0.001349 0.001349 0.15% FabArray::setDomainBndry() 41 0.001348 0.001348 0.001348 0.15% MLMG::computeMLResidual() 11 0.001339 0.001339 0.001339 0.15% MLCellLinOp::prepareForSolve() 11 0.001336 0.001336 0.001336 0.15% Castro::check_for_nan() 20 0.001283 0.001283 0.001283 0.14% MultiFab::contains_nan() 20 0.001271 0.001271 0.001271 0.14% Castro::post_regrid() 1 0.001164 0.001164 0.001164 0.13% Castro::computeInitialDt() 2 0.001151 0.001151 0.001151 0.13% Gravity::update_max_rhs() 11 0.001051 0.001051 0.001051 0.12% FabArrayBase::getFB() 3974 0.000753 0.000753 0.000753 0.08% FabArrayBase::CPC::define() 454 0.0006763 0.0006763 0.0006763 0.08% Castro::finalize_advance() 10 0.0005936 0.0005936 0.0005936 0.07% Castro::Castro() 1 0.0005732 0.0005732 0.0005732 0.06% Amr::InitAmr() 1 0.0005189 0.0005189 0.0005189 0.06% Gravity::swapTimeLevels() 10 0.0004437 0.0004437 0.0004437 0.05% MLMG::MLResNormInf() 11 0.0003356 0.0003356 0.0003356 0.04% MultiFab::max() 11 0.0003292 0.0003292 0.0003292 0.04% Castro::buildMetrics() 1 0.0002821 0.0002821 0.0002821 0.03% MLMG::MLRhsNormInf() 11 0.0002228 0.0002228 0.0002228 0.02% MLLinOp::define() 11 0.0002122 0.0002122 0.0002122 0.02% MLLinOp::defineGrids() 11 0.0002019 0.0002019 0.0002019 0.02% Castro::create_source_corrector() 10 0.0001805 0.0001805 0.0001805 0.02% FabArrayBase::FB::FB() 56 9.467e-05 9.467e-05 9.467e-05 0.01% Castro::enforce_consistent_e() 1 7.368e-05 7.368e-05 7.368e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.91e-05 5.91e-05 5.91e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.214e-05 5.214e-05 5.214e-05 0.01% Amr::writeSmallPlotFile() 1 4.723e-05 4.723e-05 4.723e-05 0.01% StateData::define() 4 4.202e-05 4.202e-05 4.202e-05 0.00% Castro::swap_state_time_levels() 10 3.922e-05 3.922e-05 3.922e-05 0.00% makeSFC 55 3.893e-05 3.893e-05 3.893e-05 0.00% Castro::initMFs() 1 3.104e-05 3.104e-05 3.104e-05 0.00% DistributionMapping::Distribute() 56 1.492e-05 1.492e-05 1.492e-05 0.00% Amr::initSubcycle() 1 1.197e-05 1.197e-05 1.197e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.741e-06 5.741e-06 5.741e-06 0.00% AmrLevel::checkPointPost() 3 5.396e-06 5.396e-06 5.396e-06 0.00% Gravity::set_mass_offset() 11 4.57e-06 4.57e-06 4.57e-06 0.00% AmrLevel::checkPointPre() 3 4.172e-06 4.172e-06 4.172e-06 0.00% Castro::retry_advance_ctu() 10 4.071e-06 4.071e-06 4.071e-06 0.00% Castro::FluxRegCrseInit 10 2.516e-06 2.516e-06 2.516e-06 0.00% Castro::FluxRegFineAdd() 10 2.317e-06 2.317e-06 2.317e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.972e-06 1.972e-06 1.972e-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 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 142 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1367 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1583 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3578 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 176 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7513 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2234 B 2048 KiB Gravity::solve_for_phi() 80 80 569 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 327 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 208 KiB 671 KiB Castro::estTimeStep() 21 21 3224 B 480 KiB VisMF::Write(FabArray) 656 656 3450 B 320 KiB Castro::normalize_species() 62 62 7524 B 320 KiB amrex::average_down 1054 1054 1266 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1149 B 257 KiB amrex::Dot() 1343 1343 3461 B 160 KiB FabArray::norminf() 1129 1129 3365 B 160 KiB check_for_negative_density() 10 10 267 B 160 KiB Castro::initData() 1 1 54 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3493 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 289 B 9648 B MLCellLinOp::applyBC() 8758 8758 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3951 B 6144 B StateData::FillBoundary(geom) 1992 1992 53 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 486 486 105 B 1280 B MLCellLinOp::defineBC() 66 66 368 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 557 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 435 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3493 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 289 B 9648 B MLCellLinOp::applyBC() 4379 4379 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3951 B 6144 B Gravity::get_new_grav_vector() 3 3 2895 B 3072 B StateData::FillBoundary(geom) 1992 1992 53 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 270 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 298 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [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.12-10-gecaa46d0be4b) finalized Initializing AMReX (23.12-10-gecaa46d0be4b)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-10-gecaa46d0be4b) initialized Starting run at 08:41:00 UTC on 2023-12-12. Successfully read inputs file ... Castro git describe: 23.12-6-g9cf0cb6b3 AMReX git describe: 23.12-10-gecaa46d0b Microphysics git describe: 23.12-1-gbdf6a18e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.499934806 Restart time = 0.073559986 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.05340552 [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.050305197 [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.084222942 [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.082014784 [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.064843204 [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.028339439 seconds Ending run at 08:41:00 UTC on 2023-12-12. Run time = 0.437720334 Run time without initialization = 0.363568045 Average number of zones advanced per microsecond: 3.605 Average number of zones advanced per microsecond per rank: 3.605 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4377 ... 0.4377 ... 0.4377 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1454 0.1454 0.1454 33.21% VisMF::Read() 3 0.06199 0.06199 0.06199 14.16% MLCellLinOp::applyBC() 1946 0.03472 0.03472 0.03472 7.93% VisMF::Write(FabArray) 1 0.02613 0.02613 0.02613 5.97% MLPoisson::Fsmooth() 1440 0.01438 0.01438 0.01438 3.29% StateData::FillBoundary(geom) 160 0.01319 0.01319 0.01319 3.01% FillBoundary_nowait() 1766 0.0127 0.0127 0.0127 2.90% Castro::normalize_species() 30 0.009498 0.009498 0.009498 2.17% amrex::Dot() 484 0.009043 0.009043 0.009043 2.07% FabArray::norminf() 465 0.008773 0.008773 0.008773 2.00% FabArray::setVal() 537 0.0066 0.0066 0.0066 1.51% FabArray::ParallelCopy_nowait() 380 0.006165 0.006165 0.006165 1.41% Castro::computeTemp() 30 0.005983 0.005983 0.005983 1.37% Gravity::fill_multipole_BCs() 6 0.005671 0.005671 0.005671 1.30% FabArray::Saxpy() 597 0.005608 0.005608 0.005608 1.28% MLCellLinOp::defineAuxData() 6 0.005526 0.005526 0.005526 1.26% amrex::Copy() 221 0.005366 0.005366 0.005366 1.23% StateDataPhysBCFunct::() 20 0.005035 0.005035 0.005035 1.15% Amr::restart() 1 0.004779 0.004779 0.004779 1.09% Castro::enforce_min_density() 30 0.004666 0.004666 0.004666 1.07% MLPoisson::Fapply() 500 0.00465 0.00465 0.00465 1.06% FabArray::Xpay() 361 0.003652 0.003652 0.003652 0.83% MLMG::addInterpCorrection() 180 0.003043 0.003043 0.003043 0.70% Castro::estTimeStep() 10 0.002759 0.002759 0.002759 0.63% amrex::average_down 180 0.002732 0.002732 0.002732 0.62% Castro::enforce_speed_limit() 30 0.002331 0.002331 0.002331 0.53% BndryData::define() 6 0.002117 0.002117 0.002117 0.48% Amr::writePlotFile() 1 0.002051 0.002051 0.002051 0.47% Castro::reset_internal_energy(MultiFab) 30 0.002013 0.002013 0.002013 0.46% amrex::Add() 72 0.001886 0.001886 0.001886 0.43% Castro::construct_new_gravity_source() 5 0.001691 0.001691 0.001691 0.39% Castro::construct_old_gravity_source() 5 0.001422 0.001422 0.001422 0.32% check_for_negative_density() 5 0.001016 0.001016 0.001016 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009711 0.0009711 0.0009711 0.22% MLCellLinOp::setLevelBC() 6 0.0008533 0.0008533 0.0008533 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008402 0.0008402 0.0008402 0.19% MLCGSolver::bicgstab 36 0.0008134 0.0008134 0.0008134 0.19% Castro::reset_internal_energy(Fab) 240 0.0007975 0.0007975 0.0007975 0.18% MLCellLinOp::prepareForSolve() 6 0.0007422 0.0007422 0.0007422 0.17% FabArray::mult() 22 0.0006899 0.0006899 0.0006899 0.16% FabArray::setDomainBndry() 20 0.000683 0.000683 0.000683 0.16% MultiFab::contains_nan() 10 0.0006606 0.0006606 0.0006606 0.15% MLCellLinOp::compGrad() 6 0.0006016 0.0006016 0.0006016 0.14% MLMG::prepareForSolve() 6 0.0005536 0.0005536 0.0005536 0.13% MLCellLinOp::smooth() 720 0.0004934 0.0004934 0.0004934 0.11% FabArrayBase::CPC::define() 244 0.0004205 0.0004205 0.0004205 0.10% Amr::InitAmr() 1 0.0004093 0.0004093 0.0004093 0.09% FabArray::FillBoundary() 1766 0.0004054 0.0004054 0.0004054 0.09% FabArrayBase::getCPC() 632 0.0003608 0.0003608 0.0003608 0.08% Gravity::get_old_grav_vector() 5 0.0003166 0.0003166 0.0003166 0.07% FabArrayBase::getFB() 1766 0.0002904 0.0002904 0.0002904 0.07% main() 1 0.0002864 0.0002864 0.0002864 0.07% Gravity::get_new_grav_vector() 5 0.0002631 0.0002631 0.0002631 0.06% MLCellLinOp::apply() 500 0.0002063 0.0002063 0.0002063 0.05% MultiFab::max() 6 0.0002037 0.0002037 0.0002037 0.05% AmrLevel::FillPatch() 20 0.0001803 0.0001803 0.0001803 0.04% Amr::coarseTimeStep() 5 0.0001713 0.0001713 0.0001713 0.04% MLCGSolver::ParallelAllReduce 798 0.0001531 0.0001531 0.0001531 0.03% MLCellLinOp::defineBC() 6 0.0001402 0.0001402 0.0001402 0.03% Castro::subcycle_advance_ctu() 5 0.0001291 0.0001291 0.0001291 0.03% Castro::construct_new_source() 25 0.0001242 0.0001242 0.0001242 0.03% FillPatchIterator::Initialize 20 0.0001084 0.0001084 0.0001084 0.02% FabArray::ParallelCopy() 380 0.000108 0.000108 0.000108 0.02% Castro::create_source_corrector() 5 0.000103 0.000103 0.000103 0.02% MLCellLinOp::correctionResidual() 216 9.055e-05 9.055e-05 9.055e-05 0.02% Castro::initialize_advance() 5 8.81e-05 8.81e-05 8.81e-05 0.02% Gravity::solve_for_phi() 5 8.745e-05 8.745e-05 8.745e-05 0.02% MLLinOp::defineGrids() 6 8.67e-05 8.67e-05 8.67e-05 0.02% Amr::timeStep() 5 8.467e-05 8.467e-05 8.467e-05 0.02% MLMG::mgVcycle() 36 8.261e-05 8.261e-05 8.261e-05 0.02% AmrLevel::restart() 1 8.005e-05 8.005e-05 8.005e-05 0.02% StateData::restartDoit() 4 7.165e-05 7.165e-05 7.165e-05 0.02% Gravity::update_max_rhs() 6 6.581e-05 6.581e-05 6.581e-05 0.02% Castro::initialize_do_advance() 5 6.505e-05 6.505e-05 6.505e-05 0.01% Castro::do_advance_ctu() 5 6.449e-05 6.449e-05 6.449e-05 0.01% Castro::finalize_do_advance() 5 6.178e-05 6.178e-05 6.178e-05 0.01% Castro::advance() 5 6.039e-05 6.039e-05 6.039e-05 0.01% FabArrayBase::FB::FB() 26 5.956e-05 5.956e-05 5.956e-05 0.01% MLMG:computeResOfCorrection() 180 4.942e-05 4.942e-05 4.942e-05 0.01% MLMG::mgVcycle_down::0 36 4.694e-05 4.694e-05 4.694e-05 0.01% MLMG::actualBottomSolve() 36 4.132e-05 4.132e-05 4.132e-05 0.01% MLMG::mgVcycle_down::1 36 3.898e-05 3.898e-05 3.898e-05 0.01% Castro::do_new_sources() 5 3.623e-05 3.623e-05 3.623e-05 0.01% Castro::clean_state() 30 3.597e-05 3.597e-05 3.597e-05 0.01% MLMG::mgVcycle_down::2 36 3.57e-05 3.57e-05 3.57e-05 0.01% MLMG::solve() 6 3.487e-05 3.487e-05 3.487e-05 0.01% MLMG::mgVcycle_down::4 36 3.453e-05 3.453e-05 3.453e-05 0.01% MLMG::mgVcycle_down::3 36 3.364e-05 3.364e-05 3.364e-05 0.01% Castro::finalize_advance() 5 3.271e-05 3.271e-05 3.271e-05 0.01% Amr::writeSmallPlotFile() 1 3.249e-05 3.249e-05 3.249e-05 0.01% MLMG::mgVcycle_up::4 36 2.988e-05 2.988e-05 2.988e-05 0.01% Castro::post_restart() 1 2.925e-05 2.925e-05 2.925e-05 0.01% Castro::buildMetrics() 1 2.857e-05 2.857e-05 2.857e-05 0.01% Castro::construct_old_source() 25 2.801e-05 2.801e-05 2.801e-05 0.01% Castro::initMFs() 1 2.718e-05 2.718e-05 2.718e-05 0.01% Castro::swap_state_time_levels() 5 2.467e-05 2.467e-05 2.467e-05 0.01% MLMG::oneIter() 36 2.399e-05 2.399e-05 2.399e-05 0.01% MLMG::mgVcycle_up::3 36 2.38e-05 2.38e-05 2.38e-05 0.01% MLMG::mgVcycle_up::0 36 2.353e-05 2.353e-05 2.353e-05 0.01% MLCellLinOp::solutionResidual() 42 2.295e-05 2.295e-05 2.295e-05 0.01% MLMG::mgVcycle_up::2 36 2.28e-05 2.28e-05 2.28e-05 0.01% MLMG::mgVcycle_up::1 36 2.153e-05 2.153e-05 2.153e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.099e-05 2.099e-05 2.099e-05 0.00% makeSFC 30 1.847e-05 1.847e-05 1.847e-05 0.00% MLMG::ResNormInf() 42 1.824e-05 1.824e-05 1.824e-05 0.00% Castro::construct_new_gravity() 5 1.808e-05 1.808e-05 1.808e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.721e-05 1.721e-05 1.721e-05 0.00% MLMG::mgVcycle_bottom 36 1.665e-05 1.665e-05 1.665e-05 0.00% FillPatchSingleLevel 20 1.489e-05 1.489e-05 1.489e-05 0.00% MLMG::computeResidual() 36 1.485e-05 1.485e-05 1.485e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.374e-05 1.374e-05 1.374e-05 0.00% MLPoisson::define() 6 1.356e-05 1.356e-05 1.356e-05 0.00% Castro::check_for_nan() 10 1.234e-05 1.234e-05 1.234e-05 0.00% Amr::initSubcycle() 1 1.162e-05 1.162e-05 1.162e-05 0.00% Castro::do_old_sources() 5 1.122e-05 1.122e-05 1.122e-05 0.00% DistributionMapping::Distribute() 31 9.206e-06 9.206e-06 9.206e-06 0.00% MLPoisson::prepareForSolve() 6 9.103e-06 9.103e-06 9.103e-06 0.00% MLMG::computeMLResidual() 6 8.743e-06 8.743e-06 8.743e-06 0.00% Gravity::actual_multilevel_solve() 1 8.029e-06 8.029e-06 8.029e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.587e-06 7.587e-06 7.587e-06 0.00% Castro::construct_old_gravity() 5 6.146e-06 6.146e-06 6.146e-06 0.00% Castro::apply_source_to_state() 10 6.073e-06 6.073e-06 6.073e-06 0.00% MLLinOp::define() 6 5.777e-06 5.777e-06 5.777e-06 0.00% Castro::post_timestep() 5 4.357e-06 4.357e-06 4.357e-06 0.00% Gravity::swapTimeLevels() 5 3.937e-06 3.937e-06 3.937e-06 0.00% MLMG::getGradSolution() 6 3.569e-06 3.569e-06 3.569e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.443e-06 3.443e-06 3.443e-06 0.00% Castro::computeNewDt() 5 3.164e-06 3.164e-06 3.164e-06 0.00% Castro::expand_state() 5 2.896e-06 2.896e-06 2.896e-06 0.00% MLMG::MLResNormInf() 6 2.439e-06 2.439e-06 2.439e-06 0.00% Castro::retry_advance_ctu() 5 2.352e-06 2.352e-06 2.352e-06 0.00% MLMG::MLRhsNormInf() 6 2.322e-06 2.322e-06 2.322e-06 0.00% Gravity::set_mass_offset() 6 2.23e-06 2.23e-06 2.23e-06 0.00% Castro::FluxRegCrseInit 5 1.543e-06 1.543e-06 1.543e-06 0.00% Amr::init() 1 1.298e-06 1.298e-06 1.298e-06 0.00% Castro::FluxRegFineAdd() 5 1.237e-06 1.237e-06 1.237e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.108e-06 1.108e-06 1.108e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4377 0.4377 0.4377 100.00% Amr::coarseTimeStep() 5 0.335 0.335 0.335 76.52% Amr::timeStep() 5 0.333 0.333 0.333 76.07% Castro::advance() 5 0.3273 0.3273 0.3273 74.78% Castro::subcycle_advance_ctu() 5 0.3204 0.3204 0.3204 73.19% Castro::do_advance_ctu() 5 0.3202 0.3202 0.3202 73.16% Castro::construct_ctu_hydro_source() 5 0.1509 0.1509 0.1509 34.48% Castro::construct_new_gravity() 5 0.1346 0.1346 0.1346 30.74% Gravity::solve_phi_with_mlmg() 6 0.132 0.132 0.132 30.15% Gravity::solve_for_phi() 5 0.1264 0.1264 0.1264 28.87% Gravity::actual_solve_with_mlmg() 6 0.1261 0.1261 0.1261 28.80% MLMG::solve() 6 0.1142 0.1142 0.1142 26.09% MLMG::oneIter() 36 0.1067 0.1067 0.1067 24.39% MLMG::mgVcycle() 36 0.1052 0.1052 0.1052 24.03% Amr::init() 1 0.07361 0.07361 0.07361 16.81% Amr::restart() 1 0.0736 0.0736 0.0736 16.81% AmrLevel::restart() 1 0.06236 0.06236 0.06236 14.25% StateData::restartDoit() 4 0.06228 0.06228 0.06228 14.23% VisMF::Read() 3 0.06199 0.06199 0.06199 14.16% MLCellLinOp::smooth() 720 0.05126 0.05126 0.05126 11.71% MLCellLinOp::applyBC() 1946 0.04817 0.04817 0.04817 11.01% MLMG::mgVcycle_bottom 36 0.03288 0.03288 0.03288 7.51% MLMG::actualBottomSolve() 36 0.03286 0.03286 0.03286 7.51% MLCGSolver::bicgstab 36 0.03255 0.03255 0.03255 7.44% Amr::writePlotFile() 1 0.02843 0.02843 0.02843 6.49% VisMF::Write(FabArray) 1 0.02613 0.02613 0.02613 5.97% Castro::clean_state() 30 0.02532 0.02532 0.02532 5.79% AmrLevel::FillPatch() 20 0.02316 0.02316 0.02316 5.29% FillPatchIterator::Initialize 20 0.02109 0.02109 0.02109 4.82% FillPatchIterator::FillFromLevel0() 20 0.02029 0.02029 0.02029 4.64% FillPatchSingleLevel 20 0.02027 0.02027 0.02027 4.63% StateDataPhysBCFunct::() 20 0.01823 0.01823 0.01823 4.16% MLCellLinOp::apply() 500 0.01637 0.01637 0.01637 3.74% MLMG::mgVcycle_down::0 36 0.01458 0.01458 0.01458 3.33% MLPoisson::Fsmooth() 1440 0.01438 0.01438 0.01438 3.29% FabArray::FillBoundary() 1766 0.01346 0.01346 0.01346 3.07% StateData::FillBoundary(geom) 160 0.01319 0.01319 0.01319 3.01% FillBoundary_nowait() 1766 0.01305 0.01305 0.01305 2.98% MLMG::mgVcycle_up::0 36 0.0109 0.0109 0.0109 2.49% Castro::initialize_do_advance() 5 0.0101 0.0101 0.0101 2.31% MLCellLinOp::correctionResidual() 216 0.009851 0.009851 0.009851 2.25% Castro::normalize_species() 30 0.009498 0.009498 0.009498 2.17% MLPoisson::define() 6 0.009288 0.009288 0.009288 2.12% amrex::Dot() 484 0.009043 0.009043 0.009043 2.07% Castro::do_old_sources() 5 0.008829 0.008829 0.008829 2.02% Castro::computeTemp() 30 0.008794 0.008794 0.008794 2.01% FabArray::norminf() 465 0.008773 0.008773 0.008773 2.00% MLMG:computeResOfCorrection() 180 0.00864 0.00864 0.00864 1.97% Gravity::get_new_grav_vector() 5 0.008066 0.008066 0.008066 1.84% Castro::construct_old_gravity() 5 0.00777 0.00777 0.00777 1.77% Gravity::get_old_grav_vector() 5 0.007764 0.007764 0.007764 1.77% MLMG::mgVcycle_down::1 36 0.0072 0.0072 0.0072 1.64% FabArray::ParallelCopy() 380 0.006661 0.006661 0.006661 1.52% MLMG::mgVcycle_down::2 36 0.006617 0.006617 0.006617 1.51% Castro::initialize_advance() 5 0.006608 0.006608 0.006608 1.51% FabArray::setVal() 537 0.0066 0.0066 0.0066 1.51% FabArray::ParallelCopy_nowait() 380 0.006553 0.006553 0.006553 1.50% Castro::do_new_sources() 5 0.006446 0.006446 0.006446 1.47% MLMG::mgVcycle_down::3 36 0.006404 0.006404 0.006404 1.46% MLMG::mgVcycle_down::4 36 0.006357 0.006357 0.006357 1.45% MLCellLinOp::defineAuxData() 6 0.006306 0.006306 0.006306 1.44% Castro::post_restart() 1 0.006282 0.006282 0.006282 1.44% Castro::expand_state() 5 0.005925 0.005925 0.005925 1.35% Gravity::multilevel_solve_for_new_phi() 1 0.005894 0.005894 0.005894 1.35% Gravity::actual_multilevel_solve() 1 0.005876 0.005876 0.005876 1.34% Gravity::fill_multipole_BCs() 6 0.005794 0.005794 0.005794 1.32% FabArray::Saxpy() 597 0.005608 0.005608 0.005608 1.28% Castro::post_timestep() 5 0.005578 0.005578 0.005578 1.27% MLCGSolver::ParallelAllReduce 798 0.005503 0.005503 0.005503 1.26% amrex::Copy() 221 0.005366 0.005366 0.005366 1.23% MLMG::addInterpCorrection() 180 0.00534 0.00534 0.00534 1.22% MLMG::mgVcycle_up::4 36 0.005134 0.005134 0.005134 1.17% MLMG::mgVcycle_up::1 36 0.005114 0.005114 0.005114 1.17% amrex::average_down 180 0.005064 0.005064 0.005064 1.16% MLMG::mgVcycle_up::2 36 0.005018 0.005018 0.005018 1.15% MLMG::mgVcycle_up::3 36 0.004919 0.004919 0.004919 1.12% Castro::enforce_min_density() 30 0.004666 0.004666 0.004666 1.07% MLPoisson::Fapply() 500 0.00465 0.00465 0.00465 1.06% FabArray::Xpay() 361 0.003652 0.003652 0.003652 0.83% MLCellLinOp::solutionResidual() 42 0.003471 0.003471 0.003471 0.79% MLCellLinOp::defineBC() 6 0.002841 0.002841 0.002841 0.65% MLMG::prepareForSolve() 6 0.00283 0.00283 0.00283 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002811 0.002811 0.002811 0.64% Castro::estTimeStep() 10 0.002759 0.002759 0.002759 0.63% MLMG::computeResidual() 36 0.002703 0.002703 0.002703 0.62% BndryData::define() 6 0.002701 0.002701 0.002701 0.62% Castro::enforce_speed_limit() 30 0.002331 0.002331 0.002331 0.53% amrex::Add() 72 0.001886 0.001886 0.001886 0.43% Castro::construct_new_source() 25 0.001815 0.001815 0.001815 0.41% Castro::computeNewDt() 5 0.00178 0.00178 0.00178 0.41% Castro::construct_new_gravity_source() 5 0.001691 0.001691 0.001691 0.39% Castro::construct_old_source() 25 0.00145 0.00145 0.00145 0.33% Castro::construct_old_gravity_source() 5 0.001422 0.001422 0.001422 0.32% Castro::finalize_do_advance() 5 0.001044 0.001044 0.001044 0.24% check_for_negative_density() 5 0.001016 0.001016 0.001016 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009711 0.0009711 0.0009711 0.22% MLMG::ResNormInf() 42 0.0009662 0.0009662 0.0009662 0.22% Castro::apply_source_to_state() 10 0.0009621 0.0009621 0.0009621 0.22% MLMG::getGradSolution() 6 0.0008845 0.0008845 0.0008845 0.20% MLCellLinOp::compGrad() 6 0.0008809 0.0008809 0.0008809 0.20% MLCellLinOp::setLevelBC() 6 0.0008533 0.0008533 0.0008533 0.19% Castro::reset_internal_energy(Fab) 240 0.0007975 0.0007975 0.0007975 0.18% MLMG::computeMLResidual() 6 0.0007912 0.0007912 0.0007912 0.18% FabArrayBase::getCPC() 632 0.0007813 0.0007813 0.0007813 0.18% MLPoisson::prepareForSolve() 6 0.0007513 0.0007513 0.0007513 0.17% MLCellLinOp::prepareForSolve() 6 0.0007422 0.0007422 0.0007422 0.17% Gravity::update_max_rhs() 6 0.0007231 0.0007231 0.0007231 0.17% FabArray::mult() 22 0.0006899 0.0006899 0.0006899 0.16% FabArray::setDomainBndry() 20 0.000683 0.000683 0.000683 0.16% Castro::check_for_nan() 10 0.0006729 0.0006729 0.0006729 0.15% MultiFab::contains_nan() 10 0.0006606 0.0006606 0.0006606 0.15% Amr::InitAmr() 1 0.000421 0.000421 0.000421 0.10% FabArrayBase::CPC::define() 244 0.0004205 0.0004205 0.0004205 0.10% FabArrayBase::getFB() 1766 0.00035 0.00035 0.00035 0.08% Castro::finalize_advance() 5 0.0002994 0.0002994 0.0002994 0.07% Gravity::swapTimeLevels() 5 0.000227 0.000227 0.000227 0.05% MultiFab::max() 6 0.0002037 0.0002037 0.0002037 0.05% MLMG::MLResNormInf() 6 0.0001887 0.0001887 0.0001887 0.04% Castro::buildMetrics() 1 0.0001532 0.0001532 0.0001532 0.04% MLLinOp::define() 6 0.0001276 0.0001276 0.0001276 0.03% MLLinOp::defineGrids() 6 0.0001218 0.0001218 0.0001218 0.03% MLMG::MLRhsNormInf() 6 0.0001191 0.0001191 0.0001191 0.03% Castro::create_source_corrector() 5 0.000103 0.000103 0.000103 0.02% FabArrayBase::FB::FB() 26 5.956e-05 5.956e-05 5.956e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.403e-05 3.403e-05 3.403e-05 0.01% Amr::writeSmallPlotFile() 1 3.249e-05 3.249e-05 3.249e-05 0.01% Castro::initMFs() 1 2.718e-05 2.718e-05 2.718e-05 0.01% makeSFC 30 2.644e-05 2.644e-05 2.644e-05 0.01% Castro::swap_state_time_levels() 5 2.467e-05 2.467e-05 2.467e-05 0.01% Amr::initSubcycle() 1 1.162e-05 1.162e-05 1.162e-05 0.00% DistributionMapping::Distribute() 31 9.206e-06 9.206e-06 9.206e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.678e-06 4.678e-06 4.678e-06 0.00% Castro::retry_advance_ctu() 5 2.352e-06 2.352e-06 2.352e-06 0.00% Gravity::set_mass_offset() 6 2.23e-06 2.23e-06 2.23e-06 0.00% Castro::FluxRegCrseInit 5 1.543e-06 1.543e-06 1.543e-06 0.00% Castro::FluxRegFineAdd() 5 1.237e-06 1.237e-06 1.237e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.108e-06 1.108e-06 1.108e-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 191 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 155 MiB 692 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 1042 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1759 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 6404 KiB 14 MiB MLMG::prepareForSolve() 361 361 3201 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 188 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6390 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3279 B 2048 KiB Gravity::solve_for_phi() 40 40 589 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 295 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 189 KiB 671 KiB Castro::estTimeStep() 10 10 3014 B 480 KiB VisMF::Write(FabArray) 112 112 2284 B 320 KiB Castro::normalize_species() 30 30 7054 B 320 KiB amrex::average_down 469 469 1128 B 257 KiB MLMG::addInterpCorrection() 468 468 1044 B 257 KiB amrex::Dot() 592 592 3039 B 160 KiB FabArray::norminf() 501 501 3093 B 160 KiB check_for_negative_density() 5 5 366 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3103 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 252 B 9648 B MLCellLinOp::applyBC() 3892 3892 199 B 9344 B amrex::Copy() 56 56 5636 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2848 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 216 216 94 B 1280 B MLCellLinOp::defineBC() 36 36 331 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1149 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 158 KiB 3584 KiB VisMF::Read() 24 24 215 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3103 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 252 B 9648 B MLCellLinOp::applyBC() 1946 1946 198 B 9328 B amrex::Copy() 56 56 5636 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2511 B 3072 B StateData::FillBoundary(geom) 960 960 39 B 2848 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 493 B 1296 B amrex::average_down 37 37 211 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): 2541 [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.12-10-gecaa46d0be4b) finalized