Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-30-g07f87b0a9047) initialized Starting run at 08:04:42 UTC on 2023-05-31. Successfully read inputs file ... Castro git describe: 23.05-30-g283f15d69 AMReX git describe: 23.05-30-g07f87b0a9 Microphysics git describe: 23.05-14-gf5b7933e 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.058024161 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033476682 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.048505899 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049709395 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.050662854 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.051022524 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.060456794 [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.071368828 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.066183147 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.049695534 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.067084479 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.06657122 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.06775589 [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.057636282 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033362785 seconds Ending run at 08:04:43 UTC on 2023-05-31. Run time = 0.880492901 Run time without initialization = 0.740662879 Average number of zones advanced per microsecond: 3.539 Average number of zones advanced per microsecond per rank: 3.539 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8805 ... 0.8805 ... 0.8805 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2470 0.2470 0.2470 28.05% Castro::construct_ctu_hydro_source() 10 0.2052 0.2052 0.2052 23.31% MLCellLinOp::applyBC() 4433 0.07585 0.07585 0.07585 8.61% FillBoundary_nowait() 4023 0.03211 0.03211 0.03211 3.65% MLPoisson::Fsmooth() 3280 0.03174 0.03174 0.03174 3.60% StateDataPhysBCFunct::() 41 0.03145 0.03145 0.03145 3.57% StateData::FillBoundary(geom) 328 0.02224 0.02224 0.02224 2.53% amrex::Dot() 1114 0.02002 0.02002 0.02002 2.27% Castro::normalize_species() 62 0.01509 0.01509 0.01509 1.71% amrex::Copy() 1029 0.01464 0.01464 0.01464 1.66% FabArray::norminf() 743 0.01409 0.01409 0.01409 1.60% Castro::computeTemp() 63 0.01367 0.01367 0.01367 1.55% FabArray::ParallelCopy_nowait() 861 0.01318 0.01318 0.01318 1.50% FabArray::setVal() 1144 0.01291 0.01291 0.01291 1.47% MLPoisson::Fapply() 1142 0.01015 0.01015 0.01015 1.15% Castro::enforce_min_density() 62 0.009754 0.009754 0.009754 1.11% MLCellLinOp::defineAuxData() 11 0.009393 0.009393 0.009393 1.07% FabArray::Saxpy() 813 0.007984 0.007984 0.007984 0.91% FabArray::Xpay() 821 0.007931 0.007931 0.007931 0.90% MLMG::addInterpCorrection() 410 0.006553 0.006553 0.006553 0.74% Gravity::fill_multipole_BCs() 11 0.006347 0.006347 0.006347 0.72% amrex::average_down 410 0.005849 0.005849 0.005849 0.66% Castro::estTimeStep() 21 0.005611 0.005611 0.005611 0.64% FabArray::LinComb() 557 0.004482 0.004482 0.004482 0.51% amrex::Add() 164 0.004376 0.004376 0.004376 0.50% Castro::reset_internal_energy(MultiFab) 63 0.004148 0.004148 0.004148 0.47% Amr::checkPoint() 3 0.00401 0.00401 0.00401 0.46% BndryData::define() 11 0.003531 0.003531 0.003531 0.40% Castro::construct_new_gravity_source() 10 0.003315 0.003315 0.003315 0.38% Castro::construct_old_gravity_source() 10 0.002744 0.002744 0.002744 0.31% Castro::do_advance_ctu() 10 0.002673 0.002673 0.002673 0.30% Amr::writePlotFile() 2 0.002396 0.002396 0.002396 0.27% MLCGSolver::bicgstab 82 0.0021 0.0021 0.0021 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001652 0.001652 0.001652 0.19% Gravity::actual_solve_with_mlmg() 11 0.001489 0.001489 0.001489 0.17% Castro::reset_internal_energy(Fab) 504 0.00142 0.00142 0.00142 0.16% MLCellLinOp::setLevelBC() 11 0.001397 0.001397 0.001397 0.16% FabArray::mult() 43 0.001303 0.001303 0.001303 0.15% FabArray::setDomainBndry() 41 0.001281 0.001281 0.001281 0.15% Castro::initData() 1 0.001268 0.001268 0.001268 0.14% MultiFab::contains_nan() 20 0.001193 0.001193 0.001193 0.14% MLCellLinOp::prepareForSolve() 11 0.001109 0.001109 0.001109 0.13% MLCellLinOp::smooth() 1640 0.001042 0.001042 0.001042 0.12% Castro::enforce_speed_limit() 62 0.001017 0.001017 0.001017 0.12% Castro::subcycle_advance_ctu() 10 0.0009679 0.0009679 0.0009679 0.11% MLCellLinOp::compGrad() 11 0.0009037 0.0009037 0.0009037 0.10% FabArray::FillBoundary() 4023 0.0008894 0.0008894 0.0008894 0.10% MLMG::prepareForSolve() 11 0.000856 0.000856 0.000856 0.10% FabArrayBase::getCPC() 1323 0.0007518 0.0007518 0.0007518 0.09% FabArrayBase::CPC::define() 454 0.0006797 0.0006797 0.0006797 0.08% Gravity::get_new_grav_vector() 11 0.0006314 0.0006314 0.0006314 0.07% FabArrayBase::getFB() 4023 0.0006051 0.0006051 0.0006051 0.07% Gravity::get_old_grav_vector() 10 0.0005685 0.0005685 0.0005685 0.06% Amr::InitAmr() 1 0.0004559 0.0004559 0.0004559 0.05% MLCellLinOp::apply() 1142 0.0004501 0.0004501 0.0004501 0.05% MLLinOp::defineGrids() 11 0.0003965 0.0003965 0.0003965 0.05% MLMG::mgVcycle() 82 0.0003804 0.0003804 0.0003804 0.04% Amr::coarseTimeStep() 10 0.0003354 0.0003354 0.0003354 0.04% main() 1 0.0003014 0.0003014 0.0003014 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002932 0.0002932 0.0002932 0.03% MultiFab::max() 11 0.0002631 0.0002631 0.0002631 0.03% FabArray::ParallelCopy() 861 0.0002404 0.0002404 0.0002404 0.03% FillPatchIterator::Initialize 41 0.0002341 0.0002341 0.0002341 0.03% MLCellLinOp::defineBC() 11 0.0002095 0.0002095 0.0002095 0.02% MLCellLinOp::correctionResidual() 492 0.0002087 0.0002087 0.0002087 0.02% Amr::timeStep() 10 0.0001757 0.0001757 0.0001757 0.02% Castro::create_source_corrector() 10 0.000146 0.000146 0.000146 0.02% StateData::checkPoint() 12 0.0001374 0.0001374 0.0001374 0.02% Gravity::update_max_rhs() 11 0.0001247 0.0001247 0.0001247 0.01% Gravity::solve_for_phi() 10 0.0001114 0.0001114 0.0001114 0.01% MLMG:computeResOfCorrection() 410 0.0001068 0.0001068 0.0001068 0.01% MLMG::actualBottomSolve() 82 9.095e-05 9.095e-05 9.095e-05 0.01% MLMG::mgVcycle_down::0 82 8.803e-05 8.803e-05 8.803e-05 0.01% Castro::Castro() 1 8.533e-05 8.533e-05 8.533e-05 0.01% FabArrayBase::FB::FB() 56 8.485e-05 8.485e-05 8.485e-05 0.01% Castro::expand_state() 10 8.401e-05 8.401e-05 8.401e-05 0.01% AmrLevel::checkPoint() 3 7.782e-05 7.782e-05 7.782e-05 0.01% MLMG::mgVcycle_down::1 82 7.703e-05 7.703e-05 7.703e-05 0.01% MLMG::solve() 11 7.628e-05 7.628e-05 7.628e-05 0.01% Castro::initialize_advance() 10 7.2e-05 7.2e-05 7.2e-05 0.01% MLMG::mgVcycle_down::2 82 7.184e-05 7.184e-05 7.184e-05 0.01% Castro::clean_state() 62 7.18e-05 7.18e-05 7.18e-05 0.01% Castro::finalize_advance() 10 6.929e-05 6.929e-05 6.929e-05 0.01% MLMG::mgVcycle_down::4 82 6.806e-05 6.806e-05 6.806e-05 0.01% MLMG::mgVcycle_down::3 82 6.778e-05 6.778e-05 6.778e-05 0.01% Castro::advance() 10 6.432e-05 6.432e-05 6.432e-05 0.01% MLMG::mgVcycle_up::4 82 6.229e-05 6.229e-05 6.229e-05 0.01% Castro::initialize_do_advance() 10 5.265e-05 5.265e-05 5.265e-05 0.01% MLMG::oneIter() 82 5.123e-05 5.123e-05 5.123e-05 0.01% MLMG::mgVcycle_up::3 82 4.944e-05 4.944e-05 4.944e-05 0.01% MLMG::mgVcycle_up::1 82 4.912e-05 4.912e-05 4.912e-05 0.01% MLMG::mgVcycle_up::2 82 4.858e-05 4.858e-05 4.858e-05 0.01% MLCellLinOp::solutionResidual() 93 4.823e-05 4.823e-05 4.823e-05 0.01% MLMG::mgVcycle_up::0 82 4.782e-05 4.782e-05 4.782e-05 0.01% Castro::finalize_do_advance() 10 4.401e-05 4.401e-05 4.401e-05 0.00% StateData::define() 4 4.079e-05 4.079e-05 4.079e-05 0.00% Castro::swap_state_time_levels() 10 3.927e-05 3.927e-05 3.927e-05 0.00% MLMG::ResNormInf() 93 3.517e-05 3.517e-05 3.517e-05 0.00% MLMG::mgVcycle_bottom 82 3.411e-05 3.411e-05 3.411e-05 0.00% Castro::enforce_consistent_e() 1 3.315e-05 3.315e-05 3.315e-05 0.00% Castro::construct_new_gravity() 10 3.095e-05 3.095e-05 3.095e-05 0.00% MLMG::computeResidual() 82 3.086e-05 3.086e-05 3.086e-05 0.00% FillPatchSingleLevel 41 2.729e-05 2.729e-05 2.729e-05 0.00% MLPoisson::define() 11 2.658e-05 2.658e-05 2.658e-05 0.00% Amr::writeSmallPlotFile() 1 2.649e-05 2.649e-05 2.649e-05 0.00% makeSFC 55 2.493e-05 2.493e-05 2.493e-05 0.00% Castro::initMFs() 1 2.274e-05 2.274e-05 2.274e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.13e-05 2.13e-05 2.13e-05 0.00% Amr::FinalizeInit() 1 2.109e-05 2.109e-05 2.109e-05 0.00% Amr::defBaseLevel() 1 2.07e-05 2.07e-05 2.07e-05 0.00% Castro::construct_old_source() 50 2.007e-05 2.007e-05 2.007e-05 0.00% Castro::buildMetrics() 1 1.739e-05 1.739e-05 1.739e-05 0.00% Castro::construct_new_source() 50 1.629e-05 1.629e-05 1.629e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.624e-05 1.624e-05 1.624e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.568e-05 1.568e-05 1.568e-05 0.00% Castro::do_new_sources() 10 1.545e-05 1.545e-05 1.545e-05 0.00% Castro::do_old_sources() 10 1.519e-05 1.519e-05 1.519e-05 0.00% DistributionMapping::Distribute() 56 1.504e-05 1.504e-05 1.504e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.48e-05 1.48e-05 1.48e-05 0.00% MLLinOp::define() 11 1.459e-05 1.459e-05 1.459e-05 0.00% Castro::check_for_nan() 20 1.132e-05 1.132e-05 1.132e-05 0.00% Castro::apply_source_to_state() 20 1.069e-05 1.069e-05 1.069e-05 0.00% Castro::construct_old_gravity() 10 9.957e-06 9.957e-06 9.957e-06 0.00% MLMG::computeMLResidual() 11 8.653e-06 8.653e-06 8.653e-06 0.00% MLPoisson::prepareForSolve() 11 8.452e-06 8.452e-06 8.452e-06 0.00% Castro::post_timestep() 10 8.261e-06 8.261e-06 8.261e-06 0.00% Gravity::actual_multilevel_solve() 1 8.232e-06 8.232e-06 8.232e-06 0.00% Amr::initSubcycle() 1 8.225e-06 8.225e-06 8.225e-06 0.00% Gravity::swapTimeLevels() 10 7.867e-06 7.867e-06 7.867e-06 0.00% Castro::computeNewDt() 9 6.85e-06 6.85e-06 6.85e-06 0.00% MLMG::getGradSolution() 11 5.838e-06 5.838e-06 5.838e-06 0.00% AmrLevel::checkPointPost() 3 5.296e-06 5.296e-06 5.296e-06 0.00% Amr::InitializeInit() 1 4.39e-06 4.39e-06 4.39e-06 0.00% Castro::retry_advance_ctu() 10 4.369e-06 4.369e-06 4.369e-06 0.00% Gravity::set_mass_offset() 11 4.275e-06 4.275e-06 4.275e-06 0.00% Castro::post_init() 1 3.781e-06 3.781e-06 3.781e-06 0.00% MLMG::MLRhsNormInf() 11 3.486e-06 3.486e-06 3.486e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.328e-06 3.328e-06 3.328e-06 0.00% Castro::FluxRegCrseInit 10 3.312e-06 3.312e-06 3.312e-06 0.00% MLMG::MLResNormInf() 11 3.263e-06 3.263e-06 3.263e-06 0.00% Castro::computeInitialDt() 2 2.879e-06 2.879e-06 2.879e-06 0.00% Amr::init() 1 2.506e-06 2.506e-06 2.506e-06 0.00% Castro::FluxRegFineAdd() 10 2.284e-06 2.284e-06 2.284e-06 0.00% AmrLevel::checkPointPre() 3 1.806e-06 1.806e-06 1.806e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.787e-06 1.787e-06 1.787e-06 0.00% Amr::initialInit() 1 1.035e-06 1.035e-06 1.035e-06 0.00% Castro::post_regrid() 1 9.5e-07 9.5e-07 9.5e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8805 0.8805 0.8805 100.00% Amr::coarseTimeStep() 10 0.7071 0.7071 0.7071 80.30% Amr::timeStep() 10 0.5741 0.5741 0.5741 65.20% Castro::advance() 10 0.5671 0.5671 0.5671 64.41% Castro::subcycle_advance_ctu() 10 0.5549 0.5549 0.5549 63.02% Castro::do_advance_ctu() 10 0.5539 0.5539 0.5539 62.91% Gravity::solve_phi_with_mlmg() 11 0.2798 0.2798 0.2798 31.77% Gravity::actual_solve_with_mlmg() 11 0.273 0.273 0.273 31.00% Castro::construct_new_gravity() 10 0.2626 0.2626 0.2626 29.82% MLMG::solve() 11 0.2528 0.2528 0.2528 28.71% VisMF::Write(FabArray) 11 0.247 0.247 0.247 28.05% Gravity::solve_for_phi() 10 0.2404 0.2404 0.2404 27.30% MLMG::oneIter() 82 0.2386 0.2386 0.2386 27.10% MLMG::mgVcycle() 82 0.2349 0.2349 0.2349 26.68% Castro::construct_ctu_hydro_source() 10 0.2052 0.2052 0.2052 23.31% Amr::checkPoint() 3 0.1872 0.1872 0.1872 21.26% AmrLevel::checkPoint() 3 0.1831 0.1831 0.1831 20.80% StateData::checkPoint() 12 0.1831 0.1831 0.1831 20.79% Amr::init() 1 0.1392 0.1392 0.1392 15.81% MLCellLinOp::smooth() 1640 0.1166 0.1166 0.1166 13.25% MLCellLinOp::applyBC() 4433 0.1095 0.1095 0.1095 12.44% MLMG::mgVcycle_bottom 82 0.07194 0.07194 0.07194 8.17% MLMG::actualBottomSolve() 82 0.07191 0.07191 0.07191 8.17% MLCGSolver::bicgstab 82 0.07122 0.07122 0.07122 8.09% Amr::writePlotFile() 2 0.06698 0.06698 0.06698 7.61% FillPatchIterator::Initialize 41 0.0594 0.0594 0.0594 6.75% FillPatchSingleLevel 41 0.05788 0.05788 0.05788 6.57% StateDataPhysBCFunct::() 41 0.05368 0.05368 0.05368 6.10% Amr::initialInit() 1 0.0476 0.0476 0.0476 5.41% Castro::clean_state() 62 0.04443 0.04443 0.04443 5.05% Amr::FinalizeInit() 1 0.04348 0.04348 0.04348 4.94% Castro::post_init() 1 0.04208 0.04208 0.04208 4.78% Gravity::multilevel_solve_for_new_phi() 1 0.03977 0.03977 0.03977 4.52% Gravity::actual_multilevel_solve() 1 0.03976 0.03976 0.03976 4.52% MLCellLinOp::apply() 1142 0.03582 0.03582 0.03582 4.07% MLMG::mgVcycle_down::0 82 0.03407 0.03407 0.03407 3.87% FabArray::FillBoundary() 4023 0.03369 0.03369 0.03369 3.83% FillBoundary_nowait() 4023 0.0328 0.0328 0.0328 3.73% MLPoisson::Fsmooth() 3280 0.03174 0.03174 0.03174 3.60% MLMG::mgVcycle_up::0 82 0.02598 0.02598 0.02598 2.95% Gravity::get_new_grav_vector() 11 0.02419 0.02419 0.02419 2.75% StateData::FillBoundary(geom) 328 0.02224 0.02224 0.02224 2.53% Castro::initialize_do_advance() 10 0.02213 0.02213 0.02213 2.51% MLCellLinOp::correctionResidual() 492 0.02194 0.02194 0.02194 2.49% Castro::construct_old_gravity() 10 0.02033 0.02033 0.02033 2.31% Gravity::get_old_grav_vector() 10 0.02032 0.02032 0.02032 2.31% amrex::Dot() 1114 0.02002 0.02002 0.02002 2.27% MLMG:computeResOfCorrection() 410 0.01937 0.01937 0.01937 2.20% Castro::computeTemp() 63 0.01924 0.01924 0.01924 2.18% MLPoisson::define() 11 0.01589 0.01589 0.01589 1.80% MLMG::mgVcycle_down::1 82 0.0155 0.0155 0.0155 1.76% Castro::normalize_species() 62 0.01509 0.01509 0.01509 1.71% amrex::Copy() 1029 0.01464 0.01464 0.01464 1.66% MLMG::mgVcycle_down::2 82 0.01448 0.01448 0.01448 1.64% FabArray::ParallelCopy() 861 0.01425 0.01425 0.01425 1.62% MLMG::mgVcycle_down::3 82 0.01413 0.01413 0.01413 1.60% FabArray::norminf() 743 0.01409 0.01409 0.01409 1.60% FabArray::ParallelCopy_nowait() 861 0.014 0.014 0.014 1.59% MLMG::mgVcycle_down::4 82 0.01393 0.01393 0.01393 1.58% Castro::expand_state() 10 0.01389 0.01389 0.01389 1.58% FabArray::setVal() 1144 0.01291 0.01291 0.01291 1.47% Castro::do_new_sources() 10 0.01236 0.01236 0.01236 1.40% MLCGSolver::ParallelAllReduce 1514 0.01199 0.01199 0.01199 1.36% MLMG::addInterpCorrection() 410 0.0116 0.0116 0.0116 1.32% Castro::initialize_advance() 10 0.01157 0.01157 0.01157 1.31% MLMG::mgVcycle_up::4 82 0.01133 0.01133 0.01133 1.29% MLMG::mgVcycle_up::1 82 0.01132 0.01132 0.01132 1.29% MLMG::mgVcycle_up::2 82 0.01105 0.01105 0.01105 1.26% amrex::average_down 410 0.01088 0.01088 0.01088 1.24% MLMG::mgVcycle_up::3 82 0.01082 0.01082 0.01082 1.23% MLCellLinOp::defineAuxData() 11 0.0107 0.0107 0.0107 1.22% Castro::do_old_sources() 10 0.01034 0.01034 0.01034 1.17% MLPoisson::Fapply() 1142 0.01015 0.01015 0.01015 1.15% Castro::enforce_min_density() 62 0.009754 0.009754 0.009754 1.11% FabArray::Saxpy() 813 0.007984 0.007984 0.007984 0.91% FabArray::Xpay() 821 0.007931 0.007931 0.007931 0.90% MLCellLinOp::solutionResidual() 93 0.00717 0.00717 0.00717 0.81% Castro::post_timestep() 10 0.006769 0.006769 0.006769 0.77% Gravity::fill_multipole_BCs() 11 0.006586 0.006586 0.006586 0.75% MLMG::computeResidual() 82 0.006185 0.006185 0.006185 0.70% Castro::estTimeStep() 21 0.005611 0.005611 0.005611 0.64% Castro::reset_internal_energy(MultiFab) 63 0.005568 0.005568 0.005568 0.63% MLCellLinOp::defineBC() 11 0.004693 0.004693 0.004693 0.53% MLMG::prepareForSolve() 11 0.004588 0.004588 0.004588 0.52% BndryData::define() 11 0.004483 0.004483 0.004483 0.51% FabArray::LinComb() 557 0.004482 0.004482 0.004482 0.51% amrex::Add() 164 0.004376 0.004376 0.004376 0.50% Amr::InitializeInit() 1 0.004121 0.004121 0.004121 0.47% Amr::defBaseLevel() 1 0.004117 0.004117 0.004117 0.47% Castro::initData() 1 0.003601 0.003601 0.003601 0.41% Castro::construct_new_source() 50 0.003331 0.003331 0.003331 0.38% Castro::construct_new_gravity_source() 10 0.003315 0.003315 0.003315 0.38% Castro::computeNewDt() 9 0.00285 0.00285 0.00285 0.32% Castro::construct_old_source() 50 0.002764 0.002764 0.002764 0.31% Castro::construct_old_gravity_source() 10 0.002744 0.002744 0.002744 0.31% MLMG::ResNormInf() 93 0.002073 0.002073 0.002073 0.24% Castro::apply_source_to_state() 20 0.001808 0.001808 0.001808 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001652 0.001652 0.001652 0.19% FabArrayBase::getCPC() 1323 0.001431 0.001431 0.001431 0.16% Castro::reset_internal_energy(Fab) 504 0.00142 0.00142 0.00142 0.16% MLCellLinOp::setLevelBC() 11 0.001397 0.001397 0.001397 0.16% MLMG::getGradSolution() 11 0.001383 0.001383 0.001383 0.16% MLCellLinOp::compGrad() 11 0.001377 0.001377 0.001377 0.16% FabArray::mult() 43 0.001303 0.001303 0.001303 0.15% FabArray::setDomainBndry() 41 0.001281 0.001281 0.001281 0.15% Castro::check_for_nan() 20 0.001205 0.001205 0.001205 0.14% MultiFab::contains_nan() 20 0.001193 0.001193 0.001193 0.14% Castro::post_regrid() 1 0.001154 0.001154 0.001154 0.13% MLPoisson::prepareForSolve() 11 0.001118 0.001118 0.001118 0.13% MLCellLinOp::prepareForSolve() 11 0.001109 0.001109 0.001109 0.13% MLMG::computeMLResidual() 11 0.001025 0.001025 0.001025 0.12% Castro::enforce_speed_limit() 62 0.001017 0.001017 0.001017 0.12% Castro::computeInitialDt() 2 0.0009171 0.0009171 0.0009171 0.10% Gravity::update_max_rhs() 11 0.0008482 0.0008482 0.0008482 0.10% FabArrayBase::getFB() 4023 0.00069 0.00069 0.00069 0.08% FabArrayBase::CPC::define() 454 0.0006797 0.0006797 0.0006797 0.08% Castro::finalize_advance() 10 0.000588 0.000588 0.000588 0.07% MLLinOp::define() 11 0.0004663 0.0004663 0.0004663 0.05% Amr::InitAmr() 1 0.0004641 0.0004641 0.0004641 0.05% MLLinOp::defineGrids() 11 0.0004518 0.0004518 0.0004518 0.05% Castro::Castro() 1 0.0004342 0.0004342 0.0004342 0.05% Gravity::swapTimeLevels() 10 0.0004302 0.0004302 0.0004302 0.05% MLMG::MLResNormInf() 11 0.0002849 0.0002849 0.0002849 0.03% MultiFab::max() 11 0.0002631 0.0002631 0.0002631 0.03% MLMG::MLRhsNormInf() 11 0.0002192 0.0002192 0.0002192 0.02% Castro::buildMetrics() 1 0.0001656 0.0001656 0.0001656 0.02% Castro::create_source_corrector() 10 0.000146 0.000146 0.000146 0.02% FabArrayBase::FB::FB() 56 8.485e-05 8.485e-05 8.485e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.646e-05 5.646e-05 5.646e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.352e-05 5.352e-05 5.352e-05 0.01% Castro::finalize_do_advance() 10 4.401e-05 4.401e-05 4.401e-05 0.00% StateData::define() 4 4.079e-05 4.079e-05 4.079e-05 0.00% Castro::swap_state_time_levels() 10 3.927e-05 3.927e-05 3.927e-05 0.00% makeSFC 55 3.871e-05 3.871e-05 3.871e-05 0.00% Castro::enforce_consistent_e() 1 3.315e-05 3.315e-05 3.315e-05 0.00% Amr::writeSmallPlotFile() 1 2.649e-05 2.649e-05 2.649e-05 0.00% Castro::initMFs() 1 2.274e-05 2.274e-05 2.274e-05 0.00% DistributionMapping::Distribute() 56 1.504e-05 1.504e-05 1.504e-05 0.00% Amr::initSubcycle() 1 8.225e-06 8.225e-06 8.225e-06 0.00% AmrLevel::checkPointPost() 3 5.296e-06 5.296e-06 5.296e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.586e-06 4.586e-06 4.586e-06 0.00% Castro::retry_advance_ctu() 10 4.369e-06 4.369e-06 4.369e-06 0.00% Gravity::set_mass_offset() 11 4.275e-06 4.275e-06 4.275e-06 0.00% Castro::FluxRegCrseInit 10 3.312e-06 3.312e-06 3.312e-06 0.00% Castro::FluxRegFineAdd() 10 2.284e-06 2.284e-06 2.284e-06 0.00% AmrLevel::checkPointPre() 3 1.806e-06 1.806e-06 1.806e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.787e-06 1.787e-06 1.787e-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 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 111 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1345 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2137 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 660 660 3532 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 284 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 236 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7525 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1841 B 2048 KiB Gravity::solve_for_phi() 80 80 558 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 322 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 2986 B 480 KiB VisMF::Write(FabArray) 656 656 3342 B 320 KiB Castro::normalize_species() 62 62 5578 B 320 KiB amrex::average_down 1067 1067 1245 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1131 B 257 KiB amrex::Dot() 1360 1360 3352 B 160 KiB FabArray::norminf() 907 907 2366 B 160 KiB Castro::do_advance_ctu() 10 10 455 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3454 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 321 B 9648 B MLCellLinOp::applyBC() 8866 8866 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3835 B 6144 B StateData::FillBoundary(geom) 1992 1992 108 B 4288 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 117 B 1472 B MLCellLinOp::defineBC() 66 66 363 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 610 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 50 KiB 8192 KiB VisMF::Write(FabArray) 744 744 612 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3454 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 321 B 9648 B MLCellLinOp::applyBC() 4433 4433 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3835 B 6144 B StateData::FillBoundary(geom) 1992 1992 108 B 4288 B Gravity::get_new_grav_vector() 3 3 2908 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 294 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-30-g07f87b0a9047) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-30-g07f87b0a9047) initialized Starting run at 08:04:44 UTC on 2023-05-31. Successfully read inputs file ... Castro git describe: 23.05-30-g283f15d69 AMReX git describe: 23.05-30-g07f87b0a9 Microphysics git describe: 23.05-14-gf5b7933e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.471559016 Restart time = 0.045125054 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.051854648 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.050623624 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.048803484 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.067900146 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.069453968 [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.032928935 seconds Ending run at 08:04:44 UTC on 2023-05-31. Run time = 0.367802043 Run time without initialization = 0.322053414 Average number of zones advanced per microsecond: 4.070 Average number of zones advanced per microsecond per rank: 4.070 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3678 ... 0.3678 ... 0.3678 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1013 0.1013 0.1013 27.53% VisMF::Read() 3 0.03894 0.03894 0.03894 10.59% MLCellLinOp::applyBC() 1946 0.03268 0.03268 0.03268 8.89% VisMF::Write(FabArray) 1 0.03141 0.03141 0.03141 8.54% StateDataPhysBCFunct::() 20 0.01478 0.01478 0.01478 4.02% MLPoisson::Fsmooth() 1440 0.01356 0.01356 0.01356 3.69% FillBoundary_nowait() 1766 0.0128 0.0128 0.0128 3.48% StateData::FillBoundary(geom) 160 0.01063 0.01063 0.01063 2.89% amrex::Dot() 484 0.008574 0.008574 0.008574 2.33% Castro::normalize_species() 30 0.006979 0.006979 0.006979 1.90% amrex::Copy() 463 0.006867 0.006867 0.006867 1.87% Castro::enforce_min_density() 30 0.006635 0.006635 0.006635 1.80% FabArray::setVal() 537 0.006128 0.006128 0.006128 1.67% FabArray::norminf() 326 0.00603 0.00603 0.00603 1.64% FabArray::ParallelCopy_nowait() 380 0.005973 0.005973 0.005973 1.62% Castro::computeTemp() 30 0.005834 0.005834 0.005834 1.59% MLCellLinOp::defineAuxData() 6 0.005047 0.005047 0.005047 1.37% MLPoisson::Fapply() 500 0.004342 0.004342 0.004342 1.18% FabArray::Saxpy() 355 0.003564 0.003564 0.003564 0.97% FabArray::Xpay() 361 0.003416 0.003416 0.003416 0.93% Gravity::fill_multipole_BCs() 6 0.003349 0.003349 0.003349 0.91% MLMG::addInterpCorrection() 180 0.00281 0.00281 0.00281 0.76% Castro::estTimeStep() 10 0.002729 0.002729 0.002729 0.74% Castro::reset_internal_energy(MultiFab) 30 0.002544 0.002544 0.002544 0.69% Amr::restart() 1 0.002512 0.002512 0.002512 0.68% amrex::average_down 180 0.002499 0.002499 0.002499 0.68% BndryData::define() 6 0.001926 0.001926 0.001926 0.52% FabArray::LinComb() 242 0.001889 0.001889 0.001889 0.51% amrex::Add() 72 0.001836 0.001836 0.001836 0.50% Castro::construct_new_gravity_source() 5 0.001745 0.001745 0.001745 0.47% Castro::construct_old_gravity_source() 5 0.001402 0.001402 0.001402 0.38% Castro::do_advance_ctu() 5 0.001367 0.001367 0.001367 0.37% Amr::writePlotFile() 1 0.001365 0.001365 0.001365 0.37% MLCGSolver::bicgstab 36 0.0009193 0.0009193 0.0009193 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008746 0.0008746 0.0008746 0.24% Gravity::actual_solve_with_mlmg() 6 0.000781 0.000781 0.000781 0.21% MLCellLinOp::setLevelBC() 6 0.0007259 0.0007259 0.0007259 0.20% Castro::reset_internal_energy(Fab) 240 0.0006861 0.0006861 0.0006861 0.19% FabArray::mult() 22 0.0006451 0.0006451 0.0006451 0.18% FabArray::setDomainBndry() 20 0.0006352 0.0006352 0.0006352 0.17% MultiFab::contains_nan() 10 0.0005936 0.0005936 0.0005936 0.16% MLCellLinOp::prepareForSolve() 6 0.0005864 0.0005864 0.0005864 0.16% Castro::enforce_speed_limit() 30 0.0005828 0.0005828 0.0005828 0.16% MLCellLinOp::compGrad() 6 0.0004866 0.0004866 0.0004866 0.13% MLMG::prepareForSolve() 6 0.0004674 0.0004674 0.0004674 0.13% MLCellLinOp::smooth() 720 0.0004641 0.0004641 0.0004641 0.13% FabArrayBase::CPC::define() 244 0.0004103 0.0004103 0.0004103 0.11% Amr::InitAmr() 1 0.0003988 0.0003988 0.0003988 0.11% FabArray::FillBoundary() 1766 0.0003662 0.0003662 0.0003662 0.10% FabArrayBase::getCPC() 632 0.0003621 0.0003621 0.0003621 0.10% main() 1 0.0003285 0.0003285 0.0003285 0.09% Gravity::get_old_grav_vector() 5 0.0003034 0.0003034 0.0003034 0.08% Gravity::get_new_grav_vector() 5 0.0002756 0.0002756 0.0002756 0.07% FabArrayBase::getFB() 1766 0.0002567 0.0002567 0.0002567 0.07% Amr::coarseTimeStep() 5 0.0002151 0.0002151 0.0002151 0.06% MLCellLinOp::apply() 500 0.0001923 0.0001923 0.0001923 0.05% MLLinOp::defineGrids() 6 0.0001807 0.0001807 0.0001807 0.05% MLMG::mgVcycle() 36 0.0001677 0.0001677 0.0001677 0.05% MultiFab::max() 6 0.0001424 0.0001424 0.0001424 0.04% Castro::create_source_corrector() 5 0.0001282 0.0001282 0.0001282 0.03% MLCGSolver::ParallelAllReduce 659 0.0001251 0.0001251 0.0001251 0.03% FillPatchIterator::Initialize 20 0.0001144 0.0001144 0.0001144 0.03% MLCellLinOp::defineBC() 6 0.0001124 0.0001124 0.0001124 0.03% FabArray::ParallelCopy() 380 0.0001104 0.0001104 0.0001104 0.03% Amr::timeStep() 5 0.0001045 0.0001045 0.0001045 0.03% Gravity::update_max_rhs() 6 0.0001029 0.0001029 0.0001029 0.03% MLCellLinOp::correctionResidual() 216 9.012e-05 9.012e-05 9.012e-05 0.02% Castro::subcycle_advance_ctu() 5 8.523e-05 8.523e-05 8.523e-05 0.02% AmrLevel::restart() 1 8.339e-05 8.339e-05 8.339e-05 0.02% StateData::restartDoit() 4 6.711e-05 6.711e-05 6.711e-05 0.02% FabArrayBase::FB::FB() 26 5.873e-05 5.873e-05 5.873e-05 0.02% Gravity::solve_for_phi() 5 5.082e-05 5.082e-05 5.082e-05 0.01% MLMG:computeResOfCorrection() 180 4.813e-05 4.813e-05 4.813e-05 0.01% Castro::initialize_advance() 5 4.612e-05 4.612e-05 4.612e-05 0.01% Castro::expand_state() 5 4.215e-05 4.215e-05 4.215e-05 0.01% Amr::writeSmallPlotFile() 1 4.164e-05 4.164e-05 4.164e-05 0.01% MLMG::actualBottomSolve() 36 4.031e-05 4.031e-05 4.031e-05 0.01% Castro::swap_state_time_levels() 5 3.934e-05 3.934e-05 3.934e-05 0.01% Castro::clean_state() 30 3.916e-05 3.916e-05 3.916e-05 0.01% MLMG::mgVcycle_down::0 36 3.786e-05 3.786e-05 3.786e-05 0.01% MLMG::mgVcycle_down::4 36 3.437e-05 3.437e-05 3.437e-05 0.01% MLMG::mgVcycle_down::1 36 3.332e-05 3.332e-05 3.332e-05 0.01% Castro::finalize_advance() 5 3.19e-05 3.19e-05 3.19e-05 0.01% MLMG::solve() 6 3.149e-05 3.149e-05 3.149e-05 0.01% MLMG::mgVcycle_down::2 36 2.979e-05 2.979e-05 2.979e-05 0.01% MLMG::mgVcycle_down::3 36 2.787e-05 2.787e-05 2.787e-05 0.01% Castro::initialize_do_advance() 5 2.751e-05 2.751e-05 2.751e-05 0.01% Castro::initMFs() 1 2.705e-05 2.705e-05 2.705e-05 0.01% MLMG::mgVcycle_up::4 36 2.632e-05 2.632e-05 2.632e-05 0.01% Castro::buildMetrics() 1 2.533e-05 2.533e-05 2.533e-05 0.01% Castro::advance() 5 2.206e-05 2.206e-05 2.206e-05 0.01% MLMG::oneIter() 36 2.174e-05 2.174e-05 2.174e-05 0.01% MLMG::mgVcycle_up::0 36 2.134e-05 2.134e-05 2.134e-05 0.01% MLMG::mgVcycle_up::3 36 2.125e-05 2.125e-05 2.125e-05 0.01% Castro::finalize_do_advance() 5 2.087e-05 2.087e-05 2.087e-05 0.01% MLCellLinOp::solutionResidual() 42 2.07e-05 2.07e-05 2.07e-05 0.01% MLMG::mgVcycle_up::2 36 2.025e-05 2.025e-05 2.025e-05 0.01% MLMG::mgVcycle_up::1 36 1.996e-05 1.996e-05 1.996e-05 0.01% Castro::post_restart() 1 1.924e-05 1.924e-05 1.924e-05 0.01% MLPoisson::define() 6 1.852e-05 1.852e-05 1.852e-05 0.01% MLMG::ResNormInf() 42 1.731e-05 1.731e-05 1.731e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.644e-05 1.644e-05 1.644e-05 0.00% MLMG::mgVcycle_bottom 36 1.464e-05 1.464e-05 1.464e-05 0.00% makeSFC 30 1.376e-05 1.376e-05 1.376e-05 0.00% MLMG::computeResidual() 36 1.326e-05 1.326e-05 1.326e-05 0.00% FillPatchSingleLevel 20 1.325e-05 1.325e-05 1.325e-05 0.00% Castro::construct_new_gravity() 5 1.287e-05 1.287e-05 1.287e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.152e-05 1.152e-05 1.152e-05 0.00% MLLinOp::define() 6 1.035e-05 1.035e-05 1.035e-05 0.00% Castro::construct_new_source() 25 9.552e-06 9.552e-06 9.552e-06 0.00% Castro::do_new_sources() 5 9.117e-06 9.117e-06 9.117e-06 0.00% Castro::construct_old_source() 25 9.007e-06 9.007e-06 9.007e-06 0.00% DistributionMapping::Distribute() 31 9.001e-06 9.001e-06 9.001e-06 0.00% Amr::initSubcycle() 1 8.541e-06 8.541e-06 8.541e-06 0.00% Castro::do_old_sources() 5 8.324e-06 8.324e-06 8.324e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.458e-06 7.458e-06 7.458e-06 0.00% Gravity::actual_multilevel_solve() 1 7.323e-06 7.323e-06 7.323e-06 0.00% Castro::post_timestep() 5 6.033e-06 6.033e-06 6.033e-06 0.00% Castro::check_for_nan() 10 5.71e-06 5.71e-06 5.71e-06 0.00% Castro::apply_source_to_state() 10 5.274e-06 5.274e-06 5.274e-06 0.00% Castro::construct_old_gravity() 5 5.13e-06 5.13e-06 5.13e-06 0.00% MLPoisson::prepareForSolve() 6 4.298e-06 4.298e-06 4.298e-06 0.00% Castro::computeNewDt() 5 4.071e-06 4.071e-06 4.071e-06 0.00% Gravity::swapTimeLevels() 5 3.954e-06 3.954e-06 3.954e-06 0.00% Castro::FluxRegCrseInit 5 3.889e-06 3.889e-06 3.889e-06 0.00% MLMG::computeMLResidual() 6 3.611e-06 3.611e-06 3.611e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.055e-06 3.055e-06 3.055e-06 0.00% MLMG::getGradSolution() 6 2.932e-06 2.932e-06 2.932e-06 0.00% Gravity::set_mass_offset() 6 2.637e-06 2.637e-06 2.637e-06 0.00% MLMG::MLResNormInf() 6 2.171e-06 2.171e-06 2.171e-06 0.00% MLMG::MLRhsNormInf() 6 2.029e-06 2.029e-06 2.029e-06 0.00% Castro::retry_advance_ctu() 5 1.798e-06 1.798e-06 1.798e-06 0.00% Castro::FluxRegFineAdd() 5 1.181e-06 1.181e-06 1.181e-06 0.00% Amr::init() 1 1.141e-06 1.141e-06 1.141e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.057e-06 1.057e-06 1.057e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3678 0.3678 0.3678 99.99% Amr::coarseTimeStep() 5 0.2888 0.2888 0.2888 78.52% Amr::timeStep() 5 0.2866 0.2866 0.2866 77.92% Castro::advance() 5 0.283 0.283 0.283 76.94% Castro::subcycle_advance_ctu() 5 0.2761 0.2761 0.2761 75.05% Castro::do_advance_ctu() 5 0.276 0.276 0.276 75.03% Castro::construct_new_gravity() 5 0.1305 0.1305 0.1305 35.47% Gravity::solve_phi_with_mlmg() 6 0.1224 0.1224 0.1224 33.28% Gravity::solve_for_phi() 5 0.1194 0.1194 0.1194 32.46% Gravity::actual_solve_with_mlmg() 6 0.1188 0.1188 0.1188 32.31% MLMG::solve() 6 0.108 0.108 0.108 29.36% MLMG::oneIter() 36 0.1013 0.1013 0.1013 27.54% Castro::construct_ctu_hydro_source() 5 0.1013 0.1013 0.1013 27.53% MLMG::mgVcycle() 36 0.09975 0.09975 0.09975 27.12% MLCellLinOp::smooth() 720 0.04909 0.04909 0.04909 13.35% MLCellLinOp::applyBC() 1946 0.04617 0.04617 0.04617 12.55% Amr::init() 1 0.04518 0.04518 0.04518 12.28% Amr::restart() 1 0.04517 0.04517 0.04517 12.28% AmrLevel::restart() 1 0.03915 0.03915 0.03915 10.64% StateData::restartDoit() 4 0.03906 0.03906 0.03906 10.62% VisMF::Read() 3 0.03894 0.03894 0.03894 10.59% Amr::writePlotFile() 1 0.03302 0.03302 0.03302 8.98% VisMF::Write(FabArray) 1 0.03141 0.03141 0.03141 8.54% MLMG::mgVcycle_bottom 36 0.03081 0.03081 0.03081 8.38% MLMG::actualBottomSolve() 36 0.03079 0.03079 0.03079 8.37% MLCGSolver::bicgstab 36 0.0305 0.0305 0.0305 8.29% FillPatchIterator::Initialize 20 0.02826 0.02826 0.02826 7.68% FillPatchSingleLevel 20 0.02751 0.02751 0.02751 7.48% StateDataPhysBCFunct::() 20 0.02541 0.02541 0.02541 6.91% Castro::clean_state() 30 0.0233 0.0233 0.0233 6.33% MLCellLinOp::apply() 500 0.01537 0.01537 0.01537 4.18% MLMG::mgVcycle_down::0 36 0.01413 0.01413 0.01413 3.84% MLPoisson::Fsmooth() 1440 0.01356 0.01356 0.01356 3.69% FabArray::FillBoundary() 1766 0.01348 0.01348 0.01348 3.66% FillBoundary_nowait() 1766 0.01311 0.01311 0.01311 3.57% Castro::initialize_do_advance() 5 0.0114 0.0114 0.0114 3.10% Gravity::get_new_grav_vector() 5 0.01094 0.01094 0.01094 2.97% MLMG::mgVcycle_up::0 36 0.01067 0.01067 0.01067 2.90% StateData::FillBoundary(geom) 160 0.01063 0.01063 0.01063 2.89% Castro::construct_old_gravity() 5 0.009827 0.009827 0.009827 2.67% Gravity::get_old_grav_vector() 5 0.009822 0.009822 0.009822 2.67% MLCellLinOp::correctionResidual() 216 0.009324 0.009324 0.009324 2.53% Castro::computeTemp() 30 0.009063 0.009063 0.009063 2.46% MLPoisson::define() 6 0.008584 0.008584 0.008584 2.33% amrex::Dot() 484 0.008574 0.008574 0.008574 2.33% MLMG:computeResOfCorrection() 180 0.008206 0.008206 0.008206 2.23% Castro::do_new_sources() 5 0.007042 0.007042 0.007042 1.91% Castro::normalize_species() 30 0.006979 0.006979 0.006979 1.90% Castro::expand_state() 5 0.006953 0.006953 0.006953 1.89% amrex::Copy() 463 0.006867 0.006867 0.006867 1.87% MLMG::mgVcycle_down::1 36 0.006654 0.006654 0.006654 1.81% Castro::enforce_min_density() 30 0.006635 0.006635 0.006635 1.80% Castro::initialize_advance() 5 0.006622 0.006622 0.006622 1.80% FabArray::ParallelCopy() 380 0.006471 0.006471 0.006471 1.76% FabArray::ParallelCopy_nowait() 380 0.006361 0.006361 0.006361 1.73% MLMG::mgVcycle_down::2 36 0.006212 0.006212 0.006212 1.69% FabArray::setVal() 537 0.006128 0.006128 0.006128 1.67% FabArray::norminf() 326 0.00603 0.00603 0.00603 1.64% MLMG::mgVcycle_down::3 36 0.006025 0.006025 0.006025 1.64% MLMG::mgVcycle_down::4 36 0.006006 0.006006 0.006006 1.63% MLCellLinOp::defineAuxData() 6 0.005761 0.005761 0.005761 1.57% Castro::do_old_sources() 5 0.00529 0.00529 0.00529 1.44% MLCGSolver::ParallelAllReduce 659 0.005164 0.005164 0.005164 1.40% MLMG::addInterpCorrection() 180 0.004995 0.004995 0.004995 1.36% MLMG::mgVcycle_up::4 36 0.004862 0.004862 0.004862 1.32% MLMG::mgVcycle_up::1 36 0.004837 0.004837 0.004837 1.32% MLMG::mgVcycle_up::2 36 0.004733 0.004733 0.004733 1.29% amrex::average_down 180 0.004695 0.004695 0.004695 1.28% MLMG::mgVcycle_up::3 36 0.004644 0.004644 0.004644 1.26% MLPoisson::Fapply() 500 0.004342 0.004342 0.004342 1.18% FabArray::Saxpy() 355 0.003564 0.003564 0.003564 0.97% Castro::post_timestep() 5 0.003524 0.003524 0.003524 0.96% Gravity::fill_multipole_BCs() 6 0.003477 0.003477 0.003477 0.95% FabArray::Xpay() 361 0.003416 0.003416 0.003416 0.93% Castro::post_restart() 1 0.003335 0.003335 0.003335 0.91% Castro::reset_internal_energy(MultiFab) 30 0.00323 0.00323 0.00323 0.88% Gravity::multilevel_solve_for_new_phi() 1 0.00323 0.00323 0.00323 0.88% Gravity::actual_multilevel_solve() 1 0.003213 0.003213 0.003213 0.87% MLCellLinOp::solutionResidual() 42 0.003178 0.003178 0.003178 0.86% Castro::estTimeStep() 10 0.002729 0.002729 0.002729 0.74% MLMG::computeResidual() 36 0.002637 0.002637 0.002637 0.72% MLCellLinOp::defineBC() 6 0.002584 0.002584 0.002584 0.70% BndryData::define() 6 0.002472 0.002472 0.002472 0.67% MLMG::prepareForSolve() 6 0.002446 0.002446 0.002446 0.66% Castro::computeNewDt() 5 0.001982 0.001982 0.001982 0.54% FabArray::LinComb() 242 0.001889 0.001889 0.001889 0.51% amrex::Add() 72 0.001836 0.001836 0.001836 0.50% Castro::construct_new_source() 25 0.001754 0.001754 0.001754 0.48% Castro::construct_new_gravity_source() 5 0.001745 0.001745 0.001745 0.47% Castro::construct_old_source() 25 0.001411 0.001411 0.001411 0.38% Castro::construct_old_gravity_source() 5 0.001402 0.001402 0.001402 0.38% Castro::apply_source_to_state() 10 0.0009218 0.0009218 0.0009218 0.25% MLMG::ResNormInf() 42 0.0009077 0.0009077 0.0009077 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008746 0.0008746 0.0008746 0.24% FabArrayBase::getCPC() 632 0.0007723 0.0007723 0.0007723 0.21% MLMG::getGradSolution() 6 0.0007504 0.0007504 0.0007504 0.20% MLCellLinOp::compGrad() 6 0.0007475 0.0007475 0.0007475 0.20% MLCellLinOp::setLevelBC() 6 0.0007259 0.0007259 0.0007259 0.20% Castro::reset_internal_energy(Fab) 240 0.0006861 0.0006861 0.0006861 0.19% FabArray::mult() 22 0.0006451 0.0006451 0.0006451 0.18% FabArray::setDomainBndry() 20 0.0006352 0.0006352 0.0006352 0.17% Castro::check_for_nan() 10 0.0005993 0.0005993 0.0005993 0.16% MultiFab::contains_nan() 10 0.0005936 0.0005936 0.0005936 0.16% MLPoisson::prepareForSolve() 6 0.0005907 0.0005907 0.0005907 0.16% MLCellLinOp::prepareForSolve() 6 0.0005864 0.0005864 0.0005864 0.16% Castro::enforce_speed_limit() 30 0.0005828 0.0005828 0.0005828 0.16% MLMG::computeMLResidual() 6 0.0005584 0.0005584 0.0005584 0.15% Gravity::update_max_rhs() 6 0.0005356 0.0005356 0.0005356 0.15% FabArrayBase::CPC::define() 244 0.0004103 0.0004103 0.0004103 0.11% Amr::InitAmr() 1 0.0004073 0.0004073 0.0004073 0.11% FabArrayBase::getFB() 1766 0.0003154 0.0003154 0.0003154 0.09% Castro::finalize_advance() 5 0.0002923 0.0002923 0.0002923 0.08% Gravity::swapTimeLevels() 5 0.0002217 0.0002217 0.0002217 0.06% MLLinOp::define() 6 0.0002206 0.0002206 0.0002206 0.06% MLLinOp::defineGrids() 6 0.0002102 0.0002102 0.0002102 0.06% Castro::buildMetrics() 1 0.0001507 0.0001507 0.0001507 0.04% MLMG::MLResNormInf() 6 0.0001496 0.0001496 0.0001496 0.04% MultiFab::max() 6 0.0001424 0.0001424 0.0001424 0.04% Castro::create_source_corrector() 5 0.0001282 0.0001282 0.0001282 0.03% MLMG::MLRhsNormInf() 6 0.0001151 0.0001151 0.0001151 0.03% FabArrayBase::FB::FB() 26 5.873e-05 5.873e-05 5.873e-05 0.02% Amr::writeSmallPlotFile() 1 4.164e-05 4.164e-05 4.164e-05 0.01% Castro::swap_state_time_levels() 5 3.934e-05 3.934e-05 3.934e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.845e-05 2.845e-05 2.845e-05 0.01% Castro::initMFs() 1 2.705e-05 2.705e-05 2.705e-05 0.01% makeSFC 30 2.099e-05 2.099e-05 2.099e-05 0.01% Castro::finalize_do_advance() 5 2.087e-05 2.087e-05 2.087e-05 0.01% DistributionMapping::Distribute() 31 9.001e-06 9.001e-06 9.001e-06 0.00% Amr::initSubcycle() 1 8.541e-06 8.541e-06 8.541e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.832e-06 4.832e-06 4.832e-06 0.00% Castro::FluxRegCrseInit 5 3.889e-06 3.889e-06 3.889e-06 0.00% Gravity::set_mass_offset() 6 2.637e-06 2.637e-06 2.637e-06 0.00% Castro::retry_advance_ctu() 5 1.798e-06 1.798e-06 1.798e-06 0.00% Castro::FluxRegFineAdd() 5 1.181e-06 1.181e-06 1.181e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.057e-06 1.057e-06 1.057e-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 215 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 129 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1563 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2509 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6694 KiB 14 MiB MLMG::prepareForSolve() 361 361 3603 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 275 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 304 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6689 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2703 B 2048 KiB Gravity::solve_for_phi() 40 40 662 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 331 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 212 KiB 671 KiB Castro::estTimeStep() 10 10 2680 B 480 KiB VisMF::Write(FabArray) 112 112 1310 B 320 KiB Castro::normalize_species() 30 30 6158 B 320 KiB amrex::average_down 469 469 1243 B 257 KiB MLMG::addInterpCorrection() 468 468 1157 B 257 KiB amrex::Dot() 592 592 3422 B 160 KiB FabArray::norminf() 398 398 2417 B 160 KiB Castro::do_advance_ctu() 5 5 573 B 160 KiB MultiFab::max() 6 6 58 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3504 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 302 B 9648 B MLCellLinOp::applyBC() 3892 3892 229 B 9344 B amrex::Copy() 56 56 5934 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 122 B 4160 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 120 B 1472 B MLCellLinOp::defineBC() 36 36 372 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1498 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 118 KiB 8192 KiB VisMF::Write(FabArray) 120 120 263 KiB 3584 KiB VisMF::Read() 24 24 205 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3504 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 302 B 9648 B MLCellLinOp::applyBC() 1946 1946 228 B 9328 B amrex::Copy() 56 56 5934 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 122 B 4192 B Gravity::get_old_grav_vector() 3 3 2638 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 538 B 1296 B amrex::average_down 37 37 221 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-30-g07f87b0a9047) finalized