Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-6-gd197c8f5db9e) initialized Starting run at 08:16:41 UTC on 2023-10-06. Successfully read inputs file ... Castro git describe: 23.10-7-g9701338cc AMReX git describe: 23.10-6-gd197c8f5d Microphysics git describe: 23.10-5-g0ad0ab25 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.051056 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028464329 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.051777198 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.05302924 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.073158197 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.07059431 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.06633981 [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.04954013 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.067795021 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.072559095 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.074484614 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.048680507 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.05988709 [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.049034329 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028374839 seconds Ending run at 08:16:42 UTC on 2023-10-06. Run time = 0.899448258 Run time without initialization = 0.766002199 Average number of zones advanced per microsecond: 3.422 Average number of zones advanced per microsecond per rank: 3.422 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8995 ... 0.8995 ... 0.8995 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2600 0.2600 0.2600 28.91% VisMF::Write(FabArray) 11 0.1986 0.1986 0.1986 22.08% MLCellLinOp::applyBC() 4433 0.0785 0.0785 0.0785 8.73% MLPoisson::Fsmooth() 3280 0.03314 0.03314 0.03314 3.68% FillBoundary_nowait() 4023 0.03015 0.03015 0.03015 3.35% StateData::FillBoundary(geom) 328 0.02649 0.02649 0.02649 2.94% Castro::normalize_species() 62 0.02193 0.02193 0.02193 2.44% amrex::Dot() 1114 0.02105 0.02105 0.02105 2.34% Castro::computeTemp() 63 0.01673 0.01673 0.01673 1.86% amrex::Copy() 1029 0.01525 0.01525 0.01525 1.69% FabArray::norminf() 743 0.01468 0.01468 0.01468 1.63% FabArray::ParallelCopy_nowait() 861 0.01349 0.01349 0.01349 1.50% FabArray::setVal() 1144 0.01348 0.01348 0.01348 1.50% Castro::enforce_min_density() 62 0.01329 0.01329 0.01329 1.48% MLPoisson::Fapply() 1142 0.01057 0.01057 0.01057 1.18% StateDataPhysBCFunct::() 41 0.01054 0.01054 0.01054 1.17% MLCellLinOp::defineAuxData() 11 0.01035 0.01035 0.01035 1.15% Gravity::fill_multipole_BCs() 11 0.009186 0.009186 0.009186 1.02% FabArray::Saxpy() 813 0.008379 0.008379 0.008379 0.93% FabArray::Xpay() 821 0.00826 0.00826 0.00826 0.92% MLMG::addInterpCorrection() 410 0.006843 0.006843 0.006843 0.76% Castro::estTimeStep() 21 0.006406 0.006406 0.006406 0.71% amrex::average_down 410 0.006129 0.006129 0.006129 0.68% Amr::checkPoint() 3 0.005203 0.005203 0.005203 0.58% Castro::reset_internal_energy(MultiFab) 63 0.005117 0.005117 0.005117 0.57% FabArray::LinComb() 557 0.004612 0.004612 0.004612 0.51% amrex::Add() 164 0.004399 0.004399 0.004399 0.49% BndryData::define() 11 0.003912 0.003912 0.003912 0.43% Castro::construct_new_gravity_source() 10 0.003313 0.003313 0.003313 0.37% Castro::construct_old_gravity_source() 10 0.002878 0.002878 0.002878 0.32% MLCGSolver::bicgstab 82 0.002418 0.002418 0.002418 0.27% Amr::writePlotFile() 2 0.002229 0.002229 0.002229 0.25% check_for_negative_density() 10 0.001836 0.001836 0.001836 0.20% Castro::reset_internal_energy(Fab) 504 0.001787 0.001787 0.001787 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001775 0.001775 0.001775 0.20% Gravity::actual_solve_with_mlmg() 11 0.001529 0.001529 0.001529 0.17% Castro::initData() 1 0.001511 0.001511 0.001511 0.17% MLCellLinOp::setLevelBC() 11 0.00146 0.00146 0.00146 0.16% Castro::enforce_speed_limit() 62 0.001447 0.001447 0.001447 0.16% MLCellLinOp::smooth() 1640 0.001368 0.001368 0.001368 0.15% FabArray::mult() 43 0.00136 0.00136 0.00136 0.15% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.15% MLCellLinOp::prepareForSolve() 11 0.001279 0.001279 0.001279 0.14% MultiFab::contains_nan() 20 0.001274 0.001274 0.001274 0.14% MLCellLinOp::compGrad() 11 0.001052 0.001052 0.001052 0.12% MLMG::prepareForSolve() 11 0.0009865 0.0009865 0.0009865 0.11% FabArrayBase::getCPC() 1323 0.0008198 0.0008198 0.0008198 0.09% FabArray::FillBoundary() 4023 0.0008128 0.0008128 0.0008128 0.09% FabArrayBase::CPC::define() 454 0.0007102 0.0007102 0.0007102 0.08% FabArrayBase::getFB() 4023 0.0006267 0.0006267 0.0006267 0.07% Gravity::get_new_grav_vector() 11 0.0005946 0.0005946 0.0005946 0.07% MLCellLinOp::apply() 1142 0.0005514 0.0005514 0.0005514 0.06% Amr::InitAmr() 1 0.0004793 0.0004793 0.0004793 0.05% Gravity::get_old_grav_vector() 10 0.0004784 0.0004784 0.0004784 0.05% Amr::coarseTimeStep() 10 0.0004316 0.0004316 0.0004316 0.05% AmrLevel::FillPatch() 41 0.0003364 0.0003364 0.0003364 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003334 0.0003334 0.0003334 0.04% MultiFab::max() 11 0.0003302 0.0003302 0.0003302 0.04% main() 1 0.0002711 0.0002711 0.0002711 0.03% FabArray::ParallelCopy() 861 0.0002704 0.0002704 0.0002704 0.03% MLCellLinOp::correctionResidual() 492 0.0002552 0.0002552 0.0002552 0.03% Castro::subcycle_advance_ctu() 10 0.0002364 0.0002364 0.0002364 0.03% MLCellLinOp::defineBC() 11 0.0002239 0.0002239 0.0002239 0.02% FillPatchIterator::Initialize 41 0.0002159 0.0002159 0.0002159 0.02% MLMG::mgVcycle() 82 0.0002039 0.0002039 0.0002039 0.02% MLLinOp::defineGrids() 11 0.000184 0.000184 0.000184 0.02% Amr::timeStep() 10 0.0001568 0.0001568 0.0001568 0.02% Gravity::solve_for_phi() 10 0.0001401 0.0001401 0.0001401 0.02% Gravity::update_max_rhs() 11 0.0001347 0.0001347 0.0001347 0.01% Castro::advance() 10 0.0001302 0.0001302 0.0001302 0.01% MLMG:computeResOfCorrection() 410 0.0001292 0.0001292 0.0001292 0.01% StateData::checkPoint() 12 0.0001247 0.0001247 0.0001247 0.01% Castro::create_source_corrector() 10 0.0001234 0.0001234 0.0001234 0.01% Castro::Castro() 1 9.916e-05 9.916e-05 9.916e-05 0.01% Castro::construct_new_source() 50 9.703e-05 9.703e-05 9.703e-05 0.01% FabArrayBase::FB::FB() 56 9.62e-05 9.62e-05 9.62e-05 0.01% MLMG::actualBottomSolve() 82 9.278e-05 9.278e-05 9.278e-05 0.01% MLMG::mgVcycle_down::0 82 9.239e-05 9.239e-05 9.239e-05 0.01% Castro::clean_state() 62 8.767e-05 8.767e-05 8.767e-05 0.01% MLMG::mgVcycle_down::2 82 8.287e-05 8.287e-05 8.287e-05 0.01% MLMG::mgVcycle_down::4 82 8.24e-05 8.24e-05 8.24e-05 0.01% MLMG::mgVcycle_down::1 82 8.231e-05 8.231e-05 8.231e-05 0.01% Castro::initialize_advance() 10 7.718e-05 7.718e-05 7.718e-05 0.01% MLMG::mgVcycle_down::3 82 7.649e-05 7.649e-05 7.649e-05 0.01% MLMG::solve() 11 7.495e-05 7.495e-05 7.495e-05 0.01% Castro::enforce_consistent_e() 1 7.147e-05 7.147e-05 7.147e-05 0.01% Castro::finalize_advance() 10 6.571e-05 6.571e-05 6.571e-05 0.01% AmrLevel::checkPoint() 3 6.499e-05 6.499e-05 6.499e-05 0.01% MLMG::mgVcycle_up::4 82 6.321e-05 6.321e-05 6.321e-05 0.01% Castro::initialize_do_advance() 10 6.005e-05 6.005e-05 6.005e-05 0.01% MLMG::oneIter() 82 5.738e-05 5.738e-05 5.738e-05 0.01% MLMG::mgVcycle_up::0 82 5.456e-05 5.456e-05 5.456e-05 0.01% MLMG::mgVcycle_up::3 82 5.396e-05 5.396e-05 5.396e-05 0.01% MLMG::mgVcycle_up::1 82 5.253e-05 5.253e-05 5.253e-05 0.01% MLCellLinOp::solutionResidual() 93 5.214e-05 5.214e-05 5.214e-05 0.01% MLMG::mgVcycle_up::2 82 5.206e-05 5.206e-05 5.206e-05 0.01% Castro::do_advance_ctu() 10 4.883e-05 4.883e-05 4.883e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.793e-05 4.793e-05 4.793e-05 0.01% Castro::finalize_do_advance() 10 4.377e-05 4.377e-05 4.377e-05 0.00% StateData::define() 4 4.114e-05 4.114e-05 4.114e-05 0.00% MLMG::mgVcycle_bottom 82 3.924e-05 3.924e-05 3.924e-05 0.00% Castro::swap_state_time_levels() 10 3.871e-05 3.871e-05 3.871e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.87e-05 3.87e-05 3.87e-05 0.00% Castro::initMFs() 1 3.734e-05 3.734e-05 3.734e-05 0.00% MLMG::ResNormInf() 93 3.57e-05 3.57e-05 3.57e-05 0.00% MLMG::computeResidual() 82 3.407e-05 3.407e-05 3.407e-05 0.00% FillPatchSingleLevel 41 3.406e-05 3.406e-05 3.406e-05 0.00% Amr::defBaseLevel() 1 2.856e-05 2.856e-05 2.856e-05 0.00% Castro::do_old_sources() 10 2.853e-05 2.853e-05 2.853e-05 0.00% Amr::writeSmallPlotFile() 1 2.814e-05 2.814e-05 2.814e-05 0.00% Castro::buildMetrics() 1 2.793e-05 2.793e-05 2.793e-05 0.00% makeSFC 55 2.609e-05 2.609e-05 2.609e-05 0.00% Castro::construct_new_gravity() 10 2.457e-05 2.457e-05 2.457e-05 0.00% DistributionMapping::Distribute() 56 2.316e-05 2.316e-05 2.316e-05 0.00% MLPoisson::define() 11 2.109e-05 2.109e-05 2.109e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.005e-05 2.005e-05 2.005e-05 0.00% Amr::FinalizeInit() 1 2.001e-05 2.001e-05 2.001e-05 0.00% Castro::do_new_sources() 10 1.996e-05 1.996e-05 1.996e-05 0.00% Castro::construct_old_source() 50 1.869e-05 1.869e-05 1.869e-05 0.00% MLLinOp::define() 11 1.579e-05 1.579e-05 1.579e-05 0.00% Castro::check_for_nan() 20 1.344e-05 1.344e-05 1.344e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.307e-05 1.307e-05 1.307e-05 0.00% Castro::construct_old_gravity() 10 1.233e-05 1.233e-05 1.233e-05 0.00% Castro::apply_source_to_state() 20 1.2e-05 1.2e-05 1.2e-05 0.00% Castro::post_init() 1 1.074e-05 1.074e-05 1.074e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.023e-05 1.023e-05 1.023e-05 0.00% Gravity::swapTimeLevels() 10 9.912e-06 9.912e-06 9.912e-06 0.00% Gravity::actual_multilevel_solve() 1 9.016e-06 9.016e-06 9.016e-06 0.00% Amr::initSubcycle() 1 9.005e-06 9.005e-06 9.005e-06 0.00% MLMG::computeMLResidual() 11 8.741e-06 8.741e-06 8.741e-06 0.00% MLPoisson::prepareForSolve() 11 8.082e-06 8.082e-06 8.082e-06 0.00% Castro::post_timestep() 10 7.972e-06 7.972e-06 7.972e-06 0.00% Castro::computeNewDt() 9 7.608e-06 7.608e-06 7.608e-06 0.00% MLMG::getGradSolution() 11 6.489e-06 6.489e-06 6.489e-06 0.00% Castro::expand_state() 10 6.177e-06 6.177e-06 6.177e-06 0.00% AmrLevel::checkPointPost() 3 4.95e-06 4.95e-06 4.95e-06 0.00% Amr::InitializeInit() 1 4.781e-06 4.781e-06 4.781e-06 0.00% Gravity::set_mass_offset() 11 4.579e-06 4.579e-06 4.579e-06 0.00% MLMG::MLRhsNormInf() 11 4.546e-06 4.546e-06 4.546e-06 0.00% Castro::retry_advance_ctu() 10 4.235e-06 4.235e-06 4.235e-06 0.00% MLMG::MLResNormInf() 11 3.928e-06 3.928e-06 3.928e-06 0.00% Castro::computeInitialDt() 2 3.684e-06 3.684e-06 3.684e-06 0.00% Amr::initialInit() 1 3.612e-06 3.612e-06 3.612e-06 0.00% Castro::FluxRegCrseInit 10 3.261e-06 3.261e-06 3.261e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.248e-06 3.248e-06 3.248e-06 0.00% Castro::FluxRegFineAdd() 10 2.563e-06 2.563e-06 2.563e-06 0.00% Amr::init() 1 2.387e-06 2.387e-06 2.387e-06 0.00% AmrLevel::checkPointPre() 3 2.201e-06 2.201e-06 2.201e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.15e-06 2.15e-06 2.15e-06 0.00% Castro::post_regrid() 1 1.608e-06 1.608e-06 1.608e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8995 0.8995 0.8995 100.00% Amr::coarseTimeStep() 10 0.7374 0.7374 0.7374 81.98% Amr::timeStep() 10 0.6345 0.6345 0.6345 70.55% Castro::advance() 10 0.6239 0.6239 0.6239 69.36% Castro::subcycle_advance_ctu() 10 0.6093 0.6093 0.6093 67.74% Castro::do_advance_ctu() 10 0.609 0.609 0.609 67.71% Gravity::solve_phi_with_mlmg() 11 0.2921 0.2921 0.2921 32.47% Gravity::actual_solve_with_mlmg() 11 0.2824 0.2824 0.2824 31.40% Castro::construct_ctu_hydro_source() 10 0.2706 0.2706 0.2706 30.08% Castro::construct_new_gravity() 10 0.2629 0.2629 0.2629 29.22% MLMG::solve() 11 0.2607 0.2607 0.2607 28.98% Gravity::solve_for_phi() 10 0.2472 0.2472 0.2472 27.48% MLMG::oneIter() 82 0.2456 0.2456 0.2456 27.30% MLMG::mgVcycle() 82 0.242 0.242 0.242 26.90% VisMF::Write(FabArray) 11 0.1986 0.1986 0.1986 22.08% Amr::checkPoint() 3 0.1498 0.1498 0.1498 16.65% AmrLevel::checkPoint() 3 0.1445 0.1445 0.1445 16.07% StateData::checkPoint() 12 0.1445 0.1445 0.1445 16.06% Amr::init() 1 0.1329 0.1329 0.1329 14.77% MLCellLinOp::smooth() 1640 0.1182 0.1182 0.1182 13.14% MLCellLinOp::applyBC() 4433 0.1102 0.1102 0.1102 12.25% MLMG::mgVcycle_bottom 82 0.07592 0.07592 0.07592 8.44% MLMG::actualBottomSolve() 82 0.07588 0.07588 0.07588 8.44% MLCGSolver::bicgstab 82 0.07514 0.07514 0.07514 8.35% Castro::clean_state() 62 0.05944 0.05944 0.05944 6.61% Amr::writePlotFile() 2 0.05697 0.05697 0.05697 6.33% Amr::initialInit() 1 0.05322 0.05322 0.05322 5.92% Amr::FinalizeInit() 1 0.04888 0.04888 0.04888 5.43% Castro::post_init() 1 0.04753 0.04753 0.04753 5.28% AmrLevel::FillPatch() 41 0.04687 0.04687 0.04687 5.21% Gravity::multilevel_solve_for_new_phi() 1 0.04535 0.04535 0.04535 5.04% Gravity::actual_multilevel_solve() 1 0.04533 0.04533 0.04533 5.04% FillPatchIterator::Initialize 41 0.04268 0.04268 0.04268 4.75% FillPatchIterator::FillFromLevel0() 41 0.04113 0.04113 0.04113 4.57% FillPatchSingleLevel 41 0.04108 0.04108 0.04108 4.57% MLCellLinOp::apply() 1142 0.03716 0.03716 0.03716 4.13% StateDataPhysBCFunct::() 41 0.03703 0.03703 0.03703 4.12% MLMG::mgVcycle_down::0 82 0.03367 0.03367 0.03367 3.74% MLPoisson::Fsmooth() 3280 0.03314 0.03314 0.03314 3.68% FabArray::FillBoundary() 4023 0.03168 0.03168 0.03168 3.52% FillBoundary_nowait() 4023 0.03087 0.03087 0.03087 3.43% StateData::FillBoundary(geom) 328 0.02649 0.02649 0.02649 2.94% MLMG::mgVcycle_up::0 82 0.02526 0.02526 0.02526 2.81% Castro::computeTemp() 63 0.02363 0.02363 0.02363 2.63% Castro::initialize_do_advance() 10 0.02306 0.02306 0.02306 2.56% MLCellLinOp::correctionResidual() 492 0.02252 0.02252 0.02252 2.50% Castro::normalize_species() 62 0.02193 0.02193 0.02193 2.44% amrex::Dot() 1114 0.02105 0.02105 0.02105 2.34% MLMG:computeResOfCorrection() 410 0.01982 0.01982 0.01982 2.20% Castro::do_old_sources() 10 0.01948 0.01948 0.01948 2.17% Gravity::get_new_grav_vector() 11 0.01738 0.01738 0.01738 1.93% MLPoisson::define() 11 0.01726 0.01726 0.01726 1.92% MLMG::mgVcycle_down::1 82 0.01627 0.01627 0.01627 1.81% amrex::Copy() 1029 0.01525 0.01525 0.01525 1.69% Castro::construct_old_gravity() 10 0.01519 0.01519 0.01519 1.69% Gravity::get_old_grav_vector() 10 0.01517 0.01517 0.01517 1.69% MLMG::mgVcycle_down::2 82 0.01511 0.01511 0.01511 1.68% MLMG::mgVcycle_down::3 82 0.01473 0.01473 0.01473 1.64% FabArray::norminf() 743 0.01468 0.01468 0.01468 1.63% FabArray::ParallelCopy() 861 0.01459 0.01459 0.01459 1.62% MLMG::mgVcycle_down::4 82 0.01457 0.01457 0.01457 1.62% Castro::do_new_sources() 10 0.01447 0.01447 0.01447 1.61% FabArray::ParallelCopy_nowait() 861 0.01432 0.01432 0.01432 1.59% Castro::initialize_advance() 10 0.01387 0.01387 0.01387 1.54% FabArray::setVal() 1144 0.01348 0.01348 0.01348 1.50% Castro::enforce_min_density() 62 0.01329 0.01329 0.01329 1.48% MLCGSolver::ParallelAllReduce 1514 0.01267 0.01267 0.01267 1.41% MLMG::addInterpCorrection() 410 0.01205 0.01205 0.01205 1.34% MLCellLinOp::defineAuxData() 11 0.01183 0.01183 0.01183 1.32% Castro::expand_state() 10 0.01177 0.01177 0.01177 1.31% MLMG::mgVcycle_up::4 82 0.01177 0.01177 0.01177 1.31% MLMG::mgVcycle_up::1 82 0.01174 0.01174 0.01174 1.30% amrex::average_down 410 0.01149 0.01149 0.01149 1.28% MLMG::mgVcycle_up::2 82 0.01146 0.01146 0.01146 1.27% MLMG::mgVcycle_up::3 82 0.01127 0.01127 0.01127 1.25% MLPoisson::Fapply() 1142 0.01057 0.01057 0.01057 1.18% Castro::post_timestep() 10 0.01049 0.01049 0.01049 1.17% Gravity::fill_multipole_BCs() 11 0.009419 0.009419 0.009419 1.05% FabArray::Saxpy() 813 0.008379 0.008379 0.008379 0.93% FabArray::Xpay() 821 0.00826 0.00826 0.00826 0.92% MLCellLinOp::solutionResidual() 93 0.007518 0.007518 0.007518 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006903 0.006903 0.006903 0.77% Castro::estTimeStep() 21 0.006406 0.006406 0.006406 0.71% MLMG::computeResidual() 82 0.006213 0.006213 0.006213 0.69% MLCellLinOp::defineBC() 11 0.005138 0.005138 0.005138 0.57% MLMG::prepareForSolve() 11 0.005039 0.005039 0.005039 0.56% BndryData::define() 11 0.004914 0.004914 0.004914 0.55% FabArray::LinComb() 557 0.004612 0.004612 0.004612 0.51% amrex::Add() 164 0.004399 0.004399 0.004399 0.49% Amr::InitializeInit() 1 0.00433 0.00433 0.00433 0.48% Amr::defBaseLevel() 1 0.004325 0.004325 0.004325 0.48% Castro::initData() 1 0.003633 0.003633 0.003633 0.40% Castro::construct_new_source() 50 0.00341 0.00341 0.00341 0.38% Castro::construct_new_gravity_source() 10 0.003313 0.003313 0.003313 0.37% Castro::computeNewDt() 9 0.003007 0.003007 0.003007 0.33% Castro::construct_old_source() 50 0.002897 0.002897 0.002897 0.32% Castro::construct_old_gravity_source() 10 0.002878 0.002878 0.002878 0.32% Castro::finalize_do_advance() 10 0.002431 0.002431 0.002431 0.27% MLMG::ResNormInf() 93 0.002171 0.002171 0.002171 0.24% Castro::apply_source_to_state() 20 0.001877 0.001877 0.001877 0.21% check_for_negative_density() 10 0.001836 0.001836 0.001836 0.20% Castro::reset_internal_energy(Fab) 504 0.001787 0.001787 0.001787 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001775 0.001775 0.001775 0.20% MLMG::getGradSolution() 11 0.001541 0.001541 0.001541 0.17% MLCellLinOp::compGrad() 11 0.001534 0.001534 0.001534 0.17% FabArrayBase::getCPC() 1323 0.00153 0.00153 0.00153 0.17% MLCellLinOp::setLevelBC() 11 0.00146 0.00146 0.00146 0.16% Castro::enforce_speed_limit() 62 0.001447 0.001447 0.001447 0.16% FabArray::mult() 43 0.00136 0.00136 0.00136 0.15% MLMG::computeMLResidual() 11 0.001348 0.001348 0.001348 0.15% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.15% Castro::check_for_nan() 20 0.001287 0.001287 0.001287 0.14% MLPoisson::prepareForSolve() 11 0.001287 0.001287 0.001287 0.14% MLCellLinOp::prepareForSolve() 11 0.001279 0.001279 0.001279 0.14% MultiFab::contains_nan() 20 0.001274 0.001274 0.001274 0.14% Castro::post_regrid() 1 0.001056 0.001056 0.001056 0.12% Castro::computeInitialDt() 2 0.001023 0.001023 0.001023 0.11% Gravity::update_max_rhs() 11 0.0009929 0.0009929 0.0009929 0.11% FabArrayBase::getFB() 4023 0.0007229 0.0007229 0.0007229 0.08% FabArrayBase::CPC::define() 454 0.0007102 0.0007102 0.0007102 0.08% Castro::Castro() 1 0.0006075 0.0006075 0.0006075 0.07% Castro::finalize_advance() 10 0.0006067 0.0006067 0.0006067 0.07% Amr::InitAmr() 1 0.0004883 0.0004883 0.0004883 0.05% Gravity::swapTimeLevels() 10 0.000445 0.000445 0.000445 0.05% MLMG::MLResNormInf() 11 0.0003388 0.0003388 0.0003388 0.04% MultiFab::max() 11 0.0003302 0.0003302 0.0003302 0.04% Castro::buildMetrics() 1 0.0002997 0.0002997 0.0002997 0.03% MLLinOp::define() 11 0.0002629 0.0002629 0.0002629 0.03% MLLinOp::defineGrids() 11 0.0002471 0.0002471 0.0002471 0.03% MLMG::MLRhsNormInf() 11 0.0002219 0.0002219 0.0002219 0.02% Castro::create_source_corrector() 10 0.0001234 0.0001234 0.0001234 0.01% FabArrayBase::FB::FB() 56 9.62e-05 9.62e-05 9.62e-05 0.01% Castro::enforce_consistent_e() 1 7.147e-05 7.147e-05 7.147e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.098e-05 6.098e-05 6.098e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.137e-05 5.137e-05 5.137e-05 0.01% makeSFC 55 4.791e-05 4.791e-05 4.791e-05 0.01% StateData::define() 4 4.114e-05 4.114e-05 4.114e-05 0.00% Castro::swap_state_time_levels() 10 3.871e-05 3.871e-05 3.871e-05 0.00% Castro::initMFs() 1 3.734e-05 3.734e-05 3.734e-05 0.00% Amr::writeSmallPlotFile() 1 2.814e-05 2.814e-05 2.814e-05 0.00% DistributionMapping::Distribute() 56 2.316e-05 2.316e-05 2.316e-05 0.00% Amr::initSubcycle() 1 9.005e-06 9.005e-06 9.005e-06 0.00% AmrLevel::checkPointPost() 3 4.95e-06 4.95e-06 4.95e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.588e-06 4.588e-06 4.588e-06 0.00% Gravity::set_mass_offset() 11 4.579e-06 4.579e-06 4.579e-06 0.00% Castro::retry_advance_ctu() 10 4.235e-06 4.235e-06 4.235e-06 0.00% Castro::FluxRegCrseInit 10 3.261e-06 3.261e-06 3.261e-06 0.00% Castro::FluxRegFineAdd() 10 2.563e-06 2.563e-06 2.563e-06 0.00% AmrLevel::checkPointPre() 3 2.201e-06 2.201e-06 2.201e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.15e-06 2.15e-06 2.15e-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 149 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 131 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1017 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1774 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3564 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 200 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7523 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2135 B 2048 KiB Gravity::solve_for_phi() 80 80 562 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 325 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 3473 B 480 KiB VisMF::Write(FabArray) 656 656 3392 B 320 KiB Castro::normalize_species() 62 62 7946 B 320 KiB amrex::average_down 1067 1067 1277 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1143 B 257 KiB amrex::Dot() 1360 1360 3439 B 160 KiB FabArray::norminf() 907 907 2402 B 160 KiB check_for_negative_density() 10 10 311 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3479 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 292 B 9648 B MLCellLinOp::applyBC() 8866 8866 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3911 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 121 B 1472 B MLCellLinOp::defineBC() 66 66 367 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 565 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 503 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3479 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 292 B 9648 B MLCellLinOp::applyBC() 4433 4433 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3911 B 6144 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B StateData::FillBoundary(geom) 1992 1992 39 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 297 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [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.10-6-gd197c8f5db9e) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-6-gd197c8f5db9e) initialized Starting run at 08:16:43 UTC on 2023-10-06. Successfully read inputs file ... Castro git describe: 23.10-7-g9701338cc AMReX git describe: 23.10-6-gd197c8f5d Microphysics git describe: 23.10-5-g0ad0ab25 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.4979352 Restart time = 0.043114123 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.055463936 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.047841486 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.050080707 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.082928035 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.076946135 [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.066130571 seconds Ending run at 08:16:43 UTC on 2023-10-06. Run time = 0.423492285 Run time without initialization = 0.37982667 Average number of zones advanced per microsecond: 3.451 Average number of zones advanced per microsecond per rank: 3.451 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4235 ... 0.4235 ... 0.4235 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1243 0.1243 0.1243 29.35% Amr::writePlotFile() 1 0.03751 0.03751 0.03751 8.86% MLCellLinOp::applyBC() 1946 0.03381 0.03381 0.03381 7.98% VisMF::Read() 3 0.0317 0.0317 0.0317 7.49% VisMF::Write(FabArray) 1 0.02845 0.02845 0.02845 6.72% MLPoisson::Fsmooth() 1440 0.01416 0.01416 0.01416 3.34% StateData::FillBoundary(geom) 160 0.01298 0.01298 0.01298 3.06% FillBoundary_nowait() 1766 0.01269 0.01269 0.01269 3.00% Castro::normalize_species() 30 0.01092 0.01092 0.01092 2.58% amrex::Dot() 484 0.008931 0.008931 0.008931 2.11% amrex::Copy() 463 0.007181 0.007181 0.007181 1.70% Castro::computeTemp() 30 0.006779 0.006779 0.006779 1.60% FabArray::setVal() 537 0.006498 0.006498 0.006498 1.53% FabArray::norminf() 326 0.006391 0.006391 0.006391 1.51% Castro::enforce_min_density() 30 0.006244 0.006244 0.006244 1.47% FabArray::ParallelCopy_nowait() 380 0.006056 0.006056 0.006056 1.43% Gravity::fill_multipole_BCs() 6 0.005587 0.005587 0.005587 1.32% MLCellLinOp::defineAuxData() 6 0.005552 0.005552 0.005552 1.31% StateDataPhysBCFunct::() 20 0.004773 0.004773 0.004773 1.13% Amr::restart() 1 0.004703 0.004703 0.004703 1.11% MLPoisson::Fapply() 500 0.004532 0.004532 0.004532 1.07% FabArray::Saxpy() 355 0.003727 0.003727 0.003727 0.88% FabArray::Xpay() 361 0.003586 0.003586 0.003586 0.85% Castro::estTimeStep() 10 0.003073 0.003073 0.003073 0.73% MLMG::addInterpCorrection() 180 0.003045 0.003045 0.003045 0.72% amrex::average_down 180 0.002651 0.002651 0.002651 0.63% FabArray::LinComb() 242 0.00223 0.00223 0.00223 0.53% Castro::reset_internal_energy(MultiFab) 30 0.002154 0.002154 0.002154 0.51% BndryData::define() 6 0.002135 0.002135 0.002135 0.50% amrex::Add() 72 0.001888 0.001888 0.001888 0.45% Castro::construct_new_gravity_source() 5 0.001766 0.001766 0.001766 0.42% Castro::construct_old_gravity_source() 5 0.001488 0.001488 0.001488 0.35% MLCGSolver::bicgstab 36 0.0009819 0.0009819 0.0009819 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009569 0.0009569 0.0009569 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008329 0.0008329 0.0008329 0.20% MLCellLinOp::setLevelBC() 6 0.000816 0.000816 0.000816 0.19% Castro::reset_internal_energy(Fab) 240 0.0007887 0.0007887 0.0007887 0.19% MLCellLinOp::prepareForSolve() 6 0.0007102 0.0007102 0.0007102 0.17% FabArray::mult() 22 0.0006858 0.0006858 0.0006858 0.16% FabArray::setDomainBndry() 20 0.000685 0.000685 0.000685 0.16% check_for_negative_density() 5 0.0006842 0.0006842 0.0006842 0.16% MultiFab::contains_nan() 10 0.0006598 0.0006598 0.0006598 0.16% MLCellLinOp::compGrad() 6 0.0005862 0.0005862 0.0005862 0.14% MLMG::prepareForSolve() 6 0.0005316 0.0005316 0.0005316 0.13% MLCellLinOp::smooth() 720 0.000513 0.000513 0.000513 0.12% FabArrayBase::CPC::define() 244 0.0004462 0.0004462 0.0004462 0.11% Castro::enforce_speed_limit() 30 0.0004343 0.0004343 0.0004343 0.10% Amr::InitAmr() 1 0.000394 0.000394 0.000394 0.09% FabArrayBase::getCPC() 632 0.000372 0.000372 0.000372 0.09% FabArray::FillBoundary() 1766 0.0003587 0.0003587 0.0003587 0.08% Gravity::get_old_grav_vector() 5 0.0003338 0.0003338 0.0003338 0.08% Gravity::get_new_grav_vector() 5 0.0002826 0.0002826 0.0002826 0.07% FabArrayBase::getFB() 1766 0.0002612 0.0002612 0.0002612 0.06% main() 1 0.000256 0.000256 0.000256 0.06% MLCellLinOp::apply() 500 0.0002052 0.0002052 0.0002052 0.05% MultiFab::max() 6 0.0002034 0.0002034 0.0002034 0.05% Amr::coarseTimeStep() 5 0.0001707 0.0001707 0.0001707 0.04% AmrLevel::FillPatch() 20 0.0001634 0.0001634 0.0001634 0.04% MLCGSolver::ParallelAllReduce 659 0.0001317 0.0001317 0.0001317 0.03% Castro::subcycle_advance_ctu() 5 0.0001226 0.0001226 0.0001226 0.03% MLCellLinOp::defineBC() 6 0.0001157 0.0001157 0.0001157 0.03% FabArray::ParallelCopy() 380 0.0001125 0.0001125 0.0001125 0.03% FillPatchIterator::Initialize 20 0.0001053 0.0001053 0.0001053 0.02% MLCellLinOp::correctionResidual() 216 0.0001027 0.0001027 0.0001027 0.02% Castro::create_source_corrector() 5 9.836e-05 9.836e-05 9.836e-05 0.02% MLLinOp::defineGrids() 6 9.387e-05 9.387e-05 9.387e-05 0.02% MLMG::mgVcycle() 36 8.264e-05 8.264e-05 8.264e-05 0.02% Amr::timeStep() 5 8.247e-05 8.247e-05 8.247e-05 0.02% Gravity::solve_for_phi() 5 7.882e-05 7.882e-05 7.882e-05 0.02% Gravity::update_max_rhs() 6 6.547e-05 6.547e-05 6.547e-05 0.02% StateData::restartDoit() 4 6.465e-05 6.465e-05 6.465e-05 0.02% AmrLevel::restart() 1 6.46e-05 6.46e-05 6.46e-05 0.02% FabArrayBase::FB::FB() 26 6.309e-05 6.309e-05 6.309e-05 0.01% Castro::initialize_do_advance() 5 6.289e-05 6.289e-05 6.289e-05 0.01% MLMG:computeResOfCorrection() 180 5.717e-05 5.717e-05 5.717e-05 0.01% Castro::initialize_advance() 5 5.711e-05 5.711e-05 5.711e-05 0.01% Castro::advance() 5 5.479e-05 5.479e-05 5.479e-05 0.01% Castro::do_advance_ctu() 5 4.418e-05 4.418e-05 4.418e-05 0.01% MLMG::actualBottomSolve() 36 4.137e-05 4.137e-05 4.137e-05 0.01% Castro::finalize_do_advance() 5 3.914e-05 3.914e-05 3.914e-05 0.01% MLMG::mgVcycle_down::0 36 3.837e-05 3.837e-05 3.837e-05 0.01% Castro::buildMetrics() 1 3.664e-05 3.664e-05 3.664e-05 0.01% Castro::clean_state() 30 3.524e-05 3.524e-05 3.524e-05 0.01% Castro::post_timestep() 5 3.471e-05 3.471e-05 3.471e-05 0.01% MLMG::solve() 6 3.449e-05 3.449e-05 3.449e-05 0.01% MLMG::mgVcycle_down::1 36 3.431e-05 3.431e-05 3.431e-05 0.01% MLMG::mgVcycle_down::2 36 3.328e-05 3.328e-05 3.328e-05 0.01% MLMG::mgVcycle_down::4 36 3.255e-05 3.255e-05 3.255e-05 0.01% MLMG::mgVcycle_down::3 36 3.113e-05 3.113e-05 3.113e-05 0.01% Castro::finalize_advance() 5 3.033e-05 3.033e-05 3.033e-05 0.01% MLMG::mgVcycle_up::4 36 2.976e-05 2.976e-05 2.976e-05 0.01% Castro::post_restart() 1 2.971e-05 2.971e-05 2.971e-05 0.01% Amr::writeSmallPlotFile() 1 2.856e-05 2.856e-05 2.856e-05 0.01% Castro::construct_new_source() 25 2.716e-05 2.716e-05 2.716e-05 0.01% MLCellLinOp::solutionResidual() 42 2.702e-05 2.702e-05 2.702e-05 0.01% Castro::construct_old_source() 25 2.689e-05 2.689e-05 2.689e-05 0.01% Castro::swap_state_time_levels() 5 2.495e-05 2.495e-05 2.495e-05 0.01% Castro::initMFs() 1 2.476e-05 2.476e-05 2.476e-05 0.01% MLMG::oneIter() 36 2.438e-05 2.438e-05 2.438e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.303e-05 2.303e-05 2.303e-05 0.01% MLMG::mgVcycle_up::0 36 2.17e-05 2.17e-05 2.17e-05 0.01% MLMG::mgVcycle_up::3 36 2.119e-05 2.119e-05 2.119e-05 0.01% MLMG::mgVcycle_up::2 36 2.088e-05 2.088e-05 2.088e-05 0.00% MLMG::mgVcycle_up::1 36 2.062e-05 2.062e-05 2.062e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.673e-05 1.673e-05 1.673e-05 0.00% MLMG::ResNormInf() 42 1.659e-05 1.659e-05 1.659e-05 0.00% MLMG::mgVcycle_bottom 36 1.659e-05 1.659e-05 1.659e-05 0.00% FillPatchSingleLevel 20 1.485e-05 1.485e-05 1.485e-05 0.00% MLPoisson::define() 6 1.428e-05 1.428e-05 1.428e-05 0.00% makeSFC 30 1.327e-05 1.327e-05 1.327e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.309e-05 1.309e-05 1.309e-05 0.00% Castro::construct_new_gravity() 5 1.287e-05 1.287e-05 1.287e-05 0.00% MLMG::computeResidual() 36 1.27e-05 1.27e-05 1.27e-05 0.00% Castro::do_old_sources() 5 1.174e-05 1.174e-05 1.174e-05 0.00% MLLinOp::define() 6 1.068e-05 1.068e-05 1.068e-05 0.00% Castro::do_new_sources() 5 1.013e-05 1.013e-05 1.013e-05 0.00% DistributionMapping::Distribute() 31 9.403e-06 9.403e-06 9.403e-06 0.00% Amr::initSubcycle() 1 8.924e-06 8.924e-06 8.924e-06 0.00% Gravity::actual_multilevel_solve() 1 7.913e-06 7.913e-06 7.913e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.996e-06 6.996e-06 6.996e-06 0.00% Castro::check_for_nan() 10 6.914e-06 6.914e-06 6.914e-06 0.00% Castro::construct_old_gravity() 5 6.492e-06 6.492e-06 6.492e-06 0.00% Castro::apply_source_to_state() 10 6.431e-06 6.431e-06 6.431e-06 0.00% Gravity::swapTimeLevels() 5 4.579e-06 4.579e-06 4.579e-06 0.00% MLMG::computeMLResidual() 6 4.138e-06 4.138e-06 4.138e-06 0.00% Castro::computeNewDt() 5 4.008e-06 4.008e-06 4.008e-06 0.00% MLPoisson::prepareForSolve() 6 3.876e-06 3.876e-06 3.876e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.272e-06 3.272e-06 3.272e-06 0.00% MLMG::getGradSolution() 6 2.891e-06 2.891e-06 2.891e-06 0.00% Castro::expand_state() 5 2.835e-06 2.835e-06 2.835e-06 0.00% MLMG::MLRhsNormInf() 6 2.327e-06 2.327e-06 2.327e-06 0.00% MLMG::MLResNormInf() 6 2.269e-06 2.269e-06 2.269e-06 0.00% Gravity::set_mass_offset() 6 2.139e-06 2.139e-06 2.139e-06 0.00% Castro::retry_advance_ctu() 5 2.088e-06 2.088e-06 2.088e-06 0.00% Castro::FluxRegCrseInit 5 1.468e-06 1.468e-06 1.468e-06 0.00% Castro::FluxRegFineAdd() 5 1.19e-06 1.19e-06 1.19e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.154e-06 1.154e-06 1.154e-06 0.00% Amr::init() 1 1.025e-06 1.025e-06 1.025e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4235 0.4235 0.4235 100.00% Amr::coarseTimeStep() 5 0.3134 0.3134 0.3134 74.00% Amr::timeStep() 5 0.3113 0.3113 0.3113 73.50% Castro::advance() 5 0.3058 0.3058 0.3058 72.19% Castro::subcycle_advance_ctu() 5 0.2979 0.2979 0.2979 70.35% Castro::do_advance_ctu() 5 0.2978 0.2978 0.2978 70.32% Castro::construct_new_gravity() 5 0.1324 0.1324 0.1324 31.26% Gravity::solve_phi_with_mlmg() 6 0.13 0.13 0.13 30.69% Castro::construct_ctu_hydro_source() 5 0.129 0.129 0.129 30.45% Gravity::solve_for_phi() 5 0.1244 0.1244 0.1244 29.37% Gravity::actual_solve_with_mlmg() 6 0.1242 0.1242 0.1242 29.32% MLMG::solve() 6 0.1123 0.1123 0.1123 26.52% MLMG::oneIter() 36 0.105 0.105 0.105 24.79% MLMG::mgVcycle() 36 0.1034 0.1034 0.1034 24.42% Amr::writePlotFile() 1 0.06623 0.06623 0.06623 15.64% MLCellLinOp::smooth() 720 0.05034 0.05034 0.05034 11.89% MLCellLinOp::applyBC() 1946 0.04718 0.04718 0.04718 11.14% Amr::init() 1 0.04316 0.04316 0.04316 10.19% Amr::restart() 1 0.04316 0.04316 0.04316 10.19% MLMG::mgVcycle_bottom 36 0.0324 0.0324 0.0324 7.65% MLMG::actualBottomSolve() 36 0.03239 0.03239 0.03239 7.65% MLCGSolver::bicgstab 36 0.03208 0.03208 0.03208 7.57% AmrLevel::restart() 1 0.03204 0.03204 0.03204 7.57% StateData::restartDoit() 4 0.03198 0.03198 0.03198 7.55% VisMF::Read() 3 0.0317 0.0317 0.0317 7.49% VisMF::Write(FabArray) 1 0.02845 0.02845 0.02845 6.72% Castro::clean_state() 30 0.02736 0.02736 0.02736 6.46% AmrLevel::FillPatch() 20 0.02264 0.02264 0.02264 5.35% FillPatchIterator::Initialize 20 0.02059 0.02059 0.02059 4.86% FillPatchIterator::FillFromLevel0() 20 0.0198 0.0198 0.0198 4.68% FillPatchSingleLevel 20 0.01978 0.01978 0.01978 4.67% StateDataPhysBCFunct::() 20 0.01775 0.01775 0.01775 4.19% MLCellLinOp::apply() 500 0.01598 0.01598 0.01598 3.77% MLMG::mgVcycle_down::0 36 0.01439 0.01439 0.01439 3.40% MLPoisson::Fsmooth() 1440 0.01416 0.01416 0.01416 3.34% FabArray::FillBoundary() 1766 0.01338 0.01338 0.01338 3.16% FillBoundary_nowait() 1766 0.01302 0.01302 0.01302 3.07% StateData::FillBoundary(geom) 160 0.01298 0.01298 0.01298 3.06% Castro::normalize_species() 30 0.01092 0.01092 0.01092 2.58% Castro::initialize_do_advance() 5 0.0108 0.0108 0.0108 2.55% MLMG::mgVcycle_up::0 36 0.01076 0.01076 0.01076 2.54% Castro::computeTemp() 30 0.009722 0.009722 0.009722 2.30% MLCellLinOp::correctionResidual() 216 0.009634 0.009634 0.009634 2.27% Castro::do_old_sources() 5 0.009499 0.009499 0.009499 2.24% MLPoisson::define() 6 0.00932 0.00932 0.00932 2.20% amrex::Dot() 484 0.008931 0.008931 0.008931 2.11% MLMG:computeResOfCorrection() 180 0.008481 0.008481 0.008481 2.00% Gravity::get_new_grav_vector() 5 0.007897 0.007897 0.007897 1.86% Castro::construct_old_gravity() 5 0.007549 0.007549 0.007549 1.78% Gravity::get_old_grav_vector() 5 0.007543 0.007543 0.007543 1.78% Castro::initialize_advance() 5 0.007458 0.007458 0.007458 1.76% amrex::Copy() 463 0.007181 0.007181 0.007181 1.70% MLMG::mgVcycle_down::1 36 0.00702 0.00702 0.00702 1.66% Castro::do_new_sources() 5 0.006922 0.006922 0.006922 1.63% FabArray::ParallelCopy() 380 0.006575 0.006575 0.006575 1.55% FabArray::setVal() 537 0.006498 0.006498 0.006498 1.53% FabArray::ParallelCopy_nowait() 380 0.006463 0.006463 0.006463 1.53% MLMG::mgVcycle_down::2 36 0.00641 0.00641 0.00641 1.51% FabArray::norminf() 326 0.006391 0.006391 0.006391 1.51% MLCellLinOp::defineAuxData() 6 0.006353 0.006353 0.006353 1.50% MLMG::mgVcycle_down::3 36 0.006286 0.006286 0.006286 1.48% Castro::enforce_min_density() 30 0.006244 0.006244 0.006244 1.47% MLMG::mgVcycle_down::4 36 0.006233 0.006233 0.006233 1.47% Castro::post_restart() 1 0.00623 0.00623 0.00623 1.47% Castro::expand_state() 5 0.005911 0.005911 0.005911 1.40% Gravity::multilevel_solve_for_new_phi() 1 0.005854 0.005854 0.005854 1.38% Gravity::actual_multilevel_solve() 1 0.005837 0.005837 0.005837 1.38% Gravity::fill_multipole_BCs() 6 0.005712 0.005712 0.005712 1.35% Castro::post_timestep() 5 0.00547 0.00547 0.00547 1.29% MLCGSolver::ParallelAllReduce 659 0.005415 0.005415 0.005415 1.28% MLMG::addInterpCorrection() 180 0.005314 0.005314 0.005314 1.25% MLMG::mgVcycle_up::4 36 0.005098 0.005098 0.005098 1.20% MLMG::mgVcycle_up::1 36 0.005005 0.005005 0.005005 1.18% amrex::average_down 180 0.004939 0.004939 0.004939 1.17% MLMG::mgVcycle_up::2 36 0.004915 0.004915 0.004915 1.16% MLMG::mgVcycle_up::3 36 0.004834 0.004834 0.004834 1.14% MLPoisson::Fapply() 500 0.004532 0.004532 0.004532 1.07% FabArray::Saxpy() 355 0.003727 0.003727 0.003727 0.88% FabArray::Xpay() 361 0.003586 0.003586 0.003586 0.85% MLCellLinOp::solutionResidual() 42 0.003445 0.003445 0.003445 0.81% Castro::estTimeStep() 10 0.003073 0.003073 0.003073 0.73% Castro::reset_internal_energy(MultiFab) 30 0.002943 0.002943 0.002943 0.69% MLCellLinOp::defineBC() 6 0.002819 0.002819 0.002819 0.67% MLMG::prepareForSolve() 6 0.002741 0.002741 0.002741 0.65% BndryData::define() 6 0.002703 0.002703 0.002703 0.64% MLMG::computeResidual() 36 0.002683 0.002683 0.002683 0.63% FabArray::LinComb() 242 0.00223 0.00223 0.00223 0.53% Castro::computeNewDt() 5 0.001949 0.001949 0.001949 0.46% amrex::Add() 72 0.001888 0.001888 0.001888 0.45% Castro::construct_new_source() 25 0.001793 0.001793 0.001793 0.42% Castro::construct_new_gravity_source() 5 0.001766 0.001766 0.001766 0.42% Castro::construct_old_source() 25 0.001515 0.001515 0.001515 0.36% Castro::construct_old_gravity_source() 5 0.001488 0.001488 0.001488 0.35% Castro::finalize_do_advance() 5 0.001167 0.001167 0.001167 0.28% MLMG::ResNormInf() 42 0.000999 0.000999 0.000999 0.24% Castro::apply_source_to_state() 10 0.0009597 0.0009597 0.0009597 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009569 0.0009569 0.0009569 0.23% MLMG::getGradSolution() 6 0.0008612 0.0008612 0.0008612 0.20% MLCellLinOp::compGrad() 6 0.0008583 0.0008583 0.0008583 0.20% FabArrayBase::getCPC() 632 0.0008181 0.0008181 0.0008181 0.19% MLCellLinOp::setLevelBC() 6 0.000816 0.000816 0.000816 0.19% Castro::reset_internal_energy(Fab) 240 0.0007887 0.0007887 0.0007887 0.19% MLMG::computeMLResidual() 6 0.0007794 0.0007794 0.0007794 0.18% MLPoisson::prepareForSolve() 6 0.0007141 0.0007141 0.0007141 0.17% MLCellLinOp::prepareForSolve() 6 0.0007102 0.0007102 0.0007102 0.17% Gravity::update_max_rhs() 6 0.0007099 0.0007099 0.0007099 0.17% FabArray::mult() 22 0.0006858 0.0006858 0.0006858 0.16% FabArray::setDomainBndry() 20 0.000685 0.000685 0.000685 0.16% check_for_negative_density() 5 0.0006842 0.0006842 0.0006842 0.16% Castro::check_for_nan() 10 0.0006667 0.0006667 0.0006667 0.16% MultiFab::contains_nan() 10 0.0006598 0.0006598 0.0006598 0.16% FabArrayBase::CPC::define() 244 0.0004462 0.0004462 0.0004462 0.11% Castro::enforce_speed_limit() 30 0.0004343 0.0004343 0.0004343 0.10% Amr::InitAmr() 1 0.0004029 0.0004029 0.0004029 0.10% FabArrayBase::getFB() 1766 0.0003243 0.0003243 0.0003243 0.08% Castro::finalize_advance() 5 0.0002979 0.0002979 0.0002979 0.07% Gravity::swapTimeLevels() 5 0.0002289 0.0002289 0.0002289 0.05% MultiFab::max() 6 0.0002034 0.0002034 0.0002034 0.05% MLMG::MLResNormInf() 6 0.000198 0.000198 0.000198 0.05% Castro::buildMetrics() 1 0.0001593 0.0001593 0.0001593 0.04% MLLinOp::define() 6 0.0001341 0.0001341 0.0001341 0.03% MLLinOp::defineGrids() 6 0.0001234 0.0001234 0.0001234 0.03% MLMG::MLRhsNormInf() 6 0.00012 0.00012 0.00012 0.03% Castro::create_source_corrector() 5 9.836e-05 9.836e-05 9.836e-05 0.02% FabArrayBase::FB::FB() 26 6.309e-05 6.309e-05 6.309e-05 0.01% Amr::writeSmallPlotFile() 1 2.856e-05 2.856e-05 2.856e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.839e-05 2.839e-05 2.839e-05 0.01% Castro::swap_state_time_levels() 5 2.495e-05 2.495e-05 2.495e-05 0.01% Castro::initMFs() 1 2.476e-05 2.476e-05 2.476e-05 0.01% makeSFC 30 2.139e-05 2.139e-05 2.139e-05 0.01% DistributionMapping::Distribute() 31 9.403e-06 9.403e-06 9.403e-06 0.00% Amr::initSubcycle() 1 8.924e-06 8.924e-06 8.924e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.551e-06 4.551e-06 4.551e-06 0.00% Gravity::set_mass_offset() 6 2.139e-06 2.139e-06 2.139e-06 0.00% Castro::retry_advance_ctu() 5 2.088e-06 2.088e-06 2.088e-06 0.00% Castro::FluxRegCrseInit 5 1.468e-06 1.468e-06 1.468e-06 0.00% Castro::FluxRegFineAdd() 5 1.19e-06 1.19e-06 1.19e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.154e-06 1.154e-06 1.154e-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 200 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 138 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1063 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1982 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6908 KiB 14 MiB MLMG::prepareForSolve() 361 361 3255 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 190 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6895 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3325 B 2048 KiB Gravity::solve_for_phi() 40 40 600 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 300 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 192 KiB 671 KiB Castro::estTimeStep() 10 10 3482 B 480 KiB VisMF::Write(FabArray) 112 112 1294 B 320 KiB Castro::normalize_species() 30 30 8401 B 320 KiB amrex::average_down 469 469 1166 B 257 KiB MLMG::addInterpCorrection() 468 468 1065 B 257 KiB amrex::Dot() 592 592 3097 B 160 KiB FabArray::norminf() 398 398 2221 B 160 KiB check_for_negative_density() 5 5 254 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3155 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 259 B 9648 B MLCellLinOp::applyBC() 3892 3892 206 B 9344 B amrex::Copy() 56 56 5960 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 110 B 1472 B MLCellLinOp::defineBC() 36 36 337 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1145 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 193 KiB 3584 KiB VisMF::Read() 24 24 131 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3155 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 260 B 9648 B MLCellLinOp::applyBC() 1946 1946 205 B 9328 B amrex::Copy() 56 56 5960 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2711 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 516 B 1296 B amrex::average_down 37 37 227 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [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.10-6-gd197c8f5db9e) finalized