Initializing AMReX (24.01-25-gd121723c7491)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-25-gd121723c7491) initialized Starting run at 10:12:45 UTC on 2024-01-24. Successfully read inputs file ... Castro git describe: 24.01-17-g29c5f4d16 AMReX git describe: 24.01-25-gd121723c7 Microphysics git describe: 24.01-9-ga4d7ab4d 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.045761479 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025321059 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.066204865 [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.048781969 [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.074319504 [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.08407365 [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.065537487 [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.045284132 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.05894598 [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.074894934 [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.074045152 [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.054119017 [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.062116009 [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.043803203 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025131442 seconds Ending run at 10:12:46 UTC on 2024-01-24. Run time = 0.904226348 Run time without initialization = 0.778042776 Average number of zones advanced per microsecond: 3.369 Average number of zones advanced per microsecond per rank: 3.369 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9043 ... 0.9043 ... 0.9043 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2786 0.2786 0.2786 30.81% VisMF::Write(FabArray) 11 0.1768 0.1768 0.1768 19.55% MLCellLinOp::applyBC() 4351 0.08074 0.08074 0.08074 8.93% MLPoisson::Fsmooth() 3280 0.03438 0.03438 0.03438 3.80% FillBoundary_nowait() 3941 0.03099 0.03099 0.03099 3.43% StateData::FillBoundary(geom) 328 0.02648 0.02648 0.02648 2.93% amrex::Dot() 1114 0.0218 0.0218 0.0218 2.41% FabArray::ParallelCopy_nowait() 861 0.02041 0.02041 0.02041 2.26% FabArray::norminf() 1061 0.02027 0.02027 0.02027 2.24% Castro::normalize_species() 62 0.0198 0.0198 0.0198 2.19% Castro::computeTemp() 63 0.01571 0.01571 0.01571 1.74% FabArray::Saxpy() 1370 0.01328 0.01328 0.01328 1.47% FabArray::setVal() 1062 0.01327 0.01327 0.01327 1.47% StateDataPhysBCFunct::() 41 0.01121 0.01121 0.01121 1.24% amrex::Copy() 472 0.01081 0.01081 0.01081 1.20% MLCellLinOp::defineAuxData() 11 0.01048 0.01048 0.01048 1.16% MLPoisson::Fapply() 1060 0.01038 0.01038 0.01038 1.15% Castro::enforce_min_density() 62 0.01005 0.01005 0.01005 1.11% Gravity::fill_multipole_BCs() 11 0.008794 0.008794 0.008794 0.97% FabArray::Xpay() 739 0.007865 0.007865 0.007865 0.87% MLMG::addInterpCorrection() 410 0.007126 0.007126 0.007126 0.79% amrex::average_down 410 0.006275 0.006275 0.006275 0.69% Castro::estTimeStep() 21 0.006078 0.006078 0.006078 0.67% Amr::checkPoint() 3 0.005908 0.005908 0.005908 0.65% Castro::reset_internal_energy(MultiFab) 63 0.00498 0.00498 0.00498 0.55% BndryData::define() 11 0.003956 0.003956 0.003956 0.44% amrex::Add() 82 0.003608 0.003608 0.003608 0.40% Castro::enforce_speed_limit() 62 0.003565 0.003565 0.003565 0.39% Castro::construct_new_gravity_source() 10 0.003474 0.003474 0.003474 0.38% Castro::construct_old_gravity_source() 10 0.002883 0.002883 0.002883 0.32% Amr::writePlotFile() 2 0.002101 0.002101 0.002101 0.23% check_for_negative_density() 10 0.00179 0.00179 0.00179 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001782 0.001782 0.001782 0.20% Castro::reset_internal_energy(Fab) 504 0.00168 0.00168 0.00168 0.19% MLCGSolver::bicgstab 82 0.00167 0.00167 0.00167 0.18% Gravity::actual_solve_with_mlmg() 11 0.001616 0.001616 0.001616 0.18% MLCellLinOp::setLevelBC() 11 0.001592 0.001592 0.001592 0.18% Castro::initData() 1 0.00154 0.00154 0.00154 0.17% MLCellLinOp::prepareForSolve() 11 0.001357 0.001357 0.001357 0.15% FabArray::mult() 43 0.001356 0.001356 0.001356 0.15% FabArray::setDomainBndry() 41 0.001353 0.001353 0.001353 0.15% MultiFab::contains_nan() 20 0.001269 0.001269 0.001269 0.14% MLCellLinOp::smooth() 1640 0.001185 0.001185 0.001185 0.13% MLCellLinOp::compGrad() 11 0.001099 0.001099 0.001099 0.12% MLMG::prepareForSolve() 11 0.0009797 0.0009797 0.0009797 0.11% FabArray::FillBoundary() 3941 0.0008757 0.0008757 0.0008757 0.10% FabArrayBase::getCPC() 1323 0.0007887 0.0007887 0.0007887 0.09% FabArrayBase::CPC::define() 454 0.0006753 0.0006753 0.0006753 0.07% FabArrayBase::getFB() 3941 0.0006536 0.0006536 0.0006536 0.07% Gravity::get_new_grav_vector() 11 0.000605 0.000605 0.000605 0.07% Amr::InitAmr() 1 0.0005666 0.0005666 0.0005666 0.06% Gravity::get_old_grav_vector() 10 0.000479 0.000479 0.000479 0.05% Amr::coarseTimeStep() 10 0.0004704 0.0004704 0.0004704 0.05% MLCellLinOp::apply() 1060 0.0004267 0.0004267 0.0004267 0.05% AmrLevel::FillPatch() 41 0.0004189 0.0004189 0.0004189 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003414 0.0003414 0.0003414 0.04% MultiFab::max() 11 0.0003336 0.0003336 0.0003336 0.04% main() 1 0.0003 0.0003 0.0003 0.03% MLCellLinOp::defineBC() 11 0.0002856 0.0002856 0.0002856 0.03% FabArray::ParallelCopy() 861 0.0002382 0.0002382 0.0002382 0.03% FillPatchIterator::Initialize 41 0.0002187 0.0002187 0.0002187 0.02% MLMG::mgVcycle() 82 0.0002139 0.0002139 0.0002139 0.02% Castro::subcycle_advance_ctu() 10 0.0002021 0.0002021 0.0002021 0.02% MLCellLinOp::correctionResidual() 410 0.0001841 0.0001841 0.0001841 0.02% Amr::timeStep() 10 0.0001614 0.0001614 0.0001614 0.02% MLLinOp::defineGrids() 11 0.0001592 0.0001592 0.0001592 0.02% Castro::create_source_corrector() 10 0.0001587 0.0001587 0.0001587 0.02% StateData::checkPoint() 12 0.0001359 0.0001359 0.0001359 0.02% Gravity::update_max_rhs() 11 0.0001291 0.0001291 0.0001291 0.01% MLMG:computeResOfCorrection() 410 0.0001145 0.0001145 0.0001145 0.01% Gravity::solve_for_phi() 10 0.0001119 0.0001119 0.0001119 0.01% Castro::construct_new_source() 50 9.534e-05 9.534e-05 9.534e-05 0.01% FabArrayBase::FB::FB() 56 9.349e-05 9.349e-05 9.349e-05 0.01% MLMG::mgVcycle_down::0 82 9.278e-05 9.278e-05 9.278e-05 0.01% Castro::advance() 10 9.218e-05 9.218e-05 9.218e-05 0.01% Castro::Castro() 1 8.977e-05 8.977e-05 8.977e-05 0.01% MLMG::actualBottomSolve() 82 8.837e-05 8.837e-05 8.837e-05 0.01% MLMG::mgVcycle_down::1 82 7.917e-05 7.917e-05 7.917e-05 0.01% AmrLevel::checkPoint() 3 7.827e-05 7.827e-05 7.827e-05 0.01% Castro::initialize_advance() 10 7.635e-05 7.635e-05 7.635e-05 0.01% MLMG::mgVcycle_down::2 82 7.349e-05 7.349e-05 7.349e-05 0.01% MLMG::solve() 11 7.183e-05 7.183e-05 7.183e-05 0.01% Castro::clean_state() 62 7.148e-05 7.148e-05 7.148e-05 0.01% Castro::enforce_consistent_e() 1 7.042e-05 7.042e-05 7.042e-05 0.01% MLMG::mgVcycle_down::4 82 6.894e-05 6.894e-05 6.894e-05 0.01% Castro::finalize_advance() 10 6.738e-05 6.738e-05 6.738e-05 0.01% MLMG::mgVcycle_down::3 82 6.705e-05 6.705e-05 6.705e-05 0.01% Castro::initialize_do_advance() 10 6.059e-05 6.059e-05 6.059e-05 0.01% MLMG::mgVcycle_up::4 82 5.987e-05 5.987e-05 5.987e-05 0.01% MLMG::mgVcycle_up::0 82 5.419e-05 5.419e-05 5.419e-05 0.01% MLMG::oneIter() 82 5.323e-05 5.323e-05 5.323e-05 0.01% MLMG::mgVcycle_up::2 82 5.1e-05 5.1e-05 5.1e-05 0.01% MLCellLinOp::solutionResidual() 93 5.024e-05 5.024e-05 5.024e-05 0.01% MLMG::mgVcycle_up::3 82 4.956e-05 4.956e-05 4.956e-05 0.01% MLMG::mgVcycle_up::1 82 4.947e-05 4.947e-05 4.947e-05 0.01% Castro::do_new_sources() 10 4.768e-05 4.768e-05 4.768e-05 0.01% Castro::do_advance_ctu() 10 4.641e-05 4.641e-05 4.641e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.614e-05 4.614e-05 4.614e-05 0.01% Castro::finalize_do_advance() 10 4.591e-05 4.591e-05 4.591e-05 0.01% StateData::define() 4 3.731e-05 3.731e-05 3.731e-05 0.00% Castro::swap_state_time_levels() 10 3.636e-05 3.636e-05 3.636e-05 0.00% Castro::post_timestep() 10 3.617e-05 3.617e-05 3.617e-05 0.00% MLMG::ResNormInf() 93 3.53e-05 3.53e-05 3.53e-05 0.00% FillPatchSingleLevel 41 3.419e-05 3.419e-05 3.419e-05 0.00% MLMG::mgVcycle_bottom 82 3.305e-05 3.305e-05 3.305e-05 0.00% MLMG::computeResidual() 82 3.241e-05 3.241e-05 3.241e-05 0.00% Amr::writeSmallPlotFile() 1 3.228e-05 3.228e-05 3.228e-05 0.00% Castro::initMFs() 1 2.816e-05 2.816e-05 2.816e-05 0.00% Castro::construct_new_gravity() 10 2.659e-05 2.659e-05 2.659e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.414e-05 2.414e-05 2.414e-05 0.00% makeSFC 55 2.413e-05 2.413e-05 2.413e-05 0.00% Castro::buildMetrics() 1 2.323e-05 2.323e-05 2.323e-05 0.00% Amr::defBaseLevel() 1 2.274e-05 2.274e-05 2.274e-05 0.00% Castro::do_old_sources() 10 2.237e-05 2.237e-05 2.237e-05 0.00% MLPoisson::define() 11 2.1e-05 2.1e-05 2.1e-05 0.00% Castro::construct_old_source() 50 1.904e-05 1.904e-05 1.904e-05 0.00% Amr::FinalizeInit() 1 1.876e-05 1.876e-05 1.876e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.768e-05 1.768e-05 1.768e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.624e-05 1.624e-05 1.624e-05 0.00% DistributionMapping::Distribute() 56 1.561e-05 1.561e-05 1.561e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.429e-05 1.429e-05 1.429e-05 0.00% MLPoisson::prepareForSolve() 11 1.4e-05 1.4e-05 1.4e-05 0.00% MLMG::computeMLResidual() 11 1.362e-05 1.362e-05 1.362e-05 0.00% Castro::check_for_nan() 20 1.313e-05 1.313e-05 1.313e-05 0.00% Castro::apply_source_to_state() 20 1.184e-05 1.184e-05 1.184e-05 0.00% MLLinOp::define() 11 1.144e-05 1.144e-05 1.144e-05 0.00% Castro::construct_old_gravity() 10 1.131e-05 1.131e-05 1.131e-05 0.00% Castro::post_init() 1 9.937e-06 9.937e-06 9.937e-06 0.00% Amr::initSubcycle() 1 8.87e-06 8.87e-06 8.87e-06 0.00% Gravity::swapTimeLevels() 10 8.523e-06 8.523e-06 8.523e-06 0.00% Gravity::actual_multilevel_solve() 1 8.156e-06 8.156e-06 8.156e-06 0.00% Castro::computeNewDt() 9 6.556e-06 6.556e-06 6.556e-06 0.00% MLMG::getGradSolution() 11 6.384e-06 6.384e-06 6.384e-06 0.00% Castro::expand_state() 10 5.474e-06 5.474e-06 5.474e-06 0.00% Amr::InitializeInit() 1 4.777e-06 4.777e-06 4.777e-06 0.00% Gravity::set_mass_offset() 11 4.611e-06 4.611e-06 4.611e-06 0.00% AmrLevel::checkPointPost() 3 4.21e-06 4.21e-06 4.21e-06 0.00% Castro::retry_advance_ctu() 10 4.13e-06 4.13e-06 4.13e-06 0.00% MLMG::MLRhsNormInf() 11 4.086e-06 4.086e-06 4.086e-06 0.00% MLMG::MLResNormInf() 11 3.817e-06 3.817e-06 3.817e-06 0.00% Castro::FluxRegCrseInit 10 2.941e-06 2.941e-06 2.941e-06 0.00% Castro::computeInitialDt() 2 2.921e-06 2.921e-06 2.921e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.681e-06 2.681e-06 2.681e-06 0.00% AmrLevel::checkPointPre() 3 2.338e-06 2.338e-06 2.338e-06 0.00% Castro::FluxRegFineAdd() 10 2.306e-06 2.306e-06 2.306e-06 0.00% Amr::init() 1 2.065e-06 2.065e-06 2.065e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.78e-06 1.78e-06 1.78e-06 0.00% Castro::post_regrid() 1 1.284e-06 1.284e-06 1.284e-06 0.00% Amr::initialInit() 1 9.63e-07 9.63e-07 9.63e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9042 0.9042 0.9042 100.00% Amr::coarseTimeStep() 10 0.7527 0.7527 0.7527 83.24% Amr::timeStep() 10 0.6597 0.6597 0.6597 72.95% Castro::advance() 10 0.6489 0.6489 0.6489 71.76% Castro::subcycle_advance_ctu() 10 0.6349 0.6349 0.6349 70.22% Castro::do_advance_ctu() 10 0.6347 0.6347 0.6347 70.19% Gravity::solve_phi_with_mlmg() 11 0.3034 0.3034 0.3034 33.55% Gravity::actual_solve_with_mlmg() 11 0.2941 0.2941 0.2941 32.52% Castro::construct_ctu_hydro_source() 10 0.29 0.29 0.29 32.07% Castro::construct_new_gravity() 10 0.2744 0.2744 0.2744 30.35% MLMG::solve() 11 0.2719 0.2719 0.2719 30.07% Gravity::solve_for_phi() 10 0.2585 0.2585 0.2585 28.59% MLMG::oneIter() 82 0.2565 0.2565 0.2565 28.36% MLMG::mgVcycle() 82 0.2528 0.2528 0.2528 27.96% VisMF::Write(FabArray) 11 0.1768 0.1768 0.1768 19.55% Amr::checkPoint() 3 0.135 0.135 0.135 14.93% AmrLevel::checkPoint() 3 0.1291 0.1291 0.1291 14.27% StateData::checkPoint() 12 0.129 0.129 0.129 14.26% Amr::init() 1 0.1255 0.1255 0.1255 13.88% MLCellLinOp::smooth() 1640 0.1229 0.1229 0.1229 13.59% MLCellLinOp::applyBC() 4351 0.1134 0.1134 0.1134 12.54% MLMG::mgVcycle_bottom 82 0.07387 0.07387 0.07387 8.17% MLMG::actualBottomSolve() 82 0.07384 0.07384 0.07384 8.17% MLCGSolver::bicgstab 82 0.07309 0.07309 0.07309 8.08% Castro::clean_state() 62 0.05481 0.05481 0.05481 6.06% Amr::initialInit() 1 0.05429 0.05429 0.05429 6.00% Amr::writePlotFile() 2 0.05057 0.05057 0.05057 5.59% Amr::FinalizeInit() 1 0.04907 0.04907 0.04907 5.43% AmrLevel::FillPatch() 41 0.04763 0.04763 0.04763 5.27% Castro::post_init() 1 0.04759 0.04759 0.04759 5.26% Gravity::multilevel_solve_for_new_phi() 1 0.04528 0.04528 0.04528 5.01% Gravity::actual_multilevel_solve() 1 0.04526 0.04526 0.04526 5.01% FillPatchIterator::Initialize 41 0.04336 0.04336 0.04336 4.79% FillPatchIterator::FillFromLevel0() 41 0.04178 0.04178 0.04178 4.62% FillPatchSingleLevel 41 0.04174 0.04174 0.04174 4.62% StateDataPhysBCFunct::() 41 0.03769 0.03769 0.03769 4.17% MLCellLinOp::apply() 1060 0.03636 0.03636 0.03636 4.02% MLMG::mgVcycle_down::0 82 0.0348 0.0348 0.0348 3.85% MLPoisson::Fsmooth() 3280 0.03438 0.03438 0.03438 3.80% FabArray::FillBoundary() 3941 0.03261 0.03261 0.03261 3.61% FillBoundary_nowait() 3941 0.03173 0.03173 0.03173 3.51% StateData::FillBoundary(geom) 328 0.02648 0.02648 0.02648 2.93% MLMG::mgVcycle_up::0 82 0.02624 0.02624 0.02624 2.90% Castro::computeTemp() 63 0.02237 0.02237 0.02237 2.47% amrex::Dot() 1114 0.0218 0.0218 0.0218 2.41% FabArray::ParallelCopy() 861 0.02144 0.02144 0.02144 2.37% FabArray::ParallelCopy_nowait() 861 0.02121 0.02121 0.02121 2.35% Castro::initialize_do_advance() 10 0.02097 0.02097 0.02097 2.32% MLMG:computeResOfCorrection() 410 0.02053 0.02053 0.02053 2.27% MLCellLinOp::correctionResidual() 410 0.02042 0.02042 0.02042 2.26% FabArray::norminf() 1061 0.02027 0.02027 0.02027 2.24% Castro::normalize_species() 62 0.0198 0.0198 0.0198 2.19% MLMG::addInterpCorrection() 410 0.01927 0.01927 0.01927 2.13% MLMG::mgVcycle_up::2 82 0.019 0.019 0.019 2.10% Castro::do_old_sources() 10 0.01825 0.01825 0.01825 2.02% Gravity::get_new_grav_vector() 11 0.01781 0.01781 0.01781 1.97% MLPoisson::define() 11 0.01742 0.01742 0.01742 1.93% MLMG::mgVcycle_down::1 82 0.01683 0.01683 0.01683 1.86% MLMG::mgVcycle_down::2 82 0.01564 0.01564 0.01564 1.73% Castro::construct_old_gravity() 10 0.01531 0.01531 0.01531 1.69% Gravity::get_old_grav_vector() 10 0.0153 0.0153 0.0153 1.69% MLMG::mgVcycle_down::3 82 0.01523 0.01523 0.01523 1.68% MLMG::mgVcycle_down::4 82 0.01511 0.01511 0.01511 1.67% FabArray::Saxpy() 1370 0.01328 0.01328 0.01328 1.47% FabArray::setVal() 1062 0.01327 0.01327 0.01327 1.47% Castro::initialize_advance() 10 0.01323 0.01323 0.01323 1.46% MLCGSolver::ParallelAllReduce 1832 0.0131 0.0131 0.0131 1.45% Castro::do_new_sources() 10 0.01229 0.01229 0.01229 1.36% MLMG::mgVcycle_up::1 82 0.01221 0.01221 0.01221 1.35% MLMG::mgVcycle_up::4 82 0.01204 0.01204 0.01204 1.33% MLCellLinOp::defineAuxData() 11 0.01191 0.01191 0.01191 1.32% Castro::expand_state() 10 0.01174 0.01174 0.01174 1.30% MLMG::mgVcycle_up::3 82 0.01161 0.01161 0.01161 1.28% amrex::average_down 410 0.01156 0.01156 0.01156 1.28% amrex::Copy() 472 0.01081 0.01081 0.01081 1.20% Castro::post_timestep() 10 0.01065 0.01065 0.01065 1.18% MLPoisson::Fapply() 1060 0.01038 0.01038 0.01038 1.15% Castro::enforce_min_density() 62 0.01005 0.01005 0.01005 1.11% Gravity::fill_multipole_BCs() 11 0.009026 0.009026 0.009026 1.00% FabArray::Xpay() 739 0.007865 0.007865 0.007865 0.87% MLCellLinOp::solutionResidual() 93 0.007666 0.007666 0.007666 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006661 0.006661 0.006661 0.74% MLMG::computeResidual() 82 0.006379 0.006379 0.006379 0.71% Castro::estTimeStep() 21 0.006078 0.006078 0.006078 0.67% MLCellLinOp::defineBC() 11 0.005265 0.005265 0.005265 0.58% Amr::InitializeInit() 1 0.00522 0.00522 0.00522 0.58% Amr::defBaseLevel() 1 0.005215 0.005215 0.005215 0.58% MLMG::prepareForSolve() 11 0.005207 0.005207 0.005207 0.58% BndryData::define() 11 0.00498 0.00498 0.00498 0.55% Castro::initData() 1 0.004553 0.004553 0.004553 0.50% amrex::Add() 82 0.003608 0.003608 0.003608 0.40% Castro::construct_new_source() 50 0.00357 0.00357 0.00357 0.39% Castro::enforce_speed_limit() 62 0.003565 0.003565 0.003565 0.39% Castro::construct_new_gravity_source() 10 0.003474 0.003474 0.003474 0.38% Castro::construct_old_source() 50 0.002902 0.002902 0.002902 0.32% Castro::construct_old_gravity_source() 10 0.002883 0.002883 0.002883 0.32% Castro::computeNewDt() 9 0.002585 0.002585 0.002585 0.29% Castro::finalize_do_advance() 10 0.002486 0.002486 0.002486 0.27% MLMG::ResNormInf() 93 0.002198 0.002198 0.002198 0.24% Castro::apply_source_to_state() 20 0.001861 0.001861 0.001861 0.21% check_for_negative_density() 10 0.00179 0.00179 0.00179 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001782 0.001782 0.001782 0.20% Castro::reset_internal_energy(Fab) 504 0.00168 0.00168 0.00168 0.19% MLMG::getGradSolution() 11 0.001603 0.001603 0.001603 0.18% MLCellLinOp::compGrad() 11 0.001597 0.001597 0.001597 0.18% MLCellLinOp::setLevelBC() 11 0.001592 0.001592 0.001592 0.18% FabArrayBase::getCPC() 1323 0.001464 0.001464 0.001464 0.16% MLPoisson::prepareForSolve() 11 0.001371 0.001371 0.001371 0.15% MLCellLinOp::prepareForSolve() 11 0.001357 0.001357 0.001357 0.15% FabArray::mult() 43 0.001356 0.001356 0.001356 0.15% FabArray::setDomainBndry() 41 0.001353 0.001353 0.001353 0.15% MLMG::computeMLResidual() 11 0.001333 0.001333 0.001333 0.15% Castro::check_for_nan() 20 0.001282 0.001282 0.001282 0.14% MultiFab::contains_nan() 20 0.001269 0.001269 0.001269 0.14% Castro::post_regrid() 1 0.001171 0.001171 0.001171 0.13% Castro::computeInitialDt() 2 0.001063 0.001063 0.001063 0.12% Gravity::update_max_rhs() 11 0.0009807 0.0009807 0.0009807 0.11% FabArrayBase::getFB() 3941 0.0007471 0.0007471 0.0007471 0.08% FabArrayBase::CPC::define() 454 0.0006753 0.0006753 0.0006753 0.07% Castro::finalize_advance() 10 0.0005939 0.0005939 0.0005939 0.07% Castro::Castro() 1 0.0005822 0.0005822 0.0005822 0.06% Amr::InitAmr() 1 0.0005755 0.0005755 0.0005755 0.06% Gravity::swapTimeLevels() 10 0.0004527 0.0004527 0.0004527 0.05% MLMG::MLResNormInf() 11 0.0003336 0.0003336 0.0003336 0.04% MultiFab::max() 11 0.0003336 0.0003336 0.0003336 0.04% Castro::buildMetrics() 1 0.000286 0.000286 0.000286 0.03% MLLinOp::define() 11 0.0002254 0.0002254 0.0002254 0.02% MLMG::MLRhsNormInf() 11 0.0002252 0.0002252 0.0002252 0.02% MLLinOp::defineGrids() 11 0.000214 0.000214 0.000214 0.02% Castro::create_source_corrector() 10 0.0001587 0.0001587 0.0001587 0.02% FabArrayBase::FB::FB() 56 9.349e-05 9.349e-05 9.349e-05 0.01% Castro::enforce_consistent_e() 1 7.042e-05 7.042e-05 7.042e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.355e-05 5.355e-05 5.355e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.301e-05 5.301e-05 5.301e-05 0.01% makeSFC 55 3.871e-05 3.871e-05 3.871e-05 0.00% StateData::define() 4 3.731e-05 3.731e-05 3.731e-05 0.00% Castro::swap_state_time_levels() 10 3.636e-05 3.636e-05 3.636e-05 0.00% Amr::writeSmallPlotFile() 1 3.228e-05 3.228e-05 3.228e-05 0.00% Castro::initMFs() 1 2.816e-05 2.816e-05 2.816e-05 0.00% DistributionMapping::Distribute() 56 1.561e-05 1.561e-05 1.561e-05 0.00% Amr::initSubcycle() 1 8.87e-06 8.87e-06 8.87e-06 0.00% Gravity::set_mass_offset() 11 4.611e-06 4.611e-06 4.611e-06 0.00% AmrLevel::checkPointPost() 3 4.21e-06 4.21e-06 4.21e-06 0.00% Castro::retry_advance_ctu() 10 4.13e-06 4.13e-06 4.13e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.709e-06 3.709e-06 3.709e-06 0.00% Castro::FluxRegCrseInit 10 2.941e-06 2.941e-06 2.941e-06 0.00% AmrLevel::checkPointPre() 3 2.338e-06 2.338e-06 2.338e-06 0.00% Castro::FluxRegFineAdd() 10 2.306e-06 2.306e-06 2.306e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.78e-06 1.78e-06 1.78e-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 91 MiB 9042 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 1022 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1561 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 3698 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 204 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2097 B 2048 KiB Gravity::solve_for_phi() 80 80 584 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 338 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 215 KiB 671 KiB Castro::estTimeStep() 21 21 3278 B 480 KiB VisMF::Write(FabArray) 656 656 3422 B 320 KiB Castro::normalize_species() 62 62 7133 B 320 KiB amrex::average_down 1067 1067 1264 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1191 B 257 KiB amrex::Dot() 1360 1360 3562 B 160 KiB FabArray::norminf() 1143 1143 3462 B 160 KiB check_for_negative_density() 10 10 318 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3612 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 300 B 9648 B MLCellLinOp::applyBC() 8702 8702 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3946 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 381 B 1248 B MLCGSolver::bicgstab 410 410 97 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 552 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 427 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3612 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 300 B 9648 B MLCellLinOp::applyBC() 4351 4351 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3947 B 6144 B Gravity::get_new_grav_vector() 3 3 2889 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 308 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 1143 1143 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): 2189 [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.01-25-gd121723c7491) finalized Initializing AMReX (24.01-25-gd121723c7491)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-25-gd121723c7491) initialized Starting run at 10:12:47 UTC on 2024-01-24. Successfully read inputs file ... Castro git describe: 24.01-17-g29c5f4d16 AMReX git describe: 24.01-25-gd121723c7 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.510506687 Restart time = 0.072578077 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.071371828 [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.04584383 [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.070071231 [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.078830159 [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.070939876 [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.084817891 seconds Ending run at 10:12:47 UTC on 2024-01-24. Run time = 0.495653553 Run time without initialization = 0.422411589 Average number of zones advanced per microsecond: 3.103 Average number of zones advanced per microsecond per rank: 3.103 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4957 ... 0.4957 ... 0.4957 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1448 0.1448 0.1448 29.22% VisMF::Read() 3 0.06109 0.06109 0.06109 12.32% Amr::writePlotFile() 1 0.0511 0.0511 0.0511 10.31% MLCellLinOp::applyBC() 1910 0.03498 0.03498 0.03498 7.06% VisMF::Write(FabArray) 1 0.03355 0.03355 0.03355 6.77% MLPoisson::Fsmooth() 1440 0.01488 0.01488 0.01488 3.00% FillBoundary_nowait() 1730 0.01305 0.01305 0.01305 2.63% StateData::FillBoundary(geom) 160 0.01302 0.01302 0.01302 2.63% amrex::Dot() 484 0.009309 0.009309 0.009309 1.88% Castro::normalize_species() 30 0.009202 0.009202 0.009202 1.86% FabArray::norminf() 465 0.008914 0.008914 0.008914 1.80% Castro::computeTemp() 30 0.006942 0.006942 0.006942 1.40% Castro::enforce_min_density() 30 0.006801 0.006801 0.006801 1.37% FabArray::setVal() 501 0.006446 0.006446 0.006446 1.30% FabArray::ParallelCopy_nowait() 380 0.006086 0.006086 0.006086 1.23% FabArray::Saxpy() 597 0.005892 0.005892 0.005892 1.19% MLCellLinOp::defineAuxData() 6 0.005635 0.005635 0.005635 1.14% Gravity::fill_multipole_BCs() 6 0.0054 0.0054 0.0054 1.09% amrex::Copy() 221 0.005384 0.005384 0.005384 1.09% StateDataPhysBCFunct::() 20 0.0049 0.0049 0.0049 0.99% Amr::restart() 1 0.004755 0.004755 0.004755 0.96% MLPoisson::Fapply() 464 0.004511 0.004511 0.004511 0.91% FabArray::Xpay() 325 0.003459 0.003459 0.003459 0.70% MLMG::addInterpCorrection() 180 0.003137 0.003137 0.003137 0.63% amrex::average_down 180 0.00274 0.00274 0.00274 0.55% Castro::estTimeStep() 10 0.002682 0.002682 0.002682 0.54% BndryData::define() 6 0.002124 0.002124 0.002124 0.43% Castro::reset_internal_energy(MultiFab) 30 0.002036 0.002036 0.002036 0.41% Castro::enforce_speed_limit() 30 0.001851 0.001851 0.001851 0.37% Castro::construct_new_gravity_source() 5 0.001834 0.001834 0.001834 0.37% Castro::construct_old_gravity_source() 5 0.001545 0.001545 0.001545 0.31% amrex::Add() 36 0.001532 0.001532 0.001532 0.31% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009597 0.0009597 0.0009597 0.19% check_for_negative_density() 5 0.0009469 0.0009469 0.0009469 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008806 0.0008806 0.0008806 0.18% MLCellLinOp::setLevelBC() 6 0.0008781 0.0008781 0.0008781 0.18% Castro::reset_internal_energy(Fab) 240 0.000781 0.000781 0.000781 0.16% MLCellLinOp::prepareForSolve() 6 0.0007555 0.0007555 0.0007555 0.15% MLCGSolver::bicgstab 36 0.000719 0.000719 0.000719 0.15% FabArray::mult() 22 0.0006873 0.0006873 0.0006873 0.14% FabArray::setDomainBndry() 20 0.0006713 0.0006713 0.0006713 0.14% MultiFab::contains_nan() 10 0.0006602 0.0006602 0.0006602 0.13% MLCellLinOp::compGrad() 6 0.0005871 0.0005871 0.0005871 0.12% MLMG::prepareForSolve() 6 0.0005636 0.0005636 0.0005636 0.11% MLCellLinOp::smooth() 720 0.0005236 0.0005236 0.0005236 0.11% Amr::InitAmr() 1 0.0004893 0.0004893 0.0004893 0.10% FabArrayBase::CPC::define() 244 0.0004316 0.0004316 0.0004316 0.09% FabArray::FillBoundary() 1730 0.0003971 0.0003971 0.0003971 0.08% FabArrayBase::getCPC() 632 0.0003612 0.0003612 0.0003612 0.07% main() 1 0.0003547 0.0003547 0.0003547 0.07% Gravity::get_old_grav_vector() 5 0.000315 0.000315 0.000315 0.06% FabArrayBase::getFB() 1730 0.0002756 0.0002756 0.0002756 0.06% Gravity::get_new_grav_vector() 5 0.0002623 0.0002623 0.0002623 0.05% MultiFab::max() 6 0.0002065 0.0002065 0.0002065 0.04% AmrLevel::FillPatch() 20 0.0002001 0.0002001 0.0002001 0.04% Amr::coarseTimeStep() 5 0.0001988 0.0001988 0.0001988 0.04% MLCellLinOp::apply() 464 0.0001972 0.0001972 0.0001972 0.04% MLCellLinOp::defineBC() 6 0.0001564 0.0001564 0.0001564 0.03% MLCGSolver::ParallelAllReduce 798 0.0001487 0.0001487 0.0001487 0.03% FabArray::ParallelCopy() 380 0.0001085 0.0001085 0.0001085 0.02% FillPatchIterator::Initialize 20 0.0001044 0.0001044 0.0001044 0.02% MLMG::mgVcycle() 36 9.135e-05 9.135e-05 9.135e-05 0.02% Castro::subcycle_advance_ctu() 5 9.113e-05 9.113e-05 9.113e-05 0.02% MLLinOp::defineGrids() 6 8.899e-05 8.899e-05 8.899e-05 0.02% Castro::create_source_corrector() 5 8.797e-05 8.797e-05 8.797e-05 0.02% Amr::timeStep() 5 8.727e-05 8.727e-05 8.727e-05 0.02% AmrLevel::restart() 1 7.696e-05 7.696e-05 7.696e-05 0.02% MLCellLinOp::correctionResidual() 180 7.236e-05 7.236e-05 7.236e-05 0.01% Castro::initialize_do_advance() 5 7.221e-05 7.221e-05 7.221e-05 0.01% Castro::construct_new_source() 25 6.967e-05 6.967e-05 6.967e-05 0.01% Gravity::update_max_rhs() 6 6.706e-05 6.706e-05 6.706e-05 0.01% StateData::restartDoit() 4 6.693e-05 6.693e-05 6.693e-05 0.01% Castro::do_advance_ctu() 5 6.267e-05 6.267e-05 6.267e-05 0.01% Castro::post_timestep() 5 6.143e-05 6.143e-05 6.143e-05 0.01% FabArrayBase::FB::FB() 26 6.053e-05 6.053e-05 6.053e-05 0.01% MLMG:computeResOfCorrection() 180 5.32e-05 5.32e-05 5.32e-05 0.01% Gravity::solve_for_phi() 5 5.27e-05 5.27e-05 5.27e-05 0.01% MLMG::mgVcycle_down::0 36 4.556e-05 4.556e-05 4.556e-05 0.01% Castro::finalize_do_advance() 5 4.281e-05 4.281e-05 4.281e-05 0.01% MLMG::actualBottomSolve() 36 4.092e-05 4.092e-05 4.092e-05 0.01% Castro::initialize_advance() 5 3.64e-05 3.64e-05 3.64e-05 0.01% Amr::writeSmallPlotFile() 1 3.518e-05 3.518e-05 3.518e-05 0.01% MLMG::solve() 6 3.468e-05 3.468e-05 3.468e-05 0.01% MLMG::mgVcycle_down::1 36 3.416e-05 3.416e-05 3.416e-05 0.01% Castro::advance() 5 3.273e-05 3.273e-05 3.273e-05 0.01% Castro::clean_state() 30 3.175e-05 3.175e-05 3.175e-05 0.01% MLMG::mgVcycle_down::2 36 3.15e-05 3.15e-05 3.15e-05 0.01% MLMG::mgVcycle_down::4 36 3.002e-05 3.002e-05 3.002e-05 0.01% Castro::finalize_advance() 5 2.995e-05 2.995e-05 2.995e-05 0.01% Castro::post_restart() 1 2.95e-05 2.95e-05 2.95e-05 0.01% MLMG::mgVcycle_down::3 36 2.899e-05 2.899e-05 2.899e-05 0.01% MLMG::mgVcycle_up::4 36 2.896e-05 2.896e-05 2.896e-05 0.01% Castro::construct_old_source() 25 2.833e-05 2.833e-05 2.833e-05 0.01% Castro::buildMetrics() 1 2.81e-05 2.81e-05 2.81e-05 0.01% Castro::do_new_sources() 5 2.783e-05 2.783e-05 2.783e-05 0.01% Castro::initMFs() 1 2.537e-05 2.537e-05 2.537e-05 0.01% Castro::swap_state_time_levels() 5 2.409e-05 2.409e-05 2.409e-05 0.00% MLMG::oneIter() 36 2.312e-05 2.312e-05 2.312e-05 0.00% MLCellLinOp::solutionResidual() 42 2.276e-05 2.276e-05 2.276e-05 0.00% MLMG::mgVcycle_up::0 36 2.267e-05 2.267e-05 2.267e-05 0.00% MLMG::mgVcycle_up::3 36 2.264e-05 2.264e-05 2.264e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.2e-05 2.2e-05 2.2e-05 0.00% MLMG::mgVcycle_up::2 36 2.151e-05 2.151e-05 2.151e-05 0.00% MLMG::mgVcycle_up::1 36 2.063e-05 2.063e-05 2.063e-05 0.00% MLMG::ResNormInf() 42 1.87e-05 1.87e-05 1.87e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.706e-05 1.706e-05 1.706e-05 0.00% FillPatchSingleLevel 20 1.593e-05 1.593e-05 1.593e-05 0.00% MLPoisson::define() 6 1.504e-05 1.504e-05 1.504e-05 0.00% MLMG::computeResidual() 36 1.496e-05 1.496e-05 1.496e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.448e-05 1.448e-05 1.448e-05 0.00% MLMG::mgVcycle_bottom 36 1.431e-05 1.431e-05 1.431e-05 0.00% makeSFC 30 1.334e-05 1.334e-05 1.334e-05 0.00% Castro::construct_new_gravity() 5 1.231e-05 1.231e-05 1.231e-05 0.00% Castro::do_old_sources() 5 1.141e-05 1.141e-05 1.141e-05 0.00% MLPoisson::prepareForSolve() 6 9.486e-06 9.486e-06 9.486e-06 0.00% MLMG::computeMLResidual() 6 9.291e-06 9.291e-06 9.291e-06 0.00% DistributionMapping::Distribute() 31 9.269e-06 9.269e-06 9.269e-06 0.00% Amr::initSubcycle() 1 8.436e-06 8.436e-06 8.436e-06 0.00% Gravity::actual_multilevel_solve() 1 8.234e-06 8.234e-06 8.234e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.092e-06 8.092e-06 8.092e-06 0.00% Castro::apply_source_to_state() 10 6.339e-06 6.339e-06 6.339e-06 0.00% Castro::construct_old_gravity() 5 6.134e-06 6.134e-06 6.134e-06 0.00% MLLinOp::define() 6 6.133e-06 6.133e-06 6.133e-06 0.00% Castro::check_for_nan() 10 5.993e-06 5.993e-06 5.993e-06 0.00% Gravity::swapTimeLevels() 5 4.272e-06 4.272e-06 4.272e-06 0.00% Castro::computeNewDt() 5 3.522e-06 3.522e-06 3.522e-06 0.00% MLMG::getGradSolution() 6 3.293e-06 3.293e-06 3.293e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.173e-06 3.173e-06 3.173e-06 0.00% Castro::expand_state() 5 2.979e-06 2.979e-06 2.979e-06 0.00% MLMG::MLResNormInf() 6 2.461e-06 2.461e-06 2.461e-06 0.00% MLMG::MLRhsNormInf() 6 2.175e-06 2.175e-06 2.175e-06 0.00% Gravity::set_mass_offset() 6 2.135e-06 2.135e-06 2.135e-06 0.00% Castro::retry_advance_ctu() 5 1.91e-06 1.91e-06 1.91e-06 0.00% Castro::FluxRegCrseInit 5 1.576e-06 1.576e-06 1.576e-06 0.00% Castro::FluxRegFineAdd() 5 1.206e-06 1.206e-06 1.206e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.14e-06 1.14e-06 1.14e-06 0.00% Amr::init() 1 1.085e-06 1.085e-06 1.085e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4957 0.4957 0.4957 100.00% Amr::coarseTimeStep() 5 0.3372 0.3372 0.3372 68.04% Amr::timeStep() 5 0.3353 0.3353 0.3353 67.65% Castro::advance() 5 0.3294 0.3294 0.3294 66.45% Castro::subcycle_advance_ctu() 5 0.3218 0.3218 0.3218 64.92% Castro::do_advance_ctu() 5 0.3217 0.3217 0.3217 64.90% Castro::construct_ctu_hydro_source() 5 0.1503 0.1503 0.1503 30.33% Castro::construct_new_gravity() 5 0.1352 0.1352 0.1352 27.28% Gravity::solve_phi_with_mlmg() 6 0.1328 0.1328 0.1328 26.80% Gravity::solve_for_phi() 5 0.1272 0.1272 0.1272 25.66% Gravity::actual_solve_with_mlmg() 6 0.1272 0.1272 0.1272 25.66% MLMG::solve() 6 0.1151 0.1151 0.1151 23.23% MLMG::oneIter() 36 0.1075 0.1075 0.1075 21.70% MLMG::mgVcycle() 36 0.106 0.106 0.106 21.38% Amr::writePlotFile() 1 0.08491 0.08491 0.08491 17.13% Amr::init() 1 0.07262 0.07262 0.07262 14.65% Amr::restart() 1 0.07262 0.07262 0.07262 14.65% AmrLevel::restart() 1 0.06145 0.06145 0.06145 12.40% StateData::restartDoit() 4 0.06137 0.06137 0.06137 12.38% VisMF::Read() 3 0.06109 0.06109 0.06109 12.32% MLCellLinOp::smooth() 720 0.05271 0.05271 0.05271 10.63% MLCellLinOp::applyBC() 1910 0.04877 0.04877 0.04877 9.84% VisMF::Write(FabArray) 1 0.03355 0.03355 0.03355 6.77% MLMG::mgVcycle_bottom 36 0.03192 0.03192 0.03192 6.44% MLMG::actualBottomSolve() 36 0.0319 0.0319 0.0319 6.44% MLCGSolver::bicgstab 36 0.03158 0.03158 0.03158 6.37% Castro::clean_state() 30 0.02764 0.02764 0.02764 5.58% AmrLevel::FillPatch() 20 0.02285 0.02285 0.02285 4.61% FillPatchIterator::Initialize 20 0.02075 0.02075 0.02075 4.19% FillPatchIterator::FillFromLevel0() 20 0.01998 0.01998 0.01998 4.03% FillPatchSingleLevel 20 0.01996 0.01996 0.01996 4.03% StateDataPhysBCFunct::() 20 0.01792 0.01792 0.01792 3.61% MLCellLinOp::apply() 464 0.0159 0.0159 0.0159 3.21% MLMG::mgVcycle_down::0 36 0.01495 0.01495 0.01495 3.02% MLPoisson::Fsmooth() 1440 0.01488 0.01488 0.01488 3.00% FabArray::FillBoundary() 1730 0.01379 0.01379 0.01379 2.78% FillBoundary_nowait() 1730 0.01339 0.01339 0.01339 2.70% StateData::FillBoundary(geom) 160 0.01302 0.01302 0.01302 2.63% MLMG::mgVcycle_up::0 36 0.0113 0.0113 0.0113 2.28% Castro::initialize_do_advance() 5 0.01072 0.01072 0.01072 2.16% Castro::computeTemp() 30 0.009759 0.009759 0.009759 1.97% Castro::do_old_sources() 5 0.009674 0.009674 0.009674 1.95% MLPoisson::define() 6 0.009416 0.009416 0.009416 1.90% amrex::Dot() 484 0.009309 0.009309 0.009309 1.88% Castro::normalize_species() 30 0.009202 0.009202 0.009202 1.86% FabArray::norminf() 465 0.008914 0.008914 0.008914 1.80% MLMG:computeResOfCorrection() 180 0.008876 0.008876 0.008876 1.79% MLCellLinOp::correctionResidual() 180 0.008823 0.008823 0.008823 1.78% Gravity::get_new_grav_vector() 5 0.007895 0.007895 0.007895 1.59% Castro::construct_old_gravity() 5 0.007745 0.007745 0.007745 1.56% Gravity::get_old_grav_vector() 5 0.007738 0.007738 0.007738 1.56% MLMG::mgVcycle_down::1 36 0.007368 0.007368 0.007368 1.49% Castro::initialize_advance() 5 0.007258 0.007258 0.007258 1.46% Castro::enforce_min_density() 30 0.006801 0.006801 0.006801 1.37% MLMG::mgVcycle_down::2 36 0.006725 0.006725 0.006725 1.36% FabArray::ParallelCopy() 380 0.006587 0.006587 0.006587 1.33% MLMG::mgVcycle_down::3 36 0.006567 0.006567 0.006567 1.32% MLMG::mgVcycle_down::4 36 0.006483 0.006483 0.006483 1.31% FabArray::ParallelCopy_nowait() 380 0.006478 0.006478 0.006478 1.31% Castro::do_new_sources() 5 0.006462 0.006462 0.006462 1.30% FabArray::setVal() 501 0.006446 0.006446 0.006446 1.30% MLCellLinOp::defineAuxData() 6 0.006419 0.006419 0.006419 1.29% Castro::post_restart() 1 0.006243 0.006243 0.006243 1.26% FabArray::Saxpy() 597 0.005892 0.005892 0.005892 1.19% Castro::post_timestep() 5 0.005871 0.005871 0.005871 1.18% Gravity::multilevel_solve_for_new_phi() 1 0.005867 0.005867 0.005867 1.18% Gravity::actual_multilevel_solve() 1 0.00585 0.00585 0.00585 1.18% Castro::expand_state() 5 0.005754 0.005754 0.005754 1.16% MLCGSolver::ParallelAllReduce 798 0.005653 0.005653 0.005653 1.14% Gravity::fill_multipole_BCs() 6 0.005524 0.005524 0.005524 1.11% MLMG::addInterpCorrection() 180 0.005416 0.005416 0.005416 1.09% amrex::Copy() 221 0.005384 0.005384 0.005384 1.09% MLMG::mgVcycle_up::1 36 0.005224 0.005224 0.005224 1.05% MLMG::mgVcycle_up::4 36 0.005212 0.005212 0.005212 1.05% MLMG::mgVcycle_up::2 36 0.005124 0.005124 0.005124 1.03% MLMG::mgVcycle_up::3 36 0.00504 0.00504 0.00504 1.02% amrex::average_down 180 0.005024 0.005024 0.005024 1.01% MLPoisson::Fapply() 464 0.004511 0.004511 0.004511 0.91% MLCellLinOp::solutionResidual() 42 0.003566 0.003566 0.003566 0.72% FabArray::Xpay() 325 0.003459 0.003459 0.003459 0.70% MLMG::prepareForSolve() 6 0.002878 0.002878 0.002878 0.58% MLCellLinOp::defineBC() 6 0.002857 0.002857 0.002857 0.58% Castro::reset_internal_energy(MultiFab) 30 0.002817 0.002817 0.002817 0.57% MLMG::computeResidual() 36 0.002775 0.002775 0.002775 0.56% BndryData::define() 6 0.0027 0.0027 0.0027 0.54% Castro::estTimeStep() 10 0.002682 0.002682 0.002682 0.54% Castro::construct_new_source() 25 0.001904 0.001904 0.001904 0.38% Castro::enforce_speed_limit() 30 0.001851 0.001851 0.001851 0.37% Castro::construct_new_gravity_source() 5 0.001834 0.001834 0.001834 0.37% Castro::computeNewDt() 5 0.00173 0.00173 0.00173 0.35% Castro::construct_old_source() 25 0.001573 0.001573 0.001573 0.32% Castro::construct_old_gravity_source() 5 0.001545 0.001545 0.001545 0.31% amrex::Add() 36 0.001532 0.001532 0.001532 0.31% Castro::finalize_do_advance() 5 0.0009975 0.0009975 0.0009975 0.20% MLMG::ResNormInf() 42 0.0009721 0.0009721 0.0009721 0.20% Castro::apply_source_to_state() 10 0.0009615 0.0009615 0.0009615 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009597 0.0009597 0.0009597 0.19% check_for_negative_density() 5 0.0009469 0.0009469 0.0009469 0.19% MLCellLinOp::setLevelBC() 6 0.0008781 0.0008781 0.0008781 0.18% MLMG::getGradSolution() 6 0.0008679 0.0008679 0.0008679 0.18% MLCellLinOp::compGrad() 6 0.0008646 0.0008646 0.0008646 0.17% MLMG::computeMLResidual() 6 0.000815 0.000815 0.000815 0.16% FabArrayBase::getCPC() 632 0.0007928 0.0007928 0.0007928 0.16% Castro::reset_internal_energy(Fab) 240 0.000781 0.000781 0.000781 0.16% MLPoisson::prepareForSolve() 6 0.000765 0.000765 0.000765 0.15% MLCellLinOp::prepareForSolve() 6 0.0007555 0.0007555 0.0007555 0.15% Gravity::update_max_rhs() 6 0.0007105 0.0007105 0.0007105 0.14% FabArray::mult() 22 0.0006873 0.0006873 0.0006873 0.14% FabArray::setDomainBndry() 20 0.0006713 0.0006713 0.0006713 0.14% Castro::check_for_nan() 10 0.0006662 0.0006662 0.0006662 0.13% MultiFab::contains_nan() 10 0.0006602 0.0006602 0.0006602 0.13% Amr::InitAmr() 1 0.0004977 0.0004977 0.0004977 0.10% FabArrayBase::CPC::define() 244 0.0004316 0.0004316 0.0004316 0.09% FabArrayBase::getFB() 1730 0.0003361 0.0003361 0.0003361 0.07% Castro::finalize_advance() 5 0.000291 0.000291 0.000291 0.06% Gravity::swapTimeLevels() 5 0.000231 0.000231 0.000231 0.05% MultiFab::max() 6 0.0002065 0.0002065 0.0002065 0.04% MLMG::MLResNormInf() 6 0.0001887 0.0001887 0.0001887 0.04% Castro::buildMetrics() 1 0.0001496 0.0001496 0.0001496 0.03% MLLinOp::define() 6 0.0001257 0.0001257 0.0001257 0.03% MLLinOp::defineGrids() 6 0.0001196 0.0001196 0.0001196 0.02% MLMG::MLRhsNormInf() 6 0.0001193 0.0001193 0.0001193 0.02% Castro::create_source_corrector() 5 8.797e-05 8.797e-05 8.797e-05 0.02% FabArrayBase::FB::FB() 26 6.053e-05 6.053e-05 6.053e-05 0.01% Amr::writeSmallPlotFile() 1 3.518e-05 3.518e-05 3.518e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.948e-05 2.948e-05 2.948e-05 0.01% Castro::initMFs() 1 2.537e-05 2.537e-05 2.537e-05 0.01% Castro::swap_state_time_levels() 5 2.409e-05 2.409e-05 2.409e-05 0.00% makeSFC 30 2.139e-05 2.139e-05 2.139e-05 0.00% DistributionMapping::Distribute() 31 9.269e-06 9.269e-06 9.269e-06 0.00% Amr::initSubcycle() 1 8.436e-06 8.436e-06 8.436e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.393e-06 4.393e-06 4.393e-06 0.00% Gravity::set_mass_offset() 6 2.135e-06 2.135e-06 2.135e-06 0.00% Castro::retry_advance_ctu() 5 1.91e-06 1.91e-06 1.91e-06 0.00% Castro::FluxRegCrseInit 5 1.576e-06 1.576e-06 1.576e-06 0.00% Castro::FluxRegFineAdd() 5 1.206e-06 1.206e-06 1.206e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.14e-06 1.14e-06 1.14e-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 168 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 905 KiB 39 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1986 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 6554 KiB 14 MiB MLMG::prepareForSolve() 361 361 2851 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 162 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 163 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6543 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2843 B 2048 KiB Gravity::solve_for_phi() 40 40 524 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 263 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 168 KiB 671 KiB Castro::estTimeStep() 10 10 2554 B 480 KiB VisMF::Write(FabArray) 112 112 2129 B 320 KiB Castro::normalize_species() 30 30 6043 B 320 KiB amrex::average_down 469 469 1015 B 257 KiB MLMG::addInterpCorrection() 468 468 931 B 257 KiB amrex::Dot() 592 592 2767 B 160 KiB FabArray::norminf() 501 501 2775 B 160 KiB check_for_negative_density() 5 5 307 B 160 KiB MultiFab::max() 6 6 65 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 2763 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 229 B 9648 B MLCellLinOp::applyBC() 3820 3820 176 B 9344 B amrex::Copy() 56 56 5531 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 295 B 1248 B MLCGSolver::bicgstab 180 180 76 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1002 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 75 KiB 8192 KiB VisMF::Write(FabArray) 120 120 140 KiB 3584 KiB VisMF::Read() 24 24 186 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2763 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 229 B 9648 B MLCellLinOp::applyBC() 1910 1910 175 B 9328 B amrex::Copy() 56 56 5531 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2581 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 35 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 470 B 1296 B amrex::average_down 37 37 209 B 1296 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): 2189 [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.01-25-gd121723c7491) finalized