Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-24-g4fab19a02359) initialized Starting run at 09:22:27 UTC on 2023-03-28. Successfully read inputs file ... Castro git describe: 23.03-15-g8309823c4 AMReX git describe: 23.03-24-g4fab19a02 Microphysics git describe: 23.03-22-g7c3de88f 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.056535718 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032429364 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047483958 [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.048745124 [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.048620008 [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.048819635 [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.063386868 [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.055671434 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.071115475 [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.045746962 [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.048125563 [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.046444022 [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.049363493 [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.055940573 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032289333 seconds Ending run at 09:22:28 UTC on 2023-03-28. Run time = 0.800015382 Run time without initialization = 0.662409634 Average number of zones advanced per microsecond: 3.957 Average number of zones advanced per microsecond per rank: 3.957 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8 ... 0.8 ... 0.8 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2259 0.2259 0.2259 28.24% Castro::construct_ctu_hydro_source() 10 0.1595 0.1595 0.1595 19.93% MLCellLinOp::applyBC() 4433 0.07528 0.07528 0.07528 9.41% MLPoisson::Fsmooth() 3280 0.03153 0.03153 0.03153 3.94% FillBoundary_nowait() 4023 0.03143 0.03143 0.03143 3.93% StateData::FillBoundary(geom) 328 0.02404 0.02404 0.02404 3.01% StateDataPhysBCFunct::() 41 0.02172 0.02172 0.02172 2.71% amrex::Dot() 1114 0.02008 0.02008 0.02008 2.51% amrex::Copy() 1029 0.01451 0.01451 0.01451 1.81% Castro::normalize_species() 62 0.01414 0.01414 0.01414 1.77% FabArray::norminf() 743 0.01398 0.01398 0.01398 1.75% Castro::computeTemp() 63 0.01328 0.01328 0.01328 1.66% FabArray::ParallelCopy_nowait() 861 0.01318 0.01318 0.01318 1.65% FabArray::setVal() 1144 0.01288 0.01288 0.01288 1.61% MLPoisson::Fapply() 1142 0.01013 0.01013 0.01013 1.27% MLCellLinOp::defineAuxData() 11 0.009279 0.009279 0.009279 1.16% FabArray::Saxpy() 813 0.007981 0.007981 0.007981 1.00% FabArray::Xpay() 821 0.007871 0.007871 0.007871 0.98% Castro::estTimeStep() 21 0.007376 0.007376 0.007376 0.92% MLMG::addInterpCorrection() 410 0.006659 0.006659 0.006659 0.83% Gravity::fill_multipole_BCs() 11 0.006532 0.006532 0.006532 0.82% Castro::enforce_min_density() 62 0.005978 0.005978 0.005978 0.75% amrex::average_down 410 0.005839 0.005839 0.005839 0.73% FabArray::LinComb() 557 0.004365 0.004365 0.004365 0.55% Castro::reset_internal_energy(MultiFab) 63 0.004325 0.004325 0.004325 0.54% amrex::Add() 164 0.004313 0.004313 0.004313 0.54% Amr::checkPoint() 3 0.004086 0.004086 0.004086 0.51% BndryData::define() 11 0.003526 0.003526 0.003526 0.44% Castro::construct_new_gravity_source() 10 0.00315 0.00315 0.00315 0.39% Castro::construct_old_gravity_source() 10 0.002631 0.002631 0.002631 0.33% Castro::do_advance_ctu() 10 0.00246 0.00246 0.00246 0.31% Amr::writePlotFile() 2 0.002401 0.002401 0.002401 0.30% MLCGSolver::bicgstab 82 0.00222 0.00222 0.00222 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001624 0.001624 0.001624 0.20% Gravity::actual_solve_with_mlmg() 11 0.001462 0.001462 0.001462 0.18% Castro::reset_internal_energy(Fab) 504 0.001435 0.001435 0.001435 0.18% MLCellLinOp::setLevelBC() 11 0.001339 0.001339 0.001339 0.17% FabArray::mult() 43 0.001308 0.001308 0.001308 0.16% Castro::initData() 1 0.001275 0.001275 0.001275 0.16% FabArray::setDomainBndry() 41 0.001273 0.001273 0.001273 0.16% MLCellLinOp::smooth() 1640 0.001198 0.001198 0.001198 0.15% MultiFab::contains_nan() 20 0.001193 0.001193 0.001193 0.15% MLCellLinOp::prepareForSolve() 11 0.001094 0.001094 0.001094 0.14% Castro::enforce_speed_limit() 62 0.0009089 0.0009089 0.0009089 0.11% FabArray::FillBoundary() 4023 0.0008934 0.0008934 0.0008934 0.11% MLCellLinOp::compGrad() 11 0.0008929 0.0008929 0.0008929 0.11% MLMG::prepareForSolve() 11 0.0008654 0.0008654 0.0008654 0.11% FabArrayBase::getCPC() 1323 0.0007582 0.0007582 0.0007582 0.09% FabArrayBase::getFB() 4023 0.0006951 0.0006951 0.0006951 0.09% FabArrayBase::CPC::define() 454 0.0006746 0.0006746 0.0006746 0.08% Gravity::get_new_grav_vector() 11 0.0006318 0.0006318 0.0006318 0.08% Gravity::get_old_grav_vector() 10 0.0005458 0.0005458 0.0005458 0.07% MLCellLinOp::apply() 1142 0.0005164 0.0005164 0.0005164 0.06% Amr::InitAmr() 1 0.0004981 0.0004981 0.0004981 0.06% MLMG::mgVcycle() 82 0.000388 0.000388 0.000388 0.05% Amr::coarseTimeStep() 10 0.0003498 0.0003498 0.0003498 0.04% MLLinOp::defineGrids() 11 0.0003391 0.0003391 0.0003391 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003348 0.0003348 0.0003348 0.04% main() 1 0.0002871 0.0002871 0.0002871 0.04% MultiFab::max() 11 0.0002585 0.0002585 0.0002585 0.03% FabArray::ParallelCopy() 861 0.0002502 0.0002502 0.0002502 0.03% MLCellLinOp::correctionResidual() 492 0.0002408 0.0002408 0.0002408 0.03% FillPatchIterator::Initialize 41 0.0002349 0.0002349 0.0002349 0.03% Castro::subcycle_advance_ctu() 10 0.0002203 0.0002203 0.0002203 0.03% MLCellLinOp::defineBC() 11 0.0002124 0.0002124 0.0002124 0.03% Castro::advance() 10 0.000181 0.000181 0.000181 0.02% Amr::timeStep() 10 0.0001569 0.0001569 0.0001569 0.02% StateData::checkPoint() 12 0.0001376 0.0001376 0.0001376 0.02% MLMG:computeResOfCorrection() 410 0.0001255 0.0001255 0.0001255 0.02% Gravity::update_max_rhs() 11 0.0001224 0.0001224 0.0001224 0.02% Gravity::solve_for_phi() 10 0.0001102 0.0001102 0.0001102 0.01% MLMG::actualBottomSolve() 82 9.326e-05 9.326e-05 9.326e-05 0.01% MLMG::mgVcycle_down::0 82 9.241e-05 9.241e-05 9.241e-05 0.01% MLMG::mgVcycle_down::1 82 8.742e-05 8.742e-05 8.742e-05 0.01% FabArrayBase::FB::FB() 56 8.706e-05 8.706e-05 8.706e-05 0.01% Castro::create_source_corrector() 10 8.513e-05 8.513e-05 8.513e-05 0.01% Castro::Castro() 1 8.271e-05 8.271e-05 8.271e-05 0.01% MLMG::mgVcycle_down::2 82 8.059e-05 8.059e-05 8.059e-05 0.01% Castro::expand_state() 10 8.002e-05 8.002e-05 8.002e-05 0.01% AmrLevel::checkPoint() 3 7.696e-05 7.696e-05 7.696e-05 0.01% MLMG::mgVcycle_down::3 82 7.683e-05 7.683e-05 7.683e-05 0.01% MLMG::mgVcycle_down::4 82 7.598e-05 7.598e-05 7.598e-05 0.01% MLMG::solve() 11 7.438e-05 7.438e-05 7.438e-05 0.01% Castro::clean_state() 62 7.423e-05 7.423e-05 7.423e-05 0.01% Castro::initialize_advance() 10 7.379e-05 7.379e-05 7.379e-05 0.01% Castro::finalize_advance() 10 7.298e-05 7.298e-05 7.298e-05 0.01% MLMG::mgVcycle_up::4 82 6.183e-05 6.183e-05 6.183e-05 0.01% MLMG::oneIter() 82 5.413e-05 5.413e-05 5.413e-05 0.01% Castro::initialize_do_advance() 10 5.349e-05 5.349e-05 5.349e-05 0.01% MLMG::mgVcycle_up::0 82 5.336e-05 5.336e-05 5.336e-05 0.01% MLMG::mgVcycle_up::1 82 5.123e-05 5.123e-05 5.123e-05 0.01% MLCellLinOp::solutionResidual() 93 5.069e-05 5.069e-05 5.069e-05 0.01% MLMG::mgVcycle_up::3 82 5.009e-05 5.009e-05 5.009e-05 0.01% MLMG::mgVcycle_up::2 82 4.889e-05 4.889e-05 4.889e-05 0.01% Castro::swap_state_time_levels() 10 3.888e-05 3.888e-05 3.888e-05 0.00% Castro::finalize_do_advance() 10 3.63e-05 3.63e-05 3.63e-05 0.00% MLMG::mgVcycle_bottom 82 3.459e-05 3.459e-05 3.459e-05 0.00% StateData::define() 4 3.452e-05 3.452e-05 3.452e-05 0.00% MLMG::ResNormInf() 93 3.438e-05 3.438e-05 3.438e-05 0.00% MLMG::computeResidual() 82 3.283e-05 3.283e-05 3.283e-05 0.00% Castro::post_timestep() 10 3.234e-05 3.234e-05 3.234e-05 0.00% Castro::enforce_consistent_e() 1 3.192e-05 3.192e-05 3.192e-05 0.00% FillPatchSingleLevel 41 3.042e-05 3.042e-05 3.042e-05 0.00% Castro::initMFs() 1 2.537e-05 2.537e-05 2.537e-05 0.00% Amr::writeSmallPlotFile() 1 2.46e-05 2.46e-05 2.46e-05 0.00% makeSFC 55 2.453e-05 2.453e-05 2.453e-05 0.00% Castro::construct_new_gravity() 10 2.339e-05 2.339e-05 2.339e-05 0.00% MLPoisson::define() 11 2.256e-05 2.256e-05 2.256e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.208e-05 2.208e-05 2.208e-05 0.00% Castro::construct_old_source() 50 2.165e-05 2.165e-05 2.165e-05 0.00% Amr::FinalizeInit() 1 2.081e-05 2.081e-05 2.081e-05 0.00% Amr::defBaseLevel() 1 1.986e-05 1.986e-05 1.986e-05 0.00% Castro::construct_new_source() 50 1.884e-05 1.884e-05 1.884e-05 0.00% Castro::buildMetrics() 1 1.798e-05 1.798e-05 1.798e-05 0.00% Castro::do_new_sources() 10 1.765e-05 1.765e-05 1.765e-05 0.00% Castro::do_old_sources() 10 1.646e-05 1.646e-05 1.646e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.547e-05 1.547e-05 1.547e-05 0.00% DistributionMapping::Distribute() 56 1.482e-05 1.482e-05 1.482e-05 0.00% MLPoisson::prepareForSolve() 11 1.384e-05 1.384e-05 1.384e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.339e-05 1.339e-05 1.339e-05 0.00% Castro::check_for_nan() 20 1.138e-05 1.138e-05 1.138e-05 0.00% Castro::apply_source_to_state() 20 1.108e-05 1.108e-05 1.108e-05 0.00% MLLinOp::define() 11 1.085e-05 1.085e-05 1.085e-05 0.00% Castro::construct_old_gravity() 10 9.829e-06 9.829e-06 9.829e-06 0.00% Gravity::swapTimeLevels() 10 9.602e-06 9.602e-06 9.602e-06 0.00% AmrLevel::AmrLevel(dm) 1 9.169e-06 9.169e-06 9.169e-06 0.00% Amr::initSubcycle() 1 8.527e-06 8.527e-06 8.527e-06 0.00% MLMG::computeMLResidual() 11 8.428e-06 8.428e-06 8.428e-06 0.00% Gravity::actual_multilevel_solve() 1 7.693e-06 7.693e-06 7.693e-06 0.00% Castro::computeNewDt() 9 6.578e-06 6.578e-06 6.578e-06 0.00% Castro::retry_advance_ctu() 10 6.357e-06 6.357e-06 6.357e-06 0.00% MLMG::getGradSolution() 11 6.03e-06 6.03e-06 6.03e-06 0.00% AmrLevel::checkPointPost() 3 5.498e-06 5.498e-06 5.498e-06 0.00% Amr::InitializeInit() 1 4.598e-06 4.598e-06 4.598e-06 0.00% Gravity::set_mass_offset() 11 4.113e-06 4.113e-06 4.113e-06 0.00% MLMG::MLResNormInf() 11 4.01e-06 4.01e-06 4.01e-06 0.00% MLMG::MLRhsNormInf() 11 3.98e-06 3.98e-06 3.98e-06 0.00% Castro::post_init() 1 3.469e-06 3.469e-06 3.469e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.863e-06 2.863e-06 2.863e-06 0.00% Castro::FluxRegCrseInit 10 2.833e-06 2.833e-06 2.833e-06 0.00% Castro::computeInitialDt() 2 2.532e-06 2.532e-06 2.532e-06 0.00% Amr::init() 1 2.305e-06 2.305e-06 2.305e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.991e-06 1.991e-06 1.991e-06 0.00% Castro::FluxRegFineAdd() 10 1.933e-06 1.933e-06 1.933e-06 0.00% AmrLevel::checkPointPre() 3 1.826e-06 1.826e-06 1.826e-06 0.00% Amr::initialInit() 1 1.168e-06 1.168e-06 1.168e-06 0.00% Castro::post_regrid() 1 1.035e-06 1.035e-06 1.035e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8 0.8 0.8 100.00% Amr::coarseTimeStep() 10 0.6299 0.6299 0.6299 78.73% Amr::timeStep() 10 0.5123 0.5123 0.5123 64.03% Castro::advance() 10 0.5068 0.5068 0.5068 63.34% Castro::subcycle_advance_ctu() 10 0.4963 0.4963 0.4963 62.03% Castro::do_advance_ctu() 10 0.496 0.496 0.496 62.00% Gravity::solve_phi_with_mlmg() 11 0.2785 0.2785 0.2785 34.81% Gravity::actual_solve_with_mlmg() 11 0.2715 0.2715 0.2715 33.94% Castro::construct_new_gravity() 10 0.2556 0.2556 0.2556 31.95% MLMG::solve() 11 0.2517 0.2517 0.2517 31.46% Gravity::solve_for_phi() 10 0.2391 0.2391 0.2391 29.88% MLMG::oneIter() 82 0.2376 0.2376 0.2376 29.70% MLMG::mgVcycle() 82 0.234 0.234 0.234 29.24% VisMF::Write(FabArray) 11 0.2259 0.2259 0.2259 28.24% Amr::checkPoint() 3 0.1683 0.1683 0.1683 21.04% AmrLevel::checkPoint() 3 0.1642 0.1642 0.1642 20.52% StateData::checkPoint() 12 0.1641 0.1641 0.1641 20.51% Castro::construct_ctu_hydro_source() 10 0.1595 0.1595 0.1595 19.93% Amr::init() 1 0.137 0.137 0.137 17.12% MLCellLinOp::smooth() 1640 0.1155 0.1155 0.1155 14.44% MLCellLinOp::applyBC() 4433 0.1084 0.1084 0.1084 13.55% MLMG::mgVcycle_bottom 82 0.07192 0.07192 0.07192 8.99% MLMG::actualBottomSolve() 82 0.07189 0.07189 0.07189 8.99% MLCGSolver::bicgstab 82 0.0712 0.0712 0.0712 8.90% Amr::writePlotFile() 2 0.06484 0.06484 0.06484 8.10% FillPatchIterator::Initialize 41 0.05139 0.05139 0.05139 6.42% FillPatchSingleLevel 41 0.04988 0.04988 0.04988 6.24% Amr::initialInit() 1 0.04788 0.04788 0.04788 5.98% StateDataPhysBCFunct::() 41 0.04576 0.04576 0.04576 5.72% Amr::FinalizeInit() 1 0.04359 0.04359 0.04359 5.45% Castro::post_init() 1 0.04227 0.04227 0.04227 5.28% Gravity::multilevel_solve_for_new_phi() 1 0.03986 0.03986 0.03986 4.98% Gravity::actual_multilevel_solve() 1 0.03984 0.03984 0.03984 4.98% Castro::clean_state() 62 0.03927 0.03927 0.03927 4.91% MLCellLinOp::apply() 1142 0.03579 0.03579 0.03579 4.47% MLMG::mgVcycle_down::0 82 0.03383 0.03383 0.03383 4.23% FabArray::FillBoundary() 4023 0.03311 0.03311 0.03311 4.14% FillBoundary_nowait() 4023 0.03221 0.03221 0.03221 4.03% MLPoisson::Fsmooth() 3280 0.03153 0.03153 0.03153 3.94% MLMG::mgVcycle_up::0 82 0.02552 0.02552 0.02552 3.19% Castro::initialize_do_advance() 10 0.02405 0.02405 0.02405 3.01% StateData::FillBoundary(geom) 328 0.02404 0.02404 0.02404 3.01% MLCellLinOp::correctionResidual() 492 0.0219 0.0219 0.0219 2.74% amrex::Dot() 1114 0.02008 0.02008 0.02008 2.51% MLMG:computeResOfCorrection() 410 0.01932 0.01932 0.01932 2.41% Castro::computeTemp() 63 0.01904 0.01904 0.01904 2.38% Gravity::get_new_grav_vector() 11 0.01864 0.01864 0.01864 2.33% Castro::expand_state() 10 0.0181 0.0181 0.0181 2.26% Castro::construct_old_gravity() 10 0.01572 0.01572 0.01572 1.97% Gravity::get_old_grav_vector() 10 0.01571 0.01571 0.01571 1.96% MLPoisson::define() 11 0.01569 0.01569 0.01569 1.96% MLMG::mgVcycle_down::1 82 0.01546 0.01546 0.01546 1.93% amrex::Copy() 1029 0.01451 0.01451 0.01451 1.81% MLMG::mgVcycle_down::2 82 0.01443 0.01443 0.01443 1.80% FabArray::ParallelCopy() 861 0.01423 0.01423 0.01423 1.78% Castro::normalize_species() 62 0.01414 0.01414 0.01414 1.77% MLMG::mgVcycle_down::3 82 0.01408 0.01408 0.01408 1.76% FabArray::ParallelCopy_nowait() 861 0.01398 0.01398 0.01398 1.75% FabArray::norminf() 743 0.01398 0.01398 0.01398 1.75% MLMG::mgVcycle_down::4 82 0.01392 0.01392 0.01392 1.74% FabArray::setVal() 1144 0.01288 0.01288 0.01288 1.61% Castro::do_new_sources() 10 0.01277 0.01277 0.01277 1.60% MLCGSolver::ParallelAllReduce 1514 0.01209 0.01209 0.01209 1.51% MLMG::addInterpCorrection() 410 0.0117 0.0117 0.0117 1.46% MLMG::mgVcycle_up::4 82 0.01136 0.01136 0.01136 1.42% MLMG::mgVcycle_up::1 82 0.01124 0.01124 0.01124 1.40% MLMG::mgVcycle_up::2 82 0.011 0.011 0.011 1.38% amrex::average_down 410 0.01094 0.01094 0.01094 1.37% MLMG::mgVcycle_up::3 82 0.01082 0.01082 0.01082 1.35% MLCellLinOp::defineAuxData() 11 0.01059 0.01059 0.01059 1.32% MLPoisson::Fapply() 1142 0.01013 0.01013 0.01013 1.27% Castro::do_old_sources() 10 0.009824 0.009824 0.009824 1.23% Castro::initialize_advance() 10 0.009741 0.009741 0.009741 1.22% FabArray::Saxpy() 813 0.007981 0.007981 0.007981 1.00% FabArray::Xpay() 821 0.007871 0.007871 0.007871 0.98% Castro::estTimeStep() 21 0.007376 0.007376 0.007376 0.92% MLCellLinOp::solutionResidual() 93 0.00709 0.00709 0.00709 0.89% Gravity::fill_multipole_BCs() 11 0.006759 0.006759 0.006759 0.84% MLMG::computeResidual() 82 0.006132 0.006132 0.006132 0.77% Castro::enforce_min_density() 62 0.005978 0.005978 0.005978 0.75% Castro::reset_internal_energy(MultiFab) 63 0.00576 0.00576 0.00576 0.72% Castro::post_timestep() 10 0.005362 0.005362 0.005362 0.67% Castro::computeNewDt() 9 0.004866 0.004866 0.004866 0.61% MLCellLinOp::defineBC() 11 0.004678 0.004678 0.004678 0.58% MLMG::prepareForSolve() 11 0.004558 0.004558 0.004558 0.57% BndryData::define() 11 0.004466 0.004466 0.004466 0.56% FabArray::LinComb() 557 0.004365 0.004365 0.004365 0.55% amrex::Add() 164 0.004313 0.004313 0.004313 0.54% Amr::InitializeInit() 1 0.004287 0.004287 0.004287 0.54% Amr::defBaseLevel() 1 0.004282 0.004282 0.004282 0.54% Castro::initData() 1 0.003787 0.003787 0.003787 0.47% Castro::construct_new_source() 50 0.003169 0.003169 0.003169 0.40% Castro::construct_new_gravity_source() 10 0.00315 0.00315 0.00315 0.39% Castro::construct_old_source() 50 0.002652 0.002652 0.002652 0.33% Castro::construct_old_gravity_source() 10 0.002631 0.002631 0.002631 0.33% MLMG::ResNormInf() 93 0.002067 0.002067 0.002067 0.26% Castro::apply_source_to_state() 20 0.001815 0.001815 0.001815 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001624 0.001624 0.001624 0.20% Castro::reset_internal_energy(Fab) 504 0.001435 0.001435 0.001435 0.18% FabArrayBase::getCPC() 1323 0.001433 0.001433 0.001433 0.18% MLMG::getGradSolution() 11 0.001364 0.001364 0.001364 0.17% MLCellLinOp::compGrad() 11 0.001358 0.001358 0.001358 0.17% MLCellLinOp::setLevelBC() 11 0.001339 0.001339 0.001339 0.17% FabArray::mult() 43 0.001308 0.001308 0.001308 0.16% FabArray::setDomainBndry() 41 0.001273 0.001273 0.001273 0.16% Castro::check_for_nan() 20 0.001205 0.001205 0.001205 0.15% MultiFab::contains_nan() 20 0.001193 0.001193 0.001193 0.15% Castro::post_regrid() 1 0.001141 0.001141 0.001141 0.14% MLPoisson::prepareForSolve() 11 0.001108 0.001108 0.001108 0.14% MLCellLinOp::prepareForSolve() 11 0.001094 0.001094 0.001094 0.14% MLMG::computeMLResidual() 11 0.0009994 0.0009994 0.0009994 0.12% Castro::enforce_speed_limit() 62 0.0009089 0.0009089 0.0009089 0.11% Castro::computeInitialDt() 2 0.0008453 0.0008453 0.0008453 0.11% Gravity::update_max_rhs() 11 0.0008246 0.0008246 0.0008246 0.10% FabArrayBase::getFB() 4023 0.0007821 0.0007821 0.0007821 0.10% FabArrayBase::CPC::define() 454 0.0006746 0.0006746 0.0006746 0.08% Castro::finalize_advance() 10 0.0005883 0.0005883 0.0005883 0.07% Amr::InitAmr() 1 0.0005066 0.0005066 0.0005066 0.06% Gravity::swapTimeLevels() 10 0.0004381 0.0004381 0.0004381 0.05% Castro::Castro() 1 0.0004279 0.0004279 0.0004279 0.05% MLLinOp::define() 11 0.0004036 0.0004036 0.0004036 0.05% MLLinOp::defineGrids() 11 0.0003928 0.0003928 0.0003928 0.05% MLMG::MLResNormInf() 11 0.000281 0.000281 0.000281 0.04% MultiFab::max() 11 0.0002585 0.0002585 0.0002585 0.03% MLMG::MLRhsNormInf() 11 0.000216 0.000216 0.000216 0.03% Castro::buildMetrics() 1 0.0001604 0.0001604 0.0001604 0.02% FabArrayBase::FB::FB() 56 8.706e-05 8.706e-05 8.706e-05 0.01% Castro::create_source_corrector() 10 8.513e-05 8.513e-05 8.513e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.169e-05 5.169e-05 5.169e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.368e-05 4.368e-05 4.368e-05 0.01% Castro::swap_state_time_levels() 10 3.888e-05 3.888e-05 3.888e-05 0.00% makeSFC 55 3.83e-05 3.83e-05 3.83e-05 0.00% Castro::finalize_do_advance() 10 3.63e-05 3.63e-05 3.63e-05 0.00% StateData::define() 4 3.452e-05 3.452e-05 3.452e-05 0.00% Castro::enforce_consistent_e() 1 3.192e-05 3.192e-05 3.192e-05 0.00% Castro::initMFs() 1 2.537e-05 2.537e-05 2.537e-05 0.00% Amr::writeSmallPlotFile() 1 2.46e-05 2.46e-05 2.46e-05 0.00% DistributionMapping::Distribute() 56 1.482e-05 1.482e-05 1.482e-05 0.00% Amr::initSubcycle() 1 8.527e-06 8.527e-06 8.527e-06 0.00% Castro::retry_advance_ctu() 10 6.357e-06 6.357e-06 6.357e-06 0.00% AmrLevel::checkPointPost() 3 5.498e-06 5.498e-06 5.498e-06 0.00% Gravity::set_mass_offset() 11 4.113e-06 4.113e-06 4.113e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.913e-06 3.913e-06 3.913e-06 0.00% Castro::FluxRegCrseInit 10 2.833e-06 2.833e-06 2.833e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.991e-06 1.991e-06 1.991e-06 0.00% Castro::FluxRegFineAdd() 10 1.933e-06 1.933e-06 1.933e-06 0.00% AmrLevel::checkPointPre() 3 1.826e-06 1.826e-06 1.826e-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 102 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 88 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 1497 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2274 KiB 28 MiB Castro::initialize_advance() 80 80 14 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3870 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 241 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 201 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 13 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1971 B 2048 KiB Gravity::solve_for_phi() 80 80 611 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 353 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 224 KiB 671 KiB Castro::estTimeStep() 21 21 3518 B 480 KiB VisMF::Write(FabArray) 656 656 3685 B 320 KiB Castro::normalize_species() 62 62 5750 B 320 KiB amrex::average_down 1067 1067 1341 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1254 B 257 KiB amrex::Dot() 1360 1360 3687 B 160 KiB FabArray::norminf() 907 907 2582 B 160 KiB Castro::do_advance_ctu() 10 10 463 B 160 KiB MultiFab::max() 11 11 49 B 160 KiB Castro::initData() 1 1 29 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 29 B 20 KiB MLPoisson::Fsmooth() 132 132 3784 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 49 B 10 KiB FillBoundary_nowait() 760 760 344 B 9648 B MLCellLinOp::applyBC() 8866 8866 244 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3836 B 6144 B StateData::FillBoundary(geom) 1992 1992 79 B 3712 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 129 B 1472 B MLCellLinOp::defineBC() 66 66 398 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 654 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 54 KiB 8192 KiB VisMF::Write(FabArray) 744 744 653 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3784 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 49 B 10 KiB FillBoundary_nowait() 760 760 344 B 9648 B MLCellLinOp::applyBC() 4433 4433 242 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3836 B 6144 B StateData::FillBoundary(geom) 1992 1992 80 B 3712 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 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 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 322 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 27 B 400 B FabArray::norminf() 907 907 19 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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.03-24-g4fab19a02359) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-24-g4fab19a02359) initialized Starting run at 09:22:29 UTC on 2023-03-28. Successfully read inputs file ... Castro git describe: 23.03-15-g8309823c4 AMReX git describe: 23.03-24-g4fab19a02 Microphysics git describe: 23.03-22-g7c3de88f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.450353565 Restart time = 0.045826921 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.048597668 [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.048020723 [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.053729168 [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.05717276 [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.060666553 [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.031963205 seconds Ending run at 09:22:29 UTC on 2023-03-28. Run time = 0.346960013 Run time without initialization = 0.300548237 Average number of zones advanced per microsecond: 4.361 Average number of zones advanced per microsecond per rank: 4.361 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.347 ... 0.347 ... 0.347 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0957 0.0957 0.0957 27.59% VisMF::Read() 3 0.03972 0.03972 0.03972 11.45% MLCellLinOp::applyBC() 1946 0.03227 0.03227 0.03227 9.30% VisMF::Write(FabArray) 1 0.03043 0.03043 0.03043 8.77% MLPoisson::Fsmooth() 1440 0.01348 0.01348 0.01348 3.88% FillBoundary_nowait() 1766 0.01278 0.01278 0.01278 3.68% StateData::FillBoundary(geom) 160 0.01139 0.01139 0.01139 3.28% amrex::Dot() 484 0.008444 0.008444 0.008444 2.43% amrex::Copy() 463 0.00676 0.00676 0.00676 1.95% StateDataPhysBCFunct::() 20 0.006591 0.006591 0.006591 1.90% FabArray::setVal() 537 0.006087 0.006087 0.006087 1.75% FabArray::norminf() 326 0.00597 0.00597 0.00597 1.72% FabArray::ParallelCopy_nowait() 380 0.005895 0.005895 0.005895 1.70% Castro::normalize_species() 30 0.005651 0.005651 0.005651 1.63% Castro::computeTemp() 30 0.005627 0.005627 0.005627 1.62% MLCellLinOp::defineAuxData() 6 0.005035 0.005035 0.005035 1.45% MLPoisson::Fapply() 500 0.004303 0.004303 0.004303 1.24% FabArray::Saxpy() 355 0.003537 0.003537 0.003537 1.02% FabArray::Xpay() 361 0.003391 0.003391 0.003391 0.98% Gravity::fill_multipole_BCs() 6 0.003013 0.003013 0.003013 0.87% MLMG::addInterpCorrection() 180 0.002885 0.002885 0.002885 0.83% Castro::enforce_min_density() 30 0.00274 0.00274 0.00274 0.79% amrex::average_down 180 0.002549 0.002549 0.002549 0.73% Castro::estTimeStep() 10 0.002516 0.002516 0.002516 0.73% Amr::restart() 1 0.002461 0.002461 0.002461 0.71% BndryData::define() 6 0.001919 0.001919 0.001919 0.55% Castro::reset_internal_energy(MultiFab) 30 0.001868 0.001868 0.001868 0.54% FabArray::LinComb() 242 0.001846 0.001846 0.001846 0.53% amrex::Add() 72 0.001838 0.001838 0.001838 0.53% Castro::construct_new_gravity_source() 5 0.001611 0.001611 0.001611 0.46% Amr::writePlotFile() 1 0.001374 0.001374 0.001374 0.40% Castro::construct_old_gravity_source() 5 0.001204 0.001204 0.001204 0.35% Castro::do_advance_ctu() 5 0.001039 0.001039 0.001039 0.30% MLCGSolver::bicgstab 36 0.0009564 0.0009564 0.0009564 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000882 0.000882 0.000882 0.25% Castro::finalize_advance() 5 0.0008125 0.0008125 0.0008125 0.23% Castro::enforce_speed_limit() 30 0.000798 0.000798 0.000798 0.23% Gravity::actual_solve_with_mlmg() 6 0.0007801 0.0007801 0.0007801 0.22% MLCellLinOp::setLevelBC() 6 0.0007198 0.0007198 0.0007198 0.21% Castro::reset_internal_energy(Fab) 240 0.0006564 0.0006564 0.0006564 0.19% FabArray::mult() 22 0.0006429 0.0006429 0.0006429 0.19% FabArray::setDomainBndry() 20 0.0006197 0.0006197 0.0006197 0.18% MLCellLinOp::prepareForSolve() 6 0.0005909 0.0005909 0.0005909 0.17% MultiFab::contains_nan() 10 0.0005866 0.0005866 0.0005866 0.17% MLCellLinOp::compGrad() 6 0.0004837 0.0004837 0.0004837 0.14% MLMG::prepareForSolve() 6 0.0004772 0.0004772 0.0004772 0.14% MLCellLinOp::smooth() 720 0.0004628 0.0004628 0.0004628 0.13% Amr::InitAmr() 1 0.0004037 0.0004037 0.0004037 0.12% FabArrayBase::CPC::define() 244 0.0004017 0.0004017 0.0004017 0.12% FabArray::FillBoundary() 1766 0.0003579 0.0003579 0.0003579 0.10% FabArrayBase::getCPC() 632 0.0003454 0.0003454 0.0003454 0.10% Gravity::get_old_grav_vector() 5 0.0002983 0.0002983 0.0002983 0.09% main() 1 0.0002764 0.0002764 0.0002764 0.08% Gravity::get_new_grav_vector() 5 0.0002718 0.0002718 0.0002718 0.08% FabArrayBase::getFB() 1766 0.0002546 0.0002546 0.0002546 0.07% MLCellLinOp::apply() 500 0.0002055 0.0002055 0.0002055 0.06% MLMG::mgVcycle() 36 0.0001797 0.0001797 0.0001797 0.05% MLLinOp::defineGrids() 6 0.0001611 0.0001611 0.0001611 0.05% Amr::coarseTimeStep() 5 0.0001605 0.0001605 0.0001605 0.05% MultiFab::max() 6 0.0001364 0.0001364 0.0001364 0.04% MLCGSolver::ParallelAllReduce 659 0.0001255 0.0001255 0.0001255 0.04% MLCellLinOp::defineBC() 6 0.0001157 0.0001157 0.0001157 0.03% FillPatchIterator::Initialize 20 0.0001138 0.0001138 0.0001138 0.03% FabArray::ParallelCopy() 380 0.0001075 0.0001075 0.0001075 0.03% MLCellLinOp::correctionResidual() 216 9.653e-05 9.653e-05 9.653e-05 0.03% Amr::timeStep() 5 7.917e-05 7.917e-05 7.917e-05 0.02% Castro::subcycle_advance_ctu() 5 7.738e-05 7.738e-05 7.738e-05 0.02% AmrLevel::restart() 1 7.723e-05 7.723e-05 7.723e-05 0.02% StateData::restartDoit() 4 6.311e-05 6.311e-05 6.311e-05 0.02% Gravity::solve_for_phi() 5 6.305e-05 6.305e-05 6.305e-05 0.02% Gravity::update_max_rhs() 6 6.044e-05 6.044e-05 6.044e-05 0.02% FabArrayBase::FB::FB() 26 5.983e-05 5.983e-05 5.983e-05 0.02% MLMG:computeResOfCorrection() 180 5.725e-05 5.725e-05 5.725e-05 0.02% Castro::expand_state() 5 4.662e-05 4.662e-05 4.662e-05 0.01% Castro::initialize_advance() 5 4.303e-05 4.303e-05 4.303e-05 0.01% MLMG::actualBottomSolve() 36 3.991e-05 3.991e-05 3.991e-05 0.01% MLMG::mgVcycle_down::1 36 3.974e-05 3.974e-05 3.974e-05 0.01% MLMG::mgVcycle_down::0 36 3.887e-05 3.887e-05 3.887e-05 0.01% Castro::clean_state() 30 3.517e-05 3.517e-05 3.517e-05 0.01% Castro::advance() 5 3.397e-05 3.397e-05 3.397e-05 0.01% MLMG::solve() 6 3.384e-05 3.384e-05 3.384e-05 0.01% MLMG::mgVcycle_down::2 36 3.127e-05 3.127e-05 3.127e-05 0.01% MLMG::mgVcycle_down::4 36 3.095e-05 3.095e-05 3.095e-05 0.01% MLMG::mgVcycle_down::3 36 2.968e-05 2.968e-05 2.968e-05 0.01% MLMG::mgVcycle_up::4 36 2.695e-05 2.695e-05 2.695e-05 0.01% Castro::buildMetrics() 1 2.596e-05 2.596e-05 2.596e-05 0.01% Amr::writeSmallPlotFile() 1 2.58e-05 2.58e-05 2.58e-05 0.01% Castro::initMFs() 1 2.542e-05 2.542e-05 2.542e-05 0.01% Castro::initialize_do_advance() 5 2.54e-05 2.54e-05 2.54e-05 0.01% MLMG::oneIter() 36 2.408e-05 2.408e-05 2.408e-05 0.01% Castro::swap_state_time_levels() 5 2.394e-05 2.394e-05 2.394e-05 0.01% Castro::create_source_corrector() 5 2.304e-05 2.304e-05 2.304e-05 0.01% MLMG::mgVcycle_up::0 36 2.269e-05 2.269e-05 2.269e-05 0.01% MLCellLinOp::solutionResidual() 42 2.171e-05 2.171e-05 2.171e-05 0.01% MLMG::mgVcycle_up::3 36 2.015e-05 2.015e-05 2.015e-05 0.01% MLMG::mgVcycle_up::2 36 1.957e-05 1.957e-05 1.957e-05 0.01% Castro::post_restart() 1 1.932e-05 1.932e-05 1.932e-05 0.01% Castro::finalize_do_advance() 5 1.886e-05 1.886e-05 1.886e-05 0.01% MLMG::mgVcycle_up::1 36 1.855e-05 1.855e-05 1.855e-05 0.01% MLMG::ResNormInf() 42 1.665e-05 1.665e-05 1.665e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.563e-05 1.563e-05 1.563e-05 0.00% MLPoisson::define() 6 1.428e-05 1.428e-05 1.428e-05 0.00% MLMG::mgVcycle_bottom 36 1.414e-05 1.414e-05 1.414e-05 0.00% MLMG::computeResidual() 36 1.337e-05 1.337e-05 1.337e-05 0.00% makeSFC 30 1.337e-05 1.337e-05 1.337e-05 0.00% FillPatchSingleLevel 20 1.323e-05 1.323e-05 1.323e-05 0.00% Castro::construct_new_gravity() 5 1.239e-05 1.239e-05 1.239e-05 0.00% Castro::construct_old_source() 25 1.239e-05 1.239e-05 1.239e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.215e-05 1.215e-05 1.215e-05 0.00% MLPoisson::prepareForSolve() 6 9.94e-06 9.94e-06 9.94e-06 0.00% Castro::construct_new_source() 25 9.256e-06 9.256e-06 9.256e-06 0.00% Castro::do_new_sources() 5 8.723e-06 8.723e-06 8.723e-06 0.00% Castro::do_old_sources() 5 8.366e-06 8.366e-06 8.366e-06 0.00% Amr::initSubcycle() 1 8.043e-06 8.043e-06 8.043e-06 0.00% DistributionMapping::Distribute() 31 7.93e-06 7.93e-06 7.93e-06 0.00% Gravity::actual_multilevel_solve() 1 7.71e-06 7.71e-06 7.71e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.18e-06 7.18e-06 7.18e-06 0.00% MLLinOp::define() 6 5.402e-06 5.402e-06 5.402e-06 0.00% Castro::check_for_nan() 10 5.222e-06 5.222e-06 5.222e-06 0.00% Castro::construct_old_gravity() 5 5.022e-06 5.022e-06 5.022e-06 0.00% Castro::apply_source_to_state() 10 4.906e-06 4.906e-06 4.906e-06 0.00% Gravity::swapTimeLevels() 5 4.264e-06 4.264e-06 4.264e-06 0.00% Castro::post_timestep() 5 3.838e-06 3.838e-06 3.838e-06 0.00% MLMG::computeMLResidual() 6 3.779e-06 3.779e-06 3.779e-06 0.00% Castro::computeNewDt() 5 3.355e-06 3.355e-06 3.355e-06 0.00% Castro::retry_advance_ctu() 5 3.133e-06 3.133e-06 3.133e-06 0.00% MLMG::getGradSolution() 6 3.028e-06 3.028e-06 3.028e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.787e-06 2.787e-06 2.787e-06 0.00% MLMG::MLResNormInf() 6 2.284e-06 2.284e-06 2.284e-06 0.00% Gravity::set_mass_offset() 6 2.02e-06 2.02e-06 2.02e-06 0.00% MLMG::MLRhsNormInf() 6 1.925e-06 1.925e-06 1.925e-06 0.00% Castro::FluxRegCrseInit 5 1.696e-06 1.696e-06 1.696e-06 0.00% Castro::FluxRegFineAdd() 5 1.169e-06 1.169e-06 1.169e-06 0.00% Amr::init() 1 9.73e-07 9.73e-07 9.73e-07 0.00% MLLinOp::makeSubCommunicator() 6 9.2e-07 9.2e-07 9.2e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.347 0.347 0.347 100.00% Amr::coarseTimeStep() 5 0.2683 0.2683 0.2683 77.33% Amr::timeStep() 5 0.2665 0.2665 0.2665 76.80% Castro::advance() 5 0.2637 0.2637 0.2637 75.99% Castro::subcycle_advance_ctu() 5 0.2569 0.2569 0.2569 74.04% Castro::do_advance_ctu() 5 0.2568 0.2568 0.2568 74.02% Castro::construct_new_gravity() 5 0.1258 0.1258 0.1258 36.26% Gravity::solve_phi_with_mlmg() 6 0.1213 0.1213 0.1213 34.95% Gravity::solve_for_phi() 5 0.1183 0.1183 0.1183 34.10% Gravity::actual_solve_with_mlmg() 6 0.118 0.118 0.118 34.01% MLMG::solve() 6 0.1072 0.1072 0.1072 30.91% MLMG::oneIter() 36 0.1006 0.1006 0.1006 28.98% MLMG::mgVcycle() 36 0.099 0.099 0.099 28.53% Castro::construct_ctu_hydro_source() 5 0.09574 0.09574 0.09574 27.59% MLCellLinOp::smooth() 720 0.04869 0.04869 0.04869 14.03% Amr::init() 1 0.04587 0.04587 0.04587 13.22% Amr::restart() 1 0.04587 0.04587 0.04587 13.22% MLCellLinOp::applyBC() 1946 0.04572 0.04572 0.04572 13.17% AmrLevel::restart() 1 0.03992 0.03992 0.03992 11.51% StateData::restartDoit() 4 0.03984 0.03984 0.03984 11.48% VisMF::Read() 3 0.03972 0.03972 0.03972 11.45% Amr::writePlotFile() 1 0.03205 0.03205 0.03205 9.24% VisMF::Write(FabArray) 1 0.03043 0.03043 0.03043 8.77% MLMG::mgVcycle_bottom 36 0.03041 0.03041 0.03041 8.76% MLMG::actualBottomSolve() 36 0.03039 0.03039 0.03039 8.76% MLCGSolver::bicgstab 36 0.0301 0.0301 0.0301 8.67% FillPatchIterator::Initialize 20 0.02075 0.02075 0.02075 5.98% FillPatchSingleLevel 20 0.02001 0.02001 0.02001 5.77% StateDataPhysBCFunct::() 20 0.01798 0.01798 0.01798 5.18% Castro::clean_state() 30 0.01738 0.01738 0.01738 5.01% MLCellLinOp::apply() 500 0.01521 0.01521 0.01521 4.38% MLMG::mgVcycle_down::0 36 0.01408 0.01408 0.01408 4.06% MLPoisson::Fsmooth() 1440 0.01348 0.01348 0.01348 3.88% FabArray::FillBoundary() 1766 0.01345 0.01345 0.01345 3.88% FillBoundary_nowait() 1766 0.01309 0.01309 0.01309 3.77% StateData::FillBoundary(geom) 160 0.01139 0.01139 0.01139 3.28% MLMG::mgVcycle_up::0 36 0.01068 0.01068 0.01068 3.08% Castro::initialize_do_advance() 5 0.009446 0.009446 0.009446 2.72% MLCellLinOp::correctionResidual() 216 0.009264 0.009264 0.009264 2.67% MLPoisson::define() 6 0.008533 0.008533 0.008533 2.46% amrex::Dot() 484 0.008444 0.008444 0.008444 2.43% Castro::computeTemp() 30 0.008151 0.008151 0.008151 2.35% MLMG:computeResOfCorrection() 180 0.008149 0.008149 0.008149 2.35% Castro::construct_old_gravity() 5 0.007829 0.007829 0.007829 2.26% Gravity::get_old_grav_vector() 5 0.007824 0.007824 0.007824 2.25% Gravity::get_new_grav_vector() 5 0.007406 0.007406 0.007406 2.13% amrex::Copy() 463 0.00676 0.00676 0.00676 1.95% MLMG::mgVcycle_down::1 36 0.006619 0.006619 0.006619 1.91% FabArray::ParallelCopy() 380 0.006377 0.006377 0.006377 1.84% FabArray::ParallelCopy_nowait() 380 0.00627 0.00627 0.00627 1.81% MLMG::mgVcycle_down::2 36 0.006162 0.006162 0.006162 1.78% Castro::expand_state() 5 0.0061 0.0061 0.0061 1.76% FabArray::setVal() 537 0.006087 0.006087 0.006087 1.75% MLMG::mgVcycle_down::3 36 0.00601 0.00601 0.00601 1.73% FabArray::norminf() 326 0.00597 0.00597 0.00597 1.72% MLMG::mgVcycle_down::4 36 0.005945 0.005945 0.005945 1.71% MLCellLinOp::defineAuxData() 6 0.005747 0.005747 0.005747 1.66% Castro::normalize_species() 30 0.005651 0.005651 0.005651 1.63% Castro::initialize_advance() 5 0.00565 0.00565 0.00565 1.63% Castro::do_new_sources() 5 0.005605 0.005605 0.005605 1.62% MLCGSolver::ParallelAllReduce 659 0.005091 0.005091 0.005091 1.47% MLMG::addInterpCorrection() 180 0.005051 0.005051 0.005051 1.46% MLMG::mgVcycle_up::4 36 0.004842 0.004842 0.004842 1.40% MLMG::mgVcycle_up::1 36 0.004783 0.004783 0.004783 1.38% amrex::average_down 180 0.004741 0.004741 0.004741 1.37% MLMG::mgVcycle_up::2 36 0.00469 0.00469 0.00469 1.35% MLMG::mgVcycle_up::3 36 0.004601 0.004601 0.004601 1.33% MLPoisson::Fapply() 500 0.004303 0.004303 0.004303 1.24% Castro::do_old_sources() 5 0.004121 0.004121 0.004121 1.19% FabArray::Saxpy() 355 0.003537 0.003537 0.003537 1.02% FabArray::Xpay() 361 0.003391 0.003391 0.003391 0.98% Castro::post_restart() 1 0.003312 0.003312 0.003312 0.95% Gravity::multilevel_solve_for_new_phi() 1 0.003206 0.003206 0.003206 0.92% Gravity::actual_multilevel_solve() 1 0.00319 0.00319 0.00319 0.92% MLCellLinOp::solutionResidual() 42 0.003163 0.003163 0.003163 0.91% Gravity::fill_multipole_BCs() 6 0.003147 0.003147 0.003147 0.91% Castro::enforce_min_density() 30 0.00274 0.00274 0.00274 0.79% Castro::post_timestep() 5 0.00273 0.00273 0.00273 0.79% MLMG::computeResidual() 36 0.002617 0.002617 0.002617 0.75% MLCellLinOp::defineBC() 6 0.002577 0.002577 0.002577 0.74% Castro::reset_internal_energy(MultiFab) 30 0.002525 0.002525 0.002525 0.73% Castro::estTimeStep() 10 0.002516 0.002516 0.002516 0.73% BndryData::define() 6 0.002461 0.002461 0.002461 0.71% MLMG::prepareForSolve() 6 0.002449 0.002449 0.002449 0.71% FabArray::LinComb() 242 0.001846 0.001846 0.001846 0.53% amrex::Add() 72 0.001838 0.001838 0.001838 0.53% Castro::computeNewDt() 5 0.001688 0.001688 0.001688 0.49% Castro::construct_new_source() 25 0.001621 0.001621 0.001621 0.47% Castro::construct_new_gravity_source() 5 0.001611 0.001611 0.001611 0.46% Castro::construct_old_source() 25 0.001216 0.001216 0.001216 0.35% Castro::construct_old_gravity_source() 5 0.001204 0.001204 0.001204 0.35% Castro::finalize_advance() 5 0.001072 0.001072 0.001072 0.31% Castro::apply_source_to_state() 10 0.0009159 0.0009159 0.0009159 0.26% MLMG::ResNormInf() 42 0.0009065 0.0009065 0.0009065 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000882 0.000882 0.000882 0.25% Castro::enforce_speed_limit() 30 0.000798 0.000798 0.000798 0.23% MLMG::getGradSolution() 6 0.0007485 0.0007485 0.0007485 0.22% FabArrayBase::getCPC() 632 0.0007471 0.0007471 0.0007471 0.22% MLCellLinOp::compGrad() 6 0.0007454 0.0007454 0.0007454 0.21% MLCellLinOp::setLevelBC() 6 0.0007198 0.0007198 0.0007198 0.21% Castro::reset_internal_energy(Fab) 240 0.0006564 0.0006564 0.0006564 0.19% FabArray::mult() 22 0.0006429 0.0006429 0.0006429 0.19% FabArray::setDomainBndry() 20 0.0006197 0.0006197 0.0006197 0.18% MLPoisson::prepareForSolve() 6 0.0006009 0.0006009 0.0006009 0.17% Castro::check_for_nan() 10 0.0005918 0.0005918 0.0005918 0.17% MLCellLinOp::prepareForSolve() 6 0.0005909 0.0005909 0.0005909 0.17% MultiFab::contains_nan() 10 0.0005866 0.0005866 0.0005866 0.17% MLMG::computeMLResidual() 6 0.0005632 0.0005632 0.0005632 0.16% Gravity::update_max_rhs() 6 0.000437 0.000437 0.000437 0.13% Amr::InitAmr() 1 0.0004117 0.0004117 0.0004117 0.12% FabArrayBase::CPC::define() 244 0.0004017 0.0004017 0.0004017 0.12% FabArrayBase::getFB() 1766 0.0003144 0.0003144 0.0003144 0.09% Gravity::swapTimeLevels() 5 0.0002222 0.0002222 0.0002222 0.06% MLLinOp::define() 6 0.0001946 0.0001946 0.0001946 0.06% MLLinOp::defineGrids() 6 0.0001892 0.0001892 0.0001892 0.05% MLMG::MLResNormInf() 6 0.0001483 0.0001483 0.0001483 0.04% Castro::buildMetrics() 1 0.0001472 0.0001472 0.0001472 0.04% MultiFab::max() 6 0.0001364 0.0001364 0.0001364 0.04% MLMG::MLRhsNormInf() 6 0.0001151 0.0001151 0.0001151 0.03% FabArrayBase::FB::FB() 26 5.983e-05 5.983e-05 5.983e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.725e-05 2.725e-05 2.725e-05 0.01% Amr::writeSmallPlotFile() 1 2.58e-05 2.58e-05 2.58e-05 0.01% Castro::initMFs() 1 2.542e-05 2.542e-05 2.542e-05 0.01% Castro::swap_state_time_levels() 5 2.394e-05 2.394e-05 2.394e-05 0.01% Castro::create_source_corrector() 5 2.304e-05 2.304e-05 2.304e-05 0.01% makeSFC 30 2.007e-05 2.007e-05 2.007e-05 0.01% Castro::finalize_do_advance() 5 1.886e-05 1.886e-05 1.886e-05 0.01% Amr::initSubcycle() 1 8.043e-06 8.043e-06 8.043e-06 0.00% DistributionMapping::Distribute() 31 7.93e-06 7.93e-06 7.93e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.015e-06 4.015e-06 4.015e-06 0.00% Castro::retry_advance_ctu() 5 3.133e-06 3.133e-06 3.133e-06 0.00% Gravity::set_mass_offset() 6 2.02e-06 2.02e-06 2.02e-06 0.00% Castro::FluxRegCrseInit 5 1.696e-06 1.696e-06 1.696e-06 0.00% Castro::FluxRegFineAdd() 5 1.169e-06 1.169e-06 1.169e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.2e-07 9.2e-07 9.2e-07 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 238 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 124 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1318 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2580 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6631 KiB 14 MiB MLMG::prepareForSolve() 361 361 3795 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 233 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 218 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6626 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2428 B 2048 KiB Gravity::solve_for_phi() 40 40 696 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 349 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 223 KiB 671 KiB Castro::estTimeStep() 10 10 3428 B 480 KiB VisMF::Write(FabArray) 112 112 1395 B 320 KiB Castro::normalize_species() 30 30 5283 B 320 KiB amrex::average_down 469 469 1296 B 257 KiB MLMG::addInterpCorrection() 468 468 1243 B 257 KiB amrex::Dot() 592 592 3573 B 160 KiB FabArray::norminf() 398 398 2540 B 160 KiB Castro::do_advance_ctu() 5 5 454 B 160 KiB MultiFab::max() 6 6 60 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3691 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 320 B 9648 B MLCellLinOp::applyBC() 3892 3892 241 B 9344 B amrex::Copy() 56 56 5916 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 64 B 3232 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 126 B 1472 B MLCellLinOp::defineBC() 36 36 392 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1504 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 125 KiB 8192 KiB VisMF::Write(FabArray) 120 120 269 KiB 3584 KiB VisMF::Read() 24 24 224 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3691 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 320 B 9648 B MLCellLinOp::applyBC() 1946 1946 240 B 9328 B amrex::Copy() 56 56 5916 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 65 B 3232 B Gravity::get_old_grav_vector() 3 3 2609 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 552 B 1296 B amrex::average_down 37 37 219 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 398 398 18 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): 2459 [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.03-24-g4fab19a02359) finalized