Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-32-g587542a395e4) initialized Starting run at 08:30:06 UTC on 2023-07-21. Successfully read inputs file ... Castro git describe: 23.07-16-gcd2cd9695 AMReX git describe: 23.07-32-g587542a39 Microphysics git describe: 23.07-34-g0ef8cc66 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.060100885 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033935481 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.04887923 [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 at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.071043114 [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 at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.076286848 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.072132435 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.068731115 [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.058753835 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.059813414 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.06948679 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.07546174 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.07235123 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.069658587 [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.059587117 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.03410729 seconds Ending run at 08:30:07 UTC on 2023-07-21. Run time = 0.979845522 Run time without initialization = 0.836950667 Average number of zones advanced per microsecond: 3.132 Average number of zones advanced per microsecond per rank: 3.132 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9799 ... 0.9799 ... 0.9799 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3147 0.3147 0.3147 32.12% VisMF::Write(FabArray) 11 0.2397 0.2397 0.2397 24.46% MLCellLinOp::applyBC() 4433 0.07678 0.07678 0.07678 7.84% MLPoisson::Fsmooth() 3280 0.03208 0.03208 0.03208 3.27% FillBoundary_nowait() 4023 0.03045 0.03045 0.03045 3.11% StateData::FillBoundary(geom) 328 0.02505 0.02505 0.02505 2.56% Castro::normalize_species() 62 0.02108 0.02108 0.02108 2.15% amrex::Dot() 1114 0.02056 0.02056 0.02056 2.10% Castro::computeTemp() 63 0.01576 0.01576 0.01576 1.61% amrex::Copy() 1029 0.01479 0.01479 0.01479 1.51% FabArray::norminf() 743 0.01438 0.01438 0.01438 1.47% FabArray::ParallelCopy_nowait() 861 0.01345 0.01345 0.01345 1.37% FabArray::setVal() 1144 0.013 0.013 0.013 1.33% Castro::enforce_min_density() 62 0.01209 0.01209 0.01209 1.23% StateDataPhysBCFunct::() 41 0.01197 0.01197 0.01197 1.22% MLPoisson::Fapply() 1142 0.01029 0.01029 0.01029 1.05% MLCellLinOp::defineAuxData() 11 0.009668 0.009668 0.009668 0.99% FabArray::Saxpy() 813 0.008063 0.008063 0.008063 0.82% FabArray::Xpay() 821 0.00803 0.00803 0.00803 0.82% MLMG::addInterpCorrection() 410 0.006754 0.006754 0.006754 0.69% Gravity::fill_multipole_BCs() 11 0.006387 0.006387 0.006387 0.65% amrex::average_down 410 0.005967 0.005967 0.005967 0.61% Castro::estTimeStep() 21 0.005896 0.005896 0.005896 0.60% Castro::reset_internal_energy(MultiFab) 63 0.004899 0.004899 0.004899 0.50% FabArray::LinComb() 557 0.004456 0.004456 0.004456 0.45% amrex::Add() 164 0.004332 0.004332 0.004332 0.44% Amr::checkPoint() 3 0.003965 0.003965 0.003965 0.40% BndryData::define() 11 0.003736 0.003736 0.003736 0.38% Castro::construct_new_gravity_source() 10 0.00305 0.00305 0.00305 0.31% Castro::enforce_speed_limit() 62 0.002902 0.002902 0.002902 0.30% Castro::construct_old_gravity_source() 10 0.002737 0.002737 0.002737 0.28% Amr::writePlotFile() 2 0.002351 0.002351 0.002351 0.24% MLCGSolver::bicgstab 82 0.002095 0.002095 0.002095 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001691 0.001691 0.001691 0.17% check_for_negative_density() 10 0.001621 0.001621 0.001621 0.17% Castro::reset_internal_energy(Fab) 504 0.001601 0.001601 0.001601 0.16% Gravity::actual_solve_with_mlmg() 11 0.001484 0.001484 0.001484 0.15% MLCellLinOp::setLevelBC() 11 0.001385 0.001385 0.001385 0.14% FabArray::setDomainBndry() 41 0.001315 0.001315 0.001315 0.13% FabArray::mult() 43 0.001311 0.001311 0.001311 0.13% Castro::initData() 1 0.001259 0.001259 0.001259 0.13% MultiFab::contains_nan() 20 0.001195 0.001195 0.001195 0.12% MLCellLinOp::prepareForSolve() 11 0.001113 0.001113 0.001113 0.11% MLCellLinOp::smooth() 1640 0.001109 0.001109 0.001109 0.11% MLCellLinOp::compGrad() 11 0.0009072 0.0009072 0.0009072 0.09% MLMG::prepareForSolve() 11 0.0008563 0.0008563 0.0008563 0.09% FabArray::FillBoundary() 4023 0.0008245 0.0008245 0.0008245 0.08% FabArrayBase::CPC::define() 454 0.0007431 0.0007431 0.0007431 0.08% FabArrayBase::getCPC() 1323 0.0007422 0.0007422 0.0007422 0.08% FabArrayBase::getFB() 4023 0.0006 0.0006 0.0006 0.06% Gravity::get_new_grav_vector() 11 0.000542 0.000542 0.000542 0.06% Amr::InitAmr() 1 0.0004828 0.0004828 0.0004828 0.05% Gravity::get_old_grav_vector() 10 0.0004713 0.0004713 0.0004713 0.05% MLCellLinOp::apply() 1142 0.0004604 0.0004604 0.0004604 0.05% MLLinOp::defineGrids() 11 0.0004037 0.0004037 0.0004037 0.04% Amr::coarseTimeStep() 10 0.0003801 0.0003801 0.0003801 0.04% MLMG::mgVcycle() 82 0.0003663 0.0003663 0.0003663 0.04% AmrLevel::FillPatch() 41 0.0003286 0.0003286 0.0003286 0.03% main() 1 0.0003122 0.0003122 0.0003122 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002876 0.0002876 0.0002876 0.03% MultiFab::max() 11 0.0002564 0.0002564 0.0002564 0.03% FabArray::ParallelCopy() 861 0.0002387 0.0002387 0.0002387 0.02% Castro::subcycle_advance_ctu() 10 0.0002386 0.0002386 0.0002386 0.02% MLCellLinOp::correctionResidual() 492 0.0002211 0.0002211 0.0002211 0.02% MLCellLinOp::defineBC() 11 0.0002057 0.0002057 0.0002057 0.02% FillPatchIterator::Initialize 41 0.0001997 0.0001997 0.0001997 0.02% Castro::create_source_corrector() 10 0.0001922 0.0001922 0.0001922 0.02% Amr::timeStep() 10 0.0001596 0.0001596 0.0001596 0.02% Gravity::solve_for_phi() 10 0.0001334 0.0001334 0.0001334 0.01% StateData::checkPoint() 12 0.0001311 0.0001311 0.0001311 0.01% Castro::advance() 10 0.0001284 0.0001284 0.0001284 0.01% Gravity::update_max_rhs() 11 0.0001224 0.0001224 0.0001224 0.01% MLMG:computeResOfCorrection() 410 0.0001223 0.0001223 0.0001223 0.01% MLMG::mgVcycle_down::2 82 9.524e-05 9.524e-05 9.524e-05 0.01% FabArrayBase::FB::FB() 56 9.121e-05 9.121e-05 9.121e-05 0.01% Castro::Castro() 1 9.04e-05 9.04e-05 9.04e-05 0.01% MLMG::actualBottomSolve() 82 8.816e-05 8.816e-05 8.816e-05 0.01% MLMG::mgVcycle_down::0 82 7.904e-05 7.904e-05 7.904e-05 0.01% MLMG::mgVcycle_down::1 82 7.748e-05 7.748e-05 7.748e-05 0.01% AmrLevel::checkPoint() 3 7.365e-05 7.365e-05 7.365e-05 0.01% MLMG::mgVcycle_down::4 82 7.312e-05 7.312e-05 7.312e-05 0.01% MLMG::mgVcycle_down::3 82 7.188e-05 7.188e-05 7.188e-05 0.01% Castro::initialize_advance() 10 6.852e-05 6.852e-05 6.852e-05 0.01% MLMG::solve() 11 6.728e-05 6.728e-05 6.728e-05 0.01% Castro::clean_state() 62 6.52e-05 6.52e-05 6.52e-05 0.01% Castro::finalize_advance() 10 6.168e-05 6.168e-05 6.168e-05 0.01% MLMG::oneIter() 82 5.765e-05 5.765e-05 5.765e-05 0.01% MLMG::mgVcycle_up::4 82 5.749e-05 5.749e-05 5.749e-05 0.01% Castro::initialize_do_advance() 10 5.58e-05 5.58e-05 5.58e-05 0.01% Castro::do_advance_ctu() 10 4.967e-05 4.967e-05 4.967e-05 0.01% MLMG::mgVcycle_up::0 82 4.849e-05 4.849e-05 4.849e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.757e-05 4.757e-05 4.757e-05 0.00% MLCellLinOp::solutionResidual() 93 4.511e-05 4.511e-05 4.511e-05 0.00% MLMG::mgVcycle_up::3 82 4.485e-05 4.485e-05 4.485e-05 0.00% MLMG::mgVcycle_up::1 82 4.443e-05 4.443e-05 4.443e-05 0.00% MLMG::mgVcycle_up::2 82 4.354e-05 4.354e-05 4.354e-05 0.00% Castro::construct_new_source() 50 4.31e-05 4.31e-05 4.31e-05 0.00% Castro::finalize_do_advance() 10 3.915e-05 3.915e-05 3.915e-05 0.00% Castro::swap_state_time_levels() 10 3.733e-05 3.733e-05 3.733e-05 0.00% StateData::define() 4 3.581e-05 3.581e-05 3.581e-05 0.00% Castro::enforce_consistent_e() 1 3.379e-05 3.379e-05 3.379e-05 0.00% MLMG::ResNormInf() 93 3.315e-05 3.315e-05 3.315e-05 0.00% MLMG::mgVcycle_bottom 82 3.309e-05 3.309e-05 3.309e-05 0.00% MLMG::computeResidual() 82 3.156e-05 3.156e-05 3.156e-05 0.00% FillPatchSingleLevel 41 3.151e-05 3.151e-05 3.151e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.062e-05 3.062e-05 3.062e-05 0.00% Castro::initMFs() 1 2.669e-05 2.669e-05 2.669e-05 0.00% MLPoisson::define() 11 2.547e-05 2.547e-05 2.547e-05 0.00% Amr::writeSmallPlotFile() 1 2.479e-05 2.479e-05 2.479e-05 0.00% makeSFC 55 2.383e-05 2.383e-05 2.383e-05 0.00% Castro::construct_new_gravity() 10 2.277e-05 2.277e-05 2.277e-05 0.00% Amr::FinalizeInit() 1 2.085e-05 2.085e-05 2.085e-05 0.00% Castro::do_old_sources() 10 2.013e-05 2.013e-05 2.013e-05 0.00% Castro::buildMetrics() 1 1.831e-05 1.831e-05 1.831e-05 0.00% Castro::construct_old_source() 50 1.796e-05 1.796e-05 1.796e-05 0.00% Castro::do_new_sources() 10 1.718e-05 1.718e-05 1.718e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.677e-05 1.677e-05 1.677e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.56e-05 1.56e-05 1.56e-05 0.00% MLLinOp::define() 11 1.554e-05 1.554e-05 1.554e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.423e-05 1.423e-05 1.423e-05 0.00% DistributionMapping::Distribute() 56 1.4e-05 1.4e-05 1.4e-05 0.00% Amr::defBaseLevel() 1 1.343e-05 1.343e-05 1.343e-05 0.00% Castro::apply_source_to_state() 20 1.066e-05 1.066e-05 1.066e-05 0.00% Castro::construct_old_gravity() 10 1.04e-05 1.04e-05 1.04e-05 0.00% Castro::check_for_nan() 20 1.011e-05 1.011e-05 1.011e-05 0.00% Gravity::swapTimeLevels() 10 9.61e-06 9.61e-06 9.61e-06 0.00% Amr::initSubcycle() 1 8.842e-06 8.842e-06 8.842e-06 0.00% Gravity::actual_multilevel_solve() 1 8.451e-06 8.451e-06 8.451e-06 0.00% Castro::post_timestep() 10 8.11e-06 8.11e-06 8.11e-06 0.00% MLPoisson::prepareForSolve() 11 7.983e-06 7.983e-06 7.983e-06 0.00% MLMG::computeMLResidual() 11 7.585e-06 7.585e-06 7.585e-06 0.00% Castro::computeNewDt() 9 6.385e-06 6.385e-06 6.385e-06 0.00% MLMG::getGradSolution() 11 6.164e-06 6.164e-06 6.164e-06 0.00% Castro::expand_state() 10 5.324e-06 5.324e-06 5.324e-06 0.00% AmrLevel::checkPointPost() 3 4.887e-06 4.887e-06 4.887e-06 0.00% Amr::InitializeInit() 1 4.592e-06 4.592e-06 4.592e-06 0.00% Castro::FluxRegCrseInit 10 4.235e-06 4.235e-06 4.235e-06 0.00% Castro::retry_advance_ctu() 10 4.058e-06 4.058e-06 4.058e-06 0.00% Gravity::set_mass_offset() 11 3.712e-06 3.712e-06 3.712e-06 0.00% MLMG::MLRhsNormInf() 11 3.671e-06 3.671e-06 3.671e-06 0.00% Castro::post_init() 1 3.503e-06 3.503e-06 3.503e-06 0.00% MLMG::MLResNormInf() 11 3.436e-06 3.436e-06 3.436e-06 0.00% Amr::init() 1 2.789e-06 2.789e-06 2.789e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.751e-06 2.751e-06 2.751e-06 0.00% Castro::computeInitialDt() 2 2.657e-06 2.657e-06 2.657e-06 0.00% Castro::FluxRegFineAdd() 10 2.107e-06 2.107e-06 2.107e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.963e-06 1.963e-06 1.963e-06 0.00% AmrLevel::checkPointPre() 3 1.87e-06 1.87e-06 1.87e-06 0.00% Castro::post_regrid() 1 1.334e-06 1.334e-06 1.334e-06 0.00% Amr::initialInit() 1 1.013e-06 1.013e-06 1.013e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9799 0.9799 0.9799 100.00% Amr::coarseTimeStep() 10 0.8026 0.8026 0.8026 81.91% Amr::timeStep() 10 0.6805 0.6805 0.6805 69.45% Castro::advance() 10 0.6687 0.6687 0.6687 68.25% Castro::subcycle_advance_ctu() 10 0.6546 0.6546 0.6546 66.81% Castro::do_advance_ctu() 10 0.6544 0.6544 0.6544 66.78% Castro::construct_ctu_hydro_source() 10 0.3255 0.3255 0.3255 33.22% Gravity::solve_phi_with_mlmg() 11 0.2819 0.2819 0.2819 28.77% Gravity::actual_solve_with_mlmg() 11 0.2751 0.2751 0.2751 28.07% Castro::construct_new_gravity() 10 0.2574 0.2574 0.2574 26.26% MLMG::solve() 11 0.2544 0.2544 0.2544 25.96% Gravity::solve_for_phi() 10 0.2416 0.2416 0.2416 24.65% MLMG::oneIter() 82 0.2402 0.2402 0.2402 24.52% VisMF::Write(FabArray) 11 0.2397 0.2397 0.2397 24.46% MLMG::mgVcycle() 82 0.2366 0.2366 0.2366 24.15% Amr::checkPoint() 3 0.1786 0.1786 0.1786 18.22% AmrLevel::checkPoint() 3 0.1746 0.1746 0.1746 17.82% StateData::checkPoint() 12 0.1745 0.1745 0.1745 17.81% Amr::init() 1 0.1423 0.1423 0.1423 14.52% MLCellLinOp::smooth() 1640 0.116 0.116 0.116 11.84% MLCellLinOp::applyBC() 4433 0.1087 0.1087 0.1087 11.10% MLMG::mgVcycle_bottom 82 0.07332 0.07332 0.07332 7.48% MLMG::actualBottomSolve() 82 0.07329 0.07329 0.07329 7.48% MLCGSolver::bicgstab 82 0.07259 0.07259 0.07259 7.41% Amr::writePlotFile() 2 0.06817 0.06817 0.06817 6.96% Castro::clean_state() 62 0.05763 0.05763 0.05763 5.88% Amr::initialInit() 1 0.0481 0.0481 0.0481 4.91% AmrLevel::FillPatch() 41 0.04688 0.04688 0.04688 4.78% Amr::FinalizeInit() 1 0.04406 0.04406 0.04406 4.50% FillPatchIterator::Initialize 41 0.04273 0.04273 0.04273 4.36% Castro::post_init() 1 0.04264 0.04264 0.04264 4.35% FillPatchIterator::FillFromLevel0() 41 0.04121 0.04121 0.04121 4.21% FillPatchSingleLevel 41 0.04117 0.04117 0.04117 4.20% Gravity::multilevel_solve_for_new_phi() 1 0.04081 0.04081 0.04081 4.16% Gravity::actual_multilevel_solve() 1 0.04079 0.04079 0.04079 4.16% StateDataPhysBCFunct::() 41 0.03702 0.03702 0.03702 3.78% MLCellLinOp::apply() 1142 0.03618 0.03618 0.03618 3.69% MLMG::mgVcycle_down::0 82 0.03342 0.03342 0.03342 3.41% MLPoisson::Fsmooth() 3280 0.03208 0.03208 0.03208 3.27% FabArray::FillBoundary() 4023 0.03196 0.03196 0.03196 3.26% FillBoundary_nowait() 4023 0.03114 0.03114 0.03114 3.18% MLMG::mgVcycle_up::0 82 0.02526 0.02526 0.02526 2.58% StateData::FillBoundary(geom) 328 0.02505 0.02505 0.02505 2.56% Castro::initialize_do_advance() 10 0.02291 0.02291 0.02291 2.34% Castro::computeTemp() 63 0.02226 0.02226 0.02226 2.27% MLCellLinOp::correctionResidual() 492 0.02215 0.02215 0.02215 2.26% Castro::normalize_species() 62 0.02108 0.02108 0.02108 2.15% amrex::Dot() 1114 0.02056 0.02056 0.02056 2.10% MLMG:computeResOfCorrection() 410 0.01952 0.01952 0.01952 1.99% Castro::do_old_sources() 10 0.01833 0.01833 0.01833 1.87% Gravity::get_new_grav_vector() 11 0.01733 0.01733 0.01733 1.77% MLPoisson::define() 11 0.0164 0.0164 0.0164 1.67% MLMG::mgVcycle_down::1 82 0.01574 0.01574 0.01574 1.61% Castro::construct_old_gravity() 10 0.01497 0.01497 0.01497 1.53% Gravity::get_old_grav_vector() 10 0.01496 0.01496 0.01496 1.53% amrex::Copy() 1029 0.01479 0.01479 0.01479 1.51% MLMG::mgVcycle_down::2 82 0.01471 0.01471 0.01471 1.50% FabArray::ParallelCopy() 861 0.01457 0.01457 0.01457 1.49% MLMG::mgVcycle_down::3 82 0.0144 0.0144 0.0144 1.47% FabArray::norminf() 743 0.01438 0.01438 0.01438 1.47% FabArray::ParallelCopy_nowait() 861 0.01433 0.01433 0.01433 1.46% MLMG::mgVcycle_down::4 82 0.01421 0.01421 0.01421 1.45% Castro::initialize_advance() 10 0.0134 0.0134 0.0134 1.37% FabArray::setVal() 1144 0.013 0.013 0.013 1.33% MLCGSolver::ParallelAllReduce 1514 0.01234 0.01234 0.01234 1.26% Castro::enforce_min_density() 62 0.01209 0.01209 0.01209 1.23% MLMG::addInterpCorrection() 410 0.01197 0.01197 0.01197 1.22% Castro::expand_state() 10 0.01191 0.01191 0.01191 1.22% Castro::do_new_sources() 10 0.01186 0.01186 0.01186 1.21% Castro::post_timestep() 10 0.01161 0.01161 0.01161 1.18% MLMG::mgVcycle_up::4 82 0.01146 0.01146 0.01146 1.17% MLMG::mgVcycle_up::1 82 0.01144 0.01144 0.01144 1.17% MLMG::mgVcycle_up::2 82 0.01122 0.01122 0.01122 1.14% amrex::average_down 410 0.01121 0.01121 0.01121 1.14% MLMG::mgVcycle_up::3 82 0.01108 0.01108 0.01108 1.13% MLCellLinOp::defineAuxData() 11 0.01098 0.01098 0.01098 1.12% MLPoisson::Fapply() 1142 0.01029 0.01029 0.01029 1.05% FabArray::Saxpy() 813 0.008063 0.008063 0.008063 0.82% FabArray::Xpay() 821 0.00803 0.00803 0.00803 0.82% MLCellLinOp::solutionResidual() 93 0.007103 0.007103 0.007103 0.72% Gravity::fill_multipole_BCs() 11 0.006649 0.006649 0.006649 0.68% Castro::reset_internal_energy(MultiFab) 63 0.006499 0.006499 0.006499 0.66% MLMG::computeResidual() 82 0.006121 0.006121 0.006121 0.62% Castro::estTimeStep() 21 0.005896 0.005896 0.005896 0.60% MLCellLinOp::defineBC() 11 0.004914 0.004914 0.004914 0.50% BndryData::define() 11 0.004708 0.004708 0.004708 0.48% MLMG::prepareForSolve() 11 0.004607 0.004607 0.004607 0.47% FabArray::LinComb() 557 0.004456 0.004456 0.004456 0.45% amrex::Add() 164 0.004332 0.004332 0.004332 0.44% Amr::InitializeInit() 1 0.004036 0.004036 0.004036 0.41% Amr::defBaseLevel() 1 0.004032 0.004032 0.004032 0.41% Castro::initData() 1 0.003517 0.003517 0.003517 0.36% Castro::construct_new_source() 50 0.003093 0.003093 0.003093 0.32% Castro::construct_new_gravity_source() 10 0.00305 0.00305 0.00305 0.31% Castro::enforce_speed_limit() 62 0.002902 0.002902 0.002902 0.30% Castro::construct_old_source() 50 0.002755 0.002755 0.002755 0.28% Castro::construct_old_gravity_source() 10 0.002737 0.002737 0.002737 0.28% Castro::computeNewDt() 9 0.002721 0.002721 0.002721 0.28% Castro::finalize_do_advance() 10 0.002437 0.002437 0.002437 0.25% MLMG::ResNormInf() 93 0.002128 0.002128 0.002128 0.22% Castro::apply_source_to_state() 20 0.001816 0.001816 0.001816 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001691 0.001691 0.001691 0.17% check_for_negative_density() 10 0.001621 0.001621 0.001621 0.17% Castro::reset_internal_energy(Fab) 504 0.001601 0.001601 0.001601 0.16% FabArrayBase::getCPC() 1323 0.001485 0.001485 0.001485 0.15% MLCellLinOp::setLevelBC() 11 0.001385 0.001385 0.001385 0.14% MLMG::getGradSolution() 11 0.001384 0.001384 0.001384 0.14% MLCellLinOp::compGrad() 11 0.001378 0.001378 0.001378 0.14% FabArray::setDomainBndry() 41 0.001315 0.001315 0.001315 0.13% FabArray::mult() 43 0.001311 0.001311 0.001311 0.13% Castro::post_regrid() 1 0.00122 0.00122 0.00122 0.12% Castro::check_for_nan() 20 0.001205 0.001205 0.001205 0.12% MultiFab::contains_nan() 20 0.001195 0.001195 0.001195 0.12% MLPoisson::prepareForSolve() 11 0.001121 0.001121 0.001121 0.11% MLCellLinOp::prepareForSolve() 11 0.001113 0.001113 0.001113 0.11% MLMG::computeMLResidual() 11 0.00102 0.00102 0.00102 0.10% Gravity::update_max_rhs() 11 0.0008172 0.0008172 0.0008172 0.08% Castro::computeInitialDt() 2 0.0007862 0.0007862 0.0007862 0.08% FabArrayBase::CPC::define() 454 0.0007431 0.0007431 0.0007431 0.08% FabArrayBase::getFB() 4023 0.0006913 0.0006913 0.0006913 0.07% Castro::finalize_advance() 10 0.0005781 0.0005781 0.0005781 0.06% Amr::InitAmr() 1 0.0004917 0.0004917 0.0004917 0.05% MLLinOp::define() 11 0.0004721 0.0004721 0.0004721 0.05% MLLinOp::defineGrids() 11 0.0004566 0.0004566 0.0004566 0.05% Castro::Castro() 1 0.000446 0.000446 0.000446 0.05% Gravity::swapTimeLevels() 10 0.0004324 0.0004324 0.0004324 0.04% MLMG::MLResNormInf() 11 0.0002981 0.0002981 0.0002981 0.03% MultiFab::max() 11 0.0002564 0.0002564 0.0002564 0.03% MLMG::MLRhsNormInf() 11 0.0002192 0.0002192 0.0002192 0.02% Castro::create_source_corrector() 10 0.0001922 0.0001922 0.0001922 0.02% Castro::buildMetrics() 1 0.0001648 0.0001648 0.0001648 0.02% FabArrayBase::FB::FB() 56 9.121e-05 9.121e-05 9.121e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.142e-05 5.142e-05 5.142e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.086e-05 5.086e-05 5.086e-05 0.01% Castro::swap_state_time_levels() 10 3.733e-05 3.733e-05 3.733e-05 0.00% makeSFC 55 3.663e-05 3.663e-05 3.663e-05 0.00% StateData::define() 4 3.581e-05 3.581e-05 3.581e-05 0.00% Castro::enforce_consistent_e() 1 3.379e-05 3.379e-05 3.379e-05 0.00% Castro::initMFs() 1 2.669e-05 2.669e-05 2.669e-05 0.00% Amr::writeSmallPlotFile() 1 2.479e-05 2.479e-05 2.479e-05 0.00% DistributionMapping::Distribute() 56 1.4e-05 1.4e-05 1.4e-05 0.00% Amr::initSubcycle() 1 8.842e-06 8.842e-06 8.842e-06 0.00% AmrLevel::checkPointPost() 3 4.887e-06 4.887e-06 4.887e-06 0.00% Castro::FluxRegCrseInit 10 4.235e-06 4.235e-06 4.235e-06 0.00% Castro::retry_advance_ctu() 10 4.058e-06 4.058e-06 4.058e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.949e-06 3.949e-06 3.949e-06 0.00% Gravity::set_mass_offset() 11 3.712e-06 3.712e-06 3.712e-06 0.00% Castro::FluxRegFineAdd() 10 2.107e-06 2.107e-06 2.107e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.963e-06 1.963e-06 1.963e-06 0.00% AmrLevel::checkPointPre() 3 1.87e-06 1.87e-06 1.87e-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 81 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 153 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 939 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1955 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7609 KiB 14 MiB MLMG::prepareForSolve() 660 660 3194 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 184 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 156 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7531 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1600 B 2048 KiB Gravity::solve_for_phi() 80 80 504 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 85 KiB 2048 KiB BndryData::define() 1056 1056 291 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 185 KiB 671 KiB Castro::estTimeStep() 21 21 2937 B 480 KiB VisMF::Write(FabArray) 656 656 3053 B 320 KiB Castro::normalize_species() 62 62 7015 B 320 KiB amrex::average_down 1067 1067 1170 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1054 B 257 KiB amrex::Dot() 1360 1360 3085 B 160 KiB FabArray::norminf() 907 907 2167 B 160 KiB check_for_negative_density() 10 10 263 B 160 KiB Castro::initData() 1 1 24 B 160 KiB MultiFab::max() 11 11 40 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 24 B 20 KiB MLPoisson::Fsmooth() 132 132 3123 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 271 B 9648 B MLCellLinOp::applyBC() 8866 8866 201 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3858 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 107 B 1472 B MLCellLinOp::defineBC() 66 66 328 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 532 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 44 KiB 8192 KiB VisMF::Write(FabArray) 744 744 566 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3123 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 271 B 9648 B MLCellLinOp::applyBC() 4433 4433 199 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3858 B 6144 B Gravity::get_new_grav_vector() 3 3 2921 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 B 2880 B Gravity::fill_multipole_BCs() 33 33 2 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 266 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 22 B 400 B FabArray::norminf() 907 907 15 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [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.07-32-g587542a395e4) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-32-g587542a395e4) initialized Starting run at 08:30:08 UTC on 2023-07-21. Successfully read inputs file ... Castro git describe: 23.07-16-gcd2cd9695 AMReX git describe: 23.07-32-g587542a39 Microphysics git describe: 23.07-34-g0ef8cc66 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.538753989 Restart time = 0.043513288 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.051324213 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.060828812 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.082769399 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.07643576 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.054599567 [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.033241913 seconds Ending run at 08:30:08 UTC on 2023-07-21. Run time = 0.403684633 Run time without initialization = 0.359586958 Average number of zones advanced per microsecond: 3.645 Average number of zones advanced per microsecond per rank: 3.645 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4037 ... 0.4037 ... 0.4037 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1402 0.1402 0.1402 34.73% VisMF::Read() 3 0.03733 0.03733 0.03733 9.25% MLCellLinOp::applyBC() 1946 0.03339 0.03339 0.03339 8.27% VisMF::Write(FabArray) 1 0.03159 0.03159 0.03159 7.83% MLPoisson::Fsmooth() 1440 0.01389 0.01389 0.01389 3.44% FillBoundary_nowait() 1766 0.01263 0.01263 0.01263 3.13% StateData::FillBoundary(geom) 160 0.01202 0.01202 0.01202 2.98% Castro::normalize_species() 30 0.01018 0.01018 0.01018 2.52% amrex::Dot() 484 0.008856 0.008856 0.008856 2.19% amrex::Copy() 463 0.006943 0.006943 0.006943 1.72% Castro::computeTemp() 30 0.006503 0.006503 0.006503 1.61% FabArray::setVal() 537 0.006237 0.006237 0.006237 1.54% FabArray::norminf() 326 0.006225 0.006225 0.006225 1.54% FabArray::ParallelCopy_nowait() 380 0.006045 0.006045 0.006045 1.50% Castro::enforce_min_density() 30 0.005298 0.005298 0.005298 1.31% MLCellLinOp::defineAuxData() 6 0.005229 0.005229 0.005229 1.30% MLPoisson::Fapply() 500 0.004444 0.004444 0.004444 1.10% StateDataPhysBCFunct::() 20 0.00439 0.00439 0.00439 1.09% FabArray::Saxpy() 355 0.003609 0.003609 0.003609 0.89% Castro::estTimeStep() 10 0.003565 0.003565 0.003565 0.88% Gravity::fill_multipole_BCs() 6 0.003557 0.003557 0.003557 0.88% FabArray::Xpay() 361 0.003513 0.003513 0.003513 0.87% MLMG::addInterpCorrection() 180 0.00294 0.00294 0.00294 0.73% amrex::average_down 180 0.002599 0.002599 0.002599 0.64% Amr::restart() 1 0.002489 0.002489 0.002489 0.62% BndryData::define() 6 0.002057 0.002057 0.002057 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002038 0.002038 0.002038 0.50% FabArray::LinComb() 242 0.001921 0.001921 0.001921 0.48% amrex::Add() 72 0.001837 0.001837 0.001837 0.46% Castro::construct_new_gravity_source() 5 0.001578 0.001578 0.001578 0.39% Amr::writePlotFile() 1 0.001478 0.001478 0.001478 0.37% Castro::construct_old_gravity_source() 5 0.001452 0.001452 0.001452 0.36% Castro::enforce_speed_limit() 30 0.001251 0.001251 0.001251 0.31% MLCGSolver::bicgstab 36 0.0009238 0.0009238 0.0009238 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009087 0.0009087 0.0009087 0.23% Castro::reset_internal_energy(Fab) 240 0.0008869 0.0008869 0.0008869 0.22% Castro::initialize_do_advance() 5 0.0008307 0.0008307 0.0008307 0.21% check_for_negative_density() 5 0.000811 0.000811 0.000811 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007693 0.0007693 0.0007693 0.19% MLCellLinOp::setLevelBC() 6 0.0007537 0.0007537 0.0007537 0.19% FabArray::mult() 22 0.0006494 0.0006494 0.0006494 0.16% FabArray::setDomainBndry() 20 0.0006389 0.0006389 0.0006389 0.16% MLCellLinOp::prepareForSolve() 6 0.0005999 0.0005999 0.0005999 0.15% MultiFab::contains_nan() 10 0.0005969 0.0005969 0.0005969 0.15% Castro::subcycle_advance_ctu() 5 0.0005626 0.0005626 0.0005626 0.14% MLCellLinOp::smooth() 720 0.0004979 0.0004979 0.0004979 0.12% MLCellLinOp::compGrad() 6 0.0004899 0.0004899 0.0004899 0.12% MLMG::prepareForSolve() 6 0.0004678 0.0004678 0.0004678 0.12% FabArrayBase::CPC::define() 244 0.0004265 0.0004265 0.0004265 0.11% Amr::InitAmr() 1 0.0004042 0.0004042 0.0004042 0.10% FabArray::FillBoundary() 1766 0.0003683 0.0003683 0.0003683 0.09% FabArrayBase::getCPC() 632 0.0003549 0.0003549 0.0003549 0.09% Gravity::get_old_grav_vector() 5 0.000279 0.000279 0.000279 0.07% main() 1 0.0002719 0.0002719 0.0002719 0.07% FabArrayBase::getFB() 1766 0.000259 0.000259 0.000259 0.06% Gravity::get_new_grav_vector() 5 0.0002377 0.0002377 0.0002377 0.06% MLCellLinOp::apply() 500 0.0002027 0.0002027 0.0002027 0.05% MLLinOp::defineGrids() 6 0.0001671 0.0001671 0.0001671 0.04% AmrLevel::FillPatch() 20 0.0001576 0.0001576 0.0001576 0.04% Amr::coarseTimeStep() 5 0.0001572 0.0001572 0.0001572 0.04% MLMG::mgVcycle() 36 0.0001565 0.0001565 0.0001565 0.04% MultiFab::max() 6 0.0001348 0.0001348 0.0001348 0.03% MLCGSolver::ParallelAllReduce 659 0.0001253 0.0001253 0.0001253 0.03% MLCellLinOp::defineBC() 6 0.0001102 0.0001102 0.0001102 0.03% FillPatchIterator::Initialize 20 0.0001051 0.0001051 0.0001051 0.03% FabArray::ParallelCopy() 380 0.0001036 0.0001036 0.0001036 0.03% Castro::construct_new_source() 25 0.0001031 0.0001031 0.0001031 0.03% MLCellLinOp::correctionResidual() 216 9.877e-05 9.877e-05 9.877e-05 0.02% Castro::create_source_corrector() 5 9.372e-05 9.372e-05 9.372e-05 0.02% Amr::timeStep() 5 8.555e-05 8.555e-05 8.555e-05 0.02% Castro::construct_old_source() 25 7.915e-05 7.915e-05 7.915e-05 0.02% Castro::do_new_sources() 5 7.582e-05 7.582e-05 7.582e-05 0.02% AmrLevel::restart() 1 7.343e-05 7.343e-05 7.343e-05 0.02% Castro::finalize_do_advance() 5 7.153e-05 7.153e-05 7.153e-05 0.02% StateData::restartDoit() 4 6.757e-05 6.757e-05 6.757e-05 0.02% Gravity::update_max_rhs() 6 6.252e-05 6.252e-05 6.252e-05 0.02% FabArrayBase::FB::FB() 26 5.865e-05 5.865e-05 5.865e-05 0.01% MLMG:computeResOfCorrection() 180 5.439e-05 5.439e-05 5.439e-05 0.01% Gravity::solve_for_phi() 5 5.003e-05 5.003e-05 5.003e-05 0.01% MLMG::actualBottomSolve() 36 4.083e-05 4.083e-05 4.083e-05 0.01% MLMG::mgVcycle_down::1 36 3.96e-05 3.96e-05 3.96e-05 0.01% Castro::advance() 5 3.619e-05 3.619e-05 3.619e-05 0.01% MLMG::mgVcycle_down::0 36 3.559e-05 3.559e-05 3.559e-05 0.01% Castro::do_old_sources() 5 3.532e-05 3.532e-05 3.532e-05 0.01% MLMG::mgVcycle_down::4 36 3.37e-05 3.37e-05 3.37e-05 0.01% Castro::post_timestep() 5 3.367e-05 3.367e-05 3.367e-05 0.01% MLMG::mgVcycle_down::2 36 3.333e-05 3.333e-05 3.333e-05 0.01% MLMG::mgVcycle_down::3 36 3.298e-05 3.298e-05 3.298e-05 0.01% MLMG::solve() 6 3.242e-05 3.242e-05 3.242e-05 0.01% Castro::finalize_advance() 5 3.204e-05 3.204e-05 3.204e-05 0.01% Castro::initialize_advance() 5 3.201e-05 3.201e-05 3.201e-05 0.01% Castro::clean_state() 30 3.143e-05 3.143e-05 3.143e-05 0.01% MLMG::mgVcycle_up::4 36 2.632e-05 2.632e-05 2.632e-05 0.01% Amr::writeSmallPlotFile() 1 2.612e-05 2.612e-05 2.612e-05 0.01% Castro::initMFs() 1 2.57e-05 2.57e-05 2.57e-05 0.01% Castro::do_advance_ctu() 5 2.516e-05 2.516e-05 2.516e-05 0.01% MLMG::oneIter() 36 2.49e-05 2.49e-05 2.49e-05 0.01% Castro::buildMetrics() 1 2.411e-05 2.411e-05 2.411e-05 0.01% Castro::swap_state_time_levels() 5 2.211e-05 2.211e-05 2.211e-05 0.01% MLMG::mgVcycle_up::3 36 2.177e-05 2.177e-05 2.177e-05 0.01% MLMG::mgVcycle_up::0 36 2.177e-05 2.177e-05 2.177e-05 0.01% MLCellLinOp::solutionResidual() 42 2.145e-05 2.145e-05 2.145e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.141e-05 2.141e-05 2.141e-05 0.01% MLMG::mgVcycle_up::2 36 2.121e-05 2.121e-05 2.121e-05 0.01% Castro::post_restart() 1 2.1e-05 2.1e-05 2.1e-05 0.01% MLMG::mgVcycle_up::1 36 2.026e-05 2.026e-05 2.026e-05 0.01% MLPoisson::define() 6 1.758e-05 1.758e-05 1.758e-05 0.00% MLMG::ResNormInf() 42 1.634e-05 1.634e-05 1.634e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.575e-05 1.575e-05 1.575e-05 0.00% FillPatchSingleLevel 20 1.49e-05 1.49e-05 1.49e-05 0.00% MLMG::mgVcycle_bottom 36 1.463e-05 1.463e-05 1.463e-05 0.00% MLMG::computeResidual() 36 1.378e-05 1.378e-05 1.378e-05 0.00% makeSFC 30 1.255e-05 1.255e-05 1.255e-05 0.00% Castro::construct_new_gravity() 5 1.205e-05 1.205e-05 1.205e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.146e-05 1.146e-05 1.146e-05 0.00% MLLinOp::define() 6 1.015e-05 1.015e-05 1.015e-05 0.00% Amr::initSubcycle() 1 8.643e-06 8.643e-06 8.643e-06 0.00% DistributionMapping::Distribute() 31 8.443e-06 8.443e-06 8.443e-06 0.00% Gravity::actual_multilevel_solve() 1 7.235e-06 7.235e-06 7.235e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.177e-06 7.177e-06 7.177e-06 0.00% Castro::construct_old_gravity() 5 6.717e-06 6.717e-06 6.717e-06 0.00% Castro::check_for_nan() 10 6.326e-06 6.326e-06 6.326e-06 0.00% Castro::apply_source_to_state() 10 5.282e-06 5.282e-06 5.282e-06 0.00% MLPoisson::prepareForSolve() 6 4.082e-06 4.082e-06 4.082e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.902e-06 3.902e-06 3.902e-06 0.00% MLMG::computeMLResidual() 6 3.618e-06 3.618e-06 3.618e-06 0.00% Gravity::swapTimeLevels() 5 3.611e-06 3.611e-06 3.611e-06 0.00% Castro::computeNewDt() 5 3.315e-06 3.315e-06 3.315e-06 0.00% MLMG::getGradSolution() 6 3.014e-06 3.014e-06 3.014e-06 0.00% Castro::FluxRegCrseInit 5 2.389e-06 2.389e-06 2.389e-06 0.00% Castro::expand_state() 5 2.25e-06 2.25e-06 2.25e-06 0.00% MLMG::MLResNormInf() 6 2.091e-06 2.091e-06 2.091e-06 0.00% Gravity::set_mass_offset() 6 2.042e-06 2.042e-06 2.042e-06 0.00% MLMG::MLRhsNormInf() 6 1.934e-06 1.934e-06 1.934e-06 0.00% Castro::retry_advance_ctu() 5 1.909e-06 1.909e-06 1.909e-06 0.00% Castro::FluxRegFineAdd() 5 1.288e-06 1.288e-06 1.288e-06 0.00% Amr::init() 1 1.07e-06 1.07e-06 1.07e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.86e-07 9.86e-07 9.86e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4037 0.4037 0.4037 100.00% Amr::coarseTimeStep() 5 0.3261 0.3261 0.3261 80.78% Amr::timeStep() 5 0.324 0.324 0.324 80.25% Castro::advance() 5 0.3204 0.3204 0.3204 79.37% Castro::subcycle_advance_ctu() 5 0.3129 0.3129 0.3129 77.51% Castro::do_advance_ctu() 5 0.3123 0.3123 0.3123 77.37% Castro::construct_ctu_hydro_source() 5 0.1462 0.1462 0.1462 36.22% Castro::construct_new_gravity() 5 0.1298 0.1298 0.1298 32.15% Gravity::solve_phi_with_mlmg() 6 0.1253 0.1253 0.1253 31.03% Gravity::solve_for_phi() 5 0.1222 0.1222 0.1222 30.28% Gravity::actual_solve_with_mlmg() 6 0.1215 0.1215 0.1215 30.09% MLMG::solve() 6 0.1103 0.1103 0.1103 27.32% MLMG::oneIter() 36 0.1035 0.1035 0.1035 25.64% MLMG::mgVcycle() 36 0.102 0.102 0.102 25.26% MLCellLinOp::smooth() 720 0.0498 0.0498 0.0498 12.33% MLCellLinOp::applyBC() 1946 0.04671 0.04671 0.04671 11.57% Amr::init() 1 0.04355 0.04355 0.04355 10.79% Amr::restart() 1 0.04355 0.04355 0.04355 10.79% AmrLevel::restart() 1 0.03753 0.03753 0.03753 9.30% StateData::restartDoit() 4 0.03745 0.03745 0.03745 9.28% VisMF::Read() 3 0.03733 0.03733 0.03733 9.25% Amr::writePlotFile() 1 0.03332 0.03332 0.03332 8.25% MLMG::mgVcycle_bottom 36 0.0317 0.0317 0.0317 7.85% MLMG::actualBottomSolve() 36 0.03169 0.03169 0.03169 7.85% VisMF::Write(FabArray) 1 0.03159 0.03159 0.03159 7.83% MLCGSolver::bicgstab 36 0.03138 0.03138 0.03138 7.77% Castro::clean_state() 30 0.02619 0.02619 0.02619 6.49% AmrLevel::FillPatch() 20 0.02125 0.02125 0.02125 5.26% FillPatchIterator::Initialize 20 0.01921 0.01921 0.01921 4.76% FillPatchIterator::FillFromLevel0() 20 0.01846 0.01846 0.01846 4.57% FillPatchSingleLevel 20 0.01844 0.01844 0.01844 4.57% StateDataPhysBCFunct::() 20 0.01641 0.01641 0.01641 4.06% MLCellLinOp::apply() 500 0.01568 0.01568 0.01568 3.89% MLMG::mgVcycle_down::0 36 0.01426 0.01426 0.01426 3.53% MLPoisson::Fsmooth() 1440 0.01389 0.01389 0.01389 3.44% FabArray::FillBoundary() 1766 0.01332 0.01332 0.01332 3.30% FillBoundary_nowait() 1766 0.01295 0.01295 0.01295 3.21% StateData::FillBoundary(geom) 160 0.01202 0.01202 0.01202 2.98% MLMG::mgVcycle_up::0 36 0.01074 0.01074 0.01074 2.66% Castro::initialize_do_advance() 5 0.01031 0.01031 0.01031 2.55% Castro::normalize_species() 30 0.01018 0.01018 0.01018 2.52% MLCellLinOp::correctionResidual() 216 0.009553 0.009553 0.009553 2.37% Castro::computeTemp() 30 0.009428 0.009428 0.009428 2.34% MLPoisson::define() 6 0.008913 0.008913 0.008913 2.21% amrex::Dot() 484 0.008856 0.008856 0.008856 2.19% Castro::do_old_sources() 5 0.008664 0.008664 0.008664 2.15% MLMG:computeResOfCorrection() 180 0.008384 0.008384 0.008384 2.08% Castro::do_new_sources() 5 0.007703 0.007703 0.007703 1.91% Castro::construct_old_gravity() 5 0.007484 0.007484 0.007484 1.85% Gravity::get_old_grav_vector() 5 0.007477 0.007477 0.007477 1.85% Gravity::get_new_grav_vector() 5 0.007459 0.007459 0.007459 1.85% Castro::initialize_advance() 5 0.007177 0.007177 0.007177 1.78% amrex::Copy() 463 0.006943 0.006943 0.006943 1.72% MLMG::mgVcycle_down::1 36 0.006833 0.006833 0.006833 1.69% FabArray::ParallelCopy() 380 0.006546 0.006546 0.006546 1.62% FabArray::ParallelCopy_nowait() 380 0.006442 0.006442 0.006442 1.60% MLMG::mgVcycle_down::2 36 0.006385 0.006385 0.006385 1.58% FabArray::setVal() 537 0.006237 0.006237 0.006237 1.54% MLMG::mgVcycle_down::3 36 0.006232 0.006232 0.006232 1.54% FabArray::norminf() 326 0.006225 0.006225 0.006225 1.54% MLMG::mgVcycle_down::4 36 0.006146 0.006146 0.006146 1.52% MLCellLinOp::defineAuxData() 6 0.00596 0.00596 0.00596 1.48% MLCGSolver::ParallelAllReduce 659 0.005338 0.005338 0.005338 1.32% Castro::enforce_min_density() 30 0.005298 0.005298 0.005298 1.31% MLMG::addInterpCorrection() 180 0.005184 0.005184 0.005184 1.28% Castro::expand_state() 5 0.004981 0.004981 0.004981 1.23% MLMG::mgVcycle_up::4 36 0.00495 0.00495 0.00495 1.23% MLMG::mgVcycle_up::1 36 0.004932 0.004932 0.004932 1.22% amrex::average_down 180 0.004886 0.004886 0.004886 1.21% MLMG::mgVcycle_up::2 36 0.004857 0.004857 0.004857 1.20% MLMG::mgVcycle_up::3 36 0.004778 0.004778 0.004778 1.18% MLPoisson::Fapply() 500 0.004444 0.004444 0.004444 1.10% Gravity::fill_multipole_BCs() 6 0.003676 0.003676 0.003676 0.91% FabArray::Saxpy() 355 0.003609 0.003609 0.003609 0.89% Castro::estTimeStep() 10 0.003565 0.003565 0.003565 0.88% FabArray::Xpay() 361 0.003513 0.003513 0.003513 0.87% Castro::post_timestep() 5 0.003477 0.003477 0.003477 0.86% Castro::post_restart() 1 0.003369 0.003369 0.003369 0.83% Gravity::multilevel_solve_for_new_phi() 1 0.003256 0.003256 0.003256 0.81% Gravity::actual_multilevel_solve() 1 0.00324 0.00324 0.00324 0.80% MLCellLinOp::solutionResidual() 42 0.003175 0.003175 0.003175 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002925 0.002925 0.002925 0.72% MLCellLinOp::defineBC() 6 0.00273 0.00273 0.00273 0.68% MLMG::computeResidual() 36 0.00263 0.00263 0.00263 0.65% BndryData::define() 6 0.002619 0.002619 0.002619 0.65% MLMG::prepareForSolve() 6 0.002498 0.002498 0.002498 0.62% Castro::computeNewDt() 5 0.001971 0.001971 0.001971 0.49% FabArray::LinComb() 242 0.001921 0.001921 0.001921 0.48% amrex::Add() 72 0.001837 0.001837 0.001837 0.46% Castro::construct_new_source() 25 0.001681 0.001681 0.001681 0.42% Castro::finalize_do_advance() 5 0.001669 0.001669 0.001669 0.41% Castro::construct_new_gravity_source() 5 0.001578 0.001578 0.001578 0.39% Castro::construct_old_source() 25 0.001532 0.001532 0.001532 0.38% Castro::construct_old_gravity_source() 5 0.001452 0.001452 0.001452 0.36% Castro::enforce_speed_limit() 30 0.001251 0.001251 0.001251 0.31% MLMG::ResNormInf() 42 0.0009325 0.0009325 0.0009325 0.23% Castro::apply_source_to_state() 10 0.0009183 0.0009183 0.0009183 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009087 0.0009087 0.0009087 0.23% Castro::reset_internal_energy(Fab) 240 0.0008869 0.0008869 0.0008869 0.22% check_for_negative_density() 5 0.000811 0.000811 0.000811 0.20% FabArrayBase::getCPC() 632 0.0007814 0.0007814 0.0007814 0.19% MLMG::getGradSolution() 6 0.0007539 0.0007539 0.0007539 0.19% MLCellLinOp::setLevelBC() 6 0.0007537 0.0007537 0.0007537 0.19% MLCellLinOp::compGrad() 6 0.0007509 0.0007509 0.0007509 0.19% FabArray::mult() 22 0.0006494 0.0006494 0.0006494 0.16% FabArray::setDomainBndry() 20 0.0006389 0.0006389 0.0006389 0.16% MLPoisson::prepareForSolve() 6 0.000604 0.000604 0.000604 0.15% Castro::check_for_nan() 10 0.0006032 0.0006032 0.0006032 0.15% MLCellLinOp::prepareForSolve() 6 0.0005999 0.0005999 0.0005999 0.15% MultiFab::contains_nan() 10 0.0005969 0.0005969 0.0005969 0.15% MLMG::computeMLResidual() 6 0.0005629 0.0005629 0.0005629 0.14% Gravity::update_max_rhs() 6 0.0004386 0.0004386 0.0004386 0.11% FabArrayBase::CPC::define() 244 0.0004265 0.0004265 0.0004265 0.11% Amr::InitAmr() 1 0.0004129 0.0004129 0.0004129 0.10% FabArrayBase::getFB() 1766 0.0003176 0.0003176 0.0003176 0.08% Castro::finalize_advance() 5 0.0002879 0.0002879 0.0002879 0.07% Gravity::swapTimeLevels() 5 0.0002236 0.0002236 0.0002236 0.06% MLLinOp::define() 6 0.0002051 0.0002051 0.0002051 0.05% MLLinOp::defineGrids() 6 0.000195 0.000195 0.000195 0.05% MLMG::MLResNormInf() 6 0.0001503 0.0001503 0.0001503 0.04% Castro::buildMetrics() 1 0.0001433 0.0001433 0.0001433 0.04% MultiFab::max() 6 0.0001348 0.0001348 0.0001348 0.03% MLMG::MLRhsNormInf() 6 0.0001167 0.0001167 0.0001167 0.03% Castro::create_source_corrector() 5 9.372e-05 9.372e-05 9.372e-05 0.02% FabArrayBase::FB::FB() 26 5.865e-05 5.865e-05 5.865e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.693e-05 2.693e-05 2.693e-05 0.01% Amr::writeSmallPlotFile() 1 2.612e-05 2.612e-05 2.612e-05 0.01% Castro::initMFs() 1 2.57e-05 2.57e-05 2.57e-05 0.01% Castro::swap_state_time_levels() 5 2.211e-05 2.211e-05 2.211e-05 0.01% makeSFC 30 1.976e-05 1.976e-05 1.976e-05 0.00% Amr::initSubcycle() 1 8.643e-06 8.643e-06 8.643e-06 0.00% DistributionMapping::Distribute() 31 8.443e-06 8.443e-06 8.443e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.143e-06 5.143e-06 5.143e-06 0.00% Castro::FluxRegCrseInit 5 2.389e-06 2.389e-06 2.389e-06 0.00% Gravity::set_mass_offset() 6 2.042e-06 2.042e-06 2.042e-06 0.00% Castro::retry_advance_ctu() 5 1.909e-06 1.909e-06 1.909e-06 0.00% Castro::FluxRegFineAdd() 5 1.288e-06 1.288e-06 1.288e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.86e-07 9.86e-07 9.86e-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 203 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 157 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1010 KiB 39 MiB Castro::initialize_do_advance() 40 40 30 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2311 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6809 KiB 14 MiB MLMG::prepareForSolve() 361 361 3355 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 192 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 189 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6805 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2104 B 2048 KiB Gravity::solve_for_phi() 40 40 618 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 4222 B 480 KiB VisMF::Write(FabArray) 112 112 1229 B 320 KiB Castro::normalize_species() 30 30 8217 B 320 KiB amrex::average_down 469 469 1188 B 257 KiB MLMG::addInterpCorrection() 468 468 1099 B 257 KiB amrex::Dot() 592 592 3230 B 160 KiB FabArray::norminf() 398 398 2275 B 160 KiB check_for_negative_density() 5 5 320 B 160 KiB MultiFab::max() 6 6 51 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3263 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 271 B 9648 B MLCellLinOp::applyBC() 3892 3892 214 B 9344 B amrex::Copy() 56 56 6024 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 113 B 1472 B MLCellLinOp::defineBC() 36 36 346 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1267 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 106 KiB 8192 KiB VisMF::Write(FabArray) 120 120 241 KiB 3584 KiB VisMF::Read() 24 24 182 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3263 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 271 B 9648 B MLCellLinOp::applyBC() 1946 1946 213 B 9328 B amrex::Copy() 56 56 6024 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2695 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 522 B 1296 B amrex::average_down 37 37 227 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [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.07-32-g587542a395e4) finalized