Initializing CUDA... CUDA initialized with 1 device. AMReX (23.06-14-g7c7a8fb1fff5) initialized Starting run at 08:25:21 UTC on 2023-06-09. Successfully read inputs file ... Castro git describe: 23.06-16-g0603698ef AMReX git describe: 23.06-14-g7c7a8fb1f Microphysics git describe: 23.06-8-gc1297423 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.057580517 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032750178 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047822439 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.051405343 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.077535149 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.074624493 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.049207563 [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.056638724 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.069612571 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.070153202 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.063548541 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.058188918 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.065283544 [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.056688636 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032982658 seconds Ending run at 08:25:22 UTC on 2023-06-09. Run time = 0.912531202 Run time without initialization = 0.7743147 Average number of zones advanced per microsecond: 3.385 Average number of zones advanced per microsecond per rank: 3.385 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9126 ... 0.9126 ... 0.9126 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2683 0.2683 0.2683 29.40% VisMF::Write(FabArray) 11 0.2299 0.2299 0.2299 25.19% MLCellLinOp::applyBC() 4433 0.07523 0.07523 0.07523 8.24% FillBoundary_nowait() 4023 0.03219 0.03219 0.03219 3.53% MLPoisson::Fsmooth() 3280 0.03158 0.03158 0.03158 3.46% StateData::FillBoundary(geom) 328 0.02419 0.02419 0.02419 2.65% amrex::Dot() 1114 0.02006 0.02006 0.02006 2.20% Castro::normalize_species() 62 0.01763 0.01763 0.01763 1.93% amrex::Copy() 1029 0.0145 0.0145 0.0145 1.59% Castro::computeTemp() 63 0.01439 0.01439 0.01439 1.58% FabArray::norminf() 743 0.01386 0.01386 0.01386 1.52% FabArray::ParallelCopy_nowait() 861 0.013 0.013 0.013 1.42% FabArray::setVal() 1144 0.01284 0.01284 0.01284 1.41% StateDataPhysBCFunct::() 41 0.01223 0.01223 0.01223 1.34% Castro::enforce_min_density() 62 0.01078 0.01078 0.01078 1.18% MLPoisson::Fapply() 1142 0.01015 0.01015 0.01015 1.11% MLCellLinOp::defineAuxData() 11 0.009304 0.009304 0.009304 1.02% FabArray::Saxpy() 813 0.007941 0.007941 0.007941 0.87% FabArray::Xpay() 821 0.007863 0.007863 0.007863 0.86% Gravity::fill_multipole_BCs() 11 0.006669 0.006669 0.006669 0.73% MLMG::addInterpCorrection() 410 0.006595 0.006595 0.006595 0.72% amrex::average_down 410 0.005897 0.005897 0.005897 0.65% Castro::estTimeStep() 21 0.005541 0.005541 0.005541 0.61% Castro::reset_internal_energy(MultiFab) 63 0.005085 0.005085 0.005085 0.56% FabArray::LinComb() 557 0.004387 0.004387 0.004387 0.48% amrex::Add() 164 0.004356 0.004356 0.004356 0.48% Amr::checkPoint() 3 0.003914 0.003914 0.003914 0.43% BndryData::define() 11 0.003491 0.003491 0.003491 0.38% Castro::construct_new_gravity_source() 10 0.003174 0.003174 0.003174 0.35% Castro::construct_old_gravity_source() 10 0.002744 0.002744 0.002744 0.30% Castro::enforce_speed_limit() 62 0.002584 0.002584 0.002584 0.28% Amr::writePlotFile() 2 0.002321 0.002321 0.002321 0.25% MLCGSolver::bicgstab 82 0.002205 0.002205 0.002205 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001622 0.001622 0.001622 0.18% Gravity::actual_solve_with_mlmg() 11 0.001478 0.001478 0.001478 0.16% check_for_negative_density() 10 0.001471 0.001471 0.001471 0.16% Castro::reset_internal_energy(Fab) 504 0.001408 0.001408 0.001408 0.15% MLCellLinOp::setLevelBC() 11 0.001345 0.001345 0.001345 0.15% FabArray::setDomainBndry() 41 0.001301 0.001301 0.001301 0.14% FabArray::mult() 43 0.001296 0.001296 0.001296 0.14% Castro::initData() 1 0.001259 0.001259 0.001259 0.14% MultiFab::contains_nan() 20 0.001151 0.001151 0.001151 0.13% MLCellLinOp::smooth() 1640 0.001122 0.001122 0.001122 0.12% MLCellLinOp::prepareForSolve() 11 0.001087 0.001087 0.001087 0.12% MLCellLinOp::compGrad() 11 0.000911 0.000911 0.000911 0.10% MLMG::prepareForSolve() 11 0.0008592 0.0008592 0.0008592 0.09% FabArray::FillBoundary() 4023 0.0007946 0.0007946 0.0007946 0.09% FabArrayBase::getCPC() 1323 0.0007111 0.0007111 0.0007111 0.08% FabArrayBase::CPC::define() 454 0.0006819 0.0006819 0.0006819 0.07% Gravity::get_new_grav_vector() 11 0.0006225 0.0006225 0.0006225 0.07% FabArrayBase::getFB() 4023 0.0005975 0.0005975 0.0005975 0.07% Gravity::get_old_grav_vector() 10 0.0005478 0.0005478 0.0005478 0.06% Amr::InitAmr() 1 0.0004531 0.0004531 0.0004531 0.05% MLCellLinOp::apply() 1142 0.0004488 0.0004488 0.0004488 0.05% MLMG::mgVcycle() 82 0.0003954 0.0003954 0.0003954 0.04% Amr::coarseTimeStep() 10 0.0003384 0.0003384 0.0003384 0.04% MLLinOp::defineGrids() 11 0.0003323 0.0003323 0.0003323 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002943 0.0002943 0.0002943 0.03% main() 1 0.0002889 0.0002889 0.0002889 0.03% MultiFab::max() 11 0.0002551 0.0002551 0.0002551 0.03% FabArray::ParallelCopy() 861 0.0002455 0.0002455 0.0002455 0.03% MLCellLinOp::correctionResidual() 492 0.00023 0.00023 0.00023 0.03% MLCellLinOp::defineBC() 11 0.0002266 0.0002266 0.0002266 0.02% FillPatchIterator::Initialize 41 0.0002246 0.0002246 0.0002246 0.02% Castro::create_source_corrector() 10 0.0001841 0.0001841 0.0001841 0.02% Castro::subcycle_advance_ctu() 10 0.0001609 0.0001609 0.0001609 0.02% Amr::timeStep() 10 0.0001522 0.0001522 0.0001522 0.02% StateData::checkPoint() 12 0.000136 0.000136 0.000136 0.01% Gravity::update_max_rhs() 11 0.0001224 0.0001224 0.0001224 0.01% Gravity::solve_for_phi() 10 0.0001151 0.0001151 0.0001151 0.01% MLMG:computeResOfCorrection() 410 0.0001123 0.0001123 0.0001123 0.01% MLMG::actualBottomSolve() 82 9.68e-05 9.68e-05 9.68e-05 0.01% Castro::do_old_sources() 10 9.139e-05 9.139e-05 9.139e-05 0.01% Castro::advance() 10 9.016e-05 9.016e-05 9.016e-05 0.01% FabArrayBase::FB::FB() 56 8.948e-05 8.948e-05 8.948e-05 0.01% MLMG::mgVcycle_down::0 82 8.83e-05 8.83e-05 8.83e-05 0.01% Castro::clean_state() 62 8.613e-05 8.613e-05 8.613e-05 0.01% Castro::do_new_sources() 10 8.533e-05 8.533e-05 8.533e-05 0.01% MLMG::mgVcycle_down::1 82 8.51e-05 8.51e-05 8.51e-05 0.01% MLMG::mgVcycle_down::2 82 8.197e-05 8.197e-05 8.197e-05 0.01% Castro::expand_state() 10 7.847e-05 7.847e-05 7.847e-05 0.01% Castro::Castro() 1 7.744e-05 7.744e-05 7.744e-05 0.01% AmrLevel::checkPoint() 3 7.714e-05 7.714e-05 7.714e-05 0.01% MLMG::mgVcycle_down::3 82 7.701e-05 7.701e-05 7.701e-05 0.01% MLMG::mgVcycle_down::4 82 7.616e-05 7.616e-05 7.616e-05 0.01% Castro::initialize_advance() 10 7.392e-05 7.392e-05 7.392e-05 0.01% MLMG::solve() 11 7.286e-05 7.286e-05 7.286e-05 0.01% Castro::initialize_do_advance() 10 6.991e-05 6.991e-05 6.991e-05 0.01% MLMG::mgVcycle_up::4 82 6.028e-05 6.028e-05 6.028e-05 0.01% Castro::finalize_advance() 10 5.974e-05 5.974e-05 5.974e-05 0.01% MLMG::oneIter() 82 5.828e-05 5.828e-05 5.828e-05 0.01% MLMG::mgVcycle_up::3 82 5.376e-05 5.376e-05 5.376e-05 0.01% MLMG::mgVcycle_up::0 82 5.165e-05 5.165e-05 5.165e-05 0.01% MLMG::mgVcycle_up::1 82 5.021e-05 5.021e-05 5.021e-05 0.01% MLCellLinOp::solutionResidual() 93 4.812e-05 4.812e-05 4.812e-05 0.01% MLMG::mgVcycle_up::2 82 4.812e-05 4.812e-05 4.812e-05 0.01% Castro::finalize_do_advance() 10 4.241e-05 4.241e-05 4.241e-05 0.00% StateData::define() 4 4.084e-05 4.084e-05 4.084e-05 0.00% Castro::swap_state_time_levels() 10 3.867e-05 3.867e-05 3.867e-05 0.00% Castro::post_timestep() 10 3.776e-05 3.776e-05 3.776e-05 0.00% MLMG::ResNormInf() 93 3.594e-05 3.594e-05 3.594e-05 0.00% Castro::do_advance_ctu() 10 3.45e-05 3.45e-05 3.45e-05 0.00% Castro::enforce_consistent_e() 1 3.265e-05 3.265e-05 3.265e-05 0.00% MLMG::mgVcycle_bottom 82 3.21e-05 3.21e-05 3.21e-05 0.00% MLMG::computeResidual() 82 3.08e-05 3.08e-05 3.08e-05 0.00% FillPatchSingleLevel 41 2.96e-05 2.96e-05 2.96e-05 0.00% MLPoisson::define() 11 2.705e-05 2.705e-05 2.705e-05 0.00% Amr::defBaseLevel() 1 2.671e-05 2.671e-05 2.671e-05 0.00% Amr::writeSmallPlotFile() 1 2.493e-05 2.493e-05 2.493e-05 0.00% Castro::initMFs() 1 2.435e-05 2.435e-05 2.435e-05 0.00% makeSFC 55 2.428e-05 2.428e-05 2.428e-05 0.00% Castro::construct_new_gravity() 10 2.386e-05 2.386e-05 2.386e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.171e-05 2.171e-05 2.171e-05 0.00% Amr::FinalizeInit() 1 2.025e-05 2.025e-05 2.025e-05 0.00% Castro::construct_old_source() 50 1.9e-05 1.9e-05 1.9e-05 0.00% Castro::construct_new_source() 50 1.824e-05 1.824e-05 1.824e-05 0.00% Castro::buildMetrics() 1 1.773e-05 1.773e-05 1.773e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.696e-05 1.696e-05 1.696e-05 0.00% Castro::apply_source_to_state() 20 1.686e-05 1.686e-05 1.686e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.548e-05 1.548e-05 1.548e-05 0.00% MLPoisson::prepareForSolve() 11 1.485e-05 1.485e-05 1.485e-05 0.00% DistributionMapping::Distribute() 56 1.436e-05 1.436e-05 1.436e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.375e-05 1.375e-05 1.375e-05 0.00% Castro::check_for_nan() 20 1.092e-05 1.092e-05 1.092e-05 0.00% Castro::post_init() 1 1.027e-05 1.027e-05 1.027e-05 0.00% MLLinOp::define() 11 9.708e-06 9.708e-06 9.708e-06 0.00% Amr::initSubcycle() 1 9.044e-06 9.044e-06 9.044e-06 0.00% Gravity::swapTimeLevels() 10 8.499e-06 8.499e-06 8.499e-06 0.00% MLMG::computeMLResidual() 11 8.333e-06 8.333e-06 8.333e-06 0.00% Castro::construct_old_gravity() 10 8.326e-06 8.326e-06 8.326e-06 0.00% Gravity::actual_multilevel_solve() 1 8.083e-06 8.083e-06 8.083e-06 0.00% Castro::computeNewDt() 9 6.864e-06 6.864e-06 6.864e-06 0.00% MLMG::getGradSolution() 11 5.921e-06 5.921e-06 5.921e-06 0.00% AmrLevel::checkPointPost() 3 5.346e-06 5.346e-06 5.346e-06 0.00% Amr::InitializeInit() 1 4.717e-06 4.717e-06 4.717e-06 0.00% Gravity::set_mass_offset() 11 4.13e-06 4.13e-06 4.13e-06 0.00% MLMG::MLRhsNormInf() 11 4.032e-06 4.032e-06 4.032e-06 0.00% Castro::retry_advance_ctu() 10 3.847e-06 3.847e-06 3.847e-06 0.00% MLMG::MLResNormInf() 11 3.725e-06 3.725e-06 3.725e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.209e-06 3.209e-06 3.209e-06 0.00% Castro::FluxRegCrseInit 10 2.829e-06 2.829e-06 2.829e-06 0.00% Amr::init() 1 2.534e-06 2.534e-06 2.534e-06 0.00% Castro::computeInitialDt() 2 2.499e-06 2.499e-06 2.499e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.76e-06 1.76e-06 1.76e-06 0.00% Castro::FluxRegFineAdd() 10 1.752e-06 1.752e-06 1.752e-06 0.00% AmrLevel::checkPointPre() 3 1.58e-06 1.58e-06 1.58e-06 0.00% Amr::initialInit() 1 1.428e-06 1.428e-06 1.428e-06 0.00% Castro::post_regrid() 1 8.19e-07 8.19e-07 8.19e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9125 0.9125 0.9125 100.00% Amr::coarseTimeStep() 10 0.7411 0.7411 0.7411 81.21% Amr::timeStep() 10 0.624 0.624 0.624 68.38% Castro::advance() 10 0.6134 0.6134 0.6134 67.21% Castro::subcycle_advance_ctu() 10 0.6009 0.6009 0.6009 65.85% Castro::do_advance_ctu() 10 0.6008 0.6008 0.6008 65.83% Gravity::solve_phi_with_mlmg() 11 0.2788 0.2788 0.2788 30.55% Castro::construct_ctu_hydro_source() 10 0.2755 0.2755 0.2755 30.19% Gravity::actual_solve_with_mlmg() 11 0.2717 0.2717 0.2717 29.77% Castro::construct_new_gravity() 10 0.2549 0.2549 0.2549 27.94% MLMG::solve() 11 0.2518 0.2518 0.2518 27.59% Gravity::solve_for_phi() 10 0.2396 0.2396 0.2396 26.25% MLMG::oneIter() 82 0.2377 0.2377 0.2377 26.05% MLMG::mgVcycle() 82 0.234 0.234 0.234 25.65% VisMF::Write(FabArray) 11 0.2299 0.2299 0.2299 25.19% Amr::checkPoint() 3 0.171 0.171 0.171 18.74% AmrLevel::checkPoint() 3 0.1671 0.1671 0.1671 18.31% StateData::checkPoint() 12 0.167 0.167 0.167 18.30% Amr::init() 1 0.1376 0.1376 0.1376 15.08% MLCellLinOp::smooth() 1640 0.116 0.116 0.116 12.72% MLCellLinOp::applyBC() 4433 0.1089 0.1089 0.1089 11.93% MLMG::mgVcycle_bottom 82 0.07153 0.07153 0.07153 7.84% MLMG::actualBottomSolve() 82 0.07149 0.07149 0.07149 7.83% MLCGSolver::bicgstab 82 0.07081 0.07081 0.07081 7.76% Amr::writePlotFile() 2 0.06585 0.06585 0.06585 7.22% Castro::clean_state() 62 0.05118 0.05118 0.05118 5.61% Amr::initialInit() 1 0.04718 0.04718 0.04718 5.17% Amr::FinalizeInit() 1 0.04286 0.04286 0.04286 4.70% FillPatchIterator::Initialize 41 0.042 0.042 0.042 4.60% Castro::post_init() 1 0.04158 0.04158 0.04158 4.56% FillPatchSingleLevel 41 0.04048 0.04048 0.04048 4.44% Gravity::multilevel_solve_for_new_phi() 1 0.03965 0.03965 0.03965 4.34% Gravity::actual_multilevel_solve() 1 0.03963 0.03963 0.03963 4.34% StateDataPhysBCFunct::() 41 0.03642 0.03642 0.03642 3.99% MLCellLinOp::apply() 1142 0.0357 0.0357 0.0357 3.91% MLMG::mgVcycle_down::0 82 0.03415 0.03415 0.03415 3.74% FabArray::FillBoundary() 4023 0.03368 0.03368 0.03368 3.69% FillBoundary_nowait() 4023 0.03288 0.03288 0.03288 3.60% MLPoisson::Fsmooth() 3280 0.03158 0.03158 0.03158 3.46% MLMG::mgVcycle_up::0 82 0.02593 0.02593 0.02593 2.84% StateData::FillBoundary(geom) 328 0.02419 0.02419 0.02419 2.65% MLCellLinOp::correctionResidual() 492 0.02193 0.02193 0.02193 2.40% Castro::initialize_do_advance() 10 0.02114 0.02114 0.02114 2.32% Castro::computeTemp() 63 0.02088 0.02088 0.02088 2.29% amrex::Dot() 1114 0.02006 0.02006 0.02006 2.20% MLMG:computeResOfCorrection() 410 0.01936 0.01936 0.01936 2.12% Castro::do_old_sources() 10 0.01812 0.01812 0.01812 1.99% Castro::normalize_species() 62 0.01763 0.01763 0.01763 1.93% Gravity::get_new_grav_vector() 11 0.017 0.017 0.017 1.86% MLPoisson::define() 11 0.01568 0.01568 0.01568 1.72% MLMG::mgVcycle_down::1 82 0.01545 0.01545 0.01545 1.69% amrex::Copy() 1029 0.0145 0.0145 0.0145 1.59% MLMG::mgVcycle_down::2 82 0.01444 0.01444 0.01444 1.58% Castro::construct_old_gravity() 10 0.01438 0.01438 0.01438 1.58% Gravity::get_old_grav_vector() 10 0.01438 0.01438 0.01438 1.58% MLMG::mgVcycle_down::3 82 0.01404 0.01404 0.01404 1.54% FabArray::ParallelCopy() 861 0.01403 0.01403 0.01403 1.54% FabArray::norminf() 743 0.01386 0.01386 0.01386 1.52% MLMG::mgVcycle_down::4 82 0.01385 0.01385 0.01385 1.52% FabArray::ParallelCopy_nowait() 861 0.01379 0.01379 0.01379 1.51% FabArray::setVal() 1144 0.01284 0.01284 0.01284 1.41% MLCGSolver::ParallelAllReduce 1514 0.01206 0.01206 0.01206 1.32% Castro::expand_state() 10 0.01185 0.01185 0.01185 1.30% Castro::initialize_advance() 10 0.01182 0.01182 0.01182 1.30% MLMG::addInterpCorrection() 410 0.01161 0.01161 0.01161 1.27% Castro::do_new_sources() 10 0.01159 0.01159 0.01159 1.27% MLMG::mgVcycle_up::4 82 0.01132 0.01132 0.01132 1.24% MLMG::mgVcycle_up::1 82 0.01125 0.01125 0.01125 1.23% MLMG::mgVcycle_up::2 82 0.01097 0.01097 0.01097 1.20% amrex::average_down 410 0.01089 0.01089 0.01089 1.19% Castro::enforce_min_density() 62 0.01078 0.01078 0.01078 1.18% MLMG::mgVcycle_up::3 82 0.01071 0.01071 0.01071 1.17% MLCellLinOp::defineAuxData() 11 0.01059 0.01059 0.01059 1.16% Castro::post_timestep() 10 0.01052 0.01052 0.01052 1.15% MLPoisson::Fapply() 1142 0.01015 0.01015 0.01015 1.11% FabArray::Saxpy() 813 0.007941 0.007941 0.007941 0.87% FabArray::Xpay() 821 0.007863 0.007863 0.007863 0.86% MLCellLinOp::solutionResidual() 93 0.007096 0.007096 0.007096 0.78% Gravity::fill_multipole_BCs() 11 0.006925 0.006925 0.006925 0.76% Castro::reset_internal_energy(MultiFab) 63 0.006493 0.006493 0.006493 0.71% MLMG::computeResidual() 82 0.006123 0.006123 0.006123 0.67% Castro::estTimeStep() 21 0.005541 0.005541 0.005541 0.61% MLCellLinOp::defineBC() 11 0.004663 0.004663 0.004663 0.51% MLMG::prepareForSolve() 11 0.004546 0.004546 0.004546 0.50% BndryData::define() 11 0.004437 0.004437 0.004437 0.49% FabArray::LinComb() 557 0.004387 0.004387 0.004387 0.48% amrex::Add() 164 0.004356 0.004356 0.004356 0.48% Amr::InitializeInit() 1 0.004318 0.004318 0.004318 0.47% Amr::defBaseLevel() 1 0.004314 0.004314 0.004314 0.47% Castro::initData() 1 0.003813 0.003813 0.003813 0.42% Castro::construct_new_source() 50 0.003192 0.003192 0.003192 0.35% Castro::construct_new_gravity_source() 10 0.003174 0.003174 0.003174 0.35% Castro::construct_old_source() 50 0.002763 0.002763 0.002763 0.30% Castro::construct_old_gravity_source() 10 0.002744 0.002744 0.002744 0.30% Castro::finalize_do_advance() 10 0.002697 0.002697 0.002697 0.30% Castro::computeNewDt() 9 0.002616 0.002616 0.002616 0.29% Castro::enforce_speed_limit() 62 0.002584 0.002584 0.002584 0.28% MLMG::ResNormInf() 93 0.002072 0.002072 0.002072 0.23% Castro::apply_source_to_state() 20 0.001824 0.001824 0.001824 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001622 0.001622 0.001622 0.18% check_for_negative_density() 10 0.001471 0.001471 0.001471 0.16% Castro::reset_internal_energy(Fab) 504 0.001408 0.001408 0.001408 0.15% FabArrayBase::getCPC() 1323 0.001393 0.001393 0.001393 0.15% MLMG::getGradSolution() 11 0.001381 0.001381 0.001381 0.15% MLCellLinOp::compGrad() 11 0.001375 0.001375 0.001375 0.15% MLCellLinOp::setLevelBC() 11 0.001345 0.001345 0.001345 0.15% FabArray::setDomainBndry() 41 0.001301 0.001301 0.001301 0.14% FabArray::mult() 43 0.001296 0.001296 0.001296 0.14% Castro::check_for_nan() 20 0.001162 0.001162 0.001162 0.13% MultiFab::contains_nan() 20 0.001151 0.001151 0.001151 0.13% Castro::post_regrid() 1 0.001103 0.001103 0.001103 0.12% MLPoisson::prepareForSolve() 11 0.001102 0.001102 0.001102 0.12% MLCellLinOp::prepareForSolve() 11 0.001087 0.001087 0.001087 0.12% MLMG::computeMLResidual() 11 0.001013 0.001013 0.001013 0.11% Castro::computeInitialDt() 2 0.0008572 0.0008572 0.0008572 0.09% Gravity::update_max_rhs() 11 0.0008206 0.0008206 0.0008206 0.09% FabArrayBase::getFB() 4023 0.000687 0.000687 0.000687 0.08% FabArrayBase::CPC::define() 454 0.0006819 0.0006819 0.0006819 0.07% Castro::finalize_advance() 10 0.0005475 0.0005475 0.0005475 0.06% Amr::InitAmr() 1 0.0004621 0.0004621 0.0004621 0.05% Gravity::swapTimeLevels() 10 0.0004294 0.0004294 0.0004294 0.05% Castro::Castro() 1 0.0004136 0.0004136 0.0004136 0.05% MLLinOp::define() 11 0.0003951 0.0003951 0.0003951 0.04% MLLinOp::defineGrids() 11 0.0003854 0.0003854 0.0003854 0.04% MLMG::MLResNormInf() 11 0.0002837 0.0002837 0.0002837 0.03% MultiFab::max() 11 0.0002551 0.0002551 0.0002551 0.03% MLMG::MLRhsNormInf() 11 0.0002217 0.0002217 0.0002217 0.02% Castro::create_source_corrector() 10 0.0001841 0.0001841 0.0001841 0.02% Castro::buildMetrics() 1 0.0001527 0.0001527 0.0001527 0.02% FabArrayBase::FB::FB() 56 8.948e-05 8.948e-05 8.948e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.632e-05 5.632e-05 5.632e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.126e-05 5.126e-05 5.126e-05 0.01% StateData::define() 4 4.084e-05 4.084e-05 4.084e-05 0.00% Castro::swap_state_time_levels() 10 3.867e-05 3.867e-05 3.867e-05 0.00% makeSFC 55 3.751e-05 3.751e-05 3.751e-05 0.00% Castro::enforce_consistent_e() 1 3.265e-05 3.265e-05 3.265e-05 0.00% Amr::writeSmallPlotFile() 1 2.493e-05 2.493e-05 2.493e-05 0.00% Castro::initMFs() 1 2.435e-05 2.435e-05 2.435e-05 0.00% DistributionMapping::Distribute() 56 1.436e-05 1.436e-05 1.436e-05 0.00% Amr::initSubcycle() 1 9.044e-06 9.044e-06 9.044e-06 0.00% AmrLevel::checkPointPost() 3 5.346e-06 5.346e-06 5.346e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.344e-06 4.344e-06 4.344e-06 0.00% Gravity::set_mass_offset() 11 4.13e-06 4.13e-06 4.13e-06 0.00% Castro::retry_advance_ctu() 10 3.847e-06 3.847e-06 3.847e-06 0.00% Castro::FluxRegCrseInit 10 2.829e-06 2.829e-06 2.829e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.76e-06 1.76e-06 1.76e-06 0.00% Castro::FluxRegFineAdd() 10 1.752e-06 1.752e-06 1.752e-06 0.00% AmrLevel::checkPointPre() 3 1.58e-06 1.58e-06 1.58e-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 88 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 138 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 1000 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2028 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7613 KiB 14 MiB MLMG::prepareForSolve() 660 660 3395 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 193 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 161 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1717 B 2048 KiB Gravity::solve_for_phi() 80 80 537 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 88 KiB 2048 KiB BndryData::define() 1056 1056 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 196 KiB 671 KiB Castro::estTimeStep() 21 21 2963 B 480 KiB VisMF::Write(FabArray) 656 656 3213 B 320 KiB Castro::normalize_species() 62 62 6292 B 320 KiB amrex::average_down 1067 1067 1210 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1090 B 257 KiB amrex::Dot() 1360 1360 3244 B 160 KiB FabArray::norminf() 907 907 2248 B 160 KiB check_for_negative_density() 10 10 260 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3320 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 310 B 9648 B MLCellLinOp::applyBC() 8866 8866 213 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3866 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 112 B 1472 B MLCellLinOp::defineBC() 66 66 349 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 596 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 47 KiB 8192 KiB VisMF::Write(FabArray) 744 744 581 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3320 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 310 B 9648 B MLCellLinOp::applyBC() 4433 4433 211 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3866 B 6144 B Gravity::get_new_grav_vector() 3 3 2914 B 3072 B StateData::FillBoundary(geom) 1992 1992 48 B 2880 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 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 282 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.06-14-g7c7a8fb1fff5) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.06-14-g7c7a8fb1fff5) initialized Starting run at 08:25:23 UTC on 2023-06-09. Successfully read inputs file ... Castro git describe: 23.06-16-g0603698ef AMReX git describe: 23.06-14-g7c7a8fb1f Microphysics git describe: 23.06-8-gc1297423 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.49545076 Restart time = 0.045133375 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.047850582 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.049514863 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.066300422 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.077347837 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.069880261 [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.032712167 seconds Ending run at 08:25:23 UTC on 2023-06-09. Run time = 0.389730615 Run time without initialization = 0.344027836 Average number of zones advanced per microsecond: 3.810 Average number of zones advanced per microsecond per rank: 3.810 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3898 ... 0.3898 ... 0.3898 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1296 0.1296 0.1296 33.26% VisMF::Read() 3 0.03899 0.03899 0.03899 10.00% MLCellLinOp::applyBC() 1946 0.0324 0.0324 0.0324 8.31% VisMF::Write(FabArray) 1 0.03113 0.03113 0.03113 7.99% MLPoisson::Fsmooth() 1440 0.01357 0.01357 0.01357 3.48% FillBoundary_nowait() 1766 0.01282 0.01282 0.01282 3.29% StateData::FillBoundary(geom) 160 0.01156 0.01156 0.01156 2.97% Castro::normalize_species() 30 0.01062 0.01062 0.01062 2.72% amrex::Dot() 484 0.008522 0.008522 0.008522 2.19% amrex::Copy() 463 0.006828 0.006828 0.006828 1.75% Castro::computeTemp() 30 0.006353 0.006353 0.006353 1.63% FabArray::setVal() 537 0.006094 0.006094 0.006094 1.56% FabArray::norminf() 326 0.005967 0.005967 0.005967 1.53% FabArray::ParallelCopy_nowait() 380 0.005882 0.005882 0.005882 1.51% Castro::enforce_min_density() 30 0.005402 0.005402 0.005402 1.39% MLCellLinOp::defineAuxData() 6 0.004987 0.004987 0.004987 1.28% StateDataPhysBCFunct::() 20 0.004717 0.004717 0.004717 1.21% MLPoisson::Fapply() 500 0.004359 0.004359 0.004359 1.12% FabArray::Saxpy() 355 0.003531 0.003531 0.003531 0.91% FabArray::Xpay() 361 0.003407 0.003407 0.003407 0.87% Gravity::fill_multipole_BCs() 6 0.003406 0.003406 0.003406 0.87% Castro::estTimeStep() 10 0.003278 0.003278 0.003278 0.84% MLMG::addInterpCorrection() 180 0.00284 0.00284 0.00284 0.73% amrex::average_down 180 0.002536 0.002536 0.002536 0.65% Amr::restart() 1 0.002492 0.002492 0.002492 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002197 0.002197 0.002197 0.56% BndryData::define() 6 0.001916 0.001916 0.001916 0.49% FabArray::LinComb() 242 0.001882 0.001882 0.001882 0.48% amrex::Add() 72 0.001828 0.001828 0.001828 0.47% Castro::construct_new_gravity_source() 5 0.001616 0.001616 0.001616 0.41% Amr::writePlotFile() 1 0.001426 0.001426 0.001426 0.37% Castro::construct_old_gravity_source() 5 0.001359 0.001359 0.001359 0.35% Castro::subcycle_advance_ctu() 5 0.001099 0.001099 0.001099 0.28% MLCGSolver::bicgstab 36 0.0009584 0.0009584 0.0009584 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008712 0.0008712 0.0008712 0.22% Castro::reset_internal_energy(Fab) 240 0.0007946 0.0007946 0.0007946 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007805 0.0007805 0.0007805 0.20% MLCellLinOp::setLevelBC() 6 0.0007142 0.0007142 0.0007142 0.18% check_for_negative_density() 5 0.0007024 0.0007024 0.0007024 0.18% FabArray::mult() 22 0.000643 0.000643 0.000643 0.16% FabArray::setDomainBndry() 20 0.000617 0.000617 0.000617 0.16% MLCellLinOp::prepareForSolve() 6 0.0005851 0.0005851 0.0005851 0.15% MultiFab::contains_nan() 10 0.0005754 0.0005754 0.0005754 0.15% MLCellLinOp::smooth() 720 0.0004856 0.0004856 0.0004856 0.12% MLCellLinOp::compGrad() 6 0.000478 0.000478 0.000478 0.12% MLMG::prepareForSolve() 6 0.0004651 0.0004651 0.0004651 0.12% Castro::enforce_speed_limit() 30 0.0004559 0.0004559 0.0004559 0.12% FabArrayBase::CPC::define() 244 0.0004063 0.0004063 0.0004063 0.10% Amr::InitAmr() 1 0.0003792 0.0003792 0.0003792 0.10% FabArray::FillBoundary() 1766 0.0003622 0.0003622 0.0003622 0.09% FabArrayBase::getCPC() 632 0.00034 0.00034 0.00034 0.09% Gravity::get_old_grav_vector() 5 0.0003131 0.0003131 0.0003131 0.08% main() 1 0.0002874 0.0002874 0.0002874 0.07% Gravity::get_new_grav_vector() 5 0.0002737 0.0002737 0.0002737 0.07% FabArrayBase::getFB() 1766 0.0002597 0.0002597 0.0002597 0.07% MLCellLinOp::apply() 500 0.000198 0.000198 0.000198 0.05% MLLinOp::defineGrids() 6 0.0001736 0.0001736 0.0001736 0.04% Amr::coarseTimeStep() 5 0.0001625 0.0001625 0.0001625 0.04% MLMG::mgVcycle() 36 0.0001521 0.0001521 0.0001521 0.04% MultiFab::max() 6 0.0001339 0.0001339 0.0001339 0.03% MLCGSolver::ParallelAllReduce 659 0.0001287 0.0001287 0.0001287 0.03% MLCellLinOp::defineBC() 6 0.0001228 0.0001228 0.0001228 0.03% FillPatchIterator::Initialize 20 0.0001123 0.0001123 0.0001123 0.03% FabArray::ParallelCopy() 380 0.0001095 0.0001095 0.0001095 0.03% MLCellLinOp::correctionResidual() 216 9.499e-05 9.499e-05 9.499e-05 0.02% Amr::timeStep() 5 9.252e-05 9.252e-05 9.252e-05 0.02% Castro::finalize_do_advance() 5 9.001e-05 9.001e-05 9.001e-05 0.02% Castro::construct_new_source() 25 8.874e-05 8.874e-05 8.874e-05 0.02% Castro::create_source_corrector() 5 8.756e-05 8.756e-05 8.756e-05 0.02% AmrLevel::restart() 1 8.131e-05 8.131e-05 8.131e-05 0.02% Castro::do_new_sources() 5 7.855e-05 7.855e-05 7.855e-05 0.02% Gravity::update_max_rhs() 6 6.804e-05 6.804e-05 6.804e-05 0.02% StateData::restartDoit() 4 6.536e-05 6.536e-05 6.536e-05 0.02% FabArrayBase::FB::FB() 26 5.959e-05 5.959e-05 5.959e-05 0.02% Castro::advance() 5 5.496e-05 5.496e-05 5.496e-05 0.01% Gravity::solve_for_phi() 5 5.161e-05 5.161e-05 5.161e-05 0.01% Castro::initialize_do_advance() 5 5.107e-05 5.107e-05 5.107e-05 0.01% MLMG:computeResOfCorrection() 180 4.783e-05 4.783e-05 4.783e-05 0.01% Castro::do_old_sources() 5 4.74e-05 4.74e-05 4.74e-05 0.01% Castro::clean_state() 30 4.176e-05 4.176e-05 4.176e-05 0.01% Castro::expand_state() 5 4.108e-05 4.108e-05 4.108e-05 0.01% MLMG::actualBottomSolve() 36 3.943e-05 3.943e-05 3.943e-05 0.01% Castro::finalize_advance() 5 3.913e-05 3.913e-05 3.913e-05 0.01% MLMG::mgVcycle_down::0 36 3.8e-05 3.8e-05 3.8e-05 0.01% MLMG::mgVcycle_down::1 36 3.788e-05 3.788e-05 3.788e-05 0.01% MLMG::mgVcycle_down::2 36 3.614e-05 3.614e-05 3.614e-05 0.01% MLMG::mgVcycle_down::4 36 3.592e-05 3.592e-05 3.592e-05 0.01% Castro::initialize_advance() 5 3.517e-05 3.517e-05 3.517e-05 0.01% MLMG::mgVcycle_down::3 36 3.475e-05 3.475e-05 3.475e-05 0.01% MLMG::solve() 6 3.375e-05 3.375e-05 3.375e-05 0.01% Castro::construct_old_source() 25 3.176e-05 3.176e-05 3.176e-05 0.01% MLMG::mgVcycle_up::4 36 2.774e-05 2.774e-05 2.774e-05 0.01% Amr::writeSmallPlotFile() 1 2.742e-05 2.742e-05 2.742e-05 0.01% Castro::buildMetrics() 1 2.585e-05 2.585e-05 2.585e-05 0.01% Castro::initMFs() 1 2.531e-05 2.531e-05 2.531e-05 0.01% Castro::post_restart() 1 2.515e-05 2.515e-05 2.515e-05 0.01% MLMG::oneIter() 36 2.499e-05 2.499e-05 2.499e-05 0.01% Castro::swap_state_time_levels() 5 2.456e-05 2.456e-05 2.456e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.433e-05 2.433e-05 2.433e-05 0.01% MLMG::mgVcycle_up::0 36 2.256e-05 2.256e-05 2.256e-05 0.01% MLMG::mgVcycle_up::3 36 2.107e-05 2.107e-05 2.107e-05 0.01% MLMG::mgVcycle_up::2 36 2.089e-05 2.089e-05 2.089e-05 0.01% MLCellLinOp::solutionResidual() 42 2.047e-05 2.047e-05 2.047e-05 0.01% MLMG::mgVcycle_up::1 36 2.024e-05 2.024e-05 2.024e-05 0.01% MLPoisson::define() 6 2.003e-05 2.003e-05 2.003e-05 0.01% MLMG::ResNormInf() 42 1.857e-05 1.857e-05 1.857e-05 0.00% Castro::do_advance_ctu() 5 1.679e-05 1.679e-05 1.679e-05 0.00% MLMG::mgVcycle_bottom 36 1.496e-05 1.496e-05 1.496e-05 0.00% FillPatchSingleLevel 20 1.455e-05 1.455e-05 1.455e-05 0.00% MLMG::computeResidual() 36 1.355e-05 1.355e-05 1.355e-05 0.00% makeSFC 30 1.318e-05 1.318e-05 1.318e-05 0.00% Castro::construct_new_gravity() 5 1.186e-05 1.186e-05 1.186e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.18e-05 1.18e-05 1.18e-05 0.00% MLPoisson::prepareForSolve() 6 1.059e-05 1.059e-05 1.059e-05 0.00% Amr::initSubcycle() 1 8.737e-06 8.737e-06 8.737e-06 0.00% DistributionMapping::Distribute() 31 8.434e-06 8.434e-06 8.434e-06 0.00% Gravity::actual_multilevel_solve() 1 7.762e-06 7.762e-06 7.762e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.342e-06 7.342e-06 7.342e-06 0.00% Castro::apply_source_to_state() 10 5.396e-06 5.396e-06 5.396e-06 0.00% Castro::check_for_nan() 10 5.38e-06 5.38e-06 5.38e-06 0.00% MLLinOp::define() 6 5.133e-06 5.133e-06 5.133e-06 0.00% Castro::post_timestep() 5 5.065e-06 5.065e-06 5.065e-06 0.00% Castro::construct_old_gravity() 5 4.905e-06 4.905e-06 4.905e-06 0.00% Gravity::swapTimeLevels() 5 3.985e-06 3.985e-06 3.985e-06 0.00% MLMG::computeMLResidual() 6 3.684e-06 3.684e-06 3.684e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.091e-06 3.091e-06 3.091e-06 0.00% Castro::computeNewDt() 5 3.049e-06 3.049e-06 3.049e-06 0.00% MLMG::getGradSolution() 6 2.904e-06 2.904e-06 2.904e-06 0.00% Castro::retry_advance_ctu() 5 2.825e-06 2.825e-06 2.825e-06 0.00% Castro::FluxRegFineAdd() 5 2.407e-06 2.407e-06 2.407e-06 0.00% MLMG::MLResNormInf() 6 2.186e-06 2.186e-06 2.186e-06 0.00% Gravity::set_mass_offset() 6 2.045e-06 2.045e-06 2.045e-06 0.00% Castro::FluxRegCrseInit 5 1.977e-06 1.977e-06 1.977e-06 0.00% MLMG::MLRhsNormInf() 6 1.976e-06 1.976e-06 1.976e-06 0.00% Amr::init() 1 1.018e-06 1.018e-06 1.018e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.39e-07 9.39e-07 9.39e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3897 0.3897 0.3897 100.00% Amr::coarseTimeStep() 5 0.3111 0.3111 0.3111 79.81% Amr::timeStep() 5 0.3086 0.3086 0.3086 79.19% Castro::advance() 5 0.304 0.304 0.304 77.98% Castro::subcycle_advance_ctu() 5 0.2969 0.2969 0.2969 76.17% Castro::do_advance_ctu() 5 0.2958 0.2958 0.2958 75.88% Castro::construct_ctu_hydro_source() 5 0.1332 0.1332 0.1332 34.18% Castro::construct_new_gravity() 5 0.1266 0.1266 0.1266 32.49% Gravity::solve_phi_with_mlmg() 6 0.1221 0.1221 0.1221 31.32% Gravity::solve_for_phi() 5 0.1191 0.1191 0.1191 30.56% Gravity::actual_solve_with_mlmg() 6 0.1184 0.1184 0.1184 30.38% MLMG::solve() 6 0.1077 0.1077 0.1077 27.62% MLMG::oneIter() 36 0.101 0.101 0.101 25.91% MLMG::mgVcycle() 36 0.09943 0.09943 0.09943 25.51% MLCellLinOp::smooth() 720 0.04897 0.04897 0.04897 12.56% MLCellLinOp::applyBC() 1946 0.0459 0.0459 0.0459 11.78% Amr::init() 1 0.04518 0.04518 0.04518 11.59% Amr::restart() 1 0.04517 0.04517 0.04517 11.59% AmrLevel::restart() 1 0.0392 0.0392 0.0392 10.06% StateData::restartDoit() 4 0.03911 0.03911 0.03911 10.04% VisMF::Read() 3 0.03899 0.03899 0.03899 10.00% Amr::writePlotFile() 1 0.03281 0.03281 0.03281 8.42% VisMF::Write(FabArray) 1 0.03113 0.03113 0.03113 7.99% MLMG::mgVcycle_bottom 36 0.03058 0.03058 0.03058 7.85% MLMG::actualBottomSolve() 36 0.03056 0.03056 0.03056 7.84% MLCGSolver::bicgstab 36 0.03027 0.03027 0.03027 7.77% Castro::clean_state() 30 0.02586 0.02586 0.02586 6.64% FillPatchIterator::Initialize 20 0.01905 0.01905 0.01905 4.89% FillPatchSingleLevel 20 0.01832 0.01832 0.01832 4.70% StateDataPhysBCFunct::() 20 0.01628 0.01628 0.01628 4.18% MLCellLinOp::apply() 500 0.01529 0.01529 0.01529 3.92% MLMG::mgVcycle_down::0 36 0.01417 0.01417 0.01417 3.64% MLPoisson::Fsmooth() 1440 0.01357 0.01357 0.01357 3.48% FabArray::FillBoundary() 1766 0.0135 0.0135 0.0135 3.46% FillBoundary_nowait() 1766 0.01314 0.01314 0.01314 3.37% StateData::FillBoundary(geom) 160 0.01156 0.01156 0.01156 2.97% MLMG::mgVcycle_up::0 36 0.01066 0.01066 0.01066 2.74% Castro::normalize_species() 30 0.01062 0.01062 0.01062 2.72% Castro::initialize_do_advance() 5 0.009939 0.009939 0.009939 2.55% Castro::computeTemp() 30 0.009344 0.009344 0.009344 2.40% MLCellLinOp::correctionResidual() 216 0.009312 0.009312 0.009312 2.39% Castro::do_old_sources() 5 0.008987 0.008987 0.008987 2.31% amrex::Dot() 484 0.008522 0.008522 0.008522 2.19% MLPoisson::define() 6 0.008498 0.008498 0.008498 2.18% MLMG:computeResOfCorrection() 180 0.008191 0.008191 0.008191 2.10% Gravity::get_new_grav_vector() 5 0.007416 0.007416 0.007416 1.90% Castro::do_new_sources() 5 0.007357 0.007357 0.007357 1.89% Castro::construct_old_gravity() 5 0.00706 0.00706 0.00706 1.81% Gravity::get_old_grav_vector() 5 0.007055 0.007055 0.007055 1.81% amrex::Copy() 463 0.006828 0.006828 0.006828 1.75% Castro::initialize_advance() 5 0.006722 0.006722 0.006722 1.72% MLMG::mgVcycle_down::1 36 0.006675 0.006675 0.006675 1.71% FabArray::ParallelCopy() 380 0.006363 0.006363 0.006363 1.63% FabArray::ParallelCopy_nowait() 380 0.006254 0.006254 0.006254 1.60% MLMG::mgVcycle_down::2 36 0.006191 0.006191 0.006191 1.59% FabArray::setVal() 537 0.006094 0.006094 0.006094 1.56% MLMG::mgVcycle_down::3 36 0.006042 0.006042 0.006042 1.55% FabArray::norminf() 326 0.005967 0.005967 0.005967 1.53% MLMG::mgVcycle_down::4 36 0.005959 0.005959 0.005959 1.53% MLCellLinOp::defineAuxData() 6 0.00569 0.00569 0.00569 1.46% Castro::enforce_min_density() 30 0.005402 0.005402 0.005402 1.39% Castro::expand_state() 5 0.005248 0.005248 0.005248 1.35% MLCGSolver::ParallelAllReduce 659 0.005156 0.005156 0.005156 1.32% MLMG::addInterpCorrection() 180 0.005002 0.005002 0.005002 1.28% MLMG::mgVcycle_up::4 36 0.00486 0.00486 0.00486 1.25% MLMG::mgVcycle_up::1 36 0.004819 0.004819 0.004819 1.24% amrex::average_down 180 0.004714 0.004714 0.004714 1.21% MLMG::mgVcycle_up::2 36 0.004706 0.004706 0.004706 1.21% MLMG::mgVcycle_up::3 36 0.004617 0.004617 0.004617 1.18% Castro::post_timestep() 5 0.004605 0.004605 0.004605 1.18% MLPoisson::Fapply() 500 0.004359 0.004359 0.004359 1.12% Gravity::fill_multipole_BCs() 6 0.003558 0.003558 0.003558 0.91% FabArray::Saxpy() 355 0.003531 0.003531 0.003531 0.91% FabArray::Xpay() 361 0.003407 0.003407 0.003407 0.87% Castro::post_restart() 1 0.003316 0.003316 0.003316 0.85% Castro::estTimeStep() 10 0.003278 0.003278 0.003278 0.84% Gravity::multilevel_solve_for_new_phi() 1 0.003204 0.003204 0.003204 0.82% Gravity::actual_multilevel_solve() 1 0.00318 0.00318 0.00318 0.82% MLCellLinOp::solutionResidual() 42 0.00316 0.00316 0.00316 0.81% Castro::reset_internal_energy(MultiFab) 30 0.002991 0.002991 0.002991 0.77% MLMG::computeResidual() 36 0.002621 0.002621 0.002621 0.67% MLCellLinOp::defineBC() 6 0.002582 0.002582 0.002582 0.66% BndryData::define() 6 0.002459 0.002459 0.002459 0.63% MLMG::prepareForSolve() 6 0.002438 0.002438 0.002438 0.63% Castro::computeNewDt() 5 0.002237 0.002237 0.002237 0.57% FabArray::LinComb() 242 0.001882 0.001882 0.001882 0.48% amrex::Add() 72 0.001828 0.001828 0.001828 0.47% Castro::construct_new_source() 25 0.001705 0.001705 0.001705 0.44% Castro::construct_new_gravity_source() 5 0.001616 0.001616 0.001616 0.41% Castro::finalize_do_advance() 5 0.001418 0.001418 0.001418 0.36% Castro::construct_old_source() 25 0.001391 0.001391 0.001391 0.36% Castro::construct_old_gravity_source() 5 0.001359 0.001359 0.001359 0.35% Castro::apply_source_to_state() 10 0.0009153 0.0009153 0.0009153 0.23% MLMG::ResNormInf() 42 0.0009103 0.0009103 0.0009103 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008712 0.0008712 0.0008712 0.22% Castro::reset_internal_energy(Fab) 240 0.0007946 0.0007946 0.0007946 0.20% FabArrayBase::getCPC() 632 0.0007463 0.0007463 0.0007463 0.19% MLMG::getGradSolution() 6 0.0007423 0.0007423 0.0007423 0.19% MLCellLinOp::compGrad() 6 0.0007394 0.0007394 0.0007394 0.19% MLCellLinOp::setLevelBC() 6 0.0007142 0.0007142 0.0007142 0.18% check_for_negative_density() 5 0.0007024 0.0007024 0.0007024 0.18% FabArray::mult() 22 0.000643 0.000643 0.000643 0.16% FabArray::setDomainBndry() 20 0.000617 0.000617 0.000617 0.16% MLPoisson::prepareForSolve() 6 0.0005957 0.0005957 0.0005957 0.15% MLCellLinOp::prepareForSolve() 6 0.0005851 0.0005851 0.0005851 0.15% Castro::check_for_nan() 10 0.0005807 0.0005807 0.0005807 0.15% MultiFab::contains_nan() 10 0.0005754 0.0005754 0.0005754 0.15% MLMG::computeMLResidual() 6 0.0005569 0.0005569 0.0005569 0.14% Castro::enforce_speed_limit() 30 0.0004559 0.0004559 0.0004559 0.12% Gravity::update_max_rhs() 6 0.0004512 0.0004512 0.0004512 0.12% FabArrayBase::CPC::define() 244 0.0004063 0.0004063 0.0004063 0.10% Amr::InitAmr() 1 0.0003879 0.0003879 0.0003879 0.10% FabArrayBase::getFB() 1766 0.0003193 0.0003193 0.0003193 0.08% Castro::finalize_advance() 5 0.0003057 0.0003057 0.0003057 0.08% Gravity::swapTimeLevels() 5 0.0002186 0.0002186 0.0002186 0.06% MLLinOp::define() 6 0.0002072 0.0002072 0.0002072 0.05% MLLinOp::defineGrids() 6 0.0002021 0.0002021 0.0002021 0.05% MLMG::MLResNormInf() 6 0.0001498 0.0001498 0.0001498 0.04% Castro::buildMetrics() 1 0.0001424 0.0001424 0.0001424 0.04% MultiFab::max() 6 0.0001339 0.0001339 0.0001339 0.03% MLMG::MLRhsNormInf() 6 0.0001144 0.0001144 0.0001144 0.03% Castro::create_source_corrector() 5 8.756e-05 8.756e-05 8.756e-05 0.02% FabArrayBase::FB::FB() 26 5.959e-05 5.959e-05 5.959e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.753e-05 2.753e-05 2.753e-05 0.01% Amr::writeSmallPlotFile() 1 2.742e-05 2.742e-05 2.742e-05 0.01% Castro::initMFs() 1 2.531e-05 2.531e-05 2.531e-05 0.01% Castro::swap_state_time_levels() 5 2.456e-05 2.456e-05 2.456e-05 0.01% makeSFC 30 2.019e-05 2.019e-05 2.019e-05 0.01% Amr::initSubcycle() 1 8.737e-06 8.737e-06 8.737e-06 0.00% DistributionMapping::Distribute() 31 8.434e-06 8.434e-06 8.434e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.52e-06 4.52e-06 4.52e-06 0.00% Castro::retry_advance_ctu() 5 2.825e-06 2.825e-06 2.825e-06 0.00% Castro::FluxRegFineAdd() 5 2.407e-06 2.407e-06 2.407e-06 0.00% Gravity::set_mass_offset() 6 2.045e-06 2.045e-06 2.045e-06 0.00% Castro::FluxRegCrseInit 5 1.977e-06 1.977e-06 1.977e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.39e-07 9.39e-07 9.39e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 206 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 154 MiB 692 MiB Castro::initMFs() 48 48 60 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 1061 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2354 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6749 KiB 14 MiB MLMG::prepareForSolve() 361 361 3392 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 187 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6744 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2237 B 2048 KiB Gravity::solve_for_phi() 40 40 624 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 3978 B 480 KiB VisMF::Write(FabArray) 112 112 1233 B 320 KiB Castro::normalize_species() 30 30 8871 B 320 KiB amrex::average_down 469 469 1191 B 257 KiB MLMG::addInterpCorrection() 468 468 1093 B 257 KiB amrex::Dot() 592 592 3220 B 160 KiB FabArray::norminf() 398 398 2264 B 160 KiB check_for_negative_density() 5 5 291 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3299 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 3892 3892 215 B 9344 B amrex::Copy() 56 56 5993 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 3264 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 350 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1431 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 112 KiB 8192 KiB VisMF::Write(FabArray) 120 120 246 KiB 3584 KiB VisMF::Read() 24 24 194 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3299 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 1946 1946 214 B 9328 B amrex::Copy() 56 56 5993 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 3264 B Gravity::get_old_grav_vector() 3 3 2666 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 523 B 1296 B amrex::average_down 37 37 226 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.06-14-g7c7a8fb1fff5) finalized