Initializing AMReX (24.02-27-gd8d4828b04df)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-27-gd8d4828b04df) initialized Starting run at 09:38:15 UTC on 2024-02-22. Successfully read inputs file ... Castro git describe: 24.02-21-g56d243e7a AMReX git describe: 24.02-27-gd8d4828b0 Microphysics git describe: 24.02-23-g3df6ba0c 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.043194446 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.023879579 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.065203837 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.070441354 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.068301977 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.063738997 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.066015866 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.043331736 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.06510701 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.068220377 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.069781675 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.055367244 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.05992447 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.041478647 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.023745017 seconds Ending run at 09:38:16 UTC on 2024-02-22. Run time = 0.880440564 Run time without initialization = 0.761343268 Average number of zones advanced per microsecond: 3.443 Average number of zones advanced per microsecond per rank: 3.443 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8805 ... 0.8805 ... 0.8805 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2737 0.2737 0.2737 31.08% VisMF::Write(FabArray) 11 0.1679 0.1679 0.1679 19.06% MLCellLinOp::applyBC() 4298 0.07878 0.07878 0.07878 8.95% MLPoisson::Fsmooth() 3240 0.03243 0.03243 0.03243 3.68% FillBoundary_nowait() 3893 0.03051 0.03051 0.03051 3.47% amrex::Dot() 1100 0.02716 0.02716 0.02716 3.08% StateData::FillBoundary(geom) 328 0.02614 0.02614 0.02614 2.97% FabArray::norminf() 1048 0.01919 0.01919 0.01919 2.18% Castro::normalize_species() 62 0.01881 0.01881 0.01881 2.14% Castro::computeTemp() 63 0.01538 0.01538 0.01538 1.75% FabArray::ParallelCopy_nowait() 851 0.0132 0.0132 0.0132 1.50% FabArray::setVal() 1054 0.01315 0.01315 0.01315 1.49% FabArray::Saxpy() 1353 0.01271 0.01271 0.01271 1.44% StateDataPhysBCFunct::() 41 0.01128 0.01128 0.01128 1.28% Castro::enforce_min_density() 62 0.01127 0.01127 0.01127 1.28% amrex::Copy() 469 0.01082 0.01082 0.01082 1.23% MLCellLinOp::defineAuxData() 11 0.01046 0.01046 0.01046 1.19% MLPoisson::Fapply() 1047 0.009967 0.009967 0.009967 1.13% Gravity::fill_multipole_BCs() 11 0.008734 0.008734 0.008734 0.99% FabArray::Xpay() 730 0.007651 0.007651 0.007651 0.87% MLMG::addInterpCorrection() 405 0.00698 0.00698 0.00698 0.79% Castro::estTimeStep() 21 0.006391 0.006391 0.006391 0.73% amrex::average_down 405 0.006132 0.006132 0.006132 0.70% Amr::checkPoint() 3 0.005442 0.005442 0.005442 0.62% Castro::reset_internal_energy(MultiFab) 63 0.00486 0.00486 0.00486 0.55% BndryData::define() 11 0.00388 0.00388 0.00388 0.44% Castro::enforce_speed_limit() 62 0.00385 0.00385 0.00385 0.44% amrex::Add() 81 0.003544 0.003544 0.003544 0.40% Castro::construct_new_gravity_source() 10 0.003478 0.003478 0.003478 0.40% Castro::construct_old_gravity_source() 10 0.002937 0.002937 0.002937 0.33% Amr::writePlotFile() 2 0.001818 0.001818 0.001818 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001777 0.001777 0.001777 0.20% check_for_negative_density() 10 0.001681 0.001681 0.001681 0.19% Gravity::actual_solve_with_mlmg() 11 0.001602 0.001602 0.001602 0.18% MLCellLinOp::setLevelBC() 11 0.001593 0.001593 0.001593 0.18% Castro::reset_internal_energy(Fab) 504 0.001583 0.001583 0.001583 0.18% MLCGSolver::bicgstab 81 0.001582 0.001582 0.001582 0.18% Castro::initData() 1 0.001526 0.001526 0.001526 0.17% FabArray::mult() 43 0.001371 0.001371 0.001371 0.16% FabArray::setDomainBndry() 41 0.001345 0.001345 0.001345 0.15% MLCellLinOp::prepareForSolve() 11 0.001337 0.001337 0.001337 0.15% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.14% MLCellLinOp::smooth() 1620 0.001123 0.001123 0.001123 0.13% MLCellLinOp::compGrad() 11 0.001101 0.001101 0.001101 0.13% MLMG::prepareForSolve() 11 0.0009825 0.0009825 0.0009825 0.11% FabArray::FillBoundary() 3893 0.0008435 0.0008435 0.0008435 0.10% FabArrayBase::getCPC() 1313 0.0008253 0.0008253 0.0008253 0.09% FabArrayBase::CPC::define() 454 0.000686 0.000686 0.000686 0.08% FabArrayBase::getFB() 3893 0.0006295 0.0006295 0.0006295 0.07% Gravity::get_new_grav_vector() 11 0.000622 0.000622 0.000622 0.07% Amr::InitAmr() 1 0.0005905 0.0005905 0.0005905 0.07% Gravity::get_old_grav_vector() 10 0.0004827 0.0004827 0.0004827 0.05% MLCellLinOp::apply() 1047 0.0004321 0.0004321 0.0004321 0.05% AmrLevel::FillPatch() 41 0.0004128 0.0004128 0.0004128 0.05% MLCGSolver::ParallelAllReduce 1809 0.0003833 0.0003833 0.0003833 0.04% Amr::coarseTimeStep() 10 0.0003757 0.0003757 0.0003757 0.04% MultiFab::max() 11 0.0003324 0.0003324 0.0003324 0.04% main() 1 0.0003237 0.0003237 0.0003237 0.04% MLCellLinOp::defineBC() 11 0.000282 0.000282 0.000282 0.03% FabArray::ParallelCopy() 851 0.0002584 0.0002584 0.0002584 0.03% FillPatchIterator::Initialize 41 0.0002287 0.0002287 0.0002287 0.03% Castro::subcycle_advance_ctu() 10 0.0002124 0.0002124 0.0002124 0.02% MLMG::mgVcycle() 81 0.0002084 0.0002084 0.0002084 0.02% MLLinOp::defineGrids() 11 0.0001799 0.0001799 0.0001799 0.02% Amr::timeStep() 10 0.0001744 0.0001744 0.0001744 0.02% MLCellLinOp::correctionResidual() 405 0.0001711 0.0001711 0.0001711 0.02% Castro::create_source_corrector() 10 0.0001661 0.0001661 0.0001661 0.02% StateData::checkPoint() 12 0.0001404 0.0001404 0.0001404 0.02% Gravity::update_max_rhs() 11 0.0001323 0.0001323 0.0001323 0.02% FabArrayBase::FB::FB() 56 0.0001309 0.0001309 0.0001309 0.01% Castro::advance() 10 0.0001293 0.0001293 0.0001293 0.01% MLMG:computeResOfCorrection() 405 0.0001208 0.0001208 0.0001208 0.01% Castro::do_new_sources() 10 0.0001198 0.0001198 0.0001198 0.01% Gravity::solve_for_phi() 10 0.0001149 0.0001149 0.0001149 0.01% MLMG::actualBottomSolve() 81 9.243e-05 9.243e-05 9.243e-05 0.01% Castro::Castro() 1 8.681e-05 8.681e-05 8.681e-05 0.01% Castro::construct_new_source() 50 8.206e-05 8.206e-05 8.206e-05 0.01% MLMG::mgVcycle_down::0 81 7.91e-05 7.91e-05 7.91e-05 0.01% Castro::clean_state() 62 7.84e-05 7.84e-05 7.84e-05 0.01% Castro::initialize_advance() 10 7.8e-05 7.8e-05 7.8e-05 0.01% AmrLevel::checkPoint() 3 7.708e-05 7.708e-05 7.708e-05 0.01% MLMG::mgVcycle_down::1 81 7.333e-05 7.333e-05 7.333e-05 0.01% MLMG::mgVcycle_down::2 81 7.145e-05 7.145e-05 7.145e-05 0.01% MLMG::solve() 11 7.036e-05 7.036e-05 7.036e-05 0.01% Castro::finalize_advance() 10 6.764e-05 6.764e-05 6.764e-05 0.01% MLMG::mgVcycle_down::4 81 6.744e-05 6.744e-05 6.744e-05 0.01% Castro::enforce_consistent_e() 1 6.515e-05 6.515e-05 6.515e-05 0.01% Castro::initialize_do_advance() 10 6.493e-05 6.493e-05 6.493e-05 0.01% MLMG::mgVcycle_down::3 81 6.485e-05 6.485e-05 6.485e-05 0.01% MLMG::mgVcycle_up::4 81 5.825e-05 5.825e-05 5.825e-05 0.01% MLMG::oneIter() 81 5.304e-05 5.304e-05 5.304e-05 0.01% MLMG::mgVcycle_up::0 81 5.042e-05 5.042e-05 5.042e-05 0.01% MLCellLinOp::solutionResidual() 92 4.957e-05 4.957e-05 4.957e-05 0.01% Castro::do_advance_ctu() 10 4.938e-05 4.938e-05 4.938e-05 0.01% MLMG::mgVcycle_up::3 81 4.838e-05 4.838e-05 4.838e-05 0.01% Castro::finalize_do_advance() 10 4.752e-05 4.752e-05 4.752e-05 0.01% MLMG::mgVcycle_up::2 81 4.728e-05 4.728e-05 4.728e-05 0.01% MLMG::mgVcycle_up::1 81 4.708e-05 4.708e-05 4.708e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.675e-05 4.675e-05 4.675e-05 0.01% Castro::swap_state_time_levels() 10 3.855e-05 3.855e-05 3.855e-05 0.00% StateData::define() 4 3.837e-05 3.837e-05 3.837e-05 0.00% FillPatchSingleLevel 41 3.589e-05 3.589e-05 3.589e-05 0.00% Castro::initMFs() 1 3.539e-05 3.539e-05 3.539e-05 0.00% MLMG::ResNormInf() 92 3.493e-05 3.493e-05 3.493e-05 0.00% Amr::writeSmallPlotFile() 1 3.453e-05 3.453e-05 3.453e-05 0.00% MLMG::computeResidual() 81 3.317e-05 3.317e-05 3.317e-05 0.00% MLMG::mgVcycle_bottom 81 3.171e-05 3.171e-05 3.171e-05 0.00% makeSFC 55 2.722e-05 2.722e-05 2.722e-05 0.00% Castro::buildMetrics() 1 2.695e-05 2.695e-05 2.695e-05 0.00% Castro::construct_new_gravity() 10 2.652e-05 2.652e-05 2.652e-05 0.00% Amr::defBaseLevel() 1 2.64e-05 2.64e-05 2.64e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.455e-05 2.455e-05 2.455e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.302e-05 2.302e-05 2.302e-05 0.00% MLPoisson::define() 11 2.246e-05 2.246e-05 2.246e-05 0.00% Castro::do_old_sources() 10 2.117e-05 2.117e-05 2.117e-05 0.00% Amr::FinalizeInit() 1 2.106e-05 2.106e-05 2.106e-05 0.00% Castro::construct_old_source() 50 1.907e-05 1.907e-05 1.907e-05 0.00% DistributionMapping::Distribute() 56 1.877e-05 1.877e-05 1.877e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.868e-05 1.868e-05 1.868e-05 0.00% MLPoisson::prepareForSolve() 11 1.616e-05 1.616e-05 1.616e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.483e-05 1.483e-05 1.483e-05 0.00% MLLinOp::define() 11 1.367e-05 1.367e-05 1.367e-05 0.00% Castro::check_for_nan() 20 1.304e-05 1.304e-05 1.304e-05 0.00% Castro::construct_old_gravity() 10 1.186e-05 1.186e-05 1.186e-05 0.00% Castro::apply_source_to_state() 20 1.155e-05 1.155e-05 1.155e-05 0.00% Castro::post_init() 1 1.073e-05 1.073e-05 1.073e-05 0.00% Amr::initSubcycle() 1 9.814e-06 9.814e-06 9.814e-06 0.00% Castro::post_timestep() 10 9.271e-06 9.271e-06 9.271e-06 0.00% MLMG::computeMLResidual() 11 9.258e-06 9.258e-06 9.258e-06 0.00% Gravity::swapTimeLevels() 10 8.474e-06 8.474e-06 8.474e-06 0.00% Gravity::actual_multilevel_solve() 1 8.116e-06 8.116e-06 8.116e-06 0.00% Castro::computeNewDt() 9 6.407e-06 6.407e-06 6.407e-06 0.00% MLMG::getGradSolution() 11 6.329e-06 6.329e-06 6.329e-06 0.00% Castro::expand_state() 10 6.286e-06 6.286e-06 6.286e-06 0.00% AmrLevel::checkPointPost() 3 5.658e-06 5.658e-06 5.658e-06 0.00% Amr::InitializeInit() 1 4.99e-06 4.99e-06 4.99e-06 0.00% Castro::retry_advance_ctu() 10 4.719e-06 4.719e-06 4.719e-06 0.00% MLMG::MLRhsNormInf() 11 4.062e-06 4.062e-06 4.062e-06 0.00% MLMG::MLResNormInf() 11 3.825e-06 3.825e-06 3.825e-06 0.00% Gravity::set_mass_offset() 11 3.813e-06 3.813e-06 3.813e-06 0.00% Castro::FluxRegCrseInit 10 3.534e-06 3.534e-06 3.534e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.901e-06 2.901e-06 2.901e-06 0.00% Castro::computeInitialDt() 2 2.753e-06 2.753e-06 2.753e-06 0.00% Castro::FluxRegFineAdd() 10 2.478e-06 2.478e-06 2.478e-06 0.00% Amr::init() 1 2.123e-06 2.123e-06 2.123e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.107e-06 2.107e-06 2.107e-06 0.00% AmrLevel::checkPointPre() 3 2.033e-06 2.033e-06 2.033e-06 0.00% Castro::post_regrid() 1 1.302e-06 1.302e-06 1.302e-06 0.00% Amr::initialInit() 1 1.189e-06 1.189e-06 1.189e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8805 0.8805 0.8805 100.00% Amr::coarseTimeStep() 10 0.7374 0.7374 0.7374 83.75% Amr::timeStep() 10 0.6484 0.6484 0.6484 73.64% Castro::advance() 10 0.6372 0.6372 0.6372 72.37% Castro::subcycle_advance_ctu() 10 0.6231 0.6231 0.6231 70.77% Castro::do_advance_ctu() 10 0.6228 0.6228 0.6228 70.74% Gravity::solve_phi_with_mlmg() 11 0.294 0.294 0.294 33.39% Gravity::actual_solve_with_mlmg() 11 0.2848 0.2848 0.2848 32.34% Castro::construct_ctu_hydro_source() 10 0.2837 0.2837 0.2837 32.22% Castro::construct_new_gravity() 10 0.2682 0.2682 0.2682 30.47% MLMG::solve() 11 0.2626 0.2626 0.2626 29.82% Gravity::solve_for_phi() 10 0.2525 0.2525 0.2525 28.67% MLMG::oneIter() 81 0.2473 0.2473 0.2473 28.09% MLMG::mgVcycle() 81 0.2437 0.2437 0.2437 27.68% VisMF::Write(FabArray) 11 0.1679 0.1679 0.1679 19.06% Amr::checkPoint() 3 0.1281 0.1281 0.1281 14.55% AmrLevel::checkPoint() 3 0.1227 0.1227 0.1227 13.93% StateData::checkPoint() 12 0.1226 0.1226 0.1226 13.92% MLCellLinOp::smooth() 1620 0.1189 0.1189 0.1189 13.50% Amr::init() 1 0.1184 0.1184 0.1184 13.44% MLCellLinOp::applyBC() 4298 0.1109 0.1109 0.1109 12.60% MLMG::mgVcycle_bottom 81 0.07702 0.07702 0.07702 8.75% MLMG::actualBottomSolve() 81 0.07699 0.07699 0.07699 8.74% MLCGSolver::bicgstab 81 0.07617 0.07617 0.07617 8.65% Castro::clean_state() 62 0.05494 0.05494 0.05494 6.24% Amr::initialInit() 1 0.05116 0.05116 0.05116 5.81% Amr::writePlotFile() 2 0.04774 0.04774 0.04774 5.42% AmrLevel::FillPatch() 41 0.0474 0.0474 0.0474 5.38% Amr::FinalizeInit() 1 0.046 0.046 0.046 5.22% Castro::post_init() 1 0.04445 0.04445 0.04445 5.05% FillPatchIterator::Initialize 41 0.04314 0.04314 0.04314 4.90% Gravity::multilevel_solve_for_new_phi() 1 0.04193 0.04193 0.04193 4.76% Gravity::actual_multilevel_solve() 1 0.04192 0.04192 0.04192 4.76% FillPatchIterator::FillFromLevel0() 41 0.04156 0.04156 0.04156 4.72% FillPatchSingleLevel 41 0.04152 0.04152 0.04152 4.72% StateDataPhysBCFunct::() 41 0.03743 0.03743 0.03743 4.25% MLCellLinOp::apply() 1047 0.03551 0.03551 0.03551 4.03% MLMG::mgVcycle_down::0 81 0.03409 0.03409 0.03409 3.87% MLPoisson::Fsmooth() 3240 0.03243 0.03243 0.03243 3.68% FabArray::FillBoundary() 3893 0.03212 0.03212 0.03212 3.65% FillBoundary_nowait() 3893 0.03128 0.03128 0.03128 3.55% amrex::Dot() 1100 0.02716 0.02716 0.02716 3.08% StateData::FillBoundary(geom) 328 0.02614 0.02614 0.02614 2.97% MLMG::mgVcycle_up::0 81 0.02582 0.02582 0.02582 2.93% Castro::computeTemp() 63 0.02182 0.02182 0.02182 2.48% Castro::initialize_do_advance() 10 0.02149 0.02149 0.02149 2.44% MLMG:computeResOfCorrection() 405 0.01996 0.01996 0.01996 2.27% MLCellLinOp::correctionResidual() 405 0.01984 0.01984 0.01984 2.25% FabArray::norminf() 1048 0.01919 0.01919 0.01919 2.18% MLCGSolver::ParallelAllReduce 1809 0.01905 0.01905 0.01905 2.16% Castro::normalize_species() 62 0.01881 0.01881 0.01881 2.14% Castro::do_old_sources() 10 0.01863 0.01863 0.01863 2.12% Gravity::get_new_grav_vector() 11 0.01785 0.01785 0.01785 2.03% MLPoisson::define() 11 0.01738 0.01738 0.01738 1.97% MLMG::mgVcycle_down::1 81 0.01624 0.01624 0.01624 1.84% Castro::construct_old_gravity() 10 0.01535 0.01535 0.01535 1.74% Gravity::get_old_grav_vector() 10 0.01534 0.01534 0.01534 1.74% MLMG::mgVcycle_down::2 81 0.01506 0.01506 0.01506 1.71% MLMG::mgVcycle_down::3 81 0.01466 0.01466 0.01466 1.66% MLMG::mgVcycle_down::4 81 0.01454 0.01454 0.01454 1.65% FabArray::ParallelCopy() 851 0.01427 0.01427 0.01427 1.62% FabArray::ParallelCopy_nowait() 851 0.01401 0.01401 0.01401 1.59% Castro::initialize_advance() 10 0.01336 0.01336 0.01336 1.52% FabArray::setVal() 1054 0.01315 0.01315 0.01315 1.49% FabArray::Saxpy() 1353 0.01271 0.01271 0.01271 1.44% MLMG::addInterpCorrection() 405 0.01208 0.01208 0.01208 1.37% Castro::do_new_sources() 10 0.012 0.012 0.012 1.36% MLCellLinOp::defineAuxData() 11 0.01194 0.01194 0.01194 1.36% MLMG::mgVcycle_up::1 81 0.01174 0.01174 0.01174 1.33% MLMG::mgVcycle_up::4 81 0.01169 0.01169 0.01169 1.33% Castro::expand_state() 10 0.01169 0.01169 0.01169 1.33% MLMG::mgVcycle_up::2 81 0.01143 0.01143 0.01143 1.30% Castro::enforce_min_density() 62 0.01127 0.01127 0.01127 1.28% amrex::average_down 405 0.01125 0.01125 0.01125 1.28% MLMG::mgVcycle_up::3 81 0.01121 0.01121 0.01121 1.27% Castro::post_timestep() 10 0.01106 0.01106 0.01106 1.26% amrex::Copy() 469 0.01082 0.01082 0.01082 1.23% MLPoisson::Fapply() 1047 0.009967 0.009967 0.009967 1.13% Gravity::fill_multipole_BCs() 11 0.008959 0.008959 0.008959 1.02% MLCellLinOp::solutionResidual() 92 0.007656 0.007656 0.007656 0.87% FabArray::Xpay() 730 0.007651 0.007651 0.007651 0.87% Castro::reset_internal_energy(MultiFab) 63 0.006443 0.006443 0.006443 0.73% Castro::estTimeStep() 21 0.006391 0.006391 0.006391 0.73% MLMG::computeResidual() 81 0.006317 0.006317 0.006317 0.72% Amr::InitializeInit() 1 0.005164 0.005164 0.005164 0.59% MLCellLinOp::defineBC() 11 0.005161 0.005161 0.005161 0.59% Amr::defBaseLevel() 1 0.005159 0.005159 0.005159 0.59% MLMG::prepareForSolve() 11 0.005143 0.005143 0.005143 0.58% BndryData::define() 11 0.004879 0.004879 0.004879 0.55% Castro::initData() 1 0.00446 0.00446 0.00446 0.51% Castro::enforce_speed_limit() 62 0.00385 0.00385 0.00385 0.44% Castro::construct_new_source() 50 0.00356 0.00356 0.00356 0.40% amrex::Add() 81 0.003544 0.003544 0.003544 0.40% Castro::construct_new_gravity_source() 10 0.003478 0.003478 0.003478 0.40% Castro::construct_old_source() 50 0.002956 0.002956 0.002956 0.34% Castro::construct_old_gravity_source() 10 0.002937 0.002937 0.002937 0.33% Castro::computeNewDt() 9 0.002842 0.002842 0.002842 0.32% Castro::finalize_do_advance() 10 0.002478 0.002478 0.002478 0.28% MLMG::ResNormInf() 92 0.002144 0.002144 0.002144 0.24% Castro::apply_source_to_state() 20 0.001873 0.001873 0.001873 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001777 0.001777 0.001777 0.20% check_for_negative_density() 10 0.001681 0.001681 0.001681 0.19% MLMG::getGradSolution() 11 0.001594 0.001594 0.001594 0.18% MLCellLinOp::setLevelBC() 11 0.001593 0.001593 0.001593 0.18% MLCellLinOp::compGrad() 11 0.001588 0.001588 0.001588 0.18% Castro::reset_internal_energy(Fab) 504 0.001583 0.001583 0.001583 0.18% FabArrayBase::getCPC() 1313 0.001511 0.001511 0.001511 0.17% MLMG::computeMLResidual() 11 0.001382 0.001382 0.001382 0.16% FabArray::mult() 43 0.001371 0.001371 0.001371 0.16% MLPoisson::prepareForSolve() 11 0.001353 0.001353 0.001353 0.15% FabArray::setDomainBndry() 41 0.001345 0.001345 0.001345 0.15% MLCellLinOp::prepareForSolve() 11 0.001337 0.001337 0.001337 0.15% Castro::check_for_nan() 20 0.001283 0.001283 0.001283 0.15% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.14% Castro::post_regrid() 1 0.001231 0.001231 0.001231 0.14% Castro::computeInitialDt() 2 0.001127 0.001127 0.001127 0.13% Gravity::update_max_rhs() 11 0.001002 0.001002 0.001002 0.11% FabArrayBase::getFB() 3893 0.0007604 0.0007604 0.0007604 0.09% FabArrayBase::CPC::define() 454 0.000686 0.000686 0.000686 0.08% Castro::finalize_advance() 10 0.0006159 0.0006159 0.0006159 0.07% Castro::Castro() 1 0.0006064 0.0006064 0.0006064 0.07% Amr::InitAmr() 1 0.0006003 0.0006003 0.0006003 0.07% Gravity::swapTimeLevels() 10 0.0004516 0.0004516 0.0004516 0.05% MLMG::MLResNormInf() 11 0.0003324 0.0003324 0.0003324 0.04% MultiFab::max() 11 0.0003324 0.0003324 0.0003324 0.04% Castro::buildMetrics() 1 0.0003146 0.0003146 0.0003146 0.04% MLLinOp::define() 11 0.0002553 0.0002553 0.0002553 0.03% MLLinOp::defineGrids() 11 0.0002416 0.0002416 0.0002416 0.03% MLMG::MLRhsNormInf() 11 0.0002258 0.0002258 0.0002258 0.03% Castro::create_source_corrector() 10 0.0001661 0.0001661 0.0001661 0.02% FabArrayBase::FB::FB() 56 0.0001309 0.0001309 0.0001309 0.01% Castro::enforce_consistent_e() 1 6.515e-05 6.515e-05 6.515e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.139e-05 6.139e-05 6.139e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.958e-05 5.958e-05 5.958e-05 0.01% makeSFC 55 4.475e-05 4.475e-05 4.475e-05 0.01% Castro::swap_state_time_levels() 10 3.855e-05 3.855e-05 3.855e-05 0.00% StateData::define() 4 3.837e-05 3.837e-05 3.837e-05 0.00% Castro::initMFs() 1 3.539e-05 3.539e-05 3.539e-05 0.00% Amr::writeSmallPlotFile() 1 3.453e-05 3.453e-05 3.453e-05 0.00% DistributionMapping::Distribute() 56 1.877e-05 1.877e-05 1.877e-05 0.00% Amr::initSubcycle() 1 9.814e-06 9.814e-06 9.814e-06 0.00% AmrLevel::checkPointPost() 3 5.658e-06 5.658e-06 5.658e-06 0.00% Castro::retry_advance_ctu() 10 4.719e-06 4.719e-06 4.719e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.142e-06 4.142e-06 4.142e-06 0.00% Gravity::set_mass_offset() 11 3.813e-06 3.813e-06 3.813e-06 0.00% Castro::FluxRegCrseInit 10 3.534e-06 3.534e-06 3.534e-06 0.00% Castro::FluxRegFineAdd() 10 2.478e-06 2.478e-06 2.478e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.107e-06 2.107e-06 2.107e-06 0.00% AmrLevel::checkPointPre() 3 2.033e-06 2.033e-06 2.033e-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 90 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1041 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1521 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3668 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 210 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7512 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2200 B 2048 KiB Gravity::solve_for_phi() 80 80 586 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 335 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 213 KiB 671 KiB Castro::estTimeStep() 21 21 3542 B 480 KiB VisMF::Write(FabArray) 656 656 3417 B 320 KiB Castro::normalize_species() 62 62 6956 B 320 KiB amrex::average_down 1054 1054 1613 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1187 B 257 KiB amrex::Dot() 1343 1343 4668 B 160 KiB FabArray::norminf() 1129 1129 3364 B 160 KiB check_for_negative_density() 10 10 306 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3580 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 303 B 9648 B MLCellLinOp::applyBC() 8596 8596 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3958 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 2848 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 378 B 1248 B MLCGSolver::bicgstab 405 405 104 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 617 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 408 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3580 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 303 B 9648 B MLCellLinOp::applyBC() 4298 4298 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3958 B 6144 B Gravity::get_new_grav_vector() 3 3 2895 B 3072 B StateData::FillBoundary(geom) 1992 1992 43 B 2848 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 616 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 305 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 26 B 400 B FabArray::norminf() 1129 1129 10 B 144 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): 2167 [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 (24.02-27-gd8d4828b04df) finalized Initializing AMReX (24.02-27-gd8d4828b04df)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-27-gd8d4828b04df) initialized Starting run at 09:38:17 UTC on 2024-02-22. Successfully read inputs file ... Castro git describe: 24.02-21-g56d243e7a AMReX git describe: 24.02-27-gd8d4828b0 Microphysics git describe: 24.02-23-g3df6ba0c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.496168959 Restart time = 0.071794582 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.067052333 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.05031958 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.070933747 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.071996879 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.063089189 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.071488377 seconds Ending run at 09:38:17 UTC on 2024-02-22. Run time = 0.46787825 Run time without initialization = 0.395418657 Average number of zones advanced per microsecond: 3.315 Average number of zones advanced per microsecond per rank: 3.315 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4679 ... 0.4679 ... 0.4679 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1256 0.1256 0.1256 26.84% VisMF::Read() 3 0.0603 0.0603 0.0603 12.89% Amr::writePlotFile() 1 0.03917 0.03917 0.03917 8.37% MLCellLinOp::applyBC() 1910 0.03511 0.03511 0.03511 7.50% VisMF::Write(FabArray) 1 0.03216 0.03216 0.03216 6.87% MLPoisson::Fsmooth() 1440 0.01446 0.01446 0.01446 3.09% FillBoundary_nowait() 1730 0.01391 0.01391 0.01391 2.97% StateDataPhysBCFunct::() 20 0.01371 0.01371 0.01371 2.93% StateData::FillBoundary(geom) 160 0.01109 0.01109 0.01109 2.37% Castro::normalize_species() 30 0.009229 0.009229 0.009229 1.97% amrex::Dot() 484 0.00902 0.00902 0.00902 1.93% FabArray::norminf() 465 0.008488 0.008488 0.008488 1.81% Castro::computeTemp() 30 0.007473 0.007473 0.007473 1.60% FabArray::setVal() 501 0.006491 0.006491 0.006491 1.39% FabArray::ParallelCopy_nowait() 380 0.006147 0.006147 0.006147 1.31% FabArray::Saxpy() 597 0.005732 0.005732 0.005732 1.23% MLCellLinOp::defineAuxData() 6 0.005684 0.005684 0.005684 1.21% Castro::enforce_min_density() 30 0.005622 0.005622 0.005622 1.20% amrex::Copy() 221 0.0054 0.0054 0.0054 1.15% Gravity::fill_multipole_BCs() 6 0.005318 0.005318 0.005318 1.14% Amr::restart() 1 0.004721 0.004721 0.004721 1.01% MLPoisson::Fapply() 464 0.00444 0.00444 0.00444 0.95% FabArray::Xpay() 325 0.003425 0.003425 0.003425 0.73% MLMG::addInterpCorrection() 180 0.003114 0.003114 0.003114 0.67% Castro::estTimeStep() 10 0.003033 0.003033 0.003033 0.65% amrex::average_down 180 0.002933 0.002933 0.002933 0.63% BndryData::define() 6 0.002144 0.002144 0.002144 0.46% Castro::reset_internal_energy(MultiFab) 30 0.002137 0.002137 0.002137 0.46% Castro::construct_new_gravity_source() 5 0.00182 0.00182 0.00182 0.39% amrex::Add() 36 0.001553 0.001553 0.001553 0.33% Castro::construct_old_gravity_source() 5 0.001504 0.001504 0.001504 0.32% Castro::enforce_speed_limit() 30 0.001108 0.001108 0.001108 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00096 0.00096 0.00096 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008703 0.0008703 0.0008703 0.19% check_for_negative_density() 5 0.0008484 0.0008484 0.0008484 0.18% MLCellLinOp::setLevelBC() 6 0.0008439 0.0008439 0.0008439 0.18% Castro::reset_internal_energy(Fab) 240 0.0007819 0.0007819 0.0007819 0.17% MLCellLinOp::prepareForSolve() 6 0.0007477 0.0007477 0.0007477 0.16% MLCGSolver::bicgstab 36 0.0007086 0.0007086 0.0007086 0.15% FabArray::mult() 22 0.0006978 0.0006978 0.0006978 0.15% FabArray::setDomainBndry() 20 0.0006891 0.0006891 0.0006891 0.15% MultiFab::contains_nan() 10 0.0006543 0.0006543 0.0006543 0.14% MLCellLinOp::compGrad() 6 0.0005882 0.0005882 0.0005882 0.13% MLMG::prepareForSolve() 6 0.000566 0.000566 0.000566 0.12% MLCellLinOp::smooth() 720 0.0005079 0.0005079 0.0005079 0.11% Amr::InitAmr() 1 0.0004869 0.0004869 0.0004869 0.10% FabArrayBase::CPC::define() 244 0.0004244 0.0004244 0.0004244 0.09% FabArrayBase::getCPC() 632 0.0003749 0.0003749 0.0003749 0.08% FabArray::FillBoundary() 1730 0.0003695 0.0003695 0.0003695 0.08% main() 1 0.0003478 0.0003478 0.0003478 0.07% Gravity::get_old_grav_vector() 5 0.0003215 0.0003215 0.0003215 0.07% FabArrayBase::getFB() 1730 0.0002643 0.0002643 0.0002643 0.06% Gravity::get_new_grav_vector() 5 0.0002624 0.0002624 0.0002624 0.06% MultiFab::max() 6 0.0002076 0.0002076 0.0002076 0.04% AmrLevel::FillPatch() 20 0.0002022 0.0002022 0.0002022 0.04% Amr::coarseTimeStep() 5 0.0001971 0.0001971 0.0001971 0.04% MLCellLinOp::apply() 464 0.0001878 0.0001878 0.0001878 0.04% MLCGSolver::ParallelAllReduce 798 0.0001603 0.0001603 0.0001603 0.03% MLCellLinOp::defineBC() 6 0.0001449 0.0001449 0.0001449 0.03% FabArray::ParallelCopy() 380 0.0001146 0.0001146 0.0001146 0.02% Castro::subcycle_advance_ctu() 5 0.0001123 0.0001123 0.0001123 0.02% FillPatchIterator::Initialize 20 0.00011 0.00011 0.00011 0.02% MLLinOp::defineGrids() 6 0.0001008 0.0001008 0.0001008 0.02% MLMG::mgVcycle() 36 9.353e-05 9.353e-05 9.353e-05 0.02% Amr::timeStep() 5 9.247e-05 9.247e-05 9.247e-05 0.02% AmrLevel::restart() 1 8.942e-05 8.942e-05 8.942e-05 0.02% Castro::create_source_corrector() 5 7.683e-05 7.683e-05 7.683e-05 0.02% MLCellLinOp::correctionResidual() 180 7.458e-05 7.458e-05 7.458e-05 0.02% Gravity::update_max_rhs() 6 6.928e-05 6.928e-05 6.928e-05 0.01% StateData::restartDoit() 4 6.773e-05 6.773e-05 6.773e-05 0.01% Castro::initialize_do_advance() 5 6.268e-05 6.268e-05 6.268e-05 0.01% FabArrayBase::FB::FB() 26 5.996e-05 5.996e-05 5.996e-05 0.01% Castro::advance() 5 5.435e-05 5.435e-05 5.435e-05 0.01% MLMG:computeResOfCorrection() 180 5.403e-05 5.403e-05 5.403e-05 0.01% Gravity::solve_for_phi() 5 5.336e-05 5.336e-05 5.336e-05 0.01% Castro::finalize_do_advance() 5 4.225e-05 4.225e-05 4.225e-05 0.01% Castro::do_advance_ctu() 5 4.219e-05 4.219e-05 4.219e-05 0.01% MLMG::actualBottomSolve() 36 4.084e-05 4.084e-05 4.084e-05 0.01% Amr::writeSmallPlotFile() 1 3.784e-05 3.784e-05 3.784e-05 0.01% Castro::initialize_advance() 5 3.77e-05 3.77e-05 3.77e-05 0.01% MLMG::mgVcycle_down::0 36 3.724e-05 3.724e-05 3.724e-05 0.01% Castro::construct_new_source() 25 3.532e-05 3.532e-05 3.532e-05 0.01% MLMG::mgVcycle_down::1 36 3.398e-05 3.398e-05 3.398e-05 0.01% MLMG::solve() 6 3.324e-05 3.324e-05 3.324e-05 0.01% Castro::finalize_advance() 5 3.229e-05 3.229e-05 3.229e-05 0.01% Castro::clean_state() 30 3.229e-05 3.229e-05 3.229e-05 0.01% Castro::post_timestep() 5 3.164e-05 3.164e-05 3.164e-05 0.01% MLMG::mgVcycle_down::2 36 3.103e-05 3.103e-05 3.103e-05 0.01% Castro::buildMetrics() 1 3.004e-05 3.004e-05 3.004e-05 0.01% MLMG::mgVcycle_down::4 36 2.995e-05 2.995e-05 2.995e-05 0.01% Castro::post_restart() 1 2.892e-05 2.892e-05 2.892e-05 0.01% MLMG::mgVcycle_down::3 36 2.88e-05 2.88e-05 2.88e-05 0.01% Castro::do_new_sources() 5 2.783e-05 2.783e-05 2.783e-05 0.01% Castro::construct_old_source() 25 2.78e-05 2.78e-05 2.78e-05 0.01% MLMG::mgVcycle_up::4 36 2.74e-05 2.74e-05 2.74e-05 0.01% Castro::initMFs() 1 2.547e-05 2.547e-05 2.547e-05 0.01% Castro::swap_state_time_levels() 5 2.494e-05 2.494e-05 2.494e-05 0.01% MLMG::oneIter() 36 2.338e-05 2.338e-05 2.338e-05 0.00% MLMG::mgVcycle_up::3 36 2.228e-05 2.228e-05 2.228e-05 0.00% MLMG::mgVcycle_up::0 36 2.21e-05 2.21e-05 2.21e-05 0.00% MLCellLinOp::solutionResidual() 42 2.182e-05 2.182e-05 2.182e-05 0.00% MLMG::mgVcycle_up::2 36 2.09e-05 2.09e-05 2.09e-05 0.00% MLMG::mgVcycle_up::1 36 2.081e-05 2.081e-05 2.081e-05 0.00% FillPatchIterator::FillFromLevel0() 20 1.954e-05 1.954e-05 1.954e-05 0.00% MLMG::ResNormInf() 42 1.774e-05 1.774e-05 1.774e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.741e-05 1.741e-05 1.741e-05 0.00% makeSFC 30 1.595e-05 1.595e-05 1.595e-05 0.00% FillPatchSingleLevel 20 1.538e-05 1.538e-05 1.538e-05 0.00% MLPoisson::define() 6 1.498e-05 1.498e-05 1.498e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.472e-05 1.472e-05 1.472e-05 0.00% MLMG::mgVcycle_bottom 36 1.466e-05 1.466e-05 1.466e-05 0.00% MLMG::computeResidual() 36 1.454e-05 1.454e-05 1.454e-05 0.00% Castro::construct_new_gravity() 5 1.199e-05 1.199e-05 1.199e-05 0.00% MLPoisson::prepareForSolve() 6 1.187e-05 1.187e-05 1.187e-05 0.00% Castro::do_old_sources() 5 1.122e-05 1.122e-05 1.122e-05 0.00% DistributionMapping::Distribute() 31 9.515e-06 9.515e-06 9.515e-06 0.00% Amr::initSubcycle() 1 8.745e-06 8.745e-06 8.745e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.555e-06 8.555e-06 8.555e-06 0.00% MLLinOp::define() 6 7.816e-06 7.816e-06 7.816e-06 0.00% Gravity::actual_multilevel_solve() 1 7.723e-06 7.723e-06 7.723e-06 0.00% Castro::check_for_nan() 10 7.377e-06 7.377e-06 7.377e-06 0.00% Castro::construct_old_gravity() 5 6.528e-06 6.528e-06 6.528e-06 0.00% Castro::apply_source_to_state() 10 6.175e-06 6.175e-06 6.175e-06 0.00% MLMG::computeMLResidual() 6 4.235e-06 4.235e-06 4.235e-06 0.00% Gravity::swapTimeLevels() 5 4.213e-06 4.213e-06 4.213e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.943e-06 3.943e-06 3.943e-06 0.00% Castro::computeNewDt() 5 3.277e-06 3.277e-06 3.277e-06 0.00% MLMG::getGradSolution() 6 3.048e-06 3.048e-06 3.048e-06 0.00% Castro::expand_state() 5 2.796e-06 2.796e-06 2.796e-06 0.00% MLMG::MLResNormInf() 6 2.544e-06 2.544e-06 2.544e-06 0.00% MLMG::MLRhsNormInf() 6 2.523e-06 2.523e-06 2.523e-06 0.00% Castro::retry_advance_ctu() 5 2.308e-06 2.308e-06 2.308e-06 0.00% Gravity::set_mass_offset() 6 2.25e-06 2.25e-06 2.25e-06 0.00% Castro::FluxRegCrseInit 5 1.547e-06 1.547e-06 1.547e-06 0.00% Castro::FluxRegFineAdd() 5 1.395e-06 1.395e-06 1.395e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.276e-06 1.276e-06 1.276e-06 0.00% Amr::init() 1 1.174e-06 1.174e-06 1.174e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4679 0.4679 0.4679 100.00% Amr::coarseTimeStep() 5 0.3236 0.3236 0.3236 69.15% Amr::timeStep() 5 0.3215 0.3215 0.3215 68.70% Castro::advance() 5 0.3161 0.3161 0.3161 67.56% Castro::subcycle_advance_ctu() 5 0.3093 0.3093 0.3093 66.10% Castro::do_advance_ctu() 5 0.3092 0.3092 0.3092 66.08% Castro::construct_new_gravity() 5 0.1374 0.1374 0.1374 29.36% Gravity::solve_phi_with_mlmg() 6 0.1324 0.1324 0.1324 28.30% Castro::construct_ctu_hydro_source() 5 0.1309 0.1309 0.1309 27.98% Gravity::actual_solve_with_mlmg() 6 0.1269 0.1269 0.1269 27.11% Gravity::solve_for_phi() 5 0.1268 0.1268 0.1268 27.10% MLMG::solve() 6 0.1148 0.1148 0.1148 24.53% MLMG::oneIter() 36 0.1072 0.1072 0.1072 22.91% MLMG::mgVcycle() 36 0.1056 0.1056 0.1056 22.57% Amr::init() 1 0.07184 0.07184 0.07184 15.35% Amr::restart() 1 0.07184 0.07184 0.07184 15.35% Amr::writePlotFile() 1 0.07159 0.07159 0.07159 15.30% AmrLevel::restart() 1 0.06069 0.06069 0.06069 12.97% StateData::restartDoit() 4 0.0606 0.0606 0.0606 12.95% VisMF::Read() 3 0.0603 0.0603 0.0603 12.89% MLCellLinOp::smooth() 720 0.05313 0.05313 0.05313 11.35% MLCellLinOp::applyBC() 1910 0.04972 0.04972 0.04972 10.63% VisMF::Write(FabArray) 1 0.03216 0.03216 0.03216 6.87% MLMG::mgVcycle_bottom 36 0.03097 0.03097 0.03097 6.62% MLMG::actualBottomSolve() 36 0.03096 0.03096 0.03096 6.62% MLCGSolver::bicgstab 36 0.0306 0.0306 0.0306 6.54% AmrLevel::FillPatch() 20 0.02985 0.02985 0.02985 6.38% FillPatchIterator::Initialize 20 0.02775 0.02775 0.02775 5.93% FillPatchIterator::FillFromLevel0() 20 0.02695 0.02695 0.02695 5.76% FillPatchSingleLevel 20 0.02693 0.02693 0.02693 5.76% Castro::clean_state() 30 0.02638 0.02638 0.02638 5.64% StateDataPhysBCFunct::() 20 0.0248 0.0248 0.0248 5.30% MLCellLinOp::apply() 464 0.01591 0.01591 0.01591 3.40% MLMG::mgVcycle_down::0 36 0.01559 0.01559 0.01559 3.33% FabArray::FillBoundary() 1730 0.01461 0.01461 0.01461 3.12% MLPoisson::Fsmooth() 1440 0.01446 0.01446 0.01446 3.09% FillBoundary_nowait() 1730 0.01424 0.01424 0.01424 3.04% MLMG::mgVcycle_up::0 36 0.01164 0.01164 0.01164 2.49% Castro::initialize_do_advance() 5 0.01134 0.01134 0.01134 2.42% Castro::do_old_sources() 5 0.01117 0.01117 0.01117 2.39% StateData::FillBoundary(geom) 160 0.01109 0.01109 0.01109 2.37% Gravity::get_new_grav_vector() 5 0.01043 0.01043 0.01043 2.23% Castro::computeTemp() 30 0.01039 0.01039 0.01039 2.22% Castro::construct_old_gravity() 5 0.01007 0.01007 0.01007 2.15% Gravity::get_old_grav_vector() 5 0.01006 0.01006 0.01006 2.15% MLPoisson::define() 6 0.009492 0.009492 0.009492 2.03% Castro::normalize_species() 30 0.009229 0.009229 0.009229 1.97% amrex::Dot() 484 0.00902 0.00902 0.00902 1.93% MLMG:computeResOfCorrection() 180 0.008888 0.008888 0.008888 1.90% MLCellLinOp::correctionResidual() 180 0.008834 0.008834 0.008834 1.89% FabArray::norminf() 465 0.008488 0.008488 0.008488 1.81% MLMG::mgVcycle_down::1 36 0.007308 0.007308 0.007308 1.56% Castro::expand_state() 5 0.006811 0.006811 0.006811 1.46% FabArray::ParallelCopy() 380 0.00666 0.00666 0.00666 1.42% MLMG::mgVcycle_down::2 36 0.006648 0.006648 0.006648 1.42% Castro::do_new_sources() 5 0.006643 0.006643 0.006643 1.42% FabArray::ParallelCopy_nowait() 380 0.006545 0.006545 0.006545 1.40% MLMG::mgVcycle_down::3 36 0.006509 0.006509 0.006509 1.39% FabArray::setVal() 501 0.006491 0.006491 0.006491 1.39% MLCellLinOp::defineAuxData() 6 0.006477 0.006477 0.006477 1.38% Castro::initialize_advance() 5 0.006468 0.006468 0.006468 1.38% MLMG::mgVcycle_down::4 36 0.006458 0.006458 0.006458 1.38% Castro::post_restart() 1 0.00624 0.00624 0.00624 1.33% Gravity::multilevel_solve_for_new_phi() 1 0.005845 0.005845 0.005845 1.25% Gravity::actual_multilevel_solve() 1 0.005828 0.005828 0.005828 1.25% FabArray::Saxpy() 597 0.005732 0.005732 0.005732 1.23% Castro::enforce_min_density() 30 0.005622 0.005622 0.005622 1.20% MLCGSolver::ParallelAllReduce 798 0.005515 0.005515 0.005515 1.18% Gravity::fill_multipole_BCs() 6 0.00544 0.00544 0.00544 1.16% amrex::Copy() 221 0.0054 0.0054 0.0054 1.15% MLMG::addInterpCorrection() 180 0.005357 0.005357 0.005357 1.14% Castro::post_timestep() 5 0.005254 0.005254 0.005254 1.12% amrex::average_down 180 0.005234 0.005234 0.005234 1.12% MLMG::mgVcycle_up::4 36 0.005219 0.005219 0.005219 1.12% MLMG::mgVcycle_up::1 36 0.005192 0.005192 0.005192 1.11% MLMG::mgVcycle_up::2 36 0.005045 0.005045 0.005045 1.08% MLMG::mgVcycle_up::3 36 0.004935 0.004935 0.004935 1.05% MLPoisson::Fapply() 464 0.00444 0.00444 0.00444 0.95% MLCellLinOp::solutionResidual() 42 0.003577 0.003577 0.003577 0.76% FabArray::Xpay() 325 0.003425 0.003425 0.003425 0.73% Castro::estTimeStep() 10 0.003033 0.003033 0.003033 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002919 0.002919 0.002919 0.62% MLMG::prepareForSolve() 6 0.002873 0.002873 0.002873 0.61% MLCellLinOp::defineBC() 6 0.002857 0.002857 0.002857 0.61% MLMG::computeResidual() 36 0.002792 0.002792 0.002792 0.60% BndryData::define() 6 0.002712 0.002712 0.002712 0.58% Castro::computeNewDt() 5 0.001922 0.001922 0.001922 0.41% Castro::construct_new_source() 25 0.001855 0.001855 0.001855 0.40% Castro::construct_new_gravity_source() 5 0.00182 0.00182 0.00182 0.39% amrex::Add() 36 0.001553 0.001553 0.001553 0.33% Castro::construct_old_source() 25 0.001532 0.001532 0.001532 0.33% Castro::construct_old_gravity_source() 5 0.001504 0.001504 0.001504 0.32% Castro::finalize_do_advance() 5 0.001157 0.001157 0.001157 0.25% Castro::enforce_speed_limit() 30 0.001108 0.001108 0.001108 0.24% MLMG::ResNormInf() 42 0.0009837 0.0009837 0.0009837 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00096 0.00096 0.00096 0.21% Castro::apply_source_to_state() 10 0.0009587 0.0009587 0.0009587 0.20% MLMG::getGradSolution() 6 0.0008687 0.0008687 0.0008687 0.19% MLCellLinOp::compGrad() 6 0.0008657 0.0008657 0.0008657 0.19% check_for_negative_density() 5 0.0008484 0.0008484 0.0008484 0.18% MLCellLinOp::setLevelBC() 6 0.0008439 0.0008439 0.0008439 0.18% MLMG::computeMLResidual() 6 0.0008037 0.0008037 0.0008037 0.17% FabArrayBase::getCPC() 632 0.0007993 0.0007993 0.0007993 0.17% Castro::reset_internal_energy(Fab) 240 0.0007819 0.0007819 0.0007819 0.17% MLPoisson::prepareForSolve() 6 0.0007596 0.0007596 0.0007596 0.16% MLCellLinOp::prepareForSolve() 6 0.0007477 0.0007477 0.0007477 0.16% Gravity::update_max_rhs() 6 0.0007385 0.0007385 0.0007385 0.16% FabArray::mult() 22 0.0006978 0.0006978 0.0006978 0.15% FabArray::setDomainBndry() 20 0.0006891 0.0006891 0.0006891 0.15% Castro::check_for_nan() 10 0.0006617 0.0006617 0.0006617 0.14% MultiFab::contains_nan() 10 0.0006543 0.0006543 0.0006543 0.14% Amr::InitAmr() 1 0.0004957 0.0004957 0.0004957 0.11% FabArrayBase::CPC::define() 244 0.0004244 0.0004244 0.0004244 0.09% FabArrayBase::getFB() 1730 0.0003242 0.0003242 0.0003242 0.07% Castro::finalize_advance() 5 0.0002969 0.0002969 0.0002969 0.06% Gravity::swapTimeLevels() 5 0.0002396 0.0002396 0.0002396 0.05% MultiFab::max() 6 0.0002076 0.0002076 0.0002076 0.04% MLMG::MLResNormInf() 6 0.0001926 0.0001926 0.0001926 0.04% Castro::buildMetrics() 1 0.0001634 0.0001634 0.0001634 0.03% MLLinOp::define() 6 0.0001427 0.0001427 0.0001427 0.03% MLLinOp::defineGrids() 6 0.0001348 0.0001348 0.0001348 0.03% MLMG::MLRhsNormInf() 6 0.0001219 0.0001219 0.0001219 0.03% Castro::create_source_corrector() 5 7.683e-05 7.683e-05 7.683e-05 0.02% FabArrayBase::FB::FB() 26 5.996e-05 5.996e-05 5.996e-05 0.01% Amr::writeSmallPlotFile() 1 3.784e-05 3.784e-05 3.784e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.277e-05 3.277e-05 3.277e-05 0.01% Castro::initMFs() 1 2.547e-05 2.547e-05 2.547e-05 0.01% Castro::swap_state_time_levels() 5 2.494e-05 2.494e-05 2.494e-05 0.01% makeSFC 30 2.422e-05 2.422e-05 2.422e-05 0.01% DistributionMapping::Distribute() 31 9.515e-06 9.515e-06 9.515e-06 0.00% Amr::initSubcycle() 1 8.745e-06 8.745e-06 8.745e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.186e-06 5.186e-06 5.186e-06 0.00% Castro::retry_advance_ctu() 5 2.308e-06 2.308e-06 2.308e-06 0.00% Gravity::set_mass_offset() 6 2.25e-06 2.25e-06 2.25e-06 0.00% Castro::FluxRegCrseInit 5 1.547e-06 1.547e-06 1.547e-06 0.00% Castro::FluxRegFineAdd() 5 1.395e-06 1.395e-06 1.395e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.276e-06 1.276e-06 1.276e-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 170 MiB 9042 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1212 KiB 39 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2019 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6506 KiB 14 MiB MLMG::prepareForSolve() 361 361 3010 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 222 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 228 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6493 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3131 B 2048 KiB Gravity::solve_for_phi() 40 40 554 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 277 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 178 KiB 671 KiB Castro::estTimeStep() 10 10 3101 B 480 KiB VisMF::Write(FabArray) 112 112 2261 B 320 KiB Castro::normalize_species() 30 30 6419 B 320 KiB amrex::average_down 469 469 1436 B 257 KiB MLMG::addInterpCorrection() 468 468 979 B 257 KiB amrex::Dot() 592 592 2842 B 160 KiB FabArray::norminf() 501 501 2800 B 160 KiB check_for_negative_density() 5 5 290 B 160 KiB MultiFab::max() 6 6 69 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 2917 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 259 B 9648 B MLCellLinOp::applyBC() 3820 3820 187 B 9344 B amrex::Copy() 56 56 5844 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 92 B 4064 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 312 B 1248 B MLCGSolver::bicgstab 180 180 78 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1064 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 79 KiB 8192 KiB VisMF::Write(FabArray) 120 120 191 KiB 3584 KiB VisMF::Read() 24 24 194 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2917 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 260 B 9648 B MLCellLinOp::applyBC() 1910 1910 186 B 9328 B amrex::Copy() 56 56 5844 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 92 B 4064 B Gravity::get_old_grav_vector() 3 3 2555 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 779 B 1648 B amrex::average_down 37 37 476 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 20 B 400 B FabArray::norminf() 501 501 8 B 144 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): 2167 [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 (24.02-27-gd8d4828b04df) finalized