Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-29-g76d6d344e12d) initialized Starting run at 09:06:02 UTC on 2023-05-25. Successfully read inputs file ... Castro git describe: 23.05-25-g99ae92958 AMReX git describe: 23.05-29-g76d6d344e Microphysics git describe: 23.05-12-g1f8fd85f 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.058628147 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032851804 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.045061691 [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.048847364 [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.046871309 [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.047251988 [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.054218999 [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.056755819 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.069927564 [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.068900762 [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.062472136 [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.064723948 [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.058139721 [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.056690304 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032611356 seconds Ending run at 09:06:03 UTC on 2023-05-25. Run time = 0.848881301 Run time without initialization = 0.71315444 Average number of zones advanced per microsecond: 3.676 Average number of zones advanced per microsecond per rank: 3.676 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8489 ... 0.8489 ... 0.8489 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2307 0.2307 0.2307 27.17% Castro::construct_ctu_hydro_source() 10 0.2149 0.2149 0.2149 25.31% MLCellLinOp::applyBC() 4379 0.07346 0.07346 0.07346 8.65% FillBoundary_nowait() 3974 0.03171 0.03171 0.03171 3.74% MLPoisson::Fsmooth() 3240 0.03102 0.03102 0.03102 3.65% StateData::FillBoundary(geom) 328 0.0244 0.0244 0.0244 2.87% amrex::Dot() 1100 0.01952 0.01952 0.01952 2.30% Castro::normalize_species() 62 0.0146 0.0146 0.0146 1.72% amrex::Copy() 1019 0.01443 0.01443 0.01443 1.70% FabArray::norminf() 734 0.01382 0.01382 0.01382 1.63% Castro::computeTemp() 63 0.01311 0.01311 0.01311 1.54% FabArray::ParallelCopy_nowait() 851 0.01285 0.01285 0.01285 1.51% FabArray::setVal() 1135 0.01271 0.01271 0.01271 1.50% StateDataPhysBCFunct::() 41 0.01112 0.01112 0.01112 1.31% Castro::enforce_min_density() 62 0.01042 0.01042 0.01042 1.23% MLPoisson::Fapply() 1128 0.009888 0.009888 0.009888 1.16% MLCellLinOp::defineAuxData() 11 0.009501 0.009501 0.009501 1.12% FabArray::Saxpy() 803 0.007891 0.007891 0.007891 0.93% FabArray::Xpay() 811 0.0077 0.0077 0.0077 0.91% MLMG::addInterpCorrection() 405 0.006408 0.006408 0.006408 0.75% Gravity::fill_multipole_BCs() 11 0.006183 0.006183 0.006183 0.73% Castro::estTimeStep() 21 0.006071 0.006071 0.006071 0.72% amrex::average_down 405 0.005725 0.005725 0.005725 0.67% FabArray::LinComb() 550 0.004324 0.004324 0.004324 0.51% amrex::Add() 162 0.004308 0.004308 0.004308 0.51% Amr::checkPoint() 3 0.003986 0.003986 0.003986 0.47% Castro::reset_internal_energy(MultiFab) 63 0.003912 0.003912 0.003912 0.46% BndryData::define() 11 0.003515 0.003515 0.003515 0.41% Castro::construct_new_gravity_source() 10 0.003172 0.003172 0.003172 0.37% Castro::do_advance_ctu() 10 0.002703 0.002703 0.002703 0.32% Castro::construct_old_gravity_source() 10 0.002548 0.002548 0.002548 0.30% Amr::writePlotFile() 2 0.002393 0.002393 0.002393 0.28% MLCGSolver::bicgstab 81 0.002094 0.002094 0.002094 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00166 0.00166 0.00166 0.20% Gravity::actual_solve_with_mlmg() 11 0.001505 0.001505 0.001505 0.18% Castro::reset_internal_energy(Fab) 504 0.001495 0.001495 0.001495 0.18% MLCellLinOp::setLevelBC() 11 0.00136 0.00136 0.00136 0.16% FabArray::mult() 43 0.001328 0.001328 0.001328 0.16% FabArray::setDomainBndry() 41 0.001285 0.001285 0.001285 0.15% Castro::initData() 1 0.001246 0.001246 0.001246 0.15% MultiFab::contains_nan() 20 0.001213 0.001213 0.001213 0.14% MLCellLinOp::prepareForSolve() 11 0.001083 0.001083 0.001083 0.13% MLCellLinOp::smooth() 1620 0.001027 0.001027 0.001027 0.12% Castro::subcycle_advance_ctu() 10 0.0009466 0.0009466 0.0009466 0.11% Castro::enforce_speed_limit() 62 0.0009208 0.0009208 0.0009208 0.11% MLCellLinOp::compGrad() 11 0.0009165 0.0009165 0.0009165 0.11% MLMG::prepareForSolve() 11 0.0008458 0.0008458 0.0008458 0.10% FabArray::FillBoundary() 3974 0.0008035 0.0008035 0.0008035 0.09% FabArrayBase::getCPC() 1313 0.0007295 0.0007295 0.0007295 0.09% FabArrayBase::CPC::define() 454 0.0006866 0.0006866 0.0006866 0.08% Gravity::get_new_grav_vector() 11 0.0006244 0.0006244 0.0006244 0.07% Gravity::get_old_grav_vector() 10 0.0005772 0.0005772 0.0005772 0.07% FabArrayBase::getFB() 3974 0.0005752 0.0005752 0.0005752 0.07% Amr::InitAmr() 1 0.0004983 0.0004983 0.0004983 0.06% MLCellLinOp::apply() 1128 0.0004367 0.0004367 0.0004367 0.05% Amr::coarseTimeStep() 10 0.0003865 0.0003865 0.0003865 0.05% MLMG::mgVcycle() 81 0.0003823 0.0003823 0.0003823 0.05% MLLinOp::defineGrids() 11 0.0003708 0.0003708 0.0003708 0.04% main() 1 0.0002992 0.0002992 0.0002992 0.04% MLCGSolver::ParallelAllReduce 1495 0.0002932 0.0002932 0.0002932 0.03% MultiFab::max() 11 0.0002667 0.0002667 0.0002667 0.03% FabArray::ParallelCopy() 851 0.0002519 0.0002519 0.0002519 0.03% FillPatchIterator::Initialize 41 0.000228 0.000228 0.000228 0.03% MLCellLinOp::correctionResidual() 486 0.0002188 0.0002188 0.0002188 0.03% MLCellLinOp::defineBC() 11 0.0002108 0.0002108 0.0002108 0.02% Amr::timeStep() 10 0.0001823 0.0001823 0.0001823 0.02% Castro::create_source_corrector() 10 0.0001726 0.0001726 0.0001726 0.02% StateData::checkPoint() 12 0.0001505 0.0001505 0.0001505 0.02% Gravity::update_max_rhs() 11 0.0001406 0.0001406 0.0001406 0.02% Gravity::solve_for_phi() 10 0.0001125 0.0001125 0.0001125 0.01% MLMG:computeResOfCorrection() 405 0.000112 0.000112 0.000112 0.01% FabArrayBase::FB::FB() 56 8.954e-05 8.954e-05 8.954e-05 0.01% Castro::Castro() 1 8.905e-05 8.905e-05 8.905e-05 0.01% MLMG::mgVcycle_down::0 81 8.814e-05 8.814e-05 8.814e-05 0.01% Castro::expand_state() 10 8.45e-05 8.45e-05 8.45e-05 0.01% MLMG::actualBottomSolve() 81 8.224e-05 8.224e-05 8.224e-05 0.01% Castro::clean_state() 62 8.221e-05 8.221e-05 8.221e-05 0.01% Castro::initialize_advance() 10 8.126e-05 8.126e-05 8.126e-05 0.01% MLMG::mgVcycle_down::1 81 8.081e-05 8.081e-05 8.081e-05 0.01% AmrLevel::checkPoint() 3 8.028e-05 8.028e-05 8.028e-05 0.01% MLMG::mgVcycle_down::2 81 7.613e-05 7.613e-05 7.613e-05 0.01% MLMG::mgVcycle_down::4 81 7.179e-05 7.179e-05 7.179e-05 0.01% MLMG::mgVcycle_down::3 81 7.138e-05 7.138e-05 7.138e-05 0.01% Castro::finalize_advance() 10 7.045e-05 7.045e-05 7.045e-05 0.01% MLMG::solve() 11 7.022e-05 7.022e-05 7.022e-05 0.01% MLMG::mgVcycle_up::4 81 5.673e-05 5.673e-05 5.673e-05 0.01% Castro::initialize_do_advance() 10 5.441e-05 5.441e-05 5.441e-05 0.01% MLMG::oneIter() 81 4.79e-05 4.79e-05 4.79e-05 0.01% MLCellLinOp::solutionResidual() 92 4.789e-05 4.789e-05 4.789e-05 0.01% MLMG::mgVcycle_up::1 81 4.758e-05 4.758e-05 4.758e-05 0.01% MLMG::mgVcycle_up::2 81 4.587e-05 4.587e-05 4.587e-05 0.01% MLMG::mgVcycle_up::3 81 4.557e-05 4.557e-05 4.557e-05 0.01% MLMG::mgVcycle_up::0 81 4.555e-05 4.555e-05 4.555e-05 0.01% Castro::advance() 10 4.49e-05 4.49e-05 4.49e-05 0.01% Castro::construct_new_source() 50 4.132e-05 4.132e-05 4.132e-05 0.00% StateData::define() 4 3.981e-05 3.981e-05 3.981e-05 0.00% Castro::swap_state_time_levels() 10 3.882e-05 3.882e-05 3.882e-05 0.00% Castro::finalize_do_advance() 10 3.75e-05 3.75e-05 3.75e-05 0.00% MLMG::ResNormInf() 92 3.353e-05 3.353e-05 3.353e-05 0.00% Castro::enforce_consistent_e() 1 3.345e-05 3.345e-05 3.345e-05 0.00% MLMG::mgVcycle_bottom 81 3.113e-05 3.113e-05 3.113e-05 0.00% MLMG::computeResidual() 81 3.066e-05 3.066e-05 3.066e-05 0.00% FillPatchSingleLevel 41 2.944e-05 2.944e-05 2.944e-05 0.00% MLPoisson::define() 11 2.689e-05 2.689e-05 2.689e-05 0.00% makeSFC 55 2.565e-05 2.565e-05 2.565e-05 0.00% Amr::writeSmallPlotFile() 1 2.529e-05 2.529e-05 2.529e-05 0.00% Castro::construct_new_gravity() 10 2.466e-05 2.466e-05 2.466e-05 0.00% Castro::initMFs() 1 2.362e-05 2.362e-05 2.362e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.209e-05 2.209e-05 2.209e-05 0.00% Amr::FinalizeInit() 1 2.203e-05 2.203e-05 2.203e-05 0.00% Castro::construct_old_source() 50 1.975e-05 1.975e-05 1.975e-05 0.00% Amr::defBaseLevel() 1 1.957e-05 1.957e-05 1.957e-05 0.00% Castro::buildMetrics() 1 1.893e-05 1.893e-05 1.893e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.791e-05 1.791e-05 1.791e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.676e-05 1.676e-05 1.676e-05 0.00% Castro::do_new_sources() 10 1.675e-05 1.675e-05 1.675e-05 0.00% Castro::do_old_sources() 10 1.636e-05 1.636e-05 1.636e-05 0.00% MLLinOp::define() 11 1.552e-05 1.552e-05 1.552e-05 0.00% DistributionMapping::Distribute() 56 1.505e-05 1.505e-05 1.505e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.432e-05 1.432e-05 1.432e-05 0.00% Castro::apply_source_to_state() 20 1.126e-05 1.126e-05 1.126e-05 0.00% Castro::check_for_nan() 20 1.041e-05 1.041e-05 1.041e-05 0.00% Gravity::swapTimeLevels() 10 9.984e-06 9.984e-06 9.984e-06 0.00% Castro::construct_old_gravity() 10 9.481e-06 9.481e-06 9.481e-06 0.00% Amr::initSubcycle() 1 9.436e-06 9.436e-06 9.436e-06 0.00% MLPoisson::prepareForSolve() 11 9.144e-06 9.144e-06 9.144e-06 0.00% Castro::post_timestep() 10 7.992e-06 7.992e-06 7.992e-06 0.00% Gravity::actual_multilevel_solve() 1 7.986e-06 7.986e-06 7.986e-06 0.00% Castro::computeNewDt() 9 7.753e-06 7.753e-06 7.753e-06 0.00% MLMG::computeMLResidual() 11 7.412e-06 7.412e-06 7.412e-06 0.00% MLMG::getGradSolution() 11 6.311e-06 6.311e-06 6.311e-06 0.00% AmrLevel::checkPointPost() 3 5.761e-06 5.761e-06 5.761e-06 0.00% Castro::retry_advance_ctu() 10 4.748e-06 4.748e-06 4.748e-06 0.00% Amr::InitializeInit() 1 4.612e-06 4.612e-06 4.612e-06 0.00% Gravity::set_mass_offset() 11 4.325e-06 4.325e-06 4.325e-06 0.00% MLMG::MLRhsNormInf() 11 4.078e-06 4.078e-06 4.078e-06 0.00% Castro::post_init() 1 4.039e-06 4.039e-06 4.039e-06 0.00% Castro::FluxRegCrseInit 10 3.903e-06 3.903e-06 3.903e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.506e-06 3.506e-06 3.506e-06 0.00% MLMG::MLResNormInf() 11 3.504e-06 3.504e-06 3.504e-06 0.00% Amr::init() 1 3.11e-06 3.11e-06 3.11e-06 0.00% Castro::FluxRegFineAdd() 10 2.81e-06 2.81e-06 2.81e-06 0.00% Castro::computeInitialDt() 2 2.59e-06 2.59e-06 2.59e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.967e-06 1.967e-06 1.967e-06 0.00% AmrLevel::checkPointPre() 3 1.879e-06 1.879e-06 1.879e-06 0.00% Amr::initialInit() 1 1.162e-06 1.162e-06 1.162e-06 0.00% Castro::post_regrid() 1 8.59e-07 8.59e-07 8.59e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8489 0.8489 0.8489 100.00% Amr::coarseTimeStep() 10 0.6803 0.6803 0.6803 80.14% Amr::timeStep() 10 0.5627 0.5627 0.5627 66.29% Castro::advance() 10 0.5547 0.5547 0.5547 65.34% Castro::subcycle_advance_ctu() 10 0.5427 0.5427 0.5427 63.93% Castro::do_advance_ctu() 10 0.5417 0.5417 0.5417 63.81% Gravity::solve_phi_with_mlmg() 11 0.2734 0.2734 0.2734 32.21% Gravity::actual_solve_with_mlmg() 11 0.2668 0.2668 0.2668 31.43% Castro::construct_new_gravity() 10 0.2528 0.2528 0.2528 29.78% MLMG::solve() 11 0.2466 0.2466 0.2466 29.04% Gravity::solve_for_phi() 10 0.2374 0.2374 0.2374 27.96% MLMG::oneIter() 81 0.2327 0.2327 0.2327 27.41% VisMF::Write(FabArray) 11 0.2307 0.2307 0.2307 27.17% MLMG::mgVcycle() 81 0.229 0.229 0.229 26.98% Castro::construct_ctu_hydro_source() 10 0.2149 0.2149 0.2149 25.31% Amr::checkPoint() 3 0.1722 0.1722 0.1722 20.29% AmrLevel::checkPoint() 3 0.1682 0.1682 0.1682 19.82% StateData::checkPoint() 12 0.1681 0.1681 0.1681 19.81% Amr::init() 1 0.1351 0.1351 0.1351 15.91% MLCellLinOp::smooth() 1620 0.1136 0.1136 0.1136 13.39% MLCellLinOp::applyBC() 4379 0.1066 0.1066 0.1066 12.56% MLMG::mgVcycle_bottom 81 0.07011 0.07011 0.07011 8.26% MLMG::actualBottomSolve() 81 0.07008 0.07008 0.07008 8.25% MLCGSolver::bicgstab 81 0.06942 0.06942 0.06942 8.18% Amr::writePlotFile() 2 0.06558 0.06558 0.06558 7.73% Castro::clean_state() 62 0.04396 0.04396 0.04396 5.18% Amr::initialInit() 1 0.04348 0.04348 0.04348 5.12% FillPatchIterator::Initialize 41 0.04113 0.04113 0.04113 4.84% Amr::FinalizeInit() 1 0.03963 0.03963 0.03963 4.67% FillPatchSingleLevel 41 0.03962 0.03962 0.03962 4.67% Castro::post_init() 1 0.03831 0.03831 0.03831 4.51% Gravity::multilevel_solve_for_new_phi() 1 0.03646 0.03646 0.03646 4.30% Gravity::actual_multilevel_solve() 1 0.03645 0.03645 0.03645 4.29% StateDataPhysBCFunct::() 41 0.03552 0.03552 0.03552 4.18% MLCellLinOp::apply() 1128 0.03489 0.03489 0.03489 4.11% MLMG::mgVcycle_down::0 81 0.0336 0.0336 0.0336 3.96% FabArray::FillBoundary() 3974 0.03318 0.03318 0.03318 3.91% FillBoundary_nowait() 3974 0.03237 0.03237 0.03237 3.81% MLPoisson::Fsmooth() 3240 0.03102 0.03102 0.03102 3.65% MLMG::mgVcycle_up::0 81 0.02547 0.02547 0.02547 3.00% StateData::FillBoundary(geom) 328 0.0244 0.0244 0.0244 2.87% MLCellLinOp::correctionResidual() 486 0.02143 0.02143 0.02143 2.52% amrex::Dot() 1100 0.01952 0.01952 0.01952 2.30% MLMG:computeResOfCorrection() 405 0.01892 0.01892 0.01892 2.23% Castro::computeTemp() 63 0.01851 0.01851 0.01851 2.18% Castro::initialize_do_advance() 10 0.01851 0.01851 0.01851 2.18% Gravity::get_new_grav_vector() 11 0.01696 0.01696 0.01696 2.00% MLPoisson::define() 11 0.01597 0.01597 0.01597 1.88% MLMG::mgVcycle_down::1 81 0.01506 0.01506 0.01506 1.77% Castro::construct_old_gravity() 10 0.01471 0.01471 0.01471 1.73% Gravity::get_old_grav_vector() 10 0.0147 0.0147 0.0147 1.73% Castro::normalize_species() 62 0.0146 0.0146 0.0146 1.72% amrex::Copy() 1019 0.01443 0.01443 0.01443 1.70% MLMG::mgVcycle_down::2 81 0.01405 0.01405 0.01405 1.66% FabArray::ParallelCopy() 851 0.0139 0.0139 0.0139 1.64% FabArray::norminf() 734 0.01382 0.01382 0.01382 1.63% MLMG::mgVcycle_down::3 81 0.0137 0.0137 0.0137 1.61% FabArray::ParallelCopy_nowait() 851 0.01364 0.01364 0.01364 1.61% MLMG::mgVcycle_down::4 81 0.01356 0.01356 0.01356 1.60% FabArray::setVal() 1135 0.01271 0.01271 0.01271 1.50% MLCGSolver::ParallelAllReduce 1495 0.01171 0.01171 0.01171 1.38% Castro::initialize_advance() 10 0.01134 0.01134 0.01134 1.34% Castro::do_new_sources() 10 0.01132 0.01132 0.01132 1.33% MLMG::addInterpCorrection() 405 0.0113 0.0113 0.0113 1.33% MLMG::mgVcycle_up::1 81 0.01103 0.01103 0.01103 1.30% Castro::expand_state() 10 0.01088 0.01088 0.01088 1.28% MLMG::mgVcycle_up::4 81 0.01087 0.01087 0.01087 1.28% MLCellLinOp::defineAuxData() 11 0.01084 0.01084 0.01084 1.28% MLMG::mgVcycle_up::2 81 0.01074 0.01074 0.01074 1.27% amrex::average_down 405 0.01066 0.01066 0.01066 1.26% MLMG::mgVcycle_up::3 81 0.01047 0.01047 0.01047 1.23% Castro::enforce_min_density() 62 0.01042 0.01042 0.01042 1.23% Castro::do_old_sources() 10 0.01 0.01 0.01 1.18% MLPoisson::Fapply() 1128 0.009888 0.009888 0.009888 1.16% FabArray::Saxpy() 803 0.007891 0.007891 0.007891 0.93% Castro::post_timestep() 10 0.007841 0.007841 0.007841 0.92% FabArray::Xpay() 811 0.0077 0.0077 0.0077 0.91% MLCellLinOp::solutionResidual() 92 0.006952 0.006952 0.006952 0.82% Gravity::fill_multipole_BCs() 11 0.006427 0.006427 0.006427 0.76% Castro::estTimeStep() 21 0.006071 0.006071 0.006071 0.72% MLMG::computeResidual() 81 0.005985 0.005985 0.005985 0.71% Castro::reset_internal_energy(MultiFab) 63 0.005407 0.005407 0.005407 0.64% MLCellLinOp::defineBC() 11 0.004663 0.004663 0.004663 0.55% MLMG::prepareForSolve() 11 0.004506 0.004506 0.004506 0.53% BndryData::define() 11 0.004452 0.004452 0.004452 0.52% FabArray::LinComb() 550 0.004324 0.004324 0.004324 0.51% amrex::Add() 162 0.004308 0.004308 0.004308 0.51% Amr::InitializeInit() 1 0.003847 0.003847 0.003847 0.45% Amr::defBaseLevel() 1 0.003843 0.003843 0.003843 0.45% Castro::initData() 1 0.003326 0.003326 0.003326 0.39% Castro::construct_new_source() 50 0.003213 0.003213 0.003213 0.38% Castro::construct_new_gravity_source() 10 0.003172 0.003172 0.003172 0.37% Castro::computeNewDt() 9 0.002966 0.002966 0.002966 0.35% Castro::construct_old_source() 50 0.002567 0.002567 0.002567 0.30% Castro::construct_old_gravity_source() 10 0.002548 0.002548 0.002548 0.30% MLMG::ResNormInf() 92 0.002069 0.002069 0.002069 0.24% Castro::apply_source_to_state() 20 0.001819 0.001819 0.001819 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00166 0.00166 0.00166 0.20% Castro::reset_internal_energy(Fab) 504 0.001495 0.001495 0.001495 0.18% FabArrayBase::getCPC() 1313 0.001416 0.001416 0.001416 0.17% MLMG::getGradSolution() 11 0.001387 0.001387 0.001387 0.16% MLCellLinOp::compGrad() 11 0.00138 0.00138 0.00138 0.16% MLCellLinOp::setLevelBC() 11 0.00136 0.00136 0.00136 0.16% FabArray::mult() 43 0.001328 0.001328 0.001328 0.16% FabArray::setDomainBndry() 41 0.001285 0.001285 0.001285 0.15% Castro::check_for_nan() 20 0.001223 0.001223 0.001223 0.14% MultiFab::contains_nan() 20 0.001213 0.001213 0.001213 0.14% MLPoisson::prepareForSolve() 11 0.001092 0.001092 0.001092 0.13% Castro::post_regrid() 1 0.001084 0.001084 0.001084 0.13% MLCellLinOp::prepareForSolve() 11 0.001083 0.001083 0.001083 0.13% MLMG::computeMLResidual() 11 0.001005 0.001005 0.001005 0.12% Castro::computeInitialDt() 2 0.0009367 0.0009367 0.0009367 0.11% Castro::enforce_speed_limit() 62 0.0009208 0.0009208 0.0009208 0.11% Gravity::update_max_rhs() 11 0.0008849 0.0008849 0.0008849 0.10% FabArrayBase::CPC::define() 454 0.0006866 0.0006866 0.0006866 0.08% FabArrayBase::getFB() 3974 0.0006648 0.0006648 0.0006648 0.08% Castro::finalize_advance() 10 0.0006098 0.0006098 0.0006098 0.07% Amr::InitAmr() 1 0.0005077 0.0005077 0.0005077 0.06% Gravity::swapTimeLevels() 10 0.0004604 0.0004604 0.0004604 0.05% MLLinOp::define() 11 0.0004422 0.0004422 0.0004422 0.05% Castro::Castro() 1 0.000436 0.000436 0.000436 0.05% MLLinOp::defineGrids() 11 0.0004267 0.0004267 0.0004267 0.05% MLMG::MLResNormInf() 11 0.0002838 0.0002838 0.0002838 0.03% MultiFab::max() 11 0.0002667 0.0002667 0.0002667 0.03% MLMG::MLRhsNormInf() 11 0.0002181 0.0002181 0.0002181 0.03% Castro::create_source_corrector() 10 0.0001726 0.0001726 0.0001726 0.02% Castro::buildMetrics() 1 0.0001631 0.0001631 0.0001631 0.02% FabArrayBase::FB::FB() 56 8.954e-05 8.954e-05 8.954e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.656e-05 5.656e-05 5.656e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.39e-05 5.39e-05 5.39e-05 0.01% StateData::define() 4 3.981e-05 3.981e-05 3.981e-05 0.00% makeSFC 55 3.958e-05 3.958e-05 3.958e-05 0.00% Castro::swap_state_time_levels() 10 3.882e-05 3.882e-05 3.882e-05 0.00% Castro::finalize_do_advance() 10 3.75e-05 3.75e-05 3.75e-05 0.00% Castro::enforce_consistent_e() 1 3.345e-05 3.345e-05 3.345e-05 0.00% Amr::writeSmallPlotFile() 1 2.529e-05 2.529e-05 2.529e-05 0.00% Castro::initMFs() 1 2.362e-05 2.362e-05 2.362e-05 0.00% DistributionMapping::Distribute() 56 1.505e-05 1.505e-05 1.505e-05 0.00% Amr::initSubcycle() 1 9.436e-06 9.436e-06 9.436e-06 0.00% AmrLevel::checkPointPost() 3 5.761e-06 5.761e-06 5.761e-06 0.00% Castro::retry_advance_ctu() 10 4.748e-06 4.748e-06 4.748e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.63e-06 4.63e-06 4.63e-06 0.00% Gravity::set_mass_offset() 11 4.325e-06 4.325e-06 4.325e-06 0.00% Castro::FluxRegCrseInit 10 3.903e-06 3.903e-06 3.903e-06 0.00% Castro::FluxRegFineAdd() 10 2.81e-06 2.81e-06 2.81e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.967e-06 1.967e-06 1.967e-06 0.00% AmrLevel::checkPointPre() 3 1.879e-06 1.879e-06 1.879e-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 96 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 120 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 1029 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2169 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3574 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 177 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 1978 B 2048 KiB Gravity::solve_for_phi() 80 80 572 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 87 KiB 2048 KiB BndryData::define() 1056 1056 326 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 2823 B 480 KiB VisMF::Write(FabArray) 656 656 3489 B 320 KiB Castro::normalize_species() 62 62 5596 B 320 KiB amrex::average_down 1054 1054 1265 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1157 B 257 KiB amrex::Dot() 1343 1343 3392 B 160 KiB FabArray::norminf() 896 896 2408 B 160 KiB Castro::do_advance_ctu() 10 10 479 B 160 KiB MultiFab::max() 11 11 48 B 160 KiB Castro::initData() 1 1 28 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3494 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 46 B 10 KiB FillBoundary_nowait() 751 751 328 B 9648 B MLCellLinOp::applyBC() 8758 8758 224 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 3072 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 119 B 1472 B MLCellLinOp::defineBC() 66 66 367 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 646 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 52 KiB 8192 KiB VisMF::Write(FabArray) 744 744 622 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3494 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 46 B 10 KiB FillBoundary_nowait() 751 751 328 B 9648 B MLCellLinOp::applyBC() 4379 4379 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3857 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 3072 B Gravity::get_new_grav_vector() 3 3 2915 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 272 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 297 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 896 896 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-29-g76d6d344e12d) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-29-g76d6d344e12d) initialized Starting run at 09:06:04 UTC on 2023-05-25. Successfully read inputs file ... Castro git describe: 23.05-25-g99ae92958 AMReX git describe: 23.05-29-g76d6d344e Microphysics git describe: 23.05-12-g1f8fd85f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.434724807 Restart time = 0.043502323 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.047720925 [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.046616332 [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.054958754 [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.056970393 [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.066420123 [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.032163357 seconds Ending run at 09:06:04 UTC on 2023-05-25. Run time = 0.349396065 Run time without initialization = 0.305274608 Average number of zones advanced per microsecond: 4.294 Average number of zones advanced per microsecond per rank: 4.294 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3494 ... 0.3494 ... 0.3494 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0972 0.0972 0.0972 27.81% VisMF::Read() 3 0.0373 0.0373 0.0373 10.68% MLCellLinOp::applyBC() 1946 0.03201 0.03201 0.03201 9.16% VisMF::Write(FabArray) 1 0.0306 0.0306 0.0306 8.76% MLPoisson::Fsmooth() 1440 0.01351 0.01351 0.01351 3.87% FillBoundary_nowait() 1766 0.01297 0.01297 0.01297 3.71% StateData::FillBoundary(geom) 160 0.01181 0.01181 0.01181 3.38% amrex::Dot() 484 0.008423 0.008423 0.008423 2.41% amrex::Copy() 463 0.006772 0.006772 0.006772 1.94% Castro::enforce_min_density() 30 0.006262 0.006262 0.006262 1.79% FabArray::setVal() 537 0.006041 0.006041 0.006041 1.73% FabArray::norminf() 326 0.005996 0.005996 0.005996 1.72% FabArray::ParallelCopy_nowait() 380 0.005842 0.005842 0.005842 1.67% Castro::computeTemp() 30 0.005465 0.005465 0.005465 1.56% Castro::normalize_species() 30 0.005367 0.005367 0.005367 1.54% MLCellLinOp::defineAuxData() 6 0.00514 0.00514 0.00514 1.47% StateDataPhysBCFunct::() 20 0.005035 0.005035 0.005035 1.44% MLPoisson::Fapply() 500 0.004296 0.004296 0.004296 1.23% FabArray::Saxpy() 355 0.003549 0.003549 0.003549 1.02% FabArray::Xpay() 361 0.003377 0.003377 0.003377 0.97% Gravity::fill_multipole_BCs() 6 0.003308 0.003308 0.003308 0.95% Castro::estTimeStep() 10 0.003108 0.003108 0.003108 0.89% MLMG::addInterpCorrection() 180 0.0028 0.0028 0.0028 0.80% amrex::average_down 180 0.002492 0.002492 0.002492 0.71% Castro::reset_internal_energy(MultiFab) 30 0.00249 0.00249 0.00249 0.71% Amr::restart() 1 0.002486 0.002486 0.002486 0.71% BndryData::define() 6 0.00191 0.00191 0.00191 0.55% FabArray::LinComb() 242 0.001857 0.001857 0.001857 0.53% amrex::Add() 72 0.001833 0.001833 0.001833 0.52% Castro::construct_new_gravity_source() 5 0.001675 0.001675 0.001675 0.48% Amr::writePlotFile() 1 0.001426 0.001426 0.001426 0.41% Castro::do_advance_ctu() 5 0.001405 0.001405 0.001405 0.40% Castro::construct_old_gravity_source() 5 0.001297 0.001297 0.001297 0.37% MLCGSolver::bicgstab 36 0.0009434 0.0009434 0.0009434 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008844 0.0008844 0.0008844 0.25% Gravity::actual_solve_with_mlmg() 6 0.0007886 0.0007886 0.0007886 0.23% MLCellLinOp::setLevelBC() 6 0.0007301 0.0007301 0.0007301 0.21% Castro::enforce_speed_limit() 30 0.0007008 0.0007008 0.0007008 0.20% Castro::reset_internal_energy(Fab) 240 0.0006946 0.0006946 0.0006946 0.20% FabArray::mult() 22 0.0006437 0.0006437 0.0006437 0.18% FabArray::setDomainBndry() 20 0.000631 0.000631 0.000631 0.18% MultiFab::contains_nan() 10 0.0005967 0.0005967 0.0005967 0.17% MLCellLinOp::prepareForSolve() 6 0.0005789 0.0005789 0.0005789 0.17% MLCellLinOp::compGrad() 6 0.0004816 0.0004816 0.0004816 0.14% MLMG::prepareForSolve() 6 0.000467 0.000467 0.000467 0.13% MLCellLinOp::smooth() 720 0.0004628 0.0004628 0.0004628 0.13% FabArrayBase::CPC::define() 244 0.0004302 0.0004302 0.0004302 0.12% Amr::InitAmr() 1 0.0004234 0.0004234 0.0004234 0.12% FabArrayBase::getCPC() 632 0.0003691 0.0003691 0.0003691 0.11% FabArray::FillBoundary() 1766 0.0003579 0.0003579 0.0003579 0.10% Gravity::get_old_grav_vector() 5 0.0002987 0.0002987 0.0002987 0.09% main() 1 0.0002935 0.0002935 0.0002935 0.08% Gravity::get_new_grav_vector() 5 0.000271 0.000271 0.000271 0.08% FabArrayBase::getFB() 1766 0.0002489 0.0002489 0.0002489 0.07% MLCellLinOp::apply() 500 0.0001907 0.0001907 0.0001907 0.05% MLLinOp::defineGrids() 6 0.0001834 0.0001834 0.0001834 0.05% MLMG::mgVcycle() 36 0.000166 0.000166 0.000166 0.05% Amr::coarseTimeStep() 5 0.0001619 0.0001619 0.0001619 0.05% MLCGSolver::ParallelAllReduce 659 0.0001385 0.0001385 0.0001385 0.04% MultiFab::max() 6 0.0001345 0.0001345 0.0001345 0.04% Castro::create_source_corrector() 5 0.0001201 0.0001201 0.0001201 0.03% FabArray::ParallelCopy() 380 0.0001143 0.0001143 0.0001143 0.03% FillPatchIterator::Initialize 20 0.0001137 0.0001137 0.0001137 0.03% MLCellLinOp::defineBC() 6 0.0001096 0.0001096 0.0001096 0.03% Amr::timeStep() 5 0.0001019 0.0001019 0.0001019 0.03% MLCellLinOp::correctionResidual() 216 9.161e-05 9.161e-05 9.161e-05 0.03% AmrLevel::restart() 1 7.796e-05 7.796e-05 7.796e-05 0.02% Castro::subcycle_advance_ctu() 5 7.446e-05 7.446e-05 7.446e-05 0.02% StateData::restartDoit() 4 6.697e-05 6.697e-05 6.697e-05 0.02% Gravity::update_max_rhs() 6 6.113e-05 6.113e-05 6.113e-05 0.02% FabArrayBase::FB::FB() 26 5.931e-05 5.931e-05 5.931e-05 0.02% Gravity::solve_for_phi() 5 5.058e-05 5.058e-05 5.058e-05 0.01% MLMG:computeResOfCorrection() 180 5.046e-05 5.046e-05 5.046e-05 0.01% Castro::expand_state() 5 4.174e-05 4.174e-05 4.174e-05 0.01% MLMG::actualBottomSolve() 36 3.855e-05 3.855e-05 3.855e-05 0.01% MLMG::mgVcycle_down::0 36 3.839e-05 3.839e-05 3.839e-05 0.01% MLMG::mgVcycle_down::1 36 3.482e-05 3.482e-05 3.482e-05 0.01% Castro::clean_state() 30 3.447e-05 3.447e-05 3.447e-05 0.01% Castro::construct_new_source() 25 3.401e-05 3.401e-05 3.401e-05 0.01% Castro::initialize_advance() 5 3.398e-05 3.398e-05 3.398e-05 0.01% MLMG::mgVcycle_down::2 36 3.305e-05 3.305e-05 3.305e-05 0.01% MLMG::mgVcycle_up::4 36 3.304e-05 3.304e-05 3.304e-05 0.01% MLMG::mgVcycle_down::4 36 3.252e-05 3.252e-05 3.252e-05 0.01% MLMG::mgVcycle_down::3 36 3.136e-05 3.136e-05 3.136e-05 0.01% MLMG::solve() 6 3.099e-05 3.099e-05 3.099e-05 0.01% Castro::finalize_advance() 5 2.791e-05 2.791e-05 2.791e-05 0.01% Amr::writeSmallPlotFile() 1 2.763e-05 2.763e-05 2.763e-05 0.01% Castro::initialize_do_advance() 5 2.708e-05 2.708e-05 2.708e-05 0.01% Castro::buildMetrics() 1 2.605e-05 2.605e-05 2.605e-05 0.01% Castro::initMFs() 1 2.56e-05 2.56e-05 2.56e-05 0.01% Castro::swap_state_time_levels() 5 2.361e-05 2.361e-05 2.361e-05 0.01% MLMG::oneIter() 36 2.302e-05 2.302e-05 2.302e-05 0.01% MLCellLinOp::solutionResidual() 42 2.109e-05 2.109e-05 2.109e-05 0.01% MLMG::mgVcycle_up::3 36 2.091e-05 2.091e-05 2.091e-05 0.01% MLMG::mgVcycle_up::2 36 2.072e-05 2.072e-05 2.072e-05 0.01% MLMG::mgVcycle_up::1 36 2.036e-05 2.036e-05 2.036e-05 0.01% MLMG::mgVcycle_up::0 36 2.01e-05 2.01e-05 2.01e-05 0.01% Castro::finalize_do_advance() 5 1.967e-05 1.967e-05 1.967e-05 0.01% Castro::post_restart() 1 1.959e-05 1.959e-05 1.959e-05 0.01% MLPoisson::define() 6 1.912e-05 1.912e-05 1.912e-05 0.01% MLMG::ResNormInf() 42 1.733e-05 1.733e-05 1.733e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.557e-05 1.557e-05 1.557e-05 0.00% MLMG::mgVcycle_bottom 36 1.435e-05 1.435e-05 1.435e-05 0.00% MLMG::computeResidual() 36 1.413e-05 1.413e-05 1.413e-05 0.00% Castro::advance() 5 1.405e-05 1.405e-05 1.405e-05 0.00% FillPatchSingleLevel 20 1.373e-05 1.373e-05 1.373e-05 0.00% makeSFC 30 1.342e-05 1.342e-05 1.342e-05 0.00% Castro::construct_new_gravity() 5 1.223e-05 1.223e-05 1.223e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.184e-05 1.184e-05 1.184e-05 0.00% MLLinOp::define() 6 1.088e-05 1.088e-05 1.088e-05 0.00% Castro::construct_old_source() 25 9.945e-06 9.945e-06 9.945e-06 0.00% Amr::initSubcycle() 1 8.992e-06 8.992e-06 8.992e-06 0.00% DistributionMapping::Distribute() 31 8.883e-06 8.883e-06 8.883e-06 0.00% Castro::do_new_sources() 5 8.441e-06 8.441e-06 8.441e-06 0.00% Gravity::actual_multilevel_solve() 1 8.049e-06 8.049e-06 8.049e-06 0.00% Castro::do_old_sources() 5 7.964e-06 7.964e-06 7.964e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.493e-06 7.493e-06 7.493e-06 0.00% Castro::construct_old_gravity() 5 5.691e-06 5.691e-06 5.691e-06 0.00% Castro::check_for_nan() 10 5.455e-06 5.455e-06 5.455e-06 0.00% Castro::apply_source_to_state() 10 5.063e-06 5.063e-06 5.063e-06 0.00% MLPoisson::prepareForSolve() 6 4.516e-06 4.516e-06 4.516e-06 0.00% Castro::post_timestep() 5 4.297e-06 4.297e-06 4.297e-06 0.00% Gravity::swapTimeLevels() 5 3.863e-06 3.863e-06 3.863e-06 0.00% Castro::computeNewDt() 5 3.696e-06 3.696e-06 3.696e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.543e-06 3.543e-06 3.543e-06 0.00% MLMG::computeMLResidual() 6 3.495e-06 3.495e-06 3.495e-06 0.00% MLMG::getGradSolution() 6 3.073e-06 3.073e-06 3.073e-06 0.00% Gravity::set_mass_offset() 6 2.578e-06 2.578e-06 2.578e-06 0.00% MLMG::MLResNormInf() 6 2.276e-06 2.276e-06 2.276e-06 0.00% MLMG::MLRhsNormInf() 6 2.232e-06 2.232e-06 2.232e-06 0.00% Castro::retry_advance_ctu() 5 1.655e-06 1.655e-06 1.655e-06 0.00% Castro::FluxRegCrseInit 5 1.51e-06 1.51e-06 1.51e-06 0.00% Castro::FluxRegFineAdd() 5 1.157e-06 1.157e-06 1.157e-06 0.00% Amr::init() 1 1.064e-06 1.064e-06 1.064e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.047e-06 1.047e-06 1.047e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3494 0.3494 0.3494 99.99% Amr::coarseTimeStep() 5 0.2728 0.2728 0.2728 78.08% Amr::timeStep() 5 0.2702 0.2702 0.2702 77.34% Castro::advance() 5 0.2673 0.2673 0.2673 76.49% Castro::subcycle_advance_ctu() 5 0.2609 0.2609 0.2609 74.68% Castro::do_advance_ctu() 5 0.2609 0.2609 0.2609 74.66% Castro::construct_new_gravity() 5 0.1261 0.1261 0.1261 36.07% Gravity::solve_phi_with_mlmg() 6 0.1215 0.1215 0.1215 34.76% Gravity::solve_for_phi() 5 0.1184 0.1184 0.1184 33.89% Gravity::actual_solve_with_mlmg() 6 0.1179 0.1179 0.1179 33.74% MLMG::solve() 6 0.1069 0.1069 0.1069 30.61% MLMG::oneIter() 36 0.1003 0.1003 0.1003 28.70% MLMG::mgVcycle() 36 0.09873 0.09873 0.09873 28.26% Castro::construct_ctu_hydro_source() 5 0.09717 0.09717 0.09717 27.81% MLCellLinOp::smooth() 720 0.0487 0.0487 0.0487 13.94% MLCellLinOp::applyBC() 1946 0.04565 0.04565 0.04565 13.06% Amr::init() 1 0.04354 0.04354 0.04354 12.46% Amr::restart() 1 0.04354 0.04354 0.04354 12.46% AmrLevel::restart() 1 0.03751 0.03751 0.03751 10.73% StateData::restartDoit() 4 0.03743 0.03743 0.03743 10.71% VisMF::Read() 3 0.0373 0.0373 0.0373 10.68% Amr::writePlotFile() 1 0.03227 0.03227 0.03227 9.24% VisMF::Write(FabArray) 1 0.0306 0.0306 0.0306 8.76% MLMG::mgVcycle_bottom 36 0.03039 0.03039 0.03039 8.70% MLMG::actualBottomSolve() 36 0.03038 0.03038 0.03038 8.69% MLCGSolver::bicgstab 36 0.03009 0.03009 0.03009 8.61% Castro::clean_state() 30 0.02101 0.02101 0.02101 6.01% FillPatchIterator::Initialize 20 0.01965 0.01965 0.01965 5.62% FillPatchSingleLevel 20 0.01891 0.01891 0.01891 5.41% StateDataPhysBCFunct::() 20 0.01685 0.01685 0.01685 4.82% MLCellLinOp::apply() 500 0.01515 0.01515 0.01515 4.34% MLMG::mgVcycle_down::0 36 0.01421 0.01421 0.01421 4.07% FabArray::FillBoundary() 1766 0.01364 0.01364 0.01364 3.90% MLPoisson::Fsmooth() 1440 0.01351 0.01351 0.01351 3.87% FillBoundary_nowait() 1766 0.01328 0.01328 0.01328 3.80% StateData::FillBoundary(geom) 160 0.01181 0.01181 0.01181 3.38% MLMG::mgVcycle_up::0 36 0.01067 0.01067 0.01067 3.05% Castro::initialize_do_advance() 5 0.009733 0.009733 0.009733 2.79% MLCellLinOp::correctionResidual() 216 0.009207 0.009207 0.009207 2.63% MLPoisson::define() 6 0.008692 0.008692 0.008692 2.49% Castro::computeTemp() 30 0.00865 0.00865 0.00865 2.48% amrex::Dot() 484 0.008423 0.008423 0.008423 2.41% MLMG:computeResOfCorrection() 180 0.008097 0.008097 0.008097 2.32% Gravity::get_new_grav_vector() 5 0.007524 0.007524 0.007524 2.15% Castro::construct_old_gravity() 5 0.007213 0.007213 0.007213 2.06% Gravity::get_old_grav_vector() 5 0.007208 0.007208 0.007208 2.06% amrex::Copy() 463 0.006772 0.006772 0.006772 1.94% MLMG::mgVcycle_down::1 36 0.006565 0.006565 0.006565 1.88% FabArray::ParallelCopy() 380 0.006351 0.006351 0.006351 1.82% Castro::enforce_min_density() 30 0.006262 0.006262 0.006262 1.79% FabArray::ParallelCopy_nowait() 380 0.006236 0.006236 0.006236 1.78% Castro::do_new_sources() 5 0.006196 0.006196 0.006196 1.77% MLMG::mgVcycle_down::2 36 0.006119 0.006119 0.006119 1.75% FabArray::setVal() 537 0.006041 0.006041 0.006041 1.73% Castro::initialize_advance() 5 0.006029 0.006029 0.006029 1.73% FabArray::norminf() 326 0.005996 0.005996 0.005996 1.72% MLMG::mgVcycle_down::3 36 0.005944 0.005944 0.005944 1.70% MLCellLinOp::defineAuxData() 6 0.005888 0.005888 0.005888 1.69% MLMG::mgVcycle_down::4 36 0.005884 0.005884 0.005884 1.68% Castro::expand_state() 5 0.00563 0.00563 0.00563 1.61% Castro::normalize_species() 30 0.005367 0.005367 0.005367 1.54% MLCGSolver::ParallelAllReduce 659 0.005087 0.005087 0.005087 1.46% Castro::do_old_sources() 5 0.004951 0.004951 0.004951 1.42% MLMG::addInterpCorrection() 180 0.004941 0.004941 0.004941 1.41% MLMG::mgVcycle_up::1 36 0.004792 0.004792 0.004792 1.37% MLMG::mgVcycle_up::4 36 0.004733 0.004733 0.004733 1.35% MLMG::mgVcycle_up::2 36 0.004683 0.004683 0.004683 1.34% amrex::average_down 180 0.004659 0.004659 0.004659 1.33% MLMG::mgVcycle_up::3 36 0.00458 0.00458 0.00458 1.31% MLPoisson::Fapply() 500 0.004296 0.004296 0.004296 1.23% FabArray::Saxpy() 355 0.003549 0.003549 0.003549 1.02% Gravity::fill_multipole_BCs() 6 0.003451 0.003451 0.003451 0.99% Castro::post_restart() 1 0.003379 0.003379 0.003379 0.97% FabArray::Xpay() 361 0.003377 0.003377 0.003377 0.97% Gravity::multilevel_solve_for_new_phi() 1 0.003273 0.003273 0.003273 0.94% Gravity::actual_multilevel_solve() 1 0.003258 0.003258 0.003258 0.93% Castro::reset_internal_energy(MultiFab) 30 0.003185 0.003185 0.003185 0.91% MLCellLinOp::solutionResidual() 42 0.003152 0.003152 0.003152 0.90% Castro::estTimeStep() 10 0.003108 0.003108 0.003108 0.89% Castro::post_timestep() 5 0.002874 0.002874 0.002874 0.82% MLMG::computeResidual() 36 0.002606 0.002606 0.002606 0.75% MLCellLinOp::defineBC() 6 0.002562 0.002562 0.002562 0.73% BndryData::define() 6 0.002452 0.002452 0.002452 0.70% Castro::computeNewDt() 5 0.002435 0.002435 0.002435 0.70% MLMG::prepareForSolve() 6 0.00243 0.00243 0.00243 0.70% FabArray::LinComb() 242 0.001857 0.001857 0.001857 0.53% amrex::Add() 72 0.001833 0.001833 0.001833 0.52% Castro::construct_new_source() 25 0.001709 0.001709 0.001709 0.49% Castro::construct_new_gravity_source() 5 0.001675 0.001675 0.001675 0.48% Castro::construct_old_source() 25 0.001307 0.001307 0.001307 0.37% Castro::construct_old_gravity_source() 5 0.001297 0.001297 0.001297 0.37% Castro::apply_source_to_state() 10 0.0009154 0.0009154 0.0009154 0.26% MLMG::ResNormInf() 42 0.0009101 0.0009101 0.0009101 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008844 0.0008844 0.0008844 0.25% FabArrayBase::getCPC() 632 0.0007993 0.0007993 0.0007993 0.23% MLMG::getGradSolution() 6 0.0007416 0.0007416 0.0007416 0.21% MLCellLinOp::compGrad() 6 0.0007385 0.0007385 0.0007385 0.21% MLCellLinOp::setLevelBC() 6 0.0007301 0.0007301 0.0007301 0.21% Castro::enforce_speed_limit() 30 0.0007008 0.0007008 0.0007008 0.20% Castro::reset_internal_energy(Fab) 240 0.0006946 0.0006946 0.0006946 0.20% FabArray::mult() 22 0.0006437 0.0006437 0.0006437 0.18% FabArray::setDomainBndry() 20 0.000631 0.000631 0.000631 0.18% Castro::check_for_nan() 10 0.0006021 0.0006021 0.0006021 0.17% MultiFab::contains_nan() 10 0.0005967 0.0005967 0.0005967 0.17% MLPoisson::prepareForSolve() 6 0.0005834 0.0005834 0.0005834 0.17% MLCellLinOp::prepareForSolve() 6 0.0005789 0.0005789 0.0005789 0.17% MLMG::computeMLResidual() 6 0.0005634 0.0005634 0.0005634 0.16% Gravity::update_max_rhs() 6 0.000436 0.000436 0.000436 0.12% Amr::InitAmr() 1 0.0004323 0.0004323 0.0004323 0.12% FabArrayBase::CPC::define() 244 0.0004302 0.0004302 0.0004302 0.12% FabArrayBase::getFB() 1766 0.0003082 0.0003082 0.0003082 0.09% Castro::finalize_advance() 5 0.0002807 0.0002807 0.0002807 0.08% MLLinOp::define() 6 0.0002237 0.0002237 0.0002237 0.06% Gravity::swapTimeLevels() 5 0.0002218 0.0002218 0.0002218 0.06% MLLinOp::defineGrids() 6 0.0002128 0.0002128 0.0002128 0.06% MLMG::MLResNormInf() 6 0.0001487 0.0001487 0.0001487 0.04% Castro::buildMetrics() 1 0.000144 0.000144 0.000144 0.04% MultiFab::max() 6 0.0001345 0.0001345 0.0001345 0.04% Castro::create_source_corrector() 5 0.0001201 0.0001201 0.0001201 0.03% MLMG::MLRhsNormInf() 6 0.0001155 0.0001155 0.0001155 0.03% FabArrayBase::FB::FB() 26 5.931e-05 5.931e-05 5.931e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.836e-05 2.836e-05 2.836e-05 0.01% Amr::writeSmallPlotFile() 1 2.763e-05 2.763e-05 2.763e-05 0.01% Castro::initMFs() 1 2.56e-05 2.56e-05 2.56e-05 0.01% Castro::swap_state_time_levels() 5 2.361e-05 2.361e-05 2.361e-05 0.01% makeSFC 30 2.087e-05 2.087e-05 2.087e-05 0.01% Castro::finalize_do_advance() 5 1.967e-05 1.967e-05 1.967e-05 0.01% Amr::initSubcycle() 1 8.992e-06 8.992e-06 8.992e-06 0.00% DistributionMapping::Distribute() 31 8.883e-06 8.883e-06 8.883e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.982e-06 4.982e-06 4.982e-06 0.00% Gravity::set_mass_offset() 6 2.578e-06 2.578e-06 2.578e-06 0.00% Castro::retry_advance_ctu() 5 1.655e-06 1.655e-06 1.655e-06 0.00% Castro::FluxRegCrseInit 5 1.51e-06 1.51e-06 1.51e-06 0.00% Castro::FluxRegFineAdd() 5 1.157e-06 1.157e-06 1.157e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.047e-06 1.047e-06 1.047e-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 233 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 130 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 1232 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2578 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 6688 KiB 14 MiB MLMG::prepareForSolve() 361 361 3758 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 213 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 220 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6683 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2401 B 2048 KiB Gravity::solve_for_phi() 40 40 692 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 345 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 221 KiB 671 KiB Castro::estTimeStep() 10 10 3206 B 480 KiB VisMF::Write(FabArray) 112 112 1404 B 320 KiB Castro::normalize_species() 30 30 4981 B 320 KiB amrex::average_down 469 469 1289 B 257 KiB MLMG::addInterpCorrection() 468 468 1219 B 257 KiB amrex::Dot() 592 592 3547 B 160 KiB FabArray::norminf() 398 398 2535 B 160 KiB Castro::do_advance_ctu() 5 5 622 B 160 KiB MultiFab::max() 6 6 59 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3655 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 322 B 9648 B MLCellLinOp::applyBC() 3892 3892 237 B 9344 B amrex::Copy() 56 56 5969 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 51 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 125 B 1472 B MLCellLinOp::defineBC() 36 36 388 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1587 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 126 KiB 8192 KiB VisMF::Write(FabArray) 120 120 268 KiB 3584 KiB VisMF::Read() 24 24 209 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3655 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 322 B 9648 B MLCellLinOp::applyBC() 1946 1946 236 B 9328 B amrex::Copy() 56 56 5969 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2634 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 52 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 551 B 1296 B amrex::average_down 37 37 222 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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-29-g76d6d344e12d) finalized