Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-25-g10b6cb26d0ac) initialized Starting run at 08:30:30 UTC on 2023-07-18. Successfully read inputs file ... Castro git describe: 23.07-15-gdb09908b9 AMReX git describe: 23.07-25-g10b6cb26d Microphysics git describe: 23.07-32-g40bb827a 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.059641954 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034353061 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.049970998 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.068049942 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.073182573 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.061813444 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.065479603 [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.05954858 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.06934769 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.069972044 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.071418021 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.052362237 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.057984714 [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.059819823 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034762837 seconds Ending run at 08:30:30 UTC on 2023-07-18. Run time = 0.934125625 Run time without initialization = 0.794420223 Average number of zones advanced per microsecond: 3.300 Average number of zones advanced per microsecond per rank: 3.300 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9342 ... 0.9342 ... 0.9342 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2683 0.2683 0.2683 28.72% VisMF::Write(FabArray) 11 0.2413 0.2413 0.2413 25.83% MLCellLinOp::applyBC() 4379 0.07548 0.07548 0.07548 8.08% MLPoisson::Fsmooth() 3240 0.03179 0.03179 0.03179 3.40% FillBoundary_nowait() 3974 0.0302 0.0302 0.0302 3.23% StateData::FillBoundary(geom) 328 0.02527 0.02527 0.02527 2.70% Castro::normalize_species() 62 0.02048 0.02048 0.02048 2.19% amrex::Dot() 1100 0.02032 0.02032 0.02032 2.18% Castro::computeTemp() 63 0.01809 0.01809 0.01809 1.94% amrex::Copy() 1019 0.01474 0.01474 0.01474 1.58% FabArray::norminf() 734 0.01417 0.01417 0.01417 1.52% FabArray::ParallelCopy_nowait() 851 0.0131 0.0131 0.0131 1.40% FabArray::setVal() 1135 0.01297 0.01297 0.01297 1.39% Castro::enforce_min_density() 62 0.01272 0.01272 0.01272 1.36% StateDataPhysBCFunct::() 41 0.01209 0.01209 0.01209 1.29% MLPoisson::Fapply() 1128 0.01011 0.01011 0.01011 1.08% MLCellLinOp::defineAuxData() 11 0.009673 0.009673 0.009673 1.04% FabArray::Saxpy() 803 0.008032 0.008032 0.008032 0.86% FabArray::Xpay() 811 0.007958 0.007958 0.007958 0.85% Gravity::fill_multipole_BCs() 11 0.006688 0.006688 0.006688 0.72% MLMG::addInterpCorrection() 405 0.006651 0.006651 0.006651 0.71% Castro::estTimeStep() 21 0.005993 0.005993 0.005993 0.64% amrex::average_down 405 0.00585 0.00585 0.00585 0.63% Castro::reset_internal_energy(MultiFab) 63 0.004859 0.004859 0.004859 0.52% FabArray::LinComb() 550 0.004431 0.004431 0.004431 0.47% amrex::Add() 162 0.004267 0.004267 0.004267 0.46% Amr::checkPoint() 3 0.004022 0.004022 0.004022 0.43% BndryData::define() 11 0.003767 0.003767 0.003767 0.40% Castro::construct_new_gravity_source() 10 0.003094 0.003094 0.003094 0.33% Castro::construct_old_gravity_source() 10 0.002735 0.002735 0.002735 0.29% Amr::writePlotFile() 2 0.002374 0.002374 0.002374 0.25% Castro::enforce_speed_limit() 62 0.002176 0.002176 0.002176 0.23% MLCGSolver::bicgstab 81 0.002098 0.002098 0.002098 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001664 0.001664 0.001664 0.18% check_for_negative_density() 10 0.001657 0.001657 0.001657 0.18% Castro::reset_internal_energy(Fab) 504 0.001565 0.001565 0.001565 0.17% Gravity::actual_solve_with_mlmg() 11 0.001466 0.001466 0.001466 0.16% MLCellLinOp::setLevelBC() 11 0.001383 0.001383 0.001383 0.15% FabArray::mult() 43 0.001314 0.001314 0.001314 0.14% FabArray::setDomainBndry() 41 0.001306 0.001306 0.001306 0.14% Castro::initData() 1 0.001254 0.001254 0.001254 0.13% MultiFab::contains_nan() 20 0.001184 0.001184 0.001184 0.13% MLCellLinOp::smooth() 1620 0.001135 0.001135 0.001135 0.12% MLCellLinOp::prepareForSolve() 11 0.001101 0.001101 0.001101 0.12% MLCellLinOp::compGrad() 11 0.0009056 0.0009056 0.0009056 0.10% MLMG::prepareForSolve() 11 0.0008493 0.0008493 0.0008493 0.09% FabArray::FillBoundary() 3974 0.0008423 0.0008423 0.0008423 0.09% FabArrayBase::getCPC() 1313 0.0007553 0.0007553 0.0007553 0.08% FabArrayBase::CPC::define() 454 0.0006691 0.0006691 0.0006691 0.07% FabArrayBase::getFB() 3974 0.0006226 0.0006226 0.0006226 0.07% Gravity::get_new_grav_vector() 11 0.0005421 0.0005421 0.0005421 0.06% Amr::InitAmr() 1 0.0005016 0.0005016 0.0005016 0.05% Gravity::get_old_grav_vector() 10 0.000474 0.000474 0.000474 0.05% MLCellLinOp::apply() 1128 0.0004477 0.0004477 0.0004477 0.05% Amr::coarseTimeStep() 10 0.0004136 0.0004136 0.0004136 0.04% MLMG::mgVcycle() 81 0.0003536 0.0003536 0.0003536 0.04% MLLinOp::defineGrids() 11 0.0003429 0.0003429 0.0003429 0.04% AmrLevel::FillPatch() 41 0.0003301 0.0003301 0.0003301 0.04% main() 1 0.0003241 0.0003241 0.0003241 0.03% MLCGSolver::ParallelAllReduce 1495 0.0002855 0.0002855 0.0002855 0.03% MultiFab::max() 11 0.0002592 0.0002592 0.0002592 0.03% FabArray::ParallelCopy() 851 0.0002465 0.0002465 0.0002465 0.03% FillPatchIterator::Initialize 41 0.0002069 0.0002069 0.0002069 0.02% Castro::subcycle_advance_ctu() 10 0.0002056 0.0002056 0.0002056 0.02% MLCellLinOp::defineBC() 11 0.0002052 0.0002052 0.0002052 0.02% MLCellLinOp::correctionResidual() 486 0.000204 0.000204 0.000204 0.02% Amr::timeStep() 10 0.0001706 0.0001706 0.0001706 0.02% Castro::create_source_corrector() 10 0.0001553 0.0001553 0.0001553 0.02% StateData::checkPoint() 12 0.0001348 0.0001348 0.0001348 0.01% Gravity::update_max_rhs() 11 0.000124 0.000124 0.000124 0.01% MLMG:computeResOfCorrection() 405 0.0001201 0.0001201 0.0001201 0.01% Castro::advance() 10 0.0001172 0.0001172 0.0001172 0.01% Gravity::solve_for_phi() 10 0.0001065 0.0001065 0.0001065 0.01% Castro::Castro() 1 0.0001005 0.0001005 0.0001005 0.01% Castro::construct_new_source() 50 9.921e-05 9.921e-05 9.921e-05 0.01% FabArrayBase::FB::FB() 56 8.627e-05 8.627e-05 8.627e-05 0.01% MLMG::actualBottomSolve() 81 8.502e-05 8.502e-05 8.502e-05 0.01% MLMG::mgVcycle_down::0 81 8.304e-05 8.304e-05 8.304e-05 0.01% MLMG::mgVcycle_down::1 81 8.104e-05 8.104e-05 8.104e-05 0.01% MLMG::mgVcycle_down::2 81 7.894e-05 7.894e-05 7.894e-05 0.01% MLMG::mgVcycle_down::4 81 7.844e-05 7.844e-05 7.844e-05 0.01% MLMG::mgVcycle_down::3 81 7.576e-05 7.576e-05 7.576e-05 0.01% AmrLevel::checkPoint() 3 7.481e-05 7.481e-05 7.481e-05 0.01% MLMG::solve() 11 7.312e-05 7.312e-05 7.312e-05 0.01% Castro::initialize_advance() 10 7.243e-05 7.243e-05 7.243e-05 0.01% Castro::clean_state() 62 6.568e-05 6.568e-05 6.568e-05 0.01% MLMG::mgVcycle_up::4 81 6.235e-05 6.235e-05 6.235e-05 0.01% Castro::finalize_advance() 10 5.775e-05 5.775e-05 5.775e-05 0.01% Castro::initialize_do_advance() 10 5.75e-05 5.75e-05 5.75e-05 0.01% MLMG::mgVcycle_up::0 81 5.554e-05 5.554e-05 5.554e-05 0.01% MLMG::oneIter() 81 5.39e-05 5.39e-05 5.39e-05 0.01% MLMG::mgVcycle_up::3 81 5.378e-05 5.378e-05 5.378e-05 0.01% Castro::do_new_sources() 10 5.337e-05 5.337e-05 5.337e-05 0.01% MLMG::mgVcycle_up::1 81 5.247e-05 5.247e-05 5.247e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.196e-05 5.196e-05 5.196e-05 0.01% MLMG::mgVcycle_up::2 81 5.145e-05 5.145e-05 5.145e-05 0.01% Castro::do_advance_ctu() 10 4.801e-05 4.801e-05 4.801e-05 0.01% MLCellLinOp::solutionResidual() 92 4.614e-05 4.614e-05 4.614e-05 0.00% Castro::post_timestep() 10 3.92e-05 3.92e-05 3.92e-05 0.00% Castro::finalize_do_advance() 10 3.844e-05 3.844e-05 3.844e-05 0.00% Castro::swap_state_time_levels() 10 3.821e-05 3.821e-05 3.821e-05 0.00% StateData::define() 4 3.72e-05 3.72e-05 3.72e-05 0.00% Castro::enforce_consistent_e() 1 3.437e-05 3.437e-05 3.437e-05 0.00% MLMG::mgVcycle_bottom 81 3.217e-05 3.217e-05 3.217e-05 0.00% FillPatchSingleLevel 41 3.172e-05 3.172e-05 3.172e-05 0.00% MLMG::computeResidual() 81 3.156e-05 3.156e-05 3.156e-05 0.00% MLMG::ResNormInf() 92 3.003e-05 3.003e-05 3.003e-05 0.00% Castro::initMFs() 1 2.765e-05 2.765e-05 2.765e-05 0.00% MLPoisson::define() 11 2.53e-05 2.53e-05 2.53e-05 0.00% makeSFC 55 2.446e-05 2.446e-05 2.446e-05 0.00% Amr::writeSmallPlotFile() 1 2.409e-05 2.409e-05 2.409e-05 0.00% Castro::construct_new_gravity() 10 2.284e-05 2.284e-05 2.284e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.07e-05 2.07e-05 2.07e-05 0.00% Castro::do_old_sources() 10 2.034e-05 2.034e-05 2.034e-05 0.00% Amr::FinalizeInit() 1 1.938e-05 1.938e-05 1.938e-05 0.00% Castro::buildMetrics() 1 1.807e-05 1.807e-05 1.807e-05 0.00% Castro::construct_old_source() 50 1.712e-05 1.712e-05 1.712e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.639e-05 1.639e-05 1.639e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.626e-05 1.626e-05 1.626e-05 0.00% MLLinOp::define() 11 1.518e-05 1.518e-05 1.518e-05 0.00% DistributionMapping::Distribute() 56 1.428e-05 1.428e-05 1.428e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.354e-05 1.354e-05 1.354e-05 0.00% Amr::defBaseLevel() 1 1.301e-05 1.301e-05 1.301e-05 0.00% Castro::apply_source_to_state() 20 1.124e-05 1.124e-05 1.124e-05 0.00% Castro::check_for_nan() 20 1.038e-05 1.038e-05 1.038e-05 0.00% Castro::construct_old_gravity() 10 1.028e-05 1.028e-05 1.028e-05 0.00% Amr::initSubcycle() 1 9.213e-06 9.213e-06 9.213e-06 0.00% Gravity::swapTimeLevels() 10 8.333e-06 8.333e-06 8.333e-06 0.00% MLPoisson::prepareForSolve() 11 8.254e-06 8.254e-06 8.254e-06 0.00% Gravity::actual_multilevel_solve() 1 7.84e-06 7.84e-06 7.84e-06 0.00% MLMG::computeMLResidual() 11 7.589e-06 7.589e-06 7.589e-06 0.00% Castro::computeNewDt() 9 6.498e-06 6.498e-06 6.498e-06 0.00% Amr::InitializeInit() 1 5.498e-06 5.498e-06 5.498e-06 0.00% MLMG::getGradSolution() 11 5.415e-06 5.415e-06 5.415e-06 0.00% Castro::expand_state() 10 5.041e-06 5.041e-06 5.041e-06 0.00% AmrLevel::checkPointPost() 3 4.775e-06 4.775e-06 4.775e-06 0.00% Castro::post_init() 1 4.147e-06 4.147e-06 4.147e-06 0.00% MLMG::MLRhsNormInf() 11 3.873e-06 3.873e-06 3.873e-06 0.00% MLMG::MLResNormInf() 11 3.661e-06 3.661e-06 3.661e-06 0.00% Castro::retry_advance_ctu() 10 3.573e-06 3.573e-06 3.573e-06 0.00% Gravity::set_mass_offset() 11 3.528e-06 3.528e-06 3.528e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.889e-06 2.889e-06 2.889e-06 0.00% Castro::FluxRegCrseInit 10 2.587e-06 2.587e-06 2.587e-06 0.00% Amr::init() 1 2.451e-06 2.451e-06 2.451e-06 0.00% Castro::computeInitialDt() 2 2.446e-06 2.446e-06 2.446e-06 0.00% Castro::FluxRegFineAdd() 10 1.994e-06 1.994e-06 1.994e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.832e-06 1.832e-06 1.832e-06 0.00% AmrLevel::checkPointPre() 3 1.774e-06 1.774e-06 1.774e-06 0.00% Castro::post_regrid() 1 1.152e-06 1.152e-06 1.152e-06 0.00% Amr::initialInit() 1 9.51e-07 9.51e-07 9.51e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9341 0.9341 0.9341 100.00% Amr::coarseTimeStep() 10 0.7594 0.7594 0.7594 81.30% Amr::timeStep() 10 0.636 0.636 0.636 68.08% Castro::advance() 10 0.6248 0.6248 0.6248 66.88% Castro::subcycle_advance_ctu() 10 0.611 0.611 0.611 65.40% Castro::do_advance_ctu() 10 0.6108 0.6108 0.6108 65.38% Gravity::solve_phi_with_mlmg() 11 0.2789 0.2789 0.2789 29.86% Castro::construct_ctu_hydro_source() 10 0.2787 0.2787 0.2787 29.83% Gravity::actual_solve_with_mlmg() 11 0.2718 0.2718 0.2718 29.09% Castro::construct_new_gravity() 10 0.2575 0.2575 0.2575 27.56% MLMG::solve() 11 0.2512 0.2512 0.2512 26.89% Gravity::solve_for_phi() 10 0.2417 0.2417 0.2417 25.88% VisMF::Write(FabArray) 11 0.2413 0.2413 0.2413 25.83% MLMG::oneIter() 81 0.2372 0.2372 0.2372 25.39% MLMG::mgVcycle() 81 0.2336 0.2336 0.2336 25.01% Amr::checkPoint() 3 0.1791 0.1791 0.1791 19.18% AmrLevel::checkPoint() 3 0.1751 0.1751 0.1751 18.75% StateData::checkPoint() 12 0.175 0.175 0.175 18.74% Amr::init() 1 0.139 0.139 0.139 14.88% MLCellLinOp::smooth() 1620 0.1147 0.1147 0.1147 12.28% MLCellLinOp::applyBC() 4379 0.1072 0.1072 0.1072 11.48% MLMG::mgVcycle_bottom 81 0.07253 0.07253 0.07253 7.76% MLMG::actualBottomSolve() 81 0.07249 0.07249 0.07249 7.76% MLCGSolver::bicgstab 81 0.07181 0.07181 0.07181 7.69% Amr::writePlotFile() 2 0.06925 0.06925 0.06925 7.41% Castro::clean_state() 62 0.05907 0.05907 0.05907 6.32% AmrLevel::FillPatch() 41 0.04713 0.04713 0.04713 5.04% Amr::initialInit() 1 0.0449 0.0449 0.0449 4.81% FillPatchIterator::Initialize 41 0.04297 0.04297 0.04297 4.60% FillPatchIterator::FillFromLevel0() 41 0.04146 0.04146 0.04146 4.44% FillPatchSingleLevel 41 0.0414 0.0414 0.0414 4.43% Amr::FinalizeInit() 1 0.04075 0.04075 0.04075 4.36% Castro::post_init() 1 0.03947 0.03947 0.03947 4.23% Gravity::multilevel_solve_for_new_phi() 1 0.03758 0.03758 0.03758 4.02% Gravity::actual_multilevel_solve() 1 0.03757 0.03757 0.03757 4.02% StateDataPhysBCFunct::() 41 0.03735 0.03735 0.03735 4.00% MLCellLinOp::apply() 1128 0.03553 0.03553 0.03553 3.80% MLMG::mgVcycle_down::0 81 0.03309 0.03309 0.03309 3.54% MLPoisson::Fsmooth() 3240 0.03179 0.03179 0.03179 3.40% FabArray::FillBoundary() 3974 0.03176 0.03176 0.03176 3.40% FillBoundary_nowait() 3974 0.03091 0.03091 0.03091 3.31% StateData::FillBoundary(geom) 328 0.02527 0.02527 0.02527 2.70% MLMG::mgVcycle_up::0 81 0.02507 0.02507 0.02507 2.68% Castro::computeTemp() 63 0.02451 0.02451 0.02451 2.62% Castro::initialize_do_advance() 10 0.02227 0.02227 0.02227 2.38% MLCellLinOp::correctionResidual() 486 0.02177 0.02177 0.02177 2.33% Castro::normalize_species() 62 0.02048 0.02048 0.02048 2.19% amrex::Dot() 1100 0.02032 0.02032 0.02032 2.18% Castro::do_old_sources() 10 0.02012 0.02012 0.02012 2.15% MLMG:computeResOfCorrection() 405 0.01917 0.01917 0.01917 2.05% Gravity::get_new_grav_vector() 11 0.01731 0.01731 0.01731 1.85% MLPoisson::define() 11 0.01635 0.01635 0.01635 1.75% MLMG::mgVcycle_down::1 81 0.01549 0.01549 0.01549 1.66% Castro::construct_old_gravity() 10 0.01511 0.01511 0.01511 1.62% Gravity::get_old_grav_vector() 10 0.0151 0.0151 0.0151 1.62% amrex::Copy() 1019 0.01474 0.01474 0.01474 1.58% MLMG::mgVcycle_down::2 81 0.01444 0.01444 0.01444 1.55% FabArray::norminf() 734 0.01417 0.01417 0.01417 1.52% FabArray::ParallelCopy() 851 0.01417 0.01417 0.01417 1.52% MLMG::mgVcycle_down::3 81 0.01415 0.01415 0.01415 1.52% MLMG::mgVcycle_down::4 81 0.01394 0.01394 0.01394 1.49% FabArray::ParallelCopy_nowait() 851 0.01392 0.01392 0.01392 1.49% Castro::do_new_sources() 10 0.01379 0.01379 0.01379 1.48% Castro::initialize_advance() 10 0.0131 0.0131 0.0131 1.40% FabArray::setVal() 1135 0.01297 0.01297 0.01297 1.39% Castro::enforce_min_density() 62 0.01272 0.01272 0.01272 1.36% MLCGSolver::ParallelAllReduce 1495 0.01218 0.01218 0.01218 1.30% Castro::expand_state() 10 0.01178 0.01178 0.01178 1.26% MLMG::addInterpCorrection() 405 0.0117 0.0117 0.0117 1.25% MLMG::mgVcycle_up::1 81 0.01131 0.01131 0.01131 1.21% MLMG::mgVcycle_up::4 81 0.0113 0.0113 0.0113 1.21% Castro::post_timestep() 10 0.01108 0.01108 0.01108 1.19% MLMG::mgVcycle_up::2 81 0.01106 0.01106 0.01106 1.18% MLCellLinOp::defineAuxData() 11 0.01098 0.01098 0.01098 1.18% amrex::average_down 405 0.01095 0.01095 0.01095 1.17% MLMG::mgVcycle_up::3 81 0.01088 0.01088 0.01088 1.16% MLPoisson::Fapply() 1128 0.01011 0.01011 0.01011 1.08% FabArray::Saxpy() 803 0.008032 0.008032 0.008032 0.86% FabArray::Xpay() 811 0.007958 0.007958 0.007958 0.85% MLCellLinOp::solutionResidual() 92 0.00699 0.00699 0.00699 0.75% Gravity::fill_multipole_BCs() 11 0.006918 0.006918 0.006918 0.74% Castro::reset_internal_energy(MultiFab) 63 0.006424 0.006424 0.006424 0.69% MLMG::computeResidual() 81 0.006021 0.006021 0.006021 0.64% Castro::estTimeStep() 21 0.005993 0.005993 0.005993 0.64% MLCellLinOp::defineBC() 11 0.004936 0.004936 0.004936 0.53% BndryData::define() 11 0.004731 0.004731 0.004731 0.51% MLMG::prepareForSolve() 11 0.004604 0.004604 0.004604 0.49% FabArray::LinComb() 550 0.004431 0.004431 0.004431 0.47% amrex::Add() 162 0.004267 0.004267 0.004267 0.46% Amr::InitializeInit() 1 0.004153 0.004153 0.004153 0.44% Amr::defBaseLevel() 1 0.004148 0.004148 0.004148 0.44% Castro::initData() 1 0.003632 0.003632 0.003632 0.39% Castro::construct_new_source() 50 0.003193 0.003193 0.003193 0.34% Castro::construct_new_gravity_source() 10 0.003094 0.003094 0.003094 0.33% Castro::computeNewDt() 9 0.002851 0.002851 0.002851 0.31% Castro::construct_old_source() 50 0.002752 0.002752 0.002752 0.29% Castro::construct_old_gravity_source() 10 0.002735 0.002735 0.002735 0.29% Castro::finalize_do_advance() 10 0.002338 0.002338 0.002338 0.25% Castro::enforce_speed_limit() 62 0.002176 0.002176 0.002176 0.23% MLMG::ResNormInf() 92 0.002081 0.002081 0.002081 0.22% Castro::apply_source_to_state() 20 0.001819 0.001819 0.001819 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001664 0.001664 0.001664 0.18% check_for_negative_density() 10 0.001657 0.001657 0.001657 0.18% Castro::reset_internal_energy(Fab) 504 0.001565 0.001565 0.001565 0.17% FabArrayBase::getCPC() 1313 0.001424 0.001424 0.001424 0.15% MLCellLinOp::setLevelBC() 11 0.001383 0.001383 0.001383 0.15% MLMG::getGradSolution() 11 0.001379 0.001379 0.001379 0.15% MLCellLinOp::compGrad() 11 0.001373 0.001373 0.001373 0.15% FabArray::mult() 43 0.001314 0.001314 0.001314 0.14% FabArray::setDomainBndry() 41 0.001306 0.001306 0.001306 0.14% Castro::check_for_nan() 20 0.001194 0.001194 0.001194 0.13% MultiFab::contains_nan() 20 0.001184 0.001184 0.001184 0.13% MLPoisson::prepareForSolve() 11 0.001109 0.001109 0.001109 0.12% Castro::post_regrid() 1 0.001105 0.001105 0.001105 0.12% MLCellLinOp::prepareForSolve() 11 0.001101 0.001101 0.001101 0.12% MLMG::computeMLResidual() 11 0.001008 0.001008 0.001008 0.11% Castro::computeInitialDt() 2 0.0008517 0.0008517 0.0008517 0.09% Gravity::update_max_rhs() 11 0.000828 0.000828 0.000828 0.09% FabArrayBase::getFB() 3974 0.0007089 0.0007089 0.0007089 0.08% FabArrayBase::CPC::define() 454 0.0006691 0.0006691 0.0006691 0.07% Castro::finalize_advance() 10 0.0005769 0.0005769 0.0005769 0.06% Amr::InitAmr() 1 0.0005108 0.0005108 0.0005108 0.05% Castro::Castro() 1 0.0004456 0.0004456 0.0004456 0.05% Gravity::swapTimeLevels() 10 0.0004356 0.0004356 0.0004356 0.05% MLLinOp::define() 11 0.000411 0.000411 0.000411 0.04% MLLinOp::defineGrids() 11 0.0003958 0.0003958 0.0003958 0.04% MLMG::MLResNormInf() 11 0.0002808 0.0002808 0.0002808 0.03% MultiFab::max() 11 0.0002592 0.0002592 0.0002592 0.03% MLMG::MLRhsNormInf() 11 0.0002181 0.0002181 0.0002181 0.02% Castro::create_source_corrector() 10 0.0001553 0.0001553 0.0001553 0.02% Castro::buildMetrics() 1 0.0001544 0.0001544 0.0001544 0.02% FabArrayBase::FB::FB() 56 8.627e-05 8.627e-05 8.627e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.359e-05 5.359e-05 5.359e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.105e-05 5.105e-05 5.105e-05 0.01% Castro::swap_state_time_levels() 10 3.821e-05 3.821e-05 3.821e-05 0.00% makeSFC 55 3.751e-05 3.751e-05 3.751e-05 0.00% StateData::define() 4 3.72e-05 3.72e-05 3.72e-05 0.00% Castro::enforce_consistent_e() 1 3.437e-05 3.437e-05 3.437e-05 0.00% Castro::initMFs() 1 2.765e-05 2.765e-05 2.765e-05 0.00% Amr::writeSmallPlotFile() 1 2.409e-05 2.409e-05 2.409e-05 0.00% DistributionMapping::Distribute() 56 1.428e-05 1.428e-05 1.428e-05 0.00% Amr::initSubcycle() 1 9.213e-06 9.213e-06 9.213e-06 0.00% AmrLevel::checkPointPost() 3 4.775e-06 4.775e-06 4.775e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.117e-06 4.117e-06 4.117e-06 0.00% Castro::retry_advance_ctu() 10 3.573e-06 3.573e-06 3.573e-06 0.00% Gravity::set_mass_offset() 11 3.528e-06 3.528e-06 3.528e-06 0.00% Castro::FluxRegCrseInit 10 2.587e-06 2.587e-06 2.587e-06 0.00% Castro::FluxRegFineAdd() 10 1.994e-06 1.994e-06 1.994e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.832e-06 1.832e-06 1.832e-06 0.00% AmrLevel::checkPointPre() 3 1.774e-06 1.774e-06 1.774e-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 87 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 138 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 987 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2084 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 3309 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 192 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 165 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7529 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1700 B 2048 KiB Gravity::solve_for_phi() 80 80 529 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 82 KiB 2048 KiB BndryData::define() 1056 1056 302 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 192 KiB 671 KiB Castro::estTimeStep() 21 21 3132 B 480 KiB VisMF::Write(FabArray) 656 656 3205 B 320 KiB Castro::normalize_species() 62 62 7146 B 320 KiB amrex::average_down 1054 1054 1196 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1085 B 257 KiB amrex::Dot() 1343 1343 3202 B 160 KiB FabArray::norminf() 896 896 2240 B 160 KiB check_for_negative_density() 10 10 281 B 160 KiB Castro::initData() 1 1 26 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3235 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 283 B 9648 B MLCellLinOp::applyBC() 8758 8758 208 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3852 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 111 B 1472 B MLCellLinOp::defineBC() 66 66 340 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 554 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 47 KiB 8192 KiB VisMF::Write(FabArray) 744 744 602 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3235 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 283 B 9648 B MLCellLinOp::applyBC() 4379 4379 207 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3852 B 6144 B Gravity::get_new_grav_vector() 3 3 2925 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 2880 B Gravity::fill_multipole_BCs() 33 33 3 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 275 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 23 B 400 B FabArray::norminf() 896 896 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.07-25-g10b6cb26d0ac) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-25-g10b6cb26d0ac) initialized Starting run at 08:30:31 UTC on 2023-07-18. Successfully read inputs file ... Castro git describe: 23.07-15-gdb09908b9 AMReX git describe: 23.07-25-g10b6cb26d Microphysics git describe: 23.07-32-g40bb827a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.517766293 Restart time = 0.045422353 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.050134244 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.047240162 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.078946442 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.0839541 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.068447588 [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.033848999 seconds Ending run at 08:30:32 UTC on 2023-07-18. Run time = 0.40901831 Run time without initialization = 0.362994018 Average number of zones advanced per microsecond: 3.611 Average number of zones advanced per microsecond per rank: 3.611 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.409 ... 0.409 ... 0.409 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1433 0.1433 0.1433 35.03% VisMF::Read() 3 0.03917 0.03917 0.03917 9.57% MLCellLinOp::applyBC() 1946 0.03331 0.03331 0.03331 8.14% VisMF::Write(FabArray) 1 0.03225 0.03225 0.03225 7.88% MLPoisson::Fsmooth() 1440 0.01395 0.01395 0.01395 3.41% FillBoundary_nowait() 1766 0.01261 0.01261 0.01261 3.08% StateData::FillBoundary(geom) 160 0.01227 0.01227 0.01227 3.00% Castro::normalize_species() 30 0.009812 0.009812 0.009812 2.40% amrex::Dot() 484 0.008885 0.008885 0.008885 2.17% amrex::Copy() 463 0.006958 0.006958 0.006958 1.70% FabArray::setVal() 537 0.006275 0.006275 0.006275 1.53% FabArray::norminf() 326 0.006237 0.006237 0.006237 1.52% Castro::computeTemp() 30 0.006025 0.006025 0.006025 1.47% FabArray::ParallelCopy_nowait() 380 0.005975 0.005975 0.005975 1.46% MLCellLinOp::defineAuxData() 6 0.005233 0.005233 0.005233 1.28% StateDataPhysBCFunct::() 20 0.004939 0.004939 0.004939 1.21% MLPoisson::Fapply() 500 0.004411 0.004411 0.004411 1.08% Castro::enforce_min_density() 30 0.004277 0.004277 0.004277 1.05% FabArray::Saxpy() 355 0.003619 0.003619 0.003619 0.88% Gravity::fill_multipole_BCs() 6 0.003546 0.003546 0.003546 0.87% FabArray::Xpay() 361 0.003524 0.003524 0.003524 0.86% MLMG::addInterpCorrection() 180 0.002955 0.002955 0.002955 0.72% Castro::estTimeStep() 10 0.002942 0.002942 0.002942 0.72% amrex::average_down 180 0.002606 0.002606 0.002606 0.64% Amr::restart() 1 0.002563 0.002563 0.002563 0.63% Castro::reset_internal_energy(MultiFab) 30 0.00213 0.00213 0.00213 0.52% BndryData::define() 6 0.002045 0.002045 0.002045 0.50% FabArray::LinComb() 242 0.001936 0.001936 0.001936 0.47% amrex::Add() 72 0.001836 0.001836 0.001836 0.45% Castro::enforce_speed_limit() 30 0.001642 0.001642 0.001642 0.40% Castro::construct_new_gravity_source() 5 0.001635 0.001635 0.001635 0.40% Castro::construct_old_gravity_source() 5 0.001433 0.001433 0.001433 0.35% Amr::writePlotFile() 1 0.001432 0.001432 0.001432 0.35% Castro::subcycle_advance_ctu() 5 0.001168 0.001168 0.001168 0.29% MLCGSolver::bicgstab 36 0.00101 0.00101 0.00101 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009333 0.0009333 0.0009333 0.23% check_for_negative_density() 5 0.0008206 0.0008206 0.0008206 0.20% Castro::do_old_sources() 5 0.000786 0.000786 0.000786 0.19% Gravity::actual_solve_with_mlmg() 6 0.0007812 0.0007812 0.0007812 0.19% Castro::reset_internal_energy(Fab) 240 0.0007775 0.0007775 0.0007775 0.19% MLCellLinOp::setLevelBC() 6 0.0007507 0.0007507 0.0007507 0.18% FabArray::setDomainBndry() 20 0.0006515 0.0006515 0.0006515 0.16% FabArray::mult() 22 0.0006458 0.0006458 0.0006458 0.16% MLCellLinOp::prepareForSolve() 6 0.0006094 0.0006094 0.0006094 0.15% MultiFab::contains_nan() 10 0.0005998 0.0005998 0.0005998 0.15% MLCellLinOp::smooth() 720 0.0005694 0.0005694 0.0005694 0.14% MLCellLinOp::compGrad() 6 0.0004918 0.0004918 0.0004918 0.12% MLMG::prepareForSolve() 6 0.000472 0.000472 0.000472 0.12% Amr::InitAmr() 1 0.0004255 0.0004255 0.0004255 0.10% FabArrayBase::CPC::define() 244 0.0004189 0.0004189 0.0004189 0.10% FabArray::FillBoundary() 1766 0.000413 0.000413 0.000413 0.10% FabArrayBase::getCPC() 632 0.0003641 0.0003641 0.0003641 0.09% FabArrayBase::getFB() 1766 0.0002878 0.0002878 0.0002878 0.07% Gravity::get_old_grav_vector() 5 0.0002751 0.0002751 0.0002751 0.07% main() 1 0.0002727 0.0002727 0.0002727 0.07% Gravity::get_new_grav_vector() 5 0.0002319 0.0002319 0.0002319 0.06% MLCellLinOp::apply() 500 0.0002127 0.0002127 0.0002127 0.05% MLLinOp::defineGrids() 6 0.0001841 0.0001841 0.0001841 0.05% Amr::coarseTimeStep() 5 0.0001839 0.0001839 0.0001839 0.04% MLMG::mgVcycle() 36 0.0001618 0.0001618 0.0001618 0.04% AmrLevel::FillPatch() 20 0.0001603 0.0001603 0.0001603 0.04% MultiFab::max() 6 0.0001354 0.0001354 0.0001354 0.03% MLCGSolver::ParallelAllReduce 659 0.0001321 0.0001321 0.0001321 0.03% FabArray::ParallelCopy() 380 0.0001113 0.0001113 0.0001113 0.03% MLCellLinOp::defineBC() 6 0.0001079 0.0001079 0.0001079 0.03% Castro::do_new_sources() 5 0.0001052 0.0001052 0.0001052 0.03% FillPatchIterator::Initialize 20 0.0001037 0.0001037 0.0001037 0.03% MLCellLinOp::correctionResidual() 216 9.888e-05 9.888e-05 9.888e-05 0.02% Castro::create_source_corrector() 5 8.176e-05 8.176e-05 8.176e-05 0.02% Castro::construct_new_source() 25 8.048e-05 8.048e-05 8.048e-05 0.02% Amr::timeStep() 5 7.989e-05 7.989e-05 7.989e-05 0.02% AmrLevel::restart() 1 7.428e-05 7.428e-05 7.428e-05 0.02% Castro::finalize_do_advance() 5 6.789e-05 6.789e-05 6.789e-05 0.02% Gravity::update_max_rhs() 6 6.334e-05 6.334e-05 6.334e-05 0.02% StateData::restartDoit() 4 6.314e-05 6.314e-05 6.314e-05 0.02% Castro::construct_old_source() 25 6.111e-05 6.111e-05 6.111e-05 0.01% FabArrayBase::FB::FB() 26 5.948e-05 5.948e-05 5.948e-05 0.01% MLMG:computeResOfCorrection() 180 5.87e-05 5.87e-05 5.87e-05 0.01% Castro::advance() 5 5.736e-05 5.736e-05 5.736e-05 0.01% Gravity::solve_for_phi() 5 5.115e-05 5.115e-05 5.115e-05 0.01% Castro::initialize_do_advance() 5 5.072e-05 5.072e-05 5.072e-05 0.01% MLMG::mgVcycle_down::0 36 4.113e-05 4.113e-05 4.113e-05 0.01% MLMG::actualBottomSolve() 36 4.049e-05 4.049e-05 4.049e-05 0.01% MLMG::mgVcycle_down::1 36 4.036e-05 4.036e-05 4.036e-05 0.01% MLMG::mgVcycle_down::4 36 3.858e-05 3.858e-05 3.858e-05 0.01% MLMG::mgVcycle_down::2 36 3.822e-05 3.822e-05 3.822e-05 0.01% MLMG::mgVcycle_down::3 36 3.713e-05 3.713e-05 3.713e-05 0.01% Castro::initialize_advance() 5 3.613e-05 3.613e-05 3.613e-05 0.01% MLMG::solve() 6 3.543e-05 3.543e-05 3.543e-05 0.01% Castro::clean_state() 30 3.45e-05 3.45e-05 3.45e-05 0.01% Castro::post_timestep() 5 3.336e-05 3.336e-05 3.336e-05 0.01% MLMG::mgVcycle_up::4 36 3.207e-05 3.207e-05 3.207e-05 0.01% MLMG::mgVcycle_up::0 36 3.06e-05 3.06e-05 3.06e-05 0.01% Castro::finalize_advance() 5 2.894e-05 2.894e-05 2.894e-05 0.01% Amr::writeSmallPlotFile() 1 2.671e-05 2.671e-05 2.671e-05 0.01% MLCellLinOp::solutionResidual() 42 2.662e-05 2.662e-05 2.662e-05 0.01% Castro::initMFs() 1 2.638e-05 2.638e-05 2.638e-05 0.01% Castro::buildMetrics() 1 2.587e-05 2.587e-05 2.587e-05 0.01% MLMG::mgVcycle_up::3 36 2.58e-05 2.58e-05 2.58e-05 0.01% MLMG::mgVcycle_up::2 36 2.554e-05 2.554e-05 2.554e-05 0.01% MLMG::oneIter() 36 2.533e-05 2.533e-05 2.533e-05 0.01% MLMG::mgVcycle_up::1 36 2.481e-05 2.481e-05 2.481e-05 0.01% Castro::do_advance_ctu() 5 2.454e-05 2.454e-05 2.454e-05 0.01% Castro::swap_state_time_levels() 5 2.329e-05 2.329e-05 2.329e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.171e-05 2.171e-05 2.171e-05 0.01% Castro::post_restart() 1 1.94e-05 1.94e-05 1.94e-05 0.00% MLPoisson::define() 6 1.878e-05 1.878e-05 1.878e-05 0.00% MLMG::ResNormInf() 42 1.703e-05 1.703e-05 1.703e-05 0.00% FillPatchSingleLevel 20 1.622e-05 1.622e-05 1.622e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.534e-05 1.534e-05 1.534e-05 0.00% MLMG::mgVcycle_bottom 36 1.454e-05 1.454e-05 1.454e-05 0.00% MLMG::computeResidual() 36 1.346e-05 1.346e-05 1.346e-05 0.00% makeSFC 30 1.328e-05 1.328e-05 1.328e-05 0.00% Castro::construct_new_gravity() 5 1.246e-05 1.246e-05 1.246e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.202e-05 1.202e-05 1.202e-05 0.00% MLLinOp::define() 6 1.042e-05 1.042e-05 1.042e-05 0.00% DistributionMapping::Distribute() 31 9.42e-06 9.42e-06 9.42e-06 0.00% Amr::initSubcycle() 1 8.693e-06 8.693e-06 8.693e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.907e-06 7.907e-06 7.907e-06 0.00% Gravity::actual_multilevel_solve() 1 7.618e-06 7.618e-06 7.618e-06 0.00% Castro::construct_old_gravity() 5 6.124e-06 6.124e-06 6.124e-06 0.00% Castro::check_for_nan() 10 5.661e-06 5.661e-06 5.661e-06 0.00% Castro::apply_source_to_state() 10 5.441e-06 5.441e-06 5.441e-06 0.00% MLPoisson::prepareForSolve() 6 4.596e-06 4.596e-06 4.596e-06 0.00% Gravity::swapTimeLevels() 5 4.096e-06 4.096e-06 4.096e-06 0.00% MLMG::computeMLResidual() 6 3.717e-06 3.717e-06 3.717e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.358e-06 3.358e-06 3.358e-06 0.00% Castro::computeNewDt() 5 3.332e-06 3.332e-06 3.332e-06 0.00% MLMG::getGradSolution() 6 3.066e-06 3.066e-06 3.066e-06 0.00% Castro::expand_state() 5 2.645e-06 2.645e-06 2.645e-06 0.00% MLMG::MLResNormInf() 6 2.35e-06 2.35e-06 2.35e-06 0.00% MLMG::MLRhsNormInf() 6 2.307e-06 2.307e-06 2.307e-06 0.00% Castro::retry_advance_ctu() 5 2.022e-06 2.022e-06 2.022e-06 0.00% Gravity::set_mass_offset() 6 1.905e-06 1.905e-06 1.905e-06 0.00% Amr::init() 1 1.635e-06 1.635e-06 1.635e-06 0.00% Castro::FluxRegCrseInit 5 1.549e-06 1.549e-06 1.549e-06 0.00% Castro::FluxRegFineAdd() 5 1.241e-06 1.241e-06 1.241e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.036e-06 1.036e-06 1.036e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.409 0.409 0.409 100.00% Amr::coarseTimeStep() 5 0.3289 0.3289 0.3289 80.41% Amr::timeStep() 5 0.3267 0.3267 0.3267 79.86% Castro::advance() 5 0.323 0.323 0.323 78.96% Castro::subcycle_advance_ctu() 5 0.3157 0.3157 0.3157 77.19% Castro::do_advance_ctu() 5 0.3146 0.3146 0.3146 76.90% Castro::construct_ctu_hydro_source() 5 0.1485 0.1485 0.1485 36.30% Castro::construct_new_gravity() 5 0.1303 0.1303 0.1303 31.87% Gravity::solve_phi_with_mlmg() 6 0.1256 0.1256 0.1256 30.70% Gravity::solve_for_phi() 5 0.1225 0.1225 0.1225 29.96% Gravity::actual_solve_with_mlmg() 6 0.1218 0.1218 0.1218 29.77% MLMG::solve() 6 0.1106 0.1106 0.1106 27.03% MLMG::oneIter() 36 0.1037 0.1037 0.1037 25.36% MLMG::mgVcycle() 36 0.1022 0.1022 0.1022 24.98% MLCellLinOp::smooth() 720 0.04991 0.04991 0.04991 12.20% MLCellLinOp::applyBC() 1946 0.04668 0.04668 0.04668 11.41% Amr::init() 1 0.04546 0.04546 0.04546 11.11% Amr::restart() 1 0.04546 0.04546 0.04546 11.11% AmrLevel::restart() 1 0.03936 0.03936 0.03936 9.62% StateData::restartDoit() 4 0.03928 0.03928 0.03928 9.60% VisMF::Read() 3 0.03917 0.03917 0.03917 9.57% Amr::writePlotFile() 1 0.03393 0.03393 0.03393 8.30% VisMF::Write(FabArray) 1 0.03225 0.03225 0.03225 7.88% MLMG::mgVcycle_bottom 36 0.03184 0.03184 0.03184 7.78% MLMG::actualBottomSolve() 36 0.03182 0.03182 0.03182 7.78% MLCGSolver::bicgstab 36 0.03152 0.03152 0.03152 7.71% Castro::clean_state() 30 0.0247 0.0247 0.0247 6.04% AmrLevel::FillPatch() 20 0.02208 0.02208 0.02208 5.40% FillPatchIterator::Initialize 20 0.02003 0.02003 0.02003 4.90% FillPatchIterator::FillFromLevel0() 20 0.01927 0.01927 0.01927 4.71% FillPatchSingleLevel 20 0.01925 0.01925 0.01925 4.71% StateDataPhysBCFunct::() 20 0.01721 0.01721 0.01721 4.21% MLCellLinOp::apply() 500 0.01564 0.01564 0.01564 3.82% MLMG::mgVcycle_down::0 36 0.01424 0.01424 0.01424 3.48% MLPoisson::Fsmooth() 1440 0.01395 0.01395 0.01395 3.41% FabArray::FillBoundary() 1766 0.01337 0.01337 0.01337 3.27% FillBoundary_nowait() 1766 0.01296 0.01296 0.01296 3.17% StateData::FillBoundary(geom) 160 0.01227 0.01227 0.01227 3.00% MLMG::mgVcycle_up::0 36 0.01077 0.01077 0.01077 2.63% Castro::do_old_sources() 5 0.01008 0.01008 0.01008 2.46% Castro::initialize_do_advance() 5 0.009926 0.009926 0.009926 2.43% Castro::normalize_species() 30 0.009812 0.009812 0.009812 2.40% MLCellLinOp::correctionResidual() 216 0.009491 0.009491 0.009491 2.32% MLPoisson::define() 6 0.008944 0.008944 0.008944 2.19% Castro::computeTemp() 30 0.008932 0.008932 0.008932 2.18% amrex::Dot() 484 0.008885 0.008885 0.008885 2.17% MLMG:computeResOfCorrection() 180 0.008344 0.008344 0.008344 2.04% Gravity::get_new_grav_vector() 5 0.00769 0.00769 0.00769 1.88% Castro::construct_old_gravity() 5 0.007584 0.007584 0.007584 1.85% Gravity::get_old_grav_vector() 5 0.007578 0.007578 0.007578 1.85% amrex::Copy() 463 0.006958 0.006958 0.006958 1.70% Castro::initialize_advance() 5 0.006896 0.006896 0.006896 1.69% MLMG::mgVcycle_down::1 36 0.006829 0.006829 0.006829 1.67% Castro::do_new_sources() 5 0.006669 0.006669 0.006669 1.63% FabArray::ParallelCopy() 380 0.006489 0.006489 0.006489 1.59% FabArray::ParallelCopy_nowait() 380 0.006377 0.006377 0.006377 1.56% MLMG::mgVcycle_down::2 36 0.006357 0.006357 0.006357 1.55% FabArray::setVal() 537 0.006275 0.006275 0.006275 1.53% FabArray::norminf() 326 0.006237 0.006237 0.006237 1.52% MLMG::mgVcycle_down::3 36 0.006229 0.006229 0.006229 1.52% MLMG::mgVcycle_down::4 36 0.006156 0.006156 0.006156 1.51% MLCellLinOp::defineAuxData() 6 0.00597 0.00597 0.00597 1.46% Castro::expand_state() 5 0.005416 0.005416 0.005416 1.32% MLCGSolver::ParallelAllReduce 659 0.005349 0.005349 0.005349 1.31% MLMG::addInterpCorrection() 180 0.005177 0.005177 0.005177 1.27% MLMG::mgVcycle_up::4 36 0.00499 0.00499 0.00499 1.22% MLMG::mgVcycle_up::1 36 0.004982 0.004982 0.004982 1.22% MLMG::mgVcycle_up::2 36 0.004863 0.004863 0.004863 1.19% amrex::average_down 180 0.004851 0.004851 0.004851 1.19% MLMG::mgVcycle_up::3 36 0.004761 0.004761 0.004761 1.16% MLPoisson::Fapply() 500 0.004411 0.004411 0.004411 1.08% Castro::enforce_min_density() 30 0.004277 0.004277 0.004277 1.05% Gravity::fill_multipole_BCs() 6 0.003668 0.003668 0.003668 0.90% Castro::post_timestep() 5 0.003625 0.003625 0.003625 0.89% FabArray::Saxpy() 355 0.003619 0.003619 0.003619 0.88% FabArray::Xpay() 361 0.003524 0.003524 0.003524 0.86% Castro::post_restart() 1 0.003365 0.003365 0.003365 0.82% Gravity::multilevel_solve_for_new_phi() 1 0.003252 0.003252 0.003252 0.80% Gravity::actual_multilevel_solve() 1 0.003237 0.003237 0.003237 0.79% MLCellLinOp::solutionResidual() 42 0.003208 0.003208 0.003208 0.78% Castro::estTimeStep() 10 0.002942 0.002942 0.002942 0.72% Castro::reset_internal_energy(MultiFab) 30 0.002907 0.002907 0.002907 0.71% MLCellLinOp::defineBC() 6 0.00273 0.00273 0.00273 0.67% MLMG::computeResidual() 36 0.002661 0.002661 0.002661 0.65% BndryData::define() 6 0.002622 0.002622 0.002622 0.64% MLMG::prepareForSolve() 6 0.00252 0.00252 0.00252 0.62% Castro::computeNewDt() 5 0.002033 0.002033 0.002033 0.50% FabArray::LinComb() 242 0.001936 0.001936 0.001936 0.47% amrex::Add() 72 0.001836 0.001836 0.001836 0.45% Castro::construct_new_source() 25 0.001715 0.001715 0.001715 0.42% Castro::enforce_speed_limit() 30 0.001642 0.001642 0.001642 0.40% Castro::construct_new_gravity_source() 5 0.001635 0.001635 0.001635 0.40% Castro::construct_old_source() 25 0.001494 0.001494 0.001494 0.37% Castro::construct_old_gravity_source() 5 0.001433 0.001433 0.001433 0.35% Castro::finalize_do_advance() 5 0.0009798 0.0009798 0.0009798 0.24% MLMG::ResNormInf() 42 0.0009349 0.0009349 0.0009349 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009333 0.0009333 0.0009333 0.23% Castro::apply_source_to_state() 10 0.0009201 0.0009201 0.0009201 0.22% check_for_negative_density() 5 0.0008206 0.0008206 0.0008206 0.20% FabArrayBase::getCPC() 632 0.000783 0.000783 0.000783 0.19% Castro::reset_internal_energy(Fab) 240 0.0007775 0.0007775 0.0007775 0.19% MLMG::getGradSolution() 6 0.0007588 0.0007588 0.0007588 0.19% MLCellLinOp::compGrad() 6 0.0007557 0.0007557 0.0007557 0.18% MLCellLinOp::setLevelBC() 6 0.0007507 0.0007507 0.0007507 0.18% FabArray::setDomainBndry() 20 0.0006515 0.0006515 0.0006515 0.16% FabArray::mult() 22 0.0006458 0.0006458 0.0006458 0.16% MLPoisson::prepareForSolve() 6 0.000614 0.000614 0.000614 0.15% MLCellLinOp::prepareForSolve() 6 0.0006094 0.0006094 0.0006094 0.15% Castro::check_for_nan() 10 0.0006055 0.0006055 0.0006055 0.15% MultiFab::contains_nan() 10 0.0005998 0.0005998 0.0005998 0.15% MLMG::computeMLResidual() 6 0.0005633 0.0005633 0.0005633 0.14% Gravity::update_max_rhs() 6 0.000445 0.000445 0.000445 0.11% Amr::InitAmr() 1 0.0004342 0.0004342 0.0004342 0.11% FabArrayBase::CPC::define() 244 0.0004189 0.0004189 0.0004189 0.10% FabArrayBase::getFB() 1766 0.0003473 0.0003473 0.0003473 0.08% Castro::finalize_advance() 5 0.000283 0.000283 0.000283 0.07% Gravity::swapTimeLevels() 5 0.0002257 0.0002257 0.0002257 0.06% MLLinOp::define() 6 0.0002248 0.0002248 0.0002248 0.05% MLLinOp::defineGrids() 6 0.0002144 0.0002144 0.0002144 0.05% MLMG::MLResNormInf() 6 0.0001515 0.0001515 0.0001515 0.04% Castro::buildMetrics() 1 0.000151 0.000151 0.000151 0.04% MultiFab::max() 6 0.0001354 0.0001354 0.0001354 0.03% MLMG::MLRhsNormInf() 6 0.0001178 0.0001178 0.0001178 0.03% Castro::create_source_corrector() 5 8.176e-05 8.176e-05 8.176e-05 0.02% FabArrayBase::FB::FB() 26 5.948e-05 5.948e-05 5.948e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.919e-05 2.919e-05 2.919e-05 0.01% Amr::writeSmallPlotFile() 1 2.671e-05 2.671e-05 2.671e-05 0.01% Castro::initMFs() 1 2.638e-05 2.638e-05 2.638e-05 0.01% Castro::swap_state_time_levels() 5 2.329e-05 2.329e-05 2.329e-05 0.01% makeSFC 30 2.129e-05 2.129e-05 2.129e-05 0.01% DistributionMapping::Distribute() 31 9.42e-06 9.42e-06 9.42e-06 0.00% Amr::initSubcycle() 1 8.693e-06 8.693e-06 8.693e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.772e-06 4.772e-06 4.772e-06 0.00% Castro::retry_advance_ctu() 5 2.022e-06 2.022e-06 2.022e-06 0.00% Gravity::set_mass_offset() 6 1.905e-06 1.905e-06 1.905e-06 0.00% Castro::FluxRegCrseInit 5 1.549e-06 1.549e-06 1.549e-06 0.00% Castro::FluxRegFineAdd() 5 1.241e-06 1.241e-06 1.241e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.036e-06 1.036e-06 1.036e-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 202 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 163 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1050 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2321 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6784 KiB 14 MiB MLMG::prepareForSolve() 361 361 3319 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 192 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 192 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6779 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2110 B 2048 KiB Gravity::solve_for_phi() 40 40 612 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 305 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 196 KiB 671 KiB Castro::estTimeStep() 10 10 3389 B 480 KiB VisMF::Write(FabArray) 112 112 1222 B 320 KiB Castro::normalize_species() 30 30 7808 B 320 KiB amrex::average_down 469 469 1179 B 257 KiB MLMG::addInterpCorrection() 468 468 1096 B 257 KiB amrex::Dot() 592 592 3196 B 160 KiB FabArray::norminf() 398 398 2248 B 160 KiB check_for_negative_density() 5 5 319 B 160 KiB MultiFab::max() 6 6 50 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3229 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 3892 3892 210 B 9344 B amrex::Copy() 56 56 6009 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 343 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1305 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 109 KiB 8192 KiB VisMF::Write(FabArray) 120 120 243 KiB 3584 KiB VisMF::Read() 24 24 185 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3229 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 1946 1946 209 B 9328 B amrex::Copy() 56 56 6009 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2684 B 3072 B StateData::FillBoundary(geom) 960 960 43 B 2880 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 518 B 1296 B amrex::average_down 37 37 227 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.07-25-g10b6cb26d0ac) finalized