Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-4-g9fc635426cae) initialized Starting run at 08:58:05 UTC on 2023-07-03. Successfully read inputs file ... Castro git describe: 23.07 AMReX git describe: 23.07-4-g9fc635426 Microphysics git describe: 23.07-6-gcd2e4d02 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.058332029 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033340898 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.047873238 [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.049133033 [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.077814868 [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.075835803 [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.058634024 [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.057978427 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.069003607 [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.080937436 [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.076450638 [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.06035253 [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.061609702 [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.058737117 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033661692 seconds Ending run at 08:58:06 UTC on 2023-07-03. Run time = 0.949354495 Run time without initialization = 0.808667814 Average number of zones advanced per microsecond: 3.242 Average number of zones advanced per microsecond per rank: 3.242 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9494 ... 0.9494 ... 0.9494 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2851 0.2851 0.2851 30.03% VisMF::Write(FabArray) 11 0.2352 0.2352 0.2352 24.77% MLCellLinOp::applyBC() 4433 0.07679 0.07679 0.07679 8.09% MLPoisson::Fsmooth() 3280 0.03233 0.03233 0.03233 3.40% FillBoundary_nowait() 4023 0.03071 0.03071 0.03071 3.23% StateData::FillBoundary(geom) 328 0.02566 0.02566 0.02566 2.70% Castro::normalize_species() 62 0.0214 0.0214 0.0214 2.25% amrex::Dot() 1114 0.02068 0.02068 0.02068 2.18% Castro::computeTemp() 63 0.01669 0.01669 0.01669 1.76% amrex::Copy() 1029 0.01484 0.01484 0.01484 1.56% FabArray::norminf() 743 0.01448 0.01448 0.01448 1.52% FabArray::ParallelCopy_nowait() 861 0.0134 0.0134 0.0134 1.41% FabArray::setVal() 1144 0.01314 0.01314 0.01314 1.38% Castro::enforce_min_density() 62 0.01227 0.01227 0.01227 1.29% StateDataPhysBCFunct::() 41 0.01161 0.01161 0.01161 1.22% MLPoisson::Fapply() 1142 0.0104 0.0104 0.0104 1.10% MLCellLinOp::defineAuxData() 11 0.009723 0.009723 0.009723 1.02% FabArray::Saxpy() 813 0.008192 0.008192 0.008192 0.86% FabArray::Xpay() 821 0.008111 0.008111 0.008111 0.85% Gravity::fill_multipole_BCs() 11 0.007075 0.007075 0.007075 0.75% MLMG::addInterpCorrection() 410 0.006654 0.006654 0.006654 0.70% amrex::average_down 410 0.006025 0.006025 0.006025 0.63% Castro::estTimeStep() 21 0.005822 0.005822 0.005822 0.61% Castro::reset_internal_energy(MultiFab) 63 0.004938 0.004938 0.004938 0.52% FabArray::LinComb() 557 0.004546 0.004546 0.004546 0.48% amrex::Add() 164 0.00438 0.00438 0.00438 0.46% Amr::checkPoint() 3 0.003987 0.003987 0.003987 0.42% BndryData::define() 11 0.003737 0.003737 0.003737 0.39% Castro::construct_new_gravity_source() 10 0.003026 0.003026 0.003026 0.32% Castro::construct_old_gravity_source() 10 0.00268 0.00268 0.00268 0.28% Amr::writePlotFile() 2 0.002364 0.002364 0.002364 0.25% MLCGSolver::bicgstab 82 0.002321 0.002321 0.002321 0.24% Castro::enforce_speed_limit() 62 0.002221 0.002221 0.002221 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001674 0.001674 0.001674 0.18% Castro::reset_internal_energy(Fab) 504 0.001665 0.001665 0.001665 0.18% check_for_negative_density() 10 0.001601 0.001601 0.001601 0.17% Gravity::actual_solve_with_mlmg() 11 0.00146 0.00146 0.00146 0.15% MLCellLinOp::setLevelBC() 11 0.001389 0.001389 0.001389 0.15% FabArray::mult() 43 0.001311 0.001311 0.001311 0.14% MLCellLinOp::smooth() 1640 0.0013 0.0013 0.0013 0.14% FabArray::setDomainBndry() 41 0.001293 0.001293 0.001293 0.14% Castro::initData() 1 0.001227 0.001227 0.001227 0.13% MultiFab::contains_nan() 20 0.001193 0.001193 0.001193 0.13% MLCellLinOp::prepareForSolve() 11 0.001128 0.001128 0.001128 0.12% MLCellLinOp::compGrad() 11 0.0009157 0.0009157 0.0009157 0.10% FabArray::FillBoundary() 4023 0.0009033 0.0009033 0.0009033 0.10% MLMG::prepareForSolve() 11 0.0008784 0.0008784 0.0008784 0.09% FabArrayBase::getCPC() 1323 0.0007378 0.0007378 0.0007378 0.08% FabArrayBase::CPC::define() 454 0.0006948 0.0006948 0.0006948 0.07% Gravity::get_new_grav_vector() 11 0.0006259 0.0006259 0.0006259 0.07% FabArrayBase::getFB() 4023 0.0005804 0.0005804 0.0005804 0.06% Gravity::get_old_grav_vector() 10 0.0005515 0.0005515 0.0005515 0.06% MLCellLinOp::apply() 1142 0.0004892 0.0004892 0.0004892 0.05% Amr::InitAmr() 1 0.0004604 0.0004604 0.0004604 0.05% MLLinOp::defineGrids() 11 0.0004297 0.0004297 0.0004297 0.05% MLMG::mgVcycle() 82 0.0003758 0.0003758 0.0003758 0.04% Amr::coarseTimeStep() 10 0.0003664 0.0003664 0.0003664 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003373 0.0003373 0.0003373 0.04% FillPatchIterator::Initialize 41 0.0002759 0.0002759 0.0002759 0.03% main() 1 0.0002749 0.0002749 0.0002749 0.03% MultiFab::max() 11 0.0002566 0.0002566 0.0002566 0.03% FabArray::ParallelCopy() 861 0.0002529 0.0002529 0.0002529 0.03% MLCellLinOp::correctionResidual() 492 0.0002423 0.0002423 0.0002423 0.03% Castro::subcycle_advance_ctu() 10 0.0002354 0.0002354 0.0002354 0.02% MLCellLinOp::defineBC() 11 0.0002167 0.0002167 0.0002167 0.02% Castro::create_source_corrector() 10 0.0001745 0.0001745 0.0001745 0.02% Amr::timeStep() 10 0.0001535 0.0001535 0.0001535 0.02% StateData::checkPoint() 12 0.0001398 0.0001398 0.0001398 0.01% MLMG:computeResOfCorrection() 410 0.0001292 0.0001292 0.0001292 0.01% Gravity::update_max_rhs() 11 0.0001257 0.0001257 0.0001257 0.01% Castro::advance() 10 0.0001143 0.0001143 0.0001143 0.01% Gravity::solve_for_phi() 10 0.0001088 0.0001088 0.0001088 0.01% MLMG::mgVcycle_down::1 82 0.000108 0.000108 0.000108 0.01% MLMG::mgVcycle_down::2 82 9.675e-05 9.675e-05 9.675e-05 0.01% MLMG::mgVcycle_down::0 82 9.525e-05 9.525e-05 9.525e-05 0.01% MLMG::mgVcycle_down::3 82 9.306e-05 9.306e-05 9.306e-05 0.01% MLMG::mgVcycle_down::4 82 9.293e-05 9.293e-05 9.293e-05 0.01% MLMG::actualBottomSolve() 82 9.149e-05 9.149e-05 9.149e-05 0.01% Castro::do_old_sources() 10 8.93e-05 8.93e-05 8.93e-05 0.01% FabArrayBase::FB::FB() 56 8.905e-05 8.905e-05 8.905e-05 0.01% Castro::Castro() 1 8.508e-05 8.508e-05 8.508e-05 0.01% Castro::expand_state() 10 7.698e-05 7.698e-05 7.698e-05 0.01% MLMG::solve() 11 7.535e-05 7.535e-05 7.535e-05 0.01% Castro::initialize_advance() 10 7.527e-05 7.527e-05 7.527e-05 0.01% Castro::finalize_advance() 10 7.507e-05 7.507e-05 7.507e-05 0.01% AmrLevel::checkPoint() 3 7.451e-05 7.451e-05 7.451e-05 0.01% Castro::clean_state() 62 6.848e-05 6.848e-05 6.848e-05 0.01% MLMG::mgVcycle_up::4 82 6.689e-05 6.689e-05 6.689e-05 0.01% Castro::initialize_do_advance() 10 5.951e-05 5.951e-05 5.951e-05 0.01% MLMG::oneIter() 82 5.86e-05 5.86e-05 5.86e-05 0.01% MLMG::mgVcycle_up::1 82 5.71e-05 5.71e-05 5.71e-05 0.01% MLMG::mgVcycle_up::3 82 5.666e-05 5.666e-05 5.666e-05 0.01% MLMG::mgVcycle_up::2 82 5.644e-05 5.644e-05 5.644e-05 0.01% MLMG::mgVcycle_up::0 82 5.594e-05 5.594e-05 5.594e-05 0.01% MLCellLinOp::solutionResidual() 93 5.265e-05 5.265e-05 5.265e-05 0.01% Castro::construct_new_source() 50 4.413e-05 4.413e-05 4.413e-05 0.00% Castro::finalize_do_advance() 10 4.25e-05 4.25e-05 4.25e-05 0.00% Castro::do_advance_ctu() 10 3.958e-05 3.958e-05 3.958e-05 0.00% Castro::swap_state_time_levels() 10 3.77e-05 3.77e-05 3.77e-05 0.00% MLMG::ResNormInf() 93 3.682e-05 3.682e-05 3.682e-05 0.00% StateData::define() 4 3.664e-05 3.664e-05 3.664e-05 0.00% Castro::initMFs() 1 3.639e-05 3.639e-05 3.639e-05 0.00% MLMG::mgVcycle_bottom 82 3.461e-05 3.461e-05 3.461e-05 0.00% Castro::enforce_consistent_e() 1 3.348e-05 3.348e-05 3.348e-05 0.00% MLMG::computeResidual() 82 3.294e-05 3.294e-05 3.294e-05 0.00% FillPatchSingleLevel 41 2.843e-05 2.843e-05 2.843e-05 0.00% Amr::writeSmallPlotFile() 1 2.561e-05 2.561e-05 2.561e-05 0.00% Castro::construct_new_gravity() 10 2.543e-05 2.543e-05 2.543e-05 0.00% MLPoisson::define() 11 2.423e-05 2.423e-05 2.423e-05 0.00% makeSFC 55 2.372e-05 2.372e-05 2.372e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.146e-05 2.146e-05 2.146e-05 0.00% Castro::construct_old_gravity() 10 2.13e-05 2.13e-05 2.13e-05 0.00% Amr::FinalizeInit() 1 1.971e-05 1.971e-05 1.971e-05 0.00% Castro::do_new_sources() 10 1.902e-05 1.902e-05 1.902e-05 0.00% Castro::construct_old_source() 50 1.837e-05 1.837e-05 1.837e-05 0.00% Amr::defBaseLevel() 1 1.835e-05 1.835e-05 1.835e-05 0.00% Castro::buildMetrics() 1 1.793e-05 1.793e-05 1.793e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.75e-05 1.75e-05 1.75e-05 0.00% MLLinOp::define() 11 1.589e-05 1.589e-05 1.589e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.523e-05 1.523e-05 1.523e-05 0.00% DistributionMapping::Distribute() 56 1.432e-05 1.432e-05 1.432e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.382e-05 1.382e-05 1.382e-05 0.00% Castro::check_for_nan() 20 1.099e-05 1.099e-05 1.099e-05 0.00% Gravity::swapTimeLevels() 10 9.594e-06 9.594e-06 9.594e-06 0.00% Castro::apply_source_to_state() 20 9.42e-06 9.42e-06 9.42e-06 0.00% Gravity::actual_multilevel_solve() 1 8.911e-06 8.911e-06 8.911e-06 0.00% Amr::initSubcycle() 1 8.506e-06 8.506e-06 8.506e-06 0.00% MLMG::computeMLResidual() 11 8.342e-06 8.342e-06 8.342e-06 0.00% MLPoisson::prepareForSolve() 11 8.045e-06 8.045e-06 8.045e-06 0.00% Castro::post_timestep() 10 7.929e-06 7.929e-06 7.929e-06 0.00% Castro::computeNewDt() 9 6.565e-06 6.565e-06 6.565e-06 0.00% MLMG::getGradSolution() 11 5.587e-06 5.587e-06 5.587e-06 0.00% Amr::InitializeInit() 1 4.425e-06 4.425e-06 4.425e-06 0.00% AmrLevel::checkPointPost() 3 4.24e-06 4.24e-06 4.24e-06 0.00% Castro::post_init() 1 3.941e-06 3.941e-06 3.941e-06 0.00% MLMG::MLRhsNormInf() 11 3.861e-06 3.861e-06 3.861e-06 0.00% MLMG::MLResNormInf() 11 3.611e-06 3.611e-06 3.611e-06 0.00% Castro::retry_advance_ctu() 10 3.594e-06 3.594e-06 3.594e-06 0.00% Gravity::set_mass_offset() 11 3.521e-06 3.521e-06 3.521e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.096e-06 3.096e-06 3.096e-06 0.00% Castro::FluxRegCrseInit 10 2.787e-06 2.787e-06 2.787e-06 0.00% Castro::computeInitialDt() 2 2.653e-06 2.653e-06 2.653e-06 0.00% Amr::init() 1 2.109e-06 2.109e-06 2.109e-06 0.00% AmrLevel::checkPointPre() 3 2.04e-06 2.04e-06 2.04e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.913e-06 1.913e-06 1.913e-06 0.00% Castro::FluxRegFineAdd() 10 1.769e-06 1.769e-06 1.769e-06 0.00% Castro::post_regrid() 1 1.078e-06 1.078e-06 1.078e-06 0.00% Amr::initialInit() 1 9.54e-07 9.54e-07 9.54e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9494 0.9494 0.9494 100.00% Amr::coarseTimeStep() 10 0.7748 0.7748 0.7748 81.61% Amr::timeStep() 10 0.6544 0.6544 0.6544 68.93% Castro::advance() 10 0.6442 0.6442 0.6442 67.85% Castro::subcycle_advance_ctu() 10 0.6296 0.6296 0.6296 66.32% Castro::do_advance_ctu() 10 0.6294 0.6294 0.6294 66.29% Castro::construct_ctu_hydro_source() 10 0.2965 0.2965 0.2965 31.23% Gravity::solve_phi_with_mlmg() 11 0.2848 0.2848 0.2848 30.00% Gravity::actual_solve_with_mlmg() 11 0.2772 0.2772 0.2772 29.20% Castro::construct_new_gravity() 10 0.2604 0.2604 0.2604 27.43% MLMG::solve() 11 0.2565 0.2565 0.2565 27.02% Gravity::solve_for_phi() 10 0.2444 0.2444 0.2444 25.74% MLMG::oneIter() 82 0.2422 0.2422 0.2422 25.51% MLMG::mgVcycle() 82 0.2385 0.2385 0.2385 25.12% VisMF::Write(FabArray) 11 0.2352 0.2352 0.2352 24.77% Amr::checkPoint() 3 0.1752 0.1752 0.1752 18.45% AmrLevel::checkPoint() 3 0.1712 0.1712 0.1712 18.03% StateData::checkPoint() 12 0.1711 0.1711 0.1711 18.02% Amr::init() 1 0.1401 0.1401 0.1401 14.76% MLCellLinOp::smooth() 1640 0.1167 0.1167 0.1167 12.30% MLCellLinOp::applyBC() 4433 0.1091 0.1091 0.1091 11.49% MLMG::mgVcycle_bottom 82 0.07423 0.07423 0.07423 7.82% MLMG::actualBottomSolve() 82 0.07419 0.07419 0.07419 7.82% MLCGSolver::bicgstab 82 0.0735 0.0735 0.0735 7.74% Amr::writePlotFile() 2 0.06712 0.06712 0.06712 7.07% Castro::clean_state() 62 0.05844 0.05844 0.05844 6.16% Amr::initialInit() 1 0.0483 0.0483 0.0483 5.09% Amr::FinalizeInit() 1 0.04423 0.04423 0.04423 4.66% FillPatchIterator::Initialize 41 0.04289 0.04289 0.04289 4.52% Castro::post_init() 1 0.04281 0.04281 0.04281 4.51% FillPatchSingleLevel 41 0.04132 0.04132 0.04132 4.35% Gravity::multilevel_solve_for_new_phi() 1 0.04081 0.04081 0.04081 4.30% Gravity::actual_multilevel_solve() 1 0.04079 0.04079 0.04079 4.30% StateDataPhysBCFunct::() 41 0.03727 0.03727 0.03727 3.93% MLCellLinOp::apply() 1142 0.03637 0.03637 0.03637 3.83% MLMG::mgVcycle_down::0 82 0.03372 0.03372 0.03372 3.55% MLPoisson::Fsmooth() 3280 0.03233 0.03233 0.03233 3.40% FabArray::FillBoundary() 4023 0.03228 0.03228 0.03228 3.40% FillBoundary_nowait() 4023 0.03138 0.03138 0.03138 3.30% StateData::FillBoundary(geom) 328 0.02566 0.02566 0.02566 2.70% MLMG::mgVcycle_up::0 82 0.02546 0.02546 0.02546 2.68% Castro::computeTemp() 63 0.02329 0.02329 0.02329 2.45% MLCellLinOp::correctionResidual() 492 0.0223 0.0223 0.0223 2.35% Castro::initialize_do_advance() 10 0.02148 0.02148 0.02148 2.26% Castro::normalize_species() 62 0.0214 0.0214 0.0214 2.25% amrex::Dot() 1114 0.02068 0.02068 0.02068 2.18% MLMG:computeResOfCorrection() 410 0.01966 0.01966 0.01966 2.07% Castro::do_old_sources() 10 0.01841 0.01841 0.01841 1.94% Gravity::get_new_grav_vector() 11 0.01769 0.01769 0.01769 1.86% MLPoisson::define() 11 0.0165 0.0165 0.0165 1.74% MLMG::mgVcycle_down::1 82 0.01593 0.01593 0.01593 1.68% Castro::construct_old_gravity() 10 0.01515 0.01515 0.01515 1.60% Gravity::get_old_grav_vector() 10 0.01513 0.01513 0.01513 1.59% MLMG::mgVcycle_down::2 82 0.01487 0.01487 0.01487 1.57% amrex::Copy() 1029 0.01484 0.01484 0.01484 1.56% MLMG::mgVcycle_down::3 82 0.01448 0.01448 0.01448 1.53% FabArray::norminf() 743 0.01448 0.01448 0.01448 1.52% FabArray::ParallelCopy() 861 0.01446 0.01446 0.01446 1.52% MLMG::mgVcycle_down::4 82 0.01423 0.01423 0.01423 1.50% FabArray::ParallelCopy_nowait() 861 0.01421 0.01421 0.01421 1.50% Castro::do_new_sources() 10 0.01397 0.01397 0.01397 1.47% Castro::initialize_advance() 10 0.01386 0.01386 0.01386 1.46% FabArray::setVal() 1144 0.01314 0.01314 0.01314 1.38% MLCGSolver::ParallelAllReduce 1514 0.01242 0.01242 0.01242 1.31% Castro::enforce_min_density() 62 0.01227 0.01227 0.01227 1.29% MLMG::addInterpCorrection() 410 0.01185 0.01185 0.01185 1.25% Castro::expand_state() 10 0.01163 0.01163 0.01163 1.23% MLMG::mgVcycle_up::1 82 0.01155 0.01155 0.01155 1.22% MLMG::mgVcycle_up::4 82 0.01139 0.01139 0.01139 1.20% amrex::average_down 410 0.01127 0.01127 0.01127 1.19% MLMG::mgVcycle_up::2 82 0.01126 0.01126 0.01126 1.19% MLCellLinOp::defineAuxData() 11 0.01104 0.01104 0.01104 1.16% MLMG::mgVcycle_up::3 82 0.01102 0.01102 0.01102 1.16% MLPoisson::Fapply() 1142 0.0104 0.0104 0.0104 1.10% Castro::post_timestep() 10 0.0101 0.0101 0.0101 1.06% FabArray::Saxpy() 813 0.008192 0.008192 0.008192 0.86% FabArray::Xpay() 821 0.008111 0.008111 0.008111 0.85% Gravity::fill_multipole_BCs() 11 0.007335 0.007335 0.007335 0.77% MLCellLinOp::solutionResidual() 93 0.00712 0.00712 0.00712 0.75% Castro::reset_internal_energy(MultiFab) 63 0.006603 0.006603 0.006603 0.70% MLMG::computeResidual() 82 0.006136 0.006136 0.006136 0.65% Castro::estTimeStep() 21 0.005822 0.005822 0.005822 0.61% MLCellLinOp::defineBC() 11 0.004936 0.004936 0.004936 0.52% BndryData::define() 11 0.004719 0.004719 0.004719 0.50% MLMG::prepareForSolve() 11 0.004691 0.004691 0.004691 0.49% FabArray::LinComb() 557 0.004546 0.004546 0.004546 0.48% amrex::Add() 164 0.00438 0.00438 0.00438 0.46% Amr::InitializeInit() 1 0.004068 0.004068 0.004068 0.43% Amr::defBaseLevel() 1 0.004064 0.004064 0.004064 0.43% Castro::initData() 1 0.003555 0.003555 0.003555 0.37% Castro::construct_new_source() 50 0.00307 0.00307 0.00307 0.32% Castro::construct_new_gravity_source() 10 0.003026 0.003026 0.003026 0.32% Castro::computeNewDt() 9 0.002737 0.002737 0.002737 0.29% Castro::construct_old_source() 50 0.002699 0.002699 0.002699 0.28% Castro::construct_old_gravity_source() 10 0.00268 0.00268 0.00268 0.28% Castro::finalize_do_advance() 10 0.002474 0.002474 0.002474 0.26% Castro::enforce_speed_limit() 62 0.002221 0.002221 0.002221 0.23% MLMG::ResNormInf() 93 0.002152 0.002152 0.002152 0.23% Castro::apply_source_to_state() 20 0.001833 0.001833 0.001833 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001674 0.001674 0.001674 0.18% Castro::reset_internal_energy(Fab) 504 0.001665 0.001665 0.001665 0.18% check_for_negative_density() 10 0.001601 0.001601 0.001601 0.17% FabArrayBase::getCPC() 1323 0.001433 0.001433 0.001433 0.15% MLMG::getGradSolution() 11 0.001392 0.001392 0.001392 0.15% MLCellLinOp::setLevelBC() 11 0.001389 0.001389 0.001389 0.15% MLCellLinOp::compGrad() 11 0.001386 0.001386 0.001386 0.15% FabArray::mult() 43 0.001311 0.001311 0.001311 0.14% FabArray::setDomainBndry() 41 0.001293 0.001293 0.001293 0.14% Castro::post_regrid() 1 0.001221 0.001221 0.001221 0.13% Castro::check_for_nan() 20 0.001204 0.001204 0.001204 0.13% MultiFab::contains_nan() 20 0.001193 0.001193 0.001193 0.13% MLPoisson::prepareForSolve() 11 0.001136 0.001136 0.001136 0.12% MLCellLinOp::prepareForSolve() 11 0.001128 0.001128 0.001128 0.12% MLMG::computeMLResidual() 11 0.001025 0.001025 0.001025 0.11% Gravity::update_max_rhs() 11 0.0008247 0.0008247 0.0008247 0.09% FabArrayBase::CPC::define() 454 0.0006948 0.0006948 0.0006948 0.07% FabArrayBase::getFB() 4023 0.0006695 0.0006695 0.0006695 0.07% Castro::computeInitialDt() 2 0.0006631 0.0006631 0.0006631 0.07% Castro::finalize_advance() 10 0.0005904 0.0005904 0.0005904 0.06% MLLinOp::define() 11 0.0004984 0.0004984 0.0004984 0.05% MLLinOp::defineGrids() 11 0.0004826 0.0004826 0.0004826 0.05% Amr::InitAmr() 1 0.0004689 0.0004689 0.0004689 0.05% Gravity::swapTimeLevels() 10 0.0004414 0.0004414 0.0004414 0.05% Castro::Castro() 1 0.0004348 0.0004348 0.0004348 0.05% MLMG::MLResNormInf() 11 0.0002926 0.0002926 0.0002926 0.03% MultiFab::max() 11 0.0002566 0.0002566 0.0002566 0.03% MLMG::MLRhsNormInf() 11 0.0002192 0.0002192 0.0002192 0.02% Castro::create_source_corrector() 10 0.0001745 0.0001745 0.0001745 0.02% Castro::buildMetrics() 1 0.0001512 0.0001512 0.0001512 0.02% FabArrayBase::FB::FB() 56 8.905e-05 8.905e-05 8.905e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.187e-05 5.187e-05 5.187e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.095e-05 5.095e-05 5.095e-05 0.01% Castro::swap_state_time_levels() 10 3.77e-05 3.77e-05 3.77e-05 0.00% makeSFC 55 3.713e-05 3.713e-05 3.713e-05 0.00% StateData::define() 4 3.664e-05 3.664e-05 3.664e-05 0.00% Castro::initMFs() 1 3.639e-05 3.639e-05 3.639e-05 0.00% Castro::enforce_consistent_e() 1 3.348e-05 3.348e-05 3.348e-05 0.00% Amr::writeSmallPlotFile() 1 2.561e-05 2.561e-05 2.561e-05 0.00% DistributionMapping::Distribute() 56 1.432e-05 1.432e-05 1.432e-05 0.00% Amr::initSubcycle() 1 8.506e-06 8.506e-06 8.506e-06 0.00% AmrLevel::checkPointPost() 3 4.24e-06 4.24e-06 4.24e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.016e-06 4.016e-06 4.016e-06 0.00% Castro::retry_advance_ctu() 10 3.594e-06 3.594e-06 3.594e-06 0.00% Gravity::set_mass_offset() 11 3.521e-06 3.521e-06 3.521e-06 0.00% Castro::FluxRegCrseInit 10 2.787e-06 2.787e-06 2.787e-06 0.00% AmrLevel::checkPointPre() 3 2.04e-06 2.04e-06 2.04e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.913e-06 1.913e-06 1.913e-06 0.00% Castro::FluxRegFineAdd() 10 1.769e-06 1.769e-06 1.769e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 90 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 141 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 960 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1986 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 3324 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 193 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 163 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7530 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1664 B 2048 KiB Gravity::solve_for_phi() 80 80 526 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 87 KiB 2048 KiB BndryData::define() 1056 1056 303 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 193 KiB 671 KiB Castro::estTimeStep() 21 21 2993 B 480 KiB VisMF::Write(FabArray) 656 656 3142 B 320 KiB Castro::normalize_species() 62 62 7348 B 320 KiB amrex::average_down 1067 1067 1204 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1081 B 257 KiB amrex::Dot() 1360 1360 3205 B 160 KiB FabArray::norminf() 907 907 2252 B 160 KiB check_for_negative_density() 10 10 268 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 41 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3250 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 282 B 9648 B MLCellLinOp::applyBC() 8866 8866 208 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3872 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 112 B 1472 B MLCellLinOp::defineBC() 66 66 394 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 528 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 44 KiB 8192 KiB VisMF::Write(FabArray) 744 744 574 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3250 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 282 B 9648 B MLCellLinOp::applyBC() 4433 4433 207 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3872 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 39 B 2688 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 276 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-4-g9fc635426cae) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-4-g9fc635426cae) initialized Starting run at 08:58:07 UTC on 2023-07-03. Successfully read inputs file ... Castro git describe: 23.07 AMReX git describe: 23.07-4-g9fc635426 Microphysics git describe: 23.07-6-gcd2e4d02 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.50799634 Restart time = 0.04243798 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.048126239 [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.049830766 [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.066456165 [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.080250424 [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.076853604 [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.032759456 seconds Ending run at 08:58:07 UTC on 2023-07-03. Run time = 0.397699257 Run time without initialization = 0.354693107 Average number of zones advanced per microsecond: 3.695 Average number of zones advanced per microsecond per rank: 3.695 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3977 ... 0.3977 ... 0.3977 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1352 0.1352 0.1352 34.00% VisMF::Read() 3 0.03623 0.03623 0.03623 9.11% MLCellLinOp::applyBC() 1946 0.03321 0.03321 0.03321 8.35% VisMF::Write(FabArray) 1 0.03115 0.03115 0.03115 7.83% MLPoisson::Fsmooth() 1440 0.01391 0.01391 0.01391 3.50% FillBoundary_nowait() 1766 0.01281 0.01281 0.01281 3.22% StateData::FillBoundary(geom) 160 0.01213 0.01213 0.01213 3.05% Castro::normalize_species() 30 0.009568 0.009568 0.009568 2.41% amrex::Dot() 484 0.008767 0.008767 0.008767 2.20% Castro::computeTemp() 30 0.007052 0.007052 0.007052 1.77% amrex::Copy() 463 0.006965 0.006965 0.006965 1.75% FabArray::setVal() 537 0.006235 0.006235 0.006235 1.57% FabArray::norminf() 326 0.006217 0.006217 0.006217 1.56% FabArray::ParallelCopy_nowait() 380 0.006071 0.006071 0.006071 1.53% MLCellLinOp::defineAuxData() 6 0.005251 0.005251 0.005251 1.32% Castro::enforce_min_density() 30 0.005161 0.005161 0.005161 1.30% StateDataPhysBCFunct::() 20 0.004758 0.004758 0.004758 1.20% MLPoisson::Fapply() 500 0.004425 0.004425 0.004425 1.11% Castro::estTimeStep() 10 0.003671 0.003671 0.003671 0.92% FabArray::Saxpy() 355 0.003606 0.003606 0.003606 0.91% Gravity::fill_multipole_BCs() 6 0.003548 0.003548 0.003548 0.89% FabArray::Xpay() 361 0.003496 0.003496 0.003496 0.88% MLMG::addInterpCorrection() 180 0.002879 0.002879 0.002879 0.72% amrex::average_down 180 0.002603 0.002603 0.002603 0.65% Amr::restart() 1 0.002462 0.002462 0.002462 0.62% BndryData::define() 6 0.002046 0.002046 0.002046 0.51% Castro::reset_internal_energy(MultiFab) 30 0.001956 0.001956 0.001956 0.49% FabArray::LinComb() 242 0.001931 0.001931 0.001931 0.49% amrex::Add() 72 0.001848 0.001848 0.001848 0.46% Castro::construct_new_gravity_source() 5 0.001581 0.001581 0.001581 0.40% Amr::writePlotFile() 1 0.001437 0.001437 0.001437 0.36% Castro::enforce_speed_limit() 30 0.001307 0.001307 0.001307 0.33% Castro::construct_old_gravity_source() 5 0.001296 0.001296 0.001296 0.33% Castro::subcycle_advance_ctu() 5 0.001128 0.001128 0.001128 0.28% MLCGSolver::bicgstab 36 0.0009508 0.0009508 0.0009508 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009095 0.0009095 0.0009095 0.23% Castro::initialize_do_advance() 5 0.0008294 0.0008294 0.0008294 0.21% check_for_negative_density() 5 0.0007954 0.0007954 0.0007954 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007874 0.0007874 0.0007874 0.20% MLCellLinOp::setLevelBC() 6 0.0007485 0.0007485 0.0007485 0.19% Castro::reset_internal_energy(Fab) 240 0.0007297 0.0007297 0.0007297 0.18% FabArray::setDomainBndry() 20 0.0006496 0.0006496 0.0006496 0.16% FabArray::mult() 22 0.0006446 0.0006446 0.0006446 0.16% MLCellLinOp::prepareForSolve() 6 0.0006197 0.0006197 0.0006197 0.16% MultiFab::contains_nan() 10 0.0005868 0.0005868 0.0005868 0.15% MLCellLinOp::compGrad() 6 0.0004993 0.0004993 0.0004993 0.13% MLCellLinOp::smooth() 720 0.0004921 0.0004921 0.0004921 0.12% MLMG::prepareForSolve() 6 0.0004852 0.0004852 0.0004852 0.12% FabArrayBase::CPC::define() 244 0.0004169 0.0004169 0.0004169 0.10% Amr::InitAmr() 1 0.0003892 0.0003892 0.0003892 0.10% FabArray::FillBoundary() 1766 0.0003549 0.0003549 0.0003549 0.09% FabArrayBase::getCPC() 632 0.0003453 0.0003453 0.0003453 0.09% Gravity::get_old_grav_vector() 5 0.0002979 0.0002979 0.0002979 0.07% Gravity::get_new_grav_vector() 5 0.0002697 0.0002697 0.0002697 0.07% main() 1 0.0002644 0.0002644 0.0002644 0.07% FabArrayBase::getFB() 1766 0.000245 0.000245 0.000245 0.06% MLLinOp::defineGrids() 6 0.0002045 0.0002045 0.0002045 0.05% MLCellLinOp::apply() 500 0.000198 0.000198 0.000198 0.05% Amr::coarseTimeStep() 5 0.0001867 0.0001867 0.0001867 0.05% MLMG::mgVcycle() 36 0.0001659 0.0001659 0.0001659 0.04% MultiFab::max() 6 0.0001344 0.0001344 0.0001344 0.03% MLCGSolver::ParallelAllReduce 659 0.0001235 0.0001235 0.0001235 0.03% FillPatchIterator::Initialize 20 0.0001135 0.0001135 0.0001135 0.03% MLCellLinOp::defineBC() 6 0.0001131 0.0001131 0.0001131 0.03% Castro::construct_new_source() 25 0.0001114 0.0001114 0.0001114 0.03% Amr::timeStep() 5 0.0001069 0.0001069 0.0001069 0.03% FabArray::ParallelCopy() 380 0.0001047 0.0001047 0.0001047 0.03% Castro::do_new_sources() 5 0.0001021 0.0001021 0.0001021 0.03% MLCellLinOp::correctionResidual() 216 9.482e-05 9.482e-05 9.482e-05 0.02% Castro::create_source_corrector() 5 8.575e-05 8.575e-05 8.575e-05 0.02% AmrLevel::restart() 1 7.922e-05 7.922e-05 7.922e-05 0.02% Castro::do_old_sources() 5 6.932e-05 6.932e-05 6.932e-05 0.02% Castro::finalize_do_advance() 5 6.92e-05 6.92e-05 6.92e-05 0.02% StateData::restartDoit() 4 6.569e-05 6.569e-05 6.569e-05 0.02% Gravity::update_max_rhs() 6 6.482e-05 6.482e-05 6.482e-05 0.02% FabArrayBase::FB::FB() 26 6.206e-05 6.206e-05 6.206e-05 0.02% Castro::advance() 5 6.169e-05 6.169e-05 6.169e-05 0.02% Castro::construct_old_source() 25 5.565e-05 5.565e-05 5.565e-05 0.01% Gravity::solve_for_phi() 5 5.436e-05 5.436e-05 5.436e-05 0.01% MLMG:computeResOfCorrection() 180 5.144e-05 5.144e-05 5.144e-05 0.01% Castro::finalize_advance() 5 4.888e-05 4.888e-05 4.888e-05 0.01% Castro::expand_state() 5 4.704e-05 4.704e-05 4.704e-05 0.01% MLMG::mgVcycle_down::1 36 4.038e-05 4.038e-05 4.038e-05 0.01% MLMG::mgVcycle_down::0 36 4.033e-05 4.033e-05 4.033e-05 0.01% MLMG::actualBottomSolve() 36 3.98e-05 3.98e-05 3.98e-05 0.01% MLMG::mgVcycle_down::4 36 3.876e-05 3.876e-05 3.876e-05 0.01% MLMG::mgVcycle_down::2 36 3.813e-05 3.813e-05 3.813e-05 0.01% MLMG::mgVcycle_down::3 36 3.72e-05 3.72e-05 3.72e-05 0.01% Castro::initialize_advance() 5 3.385e-05 3.385e-05 3.385e-05 0.01% Castro::clean_state() 30 3.305e-05 3.305e-05 3.305e-05 0.01% MLMG::solve() 6 3.261e-05 3.261e-05 3.261e-05 0.01% Castro::buildMetrics() 1 3.118e-05 3.118e-05 3.118e-05 0.01% MLMG::mgVcycle_up::4 36 2.987e-05 2.987e-05 2.987e-05 0.01% Amr::writeSmallPlotFile() 1 2.705e-05 2.705e-05 2.705e-05 0.01% Castro::initMFs() 1 2.607e-05 2.607e-05 2.607e-05 0.01% MLMG::mgVcycle_up::0 36 2.428e-05 2.428e-05 2.428e-05 0.01% Castro::swap_state_time_levels() 5 2.427e-05 2.427e-05 2.427e-05 0.01% MLMG::mgVcycle_up::3 36 2.403e-05 2.403e-05 2.403e-05 0.01% MLMG::mgVcycle_up::2 36 2.379e-05 2.379e-05 2.379e-05 0.01% MLMG::mgVcycle_up::1 36 2.34e-05 2.34e-05 2.34e-05 0.01% MLMG::oneIter() 36 2.332e-05 2.332e-05 2.332e-05 0.01% MLCellLinOp::solutionResidual() 42 2.149e-05 2.149e-05 2.149e-05 0.01% Castro::post_restart() 1 1.899e-05 1.899e-05 1.899e-05 0.00% MLMG::ResNormInf() 42 1.813e-05 1.813e-05 1.813e-05 0.00% Castro::do_advance_ctu() 5 1.76e-05 1.76e-05 1.76e-05 0.00% MLPoisson::define() 6 1.709e-05 1.709e-05 1.709e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.596e-05 1.596e-05 1.596e-05 0.00% MLMG::mgVcycle_bottom 36 1.429e-05 1.429e-05 1.429e-05 0.00% MLMG::computeResidual() 36 1.383e-05 1.383e-05 1.383e-05 0.00% FillPatchSingleLevel 20 1.283e-05 1.283e-05 1.283e-05 0.00% Castro::construct_new_gravity() 5 1.225e-05 1.225e-05 1.225e-05 0.00% makeSFC 30 1.203e-05 1.203e-05 1.203e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.119e-05 1.119e-05 1.119e-05 0.00% MLLinOp::define() 6 9.887e-06 9.887e-06 9.887e-06 0.00% DistributionMapping::Distribute() 31 8.411e-06 8.411e-06 8.411e-06 0.00% Amr::initSubcycle() 1 8.4e-06 8.4e-06 8.4e-06 0.00% Gravity::actual_multilevel_solve() 1 7.765e-06 7.765e-06 7.765e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.93e-06 6.93e-06 6.93e-06 0.00% Castro::post_timestep() 5 5.901e-06 5.901e-06 5.901e-06 0.00% Castro::check_for_nan() 10 5.363e-06 5.363e-06 5.363e-06 0.00% Castro::construct_old_gravity() 5 5.238e-06 5.238e-06 5.238e-06 0.00% Castro::apply_source_to_state() 10 5.114e-06 5.114e-06 5.114e-06 0.00% MLPoisson::prepareForSolve() 6 4.506e-06 4.506e-06 4.506e-06 0.00% Castro::retry_advance_ctu() 5 3.713e-06 3.713e-06 3.713e-06 0.00% Gravity::swapTimeLevels() 5 3.698e-06 3.698e-06 3.698e-06 0.00% MLMG::computeMLResidual() 6 3.617e-06 3.617e-06 3.617e-06 0.00% Castro::computeNewDt() 5 3.301e-06 3.301e-06 3.301e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.23e-06 3.23e-06 3.23e-06 0.00% MLMG::getGradSolution() 6 2.971e-06 2.971e-06 2.971e-06 0.00% Castro::FluxRegCrseInit 5 2.79e-06 2.79e-06 2.79e-06 0.00% MLMG::MLResNormInf() 6 2.11e-06 2.11e-06 2.11e-06 0.00% MLMG::MLRhsNormInf() 6 2.031e-06 2.031e-06 2.031e-06 0.00% Gravity::set_mass_offset() 6 1.891e-06 1.891e-06 1.891e-06 0.00% Castro::FluxRegFineAdd() 5 1.879e-06 1.879e-06 1.879e-06 0.00% Amr::init() 1 1.148e-06 1.148e-06 1.148e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.82e-07 9.82e-07 9.82e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3977 0.3977 0.3977 100.00% Amr::coarseTimeStep() 5 0.3217 0.3217 0.3217 80.88% Amr::timeStep() 5 0.3192 0.3192 0.3192 80.25% Castro::advance() 5 0.3149 0.3149 0.3149 79.17% Castro::subcycle_advance_ctu() 5 0.3076 0.3076 0.3076 77.33% Castro::do_advance_ctu() 5 0.3064 0.3064 0.3064 77.04% Castro::construct_ctu_hydro_source() 5 0.1409 0.1409 0.1409 35.41% Castro::construct_new_gravity() 5 0.13 0.13 0.13 32.69% Gravity::solve_phi_with_mlmg() 6 0.1252 0.1252 0.1252 31.49% Gravity::solve_for_phi() 5 0.1222 0.1222 0.1222 30.71% Gravity::actual_solve_with_mlmg() 6 0.1214 0.1214 0.1214 30.54% MLMG::solve() 6 0.1102 0.1102 0.1102 27.70% MLMG::oneIter() 36 0.1033 0.1033 0.1033 25.97% MLMG::mgVcycle() 36 0.1017 0.1017 0.1017 25.58% MLCellLinOp::smooth() 720 0.04985 0.04985 0.04985 12.53% MLCellLinOp::applyBC() 1946 0.04669 0.04669 0.04669 11.74% Amr::init() 1 0.04248 0.04248 0.04248 10.68% Amr::restart() 1 0.04248 0.04248 0.04248 10.68% AmrLevel::restart() 1 0.03643 0.03643 0.03643 9.16% StateData::restartDoit() 4 0.03634 0.03634 0.03634 9.14% VisMF::Read() 3 0.03623 0.03623 0.03623 9.11% Amr::writePlotFile() 1 0.03284 0.03284 0.03284 8.26% MLMG::mgVcycle_bottom 36 0.03148 0.03148 0.03148 7.92% MLMG::actualBottomSolve() 36 0.03147 0.03147 0.03147 7.91% MLCGSolver::bicgstab 36 0.03117 0.03117 0.03117 7.84% VisMF::Write(FabArray) 1 0.03115 0.03115 0.03115 7.83% Castro::clean_state() 30 0.02581 0.02581 0.02581 6.49% FillPatchIterator::Initialize 20 0.01967 0.01967 0.01967 4.95% FillPatchSingleLevel 20 0.01891 0.01891 0.01891 4.75% StateDataPhysBCFunct::() 20 0.01689 0.01689 0.01689 4.25% MLCellLinOp::apply() 500 0.0156 0.0156 0.0156 3.92% MLMG::mgVcycle_down::0 36 0.01438 0.01438 0.01438 3.61% MLPoisson::Fsmooth() 1440 0.01391 0.01391 0.01391 3.50% FabArray::FillBoundary() 1766 0.01348 0.01348 0.01348 3.39% FillBoundary_nowait() 1766 0.01312 0.01312 0.01312 3.30% StateData::FillBoundary(geom) 160 0.01213 0.01213 0.01213 3.05% MLMG::mgVcycle_up::0 36 0.0108 0.0108 0.0108 2.71% Castro::initialize_do_advance() 5 0.01053 0.01053 0.01053 2.65% Castro::computeTemp() 30 0.009737 0.009737 0.009737 2.45% Castro::normalize_species() 30 0.009568 0.009568 0.009568 2.41% MLCellLinOp::correctionResidual() 216 0.00946 0.00946 0.00946 2.38% Castro::do_old_sources() 5 0.009397 0.009397 0.009397 2.36% MLPoisson::define() 6 0.008964 0.008964 0.008964 2.25% amrex::Dot() 484 0.008767 0.008767 0.008767 2.20% MLMG:computeResOfCorrection() 180 0.008318 0.008318 0.008318 2.09% Gravity::get_new_grav_vector() 5 0.00775 0.00775 0.00775 1.95% Castro::construct_old_gravity() 5 0.007624 0.007624 0.007624 1.92% Gravity::get_old_grav_vector() 5 0.007619 0.007619 0.007619 1.92% amrex::Copy() 463 0.006965 0.006965 0.006965 1.75% Castro::initialize_advance() 5 0.00692 0.00692 0.00692 1.74% MLMG::mgVcycle_down::1 36 0.006794 0.006794 0.006794 1.71% FabArray::ParallelCopy() 380 0.006553 0.006553 0.006553 1.65% FabArray::ParallelCopy_nowait() 380 0.006448 0.006448 0.006448 1.62% MLMG::mgVcycle_down::2 36 0.006364 0.006364 0.006364 1.60% FabArray::setVal() 537 0.006235 0.006235 0.006235 1.57% MLMG::mgVcycle_down::3 36 0.006219 0.006219 0.006219 1.56% FabArray::norminf() 326 0.006217 0.006217 0.006217 1.56% MLMG::mgVcycle_down::4 36 0.006161 0.006161 0.006161 1.55% Castro::do_new_sources() 5 0.006101 0.006101 0.006101 1.53% MLCellLinOp::defineAuxData() 6 0.005992 0.005992 0.005992 1.51% MLCGSolver::ParallelAllReduce 659 0.005293 0.005293 0.005293 1.33% Castro::enforce_min_density() 30 0.005161 0.005161 0.005161 1.30% MLMG::addInterpCorrection() 180 0.005126 0.005126 0.005126 1.29% MLMG::mgVcycle_up::1 36 0.00492 0.00492 0.00492 1.24% Castro::expand_state() 5 0.004908 0.004908 0.004908 1.23% amrex::average_down 180 0.004902 0.004902 0.004902 1.23% MLMG::mgVcycle_up::4 36 0.004901 0.004901 0.004901 1.23% MLMG::mgVcycle_up::2 36 0.004819 0.004819 0.004819 1.21% MLMG::mgVcycle_up::3 36 0.004719 0.004719 0.004719 1.19% MLPoisson::Fapply() 500 0.004425 0.004425 0.004425 1.11% Castro::post_timestep() 5 0.00419 0.00419 0.00419 1.05% Gravity::fill_multipole_BCs() 6 0.003674 0.003674 0.003674 0.92% Castro::estTimeStep() 10 0.003671 0.003671 0.003671 0.92% FabArray::Saxpy() 355 0.003606 0.003606 0.003606 0.91% FabArray::Xpay() 361 0.003496 0.003496 0.003496 0.88% Castro::post_restart() 1 0.003417 0.003417 0.003417 0.86% Gravity::multilevel_solve_for_new_phi() 1 0.003306 0.003306 0.003306 0.83% Gravity::actual_multilevel_solve() 1 0.00329 0.00329 0.00329 0.83% MLCellLinOp::solutionResidual() 42 0.003233 0.003233 0.003233 0.81% MLCellLinOp::defineBC() 6 0.002713 0.002713 0.002713 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002686 0.002686 0.002686 0.68% MLMG::computeResidual() 36 0.002682 0.002682 0.002682 0.67% BndryData::define() 6 0.0026 0.0026 0.0026 0.65% MLMG::prepareForSolve() 6 0.002555 0.002555 0.002555 0.64% Castro::computeNewDt() 5 0.002331 0.002331 0.002331 0.59% FabArray::LinComb() 242 0.001931 0.001931 0.001931 0.49% amrex::Add() 72 0.001848 0.001848 0.001848 0.46% Castro::construct_new_source() 25 0.001693 0.001693 0.001693 0.43% Castro::construct_new_gravity_source() 5 0.001581 0.001581 0.001581 0.40% Castro::finalize_do_advance() 5 0.001413 0.001413 0.001413 0.36% Castro::construct_old_source() 25 0.001352 0.001352 0.001352 0.34% Castro::enforce_speed_limit() 30 0.001307 0.001307 0.001307 0.33% Castro::construct_old_gravity_source() 5 0.001296 0.001296 0.001296 0.33% MLMG::ResNormInf() 42 0.0009467 0.0009467 0.0009467 0.24% Castro::apply_source_to_state() 10 0.000921 0.000921 0.000921 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009095 0.0009095 0.0009095 0.23% check_for_negative_density() 5 0.0007954 0.0007954 0.0007954 0.20% MLMG::getGradSolution() 6 0.0007714 0.0007714 0.0007714 0.19% MLCellLinOp::compGrad() 6 0.0007684 0.0007684 0.0007684 0.19% FabArrayBase::getCPC() 632 0.0007622 0.0007622 0.0007622 0.19% MLCellLinOp::setLevelBC() 6 0.0007485 0.0007485 0.0007485 0.19% Castro::reset_internal_energy(Fab) 240 0.0007297 0.0007297 0.0007297 0.18% FabArray::setDomainBndry() 20 0.0006496 0.0006496 0.0006496 0.16% FabArray::mult() 22 0.0006446 0.0006446 0.0006446 0.16% MLPoisson::prepareForSolve() 6 0.0006242 0.0006242 0.0006242 0.16% MLCellLinOp::prepareForSolve() 6 0.0006197 0.0006197 0.0006197 0.16% Castro::check_for_nan() 10 0.0005922 0.0005922 0.0005922 0.15% MultiFab::contains_nan() 10 0.0005868 0.0005868 0.0005868 0.15% MLMG::computeMLResidual() 6 0.0005684 0.0005684 0.0005684 0.14% Gravity::update_max_rhs() 6 0.0004461 0.0004461 0.0004461 0.11% FabArrayBase::CPC::define() 244 0.0004169 0.0004169 0.0004169 0.10% Amr::InitAmr() 1 0.0003976 0.0003976 0.0003976 0.10% Castro::finalize_advance() 5 0.0003415 0.0003415 0.0003415 0.09% FabArrayBase::getFB() 1766 0.0003071 0.0003071 0.0003071 0.08% MLLinOp::define() 6 0.0002415 0.0002415 0.0002415 0.06% MLLinOp::defineGrids() 6 0.0002317 0.0002317 0.0002317 0.06% Gravity::swapTimeLevels() 5 0.000225 0.000225 0.000225 0.06% MLMG::MLResNormInf() 6 0.0001513 0.0001513 0.0001513 0.04% Castro::buildMetrics() 1 0.0001497 0.0001497 0.0001497 0.04% MultiFab::max() 6 0.0001344 0.0001344 0.0001344 0.03% MLMG::MLRhsNormInf() 6 0.0001166 0.0001166 0.0001166 0.03% Castro::create_source_corrector() 5 8.575e-05 8.575e-05 8.575e-05 0.02% FabArrayBase::FB::FB() 26 6.206e-05 6.206e-05 6.206e-05 0.02% Amr::writeSmallPlotFile() 1 2.705e-05 2.705e-05 2.705e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.619e-05 2.619e-05 2.619e-05 0.01% Castro::initMFs() 1 2.607e-05 2.607e-05 2.607e-05 0.01% Castro::swap_state_time_levels() 5 2.427e-05 2.427e-05 2.427e-05 0.01% makeSFC 30 1.926e-05 1.926e-05 1.926e-05 0.00% DistributionMapping::Distribute() 31 8.411e-06 8.411e-06 8.411e-06 0.00% Amr::initSubcycle() 1 8.4e-06 8.4e-06 8.4e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.412e-06 4.412e-06 4.412e-06 0.00% Castro::retry_advance_ctu() 5 3.713e-06 3.713e-06 3.713e-06 0.00% Castro::FluxRegCrseInit 5 2.79e-06 2.79e-06 2.79e-06 0.00% Gravity::set_mass_offset() 6 1.891e-06 1.891e-06 1.891e-06 0.00% Castro::FluxRegFineAdd() 5 1.879e-06 1.879e-06 1.879e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.82e-07 9.82e-07 9.82e-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 157 MiB 692 MiB Castro::initMFs() 48 48 61 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 1034 KiB 39 MiB Castro::initialize_do_advance() 40 40 30 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2309 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 6820 KiB 14 MiB MLMG::prepareForSolve() 361 361 3402 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 198 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 199 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6815 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2169 B 2048 KiB Gravity::solve_for_phi() 40 40 627 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 313 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 4388 B 480 KiB VisMF::Write(FabArray) 112 112 1273 B 320 KiB Castro::normalize_species() 30 30 7827 B 320 KiB amrex::average_down 469 469 1203 B 257 KiB MLMG::addInterpCorrection() 468 468 1107 B 257 KiB amrex::Dot() 592 592 3245 B 160 KiB FabArray::norminf() 398 398 2308 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 3308 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 279 B 9648 B MLCellLinOp::applyBC() 3892 3892 218 B 9344 B amrex::Copy() 56 56 6052 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 113 B 1472 B MLCellLinOp::defineBC() 36 36 405 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1321 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 106 KiB 8192 KiB VisMF::Write(FabArray) 120 120 241 KiB 3584 KiB VisMF::Read() 24 24 180 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3308 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 280 B 9648 B MLCellLinOp::applyBC() 1946 1946 217 B 9328 B amrex::Copy() 56 56 6052 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2697 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 526 B 1296 B amrex::average_down 37 37 229 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-4-g9fc635426cae) finalized