Initializing AMReX (23.11-5-gd36463103dae)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-5-gd36463103dae) initialized Starting run at 09:05:39 UTC on 2023-11-08. Successfully read inputs file ... Castro git describe: 23.11-3-g640a8312a AMReX git describe: 23.11-5-gd36463103 Microphysics git describe: 23.11-1-g39a0f401 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.051014318 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028370677 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.052998526 [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.051529215 [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.073030598 [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.073952644 [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.051283857 [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.049602348 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.064182618 [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.066531046 [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.075674303 [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.075162263 [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.050717909 [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.048869683 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028389409 seconds Ending run at 09:05:40 UTC on 2023-11-08. Run time = 0.894275631 Run time without initialization = 0.762605026 Average number of zones advanced per microsecond: 3.437 Average number of zones advanced per microsecond per rank: 3.437 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8943 ... 0.8943 ... 0.8943 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2537 0.2537 0.2537 28.37% VisMF::Write(FabArray) 11 0.1976 0.1976 0.1976 22.10% MLCellLinOp::applyBC() 4379 0.07898 0.07898 0.07898 8.83% MLPoisson::Fsmooth() 3240 0.033 0.033 0.033 3.69% FillBoundary_nowait() 3974 0.0303 0.0303 0.0303 3.39% StateData::FillBoundary(geom) 328 0.02668 0.02668 0.02668 2.98% Castro::normalize_species() 62 0.02095 0.02095 0.02095 2.34% amrex::Dot() 1100 0.02085 0.02085 0.02085 2.33% Castro::computeTemp() 63 0.01627 0.01627 0.01627 1.82% amrex::Copy() 1019 0.01515 0.01515 0.01515 1.69% FabArray::norminf() 734 0.0146 0.0146 0.0146 1.63% FabArray::setVal() 1135 0.01349 0.01349 0.01349 1.51% FabArray::ParallelCopy_nowait() 851 0.01339 0.01339 0.01339 1.50% Castro::enforce_min_density() 62 0.01322 0.01322 0.01322 1.48% StateDataPhysBCFunct::() 41 0.01113 0.01113 0.01113 1.24% MLPoisson::Fapply() 1128 0.0106 0.0106 0.0106 1.19% MLCellLinOp::defineAuxData() 11 0.01049 0.01049 0.01049 1.17% Gravity::fill_multipole_BCs() 11 0.00931 0.00931 0.00931 1.04% FabArray::Saxpy() 803 0.008424 0.008424 0.008424 0.94% FabArray::Xpay() 811 0.008262 0.008262 0.008262 0.92% MLMG::addInterpCorrection() 405 0.006728 0.006728 0.006728 0.75% Castro::estTimeStep() 21 0.006628 0.006628 0.006628 0.74% amrex::average_down 405 0.0061 0.0061 0.0061 0.68% Amr::checkPoint() 3 0.005916 0.005916 0.005916 0.66% Castro::reset_internal_energy(MultiFab) 63 0.005612 0.005612 0.005612 0.63% FabArray::LinComb() 550 0.004624 0.004624 0.004624 0.52% amrex::Add() 162 0.004416 0.004416 0.004416 0.49% BndryData::define() 11 0.003867 0.003867 0.003867 0.43% Castro::enforce_speed_limit() 62 0.003484 0.003484 0.003484 0.39% Castro::construct_new_gravity_source() 10 0.003313 0.003313 0.003313 0.37% Castro::construct_old_gravity_source() 10 0.002855 0.002855 0.002855 0.32% Amr::writePlotFile() 2 0.002245 0.002245 0.002245 0.25% MLCGSolver::bicgstab 81 0.002199 0.002199 0.002199 0.25% check_for_negative_density() 10 0.002026 0.002026 0.002026 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001778 0.001778 0.001778 0.20% Castro::reset_internal_energy(Fab) 504 0.001625 0.001625 0.001625 0.18% Gravity::actual_solve_with_mlmg() 11 0.001593 0.001593 0.001593 0.18% MLCellLinOp::setLevelBC() 11 0.001533 0.001533 0.001533 0.17% Castro::initData() 1 0.001436 0.001436 0.001436 0.16% FabArray::mult() 43 0.001361 0.001361 0.001361 0.15% FabArray::setDomainBndry() 41 0.00135 0.00135 0.00135 0.15% MLCellLinOp::prepareForSolve() 11 0.001298 0.001298 0.001298 0.15% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.14% MLCellLinOp::smooth() 1620 0.001079 0.001079 0.001079 0.12% MLCellLinOp::compGrad() 11 0.001065 0.001065 0.001065 0.12% MLMG::prepareForSolve() 11 0.0009536 0.0009536 0.0009536 0.11% FabArray::FillBoundary() 3974 0.0008218 0.0008218 0.0008218 0.09% FabArrayBase::getCPC() 1313 0.0007581 0.0007581 0.0007581 0.08% FabArrayBase::CPC::define() 454 0.0006821 0.0006821 0.0006821 0.08% FabArrayBase::getFB() 3974 0.0006232 0.0006232 0.0006232 0.07% Gravity::get_new_grav_vector() 11 0.0005936 0.0005936 0.0005936 0.07% Amr::InitAmr() 1 0.0005318 0.0005318 0.0005318 0.06% Gravity::get_old_grav_vector() 10 0.0004792 0.0004792 0.0004792 0.05% MLCellLinOp::apply() 1128 0.000465 0.000465 0.000465 0.05% Amr::coarseTimeStep() 10 0.0003913 0.0003913 0.0003913 0.04% AmrLevel::FillPatch() 41 0.0003664 0.0003664 0.0003664 0.04% MultiFab::max() 11 0.000329 0.000329 0.000329 0.04% main() 1 0.0003151 0.0003151 0.0003151 0.04% MLCGSolver::ParallelAllReduce 1495 0.0002901 0.0002901 0.0002901 0.03% MLCellLinOp::defineBC() 11 0.0002485 0.0002485 0.0002485 0.03% Castro::subcycle_advance_ctu() 10 0.0002378 0.0002378 0.0002378 0.03% FabArray::ParallelCopy() 851 0.0002369 0.0002369 0.0002369 0.03% MLCellLinOp::correctionResidual() 486 0.0002237 0.0002237 0.0002237 0.03% FillPatchIterator::Initialize 41 0.0002174 0.0002174 0.0002174 0.02% MLMG::mgVcycle() 81 0.0001906 0.0001906 0.0001906 0.02% Amr::timeStep() 10 0.0001754 0.0001754 0.0001754 0.02% Gravity::solve_for_phi() 10 0.0001687 0.0001687 0.0001687 0.02% MLLinOp::defineGrids() 11 0.0001589 0.0001589 0.0001589 0.02% StateData::checkPoint() 12 0.0001329 0.0001329 0.0001329 0.01% Gravity::update_max_rhs() 11 0.00013 0.00013 0.00013 0.01% Castro::create_source_corrector() 10 0.0001266 0.0001266 0.0001266 0.01% Castro::advance() 10 0.0001129 0.0001129 0.0001129 0.01% MLMG:computeResOfCorrection() 405 0.0001108 0.0001108 0.0001108 0.01% FabArrayBase::FB::FB() 56 9.339e-05 9.339e-05 9.339e-05 0.01% MLMG::actualBottomSolve() 81 8.901e-05 8.901e-05 8.901e-05 0.01% MLMG::mgVcycle_down::0 81 8.9e-05 8.9e-05 8.9e-05 0.01% Castro::Castro() 1 8.696e-05 8.696e-05 8.696e-05 0.01% AmrLevel::checkPoint() 3 7.742e-05 7.742e-05 7.742e-05 0.01% MLMG::mgVcycle_down::1 81 7.74e-05 7.74e-05 7.74e-05 0.01% Castro::clean_state() 62 7.597e-05 7.597e-05 7.597e-05 0.01% Castro::initialize_advance() 10 7.546e-05 7.546e-05 7.546e-05 0.01% MLMG::mgVcycle_down::2 81 7.468e-05 7.468e-05 7.468e-05 0.01% Castro::enforce_consistent_e() 1 7.28e-05 7.28e-05 7.28e-05 0.01% MLMG::solve() 11 7.047e-05 7.047e-05 7.047e-05 0.01% MLMG::mgVcycle_down::4 81 6.992e-05 6.992e-05 6.992e-05 0.01% Castro::finalize_advance() 10 6.893e-05 6.893e-05 6.893e-05 0.01% MLMG::mgVcycle_down::3 81 6.81e-05 6.81e-05 6.81e-05 0.01% Castro::initialize_do_advance() 10 5.993e-05 5.993e-05 5.993e-05 0.01% MLMG::mgVcycle_up::4 81 5.774e-05 5.774e-05 5.774e-05 0.01% MLMG::oneIter() 81 5.442e-05 5.442e-05 5.442e-05 0.01% MLCellLinOp::solutionResidual() 92 5.114e-05 5.114e-05 5.114e-05 0.01% MLMG::mgVcycle_up::0 81 5.031e-05 5.031e-05 5.031e-05 0.01% StateData::define() 4 4.87e-05 4.87e-05 4.87e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.81e-05 4.81e-05 4.81e-05 0.01% Castro::do_advance_ctu() 10 4.652e-05 4.652e-05 4.652e-05 0.01% MLMG::mgVcycle_up::3 81 4.518e-05 4.518e-05 4.518e-05 0.01% MLMG::mgVcycle_up::1 81 4.432e-05 4.432e-05 4.432e-05 0.00% MLMG::mgVcycle_up::2 81 4.255e-05 4.255e-05 4.255e-05 0.00% Castro::finalize_do_advance() 10 4.197e-05 4.197e-05 4.197e-05 0.00% Castro::initMFs() 1 4.118e-05 4.118e-05 4.118e-05 0.00% Castro::swap_state_time_levels() 10 3.764e-05 3.764e-05 3.764e-05 0.00% FillPatchSingleLevel 41 3.549e-05 3.549e-05 3.549e-05 0.00% MLMG::ResNormInf() 92 3.475e-05 3.475e-05 3.475e-05 0.00% MLMG::computeResidual() 81 3.2e-05 3.2e-05 3.2e-05 0.00% MLMG::mgVcycle_bottom 81 3.159e-05 3.159e-05 3.159e-05 0.00% Amr::writeSmallPlotFile() 1 3.124e-05 3.124e-05 3.124e-05 0.00% Castro::construct_new_gravity() 10 3.086e-05 3.086e-05 3.086e-05 0.00% Amr::defBaseLevel() 1 2.885e-05 2.885e-05 2.885e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.666e-05 2.666e-05 2.666e-05 0.00% Castro::buildMetrics() 1 2.584e-05 2.584e-05 2.584e-05 0.00% makeSFC 55 2.546e-05 2.546e-05 2.546e-05 0.00% MLPoisson::define() 11 2.417e-05 2.417e-05 2.417e-05 0.00% Castro::do_old_sources() 10 2.214e-05 2.214e-05 2.214e-05 0.00% Amr::FinalizeInit() 1 2.074e-05 2.074e-05 2.074e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.056e-05 2.056e-05 2.056e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.986e-05 1.986e-05 1.986e-05 0.00% Castro::construct_old_source() 50 1.918e-05 1.918e-05 1.918e-05 0.00% Castro::do_new_sources() 10 1.839e-05 1.839e-05 1.839e-05 0.00% Castro::construct_new_source() 50 1.821e-05 1.821e-05 1.821e-05 0.00% MLMG::computeMLResidual() 11 1.708e-05 1.708e-05 1.708e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.547e-05 1.547e-05 1.547e-05 0.00% DistributionMapping::Distribute() 56 1.535e-05 1.535e-05 1.535e-05 0.00% MLPoisson::prepareForSolve() 11 1.471e-05 1.471e-05 1.471e-05 0.00% Castro::check_for_nan() 20 1.317e-05 1.317e-05 1.317e-05 0.00% Castro::construct_old_gravity() 10 1.227e-05 1.227e-05 1.227e-05 0.00% Castro::post_init() 1 1.196e-05 1.196e-05 1.196e-05 0.00% Castro::apply_source_to_state() 20 1.146e-05 1.146e-05 1.146e-05 0.00% Amr::initSubcycle() 1 1.144e-05 1.144e-05 1.144e-05 0.00% MLLinOp::define() 11 1.118e-05 1.118e-05 1.118e-05 0.00% Gravity::actual_multilevel_solve() 1 9.4e-06 9.4e-06 9.4e-06 0.00% Gravity::swapTimeLevels() 10 9.137e-06 9.137e-06 9.137e-06 0.00% Castro::post_timestep() 10 8.1e-06 8.1e-06 8.1e-06 0.00% Castro::computeNewDt() 9 6.601e-06 6.601e-06 6.601e-06 0.00% MLMG::getGradSolution() 11 6.083e-06 6.083e-06 6.083e-06 0.00% Castro::expand_state() 10 5.864e-06 5.864e-06 5.864e-06 0.00% Amr::InitializeInit() 1 5.167e-06 5.167e-06 5.167e-06 0.00% AmrLevel::checkPointPost() 3 4.668e-06 4.668e-06 4.668e-06 0.00% Castro::retry_advance_ctu() 10 4.329e-06 4.329e-06 4.329e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.189e-06 4.189e-06 4.189e-06 0.00% MLMG::MLRhsNormInf() 11 4.178e-06 4.178e-06 4.178e-06 0.00% Gravity::set_mass_offset() 11 4.156e-06 4.156e-06 4.156e-06 0.00% MLMG::MLResNormInf() 11 3.848e-06 3.848e-06 3.848e-06 0.00% Castro::computeInitialDt() 2 3.567e-06 3.567e-06 3.567e-06 0.00% Amr::init() 1 2.963e-06 2.963e-06 2.963e-06 0.00% Castro::FluxRegCrseInit 10 2.905e-06 2.905e-06 2.905e-06 0.00% Castro::FluxRegFineAdd() 10 2.58e-06 2.58e-06 2.58e-06 0.00% AmrLevel::checkPointPre() 3 2.114e-06 2.114e-06 2.114e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.061e-06 2.061e-06 2.061e-06 0.00% Amr::initialInit() 1 1.498e-06 1.498e-06 1.498e-06 0.00% Castro::post_regrid() 1 1.234e-06 1.234e-06 1.234e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8943 0.8943 0.8943 100.00% Amr::coarseTimeStep() 10 0.734 0.734 0.734 82.07% Amr::timeStep() 10 0.6312 0.6312 0.6312 70.58% Castro::advance() 10 0.6189 0.6189 0.6189 69.20% Castro::subcycle_advance_ctu() 10 0.6043 0.6043 0.6043 67.57% Castro::do_advance_ctu() 10 0.604 0.604 0.604 67.54% Gravity::solve_phi_with_mlmg() 11 0.2916 0.2916 0.2916 32.60% Gravity::actual_solve_with_mlmg() 11 0.2818 0.2818 0.2818 31.51% Castro::construct_new_gravity() 10 0.2651 0.2651 0.2651 29.64% Castro::construct_ctu_hydro_source() 10 0.2644 0.2644 0.2644 29.57% MLMG::solve() 11 0.2598 0.2598 0.2598 29.05% Gravity::solve_for_phi() 10 0.2492 0.2492 0.2492 27.86% MLMG::oneIter() 81 0.2448 0.2448 0.2448 27.37% MLMG::mgVcycle() 81 0.2411 0.2411 0.2411 26.96% VisMF::Write(FabArray) 11 0.1976 0.1976 0.1976 22.10% Amr::checkPoint() 3 0.1496 0.1496 0.1496 16.73% AmrLevel::checkPoint() 3 0.1437 0.1437 0.1437 16.07% StateData::checkPoint() 12 0.1436 0.1436 0.1436 16.06% Amr::init() 1 0.131 0.131 0.131 14.65% MLCellLinOp::smooth() 1620 0.1183 0.1183 0.1183 13.23% MLCellLinOp::applyBC() 4379 0.1108 0.1108 0.1108 12.39% MLMG::mgVcycle_bottom 81 0.07532 0.07532 0.07532 8.42% MLMG::actualBottomSolve() 81 0.07529 0.07529 0.07529 8.42% MLCGSolver::bicgstab 81 0.07457 0.07457 0.07457 8.34% Castro::clean_state() 62 0.06026 0.06026 0.06026 6.74% Amr::writePlotFile() 2 0.05687 0.05687 0.05687 6.36% Amr::initialInit() 1 0.05148 0.05148 0.05148 5.76% AmrLevel::FillPatch() 41 0.04768 0.04768 0.04768 5.33% Amr::FinalizeInit() 1 0.04669 0.04669 0.04669 5.22% Castro::post_init() 1 0.04522 0.04522 0.04522 5.06% FillPatchIterator::Initialize 41 0.04345 0.04345 0.04345 4.86% Gravity::multilevel_solve_for_new_phi() 1 0.04293 0.04293 0.04293 4.80% Gravity::actual_multilevel_solve() 1 0.04291 0.04291 0.04291 4.80% FillPatchIterator::FillFromLevel0() 41 0.04189 0.04189 0.04189 4.68% FillPatchSingleLevel 41 0.04184 0.04184 0.04184 4.68% StateDataPhysBCFunct::() 41 0.03781 0.03781 0.03781 4.23% MLCellLinOp::apply() 1128 0.03719 0.03719 0.03719 4.16% MLMG::mgVcycle_down::0 81 0.03368 0.03368 0.03368 3.77% MLPoisson::Fsmooth() 3240 0.033 0.033 0.033 3.69% FabArray::FillBoundary() 3974 0.03184 0.03184 0.03184 3.56% FillBoundary_nowait() 3974 0.03102 0.03102 0.03102 3.47% StateData::FillBoundary(geom) 328 0.02668 0.02668 0.02668 2.98% MLMG::mgVcycle_up::0 81 0.02547 0.02547 0.02547 2.85% Castro::computeTemp() 63 0.02351 0.02351 0.02351 2.63% MLCellLinOp::correctionResidual() 486 0.02255 0.02255 0.02255 2.52% Castro::initialize_do_advance() 10 0.02234 0.02234 0.02234 2.50% Castro::normalize_species() 62 0.02095 0.02095 0.02095 2.34% amrex::Dot() 1100 0.02085 0.02085 0.02085 2.33% Castro::do_old_sources() 10 0.02049 0.02049 0.02049 2.29% MLMG:computeResOfCorrection() 405 0.01982 0.01982 0.01982 2.22% Gravity::get_new_grav_vector() 11 0.01777 0.01777 0.01777 1.99% MLPoisson::define() 11 0.01729 0.01729 0.01729 1.93% MLMG::mgVcycle_down::1 81 0.01614 0.01614 0.01614 1.80% Castro::construct_old_gravity() 10 0.01531 0.01531 0.01531 1.71% Gravity::get_old_grav_vector() 10 0.0153 0.0153 0.0153 1.71% amrex::Copy() 1019 0.01515 0.01515 0.01515 1.69% MLMG::mgVcycle_down::2 81 0.01503 0.01503 0.01503 1.68% MLMG::mgVcycle_down::3 81 0.01476 0.01476 0.01476 1.65% FabArray::norminf() 734 0.0146 0.0146 0.0146 1.63% MLMG::mgVcycle_down::4 81 0.01453 0.01453 0.01453 1.62% FabArray::ParallelCopy() 851 0.0144 0.0144 0.0144 1.61% FabArray::ParallelCopy_nowait() 851 0.01416 0.01416 0.01416 1.58% Castro::initialize_advance() 10 0.01392 0.01392 0.01392 1.56% FabArray::setVal() 1135 0.01349 0.01349 0.01349 1.51% Castro::enforce_min_density() 62 0.01322 0.01322 0.01322 1.48% Castro::do_new_sources() 10 0.01286 0.01286 0.01286 1.44% MLCGSolver::ParallelAllReduce 1495 0.01248 0.01248 0.01248 1.40% Castro::post_timestep() 10 0.01211 0.01211 0.01211 1.35% MLCellLinOp::defineAuxData() 11 0.01193 0.01193 0.01193 1.33% MLMG::addInterpCorrection() 405 0.01191 0.01191 0.01191 1.33% MLMG::mgVcycle_up::1 81 0.01171 0.01171 0.01171 1.31% Castro::expand_state() 10 0.01163 0.01163 0.01163 1.30% MLMG::mgVcycle_up::4 81 0.01161 0.01161 0.01161 1.30% MLMG::mgVcycle_up::2 81 0.01146 0.01146 0.01146 1.28% amrex::average_down 405 0.01132 0.01132 0.01132 1.27% MLMG::mgVcycle_up::3 81 0.01123 0.01123 0.01123 1.26% MLPoisson::Fapply() 1128 0.0106 0.0106 0.0106 1.19% Gravity::fill_multipole_BCs() 11 0.009542 0.009542 0.009542 1.07% FabArray::Saxpy() 803 0.008424 0.008424 0.008424 0.94% FabArray::Xpay() 811 0.008262 0.008262 0.008262 0.92% MLCellLinOp::solutionResidual() 92 0.007502 0.007502 0.007502 0.84% Castro::reset_internal_energy(MultiFab) 63 0.007237 0.007237 0.007237 0.81% Castro::estTimeStep() 21 0.006628 0.006628 0.006628 0.74% MLMG::computeResidual() 81 0.006225 0.006225 0.006225 0.70% MLCellLinOp::defineBC() 11 0.005111 0.005111 0.005111 0.57% MLMG::prepareForSolve() 11 0.005024 0.005024 0.005024 0.56% BndryData::define() 11 0.004863 0.004863 0.004863 0.54% Amr::InitializeInit() 1 0.004796 0.004796 0.004796 0.54% Amr::defBaseLevel() 1 0.004791 0.004791 0.004791 0.54% FabArray::LinComb() 550 0.004624 0.004624 0.004624 0.52% amrex::Add() 162 0.004416 0.004416 0.004416 0.49% Castro::initData() 1 0.004102 0.004102 0.004102 0.46% Castro::enforce_speed_limit() 62 0.003484 0.003484 0.003484 0.39% Castro::construct_new_source() 50 0.003331 0.003331 0.003331 0.37% Castro::construct_new_gravity_source() 10 0.003313 0.003313 0.003313 0.37% Castro::computeNewDt() 9 0.003057 0.003057 0.003057 0.34% Castro::construct_old_source() 50 0.002874 0.002874 0.002874 0.32% Castro::construct_old_gravity_source() 10 0.002855 0.002855 0.002855 0.32% Castro::finalize_do_advance() 10 0.00255 0.00255 0.00255 0.29% MLMG::ResNormInf() 92 0.002174 0.002174 0.002174 0.24% check_for_negative_density() 10 0.002026 0.002026 0.002026 0.23% Castro::apply_source_to_state() 20 0.001855 0.001855 0.001855 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001778 0.001778 0.001778 0.20% Castro::reset_internal_energy(Fab) 504 0.001625 0.001625 0.001625 0.18% MLMG::getGradSolution() 11 0.00156 0.00156 0.00156 0.17% MLCellLinOp::compGrad() 11 0.001554 0.001554 0.001554 0.17% MLCellLinOp::setLevelBC() 11 0.001533 0.001533 0.001533 0.17% FabArrayBase::getCPC() 1313 0.00144 0.00144 0.00144 0.16% FabArray::mult() 43 0.001361 0.001361 0.001361 0.15% FabArray::setDomainBndry() 41 0.00135 0.00135 0.00135 0.15% MLMG::computeMLResidual() 11 0.001326 0.001326 0.001326 0.15% MLPoisson::prepareForSolve() 11 0.001312 0.001312 0.001312 0.15% MLCellLinOp::prepareForSolve() 11 0.001298 0.001298 0.001298 0.15% Castro::check_for_nan() 20 0.001283 0.001283 0.001283 0.14% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.14% Castro::post_regrid() 1 0.001156 0.001156 0.001156 0.13% Castro::computeInitialDt() 2 0.001074 0.001074 0.001074 0.12% Gravity::update_max_rhs() 11 0.000985 0.000985 0.000985 0.11% FabArrayBase::getFB() 3974 0.0007166 0.0007166 0.0007166 0.08% FabArrayBase::CPC::define() 454 0.0006821 0.0006821 0.0006821 0.08% Castro::finalize_advance() 10 0.0005988 0.0005988 0.0005988 0.07% Castro::Castro() 1 0.0005849 0.0005849 0.0005849 0.07% Amr::InitAmr() 1 0.0005432 0.0005432 0.0005432 0.06% Gravity::swapTimeLevels() 10 0.0004499 0.0004499 0.0004499 0.05% MLMG::MLResNormInf() 11 0.0003333 0.0003333 0.0003333 0.04% MultiFab::max() 11 0.000329 0.000329 0.000329 0.04% Castro::buildMetrics() 1 0.0002811 0.0002811 0.0002811 0.03% MLLinOp::define() 11 0.000227 0.000227 0.000227 0.03% MLMG::MLRhsNormInf() 11 0.0002225 0.0002225 0.0002225 0.02% MLLinOp::defineGrids() 11 0.0002158 0.0002158 0.0002158 0.02% Castro::create_source_corrector() 10 0.0001266 0.0001266 0.0001266 0.01% FabArrayBase::FB::FB() 56 9.339e-05 9.339e-05 9.339e-05 0.01% Castro::enforce_consistent_e() 1 7.28e-05 7.28e-05 7.28e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.927e-05 6.927e-05 6.927e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.483e-05 5.483e-05 5.483e-05 0.01% StateData::define() 4 4.87e-05 4.87e-05 4.87e-05 0.01% Castro::initMFs() 1 4.118e-05 4.118e-05 4.118e-05 0.00% makeSFC 55 3.937e-05 3.937e-05 3.937e-05 0.00% Castro::swap_state_time_levels() 10 3.764e-05 3.764e-05 3.764e-05 0.00% Amr::writeSmallPlotFile() 1 3.124e-05 3.124e-05 3.124e-05 0.00% DistributionMapping::Distribute() 56 1.535e-05 1.535e-05 1.535e-05 0.00% Amr::initSubcycle() 1 1.144e-05 1.144e-05 1.144e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.632e-06 5.632e-06 5.632e-06 0.00% AmrLevel::checkPointPost() 3 4.668e-06 4.668e-06 4.668e-06 0.00% Castro::retry_advance_ctu() 10 4.329e-06 4.329e-06 4.329e-06 0.00% Gravity::set_mass_offset() 11 4.156e-06 4.156e-06 4.156e-06 0.00% Castro::FluxRegCrseInit 10 2.905e-06 2.905e-06 2.905e-06 0.00% Castro::FluxRegFineAdd() 10 2.58e-06 2.58e-06 2.58e-06 0.00% AmrLevel::checkPointPre() 3 2.114e-06 2.114e-06 2.114e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.061e-06 2.061e-06 2.061e-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 97 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 132 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 1033 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1781 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3573 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 206 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2127 B 2048 KiB Gravity::solve_for_phi() 80 80 569 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 326 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 208 KiB 671 KiB Castro::estTimeStep() 21 21 3617 B 480 KiB VisMF::Write(FabArray) 656 656 3411 B 320 KiB Castro::normalize_species() 62 62 7627 B 320 KiB amrex::average_down 1054 1054 1260 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1136 B 257 KiB amrex::Dot() 1343 1343 3432 B 160 KiB FabArray::norminf() 896 896 2409 B 160 KiB check_for_negative_density() 10 10 319 B 160 KiB Castro::initData() 1 1 54 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3489 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 296 B 9648 B MLCellLinOp::applyBC() 8758 8758 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3913 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 121 B 1472 B MLCellLinOp::defineBC() 66 66 368 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 586 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 503 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3489 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 296 B 9648 B MLCellLinOp::applyBC() 4379 4379 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3913 B 6144 B Gravity::get_new_grav_vector() 3 3 2896 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 44 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 271 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 297 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 896 896 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): 2528 [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.11-5-gd36463103dae) finalized Initializing AMReX (23.11-5-gd36463103dae)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-5-gd36463103dae) initialized Starting run at 09:05:41 UTC on 2023-11-08. Successfully read inputs file ... Castro git describe: 23.11-3-g640a8312a AMReX git describe: 23.11-5-gd36463103 Microphysics git describe: 23.11-1-g39a0f401 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.48412603 Restart time = 0.091883353 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.056720502 [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.049874004 [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.075732244 [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.081174787 [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.071792891 [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.036327172 seconds Ending run at 09:05:41 UTC on 2023-11-08. Run time = 0.464616361 Run time without initialization = 0.37210165 Average number of zones advanced per microsecond: 3.522 Average number of zones advanced per microsecond per rank: 3.522 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4646 ... 0.4646 ... 0.4646 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1441 0.1441 0.1441 31.01% VisMF::Read() 3 0.05977 0.05977 0.05977 12.86% MLCellLinOp::applyBC() 1946 0.03482 0.03482 0.03482 7.49% VisMF::Write(FabArray) 1 0.03477 0.03477 0.03477 7.48% Amr::restart() 1 0.02536 0.02536 0.02536 5.46% MLPoisson::Fsmooth() 1440 0.01437 0.01437 0.01437 3.09% StateData::FillBoundary(geom) 160 0.01318 0.01318 0.01318 2.84% FillBoundary_nowait() 1766 0.01287 0.01287 0.01287 2.77% Castro::normalize_species() 30 0.009711 0.009711 0.009711 2.09% amrex::Dot() 484 0.009107 0.009107 0.009107 1.96% amrex::Copy() 463 0.007273 0.007273 0.007273 1.57% Castro::computeTemp() 30 0.00727 0.00727 0.00727 1.56% FabArray::norminf() 326 0.006736 0.006736 0.006736 1.45% FabArray::setVal() 537 0.006561 0.006561 0.006561 1.41% FabArray::ParallelCopy_nowait() 380 0.006108 0.006108 0.006108 1.31% MLCellLinOp::defineAuxData() 6 0.005641 0.005641 0.005641 1.21% Gravity::fill_multipole_BCs() 6 0.00556 0.00556 0.00556 1.20% Castro::enforce_min_density() 30 0.005364 0.005364 0.005364 1.15% StateDataPhysBCFunct::() 20 0.004882 0.004882 0.004882 1.05% MLPoisson::Fapply() 500 0.004635 0.004635 0.004635 1.00% FabArray::Saxpy() 355 0.003795 0.003795 0.003795 0.82% FabArray::Xpay() 361 0.003641 0.003641 0.003641 0.78% Castro::estTimeStep() 10 0.003173 0.003173 0.003173 0.68% MLMG::addInterpCorrection() 180 0.003053 0.003053 0.003053 0.66% amrex::average_down 180 0.002718 0.002718 0.002718 0.59% BndryData::define() 6 0.002125 0.002125 0.002125 0.46% Castro::reset_internal_energy(MultiFab) 30 0.002081 0.002081 0.002081 0.45% FabArray::LinComb() 242 0.002035 0.002035 0.002035 0.44% amrex::Add() 72 0.001896 0.001896 0.001896 0.41% Castro::construct_new_gravity_source() 5 0.001713 0.001713 0.001713 0.37% Castro::construct_old_gravity_source() 5 0.001568 0.001568 0.001568 0.34% Amr::writePlotFile() 1 0.001391 0.001391 0.001391 0.30% Castro::enforce_speed_limit() 30 0.001328 0.001328 0.001328 0.29% check_for_negative_density() 5 0.0009929 0.0009929 0.0009929 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009614 0.0009614 0.0009614 0.21% MLCGSolver::bicgstab 36 0.0009534 0.0009534 0.0009534 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008445 0.0008445 0.0008445 0.18% MLCellLinOp::setLevelBC() 6 0.0008383 0.0008383 0.0008383 0.18% Castro::reset_internal_energy(Fab) 240 0.0007868 0.0007868 0.0007868 0.17% MLCellLinOp::prepareForSolve() 6 0.000727 0.000727 0.000727 0.16% FabArray::setDomainBndry() 20 0.000687 0.000687 0.000687 0.15% FabArray::mult() 22 0.0006868 0.0006868 0.0006868 0.15% MultiFab::contains_nan() 10 0.0006548 0.0006548 0.0006548 0.14% MLCellLinOp::compGrad() 6 0.0005871 0.0005871 0.0005871 0.13% MLMG::prepareForSolve() 6 0.0005398 0.0005398 0.0005398 0.12% MLCellLinOp::smooth() 720 0.0004563 0.0004563 0.0004563 0.10% Amr::InitAmr() 1 0.0004307 0.0004307 0.0004307 0.09% FabArrayBase::CPC::define() 244 0.0004179 0.0004179 0.0004179 0.09% FabArray::FillBoundary() 1766 0.0003632 0.0003632 0.0003632 0.08% FabArrayBase::getCPC() 632 0.0003614 0.0003614 0.0003614 0.08% main() 1 0.0003543 0.0003543 0.0003543 0.08% Gravity::get_old_grav_vector() 5 0.0003377 0.0003377 0.0003377 0.07% Gravity::get_new_grav_vector() 5 0.0002831 0.0002831 0.0002831 0.06% FabArrayBase::getFB() 1766 0.0002712 0.0002712 0.0002712 0.06% MultiFab::max() 6 0.000204 0.000204 0.000204 0.04% AmrLevel::FillPatch() 20 0.0001974 0.0001974 0.0001974 0.04% MLCellLinOp::apply() 500 0.0001933 0.0001933 0.0001933 0.04% Amr::coarseTimeStep() 5 0.0001719 0.0001719 0.0001719 0.04% Castro::subcycle_advance_ctu() 5 0.0001448 0.0001448 0.0001448 0.03% MLCellLinOp::defineBC() 6 0.0001307 0.0001307 0.0001307 0.03% MLCGSolver::ParallelAllReduce 659 0.0001268 0.0001268 0.0001268 0.03% FillPatchIterator::Initialize 20 0.0001088 0.0001088 0.0001088 0.02% FabArray::ParallelCopy() 380 0.0001077 0.0001077 0.0001077 0.02% Castro::create_source_corrector() 5 9.857e-05 9.857e-05 9.857e-05 0.02% MLCellLinOp::correctionResidual() 216 9.012e-05 9.012e-05 9.012e-05 0.02% MLLinOp::defineGrids() 6 8.603e-05 8.603e-05 8.603e-05 0.02% MLMG::mgVcycle() 36 8.542e-05 8.542e-05 8.542e-05 0.02% AmrLevel::restart() 1 8.251e-05 8.251e-05 8.251e-05 0.02% Amr::timeStep() 5 8.22e-05 8.22e-05 8.22e-05 0.02% Castro::advance() 5 7.866e-05 7.866e-05 7.866e-05 0.02% Gravity::solve_for_phi() 5 7.59e-05 7.59e-05 7.59e-05 0.02% StateData::restartDoit() 4 7.09e-05 7.09e-05 7.09e-05 0.02% Gravity::update_max_rhs() 6 6.486e-05 6.486e-05 6.486e-05 0.01% Castro::initialize_do_advance() 5 6.396e-05 6.396e-05 6.396e-05 0.01% FabArrayBase::FB::FB() 26 6.111e-05 6.111e-05 6.111e-05 0.01% Castro::initialize_advance() 5 5.62e-05 5.62e-05 5.62e-05 0.01% MLMG:computeResOfCorrection() 180 5.065e-05 5.065e-05 5.065e-05 0.01% Castro::construct_new_source() 25 4.524e-05 4.524e-05 4.524e-05 0.01% Castro::do_advance_ctu() 5 4.201e-05 4.201e-05 4.201e-05 0.01% Castro::finalize_do_advance() 5 4.136e-05 4.136e-05 4.136e-05 0.01% MLMG::actualBottomSolve() 36 4.108e-05 4.108e-05 4.108e-05 0.01% MLMG::mgVcycle_down::0 36 4.036e-05 4.036e-05 4.036e-05 0.01% MLMG::mgVcycle_down::1 36 3.55e-05 3.55e-05 3.55e-05 0.01% MLMG::solve() 6 3.505e-05 3.505e-05 3.505e-05 0.01% Castro::buildMetrics() 1 3.471e-05 3.471e-05 3.471e-05 0.01% Amr::writeSmallPlotFile() 1 3.316e-05 3.316e-05 3.316e-05 0.01% Castro::clean_state() 30 3.304e-05 3.304e-05 3.304e-05 0.01% MLMG::mgVcycle_down::2 36 3.261e-05 3.261e-05 3.261e-05 0.01% Castro::post_restart() 1 3.257e-05 3.257e-05 3.257e-05 0.01% MLMG::mgVcycle_down::4 36 3.033e-05 3.033e-05 3.033e-05 0.01% MLMG::mgVcycle_down::3 36 3.009e-05 3.009e-05 3.009e-05 0.01% Castro::finalize_advance() 5 2.996e-05 2.996e-05 2.996e-05 0.01% Castro::do_new_sources() 5 2.801e-05 2.801e-05 2.801e-05 0.01% Castro::construct_old_source() 25 2.715e-05 2.715e-05 2.715e-05 0.01% MLMG::mgVcycle_up::4 36 2.672e-05 2.672e-05 2.672e-05 0.01% Castro::initMFs() 1 2.613e-05 2.613e-05 2.613e-05 0.01% Castro::swap_state_time_levels() 5 2.514e-05 2.514e-05 2.514e-05 0.01% MLMG::oneIter() 36 2.437e-05 2.437e-05 2.437e-05 0.01% MLMG::mgVcycle_up::0 36 2.231e-05 2.231e-05 2.231e-05 0.00% MLCellLinOp::solutionResidual() 42 2.229e-05 2.229e-05 2.229e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.201e-05 2.201e-05 2.201e-05 0.00% MLMG::mgVcycle_up::3 36 2.051e-05 2.051e-05 2.051e-05 0.00% MLMG::mgVcycle_up::2 36 1.97e-05 1.97e-05 1.97e-05 0.00% MLMG::mgVcycle_up::1 36 1.892e-05 1.892e-05 1.892e-05 0.00% MLMG::ResNormInf() 42 1.753e-05 1.753e-05 1.753e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.696e-05 1.696e-05 1.696e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.636e-05 1.636e-05 1.636e-05 0.00% MLMG::mgVcycle_bottom 36 1.501e-05 1.501e-05 1.501e-05 0.00% MLMG::computeResidual() 36 1.498e-05 1.498e-05 1.498e-05 0.00% FillPatchSingleLevel 20 1.437e-05 1.437e-05 1.437e-05 0.00% makeSFC 30 1.432e-05 1.432e-05 1.432e-05 0.00% MLPoisson::prepareForSolve() 6 1.428e-05 1.428e-05 1.428e-05 0.00% MLPoisson::define() 6 1.421e-05 1.421e-05 1.421e-05 0.00% Castro::construct_new_gravity() 5 1.234e-05 1.234e-05 1.234e-05 0.00% Castro::do_old_sources() 5 1.119e-05 1.119e-05 1.119e-05 0.00% MLMG::computeMLResidual() 6 1.011e-05 1.011e-05 1.011e-05 0.00% DistributionMapping::Distribute() 31 9.57e-06 9.57e-06 9.57e-06 0.00% Amr::initSubcycle() 1 9.533e-06 9.533e-06 9.533e-06 0.00% Gravity::actual_multilevel_solve() 1 8.539e-06 8.539e-06 8.539e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.342e-06 8.342e-06 8.342e-06 0.00% Castro::check_for_nan() 10 6.569e-06 6.569e-06 6.569e-06 0.00% Castro::construct_old_gravity() 5 5.853e-06 5.853e-06 5.853e-06 0.00% Castro::apply_source_to_state() 10 5.766e-06 5.766e-06 5.766e-06 0.00% MLLinOp::define() 6 5.696e-06 5.696e-06 5.696e-06 0.00% Castro::post_timestep() 5 4.699e-06 4.699e-06 4.699e-06 0.00% Gravity::swapTimeLevels() 5 3.753e-06 3.753e-06 3.753e-06 0.00% Castro::computeNewDt() 5 3.421e-06 3.421e-06 3.421e-06 0.00% Castro::expand_state() 5 3.349e-06 3.349e-06 3.349e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.152e-06 3.152e-06 3.152e-06 0.00% MLMG::getGradSolution() 6 3.035e-06 3.035e-06 3.035e-06 0.00% MLMG::MLResNormInf() 6 2.47e-06 2.47e-06 2.47e-06 0.00% Castro::retry_advance_ctu() 5 2.238e-06 2.238e-06 2.238e-06 0.00% MLMG::MLRhsNormInf() 6 2.19e-06 2.19e-06 2.19e-06 0.00% Gravity::set_mass_offset() 6 1.947e-06 1.947e-06 1.947e-06 0.00% Castro::FluxRegCrseInit 5 1.499e-06 1.499e-06 1.499e-06 0.00% Amr::init() 1 1.387e-06 1.387e-06 1.387e-06 0.00% Castro::FluxRegFineAdd() 5 1.242e-06 1.242e-06 1.242e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.133e-06 1.133e-06 1.133e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4646 0.4646 0.4646 100.00% Amr::coarseTimeStep() 5 0.3355 0.3355 0.3355 72.20% Amr::timeStep() 5 0.3332 0.3332 0.3332 71.70% Castro::advance() 5 0.3282 0.3282 0.3282 70.64% Castro::subcycle_advance_ctu() 5 0.3207 0.3207 0.3207 69.03% Castro::do_advance_ctu() 5 0.3206 0.3206 0.3206 69.00% Castro::construct_ctu_hydro_source() 5 0.1496 0.1496 0.1496 32.19% Castro::construct_new_gravity() 5 0.1347 0.1347 0.1347 29.00% Gravity::solve_phi_with_mlmg() 6 0.1322 0.1322 0.1322 28.44% Gravity::solve_for_phi() 5 0.1266 0.1266 0.1266 27.24% Gravity::actual_solve_with_mlmg() 6 0.1264 0.1264 0.1264 27.19% MLMG::solve() 6 0.1144 0.1144 0.1144 24.62% MLMG::oneIter() 36 0.107 0.107 0.107 23.02% MLMG::mgVcycle() 36 0.1054 0.1054 0.1054 22.69% Amr::init() 1 0.09193 0.09193 0.09193 19.79% Amr::restart() 1 0.09193 0.09193 0.09193 19.78% AmrLevel::restart() 1 0.06014 0.06014 0.06014 12.94% StateData::restartDoit() 4 0.06005 0.06005 0.06005 12.92% VisMF::Read() 3 0.05977 0.05977 0.05977 12.86% MLCellLinOp::smooth() 720 0.05134 0.05134 0.05134 11.05% MLCellLinOp::applyBC() 1946 0.04838 0.04838 0.04838 10.41% Amr::writePlotFile() 1 0.03641 0.03641 0.03641 7.84% VisMF::Write(FabArray) 1 0.03477 0.03477 0.03477 7.48% MLMG::mgVcycle_bottom 36 0.03315 0.03315 0.03315 7.13% MLMG::actualBottomSolve() 36 0.03313 0.03313 0.03313 7.13% MLCGSolver::bicgstab 36 0.03281 0.03281 0.03281 7.06% Castro::clean_state() 30 0.02657 0.02657 0.02657 5.72% AmrLevel::FillPatch() 20 0.02306 0.02306 0.02306 4.96% FillPatchIterator::Initialize 20 0.02095 0.02095 0.02095 4.51% FillPatchIterator::FillFromLevel0() 20 0.02015 0.02015 0.02015 4.34% FillPatchSingleLevel 20 0.02013 0.02013 0.02013 4.33% StateDataPhysBCFunct::() 20 0.01807 0.01807 0.01807 3.89% MLCellLinOp::apply() 500 0.01641 0.01641 0.01641 3.53% MLMG::mgVcycle_down::0 36 0.01464 0.01464 0.01464 3.15% MLPoisson::Fsmooth() 1440 0.01437 0.01437 0.01437 3.09% FabArray::FillBoundary() 1766 0.01356 0.01356 0.01356 2.92% FillBoundary_nowait() 1766 0.0132 0.0132 0.0132 2.84% StateData::FillBoundary(geom) 160 0.01318 0.01318 0.01318 2.84% MLMG::mgVcycle_up::0 36 0.01101 0.01101 0.01101 2.37% Castro::initialize_do_advance() 5 0.01082 0.01082 0.01082 2.33% Castro::computeTemp() 30 0.01014 0.01014 0.01014 2.18% MLCellLinOp::correctionResidual() 216 0.009827 0.009827 0.009827 2.11% Castro::normalize_species() 30 0.009711 0.009711 0.009711 2.09% Castro::do_old_sources() 5 0.009476 0.009476 0.009476 2.04% MLPoisson::define() 6 0.009384 0.009384 0.009384 2.02% amrex::Dot() 484 0.009107 0.009107 0.009107 1.96% MLMG:computeResOfCorrection() 180 0.008629 0.008629 0.008629 1.86% Gravity::get_new_grav_vector() 5 0.008067 0.008067 0.008067 1.74% Castro::construct_old_gravity() 5 0.007748 0.007748 0.007748 1.67% Gravity::get_old_grav_vector() 5 0.007742 0.007742 0.007742 1.67% amrex::Copy() 463 0.007273 0.007273 0.007273 1.57% MLMG::mgVcycle_down::1 36 0.007113 0.007113 0.007113 1.53% Castro::initialize_advance() 5 0.007105 0.007105 0.007105 1.53% FabArray::norminf() 326 0.006736 0.006736 0.006736 1.45% Castro::do_new_sources() 5 0.006625 0.006625 0.006625 1.43% FabArray::ParallelCopy() 380 0.006607 0.006607 0.006607 1.42% FabArray::setVal() 537 0.006561 0.006561 0.006561 1.41% MLMG::mgVcycle_down::2 36 0.00656 0.00656 0.00656 1.41% FabArray::ParallelCopy_nowait() 380 0.006499 0.006499 0.006499 1.40% MLCellLinOp::defineAuxData() 6 0.006423 0.006423 0.006423 1.38% MLMG::mgVcycle_down::3 36 0.006408 0.006408 0.006408 1.38% MLMG::mgVcycle_down::4 36 0.006332 0.006332 0.006332 1.36% Castro::post_restart() 1 0.006242 0.006242 0.006242 1.34% Gravity::multilevel_solve_for_new_phi() 1 0.005866 0.005866 0.005866 1.26% Gravity::actual_multilevel_solve() 1 0.005849 0.005849 0.005849 1.26% Castro::expand_state() 5 0.005828 0.005828 0.005828 1.25% Gravity::fill_multipole_BCs() 6 0.005683 0.005683 0.005683 1.22% MLCGSolver::ParallelAllReduce 659 0.005514 0.005514 0.005514 1.19% Castro::enforce_min_density() 30 0.005364 0.005364 0.005364 1.15% MLMG::addInterpCorrection() 180 0.005317 0.005317 0.005317 1.14% MLMG::mgVcycle_up::4 36 0.005152 0.005152 0.005152 1.11% MLMG::mgVcycle_up::1 36 0.005101 0.005101 0.005101 1.10% amrex::average_down 180 0.005013 0.005013 0.005013 1.08% MLMG::mgVcycle_up::2 36 0.00498 0.00498 0.00498 1.07% MLMG::mgVcycle_up::3 36 0.004894 0.004894 0.004894 1.05% Castro::post_timestep() 5 0.004852 0.004852 0.004852 1.04% MLPoisson::Fapply() 500 0.004635 0.004635 0.004635 1.00% FabArray::Saxpy() 355 0.003795 0.003795 0.003795 0.82% FabArray::Xpay() 361 0.003641 0.003641 0.003641 0.78% MLCellLinOp::solutionResidual() 42 0.003516 0.003516 0.003516 0.76% Castro::estTimeStep() 10 0.003173 0.003173 0.003173 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002868 0.002868 0.002868 0.62% MLCellLinOp::defineBC() 6 0.002823 0.002823 0.002823 0.61% MLMG::prepareForSolve() 6 0.00278 0.00278 0.00278 0.60% MLMG::computeResidual() 36 0.002749 0.002749 0.002749 0.59% BndryData::define() 6 0.002692 0.002692 0.002692 0.58% Castro::computeNewDt() 5 0.002118 0.002118 0.002118 0.46% FabArray::LinComb() 242 0.002035 0.002035 0.002035 0.44% amrex::Add() 72 0.001896 0.001896 0.001896 0.41% Castro::construct_new_source() 25 0.001758 0.001758 0.001758 0.38% Castro::construct_new_gravity_source() 5 0.001713 0.001713 0.001713 0.37% Castro::construct_old_source() 25 0.001595 0.001595 0.001595 0.34% Castro::construct_old_gravity_source() 5 0.001568 0.001568 0.001568 0.34% Castro::enforce_speed_limit() 30 0.001328 0.001328 0.001328 0.29% Castro::finalize_do_advance() 5 0.0011 0.0011 0.0011 0.24% check_for_negative_density() 5 0.0009929 0.0009929 0.0009929 0.21% MLMG::ResNormInf() 42 0.0009722 0.0009722 0.0009722 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009614 0.0009614 0.0009614 0.21% Castro::apply_source_to_state() 10 0.0009528 0.0009528 0.0009528 0.21% MLMG::getGradSolution() 6 0.0008703 0.0008703 0.0008703 0.19% MLCellLinOp::compGrad() 6 0.0008673 0.0008673 0.0008673 0.19% MLCellLinOp::setLevelBC() 6 0.0008383 0.0008383 0.0008383 0.18% MLMG::computeMLResidual() 6 0.0007915 0.0007915 0.0007915 0.17% Castro::reset_internal_energy(Fab) 240 0.0007868 0.0007868 0.0007868 0.17% FabArrayBase::getCPC() 632 0.0007793 0.0007793 0.0007793 0.17% MLPoisson::prepareForSolve() 6 0.0007412 0.0007412 0.0007412 0.16% MLCellLinOp::prepareForSolve() 6 0.000727 0.000727 0.000727 0.16% Gravity::update_max_rhs() 6 0.000713 0.000713 0.000713 0.15% FabArray::setDomainBndry() 20 0.000687 0.000687 0.000687 0.15% FabArray::mult() 22 0.0006868 0.0006868 0.0006868 0.15% Castro::check_for_nan() 10 0.0006613 0.0006613 0.0006613 0.14% MultiFab::contains_nan() 10 0.0006548 0.0006548 0.0006548 0.14% Amr::InitAmr() 1 0.0004402 0.0004402 0.0004402 0.09% FabArrayBase::CPC::define() 244 0.0004179 0.0004179 0.0004179 0.09% FabArrayBase::getFB() 1766 0.0003323 0.0003323 0.0003323 0.07% Castro::finalize_advance() 5 0.0003094 0.0003094 0.0003094 0.07% Gravity::swapTimeLevels() 5 0.0002284 0.0002284 0.0002284 0.05% MultiFab::max() 6 0.000204 0.000204 0.000204 0.04% MLMG::MLResNormInf() 6 0.0001963 0.0001963 0.0001963 0.04% Castro::buildMetrics() 1 0.0001569 0.0001569 0.0001569 0.03% MLLinOp::define() 6 0.0001237 0.0001237 0.0001237 0.03% MLMG::MLRhsNormInf() 6 0.0001187 0.0001187 0.0001187 0.03% MLLinOp::defineGrids() 6 0.000118 0.000118 0.000118 0.03% Castro::create_source_corrector() 5 9.857e-05 9.857e-05 9.857e-05 0.02% FabArrayBase::FB::FB() 26 6.111e-05 6.111e-05 6.111e-05 0.01% Amr::writeSmallPlotFile() 1 3.316e-05 3.316e-05 3.316e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.087e-05 3.087e-05 3.087e-05 0.01% Castro::initMFs() 1 2.613e-05 2.613e-05 2.613e-05 0.01% Castro::swap_state_time_levels() 5 2.514e-05 2.514e-05 2.514e-05 0.01% makeSFC 30 2.253e-05 2.253e-05 2.253e-05 0.00% DistributionMapping::Distribute() 31 9.57e-06 9.57e-06 9.57e-06 0.00% Amr::initSubcycle() 1 9.533e-06 9.533e-06 9.533e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.511e-06 4.511e-06 4.511e-06 0.00% Castro::retry_advance_ctu() 5 2.238e-06 2.238e-06 2.238e-06 0.00% Gravity::set_mass_offset() 6 1.947e-06 1.947e-06 1.947e-06 0.00% Castro::FluxRegCrseInit 5 1.499e-06 1.499e-06 1.499e-06 0.00% Castro::FluxRegFineAdd() 5 1.242e-06 1.242e-06 1.242e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.133e-06 1.133e-06 1.133e-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 186 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 145 MiB 692 MiB Castro::initMFs() 48 48 55 MiB 68 MiB Castro::swap_state_time_levels() 32 32 44 MiB 55 MiB StateData::restartDoit() 32 32 50 MiB 55 MiB FillPatchIterator::Initialize 160 160 975 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2198 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 12 MiB 15 MiB Castro::post_restart() 48 48 6171 KiB 14 MiB MLMG::prepareForSolve() 361 361 3023 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 172 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6159 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3045 B 2048 KiB Gravity::solve_for_phi() 40 40 556 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 278 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 179 KiB 671 KiB Castro::estTimeStep() 10 10 3277 B 480 KiB VisMF::Write(FabArray) 112 112 2232 B 320 KiB Castro::normalize_species() 30 30 6805 B 320 KiB amrex::average_down 469 469 1059 B 257 KiB MLMG::addInterpCorrection() 468 468 974 B 257 KiB amrex::Dot() 592 592 2877 B 160 KiB FabArray::norminf() 398 398 2141 B 160 KiB check_for_negative_density() 5 5 312 B 160 KiB MultiFab::max() 6 6 68 B 160 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 2930 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 240 B 9648 B MLCellLinOp::applyBC() 3892 3892 189 B 9344 B amrex::Copy() 56 56 5414 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 102 B 1472 B MLCellLinOp::defineBC() 36 36 313 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1102 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 77 KiB 8192 KiB VisMF::Write(FabArray) 120 120 215 KiB 3584 KiB VisMF::Read() 24 24 193 KiB 3000 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2931 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 240 B 9648 B MLCellLinOp::applyBC() 1946 1946 188 B 9328 B amrex::Copy() 56 56 5414 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2421 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 37 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 470 B 1296 B amrex::average_down 37 37 203 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 21 B 400 B FabArray::norminf() 398 398 14 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): 2528 [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.11-5-gd36463103dae) finalized