Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-28-g9718b9c135ed) initialized Starting run at 19:19:10 UTC on 2023-04-23. 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.059155641 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034062888 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047813729 [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.049333712 [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.047248907 [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.048114812 [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.082580324 [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.058034635 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.066070406 [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.061142224 [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.059823945 [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.060958404 [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.070336201 [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.058421677 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033540014 seconds Ending run at 19:19:11 UTC on 2023-04-23. Run time = 0.886099976 Run time without initialization = 0.744054454 Average number of zones advanced per microsecond: 3.523 Average number of zones advanced per microsecond per rank: 3.523 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8861 ... 0.8861 ... 0.8861 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2370 0.2370 0.2370 26.75% Castro::construct_ctu_hydro_source() 10 0.2336 0.2336 0.2336 26.37% MLCellLinOp::applyBC() 4433 0.07784 0.07784 0.07784 8.78% MLPoisson::Fsmooth() 3280 0.03259 0.03259 0.03259 3.68% FillBoundary_nowait() 4023 0.03095 0.03095 0.03095 3.49% StateData::FillBoundary(geom) 328 0.02571 0.02571 0.02571 2.90% amrex::Dot() 1114 0.02089 0.02089 0.02089 2.36% Castro::computeTemp() 63 0.01508 0.01508 0.01508 1.70% amrex::Copy() 1029 0.01491 0.01491 0.01491 1.68% Castro::normalize_species() 62 0.01483 0.01483 0.01483 1.67% FabArray::norminf() 743 0.0145 0.0145 0.0145 1.64% FabArray::ParallelCopy_nowait() 861 0.01354 0.01354 0.01354 1.53% FabArray::setVal() 1144 0.01323 0.01323 0.01323 1.49% StateDataPhysBCFunct::() 41 0.01052 0.01052 0.01052 1.19% MLPoisson::Fapply() 1142 0.01044 0.01044 0.01044 1.18% MLCellLinOp::defineAuxData() 11 0.01008 0.01008 0.01008 1.14% Castro::enforce_min_density() 62 0.00948 0.00948 0.00948 1.07% FabArray::Saxpy() 813 0.008224 0.008224 0.008224 0.93% FabArray::Xpay() 821 0.008037 0.008037 0.008037 0.91% MLMG::addInterpCorrection() 410 0.006633 0.006633 0.006633 0.75% Gravity::fill_multipole_BCs() 11 0.006289 0.006289 0.006289 0.71% amrex::average_down 410 0.005982 0.005982 0.005982 0.68% Castro::estTimeStep() 21 0.005691 0.005691 0.005691 0.64% FabArray::LinComb() 557 0.004575 0.004575 0.004575 0.52% amrex::Add() 164 0.004379 0.004379 0.004379 0.49% Castro::reset_internal_energy(MultiFab) 63 0.004005 0.004005 0.004005 0.45% BndryData::define() 11 0.003765 0.003765 0.003765 0.42% Amr::checkPoint() 3 0.003563 0.003563 0.003563 0.40% Castro::do_advance_ctu() 10 0.002928 0.002928 0.002928 0.33% Castro::construct_new_gravity_source() 10 0.002721 0.002721 0.002721 0.31% Castro::construct_old_gravity_source() 10 0.002183 0.002183 0.002183 0.25% Amr::writePlotFile() 2 0.002134 0.002134 0.002134 0.24% MLCGSolver::bicgstab 82 0.00211 0.00211 0.00211 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001738 0.001738 0.001738 0.20% Castro::reset_internal_energy(Fab) 504 0.001559 0.001559 0.001559 0.18% Gravity::actual_solve_with_mlmg() 11 0.001459 0.001459 0.001459 0.16% MLCellLinOp::setLevelBC() 11 0.001431 0.001431 0.001431 0.16% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.15% FabArray::mult() 43 0.001321 0.001321 0.001321 0.15% Castro::enforce_speed_limit() 62 0.001311 0.001311 0.001311 0.15% MultiFab::contains_nan() 20 0.00122 0.00122 0.00122 0.14% MLCellLinOp::prepareForSolve() 11 0.001136 0.001136 0.001136 0.13% MLCellLinOp::smooth() 1640 0.001132 0.001132 0.001132 0.13% Castro::initData() 1 0.001123 0.001123 0.001123 0.13% MLCellLinOp::compGrad() 11 0.0009359 0.0009359 0.0009359 0.11% MLMG::prepareForSolve() 11 0.00088 0.00088 0.00088 0.10% FabArray::FillBoundary() 4023 0.0008051 0.0008051 0.0008051 0.09% FabArrayBase::getCPC() 1323 0.0007406 0.0007406 0.0007406 0.08% FabArrayBase::CPC::define() 454 0.0006596 0.0006596 0.0006596 0.07% Gravity::get_new_grav_vector() 11 0.0006233 0.0006233 0.0006233 0.07% FabArrayBase::getFB() 4023 0.0006101 0.0006101 0.0006101 0.07% Gravity::get_old_grav_vector() 10 0.0005532 0.0005532 0.0005532 0.06% Amr::InitAmr() 1 0.0005197 0.0005197 0.0005197 0.06% MLCellLinOp::apply() 1142 0.0004582 0.0004582 0.0004582 0.05% MLLinOp::defineGrids() 11 0.0004092 0.0004092 0.0004092 0.05% Amr::coarseTimeStep() 10 0.000329 0.000329 0.000329 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002838 0.0002838 0.0002838 0.03% main() 1 0.0002656 0.0002656 0.0002656 0.03% MultiFab::max() 11 0.0002579 0.0002579 0.0002579 0.03% FabArray::ParallelCopy() 861 0.0002476 0.0002476 0.0002476 0.03% FillPatchIterator::Initialize 41 0.0002419 0.0002419 0.0002419 0.03% MLCellLinOp::correctionResidual() 492 0.0002265 0.0002265 0.0002265 0.03% MLCellLinOp::defineBC() 11 0.0002151 0.0002151 0.0002151 0.02% MLMG::mgVcycle() 82 0.000207 0.000207 0.000207 0.02% Castro::create_source_corrector() 10 0.0002045 0.0002045 0.0002045 0.02% Castro::subcycle_advance_ctu() 10 0.0001953 0.0001953 0.0001953 0.02% Amr::timeStep() 10 0.0001652 0.0001652 0.0001652 0.02% MLMG:computeResOfCorrection() 410 0.0001236 0.0001236 0.0001236 0.01% Gravity::update_max_rhs() 11 0.0001212 0.0001212 0.0001212 0.01% StateData::checkPoint() 12 0.0001197 0.0001197 0.0001197 0.01% Gravity::solve_for_phi() 10 0.0001079 0.0001079 0.0001079 0.01% Castro::Castro() 1 9.907e-05 9.907e-05 9.907e-05 0.01% MLMG::actualBottomSolve() 82 9.056e-05 9.056e-05 9.056e-05 0.01% Castro::advance() 10 8.485e-05 8.485e-05 8.485e-05 0.01% FabArrayBase::FB::FB() 56 8.464e-05 8.464e-05 8.464e-05 0.01% MLMG::mgVcycle_down::0 82 8.156e-05 8.156e-05 8.156e-05 0.01% Castro::expand_state() 10 7.979e-05 7.979e-05 7.979e-05 0.01% Castro::clean_state() 62 7.955e-05 7.955e-05 7.955e-05 0.01% Castro::initialize_advance() 10 7.587e-05 7.587e-05 7.587e-05 0.01% MLMG::solve() 11 7.413e-05 7.413e-05 7.413e-05 0.01% MLMG::mgVcycle_down::2 82 7.357e-05 7.357e-05 7.357e-05 0.01% MLMG::mgVcycle_down::1 82 7.295e-05 7.295e-05 7.295e-05 0.01% MLMG::mgVcycle_down::3 82 7.208e-05 7.208e-05 7.208e-05 0.01% AmrLevel::checkPoint() 3 7.089e-05 7.089e-05 7.089e-05 0.01% MLMG::mgVcycle_down::4 82 6.901e-05 6.901e-05 6.901e-05 0.01% Castro::finalize_advance() 10 6.451e-05 6.451e-05 6.451e-05 0.01% MLMG::mgVcycle_up::4 82 5.628e-05 5.628e-05 5.628e-05 0.01% Castro::initialize_do_advance() 10 5.487e-05 5.487e-05 5.487e-05 0.01% MLMG::mgVcycle_up::3 82 5.204e-05 5.204e-05 5.204e-05 0.01% MLMG::mgVcycle_up::1 82 4.982e-05 4.982e-05 4.982e-05 0.01% MLCellLinOp::solutionResidual() 93 4.963e-05 4.963e-05 4.963e-05 0.01% MLMG::mgVcycle_up::0 82 4.943e-05 4.943e-05 4.943e-05 0.01% MLMG::mgVcycle_up::2 82 4.939e-05 4.939e-05 4.939e-05 0.01% MLMG::oneIter() 82 4.936e-05 4.936e-05 4.936e-05 0.01% Castro::finalize_do_advance() 10 4.03e-05 4.03e-05 4.03e-05 0.00% StateData::define() 4 3.733e-05 3.733e-05 3.733e-05 0.00% MLMG::ResNormInf() 93 3.695e-05 3.695e-05 3.695e-05 0.00% MLMG::mgVcycle_bottom 82 3.663e-05 3.663e-05 3.663e-05 0.00% Castro::swap_state_time_levels() 10 3.534e-05 3.534e-05 3.534e-05 0.00% MLMG::computeResidual() 82 3.336e-05 3.336e-05 3.336e-05 0.00% Castro::enforce_consistent_e() 1 3.305e-05 3.305e-05 3.305e-05 0.00% FillPatchSingleLevel 41 3.108e-05 3.108e-05 3.108e-05 0.00% MLPoisson::define() 11 2.626e-05 2.626e-05 2.626e-05 0.00% Amr::defBaseLevel() 1 2.62e-05 2.62e-05 2.62e-05 0.00% Amr::writeSmallPlotFile() 1 2.545e-05 2.545e-05 2.545e-05 0.00% Castro::construct_new_gravity() 10 2.519e-05 2.519e-05 2.519e-05 0.00% makeSFC 55 2.466e-05 2.466e-05 2.466e-05 0.00% Castro::do_new_sources() 10 2.425e-05 2.425e-05 2.425e-05 0.00% Castro::initMFs() 1 2.313e-05 2.313e-05 2.313e-05 0.00% Castro::do_old_sources() 10 2.233e-05 2.233e-05 2.233e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.188e-05 2.188e-05 2.188e-05 0.00% Amr::FinalizeInit() 1 2.147e-05 2.147e-05 2.147e-05 0.00% Castro::buildMetrics() 1 1.927e-05 1.927e-05 1.927e-05 0.00% Castro::construct_new_source() 50 1.82e-05 1.82e-05 1.82e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.729e-05 1.729e-05 1.729e-05 0.00% Castro::construct_old_source() 50 1.654e-05 1.654e-05 1.654e-05 0.00% MLLinOp::define() 11 1.614e-05 1.614e-05 1.614e-05 0.00% DistributionMapping::Distribute() 56 1.524e-05 1.524e-05 1.524e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.362e-05 1.362e-05 1.362e-05 0.00% Castro::check_for_nan() 20 1.153e-05 1.153e-05 1.153e-05 0.00% Castro::apply_source_to_state() 20 1.067e-05 1.067e-05 1.067e-05 0.00% Castro::construct_old_gravity() 10 9.902e-06 9.902e-06 9.902e-06 0.00% Amr::initSubcycle() 1 9.228e-06 9.228e-06 9.228e-06 0.00% Gravity::swapTimeLevels() 10 8.839e-06 8.839e-06 8.839e-06 0.00% Castro::post_timestep() 10 8.807e-06 8.807e-06 8.807e-06 0.00% MLMG::computeMLResidual() 11 8.08e-06 8.08e-06 8.08e-06 0.00% AmrLevel::AmrLevel(dm) 1 8.028e-06 8.028e-06 8.028e-06 0.00% Gravity::actual_multilevel_solve() 1 7.944e-06 7.944e-06 7.944e-06 0.00% MLPoisson::prepareForSolve() 11 7.56e-06 7.56e-06 7.56e-06 0.00% Castro::computeNewDt() 9 7.057e-06 7.057e-06 7.057e-06 0.00% MLMG::getGradSolution() 11 5.368e-06 5.368e-06 5.368e-06 0.00% Amr::InitializeInit() 1 5.16e-06 5.16e-06 5.16e-06 0.00% Castro::retry_advance_ctu() 10 4.88e-06 4.88e-06 4.88e-06 0.00% Gravity::set_mass_offset() 11 4.249e-06 4.249e-06 4.249e-06 0.00% AmrLevel::checkPointPost() 3 3.965e-06 3.965e-06 3.965e-06 0.00% Castro::post_init() 1 3.709e-06 3.709e-06 3.709e-06 0.00% MLMG::MLRhsNormInf() 11 3.632e-06 3.632e-06 3.632e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.629e-06 3.629e-06 3.629e-06 0.00% MLMG::MLResNormInf() 11 3.232e-06 3.232e-06 3.232e-06 0.00% Castro::FluxRegCrseInit 10 2.825e-06 2.825e-06 2.825e-06 0.00% Castro::computeInitialDt() 2 2.759e-06 2.759e-06 2.759e-06 0.00% Amr::init() 1 2.697e-06 2.697e-06 2.697e-06 0.00% Castro::FluxRegFineAdd() 10 2.488e-06 2.488e-06 2.488e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.009e-06 2.009e-06 2.009e-06 0.00% AmrLevel::checkPointPre() 3 1.677e-06 1.677e-06 1.677e-06 0.00% Castro::post_regrid() 1 1.133e-06 1.133e-06 1.133e-06 0.00% Amr::initialInit() 1 9.97e-07 9.97e-07 9.97e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8861 0.8861 0.8861 100.00% Amr::coarseTimeStep() 10 0.7103 0.7103 0.7103 80.16% Amr::timeStep() 10 0.5897 0.5897 0.5897 66.55% Castro::advance() 10 0.5825 0.5825 0.5825 65.74% Castro::subcycle_advance_ctu() 10 0.5713 0.5713 0.5713 64.47% Castro::do_advance_ctu() 10 0.5711 0.5711 0.5711 64.44% Gravity::solve_phi_with_mlmg() 11 0.2854 0.2854 0.2854 32.21% Gravity::actual_solve_with_mlmg() 11 0.2786 0.2786 0.2786 31.44% Castro::construct_new_gravity() 10 0.2606 0.2606 0.2606 29.41% MLMG::solve() 11 0.2574 0.2574 0.2574 29.05% Gravity::solve_for_phi() 10 0.2448 0.2448 0.2448 27.63% MLMG::oneIter() 82 0.243 0.243 0.243 27.42% MLMG::mgVcycle() 82 0.2393 0.2393 0.2393 27.00% VisMF::Write(FabArray) 11 0.237 0.237 0.237 26.75% Castro::construct_ctu_hydro_source() 10 0.2336 0.2336 0.2336 26.37% Amr::checkPoint() 3 0.1758 0.1758 0.1758 19.84% AmrLevel::checkPoint() 3 0.1722 0.1722 0.1722 19.43% StateData::checkPoint() 12 0.1721 0.1721 0.1721 19.43% Amr::init() 1 0.1414 0.1414 0.1414 15.96% MLCellLinOp::smooth() 1640 0.1179 0.1179 0.1179 13.30% MLCellLinOp::applyBC() 4433 0.1103 0.1103 0.1103 12.45% MLMG::mgVcycle_bottom 82 0.07426 0.07426 0.07426 8.38% MLMG::actualBottomSolve() 82 0.07423 0.07423 0.07423 8.38% MLCGSolver::bicgstab 82 0.07352 0.07352 0.07352 8.30% Amr::writePlotFile() 2 0.06774 0.06774 0.06774 7.64% Amr::initialInit() 1 0.04803 0.04803 0.04803 5.42% Castro::clean_state() 62 0.04572 0.04572 0.04572 5.16% Amr::FinalizeInit() 1 0.04426 0.04426 0.04426 4.99% Castro::post_init() 1 0.04292 0.04292 0.04292 4.84% FillPatchIterator::Initialize 41 0.04194 0.04194 0.04194 4.73% Gravity::multilevel_solve_for_new_phi() 1 0.04097 0.04097 0.04097 4.62% Gravity::actual_multilevel_solve() 1 0.04096 0.04096 0.04096 4.62% FillPatchSingleLevel 41 0.04036 0.04036 0.04036 4.56% MLCellLinOp::apply() 1142 0.03658 0.03658 0.03658 4.13% StateDataPhysBCFunct::() 41 0.03624 0.03624 0.03624 4.09% MLMG::mgVcycle_down::0 82 0.03394 0.03394 0.03394 3.83% MLPoisson::Fsmooth() 3280 0.03259 0.03259 0.03259 3.68% FabArray::FillBoundary() 4023 0.03245 0.03245 0.03245 3.66% FillBoundary_nowait() 4023 0.03164 0.03164 0.03164 3.57% StateData::FillBoundary(geom) 328 0.02571 0.02571 0.02571 2.90% MLMG::mgVcycle_up::0 82 0.02551 0.02551 0.02551 2.88% MLCellLinOp::correctionResidual() 492 0.02229 0.02229 0.02229 2.52% amrex::Dot() 1114 0.02089 0.02089 0.02089 2.36% Castro::computeTemp() 63 0.02065 0.02065 0.02065 2.33% Castro::initialize_do_advance() 10 0.01986 0.01986 0.01986 2.24% MLMG:computeResOfCorrection() 410 0.01965 0.01965 0.01965 2.22% Gravity::get_new_grav_vector() 11 0.01746 0.01746 0.01746 1.97% MLPoisson::define() 11 0.01691 0.01691 0.01691 1.91% MLMG::mgVcycle_down::1 82 0.01587 0.01587 0.01587 1.79% Castro::construct_old_gravity() 10 0.01517 0.01517 0.01517 1.71% Gravity::get_old_grav_vector() 10 0.01516 0.01516 0.01516 1.71% MLMG::mgVcycle_down::2 82 0.01494 0.01494 0.01494 1.69% amrex::Copy() 1029 0.01491 0.01491 0.01491 1.68% Castro::normalize_species() 62 0.01483 0.01483 0.01483 1.67% FabArray::ParallelCopy() 861 0.01457 0.01457 0.01457 1.64% MLMG::mgVcycle_down::3 82 0.01454 0.01454 0.01454 1.64% FabArray::norminf() 743 0.0145 0.0145 0.0145 1.64% MLMG::mgVcycle_down::4 82 0.01438 0.01438 0.01438 1.62% FabArray::ParallelCopy_nowait() 861 0.01432 0.01432 0.01432 1.62% FabArray::setVal() 1144 0.01323 0.01323 0.01323 1.49% MLCGSolver::ParallelAllReduce 1514 0.0125 0.0125 0.0125 1.41% MLMG::addInterpCorrection() 410 0.01185 0.01185 0.01185 1.34% Castro::do_new_sources() 10 0.01171 0.01171 0.01171 1.32% MLMG::mgVcycle_up::1 82 0.01164 0.01164 0.01164 1.31% MLMG::mgVcycle_up::4 82 0.01152 0.01152 0.01152 1.30% MLCellLinOp::defineAuxData() 11 0.01144 0.01144 0.01144 1.29% MLMG::mgVcycle_up::2 82 0.01136 0.01136 0.01136 1.28% amrex::average_down 410 0.01125 0.01125 0.01125 1.27% MLMG::mgVcycle_up::3 82 0.01114 0.01114 0.01114 1.26% Castro::expand_state() 10 0.0109 0.0109 0.0109 1.23% Castro::initialize_advance() 10 0.01058 0.01058 0.01058 1.19% MLPoisson::Fapply() 1142 0.01044 0.01044 0.01044 1.18% Castro::do_old_sources() 10 0.01019 0.01019 0.01019 1.15% Castro::enforce_min_density() 62 0.00948 0.00948 0.00948 1.07% FabArray::Saxpy() 813 0.008224 0.008224 0.008224 0.93% FabArray::Xpay() 821 0.008037 0.008037 0.008037 0.91% MLCellLinOp::solutionResidual() 93 0.007243 0.007243 0.007243 0.82% Castro::post_timestep() 10 0.007025 0.007025 0.007025 0.79% Gravity::fill_multipole_BCs() 11 0.006522 0.006522 0.006522 0.74% MLMG::computeResidual() 82 0.006252 0.006252 0.006252 0.71% Castro::estTimeStep() 21 0.005691 0.005691 0.005691 0.64% Castro::reset_internal_energy(MultiFab) 63 0.005564 0.005564 0.005564 0.63% MLCellLinOp::defineBC() 11 0.00497 0.00497 0.00497 0.56% BndryData::define() 11 0.004755 0.004755 0.004755 0.54% MLMG::prepareForSolve() 11 0.004715 0.004715 0.004715 0.53% FabArray::LinComb() 557 0.004575 0.004575 0.004575 0.52% amrex::Add() 164 0.004379 0.004379 0.004379 0.49% Amr::InitializeInit() 1 0.003771 0.003771 0.003771 0.43% Amr::defBaseLevel() 1 0.003766 0.003766 0.003766 0.42% Castro::initData() 1 0.003243 0.003243 0.003243 0.37% Castro::computeNewDt() 9 0.003104 0.003104 0.003104 0.35% Castro::construct_new_source() 50 0.002739 0.002739 0.002739 0.31% Castro::construct_new_gravity_source() 10 0.002721 0.002721 0.002721 0.31% Castro::construct_old_source() 50 0.0022 0.0022 0.0022 0.25% Castro::construct_old_gravity_source() 10 0.002183 0.002183 0.002183 0.25% MLMG::ResNormInf() 93 0.002119 0.002119 0.002119 0.24% Castro::apply_source_to_state() 20 0.00183 0.00183 0.00183 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001738 0.001738 0.001738 0.20% Castro::reset_internal_energy(Fab) 504 0.001559 0.001559 0.001559 0.18% MLCellLinOp::setLevelBC() 11 0.001431 0.001431 0.001431 0.16% MLMG::getGradSolution() 11 0.001426 0.001426 0.001426 0.16% MLCellLinOp::compGrad() 11 0.001421 0.001421 0.001421 0.16% FabArrayBase::getCPC() 1323 0.0014 0.0014 0.0014 0.16% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.15% FabArray::mult() 43 0.001321 0.001321 0.001321 0.15% Castro::enforce_speed_limit() 62 0.001311 0.001311 0.001311 0.15% Castro::check_for_nan() 20 0.001231 0.001231 0.001231 0.14% MultiFab::contains_nan() 20 0.00122 0.00122 0.00122 0.14% MLPoisson::prepareForSolve() 11 0.001144 0.001144 0.001144 0.13% MLCellLinOp::prepareForSolve() 11 0.001136 0.001136 0.001136 0.13% Castro::post_regrid() 1 0.001106 0.001106 0.001106 0.12% MLMG::computeMLResidual() 11 0.001032 0.001032 0.001032 0.12% Gravity::update_max_rhs() 11 0.0008357 0.0008357 0.0008357 0.09% Castro::computeInitialDt() 2 0.000813 0.000813 0.000813 0.09% FabArrayBase::getFB() 4023 0.0006947 0.0006947 0.0006947 0.08% FabArrayBase::CPC::define() 454 0.0006596 0.0006596 0.0006596 0.07% Castro::finalize_advance() 10 0.0005877 0.0005877 0.0005877 0.07% Amr::InitAmr() 1 0.000529 0.000529 0.000529 0.06% MLLinOp::define() 11 0.0004796 0.0004796 0.0004796 0.05% MLLinOp::defineGrids() 11 0.0004635 0.0004635 0.0004635 0.05% Gravity::swapTimeLevels() 10 0.0004514 0.0004514 0.0004514 0.05% Castro::Castro() 1 0.0004462 0.0004462 0.0004462 0.05% MLMG::MLResNormInf() 11 0.0002854 0.0002854 0.0002854 0.03% MultiFab::max() 11 0.0002579 0.0002579 0.0002579 0.03% MLMG::MLRhsNormInf() 11 0.0002212 0.0002212 0.0002212 0.02% Castro::create_source_corrector() 10 0.0002045 0.0002045 0.0002045 0.02% Castro::buildMetrics() 1 0.0001573 0.0001573 0.0001573 0.02% FabArrayBase::FB::FB() 56 8.464e-05 8.464e-05 8.464e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.231e-05 5.231e-05 5.231e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.536e-05 4.536e-05 4.536e-05 0.01% Castro::finalize_do_advance() 10 4.03e-05 4.03e-05 4.03e-05 0.00% makeSFC 55 3.869e-05 3.869e-05 3.869e-05 0.00% StateData::define() 4 3.733e-05 3.733e-05 3.733e-05 0.00% Castro::swap_state_time_levels() 10 3.534e-05 3.534e-05 3.534e-05 0.00% Castro::enforce_consistent_e() 1 3.305e-05 3.305e-05 3.305e-05 0.00% Amr::writeSmallPlotFile() 1 2.545e-05 2.545e-05 2.545e-05 0.00% Castro::initMFs() 1 2.313e-05 2.313e-05 2.313e-05 0.00% DistributionMapping::Distribute() 56 1.524e-05 1.524e-05 1.524e-05 0.00% Amr::initSubcycle() 1 9.228e-06 9.228e-06 9.228e-06 0.00% Castro::retry_advance_ctu() 10 4.88e-06 4.88e-06 4.88e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.842e-06 4.842e-06 4.842e-06 0.00% Gravity::set_mass_offset() 11 4.249e-06 4.249e-06 4.249e-06 0.00% AmrLevel::checkPointPost() 3 3.965e-06 3.965e-06 3.965e-06 0.00% Castro::FluxRegCrseInit 10 2.825e-06 2.825e-06 2.825e-06 0.00% Castro::FluxRegFineAdd() 10 2.488e-06 2.488e-06 2.488e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.009e-06 2.009e-06 2.009e-06 0.00% AmrLevel::checkPointPre() 3 1.677e-06 1.677e-06 1.677e-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 90 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 123 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 994 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2156 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7608 KiB 14 MiB MLMG::prepareForSolve() 660 660 3574 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 204 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7528 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1810 B 2048 KiB Gravity::solve_for_phi() 80 80 565 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 94 KiB 2048 KiB BndryData::define() 1056 1056 326 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 2616 B 480 KiB VisMF::Write(FabArray) 656 656 3466 B 320 KiB Castro::normalize_species() 62 62 5445 B 320 KiB amrex::average_down 1067 1067 1266 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1143 B 257 KiB amrex::Dot() 1360 1360 3469 B 160 KiB FabArray::norminf() 907 907 2413 B 160 KiB Castro::do_advance_ctu() 10 10 491 B 160 KiB MultiFab::max() 11 11 44 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3494 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 8866 8866 226 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3859 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 120 B 1472 B MLCellLinOp::defineBC() 66 66 367 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 569 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 619 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3494 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 4433 4433 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3859 B 6144 B Gravity::get_new_grav_vector() 3 3 2906 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 40 B 2352 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 297 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 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 19:19:12 UTC on 2023-04-23. 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.475198615 Restart time = 0.043908908 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049658067 [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.049226343 [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.057964833 [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.073057114 [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.084445096 [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.094109608 seconds Ending run at 19:19:13 UTC on 2023-04-23. Run time = 0.453365294 Run time without initialization = 0.408897982 Average number of zones advanced per microsecond: 3.205 Average number of zones advanced per microsecond per rank: 3.205 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4534 ... 0.4534 ... 0.4534 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1283 0.1283 0.1283 28.29% Amr::writePlotFile() 1 0.0618 0.0618 0.0618 13.63% VisMF::Read() 3 0.03758 0.03758 0.03758 8.29% MLCellLinOp::applyBC() 1946 0.03369 0.03369 0.03369 7.43% VisMF::Write(FabArray) 1 0.0321 0.0321 0.0321 7.08% MLPoisson::Fsmooth() 1440 0.01397 0.01397 0.01397 3.08% FillBoundary_nowait() 1766 0.01268 0.01268 0.01268 2.80% StateData::FillBoundary(geom) 160 0.01258 0.01258 0.01258 2.78% Castro::normalize_species() 30 0.01015 0.01015 0.01015 2.24% amrex::Dot() 484 0.008892 0.008892 0.008892 1.96% amrex::Copy() 463 0.007089 0.007089 0.007089 1.56% Castro::enforce_min_density() 30 0.00694 0.00694 0.00694 1.53% FabArray::norminf() 326 0.006278 0.006278 0.006278 1.38% FabArray::setVal() 537 0.006266 0.006266 0.006266 1.38% FabArray::ParallelCopy_nowait() 380 0.006141 0.006141 0.006141 1.35% Castro::computeTemp() 30 0.005886 0.005886 0.005886 1.30% MLCellLinOp::defineAuxData() 6 0.00534 0.00534 0.00534 1.18% StateDataPhysBCFunct::() 20 0.004593 0.004593 0.004593 1.01% MLPoisson::Fapply() 500 0.004474 0.004474 0.004474 0.99% FabArray::Saxpy() 355 0.003646 0.003646 0.003646 0.80% FabArray::Xpay() 361 0.003526 0.003526 0.003526 0.78% Castro::estTimeStep() 10 0.002891 0.002891 0.002891 0.64% MLMG::addInterpCorrection() 180 0.002866 0.002866 0.002866 0.63% Gravity::fill_multipole_BCs() 6 0.002773 0.002773 0.002773 0.61% amrex::average_down 180 0.002594 0.002594 0.002594 0.57% Amr::restart() 1 0.002536 0.002536 0.002536 0.56% Castro::do_advance_ctu() 5 0.002513 0.002513 0.002513 0.55% BndryData::define() 6 0.002038 0.002038 0.002038 0.45% Castro::reset_internal_energy(MultiFab) 30 0.002008 0.002008 0.002008 0.44% FabArray::LinComb() 242 0.001942 0.001942 0.001942 0.43% amrex::Add() 72 0.001852 0.001852 0.001852 0.41% Castro::construct_new_gravity_source() 5 0.001556 0.001556 0.001556 0.34% Castro::construct_old_gravity_source() 5 0.001179 0.001179 0.001179 0.26% MLCGSolver::bicgstab 36 0.0009313 0.0009313 0.0009313 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009277 0.0009277 0.0009277 0.20% Castro::reset_internal_energy(Fab) 240 0.0007805 0.0007805 0.0007805 0.17% Gravity::actual_solve_with_mlmg() 6 0.0007757 0.0007757 0.0007757 0.17% MLCellLinOp::setLevelBC() 6 0.0007655 0.0007655 0.0007655 0.17% FabArray::setDomainBndry() 20 0.0006504 0.0006504 0.0006504 0.14% FabArray::mult() 22 0.0006472 0.0006472 0.0006472 0.14% MLCellLinOp::prepareForSolve() 6 0.000608 0.000608 0.000608 0.13% MultiFab::contains_nan() 10 0.0005971 0.0005971 0.0005971 0.13% MLCellLinOp::smooth() 720 0.0005065 0.0005065 0.0005065 0.11% Castro::enforce_speed_limit() 30 0.0005046 0.0005046 0.0005046 0.11% MLCellLinOp::compGrad() 6 0.0004892 0.0004892 0.0004892 0.11% MLMG::prepareForSolve() 6 0.0004844 0.0004844 0.0004844 0.11% FabArrayBase::CPC::define() 244 0.0004052 0.0004052 0.0004052 0.09% Amr::InitAmr() 1 0.0003953 0.0003953 0.0003953 0.09% FabArrayBase::getCPC() 632 0.0003516 0.0003516 0.0003516 0.08% FabArray::FillBoundary() 1766 0.0003479 0.0003479 0.0003479 0.08% Gravity::get_old_grav_vector() 5 0.000305 0.000305 0.000305 0.07% Gravity::get_new_grav_vector() 5 0.0002722 0.0002722 0.0002722 0.06% FabArrayBase::getFB() 1766 0.0002604 0.0002604 0.0002604 0.06% main() 1 0.0002601 0.0002601 0.0002601 0.06% MLCellLinOp::apply() 500 0.0002075 0.0002075 0.0002075 0.05% MLLinOp::defineGrids() 6 0.0001803 0.0001803 0.0001803 0.04% Castro::construct_new_source() 25 0.0001789 0.0001789 0.0001789 0.04% Amr::coarseTimeStep() 5 0.0001684 0.0001684 0.0001684 0.04% MultiFab::max() 6 0.0001355 0.0001355 0.0001355 0.03% MLCGSolver::ParallelAllReduce 659 0.0001239 0.0001239 0.0001239 0.03% FillPatchIterator::Initialize 20 0.0001174 0.0001174 0.0001174 0.03% Castro::create_source_corrector() 5 0.0001144 0.0001144 0.0001144 0.03% MLCellLinOp::defineBC() 6 0.0001115 0.0001115 0.0001115 0.02% FabArray::ParallelCopy() 380 0.0001097 0.0001097 0.0001097 0.02% AmrLevel::restart() 1 0.0001018 0.0001018 0.0001018 0.02% Amr::timeStep() 5 9.89e-05 9.89e-05 9.89e-05 0.02% Castro::construct_old_source() 25 9.565e-05 9.565e-05 9.565e-05 0.02% Castro::post_timestep() 5 8.949e-05 8.949e-05 8.949e-05 0.02% MLCellLinOp::correctionResidual() 216 8.823e-05 8.823e-05 8.823e-05 0.02% MLMG::mgVcycle() 36 8.669e-05 8.669e-05 8.669e-05 0.02% Castro::subcycle_advance_ctu() 5 7.346e-05 7.346e-05 7.346e-05 0.02% StateData::restartDoit() 4 7.026e-05 7.026e-05 7.026e-05 0.02% Castro::initialize_do_advance() 5 6.913e-05 6.913e-05 6.913e-05 0.02% Gravity::update_max_rhs() 6 6.192e-05 6.192e-05 6.192e-05 0.01% FabArrayBase::FB::FB() 26 5.603e-05 5.603e-05 5.603e-05 0.01% MLMG:computeResOfCorrection() 180 5.323e-05 5.323e-05 5.323e-05 0.01% Gravity::solve_for_phi() 5 5.061e-05 5.061e-05 5.061e-05 0.01% Castro::construct_old_gravity() 5 4.567e-05 4.567e-05 4.567e-05 0.01% Castro::expand_state() 5 4.247e-05 4.247e-05 4.247e-05 0.01% MLMG::actualBottomSolve() 36 3.961e-05 3.961e-05 3.961e-05 0.01% Castro::finalize_advance() 5 3.841e-05 3.841e-05 3.841e-05 0.01% Castro::initialize_advance() 5 3.739e-05 3.739e-05 3.739e-05 0.01% MLMG::mgVcycle_down::0 36 3.68e-05 3.68e-05 3.68e-05 0.01% Castro::clean_state() 30 3.601e-05 3.601e-05 3.601e-05 0.01% MLMG::solve() 6 3.477e-05 3.477e-05 3.477e-05 0.01% MLMG::mgVcycle_down::1 36 3.462e-05 3.462e-05 3.462e-05 0.01% MLMG::mgVcycle_down::2 36 3.273e-05 3.273e-05 3.273e-05 0.01% MLMG::mgVcycle_down::4 36 3.246e-05 3.246e-05 3.246e-05 0.01% Castro::initMFs() 1 3.111e-05 3.111e-05 3.111e-05 0.01% MLMG::mgVcycle_down::3 36 3.042e-05 3.042e-05 3.042e-05 0.01% Castro::buildMetrics() 1 2.928e-05 2.928e-05 2.928e-05 0.01% Castro::advance() 5 2.926e-05 2.926e-05 2.926e-05 0.01% Amr::writeSmallPlotFile() 1 2.842e-05 2.842e-05 2.842e-05 0.01% Castro::finalize_do_advance() 5 2.726e-05 2.726e-05 2.726e-05 0.01% MLMG::mgVcycle_up::4 36 2.68e-05 2.68e-05 2.68e-05 0.01% Castro::computeNewDt() 5 2.325e-05 2.325e-05 2.325e-05 0.01% MLCellLinOp::solutionResidual() 42 2.247e-05 2.247e-05 2.247e-05 0.00% MLMG::mgVcycle_up::3 36 2.241e-05 2.241e-05 2.241e-05 0.00% MLMG::oneIter() 36 2.225e-05 2.225e-05 2.225e-05 0.00% Castro::swap_state_time_levels() 5 2.189e-05 2.189e-05 2.189e-05 0.00% Castro::post_restart() 1 2.177e-05 2.177e-05 2.177e-05 0.00% MLMG::mgVcycle_up::0 36 2.167e-05 2.167e-05 2.167e-05 0.00% MLMG::mgVcycle_up::2 36 2.164e-05 2.164e-05 2.164e-05 0.00% MLMG::mgVcycle_up::1 36 2.116e-05 2.116e-05 2.116e-05 0.00% MLPoisson::define() 6 1.816e-05 1.816e-05 1.816e-05 0.00% MLMG::ResNormInf() 42 1.693e-05 1.693e-05 1.693e-05 0.00% MLMG::mgVcycle_bottom 36 1.656e-05 1.656e-05 1.656e-05 0.00% FillPatchSingleLevel 20 1.444e-05 1.444e-05 1.444e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.442e-05 1.442e-05 1.442e-05 0.00% MLMG::computeResidual() 36 1.367e-05 1.367e-05 1.367e-05 0.00% makeSFC 30 1.31e-05 1.31e-05 1.31e-05 0.00% Castro::construct_new_gravity() 5 1.28e-05 1.28e-05 1.28e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.133e-05 1.133e-05 1.133e-05 0.00% MLLinOp::define() 6 1.079e-05 1.079e-05 1.079e-05 0.00% Castro::do_new_sources() 5 9.454e-06 9.454e-06 9.454e-06 0.00% Amr::initSubcycle() 1 9.266e-06 9.266e-06 9.266e-06 0.00% DistributionMapping::Distribute() 31 9.102e-06 9.102e-06 9.102e-06 0.00% Castro::do_old_sources() 5 8.626e-06 8.626e-06 8.626e-06 0.00% Gravity::actual_multilevel_solve() 1 7.488e-06 7.488e-06 7.488e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.155e-06 7.155e-06 7.155e-06 0.00% Castro::check_for_nan() 10 6.21e-06 6.21e-06 6.21e-06 0.00% Castro::apply_source_to_state() 10 5.867e-06 5.867e-06 5.867e-06 0.00% Gravity::swapTimeLevels() 5 3.992e-06 3.992e-06 3.992e-06 0.00% MLPoisson::prepareForSolve() 6 3.96e-06 3.96e-06 3.96e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.545e-06 3.545e-06 3.545e-06 0.00% MLMG::computeMLResidual() 6 3.54e-06 3.54e-06 3.54e-06 0.00% MLMG::getGradSolution() 6 2.839e-06 2.839e-06 2.839e-06 0.00% MLMG::MLRhsNormInf() 6 2.521e-06 2.521e-06 2.521e-06 0.00% MLMG::MLResNormInf() 6 2.47e-06 2.47e-06 2.47e-06 0.00% Gravity::set_mass_offset() 6 2.328e-06 2.328e-06 2.328e-06 0.00% Castro::retry_advance_ctu() 5 2.111e-06 2.111e-06 2.111e-06 0.00% Castro::FluxRegCrseInit 5 1.975e-06 1.975e-06 1.975e-06 0.00% Castro::FluxRegFineAdd() 5 1.657e-06 1.657e-06 1.657e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.114e-06 1.114e-06 1.114e-06 0.00% Amr::init() 1 1.004e-06 1.004e-06 1.004e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4534 0.4534 0.4534 100.00% Amr::coarseTimeStep() 5 0.3145 0.3145 0.3145 69.37% Amr::timeStep() 5 0.3128 0.3128 0.3128 68.98% Castro::advance() 5 0.3079 0.3079 0.3079 67.91% Castro::subcycle_advance_ctu() 5 0.3008 0.3008 0.3008 66.34% Castro::do_advance_ctu() 5 0.3007 0.3007 0.3007 66.32% Castro::construct_new_gravity() 5 0.1298 0.1298 0.1298 28.62% Castro::construct_ctu_hydro_source() 5 0.1283 0.1283 0.1283 28.29% Gravity::solve_phi_with_mlmg() 6 0.1252 0.1252 0.1252 27.61% Gravity::actual_solve_with_mlmg() 6 0.1222 0.1222 0.1222 26.95% Gravity::solve_for_phi() 5 0.1221 0.1221 0.1221 26.94% MLMG::solve() 6 0.1109 0.1109 0.1109 24.45% MLMG::oneIter() 36 0.104 0.104 0.104 22.93% MLMG::mgVcycle() 36 0.1024 0.1024 0.1024 22.59% Amr::writePlotFile() 1 0.09422 0.09422 0.09422 20.78% MLCellLinOp::smooth() 720 0.05018 0.05018 0.05018 11.07% MLCellLinOp::applyBC() 1946 0.04704 0.04704 0.04704 10.37% Amr::init() 1 0.04395 0.04395 0.04395 9.69% Amr::restart() 1 0.04395 0.04395 0.04395 9.69% AmrLevel::restart() 1 0.03782 0.03782 0.03782 8.34% StateData::restartDoit() 4 0.03772 0.03772 0.03772 8.32% VisMF::Read() 3 0.03758 0.03758 0.03758 8.29% VisMF::Write(FabArray) 1 0.0321 0.0321 0.0321 7.08% MLMG::mgVcycle_bottom 36 0.03189 0.03189 0.03189 7.03% MLMG::actualBottomSolve() 36 0.03187 0.03187 0.03187 7.03% MLCGSolver::bicgstab 36 0.03156 0.03156 0.03156 6.96% Castro::clean_state() 30 0.0263 0.0263 0.0263 5.80% FillPatchIterator::Initialize 20 0.02001 0.02001 0.02001 4.41% FillPatchSingleLevel 20 0.01924 0.01924 0.01924 4.24% StateDataPhysBCFunct::() 20 0.01718 0.01718 0.01718 3.79% MLCellLinOp::apply() 500 0.01574 0.01574 0.01574 3.47% MLMG::mgVcycle_down::0 36 0.01425 0.01425 0.01425 3.14% MLPoisson::Fsmooth() 1440 0.01397 0.01397 0.01397 3.08% FabArray::FillBoundary() 1766 0.01335 0.01335 0.01335 2.94% FillBoundary_nowait() 1766 0.013 0.013 0.013 2.87% StateData::FillBoundary(geom) 160 0.01258 0.01258 0.01258 2.78% MLMG::mgVcycle_up::0 36 0.01074 0.01074 0.01074 2.37% Castro::normalize_species() 30 0.01015 0.01015 0.01015 2.24% Castro::initialize_do_advance() 5 0.009934 0.009934 0.009934 2.19% MLCellLinOp::correctionResidual() 216 0.009551 0.009551 0.009551 2.11% MLPoisson::define() 6 0.00903 0.00903 0.00903 1.99% amrex::Dot() 484 0.008892 0.008892 0.008892 1.96% Castro::computeTemp() 30 0.008675 0.008675 0.008675 1.91% MLMG:computeResOfCorrection() 180 0.008375 0.008375 0.008375 1.85% Castro::do_new_sources() 5 0.007606 0.007606 0.007606 1.68% Castro::construct_old_gravity() 5 0.007535 0.007535 0.007535 1.66% Gravity::get_new_grav_vector() 5 0.00751 0.00751 0.00751 1.66% Gravity::get_old_grav_vector() 5 0.007489 0.007489 0.007489 1.65% amrex::Copy() 463 0.007089 0.007089 0.007089 1.56% Castro::enforce_min_density() 30 0.00694 0.00694 0.00694 1.53% MLMG::mgVcycle_down::1 36 0.006888 0.006888 0.006888 1.52% Castro::initialize_advance() 5 0.006762 0.006762 0.006762 1.49% FabArray::ParallelCopy() 380 0.006633 0.006633 0.006633 1.46% FabArray::ParallelCopy_nowait() 380 0.006524 0.006524 0.006524 1.44% MLMG::mgVcycle_down::2 36 0.006442 0.006442 0.006442 1.42% FabArray::norminf() 326 0.006278 0.006278 0.006278 1.38% FabArray::setVal() 537 0.006266 0.006266 0.006266 1.38% MLMG::mgVcycle_down::3 36 0.006254 0.006254 0.006254 1.38% MLMG::mgVcycle_down::4 36 0.006189 0.006189 0.006189 1.36% MLCellLinOp::defineAuxData() 6 0.006085 0.006085 0.006085 1.34% Castro::do_old_sources() 5 0.00593 0.00593 0.00593 1.31% Castro::expand_state() 5 0.005704 0.005704 0.005704 1.26% MLCGSolver::ParallelAllReduce 659 0.005348 0.005348 0.005348 1.18% MLMG::addInterpCorrection() 180 0.005136 0.005136 0.005136 1.13% MLMG::mgVcycle_up::1 36 0.005025 0.005025 0.005025 1.11% MLMG::mgVcycle_up::4 36 0.004956 0.004956 0.004956 1.09% amrex::average_down 180 0.004905 0.004905 0.004905 1.08% MLMG::mgVcycle_up::2 36 0.004903 0.004903 0.004903 1.08% MLMG::mgVcycle_up::3 36 0.004786 0.004786 0.004786 1.06% Castro::post_timestep() 5 0.004774 0.004774 0.004774 1.05% MLPoisson::Fapply() 500 0.004474 0.004474 0.004474 0.99% FabArray::Saxpy() 355 0.003646 0.003646 0.003646 0.80% FabArray::Xpay() 361 0.003526 0.003526 0.003526 0.78% Castro::post_restart() 1 0.003411 0.003411 0.003411 0.75% Gravity::multilevel_solve_for_new_phi() 1 0.003301 0.003301 0.003301 0.73% Gravity::actual_multilevel_solve() 1 0.003286 0.003286 0.003286 0.72% MLCellLinOp::solutionResidual() 42 0.003242 0.003242 0.003242 0.72% Gravity::fill_multipole_BCs() 6 0.002904 0.002904 0.002904 0.64% Castro::estTimeStep() 10 0.002891 0.002891 0.002891 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002789 0.002789 0.002789 0.62% MLCellLinOp::defineBC() 6 0.002707 0.002707 0.002707 0.60% MLMG::computeResidual() 36 0.002693 0.002693 0.002693 0.59% BndryData::define() 6 0.002595 0.002595 0.002595 0.57% MLMG::prepareForSolve() 6 0.002528 0.002528 0.002528 0.56% FabArray::LinComb() 242 0.001942 0.001942 0.001942 0.43% amrex::Add() 72 0.001852 0.001852 0.001852 0.41% Castro::construct_new_source() 25 0.001734 0.001734 0.001734 0.38% Castro::computeNewDt() 5 0.001586 0.001586 0.001586 0.35% Castro::construct_new_gravity_source() 5 0.001556 0.001556 0.001556 0.34% Castro::construct_old_source() 25 0.001274 0.001274 0.001274 0.28% Castro::construct_old_gravity_source() 5 0.001179 0.001179 0.001179 0.26% MLMG::ResNormInf() 42 0.0009404 0.0009404 0.0009404 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009277 0.0009277 0.0009277 0.20% Castro::apply_source_to_state() 10 0.0009256 0.0009256 0.0009256 0.20% Castro::reset_internal_energy(Fab) 240 0.0007805 0.0007805 0.0007805 0.17% MLCellLinOp::setLevelBC() 6 0.0007655 0.0007655 0.0007655 0.17% MLMG::getGradSolution() 6 0.0007605 0.0007605 0.0007605 0.17% MLCellLinOp::compGrad() 6 0.0007576 0.0007576 0.0007576 0.17% FabArrayBase::getCPC() 632 0.0007568 0.0007568 0.0007568 0.17% FabArray::setDomainBndry() 20 0.0006504 0.0006504 0.0006504 0.14% FabArray::mult() 22 0.0006472 0.0006472 0.0006472 0.14% MLPoisson::prepareForSolve() 6 0.000612 0.000612 0.000612 0.13% MLCellLinOp::prepareForSolve() 6 0.000608 0.000608 0.000608 0.13% Castro::check_for_nan() 10 0.0006033 0.0006033 0.0006033 0.13% MultiFab::contains_nan() 10 0.0005971 0.0005971 0.0005971 0.13% MLMG::computeMLResidual() 6 0.0005668 0.0005668 0.0005668 0.13% Castro::enforce_speed_limit() 30 0.0005046 0.0005046 0.0005046 0.11% Gravity::update_max_rhs() 6 0.0004463 0.0004463 0.0004463 0.10% FabArrayBase::CPC::define() 244 0.0004052 0.0004052 0.0004052 0.09% Amr::InitAmr() 1 0.0004046 0.0004046 0.0004046 0.09% Castro::finalize_advance() 5 0.0003181 0.0003181 0.0003181 0.07% FabArrayBase::getFB() 1766 0.0003165 0.0003165 0.0003165 0.07% Gravity::swapTimeLevels() 5 0.0002266 0.0002266 0.0002266 0.05% MLLinOp::define() 6 0.0002203 0.0002203 0.0002203 0.05% MLLinOp::defineGrids() 6 0.0002095 0.0002095 0.0002095 0.05% MLMG::MLResNormInf() 6 0.0001533 0.0001533 0.0001533 0.03% Castro::buildMetrics() 1 0.0001524 0.0001524 0.0001524 0.03% MultiFab::max() 6 0.0001355 0.0001355 0.0001355 0.03% MLMG::MLRhsNormInf() 6 0.0001191 0.0001191 0.0001191 0.03% Castro::create_source_corrector() 5 0.0001144 0.0001144 0.0001144 0.03% FabArrayBase::FB::FB() 26 5.603e-05 5.603e-05 5.603e-05 0.01% Castro::initMFs() 1 3.111e-05 3.111e-05 3.111e-05 0.01% Amr::writeSmallPlotFile() 1 2.842e-05 2.842e-05 2.842e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.805e-05 2.805e-05 2.805e-05 0.01% Castro::finalize_do_advance() 5 2.726e-05 2.726e-05 2.726e-05 0.01% Castro::swap_state_time_levels() 5 2.189e-05 2.189e-05 2.189e-05 0.00% makeSFC 30 2.09e-05 2.09e-05 2.09e-05 0.00% Amr::initSubcycle() 1 9.266e-06 9.266e-06 9.266e-06 0.00% DistributionMapping::Distribute() 31 9.102e-06 9.102e-06 9.102e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.847e-06 4.847e-06 4.847e-06 0.00% Gravity::set_mass_offset() 6 2.328e-06 2.328e-06 2.328e-06 0.00% Castro::retry_advance_ctu() 5 2.111e-06 2.111e-06 2.111e-06 0.00% Castro::FluxRegCrseInit 5 1.975e-06 1.975e-06 1.975e-06 0.00% Castro::FluxRegFineAdd() 5 1.657e-06 1.657e-06 1.657e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.114e-06 1.114e-06 1.114e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 179 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 132 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 50 MiB 55 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB FillPatchIterator::Initialize 160 160 965 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2090 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6888 KiB 14 MiB MLMG::prepareForSolve() 361 361 3003 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 171 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6884 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 9496 B 2053 KiB Gravity::update_max_rhs() 48 48 1901 B 2048 KiB Gravity::solve_for_phi() 40 40 550 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 14 KiB 2048 KiB BndryData::define() 576 576 276 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 177 KiB 671 KiB Castro::estTimeStep() 10 10 2946 B 480 KiB VisMF::Write(FabArray) 112 112 1093 B 320 KiB Castro::normalize_species() 30 30 7292 B 320 KiB amrex::average_down 469 469 1091 B 257 KiB MLMG::addInterpCorrection() 468 468 977 B 257 KiB amrex::Dot() 592 592 2878 B 160 KiB FabArray::norminf() 398 398 2036 B 160 KiB Castro::do_advance_ctu() 5 5 486 B 160 KiB MultiFab::max() 6 6 46 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 2921 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 242 B 9648 B MLCellLinOp::applyBC() 3892 3892 191 B 9344 B amrex::Copy() 56 56 5939 B 8464 B MLCellLinOp::prepareForSolve() 36 36 2 B 7792 B StateData::FillBoundary(geom) 960 960 34 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 101 B 1472 B MLCellLinOp::defineBC() 36 36 310 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1148 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 95 KiB 8192 KiB VisMF::Write(FabArray) 120 120 218 KiB 3584 KiB VisMF::Read() 24 24 163 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2921 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 242 B 9648 B MLCellLinOp::applyBC() 1946 1946 189 B 9328 B amrex::Copy() 56 56 5939 B 8464 B MLCellLinOp::prepareForSolve() 36 36 2 B 7792 B Gravity::get_old_grav_vector() 3 3 2732 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 34 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 495 B 1296 B amrex::average_down 37 37 233 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 21 B 400 B FabArray::norminf() 398 398 14 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