Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-40-ge0583fbd54cc) initialized Starting run at 08:24:44 UTC on 2023-07-25. Successfully read inputs file ... Castro git describe: 23.07-18-g440d64b97 AMReX git describe: 23.07-40-ge0583fbd5 Microphysics git describe: 23.07-47-geb5189fa 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.059577215 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034241613 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.049119237 [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.076710176 [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.085259449 [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.066927029 [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.061037033 [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.059038703 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.06962554 [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.077657918 [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.052277843 [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.04716575 [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.06939652 [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.060773608 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.035401261 seconds Ending run at 08:24:45 UTC on 2023-07-25. Run time = 0.953767852 Run time without initialization = 0.811070441 Average number of zones advanced per microsecond: 3.232 Average number of zones advanced per microsecond per rank: 3.232 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9538 ... 0.9538 ... 0.9538 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2899 0.2899 0.2899 30.40% VisMF::Write(FabArray) 11 0.2422 0.2422 0.2422 25.39% MLCellLinOp::applyBC() 4433 0.07698 0.07698 0.07698 8.07% MLPoisson::Fsmooth() 3280 0.03208 0.03208 0.03208 3.36% FillBoundary_nowait() 4023 0.03041 0.03041 0.03041 3.19% StateData::FillBoundary(geom) 328 0.02514 0.02514 0.02514 2.64% amrex::Dot() 1114 0.02059 0.02059 0.02059 2.16% Castro::normalize_species() 62 0.01951 0.01951 0.01951 2.05% amrex::Copy() 1029 0.01482 0.01482 0.01482 1.55% Castro::computeTemp() 63 0.0147 0.0147 0.0147 1.54% FabArray::norminf() 743 0.01429 0.01429 0.01429 1.50% FabArray::ParallelCopy_nowait() 861 0.01345 0.01345 0.01345 1.41% FabArray::setVal() 1144 0.0131 0.0131 0.0131 1.37% StateDataPhysBCFunct::() 41 0.01099 0.01099 0.01099 1.15% Castro::enforce_min_density() 62 0.01074 0.01074 0.01074 1.13% MLPoisson::Fapply() 1142 0.01024 0.01024 0.01024 1.07% MLCellLinOp::defineAuxData() 11 0.009961 0.009961 0.009961 1.04% FabArray::Saxpy() 813 0.00806 0.00806 0.00806 0.85% FabArray::Xpay() 821 0.008024 0.008024 0.008024 0.84% Gravity::fill_multipole_BCs() 11 0.006838 0.006838 0.006838 0.72% MLMG::addInterpCorrection() 410 0.006777 0.006777 0.006777 0.71% amrex::average_down 410 0.006012 0.006012 0.006012 0.63% Castro::estTimeStep() 21 0.005544 0.005544 0.005544 0.58% Castro::reset_internal_energy(MultiFab) 63 0.004916 0.004916 0.004916 0.52% FabArray::LinComb() 557 0.004473 0.004473 0.004473 0.47% amrex::Add() 164 0.0043 0.0043 0.0043 0.45% Amr::checkPoint() 3 0.003985 0.003985 0.003985 0.42% BndryData::define() 11 0.003735 0.003735 0.003735 0.39% Castro::construct_new_gravity_source() 10 0.003144 0.003144 0.003144 0.33% Castro::enforce_speed_limit() 62 0.00285 0.00285 0.00285 0.30% Castro::construct_old_gravity_source() 10 0.002679 0.002679 0.002679 0.28% Amr::writePlotFile() 2 0.002407 0.002407 0.002407 0.25% MLCGSolver::bicgstab 82 0.002184 0.002184 0.002184 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001719 0.001719 0.001719 0.18% check_for_negative_density() 10 0.001666 0.001666 0.001666 0.17% Castro::reset_internal_energy(Fab) 504 0.001554 0.001554 0.001554 0.16% Gravity::actual_solve_with_mlmg() 11 0.001514 0.001514 0.001514 0.16% MLCellLinOp::setLevelBC() 11 0.0014 0.0014 0.0014 0.15% Castro::initData() 1 0.001328 0.001328 0.001328 0.14% FabArray::mult() 43 0.001323 0.001323 0.001323 0.14% FabArray::setDomainBndry() 41 0.001289 0.001289 0.001289 0.14% MultiFab::contains_nan() 20 0.001191 0.001191 0.001191 0.12% MLCellLinOp::smooth() 1640 0.001167 0.001167 0.001167 0.12% MLCellLinOp::prepareForSolve() 11 0.001118 0.001118 0.001118 0.12% MLCellLinOp::compGrad() 11 0.0009113 0.0009113 0.0009113 0.10% MLMG::prepareForSolve() 11 0.0008775 0.0008775 0.0008775 0.09% FabArray::FillBoundary() 4023 0.0008471 0.0008471 0.0008471 0.09% FabArrayBase::getCPC() 1323 0.0007699 0.0007699 0.0007699 0.08% FabArrayBase::CPC::define() 454 0.0006804 0.0006804 0.0006804 0.07% FabArrayBase::getFB() 4023 0.0006272 0.0006272 0.0006272 0.07% Gravity::get_new_grav_vector() 11 0.0005462 0.0005462 0.0005462 0.06% Amr::InitAmr() 1 0.0005028 0.0005028 0.0005028 0.05% MLCellLinOp::apply() 1142 0.000478 0.000478 0.000478 0.05% Gravity::get_old_grav_vector() 10 0.0004772 0.0004772 0.0004772 0.05% MLLinOp::defineGrids() 11 0.0004212 0.0004212 0.0004212 0.04% MLMG::mgVcycle() 82 0.0003787 0.0003787 0.0003787 0.04% Amr::coarseTimeStep() 10 0.0003721 0.0003721 0.0003721 0.04% AmrLevel::FillPatch() 41 0.0003191 0.0003191 0.0003191 0.03% main() 1 0.0002879 0.0002879 0.0002879 0.03% MLCGSolver::ParallelAllReduce 1514 0.000286 0.000286 0.000286 0.03% FabArray::ParallelCopy() 861 0.0002548 0.0002548 0.0002548 0.03% MultiFab::max() 11 0.0002531 0.0002531 0.0002531 0.03% MLCellLinOp::correctionResidual() 492 0.0002374 0.0002374 0.0002374 0.02% MLCellLinOp::defineBC() 11 0.0002144 0.0002144 0.0002144 0.02% FillPatchIterator::Initialize 41 0.0002108 0.0002108 0.0002108 0.02% Castro::subcycle_advance_ctu() 10 0.0001853 0.0001853 0.0001853 0.02% Amr::timeStep() 10 0.0001598 0.0001598 0.0001598 0.02% Castro::create_source_corrector() 10 0.0001386 0.0001386 0.0001386 0.01% StateData::checkPoint() 12 0.000135 0.000135 0.000135 0.01% Gravity::update_max_rhs() 11 0.0001265 0.0001265 0.0001265 0.01% MLMG:computeResOfCorrection() 410 0.0001255 0.0001255 0.0001255 0.01% Gravity::solve_for_phi() 10 0.0001188 0.0001188 0.0001188 0.01% Castro::construct_new_source() 50 9.787e-05 9.787e-05 9.787e-05 0.01% Castro::advance() 10 9.343e-05 9.343e-05 9.343e-05 0.01% MLMG::mgVcycle_down::1 82 9.301e-05 9.301e-05 9.301e-05 0.01% MLMG::actualBottomSolve() 82 8.989e-05 8.989e-05 8.989e-05 0.01% FabArrayBase::FB::FB() 56 8.935e-05 8.935e-05 8.935e-05 0.01% MLMG::mgVcycle_down::0 82 8.815e-05 8.815e-05 8.815e-05 0.01% MLMG::mgVcycle_down::2 82 8.594e-05 8.594e-05 8.594e-05 0.01% MLMG::mgVcycle_down::4 82 8.524e-05 8.524e-05 8.524e-05 0.01% Castro::Castro() 1 8.457e-05 8.457e-05 8.457e-05 0.01% MLMG::mgVcycle_down::3 82 8.324e-05 8.324e-05 8.324e-05 0.01% AmrLevel::checkPoint() 3 7.512e-05 7.512e-05 7.512e-05 0.01% MLMG::solve() 11 7.341e-05 7.341e-05 7.341e-05 0.01% Castro::initialize_advance() 10 7.114e-05 7.114e-05 7.114e-05 0.01% Castro::clean_state() 62 6.776e-05 6.776e-05 6.776e-05 0.01% Castro::finalize_advance() 10 6.527e-05 6.527e-05 6.527e-05 0.01% MLMG::mgVcycle_up::4 82 6.131e-05 6.131e-05 6.131e-05 0.01% Castro::initialize_do_advance() 10 5.803e-05 5.803e-05 5.803e-05 0.01% MLMG::oneIter() 82 5.751e-05 5.751e-05 5.751e-05 0.01% Castro::do_new_sources() 10 5.324e-05 5.324e-05 5.324e-05 0.01% MLCellLinOp::solutionResidual() 93 5.176e-05 5.176e-05 5.176e-05 0.01% MLMG::mgVcycle_up::3 82 5.162e-05 5.162e-05 5.162e-05 0.01% MLMG::mgVcycle_up::0 82 5.106e-05 5.106e-05 5.106e-05 0.01% MLMG::mgVcycle_up::1 82 5.022e-05 5.022e-05 5.022e-05 0.01% MLMG::mgVcycle_up::2 82 5.008e-05 5.008e-05 5.008e-05 0.01% Castro::do_advance_ctu() 10 4.704e-05 4.704e-05 4.704e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.596e-05 4.596e-05 4.596e-05 0.00% Castro::finalize_do_advance() 10 4.278e-05 4.278e-05 4.278e-05 0.00% Castro::swap_state_time_levels() 10 3.725e-05 3.725e-05 3.725e-05 0.00% StateData::define() 4 3.512e-05 3.512e-05 3.512e-05 0.00% Castro::enforce_consistent_e() 1 3.464e-05 3.464e-05 3.464e-05 0.00% MLMG::ResNormInf() 93 3.425e-05 3.425e-05 3.425e-05 0.00% MLMG::computeResidual() 82 3.299e-05 3.299e-05 3.299e-05 0.00% FillPatchSingleLevel 41 3.272e-05 3.272e-05 3.272e-05 0.00% MLMG::mgVcycle_bottom 82 3.238e-05 3.238e-05 3.238e-05 0.00% MLPoisson::define() 11 2.693e-05 2.693e-05 2.693e-05 0.00% Amr::writeSmallPlotFile() 1 2.647e-05 2.647e-05 2.647e-05 0.00% makeSFC 55 2.622e-05 2.622e-05 2.622e-05 0.00% Castro::initMFs() 1 2.313e-05 2.313e-05 2.313e-05 0.00% Castro::construct_new_gravity() 10 2.272e-05 2.272e-05 2.272e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.179e-05 2.179e-05 2.179e-05 0.00% Castro::do_old_sources() 10 2.027e-05 2.027e-05 2.027e-05 0.00% Amr::FinalizeInit() 1 1.967e-05 1.967e-05 1.967e-05 0.00% Castro::construct_old_source() 50 1.828e-05 1.828e-05 1.828e-05 0.00% Castro::buildMetrics() 1 1.817e-05 1.817e-05 1.817e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.774e-05 1.774e-05 1.774e-05 0.00% MLLinOp::define() 11 1.729e-05 1.729e-05 1.729e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.585e-05 1.585e-05 1.585e-05 0.00% DistributionMapping::Distribute() 56 1.513e-05 1.513e-05 1.513e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.39e-05 1.39e-05 1.39e-05 0.00% Amr::defBaseLevel() 1 1.35e-05 1.35e-05 1.35e-05 0.00% Castro::construct_old_gravity() 10 1.08e-05 1.08e-05 1.08e-05 0.00% Castro::apply_source_to_state() 20 1.055e-05 1.055e-05 1.055e-05 0.00% Castro::check_for_nan() 20 1.046e-05 1.046e-05 1.046e-05 0.00% Gravity::swapTimeLevels() 10 8.934e-06 8.934e-06 8.934e-06 0.00% MLPoisson::prepareForSolve() 11 8.727e-06 8.727e-06 8.727e-06 0.00% Gravity::actual_multilevel_solve() 1 8.576e-06 8.576e-06 8.576e-06 0.00% Amr::initSubcycle() 1 8.546e-06 8.546e-06 8.546e-06 0.00% Castro::post_timestep() 10 8.109e-06 8.109e-06 8.109e-06 0.00% MLMG::computeMLResidual() 11 7.919e-06 7.919e-06 7.919e-06 0.00% Castro::computeNewDt() 9 6.174e-06 6.174e-06 6.174e-06 0.00% MLMG::getGradSolution() 11 5.528e-06 5.528e-06 5.528e-06 0.00% AmrLevel::checkPointPost() 3 5.178e-06 5.178e-06 5.178e-06 0.00% Castro::expand_state() 10 5.018e-06 5.018e-06 5.018e-06 0.00% Amr::InitializeInit() 1 4.615e-06 4.615e-06 4.615e-06 0.00% Castro::retry_advance_ctu() 10 3.904e-06 3.904e-06 3.904e-06 0.00% Gravity::set_mass_offset() 11 3.863e-06 3.863e-06 3.863e-06 0.00% MLMG::MLRhsNormInf() 11 3.756e-06 3.756e-06 3.756e-06 0.00% MLMG::MLResNormInf() 11 3.53e-06 3.53e-06 3.53e-06 0.00% Castro::post_init() 1 3.407e-06 3.407e-06 3.407e-06 0.00% Amr::init() 1 2.966e-06 2.966e-06 2.966e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.867e-06 2.867e-06 2.867e-06 0.00% Castro::FluxRegCrseInit 10 2.85e-06 2.85e-06 2.85e-06 0.00% Castro::computeInitialDt() 2 2.569e-06 2.569e-06 2.569e-06 0.00% Castro::FluxRegFineAdd() 10 2.097e-06 2.097e-06 2.097e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.984e-06 1.984e-06 1.984e-06 0.00% AmrLevel::checkPointPre() 3 1.884e-06 1.884e-06 1.884e-06 0.00% Amr::initialInit() 1 1.268e-06 1.268e-06 1.268e-06 0.00% Castro::post_regrid() 1 1.021e-06 1.021e-06 1.021e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9538 0.9538 0.9538 100.00% Amr::coarseTimeStep() 10 0.7754 0.7754 0.7754 81.30% Amr::timeStep() 10 0.652 0.652 0.652 68.36% Castro::advance() 10 0.6417 0.6417 0.6417 67.27% Castro::subcycle_advance_ctu() 10 0.6278 0.6278 0.6278 65.82% Castro::do_advance_ctu() 10 0.6276 0.6276 0.6276 65.80% Castro::construct_ctu_hydro_source() 10 0.3003 0.3003 0.3003 31.49% Gravity::solve_phi_with_mlmg() 11 0.2834 0.2834 0.2834 29.71% Gravity::actual_solve_with_mlmg() 11 0.2761 0.2761 0.2761 28.94% Castro::construct_new_gravity() 10 0.2587 0.2587 0.2587 27.13% MLMG::solve() 11 0.255 0.255 0.255 26.73% Gravity::solve_for_phi() 10 0.2431 0.2431 0.2431 25.49% VisMF::Write(FabArray) 11 0.2422 0.2422 0.2422 25.39% MLMG::oneIter() 82 0.2407 0.2407 0.2407 25.24% MLMG::mgVcycle() 82 0.2371 0.2371 0.2371 24.86% Amr::checkPoint() 3 0.1795 0.1795 0.1795 18.82% AmrLevel::checkPoint() 3 0.1755 0.1755 0.1755 18.40% StateData::checkPoint() 12 0.1755 0.1755 0.1755 18.40% Amr::init() 1 0.1421 0.1421 0.1421 14.89% MLCellLinOp::smooth() 1640 0.1162 0.1162 0.1162 12.19% MLCellLinOp::applyBC() 4433 0.109 0.109 0.109 11.42% MLMG::mgVcycle_bottom 82 0.07337 0.07337 0.07337 7.69% MLMG::actualBottomSolve() 82 0.07334 0.07334 0.07334 7.69% MLCGSolver::bicgstab 82 0.07263 0.07263 0.07263 7.62% Amr::writePlotFile() 2 0.06976 0.06976 0.06976 7.31% Castro::clean_state() 62 0.0536 0.0536 0.0536 5.62% Amr::initialInit() 1 0.04812 0.04812 0.04812 5.05% AmrLevel::FillPatch() 41 0.04589 0.04589 0.04589 4.81% Amr::FinalizeInit() 1 0.04394 0.04394 0.04394 4.61% Castro::post_init() 1 0.04266 0.04266 0.04266 4.47% FillPatchIterator::Initialize 41 0.04174 0.04174 0.04174 4.38% Gravity::multilevel_solve_for_new_phi() 1 0.04071 0.04071 0.04071 4.27% Gravity::actual_multilevel_solve() 1 0.0407 0.0407 0.0407 4.27% FillPatchIterator::FillFromLevel0() 41 0.04024 0.04024 0.04024 4.22% FillPatchSingleLevel 41 0.0402 0.0402 0.0402 4.21% MLCellLinOp::apply() 1142 0.03622 0.03622 0.03622 3.80% StateDataPhysBCFunct::() 41 0.03612 0.03612 0.03612 3.79% MLMG::mgVcycle_down::0 82 0.03357 0.03357 0.03357 3.52% MLPoisson::Fsmooth() 3280 0.03208 0.03208 0.03208 3.36% FabArray::FillBoundary() 4023 0.03197 0.03197 0.03197 3.35% FillBoundary_nowait() 4023 0.03113 0.03113 0.03113 3.26% MLMG::mgVcycle_up::0 82 0.02535 0.02535 0.02535 2.66% StateData::FillBoundary(geom) 328 0.02514 0.02514 0.02514 2.64% MLCellLinOp::correctionResidual() 492 0.02219 0.02219 0.02219 2.33% Castro::computeTemp() 63 0.02116 0.02116 0.02116 2.22% amrex::Dot() 1114 0.02059 0.02059 0.02059 2.16% Castro::initialize_do_advance() 10 0.01973 0.01973 0.01973 2.07% MLMG:computeResOfCorrection() 410 0.01957 0.01957 0.01957 2.05% Castro::normalize_species() 62 0.01951 0.01951 0.01951 2.05% Castro::do_old_sources() 10 0.01808 0.01808 0.01808 1.90% Gravity::get_new_grav_vector() 11 0.01725 0.01725 0.01725 1.81% MLPoisson::define() 11 0.01677 0.01677 0.01677 1.76% MLMG::mgVcycle_down::1 82 0.01583 0.01583 0.01583 1.66% Castro::construct_old_gravity() 10 0.01507 0.01507 0.01507 1.58% Gravity::get_old_grav_vector() 10 0.01506 0.01506 0.01506 1.58% amrex::Copy() 1029 0.01482 0.01482 0.01482 1.55% MLMG::mgVcycle_down::2 82 0.01472 0.01472 0.01472 1.54% FabArray::ParallelCopy() 861 0.01454 0.01454 0.01454 1.52% MLMG::mgVcycle_down::3 82 0.01446 0.01446 0.01446 1.52% FabArray::norminf() 743 0.01429 0.01429 0.01429 1.50% FabArray::ParallelCopy_nowait() 861 0.01428 0.01428 0.01428 1.50% MLMG::mgVcycle_down::4 82 0.01427 0.01427 0.01427 1.50% Castro::initialize_advance() 10 0.01319 0.01319 0.01319 1.38% FabArray::setVal() 1144 0.0131 0.0131 0.0131 1.37% Castro::do_new_sources() 10 0.01241 0.01241 0.01241 1.30% MLCGSolver::ParallelAllReduce 1514 0.01235 0.01235 0.01235 1.29% MLMG::addInterpCorrection() 410 0.01198 0.01198 0.01198 1.26% MLMG::mgVcycle_up::4 82 0.01149 0.01149 0.01149 1.21% MLMG::mgVcycle_up::1 82 0.01146 0.01146 0.01146 1.20% amrex::average_down 410 0.01131 0.01131 0.01131 1.19% MLCellLinOp::defineAuxData() 11 0.0113 0.0113 0.0113 1.19% MLMG::mgVcycle_up::2 82 0.01119 0.01119 0.01119 1.17% MLMG::mgVcycle_up::3 82 0.01104 0.01104 0.01104 1.16% Castro::expand_state() 10 0.011 0.011 0.011 1.15% Castro::enforce_min_density() 62 0.01074 0.01074 0.01074 1.13% MLPoisson::Fapply() 1142 0.01024 0.01024 0.01024 1.07% Castro::post_timestep() 10 0.0102 0.0102 0.0102 1.07% FabArray::Saxpy() 813 0.00806 0.00806 0.00806 0.85% FabArray::Xpay() 821 0.008024 0.008024 0.008024 0.84% MLCellLinOp::solutionResidual() 93 0.007109 0.007109 0.007109 0.75% Gravity::fill_multipole_BCs() 11 0.007101 0.007101 0.007101 0.74% Castro::reset_internal_energy(MultiFab) 63 0.00647 0.00647 0.00647 0.68% MLMG::computeResidual() 82 0.006122 0.006122 0.006122 0.64% Castro::estTimeStep() 21 0.005544 0.005544 0.005544 0.58% MLCellLinOp::defineBC() 11 0.004942 0.004942 0.004942 0.52% BndryData::define() 11 0.004728 0.004728 0.004728 0.50% MLMG::prepareForSolve() 11 0.004697 0.004697 0.004697 0.49% FabArray::LinComb() 557 0.004473 0.004473 0.004473 0.47% amrex::Add() 164 0.0043 0.0043 0.0043 0.45% Amr::InitializeInit() 1 0.004183 0.004183 0.004183 0.44% Amr::defBaseLevel() 1 0.004179 0.004179 0.004179 0.44% Castro::initData() 1 0.003688 0.003688 0.003688 0.39% Castro::construct_new_source() 50 0.003242 0.003242 0.003242 0.34% Castro::construct_new_gravity_source() 10 0.003144 0.003144 0.003144 0.33% Castro::enforce_speed_limit() 62 0.00285 0.00285 0.00285 0.30% Castro::construct_old_source() 50 0.002697 0.002697 0.002697 0.28% Castro::construct_old_gravity_source() 10 0.002679 0.002679 0.002679 0.28% Castro::computeNewDt() 9 0.002466 0.002466 0.002466 0.26% Castro::finalize_do_advance() 10 0.002289 0.002289 0.002289 0.24% MLMG::ResNormInf() 93 0.002125 0.002125 0.002125 0.22% Castro::apply_source_to_state() 20 0.001828 0.001828 0.001828 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001719 0.001719 0.001719 0.18% check_for_negative_density() 10 0.001666 0.001666 0.001666 0.17% Castro::reset_internal_energy(Fab) 504 0.001554 0.001554 0.001554 0.16% FabArrayBase::getCPC() 1323 0.00145 0.00145 0.00145 0.15% MLCellLinOp::setLevelBC() 11 0.0014 0.0014 0.0014 0.15% MLMG::getGradSolution() 11 0.001387 0.001387 0.001387 0.15% MLCellLinOp::compGrad() 11 0.001382 0.001382 0.001382 0.14% FabArray::mult() 43 0.001323 0.001323 0.001323 0.14% FabArray::setDomainBndry() 41 0.001289 0.001289 0.001289 0.14% Castro::check_for_nan() 20 0.001202 0.001202 0.001202 0.13% MultiFab::contains_nan() 20 0.001191 0.001191 0.001191 0.12% MLPoisson::prepareForSolve() 11 0.001127 0.001127 0.001127 0.12% MLCellLinOp::prepareForSolve() 11 0.001118 0.001118 0.001118 0.12% Castro::post_regrid() 1 0.0011 0.0011 0.0011 0.12% MLMG::computeMLResidual() 11 0.001028 0.001028 0.001028 0.11% Castro::computeInitialDt() 2 0.0008412 0.0008412 0.0008412 0.09% Gravity::update_max_rhs() 11 0.0008161 0.0008161 0.0008161 0.09% FabArrayBase::getFB() 4023 0.0007166 0.0007166 0.0007166 0.08% FabArrayBase::CPC::define() 454 0.0006804 0.0006804 0.0006804 0.07% Castro::finalize_advance() 10 0.0005906 0.0005906 0.0005906 0.06% Amr::InitAmr() 1 0.0005114 0.0005114 0.0005114 0.05% MLLinOp::define() 11 0.0004946 0.0004946 0.0004946 0.05% MLLinOp::defineGrids() 11 0.0004773 0.0004773 0.0004773 0.05% Gravity::swapTimeLevels() 10 0.0004307 0.0004307 0.0004307 0.05% Castro::Castro() 1 0.0004223 0.0004223 0.0004223 0.04% MLMG::MLResNormInf() 11 0.0002841 0.0002841 0.0002841 0.03% MultiFab::max() 11 0.0002531 0.0002531 0.0002531 0.03% MLMG::MLRhsNormInf() 11 0.0002183 0.0002183 0.0002183 0.02% Castro::buildMetrics() 1 0.0001526 0.0001526 0.0001526 0.02% Castro::create_source_corrector() 10 0.0001386 0.0001386 0.0001386 0.01% FabArrayBase::FB::FB() 56 8.935e-05 8.935e-05 8.935e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.413e-05 5.413e-05 5.413e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.096e-05 5.096e-05 5.096e-05 0.01% makeSFC 55 4.023e-05 4.023e-05 4.023e-05 0.00% Castro::swap_state_time_levels() 10 3.725e-05 3.725e-05 3.725e-05 0.00% StateData::define() 4 3.512e-05 3.512e-05 3.512e-05 0.00% Castro::enforce_consistent_e() 1 3.464e-05 3.464e-05 3.464e-05 0.00% Amr::writeSmallPlotFile() 1 2.647e-05 2.647e-05 2.647e-05 0.00% Castro::initMFs() 1 2.313e-05 2.313e-05 2.313e-05 0.00% DistributionMapping::Distribute() 56 1.513e-05 1.513e-05 1.513e-05 0.00% Amr::initSubcycle() 1 8.546e-06 8.546e-06 8.546e-06 0.00% AmrLevel::checkPointPost() 3 5.178e-06 5.178e-06 5.178e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.985e-06 3.985e-06 3.985e-06 0.00% Castro::retry_advance_ctu() 10 3.904e-06 3.904e-06 3.904e-06 0.00% Gravity::set_mass_offset() 11 3.863e-06 3.863e-06 3.863e-06 0.00% Castro::FluxRegCrseInit 10 2.85e-06 2.85e-06 2.85e-06 0.00% Castro::FluxRegFineAdd() 10 2.097e-06 2.097e-06 2.097e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.984e-06 1.984e-06 1.984e-06 0.00% AmrLevel::checkPointPre() 3 1.884e-06 1.884e-06 1.884e-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 85 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 145 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 925 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2056 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 3289 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 188 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 161 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 1635 B 2048 KiB Gravity::solve_for_phi() 80 80 521 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 87 KiB 2048 KiB BndryData::define() 1056 1056 300 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 191 KiB 671 KiB Castro::estTimeStep() 21 21 2836 B 480 KiB VisMF::Write(FabArray) 656 656 3147 B 320 KiB Castro::normalize_species() 62 62 6663 B 320 KiB amrex::average_down 1067 1067 1203 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1083 B 257 KiB amrex::Dot() 1360 1360 3166 B 160 KiB FabArray::norminf() 907 907 2209 B 160 KiB check_for_negative_density() 10 10 277 B 160 KiB Castro::initData() 1 1 27 B 160 KiB MultiFab::max() 11 11 41 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 24 B 20 KiB MLPoisson::Fsmooth() 132 132 3215 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 277 B 9648 B MLCellLinOp::applyBC() 8866 8866 207 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 110 B 1472 B MLCellLinOp::defineBC() 66 66 338 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 526 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 46 KiB 8192 KiB VisMF::Write(FabArray) 744 744 591 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3215 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 277 B 9648 B MLCellLinOp::applyBC() 4433 4433 205 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B Gravity::get_new_grav_vector() 3 3 2917 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 37 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 274 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 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-40-ge0583fbd54cc) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-40-ge0583fbd54cc) initialized Starting run at 08:24:46 UTC on 2023-07-25. Successfully read inputs file ... Castro git describe: 23.07-18-g440d64b97 AMReX git describe: 23.07-40-ge0583fbd5 Microphysics git describe: 23.07-47-geb5189fa reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.540812591 Restart time = 0.045396327 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.05051225 [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.064329882 [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.080036538 [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.070089557 [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.053407001 [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.034079306 seconds Ending run at 08:24:47 UTC on 2023-07-25. Run time = 0.398890141 Run time without initialization = 0.352892244 Average number of zones advanced per microsecond: 3.714 Average number of zones advanced per microsecond per rank: 3.714 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3989 ... 0.3989 ... 0.3989 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1352 0.1352 0.1352 33.90% VisMF::Read() 3 0.03906 0.03906 0.03906 9.79% MLCellLinOp::applyBC() 1946 0.03315 0.03315 0.03315 8.31% VisMF::Write(FabArray) 1 0.03245 0.03245 0.03245 8.14% MLPoisson::Fsmooth() 1440 0.01379 0.01379 0.01379 3.46% FillBoundary_nowait() 1766 0.01282 0.01282 0.01282 3.21% StateData::FillBoundary(geom) 160 0.01241 0.01241 0.01241 3.11% Castro::normalize_species() 30 0.01022 0.01022 0.01022 2.56% amrex::Dot() 484 0.008726 0.008726 0.008726 2.19% Castro::computeTemp() 30 0.007832 0.007832 0.007832 1.96% amrex::Copy() 463 0.006908 0.006908 0.006908 1.73% FabArray::setVal() 537 0.006235 0.006235 0.006235 1.56% FabArray::norminf() 326 0.006165 0.006165 0.006165 1.55% FabArray::ParallelCopy_nowait() 380 0.006024 0.006024 0.006024 1.51% Castro::enforce_min_density() 30 0.005627 0.005627 0.005627 1.41% MLCellLinOp::defineAuxData() 6 0.005226 0.005226 0.005226 1.31% MLPoisson::Fapply() 500 0.004421 0.004421 0.004421 1.11% StateDataPhysBCFunct::() 20 0.0043 0.0043 0.0043 1.08% FabArray::Saxpy() 355 0.003575 0.003575 0.003575 0.90% Gravity::fill_multipole_BCs() 6 0.003497 0.003497 0.003497 0.88% FabArray::Xpay() 361 0.003461 0.003461 0.003461 0.87% MLMG::addInterpCorrection() 180 0.002922 0.002922 0.002922 0.73% amrex::average_down 180 0.002584 0.002584 0.002584 0.65% Amr::restart() 1 0.002537 0.002537 0.002537 0.64% Castro::estTimeStep() 10 0.002232 0.002232 0.002232 0.56% Castro::reset_internal_energy(MultiFab) 30 0.002081 0.002081 0.002081 0.52% BndryData::define() 6 0.002031 0.002031 0.002031 0.51% FabArray::LinComb() 242 0.001885 0.001885 0.001885 0.47% amrex::Add() 72 0.001855 0.001855 0.001855 0.46% Amr::writePlotFile() 1 0.00148 0.00148 0.00148 0.37% Castro::construct_new_gravity_source() 5 0.001349 0.001349 0.001349 0.34% Castro::construct_old_gravity_source() 5 0.001031 0.001031 0.001031 0.26% MLCGSolver::bicgstab 36 0.0009346 0.0009346 0.0009346 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009075 0.0009075 0.0009075 0.23% Castro::reset_internal_energy(Fab) 240 0.000849 0.000849 0.000849 0.21% check_for_negative_density() 5 0.0008072 0.0008072 0.0008072 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007889 0.0007889 0.0007889 0.20% MLCellLinOp::setLevelBC() 6 0.0007699 0.0007699 0.0007699 0.19% FabArray::mult() 22 0.0006467 0.0006467 0.0006467 0.16% FabArray::setDomainBndry() 20 0.0006455 0.0006455 0.0006455 0.16% MLCellLinOp::prepareForSolve() 6 0.0006029 0.0006029 0.0006029 0.15% MultiFab::contains_nan() 10 0.0005907 0.0005907 0.0005907 0.15% Castro::subcycle_advance_ctu() 5 0.0005523 0.0005523 0.0005523 0.14% MLCellLinOp::compGrad() 6 0.0004873 0.0004873 0.0004873 0.12% MLCellLinOp::smooth() 720 0.0004773 0.0004773 0.0004773 0.12% MLMG::prepareForSolve() 6 0.000472 0.000472 0.000472 0.12% FabArrayBase::CPC::define() 244 0.0004162 0.0004162 0.0004162 0.10% Castro::enforce_speed_limit() 30 0.000411 0.000411 0.000411 0.10% Amr::InitAmr() 1 0.0003949 0.0003949 0.0003949 0.10% FabArray::FillBoundary() 1766 0.0003592 0.0003592 0.0003592 0.09% FabArrayBase::getCPC() 632 0.0003552 0.0003552 0.0003552 0.09% main() 1 0.0002858 0.0002858 0.0002858 0.07% Gravity::get_old_grav_vector() 5 0.000263 0.000263 0.000263 0.07% FabArrayBase::getFB() 1766 0.0002485 0.0002485 0.0002485 0.06% Gravity::get_new_grav_vector() 5 0.0002319 0.0002319 0.0002319 0.06% MLCellLinOp::apply() 500 0.0001912 0.0001912 0.0001912 0.05% MLLinOp::defineGrids() 6 0.0001868 0.0001868 0.0001868 0.05% Amr::coarseTimeStep() 5 0.000176 0.000176 0.000176 0.04% MLMG::mgVcycle() 36 0.0001638 0.0001638 0.0001638 0.04% AmrLevel::FillPatch() 20 0.0001601 0.0001601 0.0001601 0.04% MultiFab::max() 6 0.0001349 0.0001349 0.0001349 0.03% MLCGSolver::ParallelAllReduce 659 0.0001237 0.0001237 0.0001237 0.03% MLCellLinOp::defineBC() 6 0.0001125 0.0001125 0.0001125 0.03% FillPatchIterator::Initialize 20 0.0001052 0.0001052 0.0001052 0.03% FabArray::ParallelCopy() 380 0.0001027 0.0001027 0.0001027 0.03% MLCellLinOp::correctionResidual() 216 9.704e-05 9.704e-05 9.704e-05 0.02% Castro::create_source_corrector() 5 8.347e-05 8.347e-05 8.347e-05 0.02% Amr::timeStep() 5 7.936e-05 7.936e-05 7.936e-05 0.02% AmrLevel::restart() 1 7.817e-05 7.817e-05 7.817e-05 0.02% StateData::restartDoit() 4 6.936e-05 6.936e-05 6.936e-05 0.02% Gravity::update_max_rhs() 6 6.585e-05 6.585e-05 6.585e-05 0.02% Castro::do_new_sources() 5 6.577e-05 6.577e-05 6.577e-05 0.02% Castro::finalize_do_advance() 5 6.104e-05 6.104e-05 6.104e-05 0.02% FabArrayBase::FB::FB() 26 6.025e-05 6.025e-05 6.025e-05 0.02% MLMG:computeResOfCorrection() 180 5.232e-05 5.232e-05 5.232e-05 0.01% Castro::construct_new_source() 25 5.222e-05 5.222e-05 5.222e-05 0.01% Gravity::solve_for_phi() 5 5.107e-05 5.107e-05 5.107e-05 0.01% Castro::initialize_do_advance() 5 4.139e-05 4.139e-05 4.139e-05 0.01% MLMG::actualBottomSolve() 36 3.994e-05 3.994e-05 3.994e-05 0.01% MLMG::mgVcycle_down::0 36 3.639e-05 3.639e-05 3.639e-05 0.01% Castro::post_timestep() 5 3.615e-05 3.615e-05 3.615e-05 0.01% MLMG::mgVcycle_down::1 36 3.592e-05 3.592e-05 3.592e-05 0.01% MLMG::mgVcycle_down::4 36 3.443e-05 3.443e-05 3.443e-05 0.01% MLMG::mgVcycle_down::2 36 3.435e-05 3.435e-05 3.435e-05 0.01% Castro::initialize_advance() 5 3.371e-05 3.371e-05 3.371e-05 0.01% MLMG::mgVcycle_down::3 36 3.307e-05 3.307e-05 3.307e-05 0.01% MLMG::solve() 6 3.268e-05 3.268e-05 3.268e-05 0.01% Castro::clean_state() 30 3.215e-05 3.215e-05 3.215e-05 0.01% Castro::finalize_advance() 5 3.031e-05 3.031e-05 3.031e-05 0.01% Amr::writeSmallPlotFile() 1 2.746e-05 2.746e-05 2.746e-05 0.01% Castro::buildMetrics() 1 2.684e-05 2.684e-05 2.684e-05 0.01% MLMG::mgVcycle_up::4 36 2.617e-05 2.617e-05 2.617e-05 0.01% Castro::initMFs() 1 2.611e-05 2.611e-05 2.611e-05 0.01% MLMG::oneIter() 36 2.503e-05 2.503e-05 2.503e-05 0.01% Castro::do_advance_ctu() 5 2.436e-05 2.436e-05 2.436e-05 0.01% Castro::swap_state_time_levels() 5 2.377e-05 2.377e-05 2.377e-05 0.01% MLCellLinOp::solutionResidual() 42 2.241e-05 2.241e-05 2.241e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.207e-05 2.207e-05 2.207e-05 0.01% MLMG::mgVcycle_up::0 36 2.114e-05 2.114e-05 2.114e-05 0.01% MLPoisson::define() 6 2.087e-05 2.087e-05 2.087e-05 0.01% MLMG::mgVcycle_up::3 36 2.07e-05 2.07e-05 2.07e-05 0.01% MLMG::mgVcycle_up::2 36 2.063e-05 2.063e-05 2.063e-05 0.01% Castro::post_restart() 1 2.015e-05 2.015e-05 2.015e-05 0.01% MLMG::mgVcycle_up::1 36 1.996e-05 1.996e-05 1.996e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.691e-05 1.691e-05 1.691e-05 0.00% Castro::advance() 5 1.657e-05 1.657e-05 1.657e-05 0.00% MLMG::ResNormInf() 42 1.638e-05 1.638e-05 1.638e-05 0.00% FillPatchSingleLevel 20 1.492e-05 1.492e-05 1.492e-05 0.00% MLMG::mgVcycle_bottom 36 1.402e-05 1.402e-05 1.402e-05 0.00% MLMG::computeResidual() 36 1.383e-05 1.383e-05 1.383e-05 0.00% makeSFC 30 1.33e-05 1.33e-05 1.33e-05 0.00% Castro::construct_new_gravity() 5 1.194e-05 1.194e-05 1.194e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.17e-05 1.17e-05 1.17e-05 0.00% MLLinOp::define() 6 1.151e-05 1.151e-05 1.151e-05 0.00% Castro::do_old_sources() 5 1.052e-05 1.052e-05 1.052e-05 0.00% Castro::construct_old_source() 25 1.037e-05 1.037e-05 1.037e-05 0.00% DistributionMapping::Distribute() 31 8.604e-06 8.604e-06 8.604e-06 0.00% Amr::initSubcycle() 1 8.385e-06 8.385e-06 8.385e-06 0.00% Gravity::actual_multilevel_solve() 1 8.076e-06 8.076e-06 8.076e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.857e-06 7.857e-06 7.857e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.907e-06 5.907e-06 5.907e-06 0.00% Castro::construct_old_gravity() 5 5.834e-06 5.834e-06 5.834e-06 0.00% Castro::check_for_nan() 10 5.749e-06 5.749e-06 5.749e-06 0.00% Castro::apply_source_to_state() 10 5.575e-06 5.575e-06 5.575e-06 0.00% MLPoisson::prepareForSolve() 6 4.455e-06 4.455e-06 4.455e-06 0.00% Gravity::swapTimeLevels() 5 3.97e-06 3.97e-06 3.97e-06 0.00% MLMG::computeMLResidual() 6 3.878e-06 3.878e-06 3.878e-06 0.00% Castro::computeNewDt() 5 3.355e-06 3.355e-06 3.355e-06 0.00% MLMG::getGradSolution() 6 3.235e-06 3.235e-06 3.235e-06 0.00% Castro::FluxRegCrseInit 5 2.92e-06 2.92e-06 2.92e-06 0.00% Castro::retry_advance_ctu() 5 2.561e-06 2.561e-06 2.561e-06 0.00% Castro::expand_state() 5 2.515e-06 2.515e-06 2.515e-06 0.00% MLMG::MLResNormInf() 6 2.055e-06 2.055e-06 2.055e-06 0.00% Gravity::set_mass_offset() 6 2.013e-06 2.013e-06 2.013e-06 0.00% MLMG::MLRhsNormInf() 6 1.972e-06 1.972e-06 1.972e-06 0.00% Castro::FluxRegFineAdd() 5 1.851e-06 1.851e-06 1.851e-06 0.00% Amr::init() 1 1.135e-06 1.135e-06 1.135e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.98e-07 9.98e-07 9.98e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3989 0.3989 0.3989 100.00% Amr::coarseTimeStep() 5 0.3185 0.3185 0.3185 79.85% Amr::timeStep() 5 0.317 0.317 0.317 79.48% Castro::advance() 5 0.3121 0.3121 0.3121 78.24% Castro::subcycle_advance_ctu() 5 0.3044 0.3044 0.3044 76.31% Castro::do_advance_ctu() 5 0.3039 0.3039 0.3039 76.17% Castro::construct_ctu_hydro_source() 5 0.1405 0.1405 0.1405 35.21% Castro::construct_new_gravity() 5 0.1294 0.1294 0.1294 32.45% Gravity::solve_phi_with_mlmg() 6 0.1246 0.1246 0.1246 31.23% Gravity::solve_for_phi() 5 0.1215 0.1215 0.1215 30.44% Gravity::actual_solve_with_mlmg() 6 0.1209 0.1209 0.1209 30.30% MLMG::solve() 6 0.1096 0.1096 0.1096 27.49% MLMG::oneIter() 36 0.1028 0.1028 0.1028 25.77% MLMG::mgVcycle() 36 0.1012 0.1012 0.1012 25.38% MLCellLinOp::smooth() 720 0.04966 0.04966 0.04966 12.45% MLCellLinOp::applyBC() 1946 0.04663 0.04663 0.04663 11.69% Amr::init() 1 0.04546 0.04546 0.04546 11.40% Amr::restart() 1 0.04546 0.04546 0.04546 11.40% AmrLevel::restart() 1 0.03926 0.03926 0.03926 9.84% StateData::restartDoit() 4 0.03918 0.03918 0.03918 9.82% VisMF::Read() 3 0.03906 0.03906 0.03906 9.79% Amr::writePlotFile() 1 0.03418 0.03418 0.03418 8.57% VisMF::Write(FabArray) 1 0.03245 0.03245 0.03245 8.14% MLMG::mgVcycle_bottom 36 0.03125 0.03125 0.03125 7.83% MLMG::actualBottomSolve() 36 0.03123 0.03123 0.03123 7.83% MLCGSolver::bicgstab 36 0.03093 0.03093 0.03093 7.75% Castro::clean_state() 30 0.02705 0.02705 0.02705 6.78% AmrLevel::FillPatch() 20 0.02156 0.02156 0.02156 5.41% FillPatchIterator::Initialize 20 0.01952 0.01952 0.01952 4.89% FillPatchIterator::FillFromLevel0() 20 0.01877 0.01877 0.01877 4.71% FillPatchSingleLevel 20 0.01875 0.01875 0.01875 4.70% StateDataPhysBCFunct::() 20 0.01671 0.01671 0.01671 4.19% MLCellLinOp::apply() 500 0.01559 0.01559 0.01559 3.91% MLMG::mgVcycle_down::0 36 0.01432 0.01432 0.01432 3.59% MLPoisson::Fsmooth() 1440 0.01379 0.01379 0.01379 3.46% FabArray::FillBoundary() 1766 0.01349 0.01349 0.01349 3.38% FillBoundary_nowait() 1766 0.01313 0.01313 0.01313 3.29% StateData::FillBoundary(geom) 160 0.01241 0.01241 0.01241 3.11% MLMG::mgVcycle_up::0 36 0.01081 0.01081 0.01081 2.71% Castro::computeTemp() 30 0.01076 0.01076 0.01076 2.70% Castro::normalize_species() 30 0.01022 0.01022 0.01022 2.56% Castro::initialize_do_advance() 5 0.009625 0.009625 0.009625 2.41% MLCellLinOp::correctionResidual() 216 0.009479 0.009479 0.009479 2.38% MLPoisson::define() 6 0.008905 0.008905 0.008905 2.23% Castro::do_old_sources() 5 0.008751 0.008751 0.008751 2.19% amrex::Dot() 484 0.008726 0.008726 0.008726 2.19% MLMG:computeResOfCorrection() 180 0.008339 0.008339 0.008339 2.09% Gravity::get_new_grav_vector() 5 0.00787 0.00787 0.00787 1.97% Castro::construct_old_gravity() 5 0.007421 0.007421 0.007421 1.86% Gravity::get_old_grav_vector() 5 0.007415 0.007415 0.007415 1.86% Castro::initialize_advance() 5 0.007378 0.007378 0.007378 1.85% amrex::Copy() 463 0.006908 0.006908 0.006908 1.73% MLMG::mgVcycle_down::1 36 0.006753 0.006753 0.006753 1.69% Castro::do_new_sources() 5 0.006689 0.006689 0.006689 1.68% FabArray::ParallelCopy() 380 0.006518 0.006518 0.006518 1.63% FabArray::ParallelCopy_nowait() 380 0.006415 0.006415 0.006415 1.61% MLMG::mgVcycle_down::2 36 0.006328 0.006328 0.006328 1.59% FabArray::setVal() 537 0.006235 0.006235 0.006235 1.56% MLMG::mgVcycle_down::3 36 0.006178 0.006178 0.006178 1.55% FabArray::norminf() 326 0.006165 0.006165 0.006165 1.55% MLMG::mgVcycle_down::4 36 0.006114 0.006114 0.006114 1.53% MLCellLinOp::defineAuxData() 6 0.005954 0.005954 0.005954 1.49% Castro::enforce_min_density() 30 0.005627 0.005627 0.005627 1.41% MLCGSolver::ParallelAllReduce 659 0.005267 0.005267 0.005267 1.32% MLMG::addInterpCorrection() 180 0.005151 0.005151 0.005151 1.29% Castro::expand_state() 5 0.004967 0.004967 0.004967 1.25% MLMG::mgVcycle_up::4 36 0.004902 0.004902 0.004902 1.23% MLMG::mgVcycle_up::1 36 0.0049 0.0049 0.0049 1.23% amrex::average_down 180 0.004855 0.004855 0.004855 1.22% Castro::post_timestep() 5 0.004835 0.004835 0.004835 1.21% MLMG::mgVcycle_up::2 36 0.00481 0.00481 0.00481 1.21% MLMG::mgVcycle_up::3 36 0.004723 0.004723 0.004723 1.18% MLPoisson::Fapply() 500 0.004421 0.004421 0.004421 1.11% Gravity::fill_multipole_BCs() 6 0.003621 0.003621 0.003621 0.91% FabArray::Saxpy() 355 0.003575 0.003575 0.003575 0.90% Castro::post_restart() 1 0.003486 0.003486 0.003486 0.87% FabArray::Xpay() 361 0.003461 0.003461 0.003461 0.87% Gravity::multilevel_solve_for_new_phi() 1 0.003373 0.003373 0.003373 0.85% Gravity::actual_multilevel_solve() 1 0.003356 0.003356 0.003356 0.84% MLCellLinOp::solutionResidual() 42 0.003196 0.003196 0.003196 0.80% Castro::reset_internal_energy(MultiFab) 30 0.00293 0.00293 0.00293 0.73% MLCellLinOp::defineBC() 6 0.002702 0.002702 0.002702 0.68% MLMG::computeResidual() 36 0.002642 0.002642 0.002642 0.66% BndryData::define() 6 0.00259 0.00259 0.00259 0.65% MLMG::prepareForSolve() 6 0.002549 0.002549 0.002549 0.64% Castro::estTimeStep() 10 0.002232 0.002232 0.002232 0.56% FabArray::LinComb() 242 0.001885 0.001885 0.001885 0.47% amrex::Add() 72 0.001855 0.001855 0.001855 0.46% Castro::construct_new_source() 25 0.001401 0.001401 0.001401 0.35% Castro::construct_new_gravity_source() 5 0.001349 0.001349 0.001349 0.34% Castro::computeNewDt() 5 0.00132 0.00132 0.00132 0.33% Castro::construct_old_source() 25 0.001042 0.001042 0.001042 0.26% Castro::construct_old_gravity_source() 5 0.001031 0.001031 0.001031 0.26% Castro::finalize_do_advance() 5 0.0009758 0.0009758 0.0009758 0.24% MLMG::ResNormInf() 42 0.000933 0.000933 0.000933 0.23% Castro::apply_source_to_state() 10 0.0009197 0.0009197 0.0009197 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009075 0.0009075 0.0009075 0.23% Castro::reset_internal_energy(Fab) 240 0.000849 0.000849 0.000849 0.21% check_for_negative_density() 5 0.0008072 0.0008072 0.0008072 0.20% FabArrayBase::getCPC() 632 0.0007714 0.0007714 0.0007714 0.19% MLCellLinOp::setLevelBC() 6 0.0007699 0.0007699 0.0007699 0.19% MLMG::getGradSolution() 6 0.0007537 0.0007537 0.0007537 0.19% MLCellLinOp::compGrad() 6 0.0007505 0.0007505 0.0007505 0.19% FabArray::mult() 22 0.0006467 0.0006467 0.0006467 0.16% FabArray::setDomainBndry() 20 0.0006455 0.0006455 0.0006455 0.16% MLPoisson::prepareForSolve() 6 0.0006073 0.0006073 0.0006073 0.15% MLCellLinOp::prepareForSolve() 6 0.0006029 0.0006029 0.0006029 0.15% Castro::check_for_nan() 10 0.0005964 0.0005964 0.0005964 0.15% MultiFab::contains_nan() 10 0.0005907 0.0005907 0.0005907 0.15% MLMG::computeMLResidual() 6 0.0005715 0.0005715 0.0005715 0.14% Gravity::update_max_rhs() 6 0.0004452 0.0004452 0.0004452 0.11% FabArrayBase::CPC::define() 244 0.0004162 0.0004162 0.0004162 0.10% Castro::enforce_speed_limit() 30 0.000411 0.000411 0.000411 0.10% Amr::InitAmr() 1 0.0004033 0.0004033 0.0004033 0.10% Castro::finalize_advance() 5 0.0003203 0.0003203 0.0003203 0.08% FabArrayBase::getFB() 1766 0.0003087 0.0003087 0.0003087 0.08% MLLinOp::define() 6 0.0002273 0.0002273 0.0002273 0.06% Gravity::swapTimeLevels() 5 0.0002253 0.0002253 0.0002253 0.06% MLLinOp::defineGrids() 6 0.0002158 0.0002158 0.0002158 0.05% MLMG::MLResNormInf() 6 0.0001519 0.0001519 0.0001519 0.04% Castro::buildMetrics() 1 0.0001459 0.0001459 0.0001459 0.04% MultiFab::max() 6 0.0001349 0.0001349 0.0001349 0.03% MLMG::MLRhsNormInf() 6 0.0001162 0.0001162 0.0001162 0.03% Castro::create_source_corrector() 5 8.347e-05 8.347e-05 8.347e-05 0.02% FabArrayBase::FB::FB() 26 6.025e-05 6.025e-05 6.025e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.808e-05 2.808e-05 2.808e-05 0.01% Amr::writeSmallPlotFile() 1 2.746e-05 2.746e-05 2.746e-05 0.01% Castro::initMFs() 1 2.611e-05 2.611e-05 2.611e-05 0.01% Castro::swap_state_time_levels() 5 2.377e-05 2.377e-05 2.377e-05 0.01% makeSFC 30 2.022e-05 2.022e-05 2.022e-05 0.01% DistributionMapping::Distribute() 31 8.604e-06 8.604e-06 8.604e-06 0.00% Amr::initSubcycle() 1 8.385e-06 8.385e-06 8.385e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 7.588e-06 7.588e-06 7.588e-06 0.00% Castro::FluxRegCrseInit 5 2.92e-06 2.92e-06 2.92e-06 0.00% Castro::retry_advance_ctu() 5 2.561e-06 2.561e-06 2.561e-06 0.00% Gravity::set_mass_offset() 6 2.013e-06 2.013e-06 2.013e-06 0.00% Castro::FluxRegFineAdd() 5 1.851e-06 1.851e-06 1.851e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.98e-07 9.98e-07 9.98e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 204 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 155 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 1026 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2396 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 6765 KiB 14 MiB MLMG::prepareForSolve() 361 361 3374 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 192 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 201 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6761 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2159 B 2048 KiB Gravity::solve_for_phi() 40 40 622 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 310 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 2663 B 480 KiB VisMF::Write(FabArray) 112 112 1239 B 320 KiB Castro::normalize_species() 30 30 8345 B 320 KiB amrex::average_down 469 469 1198 B 257 KiB MLMG::addInterpCorrection() 468 468 1114 B 257 KiB amrex::Dot() 592 592 3213 B 160 KiB FabArray::norminf() 398 398 2276 B 160 KiB check_for_negative_density() 5 5 318 B 160 KiB MultiFab::max() 6 6 52 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3281 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 279 B 9648 B MLCellLinOp::applyBC() 3892 3892 215 B 9344 B amrex::Copy() 56 56 5990 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2592 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 348 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1253 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 112 KiB 8192 KiB VisMF::Write(FabArray) 120 120 250 KiB 3584 KiB VisMF::Read() 24 24 190 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3281 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 279 B 9648 B MLCellLinOp::applyBC() 1946 1946 213 B 9328 B amrex::Copy() 56 56 5990 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2675 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 522 B 1296 B amrex::average_down 37 37 226 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-40-ge0583fbd54cc) finalized