Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-16-g5f8030af0ddf) initialized Starting run at 09:20:00 UTC on 2023-03-21. Successfully read inputs file ... Castro git describe: 23.03-9-ge8cab45ef AMReX git describe: 23.03-16-g5f8030af0 Microphysics git describe: 23.03-19-gd6c98ffe 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.058441011 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.044563767 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047164739 [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.051696464 [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.048665729 [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.057088368 [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.076241404 [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.05749501 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.067269298 [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.049427255 [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.055885715 [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.059108151 [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.063688606 [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.057482669 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033487165 seconds Ending run at 09:20:00 UTC on 2023-03-21. Run time = 0.877231957 Run time without initialization = 0.725330277 Average number of zones advanced per microsecond: 3.614 Average number of zones advanced per microsecond per rank: 3.614 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8773 ... 0.8773 ... 0.8773 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2447 0.2447 0.2447 27.90% Castro::construct_ctu_hydro_source() 10 0.2143 0.2143 0.2143 24.43% MLCellLinOp::applyBC() 4433 0.07745 0.07745 0.07745 8.83% MLPoisson::Fsmooth() 3280 0.0325 0.0325 0.0325 3.71% FillBoundary_nowait() 4023 0.03047 0.03047 0.03047 3.47% StateData::FillBoundary(geom) 328 0.02483 0.02483 0.02483 2.83% amrex::Dot() 1114 0.02077 0.02077 0.02077 2.37% Castro::normalize_species() 62 0.0161 0.0161 0.0161 1.84% amrex::Copy() 1029 0.01494 0.01494 0.01494 1.70% FabArray::norminf() 743 0.01446 0.01446 0.01446 1.65% StateDataPhysBCFunct::() 41 0.01439 0.01439 0.01439 1.64% Castro::computeTemp() 63 0.01361 0.01361 0.01361 1.55% FabArray::ParallelCopy_nowait() 861 0.01351 0.01351 0.01351 1.54% FabArray::setVal() 1144 0.01328 0.01328 0.01328 1.51% MLPoisson::Fapply() 1142 0.01045 0.01045 0.01045 1.19% MLCellLinOp::defineAuxData() 11 0.009815 0.009815 0.009815 1.12% Castro::enforce_min_density() 62 0.008689 0.008689 0.008689 0.99% FabArray::Saxpy() 813 0.008287 0.008287 0.008287 0.94% FabArray::Xpay() 821 0.008168 0.008168 0.008168 0.93% MLMG::addInterpCorrection() 410 0.006888 0.006888 0.006888 0.79% Gravity::fill_multipole_BCs() 11 0.006345 0.006345 0.006345 0.72% amrex::average_down 410 0.006013 0.006013 0.006013 0.69% FabArray::LinComb() 557 0.00457 0.00457 0.00457 0.52% Castro::estTimeStep() 21 0.004514 0.004514 0.004514 0.51% amrex::Add() 164 0.004377 0.004377 0.004377 0.50% Castro::reset_internal_energy(MultiFab) 63 0.004334 0.004334 0.004334 0.49% Amr::checkPoint() 3 0.003858 0.003858 0.003858 0.44% BndryData::define() 11 0.003802 0.003802 0.003802 0.43% Castro::construct_new_gravity_source() 10 0.003296 0.003296 0.003296 0.38% Castro::do_advance_ctu() 10 0.002805 0.002805 0.002805 0.32% Castro::construct_old_gravity_source() 10 0.002497 0.002497 0.002497 0.28% Amr::writePlotFile() 2 0.002395 0.002395 0.002395 0.27% MLCGSolver::bicgstab 82 0.00224 0.00224 0.00224 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001713 0.001713 0.001713 0.20% Castro::reset_internal_energy(Fab) 504 0.001559 0.001559 0.001559 0.18% Gravity::actual_solve_with_mlmg() 11 0.00147 0.00147 0.00147 0.17% MLCellLinOp::setLevelBC() 11 0.001403 0.001403 0.001403 0.16% FabArray::mult() 43 0.001323 0.001323 0.001323 0.15% FabArray::setDomainBndry() 41 0.001292 0.001292 0.001292 0.15% Castro::initData() 1 0.00127 0.00127 0.00127 0.14% MultiFab::contains_nan() 20 0.001201 0.001201 0.001201 0.14% Castro::enforce_speed_limit() 62 0.001191 0.001191 0.001191 0.14% MLCellLinOp::prepareForSolve() 11 0.00113 0.00113 0.00113 0.13% MLCellLinOp::smooth() 1640 0.001122 0.001122 0.001122 0.13% MLCellLinOp::compGrad() 11 0.0009121 0.0009121 0.0009121 0.10% MLMG::prepareForSolve() 11 0.000872 0.000872 0.000872 0.10% FabArray::FillBoundary() 4023 0.0008203 0.0008203 0.0008203 0.09% Castro::create_source_corrector() 10 0.0007795 0.0007795 0.0007795 0.09% FabArrayBase::getCPC() 1323 0.0007505 0.0007505 0.0007505 0.09% FabArrayBase::CPC::define() 454 0.0007085 0.0007085 0.0007085 0.08% Gravity::get_new_grav_vector() 11 0.0006413 0.0006413 0.0006413 0.07% FabArrayBase::getFB() 4023 0.0005995 0.0005995 0.0005995 0.07% Gravity::get_old_grav_vector() 10 0.000543 0.000543 0.000543 0.06% MLCellLinOp::apply() 1142 0.0004876 0.0004876 0.0004876 0.06% Amr::InitAmr() 1 0.0004727 0.0004727 0.0004727 0.05% MLMG::mgVcycle() 82 0.0004169 0.0004169 0.0004169 0.05% MLLinOp::defineGrids() 11 0.0003861 0.0003861 0.0003861 0.04% Amr::coarseTimeStep() 10 0.0003472 0.0003472 0.0003472 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003285 0.0003285 0.0003285 0.04% main() 1 0.0002861 0.0002861 0.0002861 0.03% MultiFab::max() 11 0.0002632 0.0002632 0.0002632 0.03% FabArray::ParallelCopy() 861 0.0002475 0.0002475 0.0002475 0.03% FillPatchIterator::Initialize 41 0.0002258 0.0002258 0.0002258 0.03% MLCellLinOp::defineBC() 11 0.0002228 0.0002228 0.0002228 0.03% MLCellLinOp::correctionResidual() 492 0.0002176 0.0002176 0.0002176 0.02% Amr::timeStep() 10 0.0001894 0.0001894 0.0001894 0.02% Castro::subcycle_advance_ctu() 10 0.0001531 0.0001531 0.0001531 0.02% StateData::checkPoint() 12 0.0001303 0.0001303 0.0001303 0.01% Gravity::update_max_rhs() 11 0.000121 0.000121 0.000121 0.01% MLMG:computeResOfCorrection() 410 0.0001204 0.0001204 0.0001204 0.01% Castro::finalize_advance() 10 0.00012 0.00012 0.00012 0.01% Castro::advance() 10 0.0001131 0.0001131 0.0001131 0.01% Gravity::solve_for_phi() 10 0.0001121 0.0001121 0.0001121 0.01% MLMG::mgVcycle_down::0 82 9.206e-05 9.206e-05 9.206e-05 0.01% MLMG::actualBottomSolve() 82 9.14e-05 9.14e-05 9.14e-05 0.01% FabArrayBase::FB::FB() 56 9.026e-05 9.026e-05 9.026e-05 0.01% Castro::Castro() 1 8.615e-05 8.615e-05 8.615e-05 0.01% MLMG::mgVcycle_down::1 82 8.414e-05 8.414e-05 8.414e-05 0.01% MLMG::mgVcycle_down::2 82 8.227e-05 8.227e-05 8.227e-05 0.01% Castro::expand_state() 10 7.783e-05 7.783e-05 7.783e-05 0.01% MLMG::mgVcycle_down::3 82 7.654e-05 7.654e-05 7.654e-05 0.01% MLMG::solve() 11 7.596e-05 7.596e-05 7.596e-05 0.01% AmrLevel::checkPoint() 3 7.591e-05 7.591e-05 7.591e-05 0.01% Castro::clean_state() 62 7.565e-05 7.565e-05 7.565e-05 0.01% MLMG::mgVcycle_down::4 82 7.538e-05 7.538e-05 7.538e-05 0.01% Castro::initialize_advance() 10 7.177e-05 7.177e-05 7.177e-05 0.01% MLMG::mgVcycle_up::4 82 6.465e-05 6.465e-05 6.465e-05 0.01% MLMG::mgVcycle_up::0 82 5.527e-05 5.527e-05 5.527e-05 0.01% MLMG::mgVcycle_up::1 82 5.374e-05 5.374e-05 5.374e-05 0.01% MLMG::mgVcycle_up::3 82 5.326e-05 5.326e-05 5.326e-05 0.01% Castro::initialize_do_advance() 10 5.248e-05 5.248e-05 5.248e-05 0.01% MLMG::mgVcycle_up::2 82 5.135e-05 5.135e-05 5.135e-05 0.01% MLCellLinOp::solutionResidual() 93 5.091e-05 5.091e-05 5.091e-05 0.01% MLMG::oneIter() 82 5.032e-05 5.032e-05 5.032e-05 0.01% Castro::finalize_do_advance() 10 4.128e-05 4.128e-05 4.128e-05 0.00% Castro::swap_state_time_levels() 10 3.997e-05 3.997e-05 3.997e-05 0.00% StateData::define() 4 3.729e-05 3.729e-05 3.729e-05 0.00% MLMG::ResNormInf() 93 3.458e-05 3.458e-05 3.458e-05 0.00% Castro::enforce_consistent_e() 1 3.393e-05 3.393e-05 3.393e-05 0.00% MLMG::mgVcycle_bottom 82 3.348e-05 3.348e-05 3.348e-05 0.00% Castro::post_timestep() 10 3.292e-05 3.292e-05 3.292e-05 0.00% MLMG::computeResidual() 82 3.21e-05 3.21e-05 3.21e-05 0.00% FillPatchSingleLevel 41 3.017e-05 3.017e-05 3.017e-05 0.00% Castro::construct_new_gravity() 10 2.603e-05 2.603e-05 2.603e-05 0.00% Amr::writeSmallPlotFile() 1 2.574e-05 2.574e-05 2.574e-05 0.00% makeSFC 55 2.491e-05 2.491e-05 2.491e-05 0.00% Castro::initMFs() 1 2.471e-05 2.471e-05 2.471e-05 0.00% MLPoisson::define() 11 2.251e-05 2.251e-05 2.251e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.165e-05 2.165e-05 2.165e-05 0.00% Amr::FinalizeInit() 1 1.969e-05 1.969e-05 1.969e-05 0.00% Amr::defBaseLevel() 1 1.851e-05 1.851e-05 1.851e-05 0.00% Castro::construct_old_source() 50 1.797e-05 1.797e-05 1.797e-05 0.00% Castro::buildMetrics() 1 1.771e-05 1.771e-05 1.771e-05 0.00% Castro::do_new_sources() 10 1.753e-05 1.753e-05 1.753e-05 0.00% Castro::construct_new_source() 50 1.735e-05 1.735e-05 1.735e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.696e-05 1.696e-05 1.696e-05 0.00% Castro::do_old_sources() 10 1.617e-05 1.617e-05 1.617e-05 0.00% DistributionMapping::Distribute() 56 1.518e-05 1.518e-05 1.518e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.355e-05 1.355e-05 1.355e-05 0.00% MLPoisson::prepareForSolve() 11 1.302e-05 1.302e-05 1.302e-05 0.00% Castro::check_for_nan() 20 1.103e-05 1.103e-05 1.103e-05 0.00% MLLinOp::define() 11 1.024e-05 1.024e-05 1.024e-05 0.00% Castro::apply_source_to_state() 20 1.007e-05 1.007e-05 1.007e-05 0.00% AmrLevel::AmrLevel(dm) 1 9.407e-06 9.407e-06 9.407e-06 0.00% Castro::construct_old_gravity() 10 9.309e-06 9.309e-06 9.309e-06 0.00% Gravity::swapTimeLevels() 10 8.802e-06 8.802e-06 8.802e-06 0.00% Amr::initSubcycle() 1 8.561e-06 8.561e-06 8.561e-06 0.00% Gravity::actual_multilevel_solve() 1 7.835e-06 7.835e-06 7.835e-06 0.00% MLMG::computeMLResidual() 11 7.623e-06 7.623e-06 7.623e-06 0.00% Castro::computeNewDt() 9 7.364e-06 7.364e-06 7.364e-06 0.00% MLMG::getGradSolution() 11 6.109e-06 6.109e-06 6.109e-06 0.00% AmrLevel::checkPointPost() 3 4.252e-06 4.252e-06 4.252e-06 0.00% Amr::InitializeInit() 1 4.237e-06 4.237e-06 4.237e-06 0.00% Castro::post_init() 1 4.098e-06 4.098e-06 4.098e-06 0.00% Gravity::set_mass_offset() 11 4.081e-06 4.081e-06 4.081e-06 0.00% Castro::retry_advance_ctu() 10 3.813e-06 3.813e-06 3.813e-06 0.00% MLMG::MLRhsNormInf() 11 3.801e-06 3.801e-06 3.801e-06 0.00% MLMG::MLResNormInf() 11 3.763e-06 3.763e-06 3.763e-06 0.00% Castro::FluxRegCrseInit 10 2.788e-06 2.788e-06 2.788e-06 0.00% Amr::init() 1 2.74e-06 2.74e-06 2.74e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.737e-06 2.737e-06 2.737e-06 0.00% Castro::computeInitialDt() 2 2.468e-06 2.468e-06 2.468e-06 0.00% Castro::FluxRegFineAdd() 10 2.326e-06 2.326e-06 2.326e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.056e-06 2.056e-06 2.056e-06 0.00% AmrLevel::checkPointPre() 3 1.827e-06 1.827e-06 1.827e-06 0.00% Castro::post_regrid() 1 1.154e-06 1.154e-06 1.154e-06 0.00% Amr::initialInit() 1 1.11e-06 1.11e-06 1.11e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8772 0.8772 0.8772 100.00% Amr::coarseTimeStep() 10 0.6916 0.6916 0.6916 78.84% Amr::timeStep() 10 0.5735 0.5735 0.5735 65.38% Castro::advance() 10 0.5662 0.5662 0.5662 64.55% Castro::subcycle_advance_ctu() 10 0.5532 0.5532 0.5532 63.05% Castro::do_advance_ctu() 10 0.553 0.553 0.553 63.04% Gravity::solve_phi_with_mlmg() 11 0.2852 0.2852 0.2852 32.51% Gravity::actual_solve_with_mlmg() 11 0.2783 0.2783 0.2783 31.73% Castro::construct_new_gravity() 10 0.2608 0.2608 0.2608 29.72% MLMG::solve() 11 0.2574 0.2574 0.2574 29.34% Gravity::solve_for_phi() 10 0.2448 0.2448 0.2448 27.91% VisMF::Write(FabArray) 11 0.2447 0.2447 0.2447 27.90% MLMG::oneIter() 82 0.243 0.243 0.243 27.70% MLMG::mgVcycle() 82 0.2393 0.2393 0.2393 27.28% Castro::construct_ctu_hydro_source() 10 0.2143 0.2143 0.2143 24.43% Amr::checkPoint() 3 0.1735 0.1735 0.1735 19.78% AmrLevel::checkPoint() 3 0.1697 0.1697 0.1697 19.34% StateData::checkPoint() 12 0.1696 0.1696 0.1696 19.33% Amr::init() 1 0.1513 0.1513 0.1513 17.25% MLCellLinOp::smooth() 1640 0.117 0.117 0.117 13.34% MLCellLinOp::applyBC() 4433 0.1094 0.1094 0.1094 12.47% Amr::writePlotFile() 2 0.07819 0.07819 0.07819 8.91% MLMG::mgVcycle_bottom 82 0.07454 0.07454 0.07454 8.50% MLMG::actualBottomSolve() 82 0.0745 0.0745 0.0745 8.49% MLCGSolver::bicgstab 82 0.0738 0.0738 0.0738 8.41% Amr::initialInit() 1 0.04816 0.04816 0.04816 5.49% FillPatchIterator::Initialize 41 0.04483 0.04483 0.04483 5.11% Castro::clean_state() 62 0.04471 0.04471 0.04471 5.10% Amr::FinalizeInit() 1 0.04402 0.04402 0.04402 5.02% FillPatchSingleLevel 41 0.04331 0.04331 0.04331 4.94% Castro::post_init() 1 0.04271 0.04271 0.04271 4.87% Gravity::multilevel_solve_for_new_phi() 1 0.04081 0.04081 0.04081 4.65% Gravity::actual_multilevel_solve() 1 0.04079 0.04079 0.04079 4.65% StateDataPhysBCFunct::() 41 0.03922 0.03922 0.03922 4.47% MLCellLinOp::apply() 1142 0.03648 0.03648 0.03648 4.16% MLMG::mgVcycle_down::0 82 0.03361 0.03361 0.03361 3.83% MLPoisson::Fsmooth() 3280 0.0325 0.0325 0.0325 3.71% FabArray::FillBoundary() 4023 0.03198 0.03198 0.03198 3.65% FillBoundary_nowait() 4023 0.03116 0.03116 0.03116 3.55% MLMG::mgVcycle_up::0 82 0.02538 0.02538 0.02538 2.89% StateData::FillBoundary(geom) 328 0.02483 0.02483 0.02483 2.83% MLCellLinOp::correctionResidual() 492 0.02225 0.02225 0.02225 2.54% Castro::initialize_do_advance() 10 0.02135 0.02135 0.02135 2.43% amrex::Dot() 1114 0.02077 0.02077 0.02077 2.37% MLMG:computeResOfCorrection() 410 0.01958 0.01958 0.01958 2.23% Castro::computeTemp() 63 0.0195 0.0195 0.0195 2.22% Gravity::get_new_grav_vector() 11 0.01757 0.01757 0.01757 2.00% MLPoisson::define() 11 0.01668 0.01668 0.01668 1.90% Castro::normalize_species() 62 0.0161 0.0161 0.0161 1.84% MLMG::mgVcycle_down::1 82 0.0159 0.0159 0.0159 1.81% Castro::construct_old_gravity() 10 0.01501 0.01501 0.01501 1.71% Gravity::get_old_grav_vector() 10 0.015 0.015 0.015 1.71% amrex::Copy() 1029 0.01494 0.01494 0.01494 1.70% MLMG::mgVcycle_down::2 82 0.01486 0.01486 0.01486 1.69% FabArray::ParallelCopy() 861 0.01457 0.01457 0.01457 1.66% MLMG::mgVcycle_down::3 82 0.0145 0.0145 0.0145 1.65% FabArray::norminf() 743 0.01446 0.01446 0.01446 1.65% MLMG::mgVcycle_down::4 82 0.01439 0.01439 0.01439 1.64% FabArray::ParallelCopy_nowait() 861 0.01432 0.01432 0.01432 1.63% Castro::expand_state() 10 0.01342 0.01342 0.01342 1.53% FabArray::setVal() 1144 0.01328 0.01328 0.01328 1.51% MLCGSolver::ParallelAllReduce 1514 0.01251 0.01251 0.01251 1.43% Castro::initialize_advance() 10 0.01232 0.01232 0.01232 1.40% MLMG::addInterpCorrection() 410 0.01214 0.01214 0.01214 1.38% Castro::do_new_sources() 10 0.01207 0.01207 0.01207 1.38% MLMG::mgVcycle_up::4 82 0.01169 0.01169 0.01169 1.33% MLMG::mgVcycle_up::1 82 0.01159 0.01159 0.01159 1.32% MLMG::mgVcycle_up::2 82 0.01135 0.01135 0.01135 1.29% amrex::average_down 410 0.01127 0.01127 0.01127 1.28% MLCellLinOp::defineAuxData() 11 0.01118 0.01118 0.01118 1.27% MLMG::mgVcycle_up::3 82 0.0111 0.0111 0.0111 1.27% MLPoisson::Fapply() 1142 0.01045 0.01045 0.01045 1.19% Castro::do_old_sources() 10 0.009767 0.009767 0.009767 1.11% Castro::enforce_min_density() 62 0.008689 0.008689 0.008689 0.99% FabArray::Saxpy() 813 0.008287 0.008287 0.008287 0.94% FabArray::Xpay() 821 0.008168 0.008168 0.008168 0.93% MLCellLinOp::solutionResidual() 93 0.007227 0.007227 0.007227 0.82% Castro::post_timestep() 10 0.007099 0.007099 0.007099 0.81% Gravity::fill_multipole_BCs() 11 0.006608 0.006608 0.006608 0.75% MLMG::computeResidual() 82 0.006236 0.006236 0.006236 0.71% Castro::reset_internal_energy(MultiFab) 63 0.005893 0.005893 0.005893 0.67% MLCellLinOp::defineBC() 11 0.00502 0.00502 0.00502 0.57% BndryData::define() 11 0.004798 0.004798 0.004798 0.55% MLMG::prepareForSolve() 11 0.004735 0.004735 0.004735 0.54% FabArray::LinComb() 557 0.00457 0.00457 0.00457 0.52% Castro::estTimeStep() 21 0.004514 0.004514 0.004514 0.51% amrex::Add() 164 0.004377 0.004377 0.004377 0.50% Amr::InitializeInit() 1 0.004131 0.004131 0.004131 0.47% Amr::defBaseLevel() 1 0.004127 0.004127 0.004127 0.47% Castro::initData() 1 0.003614 0.003614 0.003614 0.41% Castro::construct_new_source() 50 0.003314 0.003314 0.003314 0.38% Castro::construct_new_gravity_source() 10 0.003296 0.003296 0.003296 0.38% Castro::construct_old_source() 50 0.002515 0.002515 0.002515 0.29% Castro::construct_old_gravity_source() 10 0.002497 0.002497 0.002497 0.28% MLMG::ResNormInf() 93 0.002104 0.002104 0.002104 0.24% Castro::computeNewDt() 9 0.001909 0.001909 0.001909 0.22% Castro::apply_source_to_state() 20 0.001817 0.001817 0.001817 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001713 0.001713 0.001713 0.20% Castro::reset_internal_energy(Fab) 504 0.001559 0.001559 0.001559 0.18% FabArrayBase::getCPC() 1323 0.001459 0.001459 0.001459 0.17% MLCellLinOp::setLevelBC() 11 0.001403 0.001403 0.001403 0.16% MLMG::getGradSolution() 11 0.001393 0.001393 0.001393 0.16% MLCellLinOp::compGrad() 11 0.001387 0.001387 0.001387 0.16% FabArray::mult() 43 0.001323 0.001323 0.001323 0.15% FabArray::setDomainBndry() 41 0.001292 0.001292 0.001292 0.15% Castro::check_for_nan() 20 0.001212 0.001212 0.001212 0.14% MultiFab::contains_nan() 20 0.001201 0.001201 0.001201 0.14% Castro::enforce_speed_limit() 62 0.001191 0.001191 0.001191 0.14% MLPoisson::prepareForSolve() 11 0.001143 0.001143 0.001143 0.13% Castro::post_regrid() 1 0.001131 0.001131 0.001131 0.13% MLCellLinOp::prepareForSolve() 11 0.00113 0.00113 0.00113 0.13% MLMG::computeMLResidual() 11 0.001031 0.001031 0.001031 0.12% Castro::computeInitialDt() 2 0.0009551 0.0009551 0.0009551 0.11% Gravity::update_max_rhs() 11 0.0008348 0.0008348 0.0008348 0.10% Castro::create_source_corrector() 10 0.0007795 0.0007795 0.0007795 0.09% FabArrayBase::CPC::define() 454 0.0007085 0.0007085 0.0007085 0.08% FabArrayBase::getFB() 4023 0.0006898 0.0006898 0.0006898 0.08% Castro::finalize_advance() 10 0.0006421 0.0006421 0.0006421 0.07% Amr::InitAmr() 1 0.0004813 0.0004813 0.0004813 0.05% MLLinOp::define() 11 0.000451 0.000451 0.000451 0.05% Castro::Castro() 1 0.0004439 0.0004439 0.0004439 0.05% Gravity::swapTimeLevels() 10 0.0004425 0.0004425 0.0004425 0.05% MLLinOp::defineGrids() 11 0.0004407 0.0004407 0.0004407 0.05% MLMG::MLResNormInf() 11 0.0002879 0.0002879 0.0002879 0.03% MultiFab::max() 11 0.0002632 0.0002632 0.0002632 0.03% MLMG::MLRhsNormInf() 11 0.000229 0.000229 0.000229 0.03% Castro::buildMetrics() 1 0.00017 0.00017 0.00017 0.02% FabArrayBase::FB::FB() 56 9.026e-05 9.026e-05 9.026e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.252e-05 5.252e-05 5.252e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.669e-05 4.669e-05 4.669e-05 0.01% Castro::finalize_do_advance() 10 4.128e-05 4.128e-05 4.128e-05 0.00% Castro::swap_state_time_levels() 10 3.997e-05 3.997e-05 3.997e-05 0.00% makeSFC 55 3.897e-05 3.897e-05 3.897e-05 0.00% StateData::define() 4 3.729e-05 3.729e-05 3.729e-05 0.00% Castro::enforce_consistent_e() 1 3.393e-05 3.393e-05 3.393e-05 0.00% Amr::writeSmallPlotFile() 1 2.574e-05 2.574e-05 2.574e-05 0.00% Castro::initMFs() 1 2.471e-05 2.471e-05 2.471e-05 0.00% DistributionMapping::Distribute() 56 1.518e-05 1.518e-05 1.518e-05 0.00% Amr::initSubcycle() 1 8.561e-06 8.561e-06 8.561e-06 0.00% AmrLevel::checkPointPost() 3 4.252e-06 4.252e-06 4.252e-06 0.00% Gravity::set_mass_offset() 11 4.081e-06 4.081e-06 4.081e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.847e-06 3.847e-06 3.847e-06 0.00% Castro::retry_advance_ctu() 10 3.813e-06 3.813e-06 3.813e-06 0.00% Castro::FluxRegCrseInit 10 2.788e-06 2.788e-06 2.788e-06 0.00% Castro::FluxRegFineAdd() 10 2.326e-06 2.326e-06 2.326e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.056e-06 2.056e-06 2.056e-06 0.00% AmrLevel::checkPointPre() 3 1.827e-06 1.827e-06 1.827e-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 93 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 110 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 1131 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2512 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 660 660 3609 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 208 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7525 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1824 B 2048 KiB Gravity::solve_for_phi() 80 80 570 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 329 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 2505 B 480 KiB VisMF::Write(FabArray) 656 656 3446 B 320 KiB Castro::normalize_species() 62 62 5978 B 320 KiB amrex::average_down 1067 1067 1281 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1182 B 257 KiB amrex::Dot() 1360 1360 3496 B 160 KiB FabArray::norminf() 907 907 2436 B 160 KiB Castro::do_advance_ctu() 10 10 487 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3529 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 303 B 9648 B MLCellLinOp::applyBC() 8866 8866 228 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3821 B 6144 B StateData::FillBoundary(geom) 1992 1992 54 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 122 B 1472 B MLCellLinOp::defineBC() 66 66 371 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 594 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 623 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3529 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 302 B 9648 B MLCellLinOp::applyBC() 4433 4433 226 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3821 B 6144 B Gravity::get_new_grav_vector() 3 3 2904 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 54 B 2784 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 300 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 18 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-16-g5f8030af0ddf) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-16-g5f8030af0ddf) initialized Starting run at 09:20:01 UTC on 2023-03-21. Successfully read inputs file ... Castro git describe: 23.03-9-ge8cab45ef AMReX git describe: 23.03-16-g5f8030af0 Microphysics git describe: 23.03-19-gd6c98ffe reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.490274328 Restart time = 0.0445716 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.050901431 [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.05380734 [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.057677369 [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.058433339 [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.070005354 [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.033110175 seconds Ending run at 09:20:02 UTC on 2023-03-21. Run time = 0.369500677 Run time without initialization = 0.32434018 Average number of zones advanced per microsecond: 4.041 Average number of zones advanced per microsecond per rank: 4.041 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3695 ... 0.3695 ... 0.3695 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1080 0.1080 0.1080 29.22% VisMF::Read() 3 0.03837 0.03837 0.03837 10.38% MLCellLinOp::applyBC() 1946 0.03312 0.03312 0.03312 8.96% VisMF::Write(FabArray) 1 0.03154 0.03154 0.03154 8.53% MLPoisson::Fsmooth() 1440 0.01396 0.01396 0.01396 3.78% FillBoundary_nowait() 1766 0.01269 0.01269 0.01269 3.44% StateData::FillBoundary(geom) 160 0.01209 0.01209 0.01209 3.27% Castro::normalize_species() 30 0.008994 0.008994 0.008994 2.43% amrex::Dot() 484 0.008771 0.008771 0.008771 2.37% amrex::Copy() 463 0.006976 0.006976 0.006976 1.89% Castro::computeTemp() 30 0.006413 0.006413 0.006413 1.74% FabArray::setVal() 537 0.006241 0.006241 0.006241 1.69% FabArray::norminf() 326 0.006201 0.006201 0.006201 1.68% FabArray::ParallelCopy_nowait() 380 0.006057 0.006057 0.006057 1.64% StateDataPhysBCFunct::() 20 0.005543 0.005543 0.005543 1.50% MLCellLinOp::defineAuxData() 6 0.005243 0.005243 0.005243 1.42% MLPoisson::Fapply() 500 0.004442 0.004442 0.004442 1.20% FabArray::Saxpy() 355 0.003635 0.003635 0.003635 0.98% FabArray::Xpay() 361 0.003491 0.003491 0.003491 0.94% MLMG::addInterpCorrection() 180 0.002975 0.002975 0.002975 0.81% Castro::enforce_min_density() 30 0.002761 0.002761 0.002761 0.75% Gravity::fill_multipole_BCs() 6 0.002724 0.002724 0.002724 0.74% amrex::average_down 180 0.002589 0.002589 0.002589 0.70% Castro::estTimeStep() 10 0.002564 0.002564 0.002564 0.69% Amr::restart() 1 0.002479 0.002479 0.002479 0.67% Castro::enforce_speed_limit() 30 0.002111 0.002111 0.002111 0.57% BndryData::define() 6 0.00204 0.00204 0.00204 0.55% Castro::reset_internal_energy(MultiFab) 30 0.001939 0.001939 0.001939 0.52% FabArray::LinComb() 242 0.001933 0.001933 0.001933 0.52% amrex::Add() 72 0.001847 0.001847 0.001847 0.50% Castro::construct_new_gravity_source() 5 0.001713 0.001713 0.001713 0.46% Castro::do_advance_ctu() 5 0.001604 0.001604 0.001604 0.43% Amr::writePlotFile() 1 0.001401 0.001401 0.001401 0.38% Castro::construct_old_gravity_source() 5 0.001324 0.001324 0.001324 0.36% MLCGSolver::bicgstab 36 0.0009627 0.0009627 0.0009627 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009337 0.0009337 0.0009337 0.25% Castro::reset_internal_energy(Fab) 240 0.000883 0.000883 0.000883 0.24% Castro::subcycle_advance_ctu() 5 0.0008438 0.0008438 0.0008438 0.23% Castro::computeNewDt() 5 0.0007942 0.0007942 0.0007942 0.21% Gravity::actual_solve_with_mlmg() 6 0.000774 0.000774 0.000774 0.21% MLCellLinOp::setLevelBC() 6 0.0007534 0.0007534 0.0007534 0.20% FabArray::mult() 22 0.0006485 0.0006485 0.0006485 0.18% FabArray::setDomainBndry() 20 0.0006323 0.0006323 0.0006323 0.17% MLCellLinOp::prepareForSolve() 6 0.0006073 0.0006073 0.0006073 0.16% MultiFab::contains_nan() 10 0.0005949 0.0005949 0.0005949 0.16% MLCellLinOp::smooth() 720 0.0004956 0.0004956 0.0004956 0.13% MLCellLinOp::compGrad() 6 0.0004895 0.0004895 0.0004895 0.13% MLMG::prepareForSolve() 6 0.0004796 0.0004796 0.0004796 0.13% Amr::InitAmr() 1 0.000415 0.000415 0.000415 0.11% FabArrayBase::CPC::define() 244 0.0004118 0.0004118 0.0004118 0.11% FabArray::FillBoundary() 1766 0.0003503 0.0003503 0.0003503 0.09% FabArrayBase::getCPC() 632 0.0003464 0.0003464 0.0003464 0.09% Gravity::get_old_grav_vector() 5 0.0003425 0.0003425 0.0003425 0.09% Gravity::get_new_grav_vector() 5 0.0002832 0.0002832 0.0002832 0.08% main() 1 0.0002696 0.0002696 0.0002696 0.07% FabArrayBase::getFB() 1766 0.0002486 0.0002486 0.0002486 0.07% MLCellLinOp::apply() 500 0.0002106 0.0002106 0.0002106 0.06% MLLinOp::defineGrids() 6 0.0001975 0.0001975 0.0001975 0.05% Amr::coarseTimeStep() 5 0.0001694 0.0001694 0.0001694 0.05% MLMG::mgVcycle() 36 0.0001548 0.0001548 0.0001548 0.04% MultiFab::max() 6 0.0001379 0.0001379 0.0001379 0.04% MLCGSolver::ParallelAllReduce 659 0.0001285 0.0001285 0.0001285 0.03% Castro::finalize_advance() 5 0.0001185 0.0001185 0.0001185 0.03% MLCellLinOp::defineBC() 6 0.000117 0.000117 0.000117 0.03% FillPatchIterator::Initialize 20 0.0001131 0.0001131 0.0001131 0.03% FabArray::ParallelCopy() 380 0.0001071 0.0001071 0.0001071 0.03% Castro::construct_new_source() 25 9.917e-05 9.917e-05 9.917e-05 0.03% MLCellLinOp::correctionResidual() 216 9.289e-05 9.289e-05 9.289e-05 0.03% AmrLevel::restart() 1 7.898e-05 7.898e-05 7.898e-05 0.02% Amr::timeStep() 5 7.787e-05 7.787e-05 7.787e-05 0.02% StateData::restartDoit() 4 6.562e-05 6.562e-05 6.562e-05 0.02% FabArrayBase::FB::FB() 26 6.133e-05 6.133e-05 6.133e-05 0.02% Gravity::update_max_rhs() 6 6.075e-05 6.075e-05 6.075e-05 0.02% Gravity::solve_for_phi() 5 5.569e-05 5.569e-05 5.569e-05 0.02% Castro::construct_new_gravity() 5 5.308e-05 5.308e-05 5.308e-05 0.01% MLMG:computeResOfCorrection() 180 5.225e-05 5.225e-05 5.225e-05 0.01% Castro::advance() 5 5.186e-05 5.186e-05 5.186e-05 0.01% Castro::post_timestep() 5 4.478e-05 4.478e-05 4.478e-05 0.01% MLMG::mgVcycle_down::0 36 4.145e-05 4.145e-05 4.145e-05 0.01% Castro::expand_state() 5 4.083e-05 4.083e-05 4.083e-05 0.01% Castro::clean_state() 30 3.991e-05 3.991e-05 3.991e-05 0.01% MLMG::actualBottomSolve() 36 3.894e-05 3.894e-05 3.894e-05 0.01% MLMG::mgVcycle_down::1 36 3.714e-05 3.714e-05 3.714e-05 0.01% MLMG::solve() 6 3.468e-05 3.468e-05 3.468e-05 0.01% MLMG::mgVcycle_down::2 36 3.451e-05 3.451e-05 3.451e-05 0.01% Castro::initialize_advance() 5 3.429e-05 3.429e-05 3.429e-05 0.01% MLMG::mgVcycle_down::4 36 3.36e-05 3.36e-05 3.36e-05 0.01% MLMG::mgVcycle_down::3 36 3.298e-05 3.298e-05 3.298e-05 0.01% MLMG::mgVcycle_up::4 36 2.957e-05 2.957e-05 2.957e-05 0.01% Castro::initMFs() 1 2.736e-05 2.736e-05 2.736e-05 0.01% Castro::buildMetrics() 1 2.621e-05 2.621e-05 2.621e-05 0.01% Amr::writeSmallPlotFile() 1 2.595e-05 2.595e-05 2.595e-05 0.01% Castro::initialize_do_advance() 5 2.583e-05 2.583e-05 2.583e-05 0.01% MLMG::mgVcycle_up::0 36 2.435e-05 2.435e-05 2.435e-05 0.01% Castro::swap_state_time_levels() 5 2.266e-05 2.266e-05 2.266e-05 0.01% MLMG::mgVcycle_up::3 36 2.264e-05 2.264e-05 2.264e-05 0.01% MLCellLinOp::solutionResidual() 42 2.242e-05 2.242e-05 2.242e-05 0.01% MLMG::mgVcycle_up::2 36 2.198e-05 2.198e-05 2.198e-05 0.01% MLMG::oneIter() 36 2.192e-05 2.192e-05 2.192e-05 0.01% MLMG::mgVcycle_up::1 36 2.108e-05 2.108e-05 2.108e-05 0.01% Castro::finalize_do_advance() 5 1.971e-05 1.971e-05 1.971e-05 0.01% Castro::post_restart() 1 1.969e-05 1.969e-05 1.969e-05 0.01% MLMG::ResNormInf() 42 1.721e-05 1.721e-05 1.721e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.52e-05 1.52e-05 1.52e-05 0.00% MLMG::mgVcycle_bottom 36 1.454e-05 1.454e-05 1.454e-05 0.00% FillPatchSingleLevel 20 1.427e-05 1.427e-05 1.427e-05 0.00% MLMG::computeResidual() 36 1.391e-05 1.391e-05 1.391e-05 0.00% MLPoisson::define() 6 1.357e-05 1.357e-05 1.357e-05 0.00% makeSFC 30 1.307e-05 1.307e-05 1.307e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.166e-05 1.166e-05 1.166e-05 0.00% Castro::construct_old_source() 25 1.102e-05 1.102e-05 1.102e-05 0.00% Castro::do_new_sources() 5 9.409e-06 9.409e-06 9.409e-06 0.00% Amr::initSubcycle() 1 9.033e-06 9.033e-06 9.033e-06 0.00% MLPoisson::prepareForSolve() 6 8.987e-06 8.987e-06 8.987e-06 0.00% DistributionMapping::Distribute() 31 8.916e-06 8.916e-06 8.916e-06 0.00% Gravity::actual_multilevel_solve() 1 8.136e-06 8.136e-06 8.136e-06 0.00% Castro::do_old_sources() 5 8.125e-06 8.125e-06 8.125e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.214e-06 7.214e-06 7.214e-06 0.00% Castro::check_for_nan() 10 6.09e-06 6.09e-06 6.09e-06 0.00% MLLinOp::define() 6 6.086e-06 6.086e-06 6.086e-06 0.00% Castro::apply_source_to_state() 10 5.578e-06 5.578e-06 5.578e-06 0.00% Castro::construct_old_gravity() 5 5.107e-06 5.107e-06 5.107e-06 0.00% Gravity::swapTimeLevels() 5 3.924e-06 3.924e-06 3.924e-06 0.00% MLMG::computeMLResidual() 6 3.608e-06 3.608e-06 3.608e-06 0.00% MLMG::getGradSolution() 6 3.148e-06 3.148e-06 3.148e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.09e-06 3.09e-06 3.09e-06 0.00% Castro::create_source_corrector() 5 2.853e-06 2.853e-06 2.853e-06 0.00% Gravity::set_mass_offset() 6 2.407e-06 2.407e-06 2.407e-06 0.00% MLMG::MLResNormInf() 6 2.256e-06 2.256e-06 2.256e-06 0.00% MLMG::MLRhsNormInf() 6 2.099e-06 2.099e-06 2.099e-06 0.00% Castro::FluxRegCrseInit 5 1.737e-06 1.737e-06 1.737e-06 0.00% Castro::retry_advance_ctu() 5 1.726e-06 1.726e-06 1.726e-06 0.00% Castro::FluxRegFineAdd() 5 1.12e-06 1.12e-06 1.12e-06 0.00% Amr::init() 1 1.104e-06 1.104e-06 1.104e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.081e-06 1.081e-06 1.081e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3695 0.3695 0.3695 100.00% Amr::coarseTimeStep() 5 0.291 0.291 0.291 78.75% Amr::timeStep() 5 0.2885 0.2885 0.2885 78.07% Castro::advance() 5 0.2836 0.2836 0.2836 76.75% Castro::subcycle_advance_ctu() 5 0.2763 0.2763 0.2763 74.77% Castro::do_advance_ctu() 5 0.2754 0.2754 0.2754 74.54% Castro::construct_new_gravity() 5 0.1293 0.1293 0.1293 34.98% Gravity::solve_phi_with_mlmg() 6 0.1243 0.1243 0.1243 33.63% Gravity::actual_solve_with_mlmg() 6 0.1213 0.1213 0.1213 32.83% Gravity::solve_for_phi() 5 0.1213 0.1213 0.1213 32.81% MLMG::solve() 6 0.1101 0.1101 0.1101 29.78% Castro::construct_ctu_hydro_source() 5 0.108 0.108 0.108 29.22% MLMG::oneIter() 36 0.1032 0.1032 0.1032 27.93% MLMG::mgVcycle() 36 0.1017 0.1017 0.1017 27.52% MLCellLinOp::smooth() 720 0.04969 0.04969 0.04969 13.45% MLCellLinOp::applyBC() 1946 0.04647 0.04647 0.04647 12.58% Amr::init() 1 0.04461 0.04461 0.04461 12.07% Amr::restart() 1 0.04461 0.04461 0.04461 12.07% AmrLevel::restart() 1 0.03858 0.03858 0.03858 10.44% StateData::restartDoit() 4 0.03849 0.03849 0.03849 10.42% VisMF::Read() 3 0.03837 0.03837 0.03837 10.38% Amr::writePlotFile() 1 0.03319 0.03319 0.03319 8.98% MLMG::mgVcycle_bottom 36 0.03158 0.03158 0.03158 8.55% MLMG::actualBottomSolve() 36 0.03156 0.03156 0.03156 8.54% VisMF::Write(FabArray) 1 0.03154 0.03154 0.03154 8.53% MLCGSolver::bicgstab 36 0.03126 0.03126 0.03126 8.46% Castro::clean_state() 30 0.02314 0.02314 0.02314 6.26% FillPatchIterator::Initialize 20 0.02043 0.02043 0.02043 5.53% FillPatchSingleLevel 20 0.01968 0.01968 0.01968 5.33% StateDataPhysBCFunct::() 20 0.01764 0.01764 0.01764 4.77% MLCellLinOp::apply() 500 0.01562 0.01562 0.01562 4.23% MLMG::mgVcycle_down::0 36 0.01426 0.01426 0.01426 3.86% MLPoisson::Fsmooth() 1440 0.01396 0.01396 0.01396 3.78% FabArray::FillBoundary() 1766 0.01335 0.01335 0.01335 3.61% FillBoundary_nowait() 1766 0.013 0.013 0.013 3.52% StateData::FillBoundary(geom) 160 0.01209 0.01209 0.01209 3.27% MLMG::mgVcycle_up::0 36 0.01074 0.01074 0.01074 2.91% MLCellLinOp::correctionResidual() 216 0.009477 0.009477 0.009477 2.56% Castro::computeTemp() 30 0.009236 0.009236 0.009236 2.50% Castro::initialize_do_advance() 5 0.009074 0.009074 0.009074 2.46% Castro::normalize_species() 30 0.008994 0.008994 0.008994 2.43% MLPoisson::define() 6 0.008962 0.008962 0.008962 2.43% amrex::Dot() 484 0.008771 0.008771 0.008771 2.37% MLMG:computeResOfCorrection() 180 0.008329 0.008329 0.008329 2.25% Gravity::get_new_grav_vector() 5 0.007847 0.007847 0.007847 2.12% Castro::construct_old_gravity() 5 0.007494 0.007494 0.007494 2.03% Gravity::get_old_grav_vector() 5 0.007489 0.007489 0.007489 2.03% Castro::do_new_sources() 5 0.007213 0.007213 0.007213 1.95% amrex::Copy() 463 0.006976 0.006976 0.006976 1.89% Castro::initialize_advance() 5 0.00689 0.00689 0.00689 1.86% MLMG::mgVcycle_down::1 36 0.006788 0.006788 0.006788 1.84% FabArray::ParallelCopy() 380 0.00654 0.00654 0.00654 1.77% FabArray::ParallelCopy_nowait() 380 0.006433 0.006433 0.006433 1.74% MLMG::mgVcycle_down::2 36 0.006359 0.006359 0.006359 1.72% FabArray::setVal() 537 0.006241 0.006241 0.006241 1.69% FabArray::norminf() 326 0.006201 0.006201 0.006201 1.68% MLMG::mgVcycle_down::3 36 0.006161 0.006161 0.006161 1.67% MLMG::mgVcycle_down::4 36 0.006114 0.006114 0.006114 1.65% MLCellLinOp::defineAuxData() 6 0.005987 0.005987 0.005987 1.62% Castro::expand_state() 5 0.00575 0.00575 0.00575 1.56% MLCGSolver::ParallelAllReduce 659 0.005283 0.005283 0.005283 1.43% MLMG::addInterpCorrection() 180 0.005211 0.005211 0.005211 1.41% MLMG::mgVcycle_up::4 36 0.005008 0.005008 0.005008 1.36% MLMG::mgVcycle_up::1 36 0.004928 0.004928 0.004928 1.33% amrex::average_down 180 0.00486 0.00486 0.00486 1.32% MLMG::mgVcycle_up::2 36 0.004841 0.004841 0.004841 1.31% Castro::post_timestep() 5 0.004802 0.004802 0.004802 1.30% Castro::do_old_sources() 5 0.004762 0.004762 0.004762 1.29% MLMG::mgVcycle_up::3 36 0.004756 0.004756 0.004756 1.29% MLPoisson::Fapply() 500 0.004442 0.004442 0.004442 1.20% FabArray::Saxpy() 355 0.003635 0.003635 0.003635 0.98% FabArray::Xpay() 361 0.003491 0.003491 0.003491 0.94% Castro::post_restart() 1 0.00338 0.00338 0.00338 0.91% Gravity::multilevel_solve_for_new_phi() 1 0.003271 0.003271 0.003271 0.89% Gravity::actual_multilevel_solve() 1 0.003256 0.003256 0.003256 0.88% MLCellLinOp::solutionResidual() 42 0.003211 0.003211 0.003211 0.87% Gravity::fill_multipole_BCs() 6 0.002876 0.002876 0.002876 0.78% Castro::reset_internal_energy(MultiFab) 30 0.002822 0.002822 0.002822 0.76% Castro::enforce_min_density() 30 0.002761 0.002761 0.002761 0.75% MLCellLinOp::defineBC() 6 0.002728 0.002728 0.002728 0.74% MLMG::computeResidual() 36 0.002657 0.002657 0.002657 0.72% BndryData::define() 6 0.002611 0.002611 0.002611 0.71% Castro::estTimeStep() 10 0.002564 0.002564 0.002564 0.69% MLMG::prepareForSolve() 6 0.002524 0.002524 0.002524 0.68% Castro::computeNewDt() 5 0.002332 0.002332 0.002332 0.63% Castro::enforce_speed_limit() 30 0.002111 0.002111 0.002111 0.57% FabArray::LinComb() 242 0.001933 0.001933 0.001933 0.52% amrex::Add() 72 0.001847 0.001847 0.001847 0.50% Castro::construct_new_source() 25 0.001812 0.001812 0.001812 0.49% Castro::construct_new_gravity_source() 5 0.001713 0.001713 0.001713 0.46% Castro::construct_old_source() 25 0.001335 0.001335 0.001335 0.36% Castro::construct_old_gravity_source() 5 0.001324 0.001324 0.001324 0.36% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009337 0.0009337 0.0009337 0.25% Castro::apply_source_to_state() 10 0.0009237 0.0009237 0.0009237 0.25% MLMG::ResNormInf() 42 0.0009219 0.0009219 0.0009219 0.25% Castro::reset_internal_energy(Fab) 240 0.000883 0.000883 0.000883 0.24% FabArrayBase::getCPC() 632 0.0007582 0.0007582 0.0007582 0.21% MLMG::getGradSolution() 6 0.0007556 0.0007556 0.0007556 0.20% MLCellLinOp::setLevelBC() 6 0.0007534 0.0007534 0.0007534 0.20% MLCellLinOp::compGrad() 6 0.0007525 0.0007525 0.0007525 0.20% FabArray::mult() 22 0.0006485 0.0006485 0.0006485 0.18% FabArray::setDomainBndry() 20 0.0006323 0.0006323 0.0006323 0.17% MLPoisson::prepareForSolve() 6 0.0006163 0.0006163 0.0006163 0.17% MLCellLinOp::prepareForSolve() 6 0.0006073 0.0006073 0.0006073 0.16% Castro::check_for_nan() 10 0.000601 0.000601 0.000601 0.16% MultiFab::contains_nan() 10 0.0005949 0.0005949 0.0005949 0.16% MLMG::computeMLResidual() 6 0.0005715 0.0005715 0.0005715 0.15% Gravity::update_max_rhs() 6 0.0004466 0.0004466 0.0004466 0.12% Amr::InitAmr() 1 0.000424 0.000424 0.000424 0.11% FabArrayBase::CPC::define() 244 0.0004118 0.0004118 0.0004118 0.11% Castro::finalize_advance() 5 0.0003783 0.0003783 0.0003783 0.10% FabArrayBase::getFB() 1766 0.0003099 0.0003099 0.0003099 0.08% Gravity::swapTimeLevels() 5 0.000233 0.000233 0.000233 0.06% MLLinOp::define() 6 0.0002326 0.0002326 0.0002326 0.06% MLLinOp::defineGrids() 6 0.0002265 0.0002265 0.0002265 0.06% MLMG::MLResNormInf() 6 0.0001515 0.0001515 0.0001515 0.04% Castro::buildMetrics() 1 0.0001489 0.0001489 0.0001489 0.04% MultiFab::max() 6 0.0001379 0.0001379 0.0001379 0.04% MLMG::MLRhsNormInf() 6 0.0001172 0.0001172 0.0001172 0.03% FabArrayBase::FB::FB() 26 6.133e-05 6.133e-05 6.133e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.794e-05 2.794e-05 2.794e-05 0.01% Castro::initMFs() 1 2.736e-05 2.736e-05 2.736e-05 0.01% Amr::writeSmallPlotFile() 1 2.595e-05 2.595e-05 2.595e-05 0.01% Castro::swap_state_time_levels() 5 2.266e-05 2.266e-05 2.266e-05 0.01% makeSFC 30 2.073e-05 2.073e-05 2.073e-05 0.01% Castro::finalize_do_advance() 5 1.971e-05 1.971e-05 1.971e-05 0.01% Amr::initSubcycle() 1 9.033e-06 9.033e-06 9.033e-06 0.00% DistributionMapping::Distribute() 31 8.916e-06 8.916e-06 8.916e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.351e-06 4.351e-06 4.351e-06 0.00% Castro::create_source_corrector() 5 2.853e-06 2.853e-06 2.853e-06 0.00% Gravity::set_mass_offset() 6 2.407e-06 2.407e-06 2.407e-06 0.00% Castro::FluxRegCrseInit 5 1.737e-06 1.737e-06 1.737e-06 0.00% Castro::retry_advance_ctu() 5 1.726e-06 1.726e-06 1.726e-06 0.00% Castro::FluxRegFineAdd() 5 1.12e-06 1.12e-06 1.12e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.081e-06 1.081e-06 1.081e-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 229 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 129 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1202 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2515 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6716 KiB 14 MiB MLMG::prepareForSolve() 361 361 3656 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 208 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 217 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6711 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 11 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2336 B 2048 KiB Gravity::solve_for_phi() 40 40 670 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 336 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 216 KiB 671 KiB Castro::estTimeStep() 10 10 3187 B 480 KiB VisMF::Write(FabArray) 112 112 1346 B 320 KiB Castro::normalize_species() 30 30 7915 B 320 KiB amrex::average_down 469 469 1273 B 257 KiB MLMG::addInterpCorrection() 468 468 1202 B 257 KiB amrex::Dot() 592 592 3494 B 160 KiB FabArray::norminf() 398 398 2466 B 160 KiB Castro::do_advance_ctu() 5 5 657 B 160 KiB MultiFab::max() 6 6 57 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3556 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 298 B 9648 B MLCellLinOp::applyBC() 3892 3892 232 B 9344 B amrex::Copy() 56 56 5972 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 50 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 122 B 1472 B MLCellLinOp::defineBC() 36 36 378 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1303 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 117 KiB 8192 KiB VisMF::Write(FabArray) 120 120 263 KiB 3584 KiB VisMF::Read() 24 24 202 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3556 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 298 B 9648 B MLCellLinOp::applyBC() 1946 1946 230 B 9328 B amrex::Copy() 56 56 5972 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2646 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 50 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 543 B 1296 B amrex::average_down 37 37 223 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 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-16-g5f8030af0ddf) finalized