Initializing AMReX (24.03-8-gae3af4339425)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.03-8-gae3af4339425) initialized Starting run at 08:33:04 UTC on 2024-03-13. Successfully read inputs file ... Castro git describe: 24.03-4-ge94d82665 AMReX git describe: 24.03-8-gae3af4339 Microphysics git describe: 24.03-7-g124b71be 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.04457842 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024463499 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.0657512 [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.068742896 [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.076977533 [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.059380051 [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.064009742 [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.056641888 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.049091284 [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.067356091 [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.07423174 [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.06841404 [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.063590065 [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.042482831 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024283585 seconds Ending run at 08:33:05 UTC on 2024-03-13. Run time = 0.905214665 Run time without initialization = 0.781613129 Average number of zones advanced per microsecond: 3.354 Average number of zones advanced per microsecond per rank: 3.354 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9052 ... 0.9052 ... 0.9052 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2769 0.2769 0.2769 30.59% VisMF::Write(FabArray) 11 0.1838 0.1838 0.1838 20.31% MLCellLinOp::applyBC() 4351 0.08011 0.08011 0.08011 8.85% MLPoisson::Fsmooth() 3280 0.033 0.033 0.033 3.65% FillBoundary_nowait() 3941 0.03054 0.03054 0.03054 3.37% StateData::FillBoundary(geom) 328 0.02631 0.02631 0.02631 2.91% amrex::Dot() 1114 0.02091 0.02091 0.02091 2.31% Castro::normalize_species() 62 0.02019 0.02019 0.02019 2.23% FabArray::norminf() 1061 0.01955 0.01955 0.01955 2.16% amrex::Copy() 472 0.01793 0.01793 0.01793 1.98% Castro::computeTemp() 63 0.01514 0.01514 0.01514 1.67% FabArray::ParallelCopy_nowait() 861 0.01367 0.01367 0.01367 1.51% FabArray::setVal() 1062 0.01327 0.01327 0.01327 1.47% FabArray::Saxpy() 1370 0.01297 0.01297 0.01297 1.43% StateDataPhysBCFunct::() 41 0.01267 0.01267 0.01267 1.40% Castro::enforce_min_density() 62 0.01143 0.01143 0.01143 1.26% MLPoisson::Fapply() 1060 0.01006 0.01006 0.01006 1.11% MLCellLinOp::defineAuxData() 11 0.009953 0.009953 0.009953 1.10% Gravity::fill_multipole_BCs() 11 0.008858 0.008858 0.008858 0.98% FabArray::Xpay() 739 0.007714 0.007714 0.007714 0.85% MLMG::addInterpCorrection() 410 0.006991 0.006991 0.006991 0.77% amrex::average_down 410 0.006145 0.006145 0.006145 0.68% Amr::checkPoint() 3 0.006039 0.006039 0.006039 0.67% Castro::estTimeStep() 21 0.005819 0.005819 0.005819 0.64% Castro::reset_internal_energy(MultiFab) 63 0.00523 0.00523 0.00523 0.58% BndryData::define() 11 0.003884 0.003884 0.003884 0.43% amrex::Add() 82 0.003616 0.003616 0.003616 0.40% Castro::construct_new_gravity_source() 10 0.00358 0.00358 0.00358 0.40% Castro::construct_old_gravity_source() 10 0.002961 0.002961 0.002961 0.33% Castro::enforce_speed_limit() 62 0.002379 0.002379 0.002379 0.26% Amr::writePlotFile() 2 0.002123 0.002123 0.002123 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001756 0.001756 0.001756 0.19% Castro::reset_internal_energy(Fab) 504 0.001675 0.001675 0.001675 0.19% MLCGSolver::bicgstab 82 0.001649 0.001649 0.001649 0.18% check_for_negative_density() 10 0.001606 0.001606 0.001606 0.18% MLCellLinOp::setLevelBC() 11 0.001554 0.001554 0.001554 0.17% Gravity::actual_solve_with_mlmg() 11 0.001541 0.001541 0.001541 0.17% Castro::initData() 1 0.00148 0.00148 0.00148 0.16% FabArray::mult() 43 0.001377 0.001377 0.001377 0.15% FabArray::setDomainBndry() 41 0.001337 0.001337 0.001337 0.15% MLCellLinOp::prepareForSolve() 11 0.001301 0.001301 0.001301 0.14% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.14% MLCellLinOp::smooth() 1640 0.001188 0.001188 0.001188 0.13% MLCellLinOp::compGrad() 11 0.001082 0.001082 0.001082 0.12% MLMG::prepareForSolve() 11 0.0009521 0.0009521 0.0009521 0.11% FabArrayBase::getCPC() 1323 0.0007934 0.0007934 0.0007934 0.09% FabArray::FillBoundary() 3941 0.0007865 0.0007865 0.0007865 0.09% FabArrayBase::CPC::define() 454 0.0006726 0.0006726 0.0006726 0.07% Gravity::get_new_grav_vector() 11 0.0006213 0.0006213 0.0006213 0.07% FabArrayBase::getFB() 3941 0.0006056 0.0006056 0.0006056 0.07% Amr::InitAmr() 1 0.0005353 0.0005353 0.0005353 0.06% Gravity::get_old_grav_vector() 10 0.0004875 0.0004875 0.0004875 0.05% MLCellLinOp::apply() 1060 0.0004342 0.0004342 0.0004342 0.05% AmrLevel::FillPatch() 41 0.0004101 0.0004101 0.0004101 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003426 0.0003426 0.0003426 0.04% Amr::coarseTimeStep() 10 0.0003369 0.0003369 0.0003369 0.04% MultiFab::max() 11 0.0003344 0.0003344 0.0003344 0.04% main() 1 0.0002907 0.0002907 0.0002907 0.03% MLCellLinOp::defineBC() 11 0.0002762 0.0002762 0.0002762 0.03% FabArray::ParallelCopy() 861 0.0002461 0.0002461 0.0002461 0.03% FillPatchIterator::Initialize 41 0.0002167 0.0002167 0.0002167 0.02% MLMG::mgVcycle() 82 0.0002076 0.0002076 0.0002076 0.02% Castro::create_source_corrector() 10 0.0001908 0.0001908 0.0001908 0.02% Castro::subcycle_advance_ctu() 10 0.0001856 0.0001856 0.0001856 0.02% MLCellLinOp::correctionResidual() 410 0.0001851 0.0001851 0.0001851 0.02% MLLinOp::defineGrids() 11 0.0001695 0.0001695 0.0001695 0.02% Amr::timeStep() 10 0.0001652 0.0001652 0.0001652 0.02% Gravity::update_max_rhs() 11 0.0001365 0.0001365 0.0001365 0.02% Castro::construct_new_source() 50 0.0001353 0.0001353 0.0001353 0.01% MLMG:computeResOfCorrection() 410 0.000119 0.000119 0.000119 0.01% StateData::checkPoint() 12 0.0001168 0.0001168 0.0001168 0.01% Gravity::solve_for_phi() 10 0.0001103 0.0001103 0.0001103 0.01% Castro::Castro() 1 9.659e-05 9.659e-05 9.659e-05 0.01% FabArrayBase::FB::FB() 56 9.455e-05 9.455e-05 9.455e-05 0.01% MLMG::mgVcycle_down::0 82 9.388e-05 9.388e-05 9.388e-05 0.01% MLMG::actualBottomSolve() 82 8.769e-05 8.769e-05 8.769e-05 0.01% MLMG::mgVcycle_down::1 82 8.194e-05 8.194e-05 8.194e-05 0.01% Castro::initialize_advance() 10 7.954e-05 7.954e-05 7.954e-05 0.01% MLMG::mgVcycle_down::2 82 7.565e-05 7.565e-05 7.565e-05 0.01% MLMG::solve() 11 7.518e-05 7.518e-05 7.518e-05 0.01% Castro::enforce_consistent_e() 1 7.378e-05 7.378e-05 7.378e-05 0.01% MLMG::mgVcycle_down::4 82 7.248e-05 7.248e-05 7.248e-05 0.01% Castro::advance() 10 7.004e-05 7.004e-05 7.004e-05 0.01% MLMG::mgVcycle_down::3 82 6.963e-05 6.963e-05 6.963e-05 0.01% Castro::clean_state() 62 6.782e-05 6.782e-05 6.782e-05 0.01% Castro::post_timestep() 10 6.491e-05 6.491e-05 6.491e-05 0.01% Castro::finalize_advance() 10 6.474e-05 6.474e-05 6.474e-05 0.01% AmrLevel::checkPoint() 3 6.266e-05 6.266e-05 6.266e-05 0.01% MLMG::mgVcycle_up::4 82 6.061e-05 6.061e-05 6.061e-05 0.01% Castro::initialize_do_advance() 10 6.022e-05 6.022e-05 6.022e-05 0.01% MLMG::oneIter() 82 5.91e-05 5.91e-05 5.91e-05 0.01% MLMG::mgVcycle_up::3 82 5.844e-05 5.844e-05 5.844e-05 0.01% MLMG::mgVcycle_up::0 82 5.479e-05 5.479e-05 5.479e-05 0.01% MLCellLinOp::solutionResidual() 93 5.273e-05 5.273e-05 5.273e-05 0.01% Castro::do_advance_ctu() 10 4.974e-05 4.974e-05 4.974e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.898e-05 4.898e-05 4.898e-05 0.01% MLMG::mgVcycle_up::2 82 4.888e-05 4.888e-05 4.888e-05 0.01% MLMG::mgVcycle_up::1 82 4.842e-05 4.842e-05 4.842e-05 0.01% Castro::do_new_sources() 10 4.822e-05 4.822e-05 4.822e-05 0.01% Castro::finalize_do_advance() 10 4.695e-05 4.695e-05 4.695e-05 0.01% StateData::define() 4 4.289e-05 4.289e-05 4.289e-05 0.00% MLMG::ResNormInf() 93 3.73e-05 3.73e-05 3.73e-05 0.00% FillPatchSingleLevel 41 3.668e-05 3.668e-05 3.668e-05 0.00% Castro::swap_state_time_levels() 10 3.546e-05 3.546e-05 3.546e-05 0.00% MLMG::mgVcycle_bottom 82 3.474e-05 3.474e-05 3.474e-05 0.00% Amr::writeSmallPlotFile() 1 3.065e-05 3.065e-05 3.065e-05 0.00% Amr::defBaseLevel() 1 3.053e-05 3.053e-05 3.053e-05 0.00% Castro::initMFs() 1 3.046e-05 3.046e-05 3.046e-05 0.00% MLMG::computeResidual() 82 3.044e-05 3.044e-05 3.044e-05 0.00% Castro::buildMetrics() 1 2.718e-05 2.718e-05 2.718e-05 0.00% Castro::construct_new_gravity() 10 2.572e-05 2.572e-05 2.572e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.484e-05 2.484e-05 2.484e-05 0.00% makeSFC 55 2.482e-05 2.482e-05 2.482e-05 0.00% Castro::do_old_sources() 10 2.3e-05 2.3e-05 2.3e-05 0.00% MLPoisson::define() 11 2.024e-05 2.024e-05 2.024e-05 0.00% Amr::FinalizeInit() 1 1.889e-05 1.889e-05 1.889e-05 0.00% Castro::construct_old_source() 50 1.85e-05 1.85e-05 1.85e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.836e-05 1.836e-05 1.836e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.681e-05 1.681e-05 1.681e-05 0.00% DistributionMapping::Distribute() 56 1.621e-05 1.621e-05 1.621e-05 0.00% Castro::apply_source_to_state() 20 1.611e-05 1.611e-05 1.611e-05 0.00% MLMG::computeMLResidual() 11 1.575e-05 1.575e-05 1.575e-05 0.00% MLPoisson::prepareForSolve() 11 1.336e-05 1.336e-05 1.336e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.336e-05 1.336e-05 1.336e-05 0.00% Castro::check_for_nan() 20 1.305e-05 1.305e-05 1.305e-05 0.00% MLLinOp::define() 11 1.144e-05 1.144e-05 1.144e-05 0.00% Gravity::swapTimeLevels() 10 1.115e-05 1.115e-05 1.115e-05 0.00% Castro::post_init() 1 1.071e-05 1.071e-05 1.071e-05 0.00% Castro::construct_old_gravity() 10 1.032e-05 1.032e-05 1.032e-05 0.00% Amr::initSubcycle() 1 9.446e-06 9.446e-06 9.446e-06 0.00% Gravity::actual_multilevel_solve() 1 8.396e-06 8.396e-06 8.396e-06 0.00% Amr::InitializeInit() 1 7.131e-06 7.131e-06 7.131e-06 0.00% Castro::computeNewDt() 9 7.047e-06 7.047e-06 7.047e-06 0.00% Castro::expand_state() 10 6.077e-06 6.077e-06 6.077e-06 0.00% MLMG::getGradSolution() 11 5.979e-06 5.979e-06 5.979e-06 0.00% AmrLevel::checkPointPost() 3 5.451e-06 5.451e-06 5.451e-06 0.00% Castro::retry_advance_ctu() 10 4.712e-06 4.712e-06 4.712e-06 0.00% MLMG::MLRhsNormInf() 11 4.42e-06 4.42e-06 4.42e-06 0.00% Gravity::set_mass_offset() 11 3.978e-06 3.978e-06 3.978e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.912e-06 3.912e-06 3.912e-06 0.00% Castro::FluxRegCrseInit 10 3.772e-06 3.772e-06 3.772e-06 0.00% MLMG::MLResNormInf() 11 3.658e-06 3.658e-06 3.658e-06 0.00% Amr::init() 1 3.133e-06 3.133e-06 3.133e-06 0.00% Castro::computeInitialDt() 2 3.065e-06 3.065e-06 3.065e-06 0.00% AmrLevel::checkPointPre() 3 2.527e-06 2.527e-06 2.527e-06 0.00% Castro::FluxRegFineAdd() 10 2.343e-06 2.343e-06 2.343e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.096e-06 2.096e-06 2.096e-06 0.00% Castro::post_regrid() 1 1.18e-06 1.18e-06 1.18e-06 0.00% Amr::initialInit() 1 1.049e-06 1.049e-06 1.049e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9052 0.9052 0.9052 100.00% Amr::coarseTimeStep() 10 0.7571 0.7571 0.7571 83.63% Amr::timeStep() 10 0.6542 0.6542 0.6542 72.27% Castro::advance() 10 0.6432 0.6432 0.6432 71.05% Castro::subcycle_advance_ctu() 10 0.6291 0.6291 0.6291 69.49% Castro::do_advance_ctu() 10 0.6289 0.6289 0.6289 69.47% Gravity::solve_phi_with_mlmg() 11 0.2974 0.2974 0.2974 32.86% Gravity::actual_solve_with_mlmg() 11 0.2881 0.2881 0.2881 31.83% Castro::construct_ctu_hydro_source() 10 0.2866 0.2866 0.2866 31.66% Castro::construct_new_gravity() 10 0.2703 0.2703 0.2703 29.86% MLMG::solve() 11 0.2666 0.2666 0.2666 29.46% Gravity::solve_for_phi() 10 0.2532 0.2532 0.2532 27.97% MLMG::oneIter() 82 0.2514 0.2514 0.2514 27.78% MLMG::mgVcycle() 82 0.2478 0.2478 0.2478 27.37% VisMF::Write(FabArray) 11 0.1838 0.1838 0.1838 20.31% Amr::checkPoint() 3 0.1438 0.1438 0.1438 15.89% AmrLevel::checkPoint() 3 0.1378 0.1378 0.1378 15.22% StateData::checkPoint() 12 0.1377 0.1377 0.1377 15.21% Amr::init() 1 0.1229 0.1229 0.1229 13.58% MLCellLinOp::smooth() 1640 0.1205 0.1205 0.1205 13.31% MLCellLinOp::applyBC() 4351 0.1121 0.1121 0.1121 12.39% MLMG::mgVcycle_bottom 82 0.07862 0.07862 0.07862 8.68% MLMG::actualBottomSolve() 82 0.07858 0.07858 0.07858 8.68% MLCGSolver::bicgstab 82 0.07778 0.07778 0.07778 8.59% Castro::clean_state() 62 0.05512 0.05512 0.05512 6.09% Amr::initialInit() 1 0.05378 0.05378 0.05378 5.94% AmrLevel::FillPatch() 41 0.04903 0.04903 0.04903 5.42% Amr::writePlotFile() 2 0.04888 0.04888 0.04888 5.40% Amr::FinalizeInit() 1 0.04867 0.04867 0.04867 5.38% Castro::post_init() 1 0.04717 0.04717 0.04717 5.21% FillPatchIterator::Initialize 41 0.04472 0.04472 0.04472 4.94% Gravity::multilevel_solve_for_new_phi() 1 0.04467 0.04467 0.04467 4.94% Gravity::actual_multilevel_solve() 1 0.04466 0.04466 0.04466 4.93% FillPatchIterator::FillFromLevel0() 41 0.04317 0.04317 0.04317 4.77% FillPatchSingleLevel 41 0.04312 0.04312 0.04312 4.76% StateDataPhysBCFunct::() 41 0.03898 0.03898 0.03898 4.31% MLCellLinOp::apply() 1060 0.03578 0.03578 0.03578 3.95% MLMG::mgVcycle_down::0 82 0.03442 0.03442 0.03442 3.80% MLPoisson::Fsmooth() 3280 0.033 0.033 0.033 3.65% FabArray::FillBoundary() 3941 0.03202 0.03202 0.03202 3.54% FillBoundary_nowait() 3941 0.03124 0.03124 0.03124 3.45% StateData::FillBoundary(geom) 328 0.02631 0.02631 0.02631 2.91% MLMG::mgVcycle_up::0 82 0.02613 0.02613 0.02613 2.89% Castro::computeTemp() 63 0.02205 0.02205 0.02205 2.44% Castro::initialize_do_advance() 10 0.02093 0.02093 0.02093 2.31% amrex::Dot() 1114 0.02091 0.02091 0.02091 2.31% Castro::normalize_species() 62 0.02019 0.02019 0.02019 2.23% MLMG:computeResOfCorrection() 410 0.02017 0.02017 0.02017 2.23% MLCellLinOp::correctionResidual() 410 0.02005 0.02005 0.02005 2.22% FabArray::norminf() 1061 0.01955 0.01955 0.01955 2.16% Gravity::get_new_grav_vector() 11 0.01919 0.01919 0.01919 2.12% Castro::do_old_sources() 10 0.01898 0.01898 0.01898 2.10% amrex::Copy() 472 0.01793 0.01793 0.01793 1.98% MLPoisson::define() 11 0.01678 0.01678 0.01678 1.85% MLMG::mgVcycle_down::1 82 0.01644 0.01644 0.01644 1.82% MLMG::mgVcycle_down::2 82 0.01528 0.01528 0.01528 1.69% Castro::construct_old_gravity() 10 0.0152 0.0152 0.0152 1.68% Gravity::get_old_grav_vector() 10 0.01519 0.01519 0.01519 1.68% MLMG::mgVcycle_down::3 82 0.0149 0.0149 0.0149 1.65% MLMG::mgVcycle_down::4 82 0.01482 0.01482 0.01482 1.64% FabArray::ParallelCopy() 861 0.01473 0.01473 0.01473 1.63% FabArray::ParallelCopy_nowait() 861 0.01448 0.01448 0.01448 1.60% Castro::do_new_sources() 10 0.01367 0.01367 0.01367 1.51% Castro::initialize_advance() 10 0.01341 0.01341 0.01341 1.48% FabArray::setVal() 1062 0.01327 0.01327 0.01327 1.47% FabArray::Saxpy() 1370 0.01297 0.01297 0.01297 1.43% MLCGSolver::ParallelAllReduce 1832 0.01258 0.01258 0.01258 1.39% MLMG::addInterpCorrection() 410 0.0123 0.0123 0.0123 1.36% MLMG::mgVcycle_up::1 82 0.01193 0.01193 0.01193 1.32% MLMG::mgVcycle_up::4 82 0.01187 0.01187 0.01187 1.31% Castro::expand_state() 10 0.01176 0.01176 0.01176 1.30% MLMG::mgVcycle_up::2 82 0.01165 0.01165 0.01165 1.29% MLMG::mgVcycle_up::3 82 0.01149 0.01149 0.01149 1.27% amrex::average_down 410 0.01146 0.01146 0.01146 1.27% Castro::enforce_min_density() 62 0.01143 0.01143 0.01143 1.26% MLCellLinOp::defineAuxData() 11 0.01136 0.01136 0.01136 1.26% Castro::post_timestep() 10 0.01084 0.01084 0.01084 1.20% MLPoisson::Fapply() 1060 0.01006 0.01006 0.01006 1.11% Gravity::fill_multipole_BCs() 11 0.009086 0.009086 0.009086 1.00% FabArray::Xpay() 739 0.007714 0.007714 0.007714 0.85% MLCellLinOp::solutionResidual() 93 0.007627 0.007627 0.007627 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006905 0.006905 0.006905 0.76% MLMG::computeResidual() 82 0.006401 0.006401 0.006401 0.71% Castro::estTimeStep() 21 0.005819 0.005819 0.005819 0.64% MLCellLinOp::defineBC() 11 0.005156 0.005156 0.005156 0.57% Amr::InitializeInit() 1 0.00511 0.00511 0.00511 0.56% Amr::defBaseLevel() 1 0.005103 0.005103 0.005103 0.56% MLMG::prepareForSolve() 11 0.005082 0.005082 0.005082 0.56% BndryData::define() 11 0.004879 0.004879 0.004879 0.54% Castro::initData() 1 0.004409 0.004409 0.004409 0.49% Castro::construct_new_source() 50 0.003715 0.003715 0.003715 0.41% amrex::Add() 82 0.003616 0.003616 0.003616 0.40% Castro::construct_new_gravity_source() 10 0.00358 0.00358 0.00358 0.40% Castro::construct_old_source() 50 0.00298 0.00298 0.00298 0.33% Castro::construct_old_gravity_source() 10 0.002961 0.002961 0.002961 0.33% Castro::computeNewDt() 9 0.002585 0.002585 0.002585 0.29% Castro::enforce_speed_limit() 62 0.002379 0.002379 0.002379 0.26% Castro::finalize_do_advance() 10 0.002255 0.002255 0.002255 0.25% MLMG::ResNormInf() 93 0.002144 0.002144 0.002144 0.24% Castro::apply_source_to_state() 20 0.00188 0.00188 0.00188 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001756 0.001756 0.001756 0.19% Castro::reset_internal_energy(Fab) 504 0.001675 0.001675 0.001675 0.19% check_for_negative_density() 10 0.001606 0.001606 0.001606 0.18% MLMG::getGradSolution() 11 0.00159 0.00159 0.00159 0.18% MLCellLinOp::compGrad() 11 0.001584 0.001584 0.001584 0.18% MLCellLinOp::setLevelBC() 11 0.001554 0.001554 0.001554 0.17% FabArrayBase::getCPC() 1323 0.001466 0.001466 0.001466 0.16% FabArray::mult() 43 0.001377 0.001377 0.001377 0.15% FabArray::setDomainBndry() 41 0.001337 0.001337 0.001337 0.15% MLPoisson::prepareForSolve() 11 0.001315 0.001315 0.001315 0.15% MLCellLinOp::prepareForSolve() 11 0.001301 0.001301 0.001301 0.14% Castro::check_for_nan() 20 0.001281 0.001281 0.001281 0.14% MLMG::computeMLResidual() 11 0.001273 0.001273 0.001273 0.14% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.14% Castro::post_regrid() 1 0.00119 0.00119 0.00119 0.13% Castro::computeInitialDt() 2 0.001036 0.001036 0.001036 0.11% Gravity::update_max_rhs() 11 0.001019 0.001019 0.001019 0.11% FabArrayBase::getFB() 3941 0.0007001 0.0007001 0.0007001 0.08% FabArrayBase::CPC::define() 454 0.0006726 0.0006726 0.0006726 0.07% Castro::finalize_advance() 10 0.0006101 0.0006101 0.0006101 0.07% Castro::Castro() 1 0.0005982 0.0005982 0.0005982 0.07% Amr::InitAmr() 1 0.0005448 0.0005448 0.0005448 0.06% Gravity::swapTimeLevels() 10 0.000474 0.000474 0.000474 0.05% MultiFab::max() 11 0.0003344 0.0003344 0.0003344 0.04% MLMG::MLResNormInf() 11 0.0003217 0.0003217 0.0003217 0.04% Castro::buildMetrics() 1 0.0003006 0.0003006 0.0003006 0.03% MLLinOp::define() 11 0.0002364 0.0002364 0.0002364 0.03% MLMG::MLRhsNormInf() 11 0.0002281 0.0002281 0.0002281 0.03% MLLinOp::defineGrids() 11 0.000225 0.000225 0.000225 0.02% Castro::create_source_corrector() 10 0.0001908 0.0001908 0.0001908 0.02% FabArrayBase::FB::FB() 56 9.455e-05 9.455e-05 9.455e-05 0.01% Castro::enforce_consistent_e() 1 7.378e-05 7.378e-05 7.378e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.97e-05 5.97e-05 5.97e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.337e-05 5.337e-05 5.337e-05 0.01% StateData::define() 4 4.289e-05 4.289e-05 4.289e-05 0.00% makeSFC 55 4.001e-05 4.001e-05 4.001e-05 0.00% Castro::swap_state_time_levels() 10 3.546e-05 3.546e-05 3.546e-05 0.00% Amr::writeSmallPlotFile() 1 3.065e-05 3.065e-05 3.065e-05 0.00% Castro::initMFs() 1 3.046e-05 3.046e-05 3.046e-05 0.00% DistributionMapping::Distribute() 56 1.621e-05 1.621e-05 1.621e-05 0.00% Amr::initSubcycle() 1 9.446e-06 9.446e-06 9.446e-06 0.00% AmrLevel::checkPointPost() 3 5.451e-06 5.451e-06 5.451e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.927e-06 4.927e-06 4.927e-06 0.00% Castro::retry_advance_ctu() 10 4.712e-06 4.712e-06 4.712e-06 0.00% Gravity::set_mass_offset() 11 3.978e-06 3.978e-06 3.978e-06 0.00% Castro::FluxRegCrseInit 10 3.772e-06 3.772e-06 3.772e-06 0.00% AmrLevel::checkPointPre() 3 2.527e-06 2.527e-06 2.527e-06 0.00% Castro::FluxRegFineAdd() 10 2.343e-06 2.343e-06 2.343e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.096e-06 2.096e-06 2.096e-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 5441 KiB 9037 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 1040 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1505 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3623 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 220 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 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 2171 B 2048 KiB Gravity::solve_for_phi() 80 80 572 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 331 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 210 KiB 671 KiB Castro::estTimeStep() 21 21 3134 B 480 KiB VisMF::Write(FabArray) 656 656 3345 B 320 KiB Castro::normalize_species() 62 62 7265 B 320 KiB amrex::average_down 1067 1067 1599 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1161 B 257 KiB amrex::Dot() 1360 1360 3400 B 160 KiB FabArray::norminf() 1143 1143 3322 B 160 KiB check_for_negative_density() 10 10 283 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3539 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 295 B 9648 B MLCellLinOp::applyBC() 8702 8702 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3935 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 4032 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 373 B 1248 B MLCGSolver::bicgstab 410 410 103 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 580 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 68 KiB 8192 KiB VisMF::Write(FabArray) 744 744 409 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3539 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 295 B 9648 B MLCellLinOp::applyBC() 4351 4351 219 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3936 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 4032 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 301 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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.03-8-gae3af4339425) finalized Initializing AMReX (24.03-8-gae3af4339425)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.03-8-gae3af4339425) initialized Starting run at 08:33:05 UTC on 2024-03-13. Successfully read inputs file ... Castro git describe: 24.03-4-ge94d82665 AMReX git describe: 24.03-8-gae3af4339 Microphysics git describe: 24.03-7-g124b71be reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.515137647 Restart time = 0.072482973 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.067600733 [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.048744533 [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.069450951 [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.078475318 [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.066653747 [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.027073045 seconds Ending run at 08:33:06 UTC on 2024-03-13. Run time = 0.43153417 Run time without initialization = 0.358421451 Average number of zones advanced per microsecond: 3.657 Average number of zones advanced per microsecond per rank: 3.657 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4316 ... 0.4316 ... 0.4316 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1399 0.1399 0.1399 32.42% VisMF::Read() 3 0.06134 0.06134 0.06134 14.21% MLCellLinOp::applyBC() 1910 0.03528 0.03528 0.03528 8.17% VisMF::Write(FabArray) 1 0.02442 0.02442 0.02442 5.66% MLPoisson::Fsmooth() 1440 0.01462 0.01462 0.01462 3.39% StateData::FillBoundary(geom) 160 0.01317 0.01317 0.01317 3.05% FillBoundary_nowait() 1730 0.01312 0.01312 0.01312 3.04% Castro::normalize_species() 30 0.009381 0.009381 0.009381 2.17% amrex::Dot() 484 0.009085 0.009085 0.009085 2.11% FabArray::norminf() 465 0.008534 0.008534 0.008534 1.98% Castro::computeTemp() 30 0.007248 0.007248 0.007248 1.68% FabArray::setVal() 501 0.006543 0.006543 0.006543 1.52% FabArray::ParallelCopy_nowait() 380 0.00616 0.00616 0.00616 1.43% FabArray::Saxpy() 597 0.005774 0.005774 0.005774 1.34% Castro::enforce_min_density() 30 0.00557 0.00557 0.00557 1.29% MLCellLinOp::defineAuxData() 6 0.00546 0.00546 0.00546 1.27% amrex::Copy() 221 0.005443 0.005443 0.005443 1.26% Gravity::fill_multipole_BCs() 6 0.004906 0.004906 0.004906 1.14% Amr::restart() 1 0.004751 0.004751 0.004751 1.10% StateDataPhysBCFunct::() 20 0.004708 0.004708 0.004708 1.09% MLPoisson::Fapply() 464 0.004409 0.004409 0.004409 1.02% FabArray::Xpay() 325 0.003468 0.003468 0.003468 0.80% MLMG::addInterpCorrection() 180 0.003139 0.003139 0.003139 0.73% Castro::estTimeStep() 10 0.003035 0.003035 0.003035 0.70% amrex::average_down 180 0.002744 0.002744 0.002744 0.64% Amr::writePlotFile() 1 0.002487 0.002487 0.002487 0.58% BndryData::define() 6 0.002123 0.002123 0.002123 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002098 0.002098 0.002098 0.49% Castro::construct_new_gravity_source() 5 0.001892 0.001892 0.001892 0.44% amrex::Add() 36 0.001554 0.001554 0.001554 0.36% Castro::construct_old_gravity_source() 5 0.001546 0.001546 0.001546 0.36% Castro::enforce_speed_limit() 30 0.001351 0.001351 0.001351 0.31% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009565 0.0009565 0.0009565 0.22% MLCellLinOp::setLevelBC() 6 0.0008651 0.0008651 0.0008651 0.20% check_for_negative_density() 5 0.000851 0.000851 0.000851 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008382 0.0008382 0.0008382 0.19% Castro::reset_internal_energy(Fab) 240 0.0008187 0.0008187 0.0008187 0.19% MLCGSolver::bicgstab 36 0.000789 0.000789 0.000789 0.18% MLCellLinOp::prepareForSolve() 6 0.0007658 0.0007658 0.0007658 0.18% FabArray::mult() 22 0.0006971 0.0006971 0.0006971 0.16% FabArray::setDomainBndry() 20 0.0006874 0.0006874 0.0006874 0.16% MultiFab::contains_nan() 10 0.0006769 0.0006769 0.0006769 0.16% MLCellLinOp::smooth() 720 0.0006156 0.0006156 0.0006156 0.14% MLCellLinOp::compGrad() 6 0.0005968 0.0005968 0.0005968 0.14% MLMG::prepareForSolve() 6 0.0005702 0.0005702 0.0005702 0.13% Amr::InitAmr() 1 0.0004605 0.0004605 0.0004605 0.11% FabArrayBase::CPC::define() 244 0.0004308 0.0004308 0.0004308 0.10% FabArrayBase::getCPC() 632 0.0003776 0.0003776 0.0003776 0.09% FabArray::FillBoundary() 1730 0.0003629 0.0003629 0.0003629 0.08% Gravity::get_old_grav_vector() 5 0.0003281 0.0003281 0.0003281 0.08% Gravity::get_new_grav_vector() 5 0.000263 0.000263 0.000263 0.06% FabArrayBase::getFB() 1730 0.0002619 0.0002619 0.0002619 0.06% main() 1 0.0002618 0.0002618 0.0002618 0.06% MLCellLinOp::apply() 464 0.0002226 0.0002226 0.0002226 0.05% AmrLevel::FillPatch() 20 0.0002072 0.0002072 0.0002072 0.05% MultiFab::max() 6 0.0002065 0.0002065 0.0002065 0.05% Amr::coarseTimeStep() 5 0.0001756 0.0001756 0.0001756 0.04% MLCGSolver::ParallelAllReduce 798 0.0001595 0.0001595 0.0001595 0.04% MLCellLinOp::defineBC() 6 0.0001579 0.0001579 0.0001579 0.04% Castro::subcycle_advance_ctu() 5 0.0001282 0.0001282 0.0001282 0.03% FabArray::ParallelCopy() 380 0.0001222 0.0001222 0.0001222 0.03% Castro::create_source_corrector() 5 0.0001131 0.0001131 0.0001131 0.03% FillPatchIterator::Initialize 20 0.0001096 0.0001096 0.0001096 0.03% MLLinOp::defineGrids() 6 0.000104 0.000104 0.000104 0.02% MLMG::mgVcycle() 36 9.423e-05 9.423e-05 9.423e-05 0.02% Amr::timeStep() 5 9.024e-05 9.024e-05 9.024e-05 0.02% MLCellLinOp::correctionResidual() 180 8.747e-05 8.747e-05 8.747e-05 0.02% AmrLevel::restart() 1 7.789e-05 7.789e-05 7.789e-05 0.02% Gravity::update_max_rhs() 6 6.919e-05 6.919e-05 6.919e-05 0.02% StateData::restartDoit() 4 6.907e-05 6.907e-05 6.907e-05 0.02% Castro::initialize_do_advance() 5 6.863e-05 6.863e-05 6.863e-05 0.02% Castro::finalize_do_advance() 5 6.749e-05 6.749e-05 6.749e-05 0.02% Castro::do_advance_ctu() 5 6.741e-05 6.741e-05 6.741e-05 0.02% Castro::construct_new_source() 25 6.678e-05 6.678e-05 6.678e-05 0.02% Castro::advance() 5 6.111e-05 6.111e-05 6.111e-05 0.01% FabArrayBase::FB::FB() 26 5.859e-05 5.859e-05 5.859e-05 0.01% Gravity::solve_for_phi() 5 5.448e-05 5.448e-05 5.448e-05 0.01% MLMG:computeResOfCorrection() 180 5.244e-05 5.244e-05 5.244e-05 0.01% MLMG::mgVcycle_down::0 36 4.848e-05 4.848e-05 4.848e-05 0.01% MLMG::mgVcycle_down::1 36 4.155e-05 4.155e-05 4.155e-05 0.01% MLMG::actualBottomSolve() 36 4.002e-05 4.002e-05 4.002e-05 0.01% Castro::do_new_sources() 5 3.851e-05 3.851e-05 3.851e-05 0.01% Castro::clean_state() 30 3.825e-05 3.825e-05 3.825e-05 0.01% Castro::initialize_advance() 5 3.811e-05 3.811e-05 3.811e-05 0.01% MLMG::solve() 6 3.621e-05 3.621e-05 3.621e-05 0.01% Castro::post_timestep() 5 3.531e-05 3.531e-05 3.531e-05 0.01% MLMG::mgVcycle_down::2 36 3.42e-05 3.42e-05 3.42e-05 0.01% MLMG::mgVcycle_down::4 36 3.352e-05 3.352e-05 3.352e-05 0.01% MLMG::mgVcycle_down::3 36 3.271e-05 3.271e-05 3.271e-05 0.01% Castro::finalize_advance() 5 3.067e-05 3.067e-05 3.067e-05 0.01% MLMG::mgVcycle_up::4 36 3.047e-05 3.047e-05 3.047e-05 0.01% Amr::writeSmallPlotFile() 1 2.985e-05 2.985e-05 2.985e-05 0.01% Castro::construct_old_source() 25 2.963e-05 2.963e-05 2.963e-05 0.01% Castro::buildMetrics() 1 2.88e-05 2.88e-05 2.88e-05 0.01% Castro::post_restart() 1 2.869e-05 2.869e-05 2.869e-05 0.01% MLMG::oneIter() 36 2.685e-05 2.685e-05 2.685e-05 0.01% MLCellLinOp::solutionResidual() 42 2.597e-05 2.597e-05 2.597e-05 0.01% Castro::swap_state_time_levels() 5 2.553e-05 2.553e-05 2.553e-05 0.01% MLMG::mgVcycle_up::0 36 2.524e-05 2.524e-05 2.524e-05 0.01% MLMG::mgVcycle_up::3 36 2.519e-05 2.519e-05 2.519e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.406e-05 2.406e-05 2.406e-05 0.01% MLMG::mgVcycle_up::2 36 2.372e-05 2.372e-05 2.372e-05 0.01% Castro::initMFs() 1 2.331e-05 2.331e-05 2.331e-05 0.01% MLMG::mgVcycle_up::1 36 2.325e-05 2.325e-05 2.325e-05 0.01% MLMG::ResNormInf() 42 2.043e-05 2.043e-05 2.043e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.683e-05 1.683e-05 1.683e-05 0.00% FillPatchSingleLevel 20 1.64e-05 1.64e-05 1.64e-05 0.00% MLMG::mgVcycle_bottom 36 1.535e-05 1.535e-05 1.535e-05 0.00% MLPoisson::define() 6 1.441e-05 1.441e-05 1.441e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.429e-05 1.429e-05 1.429e-05 0.00% MLMG::computeResidual() 36 1.429e-05 1.429e-05 1.429e-05 0.00% makeSFC 30 1.38e-05 1.38e-05 1.38e-05 0.00% Castro::construct_new_gravity() 5 1.297e-05 1.297e-05 1.297e-05 0.00% Castro::do_old_sources() 5 1.281e-05 1.281e-05 1.281e-05 0.00% MLPoisson::prepareForSolve() 6 1.066e-05 1.066e-05 1.066e-05 0.00% MLMG::computeMLResidual() 6 1.036e-05 1.036e-05 1.036e-05 0.00% Amr::initSubcycle() 1 9.65e-06 9.65e-06 9.65e-06 0.00% DistributionMapping::Distribute() 31 9.483e-06 9.483e-06 9.483e-06 0.00% Gravity::actual_multilevel_solve() 1 8.094e-06 8.094e-06 8.094e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.666e-06 7.666e-06 7.666e-06 0.00% Castro::apply_source_to_state() 10 7.264e-06 7.264e-06 7.264e-06 0.00% Castro::check_for_nan() 10 6.416e-06 6.416e-06 6.416e-06 0.00% MLLinOp::define() 6 6.065e-06 6.065e-06 6.065e-06 0.00% Castro::construct_old_gravity() 5 5.67e-06 5.67e-06 5.67e-06 0.00% Gravity::swapTimeLevels() 5 4.67e-06 4.67e-06 4.67e-06 0.00% Castro::computeNewDt() 5 4.09e-06 4.09e-06 4.09e-06 0.00% MLMG::getGradSolution() 6 3.629e-06 3.629e-06 3.629e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.109e-06 3.109e-06 3.109e-06 0.00% Castro::expand_state() 5 2.915e-06 2.915e-06 2.915e-06 0.00% MLMG::MLRhsNormInf() 6 2.699e-06 2.699e-06 2.699e-06 0.00% MLMG::MLResNormInf() 6 2.692e-06 2.692e-06 2.692e-06 0.00% Castro::retry_advance_ctu() 5 2.524e-06 2.524e-06 2.524e-06 0.00% Gravity::set_mass_offset() 6 2.385e-06 2.385e-06 2.385e-06 0.00% Castro::FluxRegCrseInit 5 1.851e-06 1.851e-06 1.851e-06 0.00% Castro::FluxRegFineAdd() 5 1.267e-06 1.267e-06 1.267e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.165e-06 1.165e-06 1.165e-06 0.00% Amr::init() 1 8.48e-07 8.48e-07 8.48e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4315 0.4315 0.4315 100.00% Amr::coarseTimeStep() 5 0.3311 0.3311 0.3311 76.72% Amr::timeStep() 5 0.329 0.329 0.329 76.23% Castro::advance() 5 0.324 0.324 0.324 75.07% Castro::subcycle_advance_ctu() 5 0.3166 0.3166 0.3166 73.35% Castro::do_advance_ctu() 5 0.3164 0.3164 0.3164 73.32% Castro::construct_ctu_hydro_source() 5 0.1452 0.1452 0.1452 33.64% Castro::construct_new_gravity() 5 0.1346 0.1346 0.1346 31.18% Gravity::solve_phi_with_mlmg() 6 0.1318 0.1318 0.1318 30.53% Gravity::actual_solve_with_mlmg() 6 0.1266 0.1266 0.1266 29.34% Gravity::solve_for_phi() 5 0.1265 0.1265 0.1265 29.31% MLMG::solve() 6 0.1148 0.1148 0.1148 26.59% MLMG::oneIter() 36 0.1071 0.1071 0.1071 24.81% MLMG::mgVcycle() 36 0.1055 0.1055 0.1055 24.44% Amr::init() 1 0.07253 0.07253 0.07253 16.81% Amr::restart() 1 0.07253 0.07253 0.07253 16.81% AmrLevel::restart() 1 0.06172 0.06172 0.06172 14.30% StateData::restartDoit() 4 0.06164 0.06164 0.06164 14.28% VisMF::Read() 3 0.06134 0.06134 0.06134 14.21% MLCellLinOp::smooth() 720 0.0528 0.0528 0.0528 12.23% MLCellLinOp::applyBC() 1910 0.04908 0.04908 0.04908 11.37% MLMG::mgVcycle_bottom 36 0.03121 0.03121 0.03121 7.23% MLMG::actualBottomSolve() 36 0.0312 0.0312 0.0312 7.23% MLCGSolver::bicgstab 36 0.03083 0.03083 0.03083 7.14% Amr::writePlotFile() 1 0.02716 0.02716 0.02716 6.29% Castro::clean_state() 30 0.02651 0.02651 0.02651 6.14% VisMF::Write(FabArray) 1 0.02442 0.02442 0.02442 5.66% AmrLevel::FillPatch() 20 0.02288 0.02288 0.02288 5.30% FillPatchIterator::Initialize 20 0.02077 0.02077 0.02077 4.81% FillPatchIterator::FillFromLevel0() 20 0.01997 0.01997 0.01997 4.63% FillPatchSingleLevel 20 0.01995 0.01995 0.01995 4.62% StateDataPhysBCFunct::() 20 0.01788 0.01788 0.01788 4.14% MLCellLinOp::apply() 464 0.01586 0.01586 0.01586 3.68% MLMG::mgVcycle_down::0 36 0.01515 0.01515 0.01515 3.51% MLPoisson::Fsmooth() 1440 0.01462 0.01462 0.01462 3.39% FabArray::FillBoundary() 1730 0.01381 0.01381 0.01381 3.20% FillBoundary_nowait() 1730 0.01344 0.01344 0.01344 3.11% StateData::FillBoundary(geom) 160 0.01317 0.01317 0.01317 3.05% MLMG::mgVcycle_up::0 36 0.01138 0.01138 0.01138 2.64% Castro::initialize_do_advance() 5 0.01047 0.01047 0.01047 2.43% Castro::computeTemp() 30 0.01016 0.01016 0.01016 2.36% Castro::do_old_sources() 5 0.00963 0.00963 0.00963 2.23% Castro::normalize_species() 30 0.009381 0.009381 0.009381 2.17% MLPoisson::define() 6 0.009269 0.009269 0.009269 2.15% amrex::Dot() 484 0.009085 0.009085 0.009085 2.11% MLMG:computeResOfCorrection() 180 0.008863 0.008863 0.008863 2.05% MLCellLinOp::correctionResidual() 180 0.008811 0.008811 0.008811 2.04% FabArray::norminf() 465 0.008534 0.008534 0.008534 1.98% Gravity::get_new_grav_vector() 5 0.007945 0.007945 0.007945 1.84% Castro::construct_old_gravity() 5 0.007689 0.007689 0.007689 1.78% Gravity::get_old_grav_vector() 5 0.007683 0.007683 0.007683 1.78% MLMG::mgVcycle_down::1 36 0.007315 0.007315 0.007315 1.70% Castro::do_new_sources() 5 0.007146 0.007146 0.007146 1.66% Castro::initialize_advance() 5 0.007044 0.007044 0.007044 1.63% MLMG::mgVcycle_down::2 36 0.006729 0.006729 0.006729 1.56% FabArray::ParallelCopy() 380 0.006675 0.006675 0.006675 1.55% MLMG::mgVcycle_down::3 36 0.006558 0.006558 0.006558 1.52% FabArray::ParallelCopy_nowait() 380 0.006552 0.006552 0.006552 1.52% FabArray::setVal() 501 0.006543 0.006543 0.006543 1.52% MLMG::mgVcycle_down::4 36 0.006485 0.006485 0.006485 1.50% MLCellLinOp::defineAuxData() 6 0.006254 0.006254 0.006254 1.45% Castro::post_restart() 1 0.005874 0.005874 0.005874 1.36% Castro::expand_state() 5 0.005849 0.005849 0.005849 1.36% FabArray::Saxpy() 597 0.005774 0.005774 0.005774 1.34% Castro::enforce_min_density() 30 0.00557 0.00557 0.00557 1.29% MLCGSolver::ParallelAllReduce 798 0.005531 0.005531 0.005531 1.28% Gravity::multilevel_solve_for_new_phi() 1 0.005494 0.005494 0.005494 1.27% Gravity::actual_multilevel_solve() 1 0.005477 0.005477 0.005477 1.27% amrex::Copy() 221 0.005443 0.005443 0.005443 1.26% MLMG::addInterpCorrection() 180 0.005429 0.005429 0.005429 1.26% MLMG::mgVcycle_up::1 36 0.005233 0.005233 0.005233 1.21% MLMG::mgVcycle_up::4 36 0.005202 0.005202 0.005202 1.21% MLMG::mgVcycle_up::2 36 0.005104 0.005104 0.005104 1.18% amrex::average_down 180 0.00508 0.00508 0.00508 1.18% Gravity::fill_multipole_BCs() 6 0.005027 0.005027 0.005027 1.16% MLMG::mgVcycle_up::3 36 0.005026 0.005026 0.005026 1.16% Castro::post_timestep() 5 0.004938 0.004938 0.004938 1.14% MLPoisson::Fapply() 464 0.004409 0.004409 0.004409 1.02% MLCellLinOp::solutionResidual() 42 0.003617 0.003617 0.003617 0.84% FabArray::Xpay() 325 0.003468 0.003468 0.003468 0.80% Castro::estTimeStep() 10 0.003035 0.003035 0.003035 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002917 0.002917 0.002917 0.68% MLMG::prepareForSolve() 6 0.002891 0.002891 0.002891 0.67% MLCellLinOp::defineBC() 6 0.00286 0.00286 0.00286 0.66% MLMG::computeResidual() 36 0.002821 0.002821 0.002821 0.65% BndryData::define() 6 0.002702 0.002702 0.002702 0.63% Castro::construct_new_source() 25 0.001959 0.001959 0.001959 0.45% Castro::computeNewDt() 5 0.001928 0.001928 0.001928 0.45% Castro::construct_new_gravity_source() 5 0.001892 0.001892 0.001892 0.44% Castro::construct_old_source() 25 0.001576 0.001576 0.001576 0.37% amrex::Add() 36 0.001554 0.001554 0.001554 0.36% Castro::construct_old_gravity_source() 5 0.001546 0.001546 0.001546 0.36% Castro::enforce_speed_limit() 30 0.001351 0.001351 0.001351 0.31% Castro::finalize_do_advance() 5 0.001179 0.001179 0.001179 0.27% MLMG::ResNormInf() 42 0.0009974 0.0009974 0.0009974 0.23% Castro::apply_source_to_state() 10 0.0009611 0.0009611 0.0009611 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009565 0.0009565 0.0009565 0.22% MLMG::getGradSolution() 6 0.0008922 0.0008922 0.0008922 0.21% MLCellLinOp::compGrad() 6 0.0008886 0.0008886 0.0008886 0.21% MLCellLinOp::setLevelBC() 6 0.0008651 0.0008651 0.0008651 0.20% check_for_negative_density() 5 0.000851 0.000851 0.000851 0.20% MLMG::computeMLResidual() 6 0.0008203 0.0008203 0.0008203 0.19% Castro::reset_internal_energy(Fab) 240 0.0008187 0.0008187 0.0008187 0.19% FabArrayBase::getCPC() 632 0.0008084 0.0008084 0.0008084 0.19% MLPoisson::prepareForSolve() 6 0.0007765 0.0007765 0.0007765 0.18% MLCellLinOp::prepareForSolve() 6 0.0007658 0.0007658 0.0007658 0.18% Gravity::update_max_rhs() 6 0.0007397 0.0007397 0.0007397 0.17% FabArray::mult() 22 0.0006971 0.0006971 0.0006971 0.16% FabArray::setDomainBndry() 20 0.0006874 0.0006874 0.0006874 0.16% Castro::check_for_nan() 10 0.0006833 0.0006833 0.0006833 0.16% MultiFab::contains_nan() 10 0.0006769 0.0006769 0.0006769 0.16% Amr::InitAmr() 1 0.0004701 0.0004701 0.0004701 0.11% FabArrayBase::CPC::define() 244 0.0004308 0.0004308 0.0004308 0.10% FabArrayBase::getFB() 1730 0.0003204 0.0003204 0.0003204 0.07% Castro::finalize_advance() 5 0.0002987 0.0002987 0.0002987 0.07% Gravity::swapTimeLevels() 5 0.0002517 0.0002517 0.0002517 0.06% MultiFab::max() 6 0.0002065 0.0002065 0.0002065 0.05% MLMG::MLResNormInf() 6 0.0001928 0.0001928 0.0001928 0.04% Castro::buildMetrics() 1 0.0001625 0.0001625 0.0001625 0.04% MLLinOp::define() 6 0.0001409 0.0001409 0.0001409 0.03% MLLinOp::defineGrids() 6 0.0001348 0.0001348 0.0001348 0.03% MLMG::MLRhsNormInf() 6 0.0001231 0.0001231 0.0001231 0.03% Castro::create_source_corrector() 5 0.0001131 0.0001131 0.0001131 0.03% FabArrayBase::FB::FB() 26 5.859e-05 5.859e-05 5.859e-05 0.01% Amr::writeSmallPlotFile() 1 2.985e-05 2.985e-05 2.985e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.963e-05 2.963e-05 2.963e-05 0.01% Castro::swap_state_time_levels() 5 2.553e-05 2.553e-05 2.553e-05 0.01% Castro::initMFs() 1 2.331e-05 2.331e-05 2.331e-05 0.01% makeSFC 30 2.197e-05 2.197e-05 2.197e-05 0.01% Amr::initSubcycle() 1 9.65e-06 9.65e-06 9.65e-06 0.00% DistributionMapping::Distribute() 31 9.483e-06 9.483e-06 9.483e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.421e-06 4.421e-06 4.421e-06 0.00% Castro::retry_advance_ctu() 5 2.524e-06 2.524e-06 2.524e-06 0.00% Gravity::set_mass_offset() 6 2.385e-06 2.385e-06 2.385e-06 0.00% Castro::FluxRegCrseInit 5 1.851e-06 1.851e-06 1.851e-06 0.00% Castro::FluxRegFineAdd() 5 1.267e-06 1.267e-06 1.267e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.165e-06 1.165e-06 1.165e-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 10 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1046 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1672 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6398 KiB 14 MiB MLMG::prepareForSolve() 361 361 3263 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 188 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6385 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3401 B 2048 KiB Gravity::solve_for_phi() 40 40 599 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 301 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 193 KiB 671 KiB Castro::estTimeStep() 10 10 3362 B 480 KiB VisMF::Write(FabArray) 112 112 1269 B 320 KiB Castro::normalize_species() 30 30 7075 B 320 KiB amrex::average_down 469 469 1375 B 257 KiB MLMG::addInterpCorrection() 468 468 1073 B 257 KiB amrex::Dot() 592 592 3104 B 160 KiB FabArray::norminf() 501 501 3046 B 160 KiB check_for_negative_density() 5 5 315 B 160 KiB MultiFab::max() 6 6 74 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3160 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 3820 3820 205 B 9344 B amrex::Copy() 56 56 5833 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 338 B 1248 B MLCGSolver::bicgstab 180 180 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1161 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 83 KiB 8192 KiB VisMF::Write(FabArray) 120 120 157 KiB 3584 KiB VisMF::Read() 24 24 216 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3160 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 263 B 9648 B MLCellLinOp::applyBC() 1910 1910 203 B 9328 B amrex::Copy() 56 56 5833 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2509 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2640 B MLMG::prepareForSolve() 7 7 791 B 1648 B amrex::average_down 37 37 460 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 22 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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.03-8-gae3af4339425) finalized