Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-2-g0916f6856021) initialized Starting run at 07:39:33 UTC on 2023-05-04. Successfully read inputs file ... Castro git describe: 23.05-1-gc94456cbd AMReX git describe: 23.05-2-g0916f6856 Microphysics git describe: 23.05 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.060025316 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034384623 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047744905 [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.047569072 [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.047952284 [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.056787213 [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.079579169 [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.059469987 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.059876781 [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.050749101 [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.058517992 [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.066540349 [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.066094094 [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.059408625 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034476613 seconds Ending run at 07:39:34 UTC on 2023-05-04. Run time = 0.875033082 Run time without initialization = 0.735392658 Average number of zones advanced per microsecond: 3.565 Average number of zones advanced per microsecond per rank: 3.565 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8751 ... 0.8751 ... 0.8751 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2409 0.2409 0.2409 27.53% Castro::construct_ctu_hydro_source() 10 0.2213 0.2213 0.2213 25.29% MLCellLinOp::applyBC() 4379 0.07602 0.07602 0.07602 8.69% MLPoisson::Fsmooth() 3240 0.03185 0.03185 0.03185 3.64% FillBoundary_nowait() 3974 0.03064 0.03064 0.03064 3.50% StateData::FillBoundary(geom) 328 0.02492 0.02492 0.02492 2.85% amrex::Dot() 1100 0.02017 0.02017 0.02017 2.30% Castro::normalize_species() 62 0.01531 0.01531 0.01531 1.75% amrex::Copy() 1019 0.01468 0.01468 0.01468 1.68% FabArray::norminf() 734 0.01419 0.01419 0.01419 1.62% Castro::computeTemp() 63 0.01418 0.01418 0.01418 1.62% FabArray::ParallelCopy_nowait() 851 0.01324 0.01324 0.01324 1.51% Castro::enforce_min_density() 62 0.01317 0.01317 0.01317 1.50% FabArray::setVal() 1135 0.01298 0.01298 0.01298 1.48% StateDataPhysBCFunct::() 41 0.01122 0.01122 0.01122 1.28% MLPoisson::Fapply() 1128 0.01016 0.01016 0.01016 1.16% MLCellLinOp::defineAuxData() 11 0.009982 0.009982 0.009982 1.14% FabArray::Saxpy() 803 0.008091 0.008091 0.008091 0.92% FabArray::Xpay() 811 0.007929 0.007929 0.007929 0.91% MLMG::addInterpCorrection() 405 0.006518 0.006518 0.006518 0.74% Gravity::fill_multipole_BCs() 11 0.00632 0.00632 0.00632 0.72% amrex::average_down 405 0.005882 0.005882 0.005882 0.67% Castro::estTimeStep() 21 0.005128 0.005128 0.005128 0.59% FabArray::LinComb() 550 0.004471 0.004471 0.004471 0.51% amrex::Add() 162 0.004302 0.004302 0.004302 0.49% Castro::reset_internal_energy(MultiFab) 63 0.004008 0.004008 0.004008 0.46% Amr::checkPoint() 3 0.003975 0.003975 0.003975 0.45% BndryData::define() 11 0.003775 0.003775 0.003775 0.43% Castro::do_advance_ctu() 10 0.002887 0.002887 0.002887 0.33% Castro::construct_new_gravity_source() 10 0.002881 0.002881 0.002881 0.33% Amr::writePlotFile() 2 0.00238 0.00238 0.00238 0.27% MLCGSolver::bicgstab 81 0.0021 0.0021 0.0021 0.24% Castro::construct_old_gravity_source() 10 0.002098 0.002098 0.002098 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001723 0.001723 0.001723 0.20% Castro::reset_internal_energy(Fab) 504 0.001597 0.001597 0.001597 0.18% Gravity::actual_solve_with_mlmg() 11 0.001492 0.001492 0.001492 0.17% MLCellLinOp::setLevelBC() 11 0.001397 0.001397 0.001397 0.16% FabArray::mult() 43 0.001333 0.001333 0.001333 0.15% FabArray::setDomainBndry() 41 0.001302 0.001302 0.001302 0.15% Castro::initData() 1 0.001201 0.001201 0.001201 0.14% Castro::enforce_speed_limit() 62 0.0012 0.0012 0.0012 0.14% MultiFab::contains_nan() 20 0.001198 0.001198 0.001198 0.14% MLCellLinOp::prepareForSolve() 11 0.001116 0.001116 0.001116 0.13% MLCellLinOp::smooth() 1620 0.00105 0.00105 0.00105 0.12% MLCellLinOp::compGrad() 11 0.0009207 0.0009207 0.0009207 0.11% MLMG::prepareForSolve() 11 0.0008738 0.0008738 0.0008738 0.10% FabArray::FillBoundary() 3974 0.0008481 0.0008481 0.0008481 0.10% FabArrayBase::getCPC() 1313 0.0007127 0.0007127 0.0007127 0.08% FabArrayBase::CPC::define() 454 0.000695 0.000695 0.000695 0.08% Gravity::get_new_grav_vector() 11 0.0006393 0.0006393 0.0006393 0.07% FabArrayBase::getFB() 3974 0.0005684 0.0005684 0.0005684 0.06% Gravity::get_old_grav_vector() 10 0.0005477 0.0005477 0.0005477 0.06% Amr::InitAmr() 1 0.0004816 0.0004816 0.0004816 0.06% MLCellLinOp::apply() 1128 0.0004276 0.0004276 0.0004276 0.05% MLLinOp::defineGrids() 11 0.0003806 0.0003806 0.0003806 0.04% Amr::coarseTimeStep() 10 0.0003547 0.0003547 0.0003547 0.04% MLMG::mgVcycle() 81 0.0003522 0.0003522 0.0003522 0.04% MLCGSolver::ParallelAllReduce 1495 0.0002877 0.0002877 0.0002877 0.03% main() 1 0.0002626 0.0002626 0.0002626 0.03% MultiFab::max() 11 0.0002586 0.0002586 0.0002586 0.03% FillPatchIterator::Initialize 41 0.0002316 0.0002316 0.0002316 0.03% FabArray::ParallelCopy() 851 0.0002298 0.0002298 0.0002298 0.03% MLCellLinOp::defineBC() 11 0.0002168 0.0002168 0.0002168 0.02% MLCellLinOp::correctionResidual() 486 0.0002116 0.0002116 0.0002116 0.02% Castro::create_source_corrector() 10 0.0001588 0.0001588 0.0001588 0.02% Amr::timeStep() 10 0.0001514 0.0001514 0.0001514 0.02% Castro::subcycle_advance_ctu() 10 0.0001444 0.0001444 0.0001444 0.02% StateData::checkPoint() 12 0.0001364 0.0001364 0.0001364 0.02% Gravity::update_max_rhs() 11 0.0001215 0.0001215 0.0001215 0.01% MLMG:computeResOfCorrection() 405 0.0001105 0.0001105 0.0001105 0.01% Gravity::solve_for_phi() 10 0.0001078 0.0001078 0.0001078 0.01% Castro::construct_new_source() 50 8.991e-05 8.991e-05 8.991e-05 0.01% FabArrayBase::FB::FB() 56 8.916e-05 8.916e-05 8.916e-05 0.01% MLMG::actualBottomSolve() 81 8.611e-05 8.611e-05 8.611e-05 0.01% Castro::Castro() 1 8.597e-05 8.597e-05 8.597e-05 0.01% MLMG::mgVcycle_down::0 81 8.471e-05 8.471e-05 8.471e-05 0.01% Castro::expand_state() 10 7.965e-05 7.965e-05 7.965e-05 0.01% AmrLevel::checkPoint() 3 7.603e-05 7.603e-05 7.603e-05 0.01% Castro::clean_state() 62 7.244e-05 7.244e-05 7.244e-05 0.01% MLMG::mgVcycle_down::1 81 7.177e-05 7.177e-05 7.177e-05 0.01% MLMG::mgVcycle_down::2 81 7.142e-05 7.142e-05 7.142e-05 0.01% Castro::initialize_advance() 10 7.12e-05 7.12e-05 7.12e-05 0.01% MLMG::solve() 11 6.883e-05 6.883e-05 6.883e-05 0.01% MLMG::mgVcycle_down::3 81 6.865e-05 6.865e-05 6.865e-05 0.01% MLMG::mgVcycle_down::4 81 6.832e-05 6.832e-05 6.832e-05 0.01% Castro::finalize_advance() 10 6.052e-05 6.052e-05 6.052e-05 0.01% MLMG::oneIter() 81 5.843e-05 5.843e-05 5.843e-05 0.01% MLMG::mgVcycle_up::4 81 5.639e-05 5.639e-05 5.639e-05 0.01% Castro::initialize_do_advance() 10 5.29e-05 5.29e-05 5.29e-05 0.01% MLCellLinOp::solutionResidual() 92 4.658e-05 4.658e-05 4.658e-05 0.01% MLMG::mgVcycle_up::1 81 4.622e-05 4.622e-05 4.622e-05 0.01% MLMG::mgVcycle_up::0 81 4.611e-05 4.611e-05 4.611e-05 0.01% MLMG::mgVcycle_up::3 81 4.591e-05 4.591e-05 4.591e-05 0.01% Castro::advance() 10 4.569e-05 4.569e-05 4.569e-05 0.01% MLMG::mgVcycle_up::2 81 4.409e-05 4.409e-05 4.409e-05 0.01% Castro::finalize_do_advance() 10 3.778e-05 3.778e-05 3.778e-05 0.00% Castro::swap_state_time_levels() 10 3.773e-05 3.773e-05 3.773e-05 0.00% Castro::enforce_consistent_e() 1 3.359e-05 3.359e-05 3.359e-05 0.00% StateData::define() 4 3.344e-05 3.344e-05 3.344e-05 0.00% Castro::post_timestep() 10 3.239e-05 3.239e-05 3.239e-05 0.00% MLMG::ResNormInf() 92 3.129e-05 3.129e-05 3.129e-05 0.00% FillPatchSingleLevel 41 3.063e-05 3.063e-05 3.063e-05 0.00% MLMG::mgVcycle_bottom 81 3.008e-05 3.008e-05 3.008e-05 0.00% MLMG::computeResidual() 81 2.864e-05 2.864e-05 2.864e-05 0.00% Castro::initMFs() 1 2.482e-05 2.482e-05 2.482e-05 0.00% Amr::writeSmallPlotFile() 1 2.443e-05 2.443e-05 2.443e-05 0.00% makeSFC 55 2.415e-05 2.415e-05 2.415e-05 0.00% MLPoisson::define() 11 2.356e-05 2.356e-05 2.356e-05 0.00% Castro::construct_new_gravity() 10 2.226e-05 2.226e-05 2.226e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.193e-05 2.193e-05 2.193e-05 0.00% Amr::defBaseLevel() 1 1.982e-05 1.982e-05 1.982e-05 0.00% Amr::FinalizeInit() 1 1.868e-05 1.868e-05 1.868e-05 0.00% Castro::construct_old_source() 50 1.821e-05 1.821e-05 1.821e-05 0.00% Castro::buildMetrics() 1 1.809e-05 1.809e-05 1.809e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.697e-05 1.697e-05 1.697e-05 0.00% Castro::do_new_sources() 10 1.587e-05 1.587e-05 1.587e-05 0.00% Castro::do_old_sources() 10 1.529e-05 1.529e-05 1.529e-05 0.00% DistributionMapping::Distribute() 56 1.48e-05 1.48e-05 1.48e-05 0.00% MLPoisson::prepareForSolve() 11 1.427e-05 1.427e-05 1.427e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.379e-05 1.379e-05 1.379e-05 0.00% MLMG::computeMLResidual() 11 1.332e-05 1.332e-05 1.332e-05 0.00% Castro::apply_source_to_state() 20 1.094e-05 1.094e-05 1.094e-05 0.00% MLLinOp::define() 11 1.067e-05 1.067e-05 1.067e-05 0.00% Castro::check_for_nan() 20 1.063e-05 1.063e-05 1.063e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.006e-05 1.006e-05 1.006e-05 0.00% Castro::construct_old_gravity() 10 8.591e-06 8.591e-06 8.591e-06 0.00% Gravity::actual_multilevel_solve() 1 8.565e-06 8.565e-06 8.565e-06 0.00% Gravity::swapTimeLevels() 10 8.306e-06 8.306e-06 8.306e-06 0.00% Amr::initSubcycle() 1 8.148e-06 8.148e-06 8.148e-06 0.00% Castro::computeNewDt() 9 6.491e-06 6.491e-06 6.491e-06 0.00% MLMG::getGradSolution() 11 5.636e-06 5.636e-06 5.636e-06 0.00% Amr::InitializeInit() 1 4.882e-06 4.882e-06 4.882e-06 0.00% Castro::retry_advance_ctu() 10 4.681e-06 4.681e-06 4.681e-06 0.00% Gravity::set_mass_offset() 11 4.304e-06 4.304e-06 4.304e-06 0.00% MLMG::MLRhsNormInf() 11 4.073e-06 4.073e-06 4.073e-06 0.00% AmrLevel::checkPointPost() 3 3.962e-06 3.962e-06 3.962e-06 0.00% Castro::post_init() 1 3.616e-06 3.616e-06 3.616e-06 0.00% MLMG::MLResNormInf() 11 3.607e-06 3.607e-06 3.607e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.784e-06 2.784e-06 2.784e-06 0.00% Castro::FluxRegCrseInit 10 2.733e-06 2.733e-06 2.733e-06 0.00% Amr::init() 1 2.511e-06 2.511e-06 2.511e-06 0.00% Castro::computeInitialDt() 2 2.38e-06 2.38e-06 2.38e-06 0.00% Castro::FluxRegFineAdd() 10 1.959e-06 1.959e-06 1.959e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.952e-06 1.952e-06 1.952e-06 0.00% AmrLevel::checkPointPre() 3 1.927e-06 1.927e-06 1.927e-06 0.00% Castro::post_regrid() 1 1.082e-06 1.082e-06 1.082e-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.875 0.875 0.875 100.00% Amr::coarseTimeStep() 10 0.7007 0.7007 0.7007 80.08% Amr::timeStep() 10 0.5785 0.5785 0.5785 66.11% Castro::advance() 10 0.5706 0.5706 0.5706 65.20% Castro::subcycle_advance_ctu() 10 0.5581 0.5581 0.5581 63.78% Castro::do_advance_ctu() 10 0.5579 0.5579 0.5579 63.76% Gravity::solve_phi_with_mlmg() 11 0.2799 0.2799 0.2799 31.98% Gravity::actual_solve_with_mlmg() 11 0.2731 0.2731 0.2731 31.21% Castro::construct_new_gravity() 10 0.2584 0.2584 0.2584 29.53% MLMG::solve() 11 0.252 0.252 0.252 28.80% Gravity::solve_for_phi() 10 0.2428 0.2428 0.2428 27.75% VisMF::Write(FabArray) 11 0.2409 0.2409 0.2409 27.53% MLMG::oneIter() 81 0.2379 0.2379 0.2379 27.18% MLMG::mgVcycle() 81 0.2342 0.2342 0.2342 26.77% Castro::construct_ctu_hydro_source() 10 0.2213 0.2213 0.2213 25.29% Amr::checkPoint() 3 0.179 0.179 0.179 20.46% AmrLevel::checkPoint() 3 0.175 0.175 0.175 20.00% StateData::checkPoint() 12 0.175 0.175 0.175 20.00% Amr::init() 1 0.139 0.139 0.139 15.89% MLCellLinOp::smooth() 1620 0.1155 0.1155 0.1155 13.20% MLCellLinOp::applyBC() 4379 0.1082 0.1082 0.1082 12.36% MLMG::mgVcycle_bottom 81 0.07243 0.07243 0.07243 8.28% MLMG::actualBottomSolve() 81 0.0724 0.0724 0.0724 8.27% MLCGSolver::bicgstab 81 0.07172 0.07172 0.07172 8.20% Amr::writePlotFile() 2 0.06898 0.06898 0.06898 7.88% Castro::clean_state() 62 0.04882 0.04882 0.04882 5.58% Amr::initialInit() 1 0.04451 0.04451 0.04451 5.09% FillPatchIterator::Initialize 41 0.04174 0.04174 0.04174 4.77% Amr::FinalizeInit() 1 0.04062 0.04062 0.04062 4.64% FillPatchSingleLevel 41 0.04021 0.04021 0.04021 4.59% Castro::post_init() 1 0.03929 0.03929 0.03929 4.49% Gravity::multilevel_solve_for_new_phi() 1 0.03748 0.03748 0.03748 4.28% Gravity::actual_multilevel_solve() 1 0.03747 0.03747 0.03747 4.28% StateDataPhysBCFunct::() 41 0.03613 0.03613 0.03613 4.13% MLCellLinOp::apply() 1128 0.03569 0.03569 0.03569 4.08% MLMG::mgVcycle_down::0 81 0.03336 0.03336 0.03336 3.81% FabArray::FillBoundary() 3974 0.03214 0.03214 0.03214 3.67% MLPoisson::Fsmooth() 3240 0.03185 0.03185 0.03185 3.64% FillBoundary_nowait() 3974 0.0313 0.0313 0.0313 3.58% MLMG::mgVcycle_up::0 81 0.02515 0.02515 0.02515 2.87% StateData::FillBoundary(geom) 328 0.02492 0.02492 0.02492 2.85% MLCellLinOp::correctionResidual() 486 0.02183 0.02183 0.02183 2.49% amrex::Dot() 1100 0.02017 0.02017 0.02017 2.30% Castro::computeTemp() 63 0.01979 0.01979 0.01979 2.26% Castro::initialize_do_advance() 10 0.0197 0.0197 0.0197 2.25% MLMG:computeResOfCorrection() 405 0.01922 0.01922 0.01922 2.20% Gravity::get_new_grav_vector() 11 0.01714 0.01714 0.01714 1.96% MLPoisson::define() 11 0.01679 0.01679 0.01679 1.92% MLMG::mgVcycle_down::1 81 0.01555 0.01555 0.01555 1.78% Castro::normalize_species() 62 0.01531 0.01531 0.01531 1.75% Castro::construct_old_gravity() 10 0.01486 0.01486 0.01486 1.70% Gravity::get_old_grav_vector() 10 0.01485 0.01485 0.01485 1.70% amrex::Copy() 1019 0.01468 0.01468 0.01468 1.68% MLMG::mgVcycle_down::2 81 0.01453 0.01453 0.01453 1.66% FabArray::ParallelCopy() 851 0.01426 0.01426 0.01426 1.63% FabArray::norminf() 734 0.01419 0.01419 0.01419 1.62% MLMG::mgVcycle_down::3 81 0.01418 0.01418 0.01418 1.62% MLMG::mgVcycle_down::4 81 0.01407 0.01407 0.01407 1.61% FabArray::ParallelCopy_nowait() 851 0.01403 0.01403 0.01403 1.60% Castro::do_new_sources() 10 0.0133 0.0133 0.0133 1.52% Castro::enforce_min_density() 62 0.01317 0.01317 0.01317 1.50% FabArray::setVal() 1135 0.01298 0.01298 0.01298 1.48% MLCGSolver::ParallelAllReduce 1495 0.01209 0.01209 0.01209 1.38% Castro::initialize_advance() 10 0.01188 0.01188 0.01188 1.36% MLMG::addInterpCorrection() 405 0.0116 0.0116 0.0116 1.33% MLMG::mgVcycle_up::1 81 0.01135 0.01135 0.01135 1.30% MLCellLinOp::defineAuxData() 11 0.01135 0.01135 0.01135 1.30% Castro::expand_state() 10 0.01134 0.01134 0.01134 1.30% MLMG::mgVcycle_up::4 81 0.01133 0.01133 0.01133 1.29% MLMG::mgVcycle_up::2 81 0.01106 0.01106 0.01106 1.26% amrex::average_down 405 0.01101 0.01101 0.01101 1.26% MLMG::mgVcycle_up::3 81 0.01086 0.01086 0.01086 1.24% Castro::do_old_sources() 10 0.01035 0.01035 0.01035 1.18% MLPoisson::Fapply() 1128 0.01016 0.01016 0.01016 1.16% FabArray::Saxpy() 803 0.008091 0.008091 0.008091 0.92% FabArray::Xpay() 811 0.007929 0.007929 0.007929 0.91% Castro::post_timestep() 10 0.007755 0.007755 0.007755 0.89% MLCellLinOp::solutionResidual() 92 0.007053 0.007053 0.007053 0.81% Gravity::fill_multipole_BCs() 11 0.006554 0.006554 0.006554 0.75% MLMG::computeResidual() 81 0.006062 0.006062 0.006062 0.69% Castro::reset_internal_energy(MultiFab) 63 0.005605 0.005605 0.005605 0.64% Castro::estTimeStep() 21 0.005128 0.005128 0.005128 0.59% MLCellLinOp::defineBC() 11 0.004972 0.004972 0.004972 0.57% BndryData::define() 11 0.004755 0.004755 0.004755 0.54% MLMG::prepareForSolve() 11 0.004678 0.004678 0.004678 0.53% FabArray::LinComb() 550 0.004471 0.004471 0.004471 0.51% amrex::Add() 162 0.004302 0.004302 0.004302 0.49% Amr::InitializeInit() 1 0.00389 0.00389 0.00389 0.44% Amr::defBaseLevel() 1 0.003885 0.003885 0.003885 0.44% Castro::initData() 1 0.003386 0.003386 0.003386 0.39% Castro::construct_new_source() 50 0.002971 0.002971 0.002971 0.34% Castro::construct_new_gravity_source() 10 0.002881 0.002881 0.002881 0.33% Castro::computeNewDt() 9 0.002206 0.002206 0.002206 0.25% Castro::construct_old_source() 50 0.002116 0.002116 0.002116 0.24% Castro::construct_old_gravity_source() 10 0.002098 0.002098 0.002098 0.24% MLMG::ResNormInf() 92 0.002076 0.002076 0.002076 0.24% Castro::apply_source_to_state() 20 0.001837 0.001837 0.001837 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001723 0.001723 0.001723 0.20% Castro::reset_internal_energy(Fab) 504 0.001597 0.001597 0.001597 0.18% FabArrayBase::getCPC() 1313 0.001408 0.001408 0.001408 0.16% MLMG::getGradSolution() 11 0.001397 0.001397 0.001397 0.16% MLCellLinOp::setLevelBC() 11 0.001397 0.001397 0.001397 0.16% MLCellLinOp::compGrad() 11 0.001391 0.001391 0.001391 0.16% FabArray::mult() 43 0.001333 0.001333 0.001333 0.15% FabArray::setDomainBndry() 41 0.001302 0.001302 0.001302 0.15% Castro::check_for_nan() 20 0.001209 0.001209 0.001209 0.14% Castro::enforce_speed_limit() 62 0.0012 0.0012 0.0012 0.14% MultiFab::contains_nan() 20 0.001198 0.001198 0.001198 0.14% MLPoisson::prepareForSolve() 11 0.00113 0.00113 0.00113 0.13% MLCellLinOp::prepareForSolve() 11 0.001116 0.001116 0.001116 0.13% Castro::post_regrid() 1 0.001099 0.001099 0.001099 0.13% MLMG::computeMLResidual() 11 0.001033 0.001033 0.001033 0.12% Castro::computeInitialDt() 2 0.0009267 0.0009267 0.0009267 0.11% Gravity::update_max_rhs() 11 0.0008258 0.0008258 0.0008258 0.09% FabArrayBase::CPC::define() 454 0.000695 0.000695 0.000695 0.08% FabArrayBase::getFB() 3974 0.0006576 0.0006576 0.0006576 0.08% Castro::finalize_advance() 10 0.0005768 0.0005768 0.0005768 0.07% Amr::InitAmr() 1 0.0004898 0.0004898 0.0004898 0.06% MLLinOp::define() 11 0.0004447 0.0004447 0.0004447 0.05% Gravity::swapTimeLevels() 10 0.0004347 0.0004347 0.0004347 0.05% MLLinOp::defineGrids() 11 0.0004341 0.0004341 0.0004341 0.05% Castro::Castro() 1 0.0004316 0.0004316 0.0004316 0.05% MLMG::MLResNormInf() 11 0.0002845 0.0002845 0.0002845 0.03% MultiFab::max() 11 0.0002586 0.0002586 0.0002586 0.03% MLMG::MLRhsNormInf() 11 0.0002224 0.0002224 0.0002224 0.03% Castro::create_source_corrector() 10 0.0001588 0.0001588 0.0001588 0.02% Castro::buildMetrics() 1 0.0001573 0.0001573 0.0001573 0.02% FabArrayBase::FB::FB() 56 8.916e-05 8.916e-05 8.916e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.152e-05 5.152e-05 5.152e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.35e-05 4.35e-05 4.35e-05 0.00% Castro::finalize_do_advance() 10 3.778e-05 3.778e-05 3.778e-05 0.00% Castro::swap_state_time_levels() 10 3.773e-05 3.773e-05 3.773e-05 0.00% makeSFC 55 3.773e-05 3.773e-05 3.773e-05 0.00% Castro::enforce_consistent_e() 1 3.359e-05 3.359e-05 3.359e-05 0.00% StateData::define() 4 3.344e-05 3.344e-05 3.344e-05 0.00% Castro::initMFs() 1 2.482e-05 2.482e-05 2.482e-05 0.00% Amr::writeSmallPlotFile() 1 2.443e-05 2.443e-05 2.443e-05 0.00% DistributionMapping::Distribute() 56 1.48e-05 1.48e-05 1.48e-05 0.00% Amr::initSubcycle() 1 8.148e-06 8.148e-06 8.148e-06 0.00% Castro::retry_advance_ctu() 10 4.681e-06 4.681e-06 4.681e-06 0.00% Gravity::set_mass_offset() 11 4.304e-06 4.304e-06 4.304e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.003e-06 4.003e-06 4.003e-06 0.00% AmrLevel::checkPointPost() 3 3.962e-06 3.962e-06 3.962e-06 0.00% Castro::FluxRegCrseInit 10 2.733e-06 2.733e-06 2.733e-06 0.00% Castro::FluxRegFineAdd() 10 1.959e-06 1.959e-06 1.959e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.952e-06 1.952e-06 1.952e-06 0.00% AmrLevel::checkPointPre() 3 1.927e-06 1.927e-06 1.927e-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 94 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 121 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 1019 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2215 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 3543 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 203 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1808 B 2048 KiB Gravity::solve_for_phi() 80 80 567 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 87 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 2799 B 480 KiB VisMF::Write(FabArray) 656 656 3432 B 320 KiB Castro::normalize_species() 62 62 5696 B 320 KiB amrex::average_down 1054 1054 1256 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1138 B 257 KiB amrex::Dot() 1343 1343 3396 B 160 KiB FabArray::norminf() 896 896 2397 B 160 KiB Castro::do_advance_ctu() 10 10 493 B 160 KiB MultiFab::max() 11 11 45 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3463 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 307 B 9648 B MLCellLinOp::applyBC() 8758 8758 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3850 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 119 B 1472 B MLCellLinOp::defineBC() 66 66 364 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 576 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 642 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3463 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 306 B 9648 B MLCellLinOp::applyBC() 4379 4379 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3850 B 6144 B Gravity::get_new_grav_vector() 3 3 2916 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 42 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 272 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 295 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 896 896 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-2-g0916f6856021) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-2-g0916f6856021) initialized Starting run at 07:39:34 UTC on 2023-05-04. Successfully read inputs file ... Castro git describe: 23.05-1-gc94456cbd AMReX git describe: 23.05-2-g0916f6856 Microphysics git describe: 23.05 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.478779572 Restart time = 0.045742258 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049413459 [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.047472895 [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.048539413 [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.057232924 [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.062162541 [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.034471946 seconds Ending run at 07:39:35 UTC on 2023-05-04. Run time = 0.346017971 Run time without initialization = 0.299689691 Average number of zones advanced per microsecond: 4.374 Average number of zones advanced per microsecond per rank: 4.374 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3461 ... 0.3461 ... 0.3461 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0838 0.0838 0.0838 24.22% VisMF::Read() 3 0.03946 0.03946 0.03946 11.40% MLCellLinOp::applyBC() 1946 0.03354 0.03354 0.03354 9.69% VisMF::Write(FabArray) 1 0.03292 0.03292 0.03292 9.51% MLPoisson::Fsmooth() 1440 0.01398 0.01398 0.01398 4.04% FillBoundary_nowait() 1766 0.0127 0.0127 0.0127 3.67% StateData::FillBoundary(geom) 160 0.01249 0.01249 0.01249 3.61% amrex::Dot() 484 0.008825 0.008825 0.008825 2.55% amrex::Copy() 463 0.00696 0.00696 0.00696 2.01% FabArray::setVal() 537 0.00627 0.00627 0.00627 1.81% FabArray::norminf() 326 0.006218 0.006218 0.006218 1.80% FabArray::ParallelCopy_nowait() 380 0.006044 0.006044 0.006044 1.75% Castro::enforce_min_density() 30 0.005806 0.005806 0.005806 1.68% Castro::normalize_species() 30 0.00569 0.00569 0.00569 1.64% MLCellLinOp::defineAuxData() 6 0.00535 0.00535 0.00535 1.55% Castro::computeTemp() 30 0.005256 0.005256 0.005256 1.52% StateDataPhysBCFunct::() 20 0.0052 0.0052 0.0052 1.50% MLPoisson::Fapply() 500 0.0045 0.0045 0.0045 1.30% FabArray::Saxpy() 355 0.003648 0.003648 0.003648 1.05% FabArray::Xpay() 361 0.003481 0.003481 0.003481 1.01% Gravity::fill_multipole_BCs() 6 0.003452 0.003452 0.003452 1.00% Castro::estTimeStep() 10 0.003409 0.003409 0.003409 0.99% MLMG::addInterpCorrection() 180 0.002885 0.002885 0.002885 0.83% amrex::average_down 180 0.002586 0.002586 0.002586 0.75% Amr::restart() 1 0.002555 0.002555 0.002555 0.74% Castro::reset_internal_energy(MultiFab) 30 0.002502 0.002502 0.002502 0.72% BndryData::define() 6 0.002035 0.002035 0.002035 0.59% FabArray::LinComb() 242 0.001919 0.001919 0.001919 0.55% amrex::Add() 72 0.001839 0.001839 0.001839 0.53% Castro::construct_new_gravity_source() 5 0.001698 0.001698 0.001698 0.49% Castro::do_advance_ctu() 5 0.001685 0.001685 0.001685 0.49% Castro::construct_old_gravity_source() 5 0.001409 0.001409 0.001409 0.41% Amr::writePlotFile() 1 0.001384 0.001384 0.001384 0.40% MLCGSolver::bicgstab 36 0.0009662 0.0009662 0.0009662 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000929 0.000929 0.000929 0.27% Gravity::actual_solve_with_mlmg() 6 0.0008117 0.0008117 0.0008117 0.23% MLCellLinOp::setLevelBC() 6 0.0007503 0.0007503 0.0007503 0.22% Castro::enforce_speed_limit() 30 0.0007394 0.0007394 0.0007394 0.21% Castro::reset_internal_energy(Fab) 240 0.0007364 0.0007364 0.0007364 0.21% FabArray::setDomainBndry() 20 0.0006633 0.0006633 0.0006633 0.19% FabArray::mult() 22 0.0006502 0.0006502 0.0006502 0.19% MLCellLinOp::prepareForSolve() 6 0.0006095 0.0006095 0.0006095 0.18% MultiFab::contains_nan() 10 0.0005957 0.0005957 0.0005957 0.17% MLCellLinOp::compGrad() 6 0.00049 0.00049 0.00049 0.14% MLCellLinOp::smooth() 720 0.0004833 0.0004833 0.0004833 0.14% MLMG::prepareForSolve() 6 0.0004748 0.0004748 0.0004748 0.14% FabArrayBase::CPC::define() 244 0.0004164 0.0004164 0.0004164 0.12% Amr::InitAmr() 1 0.0004052 0.0004052 0.0004052 0.12% FabArray::FillBoundary() 1766 0.000344 0.000344 0.000344 0.10% FabArrayBase::getCPC() 632 0.0003385 0.0003385 0.0003385 0.10% Gravity::get_old_grav_vector() 5 0.0003112 0.0003112 0.0003112 0.09% main() 1 0.0002883 0.0002883 0.0002883 0.08% Gravity::get_new_grav_vector() 5 0.0002739 0.0002739 0.0002739 0.08% FabArrayBase::getFB() 1766 0.0002434 0.0002434 0.0002434 0.07% MLCellLinOp::apply() 500 0.0001864 0.0001864 0.0001864 0.05% MLLinOp::defineGrids() 6 0.0001809 0.0001809 0.0001809 0.05% Amr::coarseTimeStep() 5 0.0001621 0.0001621 0.0001621 0.05% MLMG::mgVcycle() 36 0.0001469 0.0001469 0.0001469 0.04% MultiFab::max() 6 0.0001368 0.0001368 0.0001368 0.04% MLCGSolver::ParallelAllReduce 659 0.0001274 0.0001274 0.0001274 0.04% FillPatchIterator::Initialize 20 0.0001171 0.0001171 0.0001171 0.03% MLCellLinOp::defineBC() 6 0.0001167 0.0001167 0.0001167 0.03% FabArray::ParallelCopy() 380 0.0001105 0.0001105 0.0001105 0.03% MLCellLinOp::correctionResidual() 216 9.696e-05 9.696e-05 9.696e-05 0.03% Castro::create_source_corrector() 5 9.225e-05 9.225e-05 9.225e-05 0.03% Amr::timeStep() 5 8.083e-05 8.083e-05 8.083e-05 0.02% Castro::subcycle_advance_ctu() 5 7.596e-05 7.596e-05 7.596e-05 0.02% AmrLevel::restart() 1 7.49e-05 7.49e-05 7.49e-05 0.02% StateData::restartDoit() 4 6.436e-05 6.436e-05 6.436e-05 0.02% Gravity::update_max_rhs() 6 6.049e-05 6.049e-05 6.049e-05 0.02% FabArrayBase::FB::FB() 26 5.918e-05 5.918e-05 5.918e-05 0.02% Gravity::solve_for_phi() 5 5.259e-05 5.259e-05 5.259e-05 0.02% MLMG:computeResOfCorrection() 180 5.224e-05 5.224e-05 5.224e-05 0.02% Castro::expand_state() 5 4.914e-05 4.914e-05 4.914e-05 0.01% MLMG::mgVcycle_down::0 36 3.881e-05 3.881e-05 3.881e-05 0.01% MLMG::actualBottomSolve() 36 3.812e-05 3.812e-05 3.812e-05 0.01% Castro::clean_state() 30 3.676e-05 3.676e-05 3.676e-05 0.01% Castro::initialize_advance() 5 3.389e-05 3.389e-05 3.389e-05 0.01% MLMG::mgVcycle_down::1 36 3.307e-05 3.307e-05 3.307e-05 0.01% MLMG::solve() 6 3.293e-05 3.293e-05 3.293e-05 0.01% MLMG::mgVcycle_down::2 36 3.206e-05 3.206e-05 3.206e-05 0.01% MLMG::mgVcycle_down::4 36 3.193e-05 3.193e-05 3.193e-05 0.01% MLMG::mgVcycle_down::3 36 3.091e-05 3.091e-05 3.091e-05 0.01% MLMG::mgVcycle_up::4 36 2.841e-05 2.841e-05 2.841e-05 0.01% Castro::finalize_advance() 5 2.821e-05 2.821e-05 2.821e-05 0.01% MLMG::oneIter() 36 2.794e-05 2.794e-05 2.794e-05 0.01% Castro::initialize_do_advance() 5 2.707e-05 2.707e-05 2.707e-05 0.01% Castro::buildMetrics() 1 2.611e-05 2.611e-05 2.611e-05 0.01% Castro::initMFs() 1 2.568e-05 2.568e-05 2.568e-05 0.01% Amr::writeSmallPlotFile() 1 2.46e-05 2.46e-05 2.46e-05 0.01% Castro::swap_state_time_levels() 5 2.347e-05 2.347e-05 2.347e-05 0.01% MLCellLinOp::solutionResidual() 42 2.138e-05 2.138e-05 2.138e-05 0.01% MLMG::mgVcycle_up::3 36 2.119e-05 2.119e-05 2.119e-05 0.01% Castro::post_restart() 1 2.116e-05 2.116e-05 2.116e-05 0.01% MLMG::mgVcycle_up::2 36 2.056e-05 2.056e-05 2.056e-05 0.01% MLMG::mgVcycle_up::0 36 2.054e-05 2.054e-05 2.054e-05 0.01% Castro::finalize_do_advance() 5 2.001e-05 2.001e-05 2.001e-05 0.01% MLMG::mgVcycle_up::1 36 1.941e-05 1.941e-05 1.941e-05 0.01% MLMG::ResNormInf() 42 1.686e-05 1.686e-05 1.686e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.578e-05 1.578e-05 1.578e-05 0.00% FillPatchSingleLevel 20 1.539e-05 1.539e-05 1.539e-05 0.00% MLPoisson::define() 6 1.511e-05 1.511e-05 1.511e-05 0.00% Castro::advance() 5 1.42e-05 1.42e-05 1.42e-05 0.00% MLMG::mgVcycle_bottom 36 1.395e-05 1.395e-05 1.395e-05 0.00% makeSFC 30 1.337e-05 1.337e-05 1.337e-05 0.00% MLMG::computeResidual() 36 1.292e-05 1.292e-05 1.292e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.267e-05 1.267e-05 1.267e-05 0.00% Castro::construct_new_source() 25 1.193e-05 1.193e-05 1.193e-05 0.00% Castro::construct_new_gravity() 5 1.177e-05 1.177e-05 1.177e-05 0.00% MLPoisson::prepareForSolve() 6 1.054e-05 1.054e-05 1.054e-05 0.00% MLMG::computeMLResidual() 6 1.004e-05 1.004e-05 1.004e-05 0.00% Castro::construct_old_source() 25 9.898e-06 9.898e-06 9.898e-06 0.00% DistributionMapping::Distribute() 31 9.011e-06 9.011e-06 9.011e-06 0.00% Amr::initSubcycle() 1 8.934e-06 8.934e-06 8.934e-06 0.00% Castro::do_new_sources() 5 8.775e-06 8.775e-06 8.775e-06 0.00% Castro::do_old_sources() 5 8.039e-06 8.039e-06 8.039e-06 0.00% Gravity::actual_multilevel_solve() 1 7.518e-06 7.518e-06 7.518e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.199e-06 7.199e-06 7.199e-06 0.00% Castro::check_for_nan() 10 5.911e-06 5.911e-06 5.911e-06 0.00% Castro::apply_source_to_state() 10 5.474e-06 5.474e-06 5.474e-06 0.00% MLLinOp::define() 6 5.391e-06 5.391e-06 5.391e-06 0.00% Castro::construct_old_gravity() 5 5.014e-06 5.014e-06 5.014e-06 0.00% Castro::post_timestep() 5 4.282e-06 4.282e-06 4.282e-06 0.00% Gravity::swapTimeLevels() 5 3.969e-06 3.969e-06 3.969e-06 0.00% Castro::computeNewDt() 5 3.855e-06 3.855e-06 3.855e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.434e-06 3.434e-06 3.434e-06 0.00% MLMG::getGradSolution() 6 3.108e-06 3.108e-06 3.108e-06 0.00% MLMG::MLResNormInf() 6 2.224e-06 2.224e-06 2.224e-06 0.00% Gravity::set_mass_offset() 6 2.192e-06 2.192e-06 2.192e-06 0.00% MLMG::MLRhsNormInf() 6 2.149e-06 2.149e-06 2.149e-06 0.00% Castro::retry_advance_ctu() 5 1.758e-06 1.758e-06 1.758e-06 0.00% Castro::FluxRegCrseInit 5 1.326e-06 1.326e-06 1.326e-06 0.00% Castro::FluxRegFineAdd() 5 1.178e-06 1.178e-06 1.178e-06 0.00% Amr::init() 1 9.95e-07 9.95e-07 9.95e-07 0.00% MLLinOp::makeSubCommunicator() 6 9.64e-07 9.64e-07 9.64e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.346 0.346 0.346 100.00% Amr::coarseTimeStep() 5 0.265 0.265 0.265 76.57% Amr::timeStep() 5 0.2622 0.2622 0.2622 75.75% Castro::advance() 5 0.2589 0.2589 0.2589 74.82% Castro::subcycle_advance_ctu() 5 0.2522 0.2522 0.2522 72.87% Castro::do_advance_ctu() 5 0.2521 0.2521 0.2521 72.84% Castro::construct_new_gravity() 5 0.1303 0.1303 0.1303 37.67% Gravity::solve_phi_with_mlmg() 6 0.1255 0.1255 0.1255 36.27% Gravity::solve_for_phi() 5 0.1225 0.1225 0.1225 35.39% Gravity::actual_solve_with_mlmg() 6 0.1218 0.1218 0.1218 35.21% MLMG::solve() 6 0.1105 0.1105 0.1105 31.93% MLMG::oneIter() 36 0.1037 0.1037 0.1037 29.96% MLMG::mgVcycle() 36 0.1021 0.1021 0.1021 29.51% Castro::construct_ctu_hydro_source() 5 0.08383 0.08383 0.08383 24.22% MLCellLinOp::smooth() 720 0.05006 0.05006 0.05006 14.47% MLCellLinOp::applyBC() 1946 0.04689 0.04689 0.04689 13.55% Amr::init() 1 0.04578 0.04578 0.04578 13.23% Amr::restart() 1 0.04578 0.04578 0.04578 13.23% AmrLevel::restart() 1 0.03966 0.03966 0.03966 11.46% StateData::restartDoit() 4 0.03958 0.03958 0.03958 11.44% VisMF::Read() 3 0.03946 0.03946 0.03946 11.40% Amr::writePlotFile() 1 0.03456 0.03456 0.03456 9.99% VisMF::Write(FabArray) 1 0.03292 0.03292 0.03292 9.51% MLMG::mgVcycle_bottom 36 0.03169 0.03169 0.03169 9.16% MLMG::actualBottomSolve() 36 0.03167 0.03167 0.03167 9.15% MLCGSolver::bicgstab 36 0.03137 0.03137 0.03137 9.06% Castro::clean_state() 30 0.02077 0.02077 0.02077 6.00% FillPatchIterator::Initialize 20 0.02049 0.02049 0.02049 5.92% FillPatchSingleLevel 20 0.01971 0.01971 0.01971 5.70% StateDataPhysBCFunct::() 20 0.01769 0.01769 0.01769 5.11% MLCellLinOp::apply() 500 0.01571 0.01571 0.01571 4.54% MLMG::mgVcycle_down::0 36 0.01429 0.01429 0.01429 4.13% MLPoisson::Fsmooth() 1440 0.01398 0.01398 0.01398 4.04% FabArray::FillBoundary() 1766 0.01335 0.01335 0.01335 3.86% FillBoundary_nowait() 1766 0.01301 0.01301 0.01301 3.76% StateData::FillBoundary(geom) 160 0.01249 0.01249 0.01249 3.61% MLMG::mgVcycle_up::0 36 0.01075 0.01075 0.01075 3.11% MLCellLinOp::correctionResidual() 216 0.009534 0.009534 0.009534 2.75% Castro::initialize_do_advance() 5 0.009394 0.009394 0.009394 2.71% MLPoisson::define() 6 0.009036 0.009036 0.009036 2.61% amrex::Dot() 484 0.008825 0.008825 0.008825 2.55% Castro::computeTemp() 30 0.008495 0.008495 0.008495 2.45% MLMG:computeResOfCorrection() 180 0.008379 0.008379 0.008379 2.42% Gravity::get_new_grav_vector() 5 0.007756 0.007756 0.007756 2.24% Castro::construct_old_gravity() 5 0.007618 0.007618 0.007618 2.20% Gravity::get_old_grav_vector() 5 0.007613 0.007613 0.007613 2.20% amrex::Copy() 463 0.00696 0.00696 0.00696 2.01% MLMG::mgVcycle_down::1 36 0.00683 0.00683 0.00683 1.97% FabArray::ParallelCopy() 380 0.006535 0.006535 0.006535 1.89% Castro::initialize_advance() 5 0.006449 0.006449 0.006449 1.86% FabArray::ParallelCopy_nowait() 380 0.006424 0.006424 0.006424 1.86% MLMG::mgVcycle_down::2 36 0.006376 0.006376 0.006376 1.84% FabArray::setVal() 537 0.00627 0.00627 0.00627 1.81% MLMG::mgVcycle_down::3 36 0.006265 0.006265 0.006265 1.81% FabArray::norminf() 326 0.006218 0.006218 0.006218 1.80% MLMG::mgVcycle_down::4 36 0.006153 0.006153 0.006153 1.78% MLCellLinOp::defineAuxData() 6 0.006089 0.006089 0.006089 1.76% Castro::do_new_sources() 5 0.005995 0.005995 0.005995 1.73% Castro::expand_state() 5 0.005854 0.005854 0.005854 1.69% Castro::enforce_min_density() 30 0.005806 0.005806 0.005806 1.68% Castro::normalize_species() 30 0.00569 0.00569 0.00569 1.64% MLCGSolver::ParallelAllReduce 659 0.005325 0.005325 0.005325 1.54% MLMG::addInterpCorrection() 180 0.005142 0.005142 0.005142 1.49% Castro::do_old_sources() 5 0.005042 0.005042 0.005042 1.46% MLMG::mgVcycle_up::4 36 0.004972 0.004972 0.004972 1.44% MLMG::mgVcycle_up::1 36 0.004968 0.004968 0.004968 1.44% MLMG::mgVcycle_up::2 36 0.004868 0.004868 0.004868 1.41% amrex::average_down 180 0.00486 0.00486 0.00486 1.40% MLMG::mgVcycle_up::3 36 0.004811 0.004811 0.004811 1.39% MLPoisson::Fapply() 500 0.0045 0.0045 0.0045 1.30% FabArray::Saxpy() 355 0.003648 0.003648 0.003648 1.05% Gravity::fill_multipole_BCs() 6 0.003577 0.003577 0.003577 1.03% FabArray::Xpay() 361 0.003481 0.003481 0.003481 1.01% Castro::estTimeStep() 10 0.003409 0.003409 0.003409 0.99% Castro::post_restart() 1 0.003398 0.003398 0.003398 0.98% Gravity::multilevel_solve_for_new_phi() 1 0.003288 0.003288 0.003288 0.95% Gravity::actual_multilevel_solve() 1 0.003272 0.003272 0.003272 0.95% Castro::reset_internal_energy(MultiFab) 30 0.003239 0.003239 0.003239 0.94% MLCellLinOp::solutionResidual() 42 0.003198 0.003198 0.003198 0.92% Castro::post_timestep() 5 0.003158 0.003158 0.003158 0.91% MLCellLinOp::defineBC() 6 0.002716 0.002716 0.002716 0.78% Castro::computeNewDt() 5 0.002662 0.002662 0.002662 0.77% MLMG::computeResidual() 36 0.002654 0.002654 0.002654 0.77% BndryData::define() 6 0.0026 0.0026 0.0026 0.75% MLMG::prepareForSolve() 6 0.002522 0.002522 0.002522 0.73% FabArray::LinComb() 242 0.001919 0.001919 0.001919 0.55% amrex::Add() 72 0.001839 0.001839 0.001839 0.53% Castro::construct_new_source() 25 0.00171 0.00171 0.00171 0.49% Castro::construct_new_gravity_source() 5 0.001698 0.001698 0.001698 0.49% Castro::construct_old_source() 25 0.001419 0.001419 0.001419 0.41% Castro::construct_old_gravity_source() 5 0.001409 0.001409 0.001409 0.41% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000929 0.000929 0.000929 0.27% Castro::apply_source_to_state() 10 0.0009239 0.0009239 0.0009239 0.27% MLMG::ResNormInf() 42 0.0009214 0.0009214 0.0009214 0.27% MLMG::getGradSolution() 6 0.0007562 0.0007562 0.0007562 0.22% FabArrayBase::getCPC() 632 0.000755 0.000755 0.000755 0.22% MLCellLinOp::compGrad() 6 0.0007531 0.0007531 0.0007531 0.22% MLCellLinOp::setLevelBC() 6 0.0007503 0.0007503 0.0007503 0.22% Castro::enforce_speed_limit() 30 0.0007394 0.0007394 0.0007394 0.21% Castro::reset_internal_energy(Fab) 240 0.0007364 0.0007364 0.0007364 0.21% FabArray::setDomainBndry() 20 0.0006633 0.0006633 0.0006633 0.19% FabArray::mult() 22 0.0006502 0.0006502 0.0006502 0.19% MLPoisson::prepareForSolve() 6 0.00062 0.00062 0.00062 0.18% MLCellLinOp::prepareForSolve() 6 0.0006095 0.0006095 0.0006095 0.18% Castro::check_for_nan() 10 0.0006016 0.0006016 0.0006016 0.17% MultiFab::contains_nan() 10 0.0005957 0.0005957 0.0005957 0.17% MLMG::computeMLResidual() 6 0.0005667 0.0005667 0.0005667 0.16% Gravity::update_max_rhs() 6 0.0004575 0.0004575 0.0004575 0.13% FabArrayBase::CPC::define() 244 0.0004164 0.0004164 0.0004164 0.12% Amr::InitAmr() 1 0.0004142 0.0004142 0.0004142 0.12% FabArrayBase::getFB() 1766 0.0003026 0.0003026 0.0003026 0.09% Castro::finalize_advance() 5 0.000289 0.000289 0.000289 0.08% Gravity::swapTimeLevels() 5 0.0002431 0.0002431 0.0002431 0.07% MLLinOp::define() 6 0.0002155 0.0002155 0.0002155 0.06% MLLinOp::defineGrids() 6 0.0002101 0.0002101 0.0002101 0.06% MLMG::MLResNormInf() 6 0.00015 0.00015 0.00015 0.04% Castro::buildMetrics() 1 0.0001452 0.0001452 0.0001452 0.04% MultiFab::max() 6 0.0001368 0.0001368 0.0001368 0.04% MLMG::MLRhsNormInf() 6 0.0001195 0.0001195 0.0001195 0.03% Castro::create_source_corrector() 5 9.225e-05 9.225e-05 9.225e-05 0.03% FabArrayBase::FB::FB() 26 5.918e-05 5.918e-05 5.918e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.821e-05 2.821e-05 2.821e-05 0.01% Castro::initMFs() 1 2.568e-05 2.568e-05 2.568e-05 0.01% Amr::writeSmallPlotFile() 1 2.46e-05 2.46e-05 2.46e-05 0.01% Castro::swap_state_time_levels() 5 2.347e-05 2.347e-05 2.347e-05 0.01% makeSFC 30 2.101e-05 2.101e-05 2.101e-05 0.01% Castro::finalize_do_advance() 5 2.001e-05 2.001e-05 2.001e-05 0.01% DistributionMapping::Distribute() 31 9.011e-06 9.011e-06 9.011e-06 0.00% Amr::initSubcycle() 1 8.934e-06 8.934e-06 8.934e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.804e-06 4.804e-06 4.804e-06 0.00% Gravity::set_mass_offset() 6 2.192e-06 2.192e-06 2.192e-06 0.00% Castro::retry_advance_ctu() 5 1.758e-06 1.758e-06 1.758e-06 0.00% Castro::FluxRegCrseInit 5 1.326e-06 1.326e-06 1.326e-06 0.00% Castro::FluxRegFineAdd() 5 1.178e-06 1.178e-06 1.178e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.64e-07 9.64e-07 9.64e-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 241 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 107 MiB 692 MiB Castro::initMFs() 48 48 59 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 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1289 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2795 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6632 KiB 14 MiB MLMG::prepareForSolve() 361 361 3919 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 227 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 229 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6627 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2558 B 2048 KiB Gravity::solve_for_phi() 40 40 723 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 360 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 231 KiB 671 KiB Castro::estTimeStep() 10 10 4651 B 480 KiB VisMF::Write(FabArray) 112 112 1431 B 320 KiB Castro::normalize_species() 30 30 5323 B 320 KiB amrex::average_down 469 469 1338 B 257 KiB MLMG::addInterpCorrection() 468 468 1265 B 257 KiB amrex::Dot() 592 592 3755 B 160 KiB FabArray::norminf() 398 398 2654 B 160 KiB Castro::do_advance_ctu() 5 5 748 B 160 KiB MultiFab::max() 6 6 60 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 34 B 20 KiB MLPoisson::Fsmooth() 60 60 3812 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 318 B 9648 B MLCellLinOp::applyBC() 3892 3892 249 B 9344 B amrex::Copy() 56 56 5935 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 52 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 131 B 1472 B MLCellLinOp::defineBC() 36 36 405 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1490 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 126 KiB 8192 KiB VisMF::Write(FabArray) 120 120 294 KiB 3584 KiB VisMF::Read() 24 24 221 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3812 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 319 B 9648 B MLCellLinOp::applyBC() 1946 1946 247 B 9328 B amrex::Copy() 56 56 5935 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2608 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 52 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 562 B 1296 B amrex::average_down 37 37 219 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 27 B 400 B FabArray::norminf() 398 398 19 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-2-g0916f6856021) finalized