Initializing AMReX (24.02-4-ga8bc0bfbcf10)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-4-ga8bc0bfbcf10) initialized Starting run at 10:24:22 UTC on 2024-02-06. Successfully read inputs file ... Castro git describe: 24.02-2-gcff739306 AMReX git describe: 24.02-4-ga8bc0bfbc Microphysics git describe: 24.02-6-g49fba8d7 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.04581882 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024950121 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.065741718 [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.051973042 [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.078171643 [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.076351632 [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.050610242 [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.045876231 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.066648679 [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.077836733 [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.073585751 [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.048606997 [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.051865003 [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.043140452 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02478688 seconds Ending run at 10:24:22 UTC on 2024-02-06. Run time = 0.881789169 Run time without initialization = 0.755960779 Average number of zones advanced per microsecond: 3.468 Average number of zones advanced per microsecond per rank: 3.468 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8818 ... 0.8818 ... 0.8818 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2573 0.2573 0.2573 29.18% VisMF::Write(FabArray) 11 0.1761 0.1761 0.1761 19.96% MLCellLinOp::applyBC() 4351 0.08095 0.08095 0.08095 9.18% MLPoisson::Fsmooth() 3280 0.03421 0.03421 0.03421 3.88% FillBoundary_nowait() 3941 0.03063 0.03063 0.03063 3.47% StateData::FillBoundary(geom) 328 0.02719 0.02719 0.02719 3.08% amrex::Dot() 1114 0.02176 0.02176 0.02176 2.47% Castro::normalize_species() 62 0.02176 0.02176 0.02176 2.47% FabArray::norminf() 1061 0.02009 0.02009 0.02009 2.28% Castro::computeTemp() 63 0.01435 0.01435 0.01435 1.63% FabArray::ParallelCopy_nowait() 861 0.01368 0.01368 0.01368 1.55% FabArray::setVal() 1062 0.01344 0.01344 0.01344 1.52% FabArray::Saxpy() 1370 0.01329 0.01329 0.01329 1.51% Castro::enforce_min_density() 62 0.01191 0.01191 0.01191 1.35% amrex::Copy() 472 0.01081 0.01081 0.01081 1.23% MLCellLinOp::defineAuxData() 11 0.01049 0.01049 0.01049 1.19% StateDataPhysBCFunct::() 41 0.01045 0.01045 0.01045 1.19% MLPoisson::Fapply() 1060 0.0104 0.0104 0.0104 1.18% Castro::reset_internal_energy(MultiFab) 63 0.009245 0.009245 0.009245 1.05% Gravity::fill_multipole_BCs() 11 0.009221 0.009221 0.009221 1.05% FabArray::Xpay() 739 0.00795 0.00795 0.00795 0.90% MLMG::addInterpCorrection() 410 0.007067 0.007067 0.007067 0.80% amrex::average_down 410 0.006253 0.006253 0.006253 0.71% Amr::checkPoint() 3 0.005936 0.005936 0.005936 0.67% Castro::estTimeStep() 21 0.005104 0.005104 0.005104 0.58% BndryData::define() 11 0.004084 0.004084 0.004084 0.46% Castro::enforce_speed_limit() 62 0.003814 0.003814 0.003814 0.43% amrex::Add() 82 0.003626 0.003626 0.003626 0.41% Castro::construct_new_gravity_source() 10 0.003367 0.003367 0.003367 0.38% Castro::construct_old_gravity_source() 10 0.002883 0.002883 0.002883 0.33% Amr::writePlotFile() 2 0.002074 0.002074 0.002074 0.24% check_for_negative_density() 10 0.001901 0.001901 0.001901 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00181 0.00181 0.00181 0.21% MLCGSolver::bicgstab 82 0.001691 0.001691 0.001691 0.19% Castro::reset_internal_energy(Fab) 504 0.001689 0.001689 0.001689 0.19% MLCellLinOp::setLevelBC() 11 0.001613 0.001613 0.001613 0.18% Gravity::actual_solve_with_mlmg() 11 0.001573 0.001573 0.001573 0.18% Castro::initData() 1 0.001515 0.001515 0.001515 0.17% FabArray::setDomainBndry() 41 0.001384 0.001384 0.001384 0.16% FabArray::mult() 43 0.001367 0.001367 0.001367 0.15% MLCellLinOp::prepareForSolve() 11 0.001341 0.001341 0.001341 0.15% MultiFab::contains_nan() 20 0.001306 0.001306 0.001306 0.15% MLCellLinOp::smooth() 1640 0.001214 0.001214 0.001214 0.14% MLCellLinOp::compGrad() 11 0.001098 0.001098 0.001098 0.12% MLMG::prepareForSolve() 11 0.0009815 0.0009815 0.0009815 0.11% FabArray::FillBoundary() 3941 0.0008566 0.0008566 0.0008566 0.10% FabArrayBase::getCPC() 1323 0.0007815 0.0007815 0.0007815 0.09% FabArrayBase::CPC::define() 454 0.0006731 0.0006731 0.0006731 0.08% Gravity::get_new_grav_vector() 11 0.0006116 0.0006116 0.0006116 0.07% FabArrayBase::getFB() 3941 0.0006096 0.0006096 0.0006096 0.07% Amr::InitAmr() 1 0.0005664 0.0005664 0.0005664 0.06% Gravity::get_old_grav_vector() 10 0.0004812 0.0004812 0.0004812 0.05% MLCellLinOp::apply() 1060 0.0004772 0.0004772 0.0004772 0.05% Amr::coarseTimeStep() 10 0.0004476 0.0004476 0.0004476 0.05% AmrLevel::FillPatch() 41 0.0004061 0.0004061 0.0004061 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003484 0.0003484 0.0003484 0.04% MultiFab::max() 11 0.0003272 0.0003272 0.0003272 0.04% main() 1 0.0003082 0.0003082 0.0003082 0.03% MLCellLinOp::defineBC() 11 0.0002812 0.0002812 0.0002812 0.03% FabArray::ParallelCopy() 861 0.0002451 0.0002451 0.0002451 0.03% MLMG::mgVcycle() 82 0.0002138 0.0002138 0.0002138 0.02% FillPatchIterator::Initialize 41 0.0002082 0.0002082 0.0002082 0.02% MLLinOp::defineGrids() 11 0.000174 0.000174 0.000174 0.02% MLCellLinOp::correctionResidual() 410 0.0001726 0.0001726 0.0001726 0.02% Gravity::update_max_rhs() 11 0.0001647 0.0001647 0.0001647 0.02% Amr::timeStep() 10 0.0001621 0.0001621 0.0001621 0.02% Castro::subcycle_advance_ctu() 10 0.0001604 0.0001604 0.0001604 0.02% Castro::create_source_corrector() 10 0.0001567 0.0001567 0.0001567 0.02% StateData::checkPoint() 12 0.0001378 0.0001378 0.0001378 0.02% MLMG:computeResOfCorrection() 410 0.0001241 0.0001241 0.0001241 0.01% Castro::construct_new_source() 50 0.0001195 0.0001195 0.0001195 0.01% Castro::post_timestep() 10 0.0001154 0.0001154 0.0001154 0.01% Gravity::solve_for_phi() 10 0.000115 0.000115 0.000115 0.01% Castro::Castro() 1 9.316e-05 9.316e-05 9.316e-05 0.01% MLMG::mgVcycle_down::0 82 9.309e-05 9.309e-05 9.309e-05 0.01% FabArrayBase::FB::FB() 56 9.247e-05 9.247e-05 9.247e-05 0.01% MLMG::mgVcycle_down::2 82 8.702e-05 8.702e-05 8.702e-05 0.01% MLMG::mgVcycle_down::1 82 8.627e-05 8.627e-05 8.627e-05 0.01% MLMG::actualBottomSolve() 82 8.597e-05 8.597e-05 8.597e-05 0.01% Castro::clean_state() 62 8.014e-05 8.014e-05 8.014e-05 0.01% AmrLevel::checkPoint() 3 7.741e-05 7.741e-05 7.741e-05 0.01% MLMG::mgVcycle_down::4 82 7.702e-05 7.702e-05 7.702e-05 0.01% Castro::initialize_advance() 10 7.686e-05 7.686e-05 7.686e-05 0.01% MLMG::mgVcycle_down::3 82 7.524e-05 7.524e-05 7.524e-05 0.01% MLMG::solve() 11 7.398e-05 7.398e-05 7.398e-05 0.01% Castro::enforce_consistent_e() 1 6.716e-05 6.716e-05 6.716e-05 0.01% Castro::initialize_do_advance() 10 6.418e-05 6.418e-05 6.418e-05 0.01% Castro::finalize_advance() 10 6.178e-05 6.178e-05 6.178e-05 0.01% MLMG::mgVcycle_up::4 82 6.023e-05 6.023e-05 6.023e-05 0.01% MLMG::oneIter() 82 5.472e-05 5.472e-05 5.472e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.438e-05 5.438e-05 5.438e-05 0.01% MLMG::mgVcycle_up::0 82 5.352e-05 5.352e-05 5.352e-05 0.01% MLMG::mgVcycle_up::3 82 5.228e-05 5.228e-05 5.228e-05 0.01% MLMG::mgVcycle_up::2 82 5.051e-05 5.051e-05 5.051e-05 0.01% MLMG::mgVcycle_up::1 82 5.034e-05 5.034e-05 5.034e-05 0.01% Castro::do_advance_ctu() 10 5.025e-05 5.025e-05 5.025e-05 0.01% MLCellLinOp::solutionResidual() 93 4.982e-05 4.982e-05 4.982e-05 0.01% Castro::finalize_do_advance() 10 4.424e-05 4.424e-05 4.424e-05 0.01% Castro::do_new_sources() 10 4.388e-05 4.388e-05 4.388e-05 0.00% FillPatchSingleLevel 41 3.803e-05 3.803e-05 3.803e-05 0.00% Castro::swap_state_time_levels() 10 3.746e-05 3.746e-05 3.746e-05 0.00% StateData::define() 4 3.696e-05 3.696e-05 3.696e-05 0.00% MLMG::ResNormInf() 93 3.572e-05 3.572e-05 3.572e-05 0.00% MLMG::mgVcycle_bottom 82 3.405e-05 3.405e-05 3.405e-05 0.00% MLMG::computeResidual() 82 3.293e-05 3.293e-05 3.293e-05 0.00% Amr::defBaseLevel() 1 3.273e-05 3.273e-05 3.273e-05 0.00% Amr::writeSmallPlotFile() 1 3.224e-05 3.224e-05 3.224e-05 0.00% Castro::initMFs() 1 3.103e-05 3.103e-05 3.103e-05 0.00% Castro::construct_new_gravity() 10 2.862e-05 2.862e-05 2.862e-05 0.00% makeSFC 55 2.639e-05 2.639e-05 2.639e-05 0.00% Castro::buildMetrics() 1 2.407e-05 2.407e-05 2.407e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.299e-05 2.299e-05 2.299e-05 0.00% MLPoisson::define() 11 2.159e-05 2.159e-05 2.159e-05 0.00% Castro::do_old_sources() 10 2.121e-05 2.121e-05 2.121e-05 0.00% Amr::FinalizeInit() 1 2.081e-05 2.081e-05 2.081e-05 0.00% Castro::advance() 10 2.016e-05 2.016e-05 2.016e-05 0.00% Castro::construct_old_source() 50 1.921e-05 1.921e-05 1.921e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.722e-05 1.722e-05 1.722e-05 0.00% DistributionMapping::Distribute() 56 1.561e-05 1.561e-05 1.561e-05 0.00% MLLinOp::define() 11 1.372e-05 1.372e-05 1.372e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.29e-05 1.29e-05 1.29e-05 0.00% Castro::apply_source_to_state() 20 1.257e-05 1.257e-05 1.257e-05 0.00% MLPoisson::prepareForSolve() 11 1.194e-05 1.194e-05 1.194e-05 0.00% Castro::construct_old_gravity() 10 1.186e-05 1.186e-05 1.186e-05 0.00% Amr::initSubcycle() 1 1.175e-05 1.175e-05 1.175e-05 0.00% Castro::check_for_nan() 20 1.154e-05 1.154e-05 1.154e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.08e-05 1.08e-05 1.08e-05 0.00% Castro::post_init() 1 8.736e-06 8.736e-06 8.736e-06 0.00% Gravity::swapTimeLevels() 10 8.487e-06 8.487e-06 8.487e-06 0.00% Gravity::actual_multilevel_solve() 1 8.309e-06 8.309e-06 8.309e-06 0.00% MLMG::computeMLResidual() 11 8.176e-06 8.176e-06 8.176e-06 0.00% Castro::computeNewDt() 9 6.492e-06 6.492e-06 6.492e-06 0.00% MLLinOp::makeSubCommunicator() 11 6.155e-06 6.155e-06 6.155e-06 0.00% MLMG::getGradSolution() 11 5.938e-06 5.938e-06 5.938e-06 0.00% Castro::expand_state() 10 5.435e-06 5.435e-06 5.435e-06 0.00% Amr::InitializeInit() 1 4.952e-06 4.952e-06 4.952e-06 0.00% AmrLevel::checkPointPost() 3 4.864e-06 4.864e-06 4.864e-06 0.00% MLMG::MLResNormInf() 11 4.302e-06 4.302e-06 4.302e-06 0.00% Castro::retry_advance_ctu() 10 4.123e-06 4.123e-06 4.123e-06 0.00% MLMG::MLRhsNormInf() 11 4.1e-06 4.1e-06 4.1e-06 0.00% Gravity::set_mass_offset() 11 3.944e-06 3.944e-06 3.944e-06 0.00% Castro::computeInitialDt() 2 3.335e-06 3.335e-06 3.335e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.828e-06 2.828e-06 2.828e-06 0.00% Castro::FluxRegCrseInit 10 2.677e-06 2.677e-06 2.677e-06 0.00% Amr::init() 1 2.443e-06 2.443e-06 2.443e-06 0.00% AmrLevel::checkPointPre() 3 2.251e-06 2.251e-06 2.251e-06 0.00% Castro::FluxRegFineAdd() 10 1.962e-06 1.962e-06 1.962e-06 0.00% Castro::post_regrid() 1 1.42e-06 1.42e-06 1.42e-06 0.00% Amr::initialInit() 1 1.067e-06 1.067e-06 1.067e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8818 0.8818 0.8818 100.00% Amr::coarseTimeStep() 10 0.7309 0.7309 0.7309 82.89% Amr::timeStep() 10 0.6384 0.6384 0.6384 72.39% Castro::advance() 10 0.626 0.626 0.626 70.99% Castro::subcycle_advance_ctu() 10 0.6117 0.6117 0.6117 69.36% Castro::do_advance_ctu() 10 0.6115 0.6115 0.6115 69.35% Gravity::solve_phi_with_mlmg() 11 0.2969 0.2969 0.2969 33.67% Gravity::actual_solve_with_mlmg() 11 0.2872 0.2872 0.2872 32.57% Castro::construct_ctu_hydro_source() 10 0.2693 0.2693 0.2693 30.54% Castro::construct_new_gravity() 10 0.2678 0.2678 0.2678 30.37% MLMG::solve() 11 0.2648 0.2648 0.2648 30.03% Gravity::solve_for_phi() 10 0.2518 0.2518 0.2518 28.55% MLMG::oneIter() 82 0.2494 0.2494 0.2494 28.28% MLMG::mgVcycle() 82 0.2457 0.2457 0.2457 27.86% VisMF::Write(FabArray) 11 0.1761 0.1761 0.1761 19.96% Amr::checkPoint() 3 0.135 0.135 0.135 15.30% AmrLevel::checkPoint() 3 0.129 0.129 0.129 14.63% StateData::checkPoint() 12 0.1289 0.1289 0.1289 14.62% Amr::init() 1 0.1251 0.1251 0.1251 14.19% MLCellLinOp::smooth() 1640 0.1225 0.1225 0.1225 13.89% MLCellLinOp::applyBC() 4351 0.1131 0.1131 0.1131 12.83% MLMG::mgVcycle_bottom 82 0.07391 0.07391 0.07391 8.38% MLMG::actualBottomSolve() 82 0.07387 0.07387 0.07387 8.38% MLCGSolver::bicgstab 82 0.07302 0.07302 0.07302 8.28% Castro::clean_state() 62 0.06188 0.06188 0.06188 7.02% Amr::initialInit() 1 0.05425 0.05425 0.05425 6.15% Amr::writePlotFile() 2 0.04985 0.04985 0.04985 5.65% Amr::FinalizeInit() 1 0.04911 0.04911 0.04911 5.57% Castro::post_init() 1 0.04799 0.04799 0.04799 5.44% AmrLevel::FillPatch() 41 0.04766 0.04766 0.04766 5.41% Gravity::multilevel_solve_for_new_phi() 1 0.04553 0.04553 0.04553 5.16% Gravity::actual_multilevel_solve() 1 0.04551 0.04551 0.04551 5.16% FillPatchIterator::Initialize 41 0.04339 0.04339 0.04339 4.92% FillPatchIterator::FillFromLevel0() 41 0.04179 0.04179 0.04179 4.74% FillPatchSingleLevel 41 0.04174 0.04174 0.04174 4.73% StateDataPhysBCFunct::() 41 0.03765 0.03765 0.03765 4.27% MLCellLinOp::apply() 1060 0.03649 0.03649 0.03649 4.14% MLMG::mgVcycle_down::0 82 0.03451 0.03451 0.03451 3.91% MLPoisson::Fsmooth() 3280 0.03421 0.03421 0.03421 3.88% FabArray::FillBoundary() 3941 0.03219 0.03219 0.03219 3.65% FillBoundary_nowait() 3941 0.03133 0.03133 0.03133 3.55% StateData::FillBoundary(geom) 328 0.02719 0.02719 0.02719 3.08% MLMG::mgVcycle_up::0 82 0.02619 0.02619 0.02619 2.97% Castro::computeTemp() 63 0.02528 0.02528 0.02528 2.87% Castro::initialize_do_advance() 10 0.02213 0.02213 0.02213 2.51% amrex::Dot() 1114 0.02176 0.02176 0.02176 2.47% Castro::normalize_species() 62 0.02176 0.02176 0.02176 2.47% MLMG:computeResOfCorrection() 410 0.02055 0.02055 0.02055 2.33% MLCellLinOp::correctionResidual() 410 0.02042 0.02042 0.02042 2.32% FabArray::norminf() 1061 0.02009 0.02009 0.02009 2.28% Castro::do_old_sources() 10 0.01894 0.01894 0.01894 2.15% Gravity::get_new_grav_vector() 11 0.01799 0.01799 0.01799 2.04% MLPoisson::define() 11 0.01759 0.01759 0.01759 1.99% MLMG::mgVcycle_down::1 82 0.01684 0.01684 0.01684 1.91% MLMG::mgVcycle_down::2 82 0.01567 0.01567 0.01567 1.78% Castro::construct_old_gravity() 10 0.01543 0.01543 0.01543 1.75% Gravity::get_old_grav_vector() 10 0.01541 0.01541 0.01541 1.75% MLMG::mgVcycle_down::3 82 0.0153 0.0153 0.0153 1.74% MLMG::mgVcycle_down::4 82 0.01517 0.01517 0.01517 1.72% Castro::do_new_sources() 10 0.01507 0.01507 0.01507 1.71% FabArray::ParallelCopy() 861 0.01473 0.01473 0.01473 1.67% FabArray::ParallelCopy_nowait() 861 0.01448 0.01448 0.01448 1.64% Castro::initialize_advance() 10 0.01373 0.01373 0.01373 1.56% FabArray::setVal() 1062 0.01344 0.01344 0.01344 1.52% FabArray::Saxpy() 1370 0.01329 0.01329 0.01329 1.51% MLCGSolver::ParallelAllReduce 1832 0.0131 0.0131 0.0131 1.49% MLMG::addInterpCorrection() 410 0.01236 0.01236 0.01236 1.40% MLMG::mgVcycle_up::1 82 0.01219 0.01219 0.01219 1.38% Castro::post_timestep() 10 0.01219 0.01219 0.01219 1.38% MLMG::mgVcycle_up::4 82 0.0121 0.0121 0.0121 1.37% MLCellLinOp::defineAuxData() 11 0.01192 0.01192 0.01192 1.35% MLMG::mgVcycle_up::2 82 0.01191 0.01191 0.01191 1.35% Castro::enforce_min_density() 62 0.01191 0.01191 0.01191 1.35% Castro::expand_state() 10 0.01176 0.01176 0.01176 1.33% MLMG::mgVcycle_up::3 82 0.0117 0.0117 0.0117 1.33% amrex::average_down 410 0.01163 0.01163 0.01163 1.32% Castro::reset_internal_energy(MultiFab) 63 0.01093 0.01093 0.01093 1.24% amrex::Copy() 472 0.01081 0.01081 0.01081 1.23% MLPoisson::Fapply() 1060 0.0104 0.0104 0.0104 1.18% Gravity::fill_multipole_BCs() 11 0.00945 0.00945 0.00945 1.07% FabArray::Xpay() 739 0.00795 0.00795 0.00795 0.90% MLCellLinOp::solutionResidual() 93 0.00774 0.00774 0.00774 0.88% MLMG::computeResidual() 82 0.006426 0.006426 0.006426 0.73% MLCellLinOp::defineBC() 11 0.005396 0.005396 0.005396 0.61% MLMG::prepareForSolve() 11 0.005212 0.005212 0.005212 0.59% Amr::InitializeInit() 1 0.005145 0.005145 0.005145 0.58% Amr::defBaseLevel() 1 0.00514 0.00514 0.00514 0.58% BndryData::define() 11 0.005114 0.005114 0.005114 0.58% Castro::estTimeStep() 21 0.005104 0.005104 0.005104 0.58% Castro::initData() 1 0.004481 0.004481 0.004481 0.51% Castro::enforce_speed_limit() 62 0.003814 0.003814 0.003814 0.43% amrex::Add() 82 0.003626 0.003626 0.003626 0.41% Castro::construct_new_source() 50 0.003487 0.003487 0.003487 0.40% Castro::construct_new_gravity_source() 10 0.003367 0.003367 0.003367 0.38% Castro::construct_old_source() 50 0.002902 0.002902 0.002902 0.33% Castro::construct_old_gravity_source() 10 0.002883 0.002883 0.002883 0.33% Castro::computeNewDt() 9 0.002198 0.002198 0.002198 0.25% MLMG::ResNormInf() 93 0.002148 0.002148 0.002148 0.24% check_for_negative_density() 10 0.001901 0.001901 0.001901 0.22% Castro::apply_source_to_state() 20 0.001873 0.001873 0.001873 0.21% Castro::finalize_do_advance() 10 0.001829 0.001829 0.001829 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00181 0.00181 0.00181 0.21% Castro::reset_internal_energy(Fab) 504 0.001689 0.001689 0.001689 0.19% MLCellLinOp::setLevelBC() 11 0.001613 0.001613 0.001613 0.18% MLMG::getGradSolution() 11 0.001602 0.001602 0.001602 0.18% MLCellLinOp::compGrad() 11 0.001596 0.001596 0.001596 0.18% FabArrayBase::getCPC() 1323 0.001455 0.001455 0.001455 0.16% FabArray::setDomainBndry() 41 0.001384 0.001384 0.001384 0.16% FabArray::mult() 43 0.001367 0.001367 0.001367 0.15% MLMG::computeMLResidual() 11 0.001356 0.001356 0.001356 0.15% MLPoisson::prepareForSolve() 11 0.001353 0.001353 0.001353 0.15% MLCellLinOp::prepareForSolve() 11 0.001341 0.001341 0.001341 0.15% Castro::check_for_nan() 20 0.001317 0.001317 0.001317 0.15% MultiFab::contains_nan() 20 0.001306 0.001306 0.001306 0.15% Castro::computeInitialDt() 2 0.00113 0.00113 0.00113 0.13% Gravity::update_max_rhs() 11 0.001022 0.001022 0.001022 0.12% Castro::post_regrid() 1 0.0007951 0.0007951 0.0007951 0.09% FabArrayBase::getFB() 3941 0.000702 0.000702 0.000702 0.08% FabArrayBase::CPC::define() 454 0.0006731 0.0006731 0.0006731 0.08% Castro::finalize_advance() 10 0.0005864 0.0005864 0.0005864 0.07% Amr::InitAmr() 1 0.0005781 0.0005781 0.0005781 0.07% Castro::Castro() 1 0.0005742 0.0005742 0.0005742 0.07% Gravity::swapTimeLevels() 10 0.0004485 0.0004485 0.0004485 0.05% MLMG::MLResNormInf() 11 0.0003399 0.0003399 0.0003399 0.04% MultiFab::max() 11 0.0003272 0.0003272 0.0003272 0.04% Castro::buildMetrics() 1 0.0002795 0.0002795 0.0002795 0.03% MLLinOp::define() 11 0.0002478 0.0002478 0.0002478 0.03% MLLinOp::defineGrids() 11 0.000234 0.000234 0.000234 0.03% MLMG::MLRhsNormInf() 11 0.0002245 0.0002245 0.0002245 0.03% Castro::create_source_corrector() 10 0.0001567 0.0001567 0.0001567 0.02% FabArrayBase::FB::FB() 56 9.247e-05 9.247e-05 9.247e-05 0.01% Castro::enforce_consistent_e() 1 6.716e-05 6.716e-05 6.716e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.384e-05 5.384e-05 5.384e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.776e-05 4.776e-05 4.776e-05 0.01% makeSFC 55 4.094e-05 4.094e-05 4.094e-05 0.00% Castro::swap_state_time_levels() 10 3.746e-05 3.746e-05 3.746e-05 0.00% StateData::define() 4 3.696e-05 3.696e-05 3.696e-05 0.00% Amr::writeSmallPlotFile() 1 3.224e-05 3.224e-05 3.224e-05 0.00% Castro::initMFs() 1 3.103e-05 3.103e-05 3.103e-05 0.00% DistributionMapping::Distribute() 56 1.561e-05 1.561e-05 1.561e-05 0.00% Amr::initSubcycle() 1 1.175e-05 1.175e-05 1.175e-05 0.00% MLLinOp::makeSubCommunicator() 11 6.155e-06 6.155e-06 6.155e-06 0.00% AmrLevel::checkPointPost() 3 4.864e-06 4.864e-06 4.864e-06 0.00% Castro::retry_advance_ctu() 10 4.123e-06 4.123e-06 4.123e-06 0.00% Gravity::set_mass_offset() 11 3.944e-06 3.944e-06 3.944e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.883e-06 3.883e-06 3.883e-06 0.00% Castro::FluxRegCrseInit 10 2.677e-06 2.677e-06 2.677e-06 0.00% AmrLevel::checkPointPre() 3 2.251e-06 2.251e-06 2.251e-06 0.00% Castro::FluxRegFineAdd() 10 1.962e-06 1.962e-06 1.962e-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 91 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1045 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1578 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3693 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 211 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 179 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2249 B 2048 KiB Gravity::solve_for_phi() 80 80 584 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 105 KiB 2048 KiB BndryData::define() 1056 1056 337 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 215 KiB 671 KiB Castro::estTimeStep() 21 21 2815 B 480 KiB VisMF::Write(FabArray) 656 656 3513 B 320 KiB Castro::normalize_species() 62 62 8036 B 320 KiB amrex::average_down 1067 1067 1290 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1195 B 257 KiB amrex::Dot() 1360 1360 3638 B 160 KiB FabArray::norminf() 1143 1143 3512 B 160 KiB check_for_negative_density() 10 10 339 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 29 B 20 KiB MLPoisson::Fsmooth() 132 132 3605 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 304 B 9648 B MLCellLinOp::applyBC() 8702 8702 228 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3928 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 3024 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 99 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 624 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 66 KiB 8192 KiB VisMF::Write(FabArray) 744 744 433 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3605 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 304 B 9648 B MLCellLinOp::applyBC() 4351 4351 227 B 9328 B MLCellLinOp::prepareForSolve() 66 66 4 B 7792 B amrex::Copy() 100 100 3929 B 6144 B Gravity::get_new_grav_vector() 3 3 2884 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 307 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): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-4-ga8bc0bfbcf10) finalized Initializing AMReX (24.02-4-ga8bc0bfbcf10)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-4-ga8bc0bfbcf10) initialized Starting run at 10:24:23 UTC on 2024-02-06. Successfully read inputs file ... Castro git describe: 24.02-2-gcff739306 AMReX git describe: 24.02-4-ga8bc0bfbc Microphysics git describe: 24.02-6-g49fba8d7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.494656876 Restart time = 0.115110323 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.072045286 [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.062846613 [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.078368319 [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.073836419 [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.066990338 [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.028326558 seconds Ending run at 10:24:24 UTC on 2024-02-06. Run time = 0.498652029 Run time without initialization = 0.382842071 Average number of zones advanced per microsecond: 3.424 Average number of zones advanced per microsecond per rank: 3.424 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4987 ... 0.4987 ... 0.4987 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1544 0.1544 0.1544 30.96% VisMF::Read() 3 0.05915 0.05915 0.05915 11.86% Amr::restart() 1 0.04919 0.04919 0.04919 9.86% MLCellLinOp::applyBC() 1910 0.03505 0.03505 0.03505 7.03% VisMF::Write(FabArray) 1 0.02567 0.02567 0.02567 5.15% MLPoisson::Fsmooth() 1440 0.01477 0.01477 0.01477 2.96% StateData::FillBoundary(geom) 160 0.01319 0.01319 0.01319 2.65% FillBoundary_nowait() 1730 0.01288 0.01288 0.01288 2.58% Gravity::fill_multipole_BCs() 6 0.01189 0.01189 0.01189 2.38% Castro::normalize_species() 30 0.01023 0.01023 0.01023 2.05% amrex::Dot() 484 0.00929 0.00929 0.00929 1.86% FabArray::norminf() 465 0.008699 0.008699 0.008699 1.74% Castro::computeTemp() 30 0.007078 0.007078 0.007078 1.42% Castro::enforce_min_density() 30 0.006637 0.006637 0.006637 1.33% FabArray::setVal() 501 0.006534 0.006534 0.006534 1.31% FabArray::ParallelCopy_nowait() 380 0.006176 0.006176 0.006176 1.24% FabArray::Saxpy() 597 0.005871 0.005871 0.005871 1.18% MLCellLinOp::defineAuxData() 6 0.005685 0.005685 0.005685 1.14% amrex::Copy() 221 0.00541 0.00541 0.00541 1.08% StateDataPhysBCFunct::() 20 0.004877 0.004877 0.004877 0.98% MLPoisson::Fapply() 464 0.004504 0.004504 0.004504 0.90% FabArray::Xpay() 325 0.003486 0.003486 0.003486 0.70% MLMG::addInterpCorrection() 180 0.003168 0.003168 0.003168 0.64% amrex::average_down 180 0.002999 0.002999 0.002999 0.60% Castro::estTimeStep() 10 0.002647 0.002647 0.002647 0.53% Amr::writePlotFile() 1 0.002489 0.002489 0.002489 0.50% BndryData::define() 6 0.002212 0.002212 0.002212 0.44% Castro::reset_internal_energy(MultiFab) 30 0.001971 0.001971 0.001971 0.40% Castro::construct_new_gravity_source() 5 0.001873 0.001873 0.001873 0.38% amrex::Add() 36 0.001549 0.001549 0.001549 0.31% Castro::construct_old_gravity_source() 5 0.001505 0.001505 0.001505 0.30% Castro::enforce_speed_limit() 30 0.001198 0.001198 0.001198 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001004 0.001004 0.001004 0.20% check_for_negative_density() 5 0.0009468 0.0009468 0.0009468 0.19% MLCellLinOp::setLevelBC() 6 0.0009175 0.0009175 0.0009175 0.18% Gravity::actual_solve_with_mlmg() 6 0.0008521 0.0008521 0.0008521 0.17% Castro::reset_internal_energy(Fab) 240 0.0008276 0.0008276 0.0008276 0.17% MLCellLinOp::prepareForSolve() 6 0.0007658 0.0007658 0.0007658 0.15% FabArray::setDomainBndry() 20 0.0007154 0.0007154 0.0007154 0.14% MLCGSolver::bicgstab 36 0.000715 0.000715 0.000715 0.14% FabArray::mult() 22 0.0007072 0.0007072 0.0007072 0.14% MultiFab::contains_nan() 10 0.0006572 0.0006572 0.0006572 0.13% MLCellLinOp::compGrad() 6 0.0006138 0.0006138 0.0006138 0.12% MLMG::prepareForSolve() 6 0.0005648 0.0005648 0.0005648 0.11% Amr::InitAmr() 1 0.0005167 0.0005167 0.0005167 0.10% MLCellLinOp::smooth() 720 0.0005041 0.0005041 0.0005041 0.10% FabArrayBase::CPC::define() 244 0.0004287 0.0004287 0.0004287 0.09% FabArray::FillBoundary() 1730 0.0003789 0.0003789 0.0003789 0.08% FabArrayBase::getCPC() 632 0.0003772 0.0003772 0.0003772 0.08% Gravity::get_old_grav_vector() 5 0.0003727 0.0003727 0.0003727 0.07% Gravity::get_new_grav_vector() 5 0.0002971 0.0002971 0.0002971 0.06% main() 1 0.0002879 0.0002879 0.0002879 0.06% FabArrayBase::getFB() 1730 0.0002594 0.0002594 0.0002594 0.05% MultiFab::max() 6 0.0002053 0.0002053 0.0002053 0.04% AmrLevel::FillPatch() 20 0.0001991 0.0001991 0.0001991 0.04% MLCellLinOp::apply() 464 0.0001967 0.0001967 0.0001967 0.04% Amr::coarseTimeStep() 5 0.0001599 0.0001599 0.0001599 0.03% MLCellLinOp::defineBC() 6 0.0001564 0.0001564 0.0001564 0.03% MLCGSolver::ParallelAllReduce 798 0.0001474 0.0001474 0.0001474 0.03% MLLinOp::defineGrids() 6 0.0001343 0.0001343 0.0001343 0.03% Castro::subcycle_advance_ctu() 5 0.0001189 0.0001189 0.0001189 0.02% FabArray::ParallelCopy() 380 0.0001171 0.0001171 0.0001171 0.02% Castro::create_source_corrector() 5 0.0001045 0.0001045 0.0001045 0.02% FillPatchIterator::Initialize 20 0.0001013 0.0001013 0.0001013 0.02% Castro::do_advance_ctu() 5 9.199e-05 9.199e-05 9.199e-05 0.02% MLMG::mgVcycle() 36 9.05e-05 9.05e-05 9.05e-05 0.02% Amr::timeStep() 5 9.04e-05 9.04e-05 9.04e-05 0.02% Castro::construct_new_source() 25 7.758e-05 7.758e-05 7.758e-05 0.02% MLCellLinOp::correctionResidual() 180 7.713e-05 7.713e-05 7.713e-05 0.02% AmrLevel::restart() 1 7.447e-05 7.447e-05 7.447e-05 0.01% Castro::initialize_do_advance() 5 6.538e-05 6.538e-05 6.538e-05 0.01% Castro::finalize_do_advance() 5 6.453e-05 6.453e-05 6.453e-05 0.01% StateData::restartDoit() 4 6.394e-05 6.394e-05 6.394e-05 0.01% Gravity::update_max_rhs() 6 6.383e-05 6.383e-05 6.383e-05 0.01% FabArrayBase::FB::FB() 26 6.177e-05 6.177e-05 6.177e-05 0.01% Castro::advance() 5 5.705e-05 5.705e-05 5.705e-05 0.01% MLMG:computeResOfCorrection() 180 5.591e-05 5.591e-05 5.591e-05 0.01% Gravity::solve_for_phi() 5 5.414e-05 5.414e-05 5.414e-05 0.01% MLMG::mgVcycle_down::0 36 4.441e-05 4.441e-05 4.441e-05 0.01% MLMG::actualBottomSolve() 36 4.092e-05 4.092e-05 4.092e-05 0.01% MLMG::mgVcycle_down::1 36 3.79e-05 3.79e-05 3.79e-05 0.01% MLMG::solve() 6 3.579e-05 3.579e-05 3.579e-05 0.01% Castro::initialize_advance() 5 3.546e-05 3.546e-05 3.546e-05 0.01% MLMG::mgVcycle_down::2 36 3.365e-05 3.365e-05 3.365e-05 0.01% Castro::clean_state() 30 3.342e-05 3.342e-05 3.342e-05 0.01% MLMG::mgVcycle_down::4 36 3.276e-05 3.276e-05 3.276e-05 0.01% MLMG::mgVcycle_down::3 36 3.153e-05 3.153e-05 3.153e-05 0.01% Amr::writeSmallPlotFile() 1 3.101e-05 3.101e-05 3.101e-05 0.01% Castro::post_timestep() 5 2.995e-05 2.995e-05 2.995e-05 0.01% Castro::finalize_advance() 5 2.971e-05 2.971e-05 2.971e-05 0.01% Castro::post_restart() 1 2.788e-05 2.788e-05 2.788e-05 0.01% Castro::buildMetrics() 1 2.755e-05 2.755e-05 2.755e-05 0.01% MLMG::mgVcycle_up::4 36 2.732e-05 2.732e-05 2.732e-05 0.01% Castro::construct_old_source() 25 2.703e-05 2.703e-05 2.703e-05 0.01% MLMG::oneIter() 36 2.565e-05 2.565e-05 2.565e-05 0.01% Castro::initMFs() 1 2.556e-05 2.556e-05 2.556e-05 0.01% MLCellLinOp::solutionResidual() 42 2.385e-05 2.385e-05 2.385e-05 0.00% Castro::swap_state_time_levels() 5 2.34e-05 2.34e-05 2.34e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.312e-05 2.312e-05 2.312e-05 0.00% MLMG::mgVcycle_up::0 36 2.284e-05 2.284e-05 2.284e-05 0.00% MLMG::mgVcycle_up::3 36 2.199e-05 2.199e-05 2.199e-05 0.00% MLMG::mgVcycle_up::2 36 2.151e-05 2.151e-05 2.151e-05 0.00% Castro::construct_new_gravity() 5 2.133e-05 2.133e-05 2.133e-05 0.00% MLMG::mgVcycle_up::1 36 2.054e-05 2.054e-05 2.054e-05 0.00% MLMG::ResNormInf() 42 1.911e-05 1.911e-05 1.911e-05 0.00% MLPoisson::define() 6 1.878e-05 1.878e-05 1.878e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.742e-05 1.742e-05 1.742e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.65e-05 1.65e-05 1.65e-05 0.00% MLMG::mgVcycle_bottom 36 1.554e-05 1.554e-05 1.554e-05 0.00% FillPatchSingleLevel 20 1.55e-05 1.55e-05 1.55e-05 0.00% MLMG::computeResidual() 36 1.527e-05 1.527e-05 1.527e-05 0.00% makeSFC 30 1.523e-05 1.523e-05 1.523e-05 0.00% Castro::do_old_sources() 5 1.191e-05 1.191e-05 1.191e-05 0.00% MLLinOp::define() 6 1.079e-05 1.079e-05 1.079e-05 0.00% DistributionMapping::Distribute() 31 1.067e-05 1.067e-05 1.067e-05 0.00% Castro::do_new_sources() 5 1.043e-05 1.043e-05 1.043e-05 0.00% Amr::initSubcycle() 1 1.011e-05 1.011e-05 1.011e-05 0.00% MLPoisson::prepareForSolve() 6 8.359e-06 8.359e-06 8.359e-06 0.00% Gravity::actual_multilevel_solve() 1 7.947e-06 7.947e-06 7.947e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.555e-06 7.555e-06 7.555e-06 0.00% Castro::check_for_nan() 10 7.452e-06 7.452e-06 7.452e-06 0.00% Castro::construct_old_gravity() 5 6.72e-06 6.72e-06 6.72e-06 0.00% Castro::apply_source_to_state() 10 6.339e-06 6.339e-06 6.339e-06 0.00% MLMG::computeMLResidual() 6 3.739e-06 3.739e-06 3.739e-06 0.00% Gravity::swapTimeLevels() 5 3.731e-06 3.731e-06 3.731e-06 0.00% MLMG::getGradSolution() 6 3.223e-06 3.223e-06 3.223e-06 0.00% Castro::computeNewDt() 5 3.201e-06 3.201e-06 3.201e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.171e-06 3.171e-06 3.171e-06 0.00% MLMG::MLResNormInf() 6 2.812e-06 2.812e-06 2.812e-06 0.00% Castro::expand_state() 5 2.648e-06 2.648e-06 2.648e-06 0.00% MLMG::MLRhsNormInf() 6 2.33e-06 2.33e-06 2.33e-06 0.00% Gravity::set_mass_offset() 6 2.31e-06 2.31e-06 2.31e-06 0.00% Castro::retry_advance_ctu() 5 2.067e-06 2.067e-06 2.067e-06 0.00% Castro::FluxRegCrseInit 5 1.588e-06 1.588e-06 1.588e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.416e-06 1.416e-06 1.416e-06 0.00% Castro::FluxRegFineAdd() 5 1.193e-06 1.193e-06 1.193e-06 0.00% Amr::init() 1 9.17e-07 9.17e-07 9.17e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4987 0.4987 0.4987 100.00% Amr::coarseTimeStep() 5 0.3542 0.3542 0.3542 71.04% Amr::timeStep() 5 0.3523 0.3523 0.3523 70.65% Castro::advance() 5 0.3468 0.3468 0.3468 69.53% Castro::subcycle_advance_ctu() 5 0.3393 0.3393 0.3393 68.03% Castro::do_advance_ctu() 5 0.3391 0.3391 0.3391 68.01% Castro::construct_ctu_hydro_source() 5 0.1598 0.1598 0.1598 32.05% Castro::construct_new_gravity() 5 0.1422 0.1422 0.1422 28.52% Gravity::solve_phi_with_mlmg() 6 0.1396 0.1396 0.1396 28.00% Gravity::solve_for_phi() 5 0.134 0.134 0.134 26.86% Gravity::actual_solve_with_mlmg() 6 0.1275 0.1275 0.1275 25.57% MLMG::solve() 6 0.1152 0.1152 0.1152 23.09% Amr::init() 1 0.1152 0.1152 0.1152 23.09% Amr::restart() 1 0.1152 0.1152 0.1152 23.09% MLMG::oneIter() 36 0.1075 0.1075 0.1075 21.56% MLMG::mgVcycle() 36 0.1059 0.1059 0.1059 21.24% AmrLevel::restart() 1 0.0595 0.0595 0.0595 11.93% StateData::restartDoit() 4 0.05942 0.05942 0.05942 11.92% VisMF::Read() 3 0.05915 0.05915 0.05915 11.86% MLCellLinOp::smooth() 720 0.05248 0.05248 0.05248 10.52% MLCellLinOp::applyBC() 1910 0.04864 0.04864 0.04864 9.75% MLMG::mgVcycle_bottom 36 0.03167 0.03167 0.03167 6.35% MLMG::actualBottomSolve() 36 0.03166 0.03166 0.03166 6.35% MLCGSolver::bicgstab 36 0.03128 0.03128 0.03128 6.27% Amr::writePlotFile() 1 0.02842 0.02842 0.02842 5.70% Castro::clean_state() 30 0.02798 0.02798 0.02798 5.61% VisMF::Write(FabArray) 1 0.02567 0.02567 0.02567 5.15% AmrLevel::FillPatch() 20 0.02305 0.02305 0.02305 4.62% FillPatchIterator::Initialize 20 0.02096 0.02096 0.02096 4.20% FillPatchIterator::FillFromLevel0() 20 0.02014 0.02014 0.02014 4.04% FillPatchSingleLevel 20 0.02012 0.02012 0.02012 4.03% StateDataPhysBCFunct::() 20 0.01807 0.01807 0.01807 3.62% MLCellLinOp::apply() 464 0.01585 0.01585 0.01585 3.18% MLMG::mgVcycle_down::0 36 0.0151 0.0151 0.0151 3.03% MLPoisson::Fsmooth() 1440 0.01477 0.01477 0.01477 2.96% FabArray::FillBoundary() 1730 0.01358 0.01358 0.01358 2.72% FillBoundary_nowait() 1730 0.0132 0.0132 0.0132 2.65% StateData::FillBoundary(geom) 160 0.01319 0.01319 0.01319 2.65% Gravity::fill_multipole_BCs() 6 0.01201 0.01201 0.01201 2.41% MLMG::mgVcycle_up::0 36 0.01117 0.01117 0.01117 2.24% Castro::initialize_do_advance() 5 0.01074 0.01074 0.01074 2.15% Castro::normalize_species() 30 0.01023 0.01023 0.01023 2.05% Castro::computeTemp() 30 0.009877 0.009877 0.009877 1.98% MLPoisson::define() 6 0.009662 0.009662 0.009662 1.94% Castro::do_old_sources() 5 0.009479 0.009479 0.009479 1.90% amrex::Dot() 484 0.00929 0.00929 0.00929 1.86% MLMG:computeResOfCorrection() 180 0.008873 0.008873 0.008873 1.78% MLCellLinOp::correctionResidual() 180 0.008817 0.008817 0.008817 1.77% FabArray::norminf() 465 0.008699 0.008699 0.008699 1.74% Gravity::get_new_grav_vector() 5 0.00815 0.00815 0.00815 1.63% Castro::construct_old_gravity() 5 0.007786 0.007786 0.007786 1.56% Gravity::get_old_grav_vector() 5 0.007779 0.007779 0.007779 1.56% Castro::do_new_sources() 5 0.007527 0.007527 0.007527 1.51% MLMG::mgVcycle_down::1 36 0.007426 0.007426 0.007426 1.49% Castro::initialize_advance() 5 0.007153 0.007153 0.007153 1.43% MLMG::mgVcycle_down::2 36 0.00673 0.00673 0.00673 1.35% FabArray::ParallelCopy() 380 0.006693 0.006693 0.006693 1.34% Castro::enforce_min_density() 30 0.006637 0.006637 0.006637 1.33% FabArray::ParallelCopy_nowait() 380 0.006575 0.006575 0.006575 1.32% MLMG::mgVcycle_down::3 36 0.006546 0.006546 0.006546 1.31% FabArray::setVal() 501 0.006534 0.006534 0.006534 1.31% MLCellLinOp::defineAuxData() 6 0.00651 0.00651 0.00651 1.31% MLMG::mgVcycle_down::4 36 0.006504 0.006504 0.006504 1.30% Castro::post_restart() 1 0.006289 0.006289 0.006289 1.26% Gravity::multilevel_solve_for_new_phi() 1 0.005924 0.005924 0.005924 1.19% Gravity::actual_multilevel_solve() 1 0.005906 0.005906 0.005906 1.18% FabArray::Saxpy() 597 0.005871 0.005871 0.005871 1.18% Castro::expand_state() 5 0.005821 0.005821 0.005821 1.17% MLCGSolver::ParallelAllReduce 798 0.005655 0.005655 0.005655 1.13% Castro::post_timestep() 5 0.005485 0.005485 0.005485 1.10% MLMG::addInterpCorrection() 180 0.005473 0.005473 0.005473 1.10% amrex::Copy() 221 0.00541 0.00541 0.00541 1.08% amrex::average_down 180 0.005354 0.005354 0.005354 1.07% MLMG::mgVcycle_up::4 36 0.005261 0.005261 0.005261 1.06% MLMG::mgVcycle_up::1 36 0.005255 0.005255 0.005255 1.05% MLMG::mgVcycle_up::2 36 0.005146 0.005146 0.005146 1.03% MLMG::mgVcycle_up::3 36 0.005025 0.005025 0.005025 1.01% MLPoisson::Fapply() 464 0.004504 0.004504 0.004504 0.90% MLCellLinOp::solutionResidual() 42 0.003578 0.003578 0.003578 0.72% FabArray::Xpay() 325 0.003486 0.003486 0.003486 0.70% MLCellLinOp::defineBC() 6 0.002955 0.002955 0.002955 0.59% MLMG::prepareForSolve() 6 0.002911 0.002911 0.002911 0.58% Castro::reset_internal_energy(MultiFab) 30 0.002799 0.002799 0.002799 0.56% BndryData::define() 6 0.002798 0.002798 0.002798 0.56% MLMG::computeResidual() 36 0.002771 0.002771 0.002771 0.56% Castro::estTimeStep() 10 0.002647 0.002647 0.002647 0.53% Castro::construct_new_source() 25 0.001951 0.001951 0.001951 0.39% Castro::construct_new_gravity_source() 5 0.001873 0.001873 0.001873 0.38% Castro::computeNewDt() 5 0.00175 0.00175 0.00175 0.35% amrex::Add() 36 0.001549 0.001549 0.001549 0.31% Castro::construct_old_source() 25 0.001532 0.001532 0.001532 0.31% Castro::construct_old_gravity_source() 5 0.001505 0.001505 0.001505 0.30% Castro::enforce_speed_limit() 30 0.001198 0.001198 0.001198 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001004 0.001004 0.001004 0.20% MLMG::ResNormInf() 42 0.0009924 0.0009924 0.0009924 0.20% Castro::apply_source_to_state() 10 0.0009678 0.0009678 0.0009678 0.19% Castro::finalize_do_advance() 5 0.0009642 0.0009642 0.0009642 0.19% check_for_negative_density() 5 0.0009468 0.0009468 0.0009468 0.19% MLCellLinOp::setLevelBC() 6 0.0009175 0.0009175 0.0009175 0.18% MLMG::getGradSolution() 6 0.0008936 0.0008936 0.0008936 0.18% MLCellLinOp::compGrad() 6 0.0008904 0.0008904 0.0008904 0.18% Castro::reset_internal_energy(Fab) 240 0.0008276 0.0008276 0.0008276 0.17% MLMG::computeMLResidual() 6 0.0008262 0.0008262 0.0008262 0.17% FabArrayBase::getCPC() 632 0.0008058 0.0008058 0.0008058 0.16% MLPoisson::prepareForSolve() 6 0.0007741 0.0007741 0.0007741 0.16% MLCellLinOp::prepareForSolve() 6 0.0007658 0.0007658 0.0007658 0.15% FabArray::setDomainBndry() 20 0.0007154 0.0007154 0.0007154 0.14% FabArray::mult() 22 0.0007072 0.0007072 0.0007072 0.14% Gravity::update_max_rhs() 6 0.0007023 0.0007023 0.0007023 0.14% Castro::check_for_nan() 10 0.0006646 0.0006646 0.0006646 0.13% MultiFab::contains_nan() 10 0.0006572 0.0006572 0.0006572 0.13% Amr::InitAmr() 1 0.0005268 0.0005268 0.0005268 0.11% FabArrayBase::CPC::define() 244 0.0004287 0.0004287 0.0004287 0.09% FabArrayBase::getFB() 1730 0.0003212 0.0003212 0.0003212 0.06% Castro::finalize_advance() 5 0.0002927 0.0002927 0.0002927 0.06% Gravity::swapTimeLevels() 5 0.0002276 0.0002276 0.0002276 0.05% MultiFab::max() 6 0.0002053 0.0002053 0.0002053 0.04% MLMG::MLResNormInf() 6 0.0001933 0.0001933 0.0001933 0.04% MLLinOp::define() 6 0.0001787 0.0001787 0.0001787 0.04% MLLinOp::defineGrids() 6 0.0001679 0.0001679 0.0001679 0.03% Castro::buildMetrics() 1 0.0001497 0.0001497 0.0001497 0.03% MLMG::MLRhsNormInf() 6 0.0001188 0.0001188 0.0001188 0.02% Castro::create_source_corrector() 5 0.0001045 0.0001045 0.0001045 0.02% FabArrayBase::FB::FB() 26 6.177e-05 6.177e-05 6.177e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.219e-05 3.219e-05 3.219e-05 0.01% Amr::writeSmallPlotFile() 1 3.101e-05 3.101e-05 3.101e-05 0.01% Castro::initMFs() 1 2.556e-05 2.556e-05 2.556e-05 0.01% makeSFC 30 2.463e-05 2.463e-05 2.463e-05 0.00% Castro::swap_state_time_levels() 5 2.34e-05 2.34e-05 2.34e-05 0.00% DistributionMapping::Distribute() 31 1.067e-05 1.067e-05 1.067e-05 0.00% Amr::initSubcycle() 1 1.011e-05 1.011e-05 1.011e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.434e-06 4.434e-06 4.434e-06 0.00% Gravity::set_mass_offset() 6 2.31e-06 2.31e-06 2.31e-06 0.00% Castro::retry_advance_ctu() 5 2.067e-06 2.067e-06 2.067e-06 0.00% Castro::FluxRegCrseInit 5 1.588e-06 1.588e-06 1.588e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.416e-06 1.416e-06 1.416e-06 0.00% Castro::FluxRegFineAdd() 5 1.193e-06 1.193e-06 1.193e-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 169 MiB 9042 MiB Castro::initMFs() 48 48 53 MiB 68 MiB Castro::swap_state_time_levels() 32 32 42 MiB 55 MiB StateData::restartDoit() 32 32 47 MiB 55 MiB FillPatchIterator::Initialize 160 160 907 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1520 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 12 MiB 15 MiB Castro::post_restart() 48 48 5915 KiB 14 MiB MLMG::prepareForSolve() 361 361 2834 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 161 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 5904 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 44 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2800 B 2048 KiB Gravity::solve_for_phi() 40 40 549 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 261 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 168 KiB 671 KiB Castro::estTimeStep() 10 10 2534 B 480 KiB VisMF::Write(FabArray) 112 112 2015 B 320 KiB Castro::normalize_species() 30 30 6682 B 320 KiB amrex::average_down 469 469 1130 B 257 KiB MLMG::addInterpCorrection() 468 468 930 B 257 KiB amrex::Dot() 592 592 2745 B 160 KiB FabArray::norminf() 501 501 2690 B 160 KiB check_for_negative_density() 5 5 304 B 160 KiB MultiFab::max() 6 6 64 B 160 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 2746 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 224 B 9648 B MLCellLinOp::applyBC() 3820 3820 176 B 9344 B amrex::Copy() 56 56 5117 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 34 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 293 B 1248 B MLCGSolver::bicgstab 180 180 75 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1002 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 76 KiB 8192 KiB VisMF::Write(FabArray) 120 120 135 KiB 3584 KiB VisMF::Read() 24 24 178 KiB 3000 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2746 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 224 B 9648 B MLCellLinOp::applyBC() 1910 1910 175 B 9328 B amrex::Copy() 56 56 5117 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2321 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 35 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 445 B 1296 B amrex::average_down 37 37 187 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 20 B 400 B FabArray::norminf() 501 501 7 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-4-ga8bc0bfbcf10) finalized