Initializing AMReX (24.04-3-gd78e241d1ad4)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-3-gd78e241d1ad4) initialized Starting run at 08:31:04 UTC on 2024-04-03. Successfully read inputs file ... Castro git describe: 24.04-1-g6930369b2 AMReX git describe: 24.04-3-gd78e241d1 Microphysics git describe: 24.04 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.044446714 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024243393 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.070586605 [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.067895379 [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.077659775 [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.074803013 [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.055164642 [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.050279296 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.056960569 [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.074842534 [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.074112724 [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.067030198 [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.067200217 [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.042476397 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.023880727 seconds Ending run at 08:31:05 UTC on 2024-04-03. Run time = 0.930277662 Run time without initialization = 0.803562029 Average number of zones advanced per microsecond: 3.262 Average number of zones advanced per microsecond per rank: 3.262 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9303 ... 0.9303 ... 0.9303 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2736 0.2736 0.2736 29.40% VisMF::Write(FabArray) 11 0.1756 0.1756 0.1756 18.88% MLCellLinOp::applyBC() 4351 0.08783 0.08783 0.08783 9.44% StateData::FillBoundary(geom) 328 0.05238 0.05238 0.05238 5.63% MLPoisson::Fsmooth() 3280 0.03575 0.03575 0.03575 3.84% FillBoundary_nowait() 3941 0.03057 0.03057 0.03057 3.29% amrex::Dot() 1114 0.02229 0.02229 0.02229 2.40% FabArray::norminf() 1061 0.02052 0.02052 0.02052 2.21% Castro::normalize_species() 62 0.01973 0.01973 0.01973 2.12% FabArray::ParallelCopy_nowait() 861 0.01492 0.01492 0.01492 1.60% Castro::computeTemp() 63 0.01484 0.01484 0.01484 1.59% FabArray::setVal() 1062 0.01416 0.01416 0.01416 1.52% FabArray::Saxpy() 1370 0.01367 0.01367 0.01367 1.47% amrex::Copy() 472 0.0114 0.0114 0.0114 1.23% MLCellLinOp::defineAuxData() 11 0.01101 0.01101 0.01101 1.18% MLPoisson::Fapply() 1060 0.01082 0.01082 0.01082 1.16% Castro::enforce_min_density() 62 0.01003 0.01003 0.01003 1.08% Gravity::fill_multipole_BCs() 11 0.009268 0.009268 0.009268 1.00% FabArray::Xpay() 739 0.008037 0.008037 0.008037 0.86% MLMG::addInterpCorrection() 410 0.007597 0.007597 0.007597 0.82% Amr::checkPoint() 3 0.007046 0.007046 0.007046 0.76% StateDataPhysBCFunct::() 41 0.006948 0.006948 0.006948 0.75% amrex::average_down 410 0.006869 0.006869 0.006869 0.74% Castro::reset_internal_energy(MultiFab) 63 0.005198 0.005198 0.005198 0.56% Castro::estTimeStep() 21 0.00509 0.00509 0.00509 0.55% BndryData::define() 11 0.004088 0.004088 0.004088 0.44% Castro::enforce_speed_limit() 62 0.003779 0.003779 0.003779 0.41% amrex::Add() 82 0.003599 0.003599 0.003599 0.39% Castro::construct_new_gravity_source() 10 0.003547 0.003547 0.003547 0.38% Castro::construct_old_gravity_source() 10 0.002962 0.002962 0.002962 0.32% Amr::writePlotFile() 2 0.00215 0.00215 0.00215 0.23% MLCGSolver::bicgstab 82 0.002091 0.002091 0.002091 0.22% Castro::reset_internal_energy(Fab) 504 0.002065 0.002065 0.002065 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001961 0.001961 0.001961 0.21% MLCellLinOp::smooth() 1640 0.001902 0.001902 0.001902 0.20% check_for_negative_density() 10 0.001668 0.001668 0.001668 0.18% MLCellLinOp::setLevelBC() 11 0.00162 0.00162 0.00162 0.17% Gravity::actual_solve_with_mlmg() 11 0.001556 0.001556 0.001556 0.17% MLCellLinOp::prepareForSolve() 11 0.001417 0.001417 0.001417 0.15% FabArray::setDomainBndry() 41 0.0014 0.0014 0.0014 0.15% FabArray::mult() 43 0.001396 0.001396 0.001396 0.15% Castro::initData() 1 0.001388 0.001388 0.001388 0.15% MultiFab::contains_nan() 20 0.001312 0.001312 0.001312 0.14% MLMG::prepareForSolve() 11 0.001094 0.001094 0.001094 0.12% MLCellLinOp::compGrad() 11 0.001083 0.001083 0.001083 0.12% FabArrayBase::getCPC() 1323 0.000892 0.000892 0.000892 0.10% FabArray::FillBoundary() 3941 0.0008657 0.0008657 0.0008657 0.09% FabArrayBase::CPC::define() 454 0.0007323 0.0007323 0.0007323 0.08% FabArrayBase::getFB() 3941 0.0007251 0.0007251 0.0007251 0.08% Gravity::get_new_grav_vector() 11 0.0006299 0.0006299 0.0006299 0.07% MLCellLinOp::apply() 1060 0.0005781 0.0005781 0.0005781 0.06% AmrLevel::FillPatch() 41 0.0005781 0.0005781 0.0005781 0.06% Amr::InitAmr() 1 0.0005369 0.0005369 0.0005369 0.06% Gravity::get_old_grav_vector() 10 0.0005248 0.0005248 0.0005248 0.06% Amr::coarseTimeStep() 10 0.0003693 0.0003693 0.0003693 0.04% MultiFab::max() 11 0.0003433 0.0003433 0.0003433 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003388 0.0003388 0.0003388 0.04% FabArray::ParallelCopy() 861 0.0003005 0.0003005 0.0003005 0.03% main() 1 0.0002768 0.0002768 0.0002768 0.03% MLMG::mgVcycle() 82 0.0002724 0.0002724 0.0002724 0.03% MLCellLinOp::defineBC() 11 0.0002616 0.0002616 0.0002616 0.03% FillPatchIterator::Initialize 41 0.000257 0.000257 0.000257 0.03% MLCellLinOp::correctionResidual() 410 0.0002126 0.0002126 0.0002126 0.02% Castro::create_source_corrector() 10 0.0001982 0.0001982 0.0001982 0.02% Castro::subcycle_advance_ctu() 10 0.0001812 0.0001812 0.0001812 0.02% Amr::timeStep() 10 0.0001752 0.0001752 0.0001752 0.02% MLLinOp::defineGrids() 11 0.0001734 0.0001734 0.0001734 0.02% Gravity::update_max_rhs() 11 0.0001458 0.0001458 0.0001458 0.02% StateData::checkPoint() 12 0.0001308 0.0001308 0.0001308 0.01% MLMG:computeResOfCorrection() 410 0.0001246 0.0001246 0.0001246 0.01% Gravity::solve_for_phi() 10 0.0001135 0.0001135 0.0001135 0.01% Castro::post_timestep() 10 0.0001117 0.0001117 0.0001117 0.01% Castro::clean_state() 62 0.0001113 0.0001113 0.0001113 0.01% MLMG::mgVcycle_down::1 82 0.0001089 0.0001089 0.0001089 0.01% MLMG::mgVcycle_down::2 82 0.000108 0.000108 0.000108 0.01% MLMG::mgVcycle_down::0 82 0.0001078 0.0001078 0.0001078 0.01% MLMG::mgVcycle_down::3 82 0.0001074 0.0001074 0.0001074 0.01% MLMG::mgVcycle_down::4 82 0.0001049 0.0001049 0.0001049 0.01% MLMG::actualBottomSolve() 82 0.0001033 0.0001033 0.0001033 0.01% Castro::initialize_advance() 10 0.0001032 0.0001032 0.0001032 0.01% FabArrayBase::FB::FB() 56 9.829e-05 9.829e-05 9.829e-05 0.01% Castro::construct_new_source() 50 9.295e-05 9.295e-05 9.295e-05 0.01% Castro::Castro() 1 9.008e-05 9.008e-05 9.008e-05 0.01% MLMG::solve() 11 8.913e-05 8.913e-05 8.913e-05 0.01% Castro::finalize_advance() 10 7.543e-05 7.543e-05 7.543e-05 0.01% Castro::do_advance_ctu() 10 7.043e-05 7.043e-05 7.043e-05 0.01% Castro::initialize_do_advance() 10 6.972e-05 6.972e-05 6.972e-05 0.01% AmrLevel::checkPoint() 3 6.932e-05 6.932e-05 6.932e-05 0.01% Castro::do_new_sources() 10 6.888e-05 6.888e-05 6.888e-05 0.01% Castro::enforce_consistent_e() 1 6.852e-05 6.852e-05 6.852e-05 0.01% MLMG::oneIter() 82 6.56e-05 6.56e-05 6.56e-05 0.01% MLMG::mgVcycle_up::4 82 6.373e-05 6.373e-05 6.373e-05 0.01% MLMG::mgVcycle_up::3 82 6.138e-05 6.138e-05 6.138e-05 0.01% MLMG::mgVcycle_up::0 82 6.023e-05 6.023e-05 6.023e-05 0.01% MLMG::mgVcycle_up::2 82 5.991e-05 5.991e-05 5.991e-05 0.01% MLMG::mgVcycle_up::1 82 5.956e-05 5.956e-05 5.956e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.415e-05 5.415e-05 5.415e-05 0.01% MLCellLinOp::solutionResidual() 93 5.256e-05 5.256e-05 5.256e-05 0.01% Castro::finalize_do_advance() 10 4.977e-05 4.977e-05 4.977e-05 0.01% Castro::advance() 10 4.925e-05 4.925e-05 4.925e-05 0.01% FillPatchSingleLevel 41 4.835e-05 4.835e-05 4.835e-05 0.01% Castro::swap_state_time_levels() 10 3.964e-05 3.964e-05 3.964e-05 0.00% StateData::define() 4 3.838e-05 3.838e-05 3.838e-05 0.00% Castro::do_old_sources() 10 3.584e-05 3.584e-05 3.584e-05 0.00% MLMG::mgVcycle_bottom 82 3.539e-05 3.539e-05 3.539e-05 0.00% Amr::writeSmallPlotFile() 1 3.481e-05 3.481e-05 3.481e-05 0.00% Castro::buildMetrics() 1 3.354e-05 3.354e-05 3.354e-05 0.00% MLMG::computeResidual() 82 3.309e-05 3.309e-05 3.309e-05 0.00% MLMG::ResNormInf() 93 3.235e-05 3.235e-05 3.235e-05 0.00% Amr::defBaseLevel() 1 3.158e-05 3.158e-05 3.158e-05 0.00% Castro::construct_new_gravity() 10 2.783e-05 2.783e-05 2.783e-05 0.00% Castro::initMFs() 1 2.742e-05 2.742e-05 2.742e-05 0.00% Castro::construct_old_source() 50 2.703e-05 2.703e-05 2.703e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.685e-05 2.685e-05 2.685e-05 0.00% MLPoisson::define() 11 2.603e-05 2.603e-05 2.603e-05 0.00% makeSFC 55 2.476e-05 2.476e-05 2.476e-05 0.00% Amr::FinalizeInit() 1 2.08e-05 2.08e-05 2.08e-05 0.00% Castro::apply_source_to_state() 20 1.798e-05 1.798e-05 1.798e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.654e-05 1.654e-05 1.654e-05 0.00% DistributionMapping::Distribute() 56 1.629e-05 1.629e-05 1.629e-05 0.00% Castro::check_for_nan() 20 1.481e-05 1.481e-05 1.481e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.475e-05 1.475e-05 1.475e-05 0.00% Gravity::actual_multilevel_solve() 1 1.466e-05 1.466e-05 1.466e-05 0.00% Gravity::swapTimeLevels() 10 1.439e-05 1.439e-05 1.439e-05 0.00% Castro::construct_old_gravity() 10 1.281e-05 1.281e-05 1.281e-05 0.00% MLLinOp::define() 11 1.109e-05 1.109e-05 1.109e-05 0.00% MLMG::computeMLResidual() 11 1.021e-05 1.021e-05 1.021e-05 0.00% Amr::initSubcycle() 1 9.673e-06 9.673e-06 9.673e-06 0.00% Castro::computeNewDt() 9 9.601e-06 9.601e-06 9.601e-06 0.00% AmrLevel::AmrLevel(dm) 1 8.474e-06 8.474e-06 8.474e-06 0.00% Castro::expand_state() 10 7.154e-06 7.154e-06 7.154e-06 0.00% MLMG::getGradSolution() 11 7.135e-06 7.135e-06 7.135e-06 0.00% MLPoisson::prepareForSolve() 11 7.043e-06 7.043e-06 7.043e-06 0.00% AmrLevel::checkPointPost() 3 6.986e-06 6.986e-06 6.986e-06 0.00% Amr::InitializeInit() 1 6.027e-06 6.027e-06 6.027e-06 0.00% Castro::retry_advance_ctu() 10 4.312e-06 4.312e-06 4.312e-06 0.00% Gravity::set_mass_offset() 11 4.309e-06 4.309e-06 4.309e-06 0.00% Castro::post_init() 1 4.158e-06 4.158e-06 4.158e-06 0.00% Castro::FluxRegCrseInit 10 4.136e-06 4.136e-06 4.136e-06 0.00% MLMG::MLRhsNormInf() 11 4.049e-06 4.049e-06 4.049e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.525e-06 3.525e-06 3.525e-06 0.00% MLMG::MLResNormInf() 11 3.484e-06 3.484e-06 3.484e-06 0.00% Castro::computeInitialDt() 2 2.92e-06 2.92e-06 2.92e-06 0.00% Amr::init() 1 2.886e-06 2.886e-06 2.886e-06 0.00% AmrLevel::checkPointPre() 3 2.629e-06 2.629e-06 2.629e-06 0.00% Castro::FluxRegFineAdd() 10 2.315e-06 2.315e-06 2.315e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.121e-06 2.121e-06 2.121e-06 0.00% Castro::post_regrid() 1 1.598e-06 1.598e-06 1.598e-06 0.00% Amr::initialInit() 1 1.216e-06 1.216e-06 1.216e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9303 0.9303 0.9303 100.00% Amr::coarseTimeStep() 10 0.7794 0.7794 0.7794 83.78% Amr::timeStep() 10 0.6833 0.6833 0.6833 73.45% Castro::advance() 10 0.6721 0.6721 0.6721 72.24% Castro::subcycle_advance_ctu() 10 0.6594 0.6594 0.6594 70.88% Castro::do_advance_ctu() 10 0.6592 0.6592 0.6592 70.86% Gravity::solve_phi_with_mlmg() 11 0.3126 0.3126 0.3126 33.61% Gravity::actual_solve_with_mlmg() 11 0.3029 0.3029 0.3029 32.56% Castro::construct_new_gravity() 10 0.2892 0.2892 0.2892 31.09% Castro::construct_ctu_hydro_source() 10 0.2832 0.2832 0.2832 30.44% MLMG::solve() 11 0.2797 0.2797 0.2797 30.07% Gravity::solve_for_phi() 10 0.2653 0.2653 0.2653 28.52% MLMG::oneIter() 82 0.2634 0.2634 0.2634 28.31% MLMG::mgVcycle() 82 0.2598 0.2598 0.2598 27.92% VisMF::Write(FabArray) 11 0.1756 0.1756 0.1756 18.88% Amr::checkPoint() 3 0.1373 0.1373 0.1373 14.76% AmrLevel::checkPoint() 3 0.1303 0.1303 0.1303 14.00% StateData::checkPoint() 12 0.1302 0.1302 0.1302 14.00% MLCellLinOp::smooth() 1640 0.1296 0.1296 0.1296 13.94% Amr::init() 1 0.1261 0.1261 0.1261 13.55% MLCellLinOp::applyBC() 4351 0.1201 0.1201 0.1201 12.91% MLMG::mgVcycle_bottom 82 0.07689 0.07689 0.07689 8.26% MLMG::actualBottomSolve() 82 0.07685 0.07685 0.07685 8.26% MLCGSolver::bicgstab 82 0.07596 0.07596 0.07596 8.17% AmrLevel::FillPatch() 41 0.06995 0.06995 0.06995 7.52% FillPatchIterator::Initialize 41 0.06525 0.06525 0.06525 7.01% FillPatchIterator::FillFromLevel0() 41 0.06359 0.06359 0.06359 6.84% FillPatchSingleLevel 41 0.06353 0.06353 0.06353 6.83% StateDataPhysBCFunct::() 41 0.05932 0.05932 0.05932 6.38% Amr::initialInit() 1 0.05724 0.05724 0.05724 6.15% Castro::clean_state() 62 0.05471 0.05471 0.05471 5.88% StateData::FillBoundary(geom) 328 0.05238 0.05238 0.05238 5.63% Amr::FinalizeInit() 1 0.05216 0.05216 0.05216 5.61% Castro::post_init() 1 0.05063 0.05063 0.05063 5.44% Amr::writePlotFile() 2 0.04824 0.04824 0.04824 5.19% Gravity::multilevel_solve_for_new_phi() 1 0.04779 0.04779 0.04779 5.14% Gravity::actual_multilevel_solve() 1 0.04777 0.04777 0.04777 5.13% MLCellLinOp::apply() 1060 0.03896 0.03896 0.03896 4.19% MLPoisson::Fsmooth() 3280 0.03575 0.03575 0.03575 3.84% MLMG::mgVcycle_down::0 82 0.03562 0.03562 0.03562 3.83% FabArray::FillBoundary() 3941 0.03226 0.03226 0.03226 3.47% FillBoundary_nowait() 3941 0.0314 0.0314 0.0314 3.37% MLMG::mgVcycle_up::0 82 0.02706 0.02706 0.02706 2.91% Gravity::get_new_grav_vector() 11 0.02632 0.02632 0.02632 2.83% Castro::construct_old_gravity() 10 0.0255 0.0255 0.0255 2.74% Gravity::get_old_grav_vector() 10 0.02549 0.02549 0.02549 2.74% Castro::initialize_do_advance() 10 0.02279 0.02279 0.02279 2.45% amrex::Dot() 1114 0.02229 0.02229 0.02229 2.40% Castro::computeTemp() 63 0.0221 0.0221 0.0221 2.38% Castro::do_old_sources() 10 0.02184 0.02184 0.02184 2.35% MLMG:computeResOfCorrection() 410 0.02148 0.02148 0.02148 2.31% MLCellLinOp::correctionResidual() 410 0.02136 0.02136 0.02136 2.30% FabArray::norminf() 1061 0.02052 0.02052 0.02052 2.21% Castro::normalize_species() 62 0.01973 0.01973 0.01973 2.12% MLPoisson::define() 11 0.01834 0.01834 0.01834 1.97% MLMG::mgVcycle_down::1 82 0.01807 0.01807 0.01807 1.94% MLMG::mgVcycle_down::2 82 0.01698 0.01698 0.01698 1.83% MLMG::mgVcycle_down::3 82 0.01657 0.01657 0.01657 1.78% MLMG::mgVcycle_down::4 82 0.01645 0.01645 0.01645 1.77% FabArray::ParallelCopy() 861 0.01609 0.01609 0.01609 1.73% FabArray::ParallelCopy_nowait() 861 0.01579 0.01579 0.01579 1.70% FabArray::setVal() 1062 0.01416 0.01416 0.01416 1.52% FabArray::Saxpy() 1370 0.01367 0.01367 0.01367 1.47% Castro::do_new_sources() 10 0.01362 0.01362 0.01362 1.46% MLMG::addInterpCorrection() 410 0.01358 0.01358 0.01358 1.46% MLCGSolver::ParallelAllReduce 1832 0.01342 0.01342 0.01342 1.44% MLMG::mgVcycle_up::1 82 0.01315 0.01315 0.01315 1.41% MLMG::mgVcycle_up::4 82 0.01309 0.01309 0.01309 1.41% MLMG::mgVcycle_up::2 82 0.01291 0.01291 0.01291 1.39% amrex::average_down 410 0.01282 0.01282 0.01282 1.38% MLMG::mgVcycle_up::3 82 0.01269 0.01269 0.01269 1.36% Castro::expand_state() 10 0.01265 0.01265 0.01265 1.36% MLCellLinOp::defineAuxData() 11 0.01261 0.01261 0.01261 1.36% Castro::initialize_advance() 10 0.01204 0.01204 0.01204 1.29% amrex::Copy() 472 0.0114 0.0114 0.0114 1.23% Castro::post_timestep() 10 0.01107 0.01107 0.01107 1.19% MLPoisson::Fapply() 1060 0.01082 0.01082 0.01082 1.16% Castro::enforce_min_density() 62 0.01003 0.01003 0.01003 1.08% Gravity::fill_multipole_BCs() 11 0.009512 0.009512 0.009512 1.02% MLCellLinOp::solutionResidual() 93 0.008169 0.008169 0.008169 0.88% FabArray::Xpay() 739 0.008037 0.008037 0.008037 0.86% Castro::reset_internal_energy(MultiFab) 63 0.007263 0.007263 0.007263 0.78% MLMG::computeResidual() 82 0.006786 0.006786 0.006786 0.73% MLMG::prepareForSolve() 11 0.005547 0.005547 0.005547 0.60% MLCellLinOp::defineBC() 11 0.005465 0.005465 0.005465 0.59% BndryData::define() 11 0.005204 0.005204 0.005204 0.56% Castro::estTimeStep() 21 0.00509 0.00509 0.00509 0.55% Amr::InitializeInit() 1 0.005075 0.005075 0.005075 0.55% Amr::defBaseLevel() 1 0.005069 0.005069 0.005069 0.54% Castro::initData() 1 0.004412 0.004412 0.004412 0.47% Castro::enforce_speed_limit() 62 0.003779 0.003779 0.003779 0.41% Castro::construct_new_source() 50 0.00364 0.00364 0.00364 0.39% amrex::Add() 82 0.003599 0.003599 0.003599 0.39% Castro::construct_new_gravity_source() 10 0.003547 0.003547 0.003547 0.38% Castro::construct_old_source() 50 0.002989 0.002989 0.002989 0.32% Castro::construct_old_gravity_source() 10 0.002962 0.002962 0.002962 0.32% Castro::computeNewDt() 9 0.002235 0.002235 0.002235 0.24% MLMG::ResNormInf() 93 0.002235 0.002235 0.002235 0.24% Castro::reset_internal_energy(Fab) 504 0.002065 0.002065 0.002065 0.22% Castro::finalize_do_advance() 10 0.001983 0.001983 0.001983 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001961 0.001961 0.001961 0.21% Castro::apply_source_to_state() 20 0.001923 0.001923 0.001923 0.21% check_for_negative_density() 10 0.001668 0.001668 0.001668 0.18% MLMG::getGradSolution() 11 0.001632 0.001632 0.001632 0.18% MLCellLinOp::compGrad() 11 0.001625 0.001625 0.001625 0.17% FabArrayBase::getCPC() 1323 0.001624 0.001624 0.001624 0.17% MLCellLinOp::setLevelBC() 11 0.00162 0.00162 0.00162 0.17% MLMG::computeMLResidual() 11 0.001426 0.001426 0.001426 0.15% MLPoisson::prepareForSolve() 11 0.001424 0.001424 0.001424 0.15% MLCellLinOp::prepareForSolve() 11 0.001417 0.001417 0.001417 0.15% FabArray::setDomainBndry() 41 0.0014 0.0014 0.0014 0.15% FabArray::mult() 43 0.001396 0.001396 0.001396 0.15% Castro::check_for_nan() 20 0.001326 0.001326 0.001326 0.14% MultiFab::contains_nan() 20 0.001312 0.001312 0.001312 0.14% Castro::post_regrid() 1 0.001232 0.001232 0.001232 0.13% Gravity::update_max_rhs() 11 0.001059 0.001059 0.001059 0.11% Castro::computeInitialDt() 2 0.0009348 0.0009348 0.0009348 0.10% FabArrayBase::getFB() 3941 0.0008234 0.0008234 0.0008234 0.09% FabArrayBase::CPC::define() 454 0.0007323 0.0007323 0.0007323 0.08% Castro::finalize_advance() 10 0.0006423 0.0006423 0.0006423 0.07% Castro::Castro() 1 0.0005743 0.0005743 0.0005743 0.06% Amr::InitAmr() 1 0.0005465 0.0005465 0.0005465 0.06% Gravity::swapTimeLevels() 10 0.0004932 0.0004932 0.0004932 0.05% MultiFab::max() 11 0.0003433 0.0003433 0.0003433 0.04% MLMG::MLResNormInf() 11 0.0003359 0.0003359 0.0003359 0.04% Castro::buildMetrics() 1 0.0002769 0.0002769 0.0002769 0.03% MLLinOp::define() 11 0.0002413 0.0002413 0.0002413 0.03% MLMG::MLRhsNormInf() 11 0.0002359 0.0002359 0.0002359 0.03% MLLinOp::defineGrids() 11 0.0002302 0.0002302 0.0002302 0.02% Castro::create_source_corrector() 10 0.0001982 0.0001982 0.0001982 0.02% FabArrayBase::FB::FB() 56 9.829e-05 9.829e-05 9.829e-05 0.01% Castro::enforce_consistent_e() 1 6.852e-05 6.852e-05 6.852e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.468e-05 5.468e-05 5.468e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.686e-05 4.686e-05 4.686e-05 0.01% makeSFC 55 3.993e-05 3.993e-05 3.993e-05 0.00% Castro::swap_state_time_levels() 10 3.964e-05 3.964e-05 3.964e-05 0.00% StateData::define() 4 3.838e-05 3.838e-05 3.838e-05 0.00% Amr::writeSmallPlotFile() 1 3.481e-05 3.481e-05 3.481e-05 0.00% Castro::initMFs() 1 2.742e-05 2.742e-05 2.742e-05 0.00% DistributionMapping::Distribute() 56 1.629e-05 1.629e-05 1.629e-05 0.00% Amr::initSubcycle() 1 9.673e-06 9.673e-06 9.673e-06 0.00% AmrLevel::checkPointPost() 3 6.986e-06 6.986e-06 6.986e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.637e-06 4.637e-06 4.637e-06 0.00% Castro::retry_advance_ctu() 10 4.312e-06 4.312e-06 4.312e-06 0.00% Gravity::set_mass_offset() 11 4.309e-06 4.309e-06 4.309e-06 0.00% Castro::FluxRegCrseInit 10 4.136e-06 4.136e-06 4.136e-06 0.00% AmrLevel::checkPointPre() 3 2.629e-06 2.629e-06 2.629e-06 0.00% Castro::FluxRegFineAdd() 10 2.315e-06 2.315e-06 2.315e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.121e-06 2.121e-06 2.121e-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 5289 KiB 9037 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 1308 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1445 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3697 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 292 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 280 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2194 B 2048 KiB Gravity::solve_for_phi() 80 80 583 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 105 KiB 2048 KiB BndryData::define() 1056 1056 338 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 215 KiB 671 KiB Castro::estTimeStep() 21 21 2658 B 480 KiB VisMF::Write(FabArray) 656 656 3388 B 320 KiB Castro::normalize_species() 62 62 6902 B 320 KiB amrex::average_down 1067 1067 1650 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1205 B 257 KiB amrex::Dot() 1360 1360 3508 B 160 KiB FabArray::norminf() 1143 1143 3379 B 160 KiB check_for_negative_density() 10 10 286 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3608 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 8702 8702 228 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3956 B 6144 B StateData::FillBoundary(geom) 1992 1992 27 B 2736 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 380 B 1248 B MLCGSolver::bicgstab 410 410 98 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 568 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 406 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3608 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 4351 4351 225 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3956 B 6144 B Gravity::get_new_grav_vector() 3 3 2886 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 27 B 2736 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 308 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 1143 1143 10 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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.04-3-gd78e241d1ad4) finalized Initializing AMReX (24.04-3-gd78e241d1ad4)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-3-gd78e241d1ad4) initialized Starting run at 08:31:06 UTC on 2024-04-03. Successfully read inputs file ... Castro git describe: 24.04-1-g6930369b2 AMReX git describe: 24.04-3-gd78e241d1 Microphysics git describe: 24.04 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.523166054 Restart time = 0.071688742 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.069873621 [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.048667592 [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.069507923 [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.075563821 [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.068434162 [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.02668036 seconds Ending run at 08:31:06 UTC on 2024-04-03. Run time = 0.431455818 Run time without initialization = 0.35914673 Average number of zones advanced per microsecond: 3.650 Average number of zones advanced per microsecond per rank: 3.650 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4315 ... 0.4315 ... 0.4315 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1427 0.1427 0.1427 33.07% VisMF::Read() 3 0.06051 0.06051 0.06051 14.02% MLCellLinOp::applyBC() 1910 0.03535 0.03535 0.03535 8.19% VisMF::Write(FabArray) 1 0.02398 0.02398 0.02398 5.56% MLPoisson::Fsmooth() 1440 0.01449 0.01449 0.01449 3.36% FillBoundary_nowait() 1730 0.01296 0.01296 0.01296 3.00% StateData::FillBoundary(geom) 160 0.01235 0.01235 0.01235 2.86% Castro::normalize_species() 30 0.009554 0.009554 0.009554 2.21% amrex::Dot() 484 0.009065 0.009065 0.009065 2.10% FabArray::norminf() 465 0.008551 0.008551 0.008551 1.98% FabArray::setVal() 501 0.006515 0.006515 0.006515 1.51% Castro::computeTemp() 30 0.006216 0.006216 0.006216 1.44% FabArray::ParallelCopy_nowait() 380 0.006111 0.006111 0.006111 1.42% FabArray::Saxpy() 597 0.005759 0.005759 0.005759 1.33% Castro::enforce_min_density() 30 0.005708 0.005708 0.005708 1.32% MLCellLinOp::defineAuxData() 6 0.005668 0.005668 0.005668 1.31% amrex::Copy() 221 0.005419 0.005419 0.005419 1.26% Gravity::fill_multipole_BCs() 6 0.005171 0.005171 0.005171 1.20% StateDataPhysBCFunct::() 20 0.00511 0.00511 0.00511 1.18% Amr::restart() 1 0.004852 0.004852 0.004852 1.12% MLPoisson::Fapply() 464 0.00443 0.00443 0.00443 1.03% FabArray::Xpay() 325 0.003443 0.003443 0.003443 0.80% MLMG::addInterpCorrection() 180 0.003079 0.003079 0.003079 0.71% Castro::estTimeStep() 10 0.002956 0.002956 0.002956 0.68% amrex::average_down 180 0.002695 0.002695 0.002695 0.62% Amr::writePlotFile() 1 0.002528 0.002528 0.002528 0.59% BndryData::define() 6 0.002124 0.002124 0.002124 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002014 0.002014 0.002014 0.47% Castro::enforce_speed_limit() 30 0.001773 0.001773 0.001773 0.41% Castro::construct_new_gravity_source() 5 0.001667 0.001667 0.001667 0.39% amrex::Add() 36 0.001544 0.001544 0.001544 0.36% Castro::construct_old_gravity_source() 5 0.00123 0.00123 0.00123 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009692 0.0009692 0.0009692 0.22% MLCellLinOp::setLevelBC() 6 0.0008856 0.0008856 0.0008856 0.21% check_for_negative_density() 5 0.0008448 0.0008448 0.0008448 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008412 0.0008412 0.0008412 0.19% MLCellLinOp::prepareForSolve() 6 0.000759 0.000759 0.000759 0.18% Castro::reset_internal_energy(Fab) 240 0.000756 0.000756 0.000756 0.18% MLCGSolver::bicgstab 36 0.000715 0.000715 0.000715 0.17% FabArray::mult() 22 0.0006992 0.0006992 0.0006992 0.16% FabArray::setDomainBndry() 20 0.0006785 0.0006785 0.0006785 0.16% MultiFab::contains_nan() 10 0.0006636 0.0006636 0.0006636 0.15% MLCellLinOp::compGrad() 6 0.0005947 0.0005947 0.0005947 0.14% MLMG::prepareForSolve() 6 0.00055 0.00055 0.00055 0.13% MLCellLinOp::smooth() 720 0.0005191 0.0005191 0.0005191 0.12% Amr::InitAmr() 1 0.000464 0.000464 0.000464 0.11% FabArrayBase::CPC::define() 244 0.0004119 0.0004119 0.0004119 0.10% FabArrayBase::getCPC() 632 0.0003797 0.0003797 0.0003797 0.09% Gravity::get_old_grav_vector() 5 0.0003497 0.0003497 0.0003497 0.08% FabArray::FillBoundary() 1730 0.0003401 0.0003401 0.0003401 0.08% Gravity::get_new_grav_vector() 5 0.0003129 0.0003129 0.0003129 0.07% FabArrayBase::getFB() 1730 0.0002916 0.0002916 0.0002916 0.07% main() 1 0.0002561 0.0002561 0.0002561 0.06% MultiFab::max() 6 0.0002021 0.0002021 0.0002021 0.05% AmrLevel::FillPatch() 20 0.0002013 0.0002013 0.0002013 0.05% MLCellLinOp::apply() 464 0.0001875 0.0001875 0.0001875 0.04% Amr::coarseTimeStep() 5 0.000177 0.000177 0.000177 0.04% MLCellLinOp::defineBC() 6 0.0001404 0.0001404 0.0001404 0.03% MLCGSolver::ParallelAllReduce 798 0.0001382 0.0001382 0.0001382 0.03% FabArray::ParallelCopy() 380 0.0001172 0.0001172 0.0001172 0.03% Castro::create_source_corrector() 5 0.0001123 0.0001123 0.0001123 0.03% MLLinOp::defineGrids() 6 0.0001055 0.0001055 0.0001055 0.02% FillPatchIterator::Initialize 20 0.0001006 0.0001006 0.0001006 0.02% Castro::finalize_do_advance() 5 9.928e-05 9.928e-05 9.928e-05 0.02% Castro::construct_new_source() 25 9.651e-05 9.651e-05 9.651e-05 0.02% Amr::timeStep() 5 8.749e-05 8.749e-05 8.749e-05 0.02% MLMG::mgVcycle() 36 8.683e-05 8.683e-05 8.683e-05 0.02% MLCellLinOp::correctionResidual() 180 7.573e-05 7.573e-05 7.573e-05 0.02% Castro::do_advance_ctu() 5 7.113e-05 7.113e-05 7.113e-05 0.02% Castro::subcycle_advance_ctu() 5 6.937e-05 6.937e-05 6.937e-05 0.02% AmrLevel::restart() 1 6.735e-05 6.735e-05 6.735e-05 0.02% FabArrayBase::FB::FB() 26 6.638e-05 6.638e-05 6.638e-05 0.02% Castro::initialize_do_advance() 5 6.533e-05 6.533e-05 6.533e-05 0.02% Gravity::update_max_rhs() 6 6.502e-05 6.502e-05 6.502e-05 0.02% StateData::restartDoit() 4 6.408e-05 6.408e-05 6.408e-05 0.01% Castro::post_timestep() 5 5.951e-05 5.951e-05 5.951e-05 0.01% Castro::advance() 5 5.551e-05 5.551e-05 5.551e-05 0.01% MLMG:computeResOfCorrection() 180 5.453e-05 5.453e-05 5.453e-05 0.01% Castro::construct_old_source() 25 5.032e-05 5.032e-05 5.032e-05 0.01% Gravity::solve_for_phi() 5 4.982e-05 4.982e-05 4.982e-05 0.01% Castro::do_new_sources() 5 4.836e-05 4.836e-05 4.836e-05 0.01% MLMG::actualBottomSolve() 36 4.002e-05 4.002e-05 4.002e-05 0.01% Castro::initialize_advance() 5 3.633e-05 3.633e-05 3.633e-05 0.01% MLMG::mgVcycle_down::0 36 3.528e-05 3.528e-05 3.528e-05 0.01% MLMG::mgVcycle_down::1 36 3.434e-05 3.434e-05 3.434e-05 0.01% MLMG::solve() 6 3.378e-05 3.378e-05 3.378e-05 0.01% Castro::clean_state() 30 3.327e-05 3.327e-05 3.327e-05 0.01% Castro::do_old_sources() 5 3.266e-05 3.266e-05 3.266e-05 0.01% MLMG::mgVcycle_down::2 36 3.227e-05 3.227e-05 3.227e-05 0.01% MLMG::mgVcycle_down::4 36 3.144e-05 3.144e-05 3.144e-05 0.01% Castro::finalize_advance() 5 3.095e-05 3.095e-05 3.095e-05 0.01% MLMG::mgVcycle_down::3 36 3.037e-05 3.037e-05 3.037e-05 0.01% Castro::buildMetrics() 1 2.976e-05 2.976e-05 2.976e-05 0.01% Castro::post_restart() 1 2.935e-05 2.935e-05 2.935e-05 0.01% Amr::writeSmallPlotFile() 1 2.813e-05 2.813e-05 2.813e-05 0.01% Castro::swap_state_time_levels() 5 2.709e-05 2.709e-05 2.709e-05 0.01% MLMG::oneIter() 36 2.699e-05 2.699e-05 2.699e-05 0.01% MLMG::mgVcycle_up::4 36 2.514e-05 2.514e-05 2.514e-05 0.01% MLMG::mgVcycle_up::2 36 2.399e-05 2.399e-05 2.399e-05 0.01% MLMG::mgVcycle_up::1 36 2.37e-05 2.37e-05 2.37e-05 0.01% Castro::initMFs() 1 2.283e-05 2.283e-05 2.283e-05 0.01% MLMG::mgVcycle_up::3 36 2.129e-05 2.129e-05 2.129e-05 0.00% MLCellLinOp::solutionResidual() 42 2.109e-05 2.109e-05 2.109e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.095e-05 2.095e-05 2.095e-05 0.00% MLMG::mgVcycle_up::0 36 2.076e-05 2.076e-05 2.076e-05 0.00% MLPoisson::define() 6 1.978e-05 1.978e-05 1.978e-05 0.00% Gravity::actual_multilevel_solve() 1 1.684e-05 1.684e-05 1.684e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.608e-05 1.608e-05 1.608e-05 0.00% makeSFC 30 1.588e-05 1.588e-05 1.588e-05 0.00% FillPatchSingleLevel 20 1.581e-05 1.581e-05 1.581e-05 0.00% MLMG::ResNormInf() 42 1.509e-05 1.509e-05 1.509e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.42e-05 1.42e-05 1.42e-05 0.00% MLMG::mgVcycle_bottom 36 1.417e-05 1.417e-05 1.417e-05 0.00% MLMG::computeResidual() 36 1.334e-05 1.334e-05 1.334e-05 0.00% Castro::construct_new_gravity() 5 1.26e-05 1.26e-05 1.26e-05 0.00% DistributionMapping::Distribute() 31 1.01e-05 1.01e-05 1.01e-05 0.00% Amr::initSubcycle() 1 9.666e-06 9.666e-06 9.666e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.274e-06 8.274e-06 8.274e-06 0.00% MLLinOp::define() 6 7.113e-06 7.113e-06 7.113e-06 0.00% Castro::construct_old_gravity() 5 6.453e-06 6.453e-06 6.453e-06 0.00% Castro::check_for_nan() 10 6.36e-06 6.36e-06 6.36e-06 0.00% Castro::apply_source_to_state() 10 6.131e-06 6.131e-06 6.131e-06 0.00% MLMG::computeMLResidual() 6 4.715e-06 4.715e-06 4.715e-06 0.00% Gravity::swapTimeLevels() 5 4.16e-06 4.16e-06 4.16e-06 0.00% MLPoisson::prepareForSolve() 6 3.684e-06 3.684e-06 3.684e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.581e-06 3.581e-06 3.581e-06 0.00% Castro::computeNewDt() 5 3.385e-06 3.385e-06 3.385e-06 0.00% Castro::expand_state() 5 3.027e-06 3.027e-06 3.027e-06 0.00% MLMG::getGradSolution() 6 2.987e-06 2.987e-06 2.987e-06 0.00% MLMG::MLResNormInf() 6 2.372e-06 2.372e-06 2.372e-06 0.00% MLMG::MLRhsNormInf() 6 2.169e-06 2.169e-06 2.169e-06 0.00% Gravity::set_mass_offset() 6 2.156e-06 2.156e-06 2.156e-06 0.00% Castro::retry_advance_ctu() 5 1.78e-06 1.78e-06 1.78e-06 0.00% Castro::FluxRegCrseInit 5 1.713e-06 1.713e-06 1.713e-06 0.00% Castro::FluxRegFineAdd() 5 1.289e-06 1.289e-06 1.289e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.144e-06 1.144e-06 1.144e-06 0.00% Amr::init() 1 7.44e-07 7.44e-07 7.44e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4315 0.4315 0.4315 99.99% Amr::coarseTimeStep() 5 0.3322 0.3322 0.3322 76.99% Amr::timeStep() 5 0.3301 0.3301 0.3301 76.51% Castro::advance() 5 0.3245 0.3245 0.3245 75.21% Castro::subcycle_advance_ctu() 5 0.3173 0.3173 0.3173 73.53% Castro::do_advance_ctu() 5 0.3172 0.3172 0.3172 73.51% Castro::construct_ctu_hydro_source() 5 0.1476 0.1476 0.1476 34.21% Castro::construct_new_gravity() 5 0.1343 0.1343 0.1343 31.13% Gravity::solve_phi_with_mlmg() 6 0.1315 0.1315 0.1315 30.48% Gravity::solve_for_phi() 5 0.1263 0.1263 0.1263 29.27% Gravity::actual_solve_with_mlmg() 6 0.1261 0.1261 0.1261 29.22% MLMG::solve() 6 0.114 0.114 0.114 26.42% MLMG::oneIter() 36 0.1064 0.1064 0.1064 24.65% MLMG::mgVcycle() 36 0.1048 0.1048 0.1048 24.28% Amr::init() 1 0.07173 0.07173 0.07173 16.62% Amr::restart() 1 0.07173 0.07173 0.07173 16.62% AmrLevel::restart() 1 0.06088 0.06088 0.06088 14.11% StateData::restartDoit() 4 0.06081 0.06081 0.06081 14.09% VisMF::Read() 3 0.06051 0.06051 0.06051 14.02% MLCellLinOp::smooth() 720 0.05238 0.05238 0.05238 12.14% MLCellLinOp::applyBC() 1910 0.04901 0.04901 0.04901 11.36% MLMG::mgVcycle_bottom 36 0.03114 0.03114 0.03114 7.22% MLMG::actualBottomSolve() 36 0.03113 0.03113 0.03113 7.21% MLCGSolver::bicgstab 36 0.03076 0.03076 0.03076 7.13% Amr::writePlotFile() 1 0.02676 0.02676 0.02676 6.20% Castro::clean_state() 30 0.02605 0.02605 0.02605 6.04% VisMF::Write(FabArray) 1 0.02398 0.02398 0.02398 5.56% AmrLevel::FillPatch() 20 0.02241 0.02241 0.02241 5.19% FillPatchIterator::Initialize 20 0.02031 0.02031 0.02031 4.71% FillPatchIterator::FillFromLevel0() 20 0.01953 0.01953 0.01953 4.53% FillPatchSingleLevel 20 0.01951 0.01951 0.01951 4.52% StateDataPhysBCFunct::() 20 0.01746 0.01746 0.01746 4.05% MLCellLinOp::apply() 464 0.01597 0.01597 0.01597 3.70% MLMG::mgVcycle_down::0 36 0.01501 0.01501 0.01501 3.48% MLPoisson::Fsmooth() 1440 0.01449 0.01449 0.01449 3.36% FabArray::FillBoundary() 1730 0.01366 0.01366 0.01366 3.16% FillBoundary_nowait() 1730 0.01332 0.01332 0.01332 3.09% StateData::FillBoundary(geom) 160 0.01235 0.01235 0.01235 2.86% MLMG::mgVcycle_up::0 36 0.01122 0.01122 0.01122 2.60% Castro::initialize_do_advance() 5 0.01025 0.01025 0.01025 2.37% Castro::normalize_species() 30 0.009554 0.009554 0.009554 2.21% MLPoisson::define() 6 0.009469 0.009469 0.009469 2.19% Castro::do_old_sources() 5 0.009113 0.009113 0.009113 2.11% amrex::Dot() 484 0.009065 0.009065 0.009065 2.10% Castro::computeTemp() 30 0.008986 0.008986 0.008986 2.08% MLMG:computeResOfCorrection() 180 0.00887 0.00887 0.00887 2.06% MLCellLinOp::correctionResidual() 180 0.008816 0.008816 0.008816 2.04% FabArray::norminf() 465 0.008551 0.008551 0.008551 1.98% Gravity::get_new_grav_vector() 5 0.00791 0.00791 0.00791 1.83% Castro::construct_old_gravity() 5 0.007589 0.007589 0.007589 1.76% Gravity::get_old_grav_vector() 5 0.007582 0.007582 0.007582 1.76% MLMG::mgVcycle_down::1 36 0.007254 0.007254 0.007254 1.68% Castro::initialize_advance() 5 0.006898 0.006898 0.006898 1.60% MLMG::mgVcycle_down::2 36 0.006659 0.006659 0.006659 1.54% Castro::do_new_sources() 5 0.006631 0.006631 0.006631 1.54% FabArray::ParallelCopy() 380 0.006618 0.006618 0.006618 1.53% MLMG::mgVcycle_down::3 36 0.006529 0.006529 0.006529 1.51% FabArray::setVal() 501 0.006515 0.006515 0.006515 1.51% FabArray::ParallelCopy_nowait() 380 0.006501 0.006501 0.006501 1.51% MLCellLinOp::defineAuxData() 6 0.006461 0.006461 0.006461 1.50% MLMG::mgVcycle_down::4 36 0.006432 0.006432 0.006432 1.49% Castro::post_restart() 1 0.005815 0.005815 0.005815 1.35% FabArray::Saxpy() 597 0.005759 0.005759 0.005759 1.33% Castro::expand_state() 5 0.005725 0.005725 0.005725 1.33% Castro::enforce_min_density() 30 0.005708 0.005708 0.005708 1.32% Castro::post_timestep() 5 0.005507 0.005507 0.005507 1.28% MLCGSolver::ParallelAllReduce 798 0.0055 0.0055 0.0055 1.27% Gravity::multilevel_solve_for_new_phi() 1 0.005441 0.005441 0.005441 1.26% Gravity::actual_multilevel_solve() 1 0.005425 0.005425 0.005425 1.26% amrex::Copy() 221 0.005419 0.005419 0.005419 1.26% MLMG::addInterpCorrection() 180 0.005355 0.005355 0.005355 1.24% Gravity::fill_multipole_BCs() 6 0.005293 0.005293 0.005293 1.23% MLMG::mgVcycle_up::1 36 0.005186 0.005186 0.005186 1.20% MLMG::mgVcycle_up::4 36 0.005177 0.005177 0.005177 1.20% MLMG::mgVcycle_up::2 36 0.005094 0.005094 0.005094 1.18% amrex::average_down 180 0.005001 0.005001 0.005001 1.16% MLMG::mgVcycle_up::3 36 0.004989 0.004989 0.004989 1.16% MLPoisson::Fapply() 464 0.00443 0.00443 0.00443 1.03% MLCellLinOp::solutionResidual() 42 0.003649 0.003649 0.003649 0.85% FabArray::Xpay() 325 0.003443 0.003443 0.003443 0.80% Castro::estTimeStep() 10 0.002956 0.002956 0.002956 0.68% MLMG::computeResidual() 36 0.002848 0.002848 0.002848 0.66% MLMG::prepareForSolve() 6 0.002847 0.002847 0.002847 0.66% MLCellLinOp::defineBC() 6 0.002842 0.002842 0.002842 0.66% Castro::reset_internal_energy(MultiFab) 30 0.00277 0.00277 0.00277 0.64% BndryData::define() 6 0.002702 0.002702 0.002702 0.63% Castro::computeNewDt() 5 0.001915 0.001915 0.001915 0.44% Castro::enforce_speed_limit() 30 0.001773 0.001773 0.001773 0.41% Castro::construct_new_source() 25 0.001764 0.001764 0.001764 0.41% Castro::construct_new_gravity_source() 5 0.001667 0.001667 0.001667 0.39% amrex::Add() 36 0.001544 0.001544 0.001544 0.36% Castro::construct_old_source() 25 0.001281 0.001281 0.001281 0.30% Castro::construct_old_gravity_source() 5 0.00123 0.00123 0.00123 0.29% Castro::finalize_do_advance() 5 0.001143 0.001143 0.001143 0.26% MLMG::ResNormInf() 42 0.0009829 0.0009829 0.0009829 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009692 0.0009692 0.0009692 0.22% Castro::apply_source_to_state() 10 0.0009553 0.0009553 0.0009553 0.22% MLMG::getGradSolution() 6 0.000886 0.000886 0.000886 0.21% MLCellLinOp::setLevelBC() 6 0.0008856 0.0008856 0.0008856 0.21% MLCellLinOp::compGrad() 6 0.000883 0.000883 0.000883 0.20% check_for_negative_density() 5 0.0008448 0.0008448 0.0008448 0.20% MLMG::computeMLResidual() 6 0.0008197 0.0008197 0.0008197 0.19% FabArrayBase::getCPC() 632 0.0007916 0.0007916 0.0007916 0.18% MLPoisson::prepareForSolve() 6 0.0007627 0.0007627 0.0007627 0.18% MLCellLinOp::prepareForSolve() 6 0.000759 0.000759 0.000759 0.18% Castro::reset_internal_energy(Fab) 240 0.000756 0.000756 0.000756 0.18% Gravity::update_max_rhs() 6 0.0007138 0.0007138 0.0007138 0.17% FabArray::mult() 22 0.0006992 0.0006992 0.0006992 0.16% FabArray::setDomainBndry() 20 0.0006785 0.0006785 0.0006785 0.16% Castro::check_for_nan() 10 0.00067 0.00067 0.00067 0.16% MultiFab::contains_nan() 10 0.0006636 0.0006636 0.0006636 0.15% Amr::InitAmr() 1 0.0004737 0.0004737 0.0004737 0.11% FabArrayBase::CPC::define() 244 0.0004119 0.0004119 0.0004119 0.10% FabArrayBase::getFB() 1730 0.000358 0.000358 0.000358 0.08% Castro::finalize_advance() 5 0.0003002 0.0003002 0.0003002 0.07% Gravity::swapTimeLevels() 5 0.0002519 0.0002519 0.0002519 0.06% MultiFab::max() 6 0.0002021 0.0002021 0.0002021 0.05% MLMG::MLResNormInf() 6 0.0001908 0.0001908 0.0001908 0.04% Castro::buildMetrics() 1 0.0001601 0.0001601 0.0001601 0.04% MLLinOp::define() 6 0.0001467 0.0001467 0.0001467 0.03% MLLinOp::defineGrids() 6 0.0001396 0.0001396 0.0001396 0.03% MLMG::MLRhsNormInf() 6 0.0001214 0.0001214 0.0001214 0.03% Castro::create_source_corrector() 5 0.0001123 0.0001123 0.0001123 0.03% FabArrayBase::FB::FB() 26 6.638e-05 6.638e-05 6.638e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 3.296e-05 3.296e-05 3.296e-05 0.01% Amr::writeSmallPlotFile() 1 2.813e-05 2.813e-05 2.813e-05 0.01% Castro::swap_state_time_levels() 5 2.709e-05 2.709e-05 2.709e-05 0.01% makeSFC 30 2.468e-05 2.468e-05 2.468e-05 0.01% Castro::initMFs() 1 2.283e-05 2.283e-05 2.283e-05 0.01% DistributionMapping::Distribute() 31 1.01e-05 1.01e-05 1.01e-05 0.00% Amr::initSubcycle() 1 9.666e-06 9.666e-06 9.666e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.886e-06 4.886e-06 4.886e-06 0.00% Gravity::set_mass_offset() 6 2.156e-06 2.156e-06 2.156e-06 0.00% Castro::retry_advance_ctu() 5 1.78e-06 1.78e-06 1.78e-06 0.00% Castro::FluxRegCrseInit 5 1.713e-06 1.713e-06 1.713e-06 0.00% Castro::FluxRegFineAdd() 5 1.289e-06 1.289e-06 1.289e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.144e-06 1.144e-06 1.144e-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 10 MiB 9037 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 1022 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1645 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 6412 KiB 14 MiB MLMG::prepareForSolve() 361 361 3243 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 182 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 187 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6399 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3287 B 2048 KiB Gravity::solve_for_phi() 40 40 598 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 299 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 192 KiB 671 KiB Castro::estTimeStep() 10 10 3141 B 480 KiB VisMF::Write(FabArray) 112 112 1259 B 320 KiB Castro::normalize_species() 30 30 7198 B 320 KiB amrex::average_down 469 469 1376 B 257 KiB MLMG::addInterpCorrection() 468 468 1062 B 257 KiB amrex::Dot() 592 592 3096 B 160 KiB FabArray::norminf() 501 501 3055 B 160 KiB check_for_negative_density() 5 5 313 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3142 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 259 B 9648 B MLCellLinOp::applyBC() 3820 3820 204 B 9344 B amrex::Copy() 56 56 5833 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 336 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 1125 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 154 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3142 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 259 B 9648 B MLCellLinOp::applyBC() 1910 1910 202 B 9328 B amrex::Copy() 56 56 5833 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2515 B 3072 B StateData::FillBoundary(geom) 960 960 43 B 2880 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 791 B 1648 B amrex::average_down 37 37 459 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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.04-3-gd78e241d1ad4) finalized