Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-14-g81e1ac377d54) initialized Starting run at 07:36:08 UTC on 2023-05-16. Successfully read inputs file ... Castro git describe: 23.05-7-gb73e45af4 AMReX git describe: 23.05-14-g81e1ac377 Microphysics git describe: 23.05-4-g0685d31f 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.05761668 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032955672 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047362758 [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.049057725 [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.045875214 [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.056775912 [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.067380939 [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.057000047 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.074101045 [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.059831059 [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.062993989 [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.068062694 [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.069453705 [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.058068139 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.03332478 seconds Ending run at 07:36:09 UTC on 2023-05-16. Run time = 0.888682505 Run time without initialization = 0.749945615 Average number of zones advanced per microsecond: 3.496 Average number of zones advanced per microsecond per rank: 3.496 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8887 ... 0.8887 ... 0.8887 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2438 0.2438 0.2438 27.43% VisMF::Write(FabArray) 11 0.2321 0.2321 0.2321 26.12% MLCellLinOp::applyBC() 4433 0.07602 0.07602 0.07602 8.55% MLPoisson::Fsmooth() 3280 0.03152 0.03152 0.03152 3.55% FillBoundary_nowait() 4023 0.03077 0.03077 0.03077 3.46% StateData::FillBoundary(geom) 328 0.02406 0.02406 0.02406 2.71% amrex::Dot() 1114 0.01982 0.01982 0.01982 2.23% Castro::normalize_species() 62 0.01559 0.01559 0.01559 1.75% Castro::computeTemp() 63 0.0149 0.0149 0.0149 1.68% amrex::Copy() 1029 0.01446 0.01446 0.01446 1.63% FabArray::norminf() 743 0.01398 0.01398 0.01398 1.57% FabArray::ParallelCopy_nowait() 861 0.01309 0.01309 0.01309 1.47% FabArray::setVal() 1144 0.01276 0.01276 0.01276 1.44% Castro::enforce_min_density() 62 0.0127 0.0127 0.0127 1.43% StateDataPhysBCFunct::() 41 0.01257 0.01257 0.01257 1.41% MLPoisson::Fapply() 1142 0.01001 0.01001 0.01001 1.13% MLCellLinOp::defineAuxData() 11 0.00934 0.00934 0.00934 1.05% FabArray::Saxpy() 813 0.007926 0.007926 0.007926 0.89% FabArray::Xpay() 821 0.007765 0.007765 0.007765 0.87% MLMG::addInterpCorrection() 410 0.006502 0.006502 0.006502 0.73% Gravity::fill_multipole_BCs() 11 0.006472 0.006472 0.006472 0.73% amrex::average_down 410 0.005835 0.005835 0.005835 0.66% Castro::estTimeStep() 21 0.004821 0.004821 0.004821 0.54% FabArray::LinComb() 557 0.004351 0.004351 0.004351 0.49% amrex::Add() 164 0.004325 0.004325 0.004325 0.49% Castro::reset_internal_energy(MultiFab) 63 0.004287 0.004287 0.004287 0.48% Amr::checkPoint() 3 0.004032 0.004032 0.004032 0.45% BndryData::define() 11 0.003548 0.003548 0.003548 0.40% Castro::construct_new_gravity_source() 10 0.003289 0.003289 0.003289 0.37% Castro::do_advance_ctu() 10 0.003097 0.003097 0.003097 0.35% Castro::construct_old_gravity_source() 10 0.002736 0.002736 0.002736 0.31% Amr::writePlotFile() 2 0.002356 0.002356 0.002356 0.27% MLCGSolver::bicgstab 82 0.00212 0.00212 0.00212 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001652 0.001652 0.001652 0.19% Castro::reset_internal_energy(Fab) 504 0.001497 0.001497 0.001497 0.17% Gravity::actual_solve_with_mlmg() 11 0.00148 0.00148 0.00148 0.17% MLCellLinOp::setLevelBC() 11 0.001359 0.001359 0.001359 0.15% FabArray::mult() 43 0.001313 0.001313 0.001313 0.15% FabArray::setDomainBndry() 41 0.001282 0.001282 0.001282 0.14% Castro::enforce_speed_limit() 62 0.001235 0.001235 0.001235 0.14% Castro::initData() 1 0.001235 0.001235 0.001235 0.14% MultiFab::contains_nan() 20 0.001202 0.001202 0.001202 0.14% MLCellLinOp::prepareForSolve() 11 0.001108 0.001108 0.001108 0.12% MLCellLinOp::smooth() 1640 0.001003 0.001003 0.001003 0.11% MLCellLinOp::compGrad() 11 0.0008964 0.0008964 0.0008964 0.10% MLMG::prepareForSolve() 11 0.0008698 0.0008698 0.0008698 0.10% FabArray::FillBoundary() 4023 0.0007921 0.0007921 0.0007921 0.09% Castro::subcycle_advance_ctu() 10 0.0007387 0.0007387 0.0007387 0.08% FabArrayBase::getCPC() 1323 0.0007283 0.0007283 0.0007283 0.08% FabArrayBase::CPC::define() 454 0.0006921 0.0006921 0.0006921 0.08% Gravity::get_new_grav_vector() 11 0.0006319 0.0006319 0.0006319 0.07% FabArrayBase::getFB() 4023 0.0005767 0.0005767 0.0005767 0.06% Gravity::get_old_grav_vector() 10 0.0005361 0.0005361 0.0005361 0.06% Amr::InitAmr() 1 0.0004582 0.0004582 0.0004582 0.05% MLCellLinOp::apply() 1142 0.0004197 0.0004197 0.0004197 0.05% MLLinOp::defineGrids() 11 0.0003788 0.0003788 0.0003788 0.04% Amr::coarseTimeStep() 10 0.000376 0.000376 0.000376 0.04% MLMG::mgVcycle() 82 0.0003471 0.0003471 0.0003471 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002899 0.0002899 0.0002899 0.03% main() 1 0.0002819 0.0002819 0.0002819 0.03% MultiFab::max() 11 0.0002561 0.0002561 0.0002561 0.03% FabArray::ParallelCopy() 861 0.0002364 0.0002364 0.0002364 0.03% Castro::create_source_corrector() 10 0.0002297 0.0002297 0.0002297 0.03% FillPatchIterator::Initialize 41 0.0002282 0.0002282 0.0002282 0.03% MLCellLinOp::defineBC() 11 0.0002179 0.0002179 0.0002179 0.02% MLCellLinOp::correctionResidual() 492 0.0002083 0.0002083 0.0002083 0.02% Amr::timeStep() 10 0.000171 0.000171 0.000171 0.02% StateData::checkPoint() 12 0.0001408 0.0001408 0.0001408 0.02% MLMG:computeResOfCorrection() 410 0.0001219 0.0001219 0.0001219 0.01% Gravity::update_max_rhs() 11 0.0001193 0.0001193 0.0001193 0.01% Gravity::solve_for_phi() 10 0.0001065 0.0001065 0.0001065 0.01% MLMG::actualBottomSolve() 82 9.174e-05 9.174e-05 9.174e-05 0.01% MLMG::mgVcycle_down::0 82 8.824e-05 8.824e-05 8.824e-05 0.01% FabArrayBase::FB::FB() 56 8.694e-05 8.694e-05 8.694e-05 0.01% Castro::Castro() 1 8.304e-05 8.304e-05 8.304e-05 0.01% AmrLevel::checkPoint() 3 7.951e-05 7.951e-05 7.951e-05 0.01% Castro::expand_state() 10 7.951e-05 7.951e-05 7.951e-05 0.01% MLMG::mgVcycle_down::1 82 7.501e-05 7.501e-05 7.501e-05 0.01% MLMG::mgVcycle_down::2 82 7.407e-05 7.407e-05 7.407e-05 0.01% Castro::clean_state() 62 7.289e-05 7.289e-05 7.289e-05 0.01% MLMG::solve() 11 7.143e-05 7.143e-05 7.143e-05 0.01% Castro::initialize_advance() 10 7.117e-05 7.117e-05 7.117e-05 0.01% MLMG::mgVcycle_down::4 82 6.915e-05 6.915e-05 6.915e-05 0.01% MLMG::mgVcycle_down::3 82 6.856e-05 6.856e-05 6.856e-05 0.01% Castro::finalize_advance() 10 6.067e-05 6.067e-05 6.067e-05 0.01% Castro::advance() 10 6.02e-05 6.02e-05 6.02e-05 0.01% MLMG::mgVcycle_up::4 82 5.868e-05 5.868e-05 5.868e-05 0.01% MLMG::oneIter() 82 5.416e-05 5.416e-05 5.416e-05 0.01% Castro::initialize_do_advance() 10 5.224e-05 5.224e-05 5.224e-05 0.01% MLCellLinOp::solutionResidual() 93 4.766e-05 4.766e-05 4.766e-05 0.01% MLMG::mgVcycle_up::0 82 4.766e-05 4.766e-05 4.766e-05 0.01% MLMG::mgVcycle_up::1 82 4.67e-05 4.67e-05 4.67e-05 0.01% MLMG::mgVcycle_up::3 82 4.64e-05 4.64e-05 4.64e-05 0.01% Castro::construct_new_source() 50 4.579e-05 4.579e-05 4.579e-05 0.01% MLMG::mgVcycle_up::2 82 4.482e-05 4.482e-05 4.482e-05 0.01% Castro::enforce_consistent_e() 1 4.055e-05 4.055e-05 4.055e-05 0.00% Castro::swap_state_time_levels() 10 3.912e-05 3.912e-05 3.912e-05 0.00% Castro::finalize_do_advance() 10 3.662e-05 3.662e-05 3.662e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 3.335e-05 3.335e-05 3.335e-05 0.00% MLMG::ResNormInf() 93 3.265e-05 3.265e-05 3.265e-05 0.00% StateData::define() 4 3.186e-05 3.186e-05 3.186e-05 0.00% MLMG::mgVcycle_bottom 82 3.102e-05 3.102e-05 3.102e-05 0.00% FillPatchSingleLevel 41 2.995e-05 2.995e-05 2.995e-05 0.00% MLMG::computeResidual() 82 2.804e-05 2.804e-05 2.804e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.757e-05 2.757e-05 2.757e-05 0.00% MLPoisson::define() 11 2.616e-05 2.616e-05 2.616e-05 0.00% Castro::construct_new_gravity() 10 2.514e-05 2.514e-05 2.514e-05 0.00% Castro::initMFs() 1 2.446e-05 2.446e-05 2.446e-05 0.00% makeSFC 55 2.409e-05 2.409e-05 2.409e-05 0.00% Amr::writeSmallPlotFile() 1 2.4e-05 2.4e-05 2.4e-05 0.00% Amr::FinalizeInit() 1 2.138e-05 2.138e-05 2.138e-05 0.00% Amr::defBaseLevel() 1 1.88e-05 1.88e-05 1.88e-05 0.00% Castro::construct_old_source() 50 1.869e-05 1.869e-05 1.869e-05 0.00% Castro::buildMetrics() 1 1.746e-05 1.746e-05 1.746e-05 0.00% Castro::do_new_sources() 10 1.692e-05 1.692e-05 1.692e-05 0.00% DistributionMapping::Distribute() 56 1.623e-05 1.623e-05 1.623e-05 0.00% MLPoisson::prepareForSolve() 11 1.521e-05 1.521e-05 1.521e-05 0.00% Castro::do_old_sources() 10 1.518e-05 1.518e-05 1.518e-05 0.00% MLMG::computeMLResidual() 11 1.419e-05 1.419e-05 1.419e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.379e-05 1.379e-05 1.379e-05 0.00% MLLinOp::define() 11 1.155e-05 1.155e-05 1.155e-05 0.00% Castro::check_for_nan() 20 1.119e-05 1.119e-05 1.119e-05 0.00% Castro::apply_source_to_state() 20 1.042e-05 1.042e-05 1.042e-05 0.00% AmrLevel::AmrLevel(dm) 1 9.642e-06 9.642e-06 9.642e-06 0.00% Castro::construct_old_gravity() 10 9.324e-06 9.324e-06 9.324e-06 0.00% Amr::initSubcycle() 1 8.634e-06 8.634e-06 8.634e-06 0.00% Castro::post_timestep() 10 8.624e-06 8.624e-06 8.624e-06 0.00% Gravity::swapTimeLevels() 10 8.557e-06 8.557e-06 8.557e-06 0.00% Gravity::actual_multilevel_solve() 1 8.491e-06 8.491e-06 8.491e-06 0.00% Castro::post_init() 1 8.324e-06 8.324e-06 8.324e-06 0.00% Castro::computeNewDt() 9 6.384e-06 6.384e-06 6.384e-06 0.00% AmrLevel::checkPointPost() 3 6.004e-06 6.004e-06 6.004e-06 0.00% MLMG::getGradSolution() 11 5.672e-06 5.672e-06 5.672e-06 0.00% Amr::InitializeInit() 1 4.495e-06 4.495e-06 4.495e-06 0.00% Gravity::set_mass_offset() 11 4.328e-06 4.328e-06 4.328e-06 0.00% Castro::retry_advance_ctu() 10 4.07e-06 4.07e-06 4.07e-06 0.00% MLMG::MLRhsNormInf() 11 3.912e-06 3.912e-06 3.912e-06 0.00% MLMG::MLResNormInf() 11 3.636e-06 3.636e-06 3.636e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.605e-06 3.605e-06 3.605e-06 0.00% Castro::FluxRegCrseInit 10 2.953e-06 2.953e-06 2.953e-06 0.00% Amr::init() 1 2.582e-06 2.582e-06 2.582e-06 0.00% Castro::computeInitialDt() 2 2.41e-06 2.41e-06 2.41e-06 0.00% AmrLevel::checkPointPre() 3 2.143e-06 2.143e-06 2.143e-06 0.00% Castro::FluxRegFineAdd() 10 1.942e-06 1.942e-06 1.942e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.911e-06 1.911e-06 1.911e-06 0.00% Amr::initialInit() 1 9.09e-07 9.09e-07 9.09e-07 0.00% Castro::post_regrid() 1 8.98e-07 8.98e-07 8.98e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8887 0.8887 0.8887 100.00% Amr::coarseTimeStep() 10 0.7164 0.7164 0.7164 80.61% Amr::timeStep() 10 0.5978 0.5978 0.5978 67.27% Castro::advance() 10 0.5897 0.5897 0.5897 66.35% Castro::subcycle_advance_ctu() 10 0.5778 0.5778 0.5778 65.02% Castro::do_advance_ctu() 10 0.5771 0.5771 0.5771 64.93% Gravity::solve_phi_with_mlmg() 11 0.2771 0.2771 0.2771 31.18% Gravity::actual_solve_with_mlmg() 11 0.2702 0.2702 0.2702 30.40% Castro::construct_new_gravity() 10 0.253 0.253 0.253 28.47% MLMG::solve() 11 0.2501 0.2501 0.2501 28.14% Castro::construct_ctu_hydro_source() 10 0.2438 0.2438 0.2438 27.43% Gravity::solve_for_phi() 10 0.2375 0.2375 0.2375 26.72% MLMG::oneIter() 82 0.2361 0.2361 0.2361 26.56% MLMG::mgVcycle() 82 0.2324 0.2324 0.2324 26.15% VisMF::Write(FabArray) 11 0.2321 0.2321 0.2321 26.12% Amr::checkPoint() 3 0.1728 0.1728 0.1728 19.44% AmrLevel::checkPoint() 3 0.1688 0.1688 0.1688 18.99% StateData::checkPoint() 12 0.1687 0.1687 0.1687 18.98% Amr::init() 1 0.1381 0.1381 0.1381 15.54% MLCellLinOp::smooth() 1640 0.1152 0.1152 0.1152 12.97% MLCellLinOp::applyBC() 4433 0.1082 0.1082 0.1082 12.18% MLMG::mgVcycle_bottom 82 0.07117 0.07117 0.07117 8.01% MLMG::actualBottomSolve() 82 0.07114 0.07114 0.07114 8.00% MLCGSolver::bicgstab 82 0.07047 0.07047 0.07047 7.93% Amr::writePlotFile() 2 0.06641 0.06641 0.06641 7.47% Castro::clean_state() 62 0.04951 0.04951 0.04951 5.57% Amr::initialInit() 1 0.04745 0.04745 0.04745 5.34% Amr::FinalizeInit() 1 0.04336 0.04336 0.04336 4.88% FillPatchIterator::Initialize 41 0.0422 0.0422 0.0422 4.75% Castro::post_init() 1 0.04201 0.04201 0.04201 4.73% FillPatchSingleLevel 41 0.04069 0.04069 0.04069 4.58% Gravity::multilevel_solve_for_new_phi() 1 0.04006 0.04006 0.04006 4.51% Gravity::actual_multilevel_solve() 1 0.04003 0.04003 0.04003 4.50% StateDataPhysBCFunct::() 41 0.03663 0.03663 0.03663 4.12% MLCellLinOp::apply() 1142 0.03549 0.03549 0.03549 3.99% MLMG::mgVcycle_down::0 82 0.03343 0.03343 0.03343 3.76% FabArray::FillBoundary() 4023 0.03222 0.03222 0.03222 3.63% MLPoisson::Fsmooth() 3280 0.03152 0.03152 0.03152 3.55% FillBoundary_nowait() 4023 0.03143 0.03143 0.03143 3.54% MLMG::mgVcycle_up::0 82 0.02521 0.02521 0.02521 2.84% StateData::FillBoundary(geom) 328 0.02406 0.02406 0.02406 2.71% MLCellLinOp::correctionResidual() 492 0.02167 0.02167 0.02167 2.44% Castro::initialize_do_advance() 10 0.02094 0.02094 0.02094 2.36% Castro::computeTemp() 63 0.02069 0.02069 0.02069 2.33% amrex::Dot() 1114 0.01982 0.01982 0.01982 2.23% MLMG:computeResOfCorrection() 410 0.01913 0.01913 0.01913 2.15% Gravity::get_new_grav_vector() 11 0.0172 0.0172 0.0172 1.94% MLPoisson::define() 11 0.01585 0.01585 0.01585 1.78% Castro::normalize_species() 62 0.01559 0.01559 0.01559 1.75% MLMG::mgVcycle_down::1 82 0.01547 0.01547 0.01547 1.74% amrex::Copy() 1029 0.01446 0.01446 0.01446 1.63% MLMG::mgVcycle_down::2 82 0.01446 0.01446 0.01446 1.63% Castro::construct_old_gravity() 10 0.01439 0.01439 0.01439 1.62% Gravity::get_old_grav_vector() 10 0.01438 0.01438 0.01438 1.62% FabArray::ParallelCopy() 861 0.01413 0.01413 0.01413 1.59% MLMG::mgVcycle_down::3 82 0.01406 0.01406 0.01406 1.58% FabArray::norminf() 743 0.01398 0.01398 0.01398 1.57% MLMG::mgVcycle_down::4 82 0.01394 0.01394 0.01394 1.57% FabArray::ParallelCopy_nowait() 861 0.01389 0.01389 0.01389 1.56% Castro::do_new_sources() 10 0.01298 0.01298 0.01298 1.46% FabArray::setVal() 1144 0.01276 0.01276 0.01276 1.44% Castro::enforce_min_density() 62 0.0127 0.0127 0.0127 1.43% MLCGSolver::ParallelAllReduce 1514 0.01189 0.01189 0.01189 1.34% Castro::do_old_sources() 10 0.01185 0.01185 0.01185 1.33% Castro::expand_state() 10 0.01182 0.01182 0.01182 1.33% MLMG::addInterpCorrection() 410 0.01152 0.01152 0.01152 1.30% MLMG::mgVcycle_up::1 82 0.01133 0.01133 0.01133 1.27% Castro::initialize_advance() 10 0.01123 0.01123 0.01123 1.26% MLMG::mgVcycle_up::4 82 0.01117 0.01117 0.01117 1.26% MLMG::mgVcycle_up::2 82 0.01103 0.01103 0.01103 1.24% amrex::average_down 410 0.01093 0.01093 0.01093 1.23% MLMG::mgVcycle_up::3 82 0.01078 0.01078 0.01078 1.21% MLCellLinOp::defineAuxData() 11 0.01066 0.01066 0.01066 1.20% MLPoisson::Fapply() 1142 0.01001 0.01001 0.01001 1.13% Castro::post_timestep() 10 0.007931 0.007931 0.007931 0.89% FabArray::Saxpy() 813 0.007926 0.007926 0.007926 0.89% FabArray::Xpay() 821 0.007765 0.007765 0.007765 0.87% MLCellLinOp::solutionResidual() 93 0.007059 0.007059 0.007059 0.79% Gravity::fill_multipole_BCs() 11 0.006717 0.006717 0.006717 0.76% MLMG::computeResidual() 82 0.006081 0.006081 0.006081 0.68% Castro::reset_internal_energy(MultiFab) 63 0.005785 0.005785 0.005785 0.65% Castro::estTimeStep() 21 0.004821 0.004821 0.004821 0.54% MLCellLinOp::defineBC() 11 0.00472 0.00472 0.00472 0.53% MLMG::prepareForSolve() 11 0.004576 0.004576 0.004576 0.51% BndryData::define() 11 0.004502 0.004502 0.004502 0.51% FabArray::LinComb() 557 0.004351 0.004351 0.004351 0.49% amrex::Add() 164 0.004325 0.004325 0.004325 0.49% Amr::InitializeInit() 1 0.004087 0.004087 0.004087 0.46% Amr::defBaseLevel() 1 0.004083 0.004083 0.004083 0.46% Castro::initData() 1 0.003588 0.003588 0.003588 0.40% Castro::construct_new_source() 50 0.003335 0.003335 0.003335 0.38% Castro::construct_new_gravity_source() 10 0.003289 0.003289 0.003289 0.37% Castro::construct_old_source() 50 0.002755 0.002755 0.002755 0.31% Castro::construct_old_gravity_source() 10 0.002736 0.002736 0.002736 0.31% Castro::computeNewDt() 9 0.002371 0.002371 0.002371 0.27% MLMG::ResNormInf() 93 0.002077 0.002077 0.002077 0.23% Castro::apply_source_to_state() 20 0.001814 0.001814 0.001814 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001652 0.001652 0.001652 0.19% Castro::reset_internal_energy(Fab) 504 0.001497 0.001497 0.001497 0.17% FabArrayBase::getCPC() 1323 0.00142 0.00142 0.00142 0.16% MLMG::getGradSolution() 11 0.001372 0.001372 0.001372 0.15% MLCellLinOp::compGrad() 11 0.001366 0.001366 0.001366 0.15% MLCellLinOp::setLevelBC() 11 0.001359 0.001359 0.001359 0.15% FabArray::mult() 43 0.001313 0.001313 0.001313 0.15% FabArray::setDomainBndry() 41 0.001282 0.001282 0.001282 0.14% Castro::enforce_speed_limit() 62 0.001235 0.001235 0.001235 0.14% Castro::check_for_nan() 20 0.001213 0.001213 0.001213 0.14% MultiFab::contains_nan() 20 0.001202 0.001202 0.001202 0.14% MLPoisson::prepareForSolve() 11 0.001123 0.001123 0.001123 0.13% Castro::post_regrid() 1 0.00111 0.00111 0.00111 0.12% MLCellLinOp::prepareForSolve() 11 0.001108 0.001108 0.001108 0.12% MLMG::computeMLResidual() 11 0.001021 0.001021 0.001021 0.11% Castro::computeInitialDt() 2 0.0009334 0.0009334 0.0009334 0.11% Gravity::update_max_rhs() 11 0.0008124 0.0008124 0.0008124 0.09% FabArrayBase::CPC::define() 454 0.0006921 0.0006921 0.0006921 0.08% FabArrayBase::getFB() 4023 0.0006637 0.0006637 0.0006637 0.07% Castro::finalize_advance() 10 0.0005723 0.0005723 0.0005723 0.06% Amr::InitAmr() 1 0.0004668 0.0004668 0.0004668 0.05% MLLinOp::define() 11 0.0004451 0.0004451 0.0004451 0.05% MLLinOp::defineGrids() 11 0.0004336 0.0004336 0.0004336 0.05% Castro::Castro() 1 0.0004294 0.0004294 0.0004294 0.05% Gravity::swapTimeLevels() 10 0.0004279 0.0004279 0.0004279 0.05% MLMG::MLResNormInf() 11 0.000291 0.000291 0.000291 0.03% MultiFab::max() 11 0.0002561 0.0002561 0.0002561 0.03% Castro::create_source_corrector() 10 0.0002297 0.0002297 0.0002297 0.03% MLMG::MLRhsNormInf() 11 0.0002157 0.0002157 0.0002157 0.02% Castro::buildMetrics() 1 0.000161 0.000161 0.000161 0.02% FabArrayBase::FB::FB() 56 8.694e-05 8.694e-05 8.694e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.287e-05 5.287e-05 5.287e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.15e-05 4.15e-05 4.15e-05 0.00% Castro::enforce_consistent_e() 1 4.055e-05 4.055e-05 4.055e-05 0.00% Castro::swap_state_time_levels() 10 3.912e-05 3.912e-05 3.912e-05 0.00% makeSFC 55 3.908e-05 3.908e-05 3.908e-05 0.00% Castro::finalize_do_advance() 10 3.662e-05 3.662e-05 3.662e-05 0.00% StateData::define() 4 3.186e-05 3.186e-05 3.186e-05 0.00% Castro::initMFs() 1 2.446e-05 2.446e-05 2.446e-05 0.00% Amr::writeSmallPlotFile() 1 2.4e-05 2.4e-05 2.4e-05 0.00% DistributionMapping::Distribute() 56 1.623e-05 1.623e-05 1.623e-05 0.00% Amr::initSubcycle() 1 8.634e-06 8.634e-06 8.634e-06 0.00% AmrLevel::checkPointPost() 3 6.004e-06 6.004e-06 6.004e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.845e-06 4.845e-06 4.845e-06 0.00% Gravity::set_mass_offset() 11 4.328e-06 4.328e-06 4.328e-06 0.00% Castro::retry_advance_ctu() 10 4.07e-06 4.07e-06 4.07e-06 0.00% Castro::FluxRegCrseInit 10 2.953e-06 2.953e-06 2.953e-06 0.00% AmrLevel::checkPointPre() 3 2.143e-06 2.143e-06 2.143e-06 0.00% Castro::FluxRegFineAdd() 10 1.942e-06 1.942e-06 1.942e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.911e-06 1.911e-06 1.911e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 90 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 131 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 1029 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2100 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 3462 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 165 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1747 B 2048 KiB Gravity::solve_for_phi() 80 80 546 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 316 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 201 KiB 671 KiB Castro::estTimeStep() 21 21 2547 B 480 KiB VisMF::Write(FabArray) 656 656 3320 B 320 KiB Castro::normalize_species() 62 62 5712 B 320 KiB amrex::average_down 1067 1067 1233 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1118 B 257 KiB amrex::Dot() 1360 1360 3277 B 160 KiB FabArray::norminf() 907 907 2322 B 160 KiB Castro::do_advance_ctu() 10 10 524 B 160 KiB MultiFab::max() 11 11 44 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3385 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 302 B 9648 B MLCellLinOp::applyBC() 8866 8866 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 115 B 1472 B MLCellLinOp::defineBC() 66 66 356 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 599 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 600 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3385 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 302 B 9648 B MLCellLinOp::applyBC() 4433 4433 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B Gravity::get_new_grav_vector() 3 3 2909 B 3072 B StateData::FillBoundary(geom) 1992 1992 48 B 2976 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 288 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-14-g81e1ac377d54) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-14-g81e1ac377d54) initialized Starting run at 07:36:10 UTC on 2023-05-16. Successfully read inputs file ... Castro git describe: 23.05-7-gb73e45af4 AMReX git describe: 23.05-14-g81e1ac377 Microphysics git describe: 23.05-4-g0685d31f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.462197923 Restart time = 0.045384615 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.047836513 [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.046255474 [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.046381427 [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.046311394 [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.060691337 [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.032761778 seconds Ending run at 07:36:10 UTC on 2023-05-16. Run time = 0.326597018 Run time without initialization = 0.280661842 Average number of zones advanced per microsecond: 4.670 Average number of zones advanced per microsecond per rank: 4.670 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3266 ... 0.3266 ... 0.3266 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0721 0.0721 0.0721 22.07% VisMF::Read() 3 0.03924 0.03924 0.03924 12.01% MLCellLinOp::applyBC() 1946 0.03267 0.03267 0.03267 10.00% VisMF::Write(FabArray) 1 0.03123 0.03123 0.03123 9.56% MLPoisson::Fsmooth() 1440 0.01356 0.01356 0.01356 4.15% FillBoundary_nowait() 1766 0.01263 0.01263 0.01263 3.87% StateData::FillBoundary(geom) 160 0.01182 0.01182 0.01182 3.62% amrex::Dot() 484 0.008425 0.008425 0.008425 2.58% amrex::Copy() 463 0.006779 0.006779 0.006779 2.08% Castro::normalize_species() 30 0.006415 0.006415 0.006415 1.96% FabArray::setVal() 537 0.006072 0.006072 0.006072 1.86% FabArray::norminf() 326 0.006044 0.006044 0.006044 1.85% FabArray::ParallelCopy_nowait() 380 0.005872 0.005872 0.005872 1.80% StateDataPhysBCFunct::() 20 0.005281 0.005281 0.005281 1.62% Castro::computeTemp() 30 0.005254 0.005254 0.005254 1.61% Castro::enforce_min_density() 30 0.005238 0.005238 0.005238 1.60% MLCellLinOp::defineAuxData() 6 0.00502 0.00502 0.00502 1.54% MLPoisson::Fapply() 500 0.004298 0.004298 0.004298 1.32% FabArray::Saxpy() 355 0.003531 0.003531 0.003531 1.08% FabArray::Xpay() 361 0.003372 0.003372 0.003372 1.03% Gravity::fill_multipole_BCs() 6 0.003344 0.003344 0.003344 1.02% Castro::estTimeStep() 10 0.002933 0.002933 0.002933 0.90% MLMG::addInterpCorrection() 180 0.002815 0.002815 0.002815 0.86% amrex::average_down 180 0.00251 0.00251 0.00251 0.77% Amr::restart() 1 0.002498 0.002498 0.002498 0.76% Castro::reset_internal_energy(MultiFab) 30 0.002487 0.002487 0.002487 0.76% BndryData::define() 6 0.001919 0.001919 0.001919 0.59% FabArray::LinComb() 242 0.001862 0.001862 0.001862 0.57% amrex::Add() 72 0.001835 0.001835 0.001835 0.56% Castro::construct_new_gravity_source() 5 0.001701 0.001701 0.001701 0.52% Amr::writePlotFile() 1 0.00138 0.00138 0.00138 0.42% Castro::construct_old_gravity_source() 5 0.001316 0.001316 0.001316 0.40% Castro::do_advance_ctu() 5 0.001215 0.001215 0.001215 0.37% MLCGSolver::bicgstab 36 0.0009366 0.0009366 0.0009366 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008854 0.0008854 0.0008854 0.27% Gravity::actual_solve_with_mlmg() 6 0.0007846 0.0007846 0.0007846 0.24% MLCellLinOp::setLevelBC() 6 0.0007226 0.0007226 0.0007226 0.22% Castro::reset_internal_energy(Fab) 240 0.0006496 0.0006496 0.0006496 0.20% FabArray::mult() 22 0.0006424 0.0006424 0.0006424 0.20% FabArray::setDomainBndry() 20 0.000621 0.000621 0.000621 0.19% MLCellLinOp::prepareForSolve() 6 0.0005933 0.0005933 0.0005933 0.18% MultiFab::contains_nan() 10 0.0005928 0.0005928 0.0005928 0.18% Castro::enforce_speed_limit() 30 0.0005728 0.0005728 0.0005728 0.18% MLCellLinOp::compGrad() 6 0.0004768 0.0004768 0.0004768 0.15% MLMG::prepareForSolve() 6 0.0004737 0.0004737 0.0004737 0.15% MLCellLinOp::smooth() 720 0.0004341 0.0004341 0.0004341 0.13% FabArrayBase::CPC::define() 244 0.0004159 0.0004159 0.0004159 0.13% Amr::InitAmr() 1 0.0003689 0.0003689 0.0003689 0.11% FabArray::FillBoundary() 1766 0.0003537 0.0003537 0.0003537 0.11% FabArrayBase::getCPC() 632 0.000348 0.000348 0.000348 0.11% Gravity::get_old_grav_vector() 5 0.0003002 0.0003002 0.0003002 0.09% main() 1 0.0002814 0.0002814 0.0002814 0.09% Gravity::get_new_grav_vector() 5 0.0002743 0.0002743 0.0002743 0.08% FabArrayBase::getFB() 1766 0.0002375 0.0002375 0.0002375 0.07% MLCellLinOp::apply() 500 0.0001841 0.0001841 0.0001841 0.06% MLLinOp::defineGrids() 6 0.0001642 0.0001642 0.0001642 0.05% Amr::coarseTimeStep() 5 0.0001623 0.0001623 0.0001623 0.05% MLMG::mgVcycle() 36 0.0001541 0.0001541 0.0001541 0.05% MultiFab::max() 6 0.0001359 0.0001359 0.0001359 0.04% MLCGSolver::ParallelAllReduce 659 0.0001233 0.0001233 0.0001233 0.04% MLCellLinOp::defineBC() 6 0.0001173 0.0001173 0.0001173 0.04% FillPatchIterator::Initialize 20 0.0001137 0.0001137 0.0001137 0.03% FabArray::ParallelCopy() 380 0.0001094 0.0001094 0.0001094 0.03% MLCellLinOp::correctionResidual() 216 9.309e-05 9.309e-05 9.309e-05 0.03% Amr::timeStep() 5 8.426e-05 8.426e-05 8.426e-05 0.03% Castro::subcycle_advance_ctu() 5 8.265e-05 8.265e-05 8.265e-05 0.03% Castro::create_source_corrector() 5 7.952e-05 7.952e-05 7.952e-05 0.02% AmrLevel::restart() 1 7.427e-05 7.427e-05 7.427e-05 0.02% StateData::restartDoit() 4 6.291e-05 6.291e-05 6.291e-05 0.02% Gravity::update_max_rhs() 6 5.972e-05 5.972e-05 5.972e-05 0.02% FabArrayBase::FB::FB() 26 5.872e-05 5.872e-05 5.872e-05 0.02% Gravity::solve_for_phi() 5 5.755e-05 5.755e-05 5.755e-05 0.02% MLMG:computeResOfCorrection() 180 5.12e-05 5.12e-05 5.12e-05 0.02% Castro::expand_state() 5 4.814e-05 4.814e-05 4.814e-05 0.01% MLMG::actualBottomSolve() 36 4.006e-05 4.006e-05 4.006e-05 0.01% MLMG::mgVcycle_down::0 36 3.885e-05 3.885e-05 3.885e-05 0.01% MLMG::mgVcycle_down::1 36 3.488e-05 3.488e-05 3.488e-05 0.01% Castro::clean_state() 30 3.479e-05 3.479e-05 3.479e-05 0.01% MLMG::solve() 6 3.364e-05 3.364e-05 3.364e-05 0.01% Castro::initialize_advance() 5 3.352e-05 3.352e-05 3.352e-05 0.01% MLMG::mgVcycle_down::2 36 3.304e-05 3.304e-05 3.304e-05 0.01% MLMG::mgVcycle_down::4 36 3.303e-05 3.303e-05 3.303e-05 0.01% Castro::swap_state_time_levels() 5 3.259e-05 3.259e-05 3.259e-05 0.01% MLMG::mgVcycle_down::3 36 3.193e-05 3.193e-05 3.193e-05 0.01% MLMG::mgVcycle_up::4 36 2.892e-05 2.892e-05 2.892e-05 0.01% Amr::writeSmallPlotFile() 1 2.815e-05 2.815e-05 2.815e-05 0.01% Castro::finalize_advance() 5 2.774e-05 2.774e-05 2.774e-05 0.01% Castro::buildMetrics() 1 2.698e-05 2.698e-05 2.698e-05 0.01% Castro::initialize_do_advance() 5 2.573e-05 2.573e-05 2.573e-05 0.01% Castro::initMFs() 1 2.545e-05 2.545e-05 2.545e-05 0.01% MLMG::oneIter() 36 2.453e-05 2.453e-05 2.453e-05 0.01% MLMG::mgVcycle_up::2 36 2.224e-05 2.224e-05 2.224e-05 0.01% MLMG::mgVcycle_up::0 36 2.171e-05 2.171e-05 2.171e-05 0.01% MLMG::mgVcycle_up::3 36 2.17e-05 2.17e-05 2.17e-05 0.01% MLCellLinOp::solutionResidual() 42 2.128e-05 2.128e-05 2.128e-05 0.01% MLMG::mgVcycle_up::1 36 2.096e-05 2.096e-05 2.096e-05 0.01% Castro::post_restart() 1 2.069e-05 2.069e-05 2.069e-05 0.01% Castro::finalize_do_advance() 5 1.847e-05 1.847e-05 1.847e-05 0.01% Gravity::solve_phi_with_mlmg() 6 1.837e-05 1.837e-05 1.837e-05 0.01% MLMG::ResNormInf() 42 1.804e-05 1.804e-05 1.804e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.584e-05 1.584e-05 1.584e-05 0.00% MLPoisson::define() 6 1.55e-05 1.55e-05 1.55e-05 0.00% Castro::advance() 5 1.47e-05 1.47e-05 1.47e-05 0.00% FillPatchSingleLevel 20 1.399e-05 1.399e-05 1.399e-05 0.00% MLMG::computeResidual() 36 1.336e-05 1.336e-05 1.336e-05 0.00% MLMG::mgVcycle_bottom 36 1.328e-05 1.328e-05 1.328e-05 0.00% makeSFC 30 1.322e-05 1.322e-05 1.322e-05 0.00% Castro::construct_new_gravity() 5 1.25e-05 1.25e-05 1.25e-05 0.00% Castro::construct_old_gravity() 5 1.067e-05 1.067e-05 1.067e-05 0.00% MLPoisson::prepareForSolve() 6 1.001e-05 1.001e-05 1.001e-05 0.00% Castro::construct_new_source() 25 9.839e-06 9.839e-06 9.839e-06 0.00% Castro::construct_old_source() 25 9.732e-06 9.732e-06 9.732e-06 0.00% MLMG::computeMLResidual() 6 9.093e-06 9.093e-06 9.093e-06 0.00% DistributionMapping::Distribute() 31 9.092e-06 9.092e-06 9.092e-06 0.00% Amr::initSubcycle() 1 8.49e-06 8.49e-06 8.49e-06 0.00% Castro::do_old_sources() 5 8.425e-06 8.425e-06 8.425e-06 0.00% Castro::do_new_sources() 5 8.265e-06 8.265e-06 8.265e-06 0.00% Gravity::actual_multilevel_solve() 1 7.354e-06 7.354e-06 7.354e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.991e-06 6.991e-06 6.991e-06 0.00% Castro::apply_source_to_state() 10 5.706e-06 5.706e-06 5.706e-06 0.00% Castro::check_for_nan() 10 5.595e-06 5.595e-06 5.595e-06 0.00% MLLinOp::define() 6 5.507e-06 5.507e-06 5.507e-06 0.00% Castro::post_timestep() 5 4.112e-06 4.112e-06 4.112e-06 0.00% Gravity::swapTimeLevels() 5 3.991e-06 3.991e-06 3.991e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.357e-06 3.357e-06 3.357e-06 0.00% Castro::computeNewDt() 5 3.349e-06 3.349e-06 3.349e-06 0.00% MLMG::getGradSolution() 6 3.054e-06 3.054e-06 3.054e-06 0.00% Gravity::set_mass_offset() 6 2.473e-06 2.473e-06 2.473e-06 0.00% MLMG::MLResNormInf() 6 2.309e-06 2.309e-06 2.309e-06 0.00% MLMG::MLRhsNormInf() 6 2.18e-06 2.18e-06 2.18e-06 0.00% Castro::retry_advance_ctu() 5 1.499e-06 1.499e-06 1.499e-06 0.00% Castro::FluxRegCrseInit 5 1.377e-06 1.377e-06 1.377e-06 0.00% Castro::FluxRegFineAdd() 5 1.132e-06 1.132e-06 1.132e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.054e-06 1.054e-06 1.054e-06 0.00% Amr::init() 1 1.007e-06 1.007e-06 1.007e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3266 0.3266 0.3266 99.99% Amr::coarseTimeStep() 5 0.2476 0.2476 0.2476 75.81% Amr::timeStep() 5 0.2453 0.2453 0.2453 75.09% Castro::advance() 5 0.2419 0.2419 0.2419 74.06% Castro::subcycle_advance_ctu() 5 0.2356 0.2356 0.2356 72.12% Castro::do_advance_ctu() 5 0.2355 0.2355 0.2355 72.10% Castro::construct_new_gravity() 5 0.1265 0.1265 0.1265 38.72% Gravity::solve_phi_with_mlmg() 6 0.1218 0.1218 0.1218 37.28% Gravity::solve_for_phi() 5 0.1188 0.1188 0.1188 36.37% Gravity::actual_solve_with_mlmg() 6 0.1182 0.1182 0.1182 36.18% MLMG::solve() 6 0.1074 0.1074 0.1074 32.88% MLMG::oneIter() 36 0.1007 0.1007 0.1007 30.82% MLMG::mgVcycle() 36 0.09911 0.09911 0.09911 30.34% Castro::construct_ctu_hydro_source() 5 0.07208 0.07208 0.07208 22.07% MLCellLinOp::smooth() 720 0.04888 0.04888 0.04888 14.97% MLCellLinOp::applyBC() 1946 0.04595 0.04595 0.04595 14.07% Amr::init() 1 0.04543 0.04543 0.04543 13.91% Amr::restart() 1 0.04543 0.04543 0.04543 13.91% AmrLevel::restart() 1 0.03944 0.03944 0.03944 12.07% StateData::restartDoit() 4 0.03936 0.03936 0.03936 12.05% VisMF::Read() 3 0.03924 0.03924 0.03924 12.01% Amr::writePlotFile() 1 0.03286 0.03286 0.03286 10.06% VisMF::Write(FabArray) 1 0.03123 0.03123 0.03123 9.56% MLMG::mgVcycle_bottom 36 0.03048 0.03048 0.03048 9.33% MLMG::actualBottomSolve() 36 0.03047 0.03047 0.03047 9.33% MLCGSolver::bicgstab 36 0.03017 0.03017 0.03017 9.24% Castro::clean_state() 30 0.02065 0.02065 0.02065 6.32% FillPatchIterator::Initialize 20 0.01988 0.01988 0.01988 6.09% FillPatchSingleLevel 20 0.01915 0.01915 0.01915 5.86% StateDataPhysBCFunct::() 20 0.0171 0.0171 0.0171 5.24% MLCellLinOp::apply() 500 0.01529 0.01529 0.01529 4.68% MLMG::mgVcycle_down::0 36 0.01406 0.01406 0.01406 4.31% MLPoisson::Fsmooth() 1440 0.01356 0.01356 0.01356 4.15% FabArray::FillBoundary() 1766 0.01328 0.01328 0.01328 4.07% FillBoundary_nowait() 1766 0.01293 0.01293 0.01293 3.96% StateData::FillBoundary(geom) 160 0.01182 0.01182 0.01182 3.62% MLMG::mgVcycle_up::0 36 0.01057 0.01057 0.01057 3.24% Castro::initialize_do_advance() 5 0.009887 0.009887 0.009887 3.03% MLCellLinOp::correctionResidual() 216 0.009254 0.009254 0.009254 2.83% MLPoisson::define() 6 0.008533 0.008533 0.008533 2.61% amrex::Dot() 484 0.008425 0.008425 0.008425 2.58% Castro::computeTemp() 30 0.008391 0.008391 0.008391 2.57% MLMG:computeResOfCorrection() 180 0.008149 0.008149 0.008149 2.49% Gravity::get_new_grav_vector() 5 0.007564 0.007564 0.007564 2.32% Castro::construct_old_gravity() 5 0.007152 0.007152 0.007152 2.19% Gravity::get_old_grav_vector() 5 0.007141 0.007141 0.007141 2.19% amrex::Copy() 463 0.006779 0.006779 0.006779 2.08% MLMG::mgVcycle_down::1 36 0.006647 0.006647 0.006647 2.04% Castro::do_new_sources() 5 0.006446 0.006446 0.006446 1.97% Castro::normalize_species() 30 0.006415 0.006415 0.006415 1.96% FabArray::ParallelCopy() 380 0.006368 0.006368 0.006368 1.95% FabArray::ParallelCopy_nowait() 380 0.006258 0.006258 0.006258 1.92% MLMG::mgVcycle_down::2 36 0.006183 0.006183 0.006183 1.89% FabArray::setVal() 537 0.006072 0.006072 0.006072 1.86% MLMG::mgVcycle_down::3 36 0.006051 0.006051 0.006051 1.85% FabArray::norminf() 326 0.006044 0.006044 0.006044 1.85% Castro::initialize_advance() 5 0.006018 0.006018 0.006018 1.84% MLMG::mgVcycle_down::4 36 0.005976 0.005976 0.005976 1.83% Castro::expand_state() 5 0.005944 0.005944 0.005944 1.82% MLCellLinOp::defineAuxData() 6 0.005733 0.005733 0.005733 1.76% Castro::enforce_min_density() 30 0.005238 0.005238 0.005238 1.60% MLCGSolver::ParallelAllReduce 659 0.005076 0.005076 0.005076 1.55% MLMG::addInterpCorrection() 180 0.004963 0.004963 0.004963 1.52% MLMG::mgVcycle_up::1 36 0.004845 0.004845 0.004845 1.48% Castro::do_old_sources() 5 0.004823 0.004823 0.004823 1.48% MLMG::mgVcycle_up::4 36 0.004792 0.004792 0.004792 1.47% MLMG::mgVcycle_up::2 36 0.004714 0.004714 0.004714 1.44% amrex::average_down 180 0.004696 0.004696 0.004696 1.44% MLMG::mgVcycle_up::3 36 0.004637 0.004637 0.004637 1.42% MLPoisson::Fapply() 500 0.004298 0.004298 0.004298 1.32% FabArray::Saxpy() 355 0.003531 0.003531 0.003531 1.08% Gravity::fill_multipole_BCs() 6 0.00347 0.00347 0.00347 1.06% FabArray::Xpay() 361 0.003372 0.003372 0.003372 1.03% Castro::post_restart() 1 0.003317 0.003317 0.003317 1.02% Castro::post_timestep() 5 0.003301 0.003301 0.003301 1.01% Gravity::multilevel_solve_for_new_phi() 1 0.00321 0.00321 0.00321 0.98% Gravity::actual_multilevel_solve() 1 0.003194 0.003194 0.003194 0.98% MLCellLinOp::solutionResidual() 42 0.003174 0.003174 0.003174 0.97% Castro::reset_internal_energy(MultiFab) 30 0.003136 0.003136 0.003136 0.96% Castro::estTimeStep() 10 0.002933 0.002933 0.002933 0.90% MLMG::computeResidual() 36 0.002624 0.002624 0.002624 0.80% MLCellLinOp::defineBC() 6 0.002586 0.002586 0.002586 0.79% BndryData::define() 6 0.002469 0.002469 0.002469 0.76% MLMG::prepareForSolve() 6 0.002458 0.002458 0.002458 0.75% Castro::computeNewDt() 5 0.002192 0.002192 0.002192 0.67% FabArray::LinComb() 242 0.001862 0.001862 0.001862 0.57% amrex::Add() 72 0.001835 0.001835 0.001835 0.56% Castro::construct_new_source() 25 0.001711 0.001711 0.001711 0.52% Castro::construct_new_gravity_source() 5 0.001701 0.001701 0.001701 0.52% Castro::construct_old_source() 25 0.001326 0.001326 0.001326 0.41% Castro::construct_old_gravity_source() 5 0.001316 0.001316 0.001316 0.40% Castro::apply_source_to_state() 10 0.0009184 0.0009184 0.0009184 0.28% MLMG::ResNormInf() 42 0.0009165 0.0009165 0.0009165 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008854 0.0008854 0.0008854 0.27% FabArrayBase::getCPC() 632 0.0007639 0.0007639 0.0007639 0.23% MLMG::getGradSolution() 6 0.0007411 0.0007411 0.0007411 0.23% MLCellLinOp::compGrad() 6 0.0007381 0.0007381 0.0007381 0.23% MLCellLinOp::setLevelBC() 6 0.0007226 0.0007226 0.0007226 0.22% Castro::reset_internal_energy(Fab) 240 0.0006496 0.0006496 0.0006496 0.20% FabArray::mult() 22 0.0006424 0.0006424 0.0006424 0.20% FabArray::setDomainBndry() 20 0.000621 0.000621 0.000621 0.19% MLPoisson::prepareForSolve() 6 0.0006033 0.0006033 0.0006033 0.18% Castro::check_for_nan() 10 0.0005984 0.0005984 0.0005984 0.18% MLCellLinOp::prepareForSolve() 6 0.0005933 0.0005933 0.0005933 0.18% MultiFab::contains_nan() 10 0.0005928 0.0005928 0.0005928 0.18% Castro::enforce_speed_limit() 30 0.0005728 0.0005728 0.0005728 0.18% MLMG::computeMLResidual() 6 0.0005722 0.0005722 0.0005722 0.18% Gravity::update_max_rhs() 6 0.0004377 0.0004377 0.0004377 0.13% FabArrayBase::CPC::define() 244 0.0004159 0.0004159 0.0004159 0.13% Amr::InitAmr() 1 0.0003774 0.0003774 0.0003774 0.12% FabArrayBase::getFB() 1766 0.0002962 0.0002962 0.0002962 0.09% Castro::finalize_advance() 5 0.0002796 0.0002796 0.0002796 0.09% Gravity::swapTimeLevels() 5 0.0002213 0.0002213 0.0002213 0.07% MLLinOp::define() 6 0.0001986 0.0001986 0.0001986 0.06% MLLinOp::defineGrids() 6 0.0001931 0.0001931 0.0001931 0.06% MLMG::MLResNormInf() 6 0.0001505 0.0001505 0.0001505 0.05% Castro::buildMetrics() 1 0.0001463 0.0001463 0.0001463 0.04% MultiFab::max() 6 0.0001359 0.0001359 0.0001359 0.04% MLMG::MLRhsNormInf() 6 0.0001154 0.0001154 0.0001154 0.04% Castro::create_source_corrector() 5 7.952e-05 7.952e-05 7.952e-05 0.02% FabArrayBase::FB::FB() 26 5.872e-05 5.872e-05 5.872e-05 0.02% Castro::swap_state_time_levels() 5 3.259e-05 3.259e-05 3.259e-05 0.01% Amr::writeSmallPlotFile() 1 2.815e-05 2.815e-05 2.815e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.786e-05 2.786e-05 2.786e-05 0.01% Castro::initMFs() 1 2.545e-05 2.545e-05 2.545e-05 0.01% makeSFC 30 2.087e-05 2.087e-05 2.087e-05 0.01% Castro::finalize_do_advance() 5 1.847e-05 1.847e-05 1.847e-05 0.01% DistributionMapping::Distribute() 31 9.092e-06 9.092e-06 9.092e-06 0.00% Amr::initSubcycle() 1 8.49e-06 8.49e-06 8.49e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.798e-06 4.798e-06 4.798e-06 0.00% Gravity::set_mass_offset() 6 2.473e-06 2.473e-06 2.473e-06 0.00% Castro::retry_advance_ctu() 5 1.499e-06 1.499e-06 1.499e-06 0.00% Castro::FluxRegCrseInit 5 1.377e-06 1.377e-06 1.377e-06 0.00% Castro::FluxRegFineAdd() 5 1.132e-06 1.132e-06 1.132e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.054e-06 1.054e-06 1.054e-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 244 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 100 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1351 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2813 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6582 KiB 14 MiB MLMG::prepareForSolve() 361 361 4035 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 226 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 236 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6577 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 16 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2587 B 2048 KiB Gravity::solve_for_phi() 40 40 742 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 371 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 238 KiB 671 KiB Castro::estTimeStep() 10 10 4220 B 480 KiB VisMF::Write(FabArray) 112 112 1469 B 320 KiB Castro::normalize_species() 30 30 6377 B 320 KiB amrex::average_down 469 469 1357 B 257 KiB MLMG::addInterpCorrection() 468 468 1306 B 257 KiB amrex::Dot() 592 592 3796 B 160 KiB FabArray::norminf() 398 398 2727 B 160 KiB Castro::do_advance_ctu() 5 5 552 B 160 KiB MultiFab::max() 6 6 64 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 36 B 20 KiB MLPoisson::Fsmooth() 60 60 3925 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 59 B 10 KiB FillBoundary_nowait() 336 336 336 B 9648 B MLCellLinOp::applyBC() 3892 3892 258 B 9344 B amrex::Copy() 56 56 5904 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 56 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 134 B 1472 B MLCellLinOp::defineBC() 36 36 417 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1651 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 134 KiB 8192 KiB VisMF::Write(FabArray) 120 120 294 KiB 3584 KiB VisMF::Read() 24 24 233 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3925 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 59 B 10 KiB FillBoundary_nowait() 336 336 335 B 9648 B MLCellLinOp::applyBC() 1946 1946 256 B 9328 B amrex::Copy() 56 56 5904 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2586 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 56 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 570 B 1296 B amrex::average_down 37 37 217 B 1296 B MLMG::addInterpCorrection() 36 36 3 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 27 B 400 B FabArray::norminf() 398 398 19 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-14-g81e1ac377d54) finalized