Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-28-g9718b9c135ed) initialized Starting run at 09:02:38 UTC on 2023-04-24. Successfully read inputs file ... Castro git describe: 23.04-16-gb19bc8626 AMReX git describe: 23.04-28-g9718b9c13 Microphysics git describe: 23.04-4-gabda4ae3 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.05966106 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034091591 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047116011 [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 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.051138226 [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 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.04969457 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.047119251 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.082427951 [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.058977542 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.056906122 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.048138483 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.046227579 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.048185409 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.050934627 [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.059850229 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034171545 seconds Ending run at 09:02:39 UTC on 2023-04-24. Run time = 0.82543021 Run time without initialization = 0.681598832 Average number of zones advanced per microsecond: 3.846 Average number of zones advanced per microsecond per rank: 3.846 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8255 ... 0.8255 ... 0.8255 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2405 0.2405 0.2405 29.14% Castro::construct_ctu_hydro_source() 10 0.167 0.167 0.167 20.23% MLCellLinOp::applyBC() 4433 0.07767 0.07767 0.07767 9.41% MLPoisson::Fsmooth() 3280 0.03278 0.03278 0.03278 3.97% FillBoundary_nowait() 4023 0.03124 0.03124 0.03124 3.78% StateData::FillBoundary(geom) 328 0.02571 0.02571 0.02571 3.12% amrex::Dot() 1114 0.02079 0.02079 0.02079 2.52% amrex::Copy() 1029 0.01497 0.01497 0.01497 1.81% FabArray::norminf() 743 0.01455 0.01455 0.01455 1.76% Castro::normalize_species() 62 0.01451 0.01451 0.01451 1.76% Castro::computeTemp() 63 0.01429 0.01429 0.01429 1.73% FabArray::ParallelCopy_nowait() 861 0.01355 0.01355 0.01355 1.64% FabArray::setVal() 1144 0.01321 0.01321 0.01321 1.60% StateDataPhysBCFunct::() 41 0.01079 0.01079 0.01079 1.31% MLPoisson::Fapply() 1142 0.01044 0.01044 0.01044 1.26% MLCellLinOp::defineAuxData() 11 0.01004 0.01004 0.01004 1.22% Castro::enforce_min_density() 62 0.00919 0.00919 0.00919 1.11% FabArray::Saxpy() 813 0.008245 0.008245 0.008245 1.00% FabArray::Xpay() 821 0.008089 0.008089 0.008089 0.98% Gravity::fill_multipole_BCs() 11 0.007073 0.007073 0.007073 0.86% MLMG::addInterpCorrection() 410 0.006678 0.006678 0.006678 0.81% Castro::estTimeStep() 21 0.006089 0.006089 0.006089 0.74% amrex::average_down 410 0.00601 0.00601 0.00601 0.73% FabArray::LinComb() 557 0.004586 0.004586 0.004586 0.56% Castro::reset_internal_energy(MultiFab) 63 0.004562 0.004562 0.004562 0.55% amrex::Add() 164 0.004387 0.004387 0.004387 0.53% BndryData::define() 11 0.003865 0.003865 0.003865 0.47% Amr::checkPoint() 3 0.003627 0.003627 0.003627 0.44% Castro::construct_new_gravity_source() 10 0.003395 0.003395 0.003395 0.41% Castro::do_advance_ctu() 10 0.002861 0.002861 0.002861 0.35% Castro::construct_old_gravity_source() 10 0.002721 0.002721 0.002721 0.33% MLCGSolver::bicgstab 82 0.002143 0.002143 0.002143 0.26% Amr::writePlotFile() 2 0.00212 0.00212 0.00212 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001747 0.001747 0.001747 0.21% Castro::reset_internal_energy(Fab) 504 0.001582 0.001582 0.001582 0.19% Gravity::actual_solve_with_mlmg() 11 0.001487 0.001487 0.001487 0.18% MLCellLinOp::setLevelBC() 11 0.001413 0.001413 0.001413 0.17% FabArray::setDomainBndry() 41 0.001337 0.001337 0.001337 0.16% FabArray::mult() 43 0.001329 0.001329 0.001329 0.16% Castro::initData() 1 0.001235 0.001235 0.001235 0.15% MultiFab::contains_nan() 20 0.001206 0.001206 0.001206 0.15% Castro::enforce_speed_limit() 62 0.001162 0.001162 0.001162 0.14% MLCellLinOp::prepareForSolve() 11 0.001131 0.001131 0.001131 0.14% MLCellLinOp::smooth() 1640 0.001022 0.001022 0.001022 0.12% MLCellLinOp::compGrad() 11 0.000918 0.000918 0.000918 0.11% MLMG::prepareForSolve() 11 0.0008921 0.0008921 0.0008921 0.11% FabArray::FillBoundary() 4023 0.0008081 0.0008081 0.0008081 0.10% FabArrayBase::getCPC() 1323 0.0007325 0.0007325 0.0007325 0.09% FabArrayBase::CPC::define() 454 0.0006691 0.0006691 0.0006691 0.08% Gravity::get_new_grav_vector() 11 0.0006356 0.0006356 0.0006356 0.08% FabArrayBase::getFB() 4023 0.0005729 0.0005729 0.0005729 0.07% Gravity::get_old_grav_vector() 10 0.0005513 0.0005513 0.0005513 0.07% Amr::InitAmr() 1 0.0005071 0.0005071 0.0005071 0.06% MLCellLinOp::apply() 1142 0.0004527 0.0004527 0.0004527 0.05% Amr::coarseTimeStep() 10 0.000425 0.000425 0.000425 0.05% MLLinOp::defineGrids() 11 0.0004157 0.0004157 0.0004157 0.05% MLMG::mgVcycle() 82 0.0003296 0.0003296 0.0003296 0.04% main() 1 0.0003141 0.0003141 0.0003141 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003013 0.0003013 0.0003013 0.04% MultiFab::max() 11 0.0002744 0.0002744 0.0002744 0.03% FabArray::ParallelCopy() 861 0.0002512 0.0002512 0.0002512 0.03% Castro::subcycle_advance_ctu() 10 0.0002343 0.0002343 0.0002343 0.03% FillPatchIterator::Initialize 41 0.0002292 0.0002292 0.0002292 0.03% MLCellLinOp::correctionResidual() 492 0.000227 0.000227 0.000227 0.03% MLCellLinOp::defineBC() 11 0.0002155 0.0002155 0.0002155 0.03% Amr::timeStep() 10 0.0001551 0.0001551 0.0001551 0.02% Castro::create_source_corrector() 10 0.0001492 0.0001492 0.0001492 0.02% StateData::checkPoint() 12 0.0001336 0.0001336 0.0001336 0.02% Gravity::update_max_rhs() 11 0.0001211 0.0001211 0.0001211 0.01% MLMG:computeResOfCorrection() 410 0.0001158 0.0001158 0.0001158 0.01% Gravity::solve_for_phi() 10 0.0001148 0.0001148 0.0001148 0.01% Castro::Castro() 1 9.45e-05 9.45e-05 9.45e-05 0.01% MLMG::actualBottomSolve() 82 8.848e-05 8.848e-05 8.848e-05 0.01% FabArrayBase::FB::FB() 56 8.652e-05 8.652e-05 8.652e-05 0.01% MLMG::mgVcycle_down::0 82 8.594e-05 8.594e-05 8.594e-05 0.01% Castro::expand_state() 10 7.752e-05 7.752e-05 7.752e-05 0.01% MLMG::mgVcycle_down::1 82 7.629e-05 7.629e-05 7.629e-05 0.01% MLMG::mgVcycle_down::2 82 7.591e-05 7.591e-05 7.591e-05 0.01% AmrLevel::checkPoint() 3 7.587e-05 7.587e-05 7.587e-05 0.01% Castro::clean_state() 62 7.348e-05 7.348e-05 7.348e-05 0.01% MLMG::mgVcycle_down::3 82 7.236e-05 7.236e-05 7.236e-05 0.01% MLMG::solve() 11 7.231e-05 7.231e-05 7.231e-05 0.01% Castro::initialize_advance() 10 7.115e-05 7.115e-05 7.115e-05 0.01% MLMG::mgVcycle_down::4 82 7.101e-05 7.101e-05 7.101e-05 0.01% Castro::finalize_advance() 10 6.006e-05 6.006e-05 6.006e-05 0.01% MLMG::mgVcycle_up::4 82 5.869e-05 5.869e-05 5.869e-05 0.01% MLMG::oneIter() 82 5.512e-05 5.512e-05 5.512e-05 0.01% Castro::initialize_do_advance() 10 5.152e-05 5.152e-05 5.152e-05 0.01% MLMG::mgVcycle_up::3 82 4.983e-05 4.983e-05 4.983e-05 0.01% MLMG::mgVcycle_up::1 82 4.924e-05 4.924e-05 4.924e-05 0.01% MLCellLinOp::solutionResidual() 93 4.837e-05 4.837e-05 4.837e-05 0.01% MLMG::mgVcycle_up::2 82 4.753e-05 4.753e-05 4.753e-05 0.01% MLMG::mgVcycle_up::0 82 4.631e-05 4.631e-05 4.631e-05 0.01% Castro::construct_new_source() 50 4.509e-05 4.509e-05 4.509e-05 0.01% MLMG::ResNormInf() 93 4.048e-05 4.048e-05 4.048e-05 0.00% Castro::swap_state_time_levels() 10 3.763e-05 3.763e-05 3.763e-05 0.00% Castro::finalize_do_advance() 10 3.717e-05 3.717e-05 3.717e-05 0.00% Castro::post_timestep() 10 3.664e-05 3.664e-05 3.664e-05 0.00% StateData::define() 4 3.414e-05 3.414e-05 3.414e-05 0.00% MLPoisson::define() 11 3.371e-05 3.371e-05 3.371e-05 0.00% Castro::enforce_consistent_e() 1 3.332e-05 3.332e-05 3.332e-05 0.00% MLMG::mgVcycle_bottom 82 3.091e-05 3.091e-05 3.091e-05 0.00% FillPatchSingleLevel 41 3.035e-05 3.035e-05 3.035e-05 0.00% makeSFC 55 2.83e-05 2.83e-05 2.83e-05 0.00% MLMG::computeResidual() 82 2.822e-05 2.822e-05 2.822e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.578e-05 2.578e-05 2.578e-05 0.00% Amr::writeSmallPlotFile() 1 2.436e-05 2.436e-05 2.436e-05 0.00% Castro::construct_new_gravity() 10 2.423e-05 2.423e-05 2.423e-05 0.00% Castro::initMFs() 1 2.371e-05 2.371e-05 2.371e-05 0.00% Castro::advance() 10 2.229e-05 2.229e-05 2.229e-05 0.00% Amr::defBaseLevel() 1 2.17e-05 2.17e-05 2.17e-05 0.00% Amr::FinalizeInit() 1 2.128e-05 2.128e-05 2.128e-05 0.00% Castro::buildMetrics() 1 1.814e-05 1.814e-05 1.814e-05 0.00% Castro::construct_old_source() 50 1.781e-05 1.781e-05 1.781e-05 0.00% DistributionMapping::Distribute() 56 1.781e-05 1.781e-05 1.781e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.684e-05 1.684e-05 1.684e-05 0.00% Castro::do_new_sources() 10 1.645e-05 1.645e-05 1.645e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.616e-05 1.616e-05 1.616e-05 0.00% Castro::do_old_sources() 10 1.522e-05 1.522e-05 1.522e-05 0.00% MLPoisson::prepareForSolve() 11 1.46e-05 1.46e-05 1.46e-05 0.00% MLMG::computeMLResidual() 11 1.378e-05 1.378e-05 1.378e-05 0.00% MLLinOp::define() 11 1.168e-05 1.168e-05 1.168e-05 0.00% Castro::check_for_nan() 20 1.088e-05 1.088e-05 1.088e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.041e-05 1.041e-05 1.041e-05 0.00% Castro::apply_source_to_state() 20 1.041e-05 1.041e-05 1.041e-05 0.00% Castro::construct_old_gravity() 10 9.473e-06 9.473e-06 9.473e-06 0.00% Gravity::swapTimeLevels() 10 8.805e-06 8.805e-06 8.805e-06 0.00% Castro::computeNewDt() 9 8.742e-06 8.742e-06 8.742e-06 0.00% Gravity::actual_multilevel_solve() 1 8.736e-06 8.736e-06 8.736e-06 0.00% Amr::initSubcycle() 1 8.615e-06 8.615e-06 8.615e-06 0.00% MLMG::getGradSolution() 11 5.6e-06 5.6e-06 5.6e-06 0.00% AmrLevel::checkPointPost() 3 5.036e-06 5.036e-06 5.036e-06 0.00% Amr::InitializeInit() 1 4.998e-06 4.998e-06 4.998e-06 0.00% Gravity::set_mass_offset() 11 4.748e-06 4.748e-06 4.748e-06 0.00% Castro::post_init() 1 4.375e-06 4.375e-06 4.375e-06 0.00% MLMG::MLRhsNormInf() 11 4.313e-06 4.313e-06 4.313e-06 0.00% MLMG::MLResNormInf() 11 4.01e-06 4.01e-06 4.01e-06 0.00% Castro::retry_advance_ctu() 10 3.769e-06 3.769e-06 3.769e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.306e-06 3.306e-06 3.306e-06 0.00% Amr::init() 1 2.996e-06 2.996e-06 2.996e-06 0.00% Castro::computeInitialDt() 2 2.878e-06 2.878e-06 2.878e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.483e-06 2.483e-06 2.483e-06 0.00% Castro::FluxRegCrseInit 10 2.199e-06 2.199e-06 2.199e-06 0.00% Castro::FluxRegFineAdd() 10 2.081e-06 2.081e-06 2.081e-06 0.00% AmrLevel::checkPointPre() 3 1.748e-06 1.748e-06 1.748e-06 0.00% Amr::initialInit() 1 1.387e-06 1.387e-06 1.387e-06 0.00% Castro::post_regrid() 1 1.175e-06 1.175e-06 1.175e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8254 0.8254 0.8254 100.00% Amr::coarseTimeStep() 10 0.6472 0.6472 0.6472 78.41% Amr::timeStep() 10 0.5237 0.5237 0.5237 63.44% Castro::advance() 10 0.5164 0.5164 0.5164 62.55% Castro::subcycle_advance_ctu() 10 0.505 0.505 0.505 61.18% Castro::do_advance_ctu() 10 0.5048 0.5048 0.5048 61.15% Gravity::solve_phi_with_mlmg() 11 0.2869 0.2869 0.2869 34.76% Gravity::actual_solve_with_mlmg() 11 0.2793 0.2793 0.2793 33.84% Castro::construct_new_gravity() 10 0.2612 0.2612 0.2612 31.65% MLMG::solve() 11 0.258 0.258 0.258 31.26% Gravity::solve_for_phi() 10 0.2456 0.2456 0.2456 29.76% MLMG::oneIter() 82 0.2437 0.2437 0.2437 29.52% VisMF::Write(FabArray) 11 0.2405 0.2405 0.2405 29.14% MLMG::mgVcycle() 82 0.24 0.24 0.24 29.07% Amr::checkPoint() 3 0.1786 0.1786 0.1786 21.64% AmrLevel::checkPoint() 3 0.175 0.175 0.175 21.20% StateData::checkPoint() 12 0.1749 0.1749 0.1749 21.19% Castro::construct_ctu_hydro_source() 10 0.167 0.167 0.167 20.23% Amr::init() 1 0.1432 0.1432 0.1432 17.34% MLCellLinOp::smooth() 1640 0.118 0.118 0.118 14.30% MLCellLinOp::applyBC() 4433 0.1104 0.1104 0.1104 13.37% MLMG::mgVcycle_bottom 82 0.07439 0.07439 0.07439 9.01% MLMG::actualBottomSolve() 82 0.07436 0.07436 0.07436 9.01% MLCGSolver::bicgstab 82 0.07364 0.07364 0.07364 8.92% Amr::writePlotFile() 2 0.06839 0.06839 0.06839 8.28% Amr::initialInit() 1 0.04927 0.04927 0.04927 5.97% Amr::FinalizeInit() 1 0.04516 0.04516 0.04516 5.47% Castro::clean_state() 62 0.04445 0.04445 0.04445 5.38% Castro::post_init() 1 0.04376 0.04376 0.04376 5.30% FillPatchIterator::Initialize 41 0.04214 0.04214 0.04214 5.11% Gravity::multilevel_solve_for_new_phi() 1 0.04174 0.04174 0.04174 5.06% Gravity::actual_multilevel_solve() 1 0.04173 0.04173 0.04173 5.05% FillPatchSingleLevel 41 0.04057 0.04057 0.04057 4.92% MLCellLinOp::apply() 1142 0.03655 0.03655 0.03655 4.43% StateDataPhysBCFunct::() 41 0.0365 0.0365 0.0365 4.42% MLMG::mgVcycle_down::0 82 0.0341 0.0341 0.0341 4.13% MLPoisson::Fsmooth() 3280 0.03278 0.03278 0.03278 3.97% FabArray::FillBoundary() 4023 0.03271 0.03271 0.03271 3.96% FillBoundary_nowait() 4023 0.0319 0.0319 0.0319 3.86% StateData::FillBoundary(geom) 328 0.02571 0.02571 0.02571 3.12% MLMG::mgVcycle_up::0 82 0.0257 0.0257 0.0257 3.11% MLCellLinOp::correctionResidual() 492 0.0224 0.0224 0.0224 2.71% amrex::Dot() 1114 0.02079 0.02079 0.02079 2.52% Castro::computeTemp() 63 0.02043 0.02043 0.02043 2.48% MLMG:computeResOfCorrection() 410 0.01972 0.01972 0.01972 2.39% Castro::initialize_do_advance() 10 0.01943 0.01943 0.01943 2.35% Gravity::get_new_grav_vector() 11 0.01734 0.01734 0.01734 2.10% MLPoisson::define() 11 0.017 0.017 0.017 2.06% MLMG::mgVcycle_down::1 82 0.01591 0.01591 0.01591 1.93% Castro::construct_old_gravity() 10 0.01525 0.01525 0.01525 1.85% Gravity::get_old_grav_vector() 10 0.01524 0.01524 0.01524 1.85% amrex::Copy() 1029 0.01497 0.01497 0.01497 1.81% MLMG::mgVcycle_down::2 82 0.0149 0.0149 0.0149 1.80% MLMG::mgVcycle_down::3 82 0.0146 0.0146 0.0146 1.77% FabArray::ParallelCopy() 861 0.01459 0.01459 0.01459 1.77% FabArray::norminf() 743 0.01455 0.01455 0.01455 1.76% Castro::normalize_species() 62 0.01451 0.01451 0.01451 1.76% MLMG::mgVcycle_down::4 82 0.01443 0.01443 0.01443 1.75% FabArray::ParallelCopy_nowait() 861 0.01434 0.01434 0.01434 1.74% FabArray::setVal() 1144 0.01321 0.01321 0.01321 1.60% Castro::do_new_sources() 10 0.01276 0.01276 0.01276 1.55% MLCGSolver::ParallelAllReduce 1514 0.01245 0.01245 0.01245 1.51% MLMG::addInterpCorrection() 410 0.01192 0.01192 0.01192 1.44% MLMG::mgVcycle_up::1 82 0.01163 0.01163 0.01163 1.41% MLMG::mgVcycle_up::4 82 0.01155 0.01155 0.01155 1.40% MLCellLinOp::defineAuxData() 11 0.01139 0.01139 0.01139 1.38% MLMG::mgVcycle_up::2 82 0.01134 0.01134 0.01134 1.37% amrex::average_down 410 0.01132 0.01132 0.01132 1.37% Castro::expand_state() 10 0.01123 0.01123 0.01123 1.36% MLMG::mgVcycle_up::3 82 0.0111 0.0111 0.0111 1.34% Castro::do_old_sources() 10 0.01089 0.01089 0.01089 1.32% Castro::initialize_advance() 10 0.01075 0.01075 0.01075 1.30% MLPoisson::Fapply() 1142 0.01044 0.01044 0.01044 1.26% Castro::enforce_min_density() 62 0.00919 0.00919 0.00919 1.11% FabArray::Saxpy() 813 0.008245 0.008245 0.008245 1.00% FabArray::Xpay() 821 0.008089 0.008089 0.008089 0.98% Gravity::fill_multipole_BCs() 11 0.007379 0.007379 0.007379 0.89% MLCellLinOp::solutionResidual() 93 0.007162 0.007162 0.007162 0.87% Castro::post_timestep() 10 0.007159 0.007159 0.007159 0.87% MLMG::computeResidual() 82 0.006171 0.006171 0.006171 0.75% Castro::reset_internal_energy(MultiFab) 63 0.006144 0.006144 0.006144 0.74% Castro::estTimeStep() 21 0.006089 0.006089 0.006089 0.74% MLCellLinOp::defineBC() 11 0.005081 0.005081 0.005081 0.62% BndryData::define() 11 0.004865 0.004865 0.004865 0.59% MLMG::prepareForSolve() 11 0.004735 0.004735 0.004735 0.57% FabArray::LinComb() 557 0.004586 0.004586 0.004586 0.56% amrex::Add() 164 0.004387 0.004387 0.004387 0.53% Amr::InitializeInit() 1 0.00411 0.00411 0.00411 0.50% Amr::defBaseLevel() 1 0.004105 0.004105 0.004105 0.50% Castro::initData() 1 0.003591 0.003591 0.003591 0.44% Castro::computeNewDt() 9 0.003517 0.003517 0.003517 0.43% Castro::construct_new_source() 50 0.00344 0.00344 0.00344 0.42% Castro::construct_new_gravity_source() 10 0.003395 0.003395 0.003395 0.41% Castro::construct_old_source() 50 0.002739 0.002739 0.002739 0.33% Castro::construct_old_gravity_source() 10 0.002721 0.002721 0.002721 0.33% MLMG::ResNormInf() 93 0.002117 0.002117 0.002117 0.26% Castro::apply_source_to_state() 20 0.001824 0.001824 0.001824 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001747 0.001747 0.001747 0.21% Castro::reset_internal_energy(Fab) 504 0.001582 0.001582 0.001582 0.19% MLCellLinOp::setLevelBC() 11 0.001413 0.001413 0.001413 0.17% MLMG::getGradSolution() 11 0.001411 0.001411 0.001411 0.17% MLCellLinOp::compGrad() 11 0.001405 0.001405 0.001405 0.17% FabArrayBase::getCPC() 1323 0.001402 0.001402 0.001402 0.17% FabArray::setDomainBndry() 41 0.001337 0.001337 0.001337 0.16% FabArray::mult() 43 0.001329 0.001329 0.001329 0.16% Castro::check_for_nan() 20 0.001217 0.001217 0.001217 0.15% MultiFab::contains_nan() 20 0.001206 0.001206 0.001206 0.15% Castro::enforce_speed_limit() 62 0.001162 0.001162 0.001162 0.14% Castro::post_regrid() 1 0.001153 0.001153 0.001153 0.14% MLPoisson::prepareForSolve() 11 0.001145 0.001145 0.001145 0.14% MLCellLinOp::prepareForSolve() 11 0.001131 0.001131 0.001131 0.14% MLMG::computeMLResidual() 11 0.001033 0.001033 0.001033 0.13% Castro::computeInitialDt() 2 0.000912 0.000912 0.000912 0.11% Gravity::update_max_rhs() 11 0.0008396 0.0008396 0.0008396 0.10% FabArrayBase::CPC::define() 454 0.0006691 0.0006691 0.0006691 0.08% FabArrayBase::getFB() 4023 0.0006595 0.0006595 0.0006595 0.08% Castro::finalize_advance() 10 0.0005794 0.0005794 0.0005794 0.07% Amr::InitAmr() 1 0.0005157 0.0005157 0.0005157 0.06% MLLinOp::define() 11 0.0004903 0.0004903 0.0004903 0.06% MLLinOp::defineGrids() 11 0.0004786 0.0004786 0.0004786 0.06% Castro::Castro() 1 0.0004424 0.0004424 0.0004424 0.05% Gravity::swapTimeLevels() 10 0.0004331 0.0004331 0.0004331 0.05% MLMG::MLResNormInf() 11 0.0002896 0.0002896 0.0002896 0.04% MultiFab::max() 11 0.0002744 0.0002744 0.0002744 0.03% MLMG::MLRhsNormInf() 11 0.0002225 0.0002225 0.0002225 0.03% Castro::buildMetrics() 1 0.000161 0.000161 0.000161 0.02% Castro::create_source_corrector() 10 0.0001492 0.0001492 0.0001492 0.02% FabArrayBase::FB::FB() 56 8.652e-05 8.652e-05 8.652e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.046e-05 6.046e-05 6.046e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.455e-05 4.455e-05 4.455e-05 0.01% makeSFC 55 4.43e-05 4.43e-05 4.43e-05 0.01% Castro::swap_state_time_levels() 10 3.763e-05 3.763e-05 3.763e-05 0.00% Castro::finalize_do_advance() 10 3.717e-05 3.717e-05 3.717e-05 0.00% StateData::define() 4 3.414e-05 3.414e-05 3.414e-05 0.00% Castro::enforce_consistent_e() 1 3.332e-05 3.332e-05 3.332e-05 0.00% Amr::writeSmallPlotFile() 1 2.436e-05 2.436e-05 2.436e-05 0.00% Castro::initMFs() 1 2.371e-05 2.371e-05 2.371e-05 0.00% DistributionMapping::Distribute() 56 1.781e-05 1.781e-05 1.781e-05 0.00% Amr::initSubcycle() 1 8.615e-06 8.615e-06 8.615e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.123e-06 5.123e-06 5.123e-06 0.00% AmrLevel::checkPointPost() 3 5.036e-06 5.036e-06 5.036e-06 0.00% Gravity::set_mass_offset() 11 4.748e-06 4.748e-06 4.748e-06 0.00% Castro::retry_advance_ctu() 10 3.769e-06 3.769e-06 3.769e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.483e-06 2.483e-06 2.483e-06 0.00% Castro::FluxRegCrseInit 10 2.199e-06 2.199e-06 2.199e-06 0.00% Castro::FluxRegFineAdd() 10 2.081e-06 2.081e-06 2.081e-06 0.00% AmrLevel::checkPointPre() 3 1.748e-06 1.748e-06 1.748e-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 98 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 92 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1081 KiB 39 MiB Castro::initialize_do_advance() 80 80 23 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2338 KiB 28 MiB Castro::initialize_advance() 80 80 14 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3845 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 218 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 189 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 13 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1952 B 2048 KiB Gravity::solve_for_phi() 80 80 608 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 351 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 223 KiB 671 KiB Castro::estTimeStep() 21 21 2838 B 480 KiB VisMF::Write(FabArray) 656 656 3652 B 320 KiB Castro::normalize_species() 62 62 5721 B 320 KiB amrex::average_down 1067 1067 1339 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1242 B 257 KiB amrex::Dot() 1360 1360 3709 B 160 KiB FabArray::norminf() 907 907 2609 B 160 KiB Castro::do_advance_ctu() 10 10 528 B 160 KiB MultiFab::max() 11 11 51 B 160 KiB Castro::initData() 1 1 29 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 29 B 20 KiB MLPoisson::Fsmooth() 132 132 3759 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 48 B 10 KiB FillBoundary_nowait() 760 760 332 B 9648 B MLCellLinOp::applyBC() 8866 8866 241 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3834 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 129 B 1472 B MLCellLinOp::defineBC() 66 66 395 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 655 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 53 KiB 8192 KiB VisMF::Write(FabArray) 744 744 677 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3759 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 48 B 10 KiB FillBoundary_nowait() 760 760 331 B 9648 B MLCellLinOp::applyBC() 4433 4433 239 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3834 B 6144 B Gravity::get_new_grav_vector() 3 3 2890 B 3072 B Gravity::fill_multipole_BCs() 33 33 6 B 2832 B StateData::FillBoundary(geom) 1992 1992 43 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 320 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 27 B 400 B FabArray::norminf() 907 907 19 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [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.04-28-g9718b9c135ed) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-28-g9718b9c135ed) initialized Starting run at 09:02:40 UTC on 2023-04-24. Successfully read inputs file ... Castro git describe: 23.04-16-gb19bc8626 AMReX git describe: 23.04-28-g9718b9c13 Microphysics git describe: 23.04-4-gabda4ae3 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.480318771 Restart time = 0.045513916 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049693277 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.04872077 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.066744222 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.069749153 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.068795786 [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.032867485 seconds Ending run at 09:02:40 UTC on 2023-04-24. Run time = 0.383082037 Run time without initialization = 0.336966876 Average number of zones advanced per microsecond: 3.890 Average number of zones advanced per microsecond per rank: 3.890 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3831 ... 0.3831 ... 0.3831 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1235 0.1235 0.1235 32.25% VisMF::Read() 3 0.03921 0.03921 0.03921 10.23% MLCellLinOp::applyBC() 1946 0.03347 0.03347 0.03347 8.74% VisMF::Write(FabArray) 1 0.03146 0.03146 0.03146 8.21% MLPoisson::Fsmooth() 1440 0.0139 0.0139 0.0139 3.63% FillBoundary_nowait() 1766 0.01276 0.01276 0.01276 3.33% StateData::FillBoundary(geom) 160 0.0123 0.0123 0.0123 3.21% amrex::Dot() 484 0.008797 0.008797 0.008797 2.30% amrex::Copy() 463 0.006923 0.006923 0.006923 1.81% FabArray::norminf() 326 0.006233 0.006233 0.006233 1.63% FabArray::setVal() 537 0.006232 0.006232 0.006232 1.63% Castro::normalize_species() 30 0.006207 0.006207 0.006207 1.62% Castro::enforce_min_density() 30 0.006201 0.006201 0.006201 1.62% FabArray::ParallelCopy_nowait() 380 0.006052 0.006052 0.006052 1.58% Castro::computeTemp() 30 0.005414 0.005414 0.005414 1.41% MLCellLinOp::defineAuxData() 6 0.005256 0.005256 0.005256 1.37% StateDataPhysBCFunct::() 20 0.004866 0.004866 0.004866 1.27% MLPoisson::Fapply() 500 0.004432 0.004432 0.004432 1.16% FabArray::Saxpy() 355 0.003648 0.003648 0.003648 0.95% FabArray::Xpay() 361 0.003506 0.003506 0.003506 0.92% Gravity::fill_multipole_BCs() 6 0.003477 0.003477 0.003477 0.91% MLMG::addInterpCorrection() 180 0.002856 0.002856 0.002856 0.75% Amr::restart() 1 0.002592 0.002592 0.002592 0.68% amrex::average_down 180 0.00256 0.00256 0.00256 0.67% Castro::estTimeStep() 10 0.002546 0.002546 0.002546 0.66% Castro::reset_internal_energy(MultiFab) 30 0.002459 0.002459 0.002459 0.64% BndryData::define() 6 0.002038 0.002038 0.002038 0.53% FabArray::LinComb() 242 0.001931 0.001931 0.001931 0.50% amrex::Add() 72 0.001851 0.001851 0.001851 0.48% Castro::construct_new_gravity_source() 5 0.001733 0.001733 0.001733 0.45% Castro::do_advance_ctu() 5 0.00163 0.00163 0.00163 0.43% Castro::construct_old_gravity_source() 5 0.001399 0.001399 0.001399 0.37% Amr::writePlotFile() 1 0.001242 0.001242 0.001242 0.32% MLCGSolver::bicgstab 36 0.0009304 0.0009304 0.0009304 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009249 0.0009249 0.0009249 0.24% Gravity::actual_solve_with_mlmg() 6 0.000774 0.000774 0.000774 0.20% MLCellLinOp::setLevelBC() 6 0.0007597 0.0007597 0.0007597 0.20% Castro::reset_internal_energy(Fab) 240 0.000709 0.000709 0.000709 0.19% Castro::enforce_speed_limit() 30 0.0006686 0.0006686 0.0006686 0.17% FabArray::setDomainBndry() 20 0.0006505 0.0006505 0.0006505 0.17% FabArray::mult() 22 0.0006482 0.0006482 0.0006482 0.17% MLCellLinOp::prepareForSolve() 6 0.0006065 0.0006065 0.0006065 0.16% MultiFab::contains_nan() 10 0.0005902 0.0005902 0.0005902 0.15% MLCellLinOp::compGrad() 6 0.000484 0.000484 0.000484 0.13% MLMG::prepareForSolve() 6 0.0004769 0.0004769 0.0004769 0.12% MLCellLinOp::smooth() 720 0.000457 0.000457 0.000457 0.12% FabArrayBase::CPC::define() 244 0.0004235 0.0004235 0.0004235 0.11% Amr::InitAmr() 1 0.0004193 0.0004193 0.0004193 0.11% FabArrayBase::getCPC() 632 0.0003492 0.0003492 0.0003492 0.09% FabArray::FillBoundary() 1766 0.0003466 0.0003466 0.0003466 0.09% Gravity::get_old_grav_vector() 5 0.0003017 0.0003017 0.0003017 0.08% Gravity::get_new_grav_vector() 5 0.0002826 0.0002826 0.0002826 0.07% main() 1 0.000275 0.000275 0.000275 0.07% FabArrayBase::getFB() 1766 0.000254 0.000254 0.000254 0.07% MLCellLinOp::apply() 500 0.0002027 0.0002027 0.0002027 0.05% MLLinOp::defineGrids() 6 0.000177 0.000177 0.000177 0.05% Amr::coarseTimeStep() 5 0.0001625 0.0001625 0.0001625 0.04% MLMG::mgVcycle() 36 0.000153 0.000153 0.000153 0.04% MultiFab::max() 6 0.0001348 0.0001348 0.0001348 0.04% Castro::create_source_corrector() 5 0.0001219 0.0001219 0.0001219 0.03% MLCGSolver::ParallelAllReduce 659 0.0001215 0.0001215 0.0001215 0.03% MLCellLinOp::defineBC() 6 0.000117 0.000117 0.000117 0.03% FillPatchIterator::Initialize 20 0.0001156 0.0001156 0.0001156 0.03% FabArray::ParallelCopy() 380 0.0001124 0.0001124 0.0001124 0.03% MLCellLinOp::correctionResidual() 216 9.443e-05 9.443e-05 9.443e-05 0.02% Castro::subcycle_advance_ctu() 5 8.287e-05 8.287e-05 8.287e-05 0.02% Amr::timeStep() 5 7.923e-05 7.923e-05 7.923e-05 0.02% AmrLevel::restart() 1 7.52e-05 7.52e-05 7.52e-05 0.02% StateData::restartDoit() 4 6.293e-05 6.293e-05 6.293e-05 0.02% Gravity::update_max_rhs() 6 5.897e-05 5.897e-05 5.897e-05 0.02% FabArrayBase::FB::FB() 26 5.83e-05 5.83e-05 5.83e-05 0.02% MLMG:computeResOfCorrection() 180 5.035e-05 5.035e-05 5.035e-05 0.01% Gravity::solve_for_phi() 5 4.964e-05 4.964e-05 4.964e-05 0.01% Castro::expand_state() 5 4.816e-05 4.816e-05 4.816e-05 0.01% MLMG::mgVcycle_down::0 36 3.799e-05 3.799e-05 3.799e-05 0.01% MLMG::actualBottomSolve() 36 3.765e-05 3.765e-05 3.765e-05 0.01% Castro::construct_new_source() 25 3.755e-05 3.755e-05 3.755e-05 0.01% Castro::clean_state() 30 3.601e-05 3.601e-05 3.601e-05 0.01% MLMG::mgVcycle_down::1 36 3.361e-05 3.361e-05 3.361e-05 0.01% Castro::initialize_advance() 5 3.3e-05 3.3e-05 3.3e-05 0.01% MLMG::mgVcycle_down::4 36 3.211e-05 3.211e-05 3.211e-05 0.01% MLMG::mgVcycle_down::2 36 3.199e-05 3.199e-05 3.199e-05 0.01% MLMG::solve() 6 3.097e-05 3.097e-05 3.097e-05 0.01% MLMG::mgVcycle_down::3 36 3.081e-05 3.081e-05 3.081e-05 0.01% Castro::buildMetrics() 1 3.012e-05 3.012e-05 3.012e-05 0.01% Castro::finalize_advance() 5 2.848e-05 2.848e-05 2.848e-05 0.01% MLMG::mgVcycle_up::4 36 2.845e-05 2.845e-05 2.845e-05 0.01% Castro::initialize_do_advance() 5 2.626e-05 2.626e-05 2.626e-05 0.01% Amr::writeSmallPlotFile() 1 2.581e-05 2.581e-05 2.581e-05 0.01% Castro::initMFs() 1 2.542e-05 2.542e-05 2.542e-05 0.01% MLMG::mgVcycle_up::2 36 2.511e-05 2.511e-05 2.511e-05 0.01% MLMG::oneIter() 36 2.476e-05 2.476e-05 2.476e-05 0.01% Castro::swap_state_time_levels() 5 2.231e-05 2.231e-05 2.231e-05 0.01% MLCellLinOp::solutionResidual() 42 2.188e-05 2.188e-05 2.188e-05 0.01% MLMG::mgVcycle_up::0 36 2.176e-05 2.176e-05 2.176e-05 0.01% MLMG::mgVcycle_up::3 36 2.147e-05 2.147e-05 2.147e-05 0.01% MLMG::mgVcycle_up::1 36 2.014e-05 2.014e-05 2.014e-05 0.01% Castro::post_restart() 1 1.967e-05 1.967e-05 1.967e-05 0.01% Castro::finalize_do_advance() 5 1.941e-05 1.941e-05 1.941e-05 0.01% MLMG::ResNormInf() 42 1.735e-05 1.735e-05 1.735e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.578e-05 1.578e-05 1.578e-05 0.00% Castro::advance() 5 1.496e-05 1.496e-05 1.496e-05 0.00% FillPatchSingleLevel 20 1.458e-05 1.458e-05 1.458e-05 0.00% MLPoisson::define() 6 1.43e-05 1.43e-05 1.43e-05 0.00% MLMG::mgVcycle_bottom 36 1.419e-05 1.419e-05 1.419e-05 0.00% makeSFC 30 1.285e-05 1.285e-05 1.285e-05 0.00% MLMG::computeResidual() 36 1.28e-05 1.28e-05 1.28e-05 0.00% Castro::construct_new_gravity() 5 1.27e-05 1.27e-05 1.27e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.151e-05 1.151e-05 1.151e-05 0.00% MLPoisson::prepareForSolve() 6 1.007e-05 1.007e-05 1.007e-05 0.00% Castro::construct_old_source() 25 9.583e-06 9.583e-06 9.583e-06 0.00% MLMG::computeMLResidual() 6 8.991e-06 8.991e-06 8.991e-06 0.00% Amr::initSubcycle() 1 8.973e-06 8.973e-06 8.973e-06 0.00% DistributionMapping::Distribute() 31 8.545e-06 8.545e-06 8.545e-06 0.00% Castro::do_new_sources() 5 8.19e-06 8.19e-06 8.19e-06 0.00% Gravity::actual_multilevel_solve() 1 8.071e-06 8.071e-06 8.071e-06 0.00% Castro::do_old_sources() 5 7.515e-06 7.515e-06 7.515e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.037e-06 7.037e-06 7.037e-06 0.00% Castro::construct_old_gravity() 5 5.828e-06 5.828e-06 5.828e-06 0.00% Castro::check_for_nan() 10 5.576e-06 5.576e-06 5.576e-06 0.00% Castro::apply_source_to_state() 10 5.45e-06 5.45e-06 5.45e-06 0.00% MLLinOp::define() 6 5.102e-06 5.102e-06 5.102e-06 0.00% Castro::post_timestep() 5 4.327e-06 4.327e-06 4.327e-06 0.00% Gravity::swapTimeLevels() 5 3.748e-06 3.748e-06 3.748e-06 0.00% Castro::computeNewDt() 5 3.26e-06 3.26e-06 3.26e-06 0.00% MLMG::getGradSolution() 6 2.991e-06 2.991e-06 2.991e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.959e-06 2.959e-06 2.959e-06 0.00% Gravity::set_mass_offset() 6 2.25e-06 2.25e-06 2.25e-06 0.00% MLMG::MLResNormInf() 6 2.161e-06 2.161e-06 2.161e-06 0.00% MLMG::MLRhsNormInf() 6 2.092e-06 2.092e-06 2.092e-06 0.00% Castro::retry_advance_ctu() 5 1.76e-06 1.76e-06 1.76e-06 0.00% Castro::FluxRegCrseInit 5 1.7e-06 1.7e-06 1.7e-06 0.00% Castro::FluxRegFineAdd() 5 1.134e-06 1.134e-06 1.134e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.013e-06 1.013e-06 1.013e-06 0.00% Amr::init() 1 9.93e-07 9.93e-07 9.93e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3831 0.3831 0.3831 100.00% Amr::coarseTimeStep() 5 0.3039 0.3039 0.3039 79.31% Amr::timeStep() 5 0.3019 0.3019 0.3019 78.81% Castro::advance() 5 0.2989 0.2989 0.2989 78.02% Castro::subcycle_advance_ctu() 5 0.2919 0.2919 0.2919 76.20% Castro::do_advance_ctu() 5 0.2919 0.2919 0.2919 76.18% Castro::construct_new_gravity() 5 0.1299 0.1299 0.1299 33.92% Gravity::solve_phi_with_mlmg() 6 0.1252 0.1252 0.1252 32.69% Castro::construct_ctu_hydro_source() 5 0.1235 0.1235 0.1235 32.25% Gravity::solve_for_phi() 5 0.1222 0.1222 0.1222 31.89% Gravity::actual_solve_with_mlmg() 6 0.1215 0.1215 0.1215 31.71% MLMG::solve() 6 0.1103 0.1103 0.1103 28.78% MLMG::oneIter() 36 0.1034 0.1034 0.1034 26.99% MLMG::mgVcycle() 36 0.1019 0.1019 0.1019 26.59% MLCellLinOp::smooth() 720 0.04995 0.04995 0.04995 13.04% MLCellLinOp::applyBC() 1946 0.04689 0.04689 0.04689 12.24% Amr::init() 1 0.04556 0.04556 0.04556 11.89% Amr::restart() 1 0.04555 0.04555 0.04555 11.89% AmrLevel::restart() 1 0.0394 0.0394 0.0394 10.29% StateData::restartDoit() 4 0.03932 0.03932 0.03932 10.26% VisMF::Read() 3 0.03921 0.03921 0.03921 10.23% Amr::writePlotFile() 1 0.03295 0.03295 0.03295 8.60% MLMG::mgVcycle_bottom 36 0.03162 0.03162 0.03162 8.25% MLMG::actualBottomSolve() 36 0.03161 0.03161 0.03161 8.25% VisMF::Write(FabArray) 1 0.03146 0.03146 0.03146 8.21% MLCGSolver::bicgstab 36 0.03131 0.03131 0.03131 8.17% Castro::clean_state() 30 0.0217 0.0217 0.0217 5.66% FillPatchIterator::Initialize 20 0.01997 0.01997 0.01997 5.21% FillPatchSingleLevel 20 0.0192 0.0192 0.0192 5.01% StateDataPhysBCFunct::() 20 0.01716 0.01716 0.01716 4.48% MLCellLinOp::apply() 500 0.01567 0.01567 0.01567 4.09% MLMG::mgVcycle_down::0 36 0.01436 0.01436 0.01436 3.75% MLPoisson::Fsmooth() 1440 0.0139 0.0139 0.0139 3.63% FabArray::FillBoundary() 1766 0.01342 0.01342 0.01342 3.50% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.41% StateData::FillBoundary(geom) 160 0.0123 0.0123 0.0123 3.21% MLMG::mgVcycle_up::0 36 0.01072 0.01072 0.01072 2.80% Castro::initialize_do_advance() 5 0.009526 0.009526 0.009526 2.49% MLCellLinOp::correctionResidual() 216 0.009519 0.009519 0.009519 2.48% MLPoisson::define() 6 0.008947 0.008947 0.008947 2.34% amrex::Dot() 484 0.008797 0.008797 0.008797 2.30% Castro::computeTemp() 30 0.008582 0.008582 0.008582 2.24% MLMG:computeResOfCorrection() 180 0.00835 0.00835 0.00835 2.18% Gravity::get_new_grav_vector() 5 0.007643 0.007643 0.007643 1.99% Castro::construct_old_gravity() 5 0.007419 0.007419 0.007419 1.94% Gravity::get_old_grav_vector() 5 0.007413 0.007413 0.007413 1.94% amrex::Copy() 463 0.006923 0.006923 0.006923 1.81% MLMG::mgVcycle_down::1 36 0.006808 0.006808 0.006808 1.78% Castro::initialize_advance() 5 0.006675 0.006675 0.006675 1.74% FabArray::ParallelCopy() 380 0.006551 0.006551 0.006551 1.71% Castro::do_new_sources() 5 0.00647 0.00647 0.00647 1.69% FabArray::ParallelCopy_nowait() 380 0.006439 0.006439 0.006439 1.68% MLMG::mgVcycle_down::2 36 0.006369 0.006369 0.006369 1.66% FabArray::norminf() 326 0.006233 0.006233 0.006233 1.63% FabArray::setVal() 537 0.006232 0.006232 0.006232 1.63% Castro::normalize_species() 30 0.006207 0.006207 0.006207 1.62% Castro::enforce_min_density() 30 0.006201 0.006201 0.006201 1.62% MLMG::mgVcycle_down::3 36 0.006191 0.006191 0.006191 1.62% MLMG::mgVcycle_down::4 36 0.006143 0.006143 0.006143 1.60% MLCellLinOp::defineAuxData() 6 0.005999 0.005999 0.005999 1.57% Castro::expand_state() 5 0.005627 0.005627 0.005627 1.47% MLCGSolver::ParallelAllReduce 659 0.005309 0.005309 0.005309 1.39% Castro::do_old_sources() 5 0.005233 0.005233 0.005233 1.37% MLMG::addInterpCorrection() 180 0.005094 0.005094 0.005094 1.33% MLMG::mgVcycle_up::1 36 0.004965 0.004965 0.004965 1.30% MLMG::mgVcycle_up::4 36 0.004912 0.004912 0.004912 1.28% MLMG::mgVcycle_up::2 36 0.00486 0.00486 0.00486 1.27% amrex::average_down 180 0.004849 0.004849 0.004849 1.27% MLMG::mgVcycle_up::3 36 0.004747 0.004747 0.004747 1.24% MLPoisson::Fapply() 500 0.004432 0.004432 0.004432 1.16% FabArray::Saxpy() 355 0.003648 0.003648 0.003648 0.95% Gravity::fill_multipole_BCs() 6 0.003618 0.003618 0.003618 0.94% FabArray::Xpay() 361 0.003506 0.003506 0.003506 0.92% Castro::post_restart() 1 0.003384 0.003384 0.003384 0.88% Gravity::multilevel_solve_for_new_phi() 1 0.003277 0.003277 0.003277 0.86% Gravity::actual_multilevel_solve() 1 0.003261 0.003261 0.003261 0.85% MLCellLinOp::solutionResidual() 42 0.003223 0.003223 0.003223 0.84% Castro::reset_internal_energy(MultiFab) 30 0.003168 0.003168 0.003168 0.83% Castro::post_timestep() 5 0.002921 0.002921 0.002921 0.76% MLCellLinOp::defineBC() 6 0.002723 0.002723 0.002723 0.71% MLMG::computeResidual() 36 0.002675 0.002675 0.002675 0.70% BndryData::define() 6 0.002606 0.002606 0.002606 0.68% Castro::estTimeStep() 10 0.002546 0.002546 0.002546 0.66% MLMG::prepareForSolve() 6 0.002534 0.002534 0.002534 0.66% FabArray::LinComb() 242 0.001931 0.001931 0.001931 0.50% amrex::Add() 72 0.001851 0.001851 0.001851 0.48% Castro::computeNewDt() 5 0.00178 0.00178 0.00178 0.46% Castro::construct_new_source() 25 0.001771 0.001771 0.001771 0.46% Castro::construct_new_gravity_source() 5 0.001733 0.001733 0.001733 0.45% Castro::construct_old_source() 25 0.001408 0.001408 0.001408 0.37% Castro::construct_old_gravity_source() 5 0.001399 0.001399 0.001399 0.37% MLMG::ResNormInf() 42 0.0009319 0.0009319 0.0009319 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009249 0.0009249 0.0009249 0.24% Castro::apply_source_to_state() 10 0.0009216 0.0009216 0.0009216 0.24% FabArrayBase::getCPC() 632 0.0007728 0.0007728 0.0007728 0.20% MLCellLinOp::setLevelBC() 6 0.0007597 0.0007597 0.0007597 0.20% MLMG::getGradSolution() 6 0.000746 0.000746 0.000746 0.19% MLCellLinOp::compGrad() 6 0.000743 0.000743 0.000743 0.19% Castro::reset_internal_energy(Fab) 240 0.000709 0.000709 0.000709 0.19% Castro::enforce_speed_limit() 30 0.0006686 0.0006686 0.0006686 0.17% FabArray::setDomainBndry() 20 0.0006505 0.0006505 0.0006505 0.17% FabArray::mult() 22 0.0006482 0.0006482 0.0006482 0.17% MLPoisson::prepareForSolve() 6 0.0006166 0.0006166 0.0006166 0.16% MLCellLinOp::prepareForSolve() 6 0.0006065 0.0006065 0.0006065 0.16% Castro::check_for_nan() 10 0.0005957 0.0005957 0.0005957 0.16% MultiFab::contains_nan() 10 0.0005902 0.0005902 0.0005902 0.15% MLMG::computeMLResidual() 6 0.0005697 0.0005697 0.0005697 0.15% Gravity::update_max_rhs() 6 0.0004366 0.0004366 0.0004366 0.11% Amr::InitAmr() 1 0.0004283 0.0004283 0.0004283 0.11% FabArrayBase::CPC::define() 244 0.0004235 0.0004235 0.0004235 0.11% FabArrayBase::getFB() 1766 0.0003123 0.0003123 0.0003123 0.08% Castro::finalize_advance() 5 0.0002884 0.0002884 0.0002884 0.08% Gravity::swapTimeLevels() 5 0.0002232 0.0002232 0.0002232 0.06% MLLinOp::define() 6 0.0002102 0.0002102 0.0002102 0.05% MLLinOp::defineGrids() 6 0.0002051 0.0002051 0.0002051 0.05% MLMG::MLResNormInf() 6 0.0001521 0.0001521 0.0001521 0.04% Castro::buildMetrics() 1 0.0001484 0.0001484 0.0001484 0.04% MultiFab::max() 6 0.0001348 0.0001348 0.0001348 0.04% Castro::create_source_corrector() 5 0.0001219 0.0001219 0.0001219 0.03% MLMG::MLRhsNormInf() 6 0.0001178 0.0001178 0.0001178 0.03% FabArrayBase::FB::FB() 26 5.83e-05 5.83e-05 5.83e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.709e-05 2.709e-05 2.709e-05 0.01% Amr::writeSmallPlotFile() 1 2.581e-05 2.581e-05 2.581e-05 0.01% Castro::initMFs() 1 2.542e-05 2.542e-05 2.542e-05 0.01% Castro::swap_state_time_levels() 5 2.231e-05 2.231e-05 2.231e-05 0.01% makeSFC 30 2.006e-05 2.006e-05 2.006e-05 0.01% Castro::finalize_do_advance() 5 1.941e-05 1.941e-05 1.941e-05 0.01% Amr::initSubcycle() 1 8.973e-06 8.973e-06 8.973e-06 0.00% DistributionMapping::Distribute() 31 8.545e-06 8.545e-06 8.545e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.298e-06 4.298e-06 4.298e-06 0.00% Gravity::set_mass_offset() 6 2.25e-06 2.25e-06 2.25e-06 0.00% Castro::retry_advance_ctu() 5 1.76e-06 1.76e-06 1.76e-06 0.00% Castro::FluxRegCrseInit 5 1.7e-06 1.7e-06 1.7e-06 0.00% Castro::FluxRegFineAdd() 5 1.134e-06 1.134e-06 1.134e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.013e-06 1.013e-06 1.013e-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 211 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 156 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1133 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2416 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6728 KiB 14 MiB MLMG::prepareForSolve() 361 361 3534 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 200 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 204 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6724 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2202 B 2048 KiB Gravity::solve_for_phi() 40 40 651 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 325 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 208 KiB 671 KiB Castro::estTimeStep() 10 10 3042 B 480 KiB VisMF::Write(FabArray) 112 112 1291 B 320 KiB Castro::normalize_species() 30 30 5261 B 320 KiB amrex::average_down 469 469 1223 B 257 KiB MLMG::addInterpCorrection() 468 468 1143 B 257 KiB amrex::Dot() 592 592 3383 B 160 KiB FabArray::norminf() 398 398 2404 B 160 KiB Castro::do_advance_ctu() 5 5 664 B 160 KiB MultiFab::max() 6 6 54 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3437 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 289 B 9648 B MLCellLinOp::applyBC() 3892 3892 225 B 9344 B amrex::Copy() 56 56 5985 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2304 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 118 B 1472 B MLCellLinOp::defineBC() 36 36 365 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1361 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 115 KiB 8192 KiB VisMF::Write(FabArray) 120 120 253 KiB 3584 KiB VisMF::Read() 24 24 198 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3437 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 289 B 9648 B MLCellLinOp::applyBC() 1946 1946 224 B 9328 B amrex::Copy() 56 56 5985 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2657 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2304 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 534 B 1296 B amrex::average_down 37 37 224 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [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.04-28-g9718b9c135ed) finalized