Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-20-g084165c236ab) initialized Starting run at 09:11:22 UTC on 2023-05-22. Successfully read inputs file ... Castro git describe: 23.05-25-g99ae92958 AMReX git describe: 23.05-20-g084165c23 Microphysics git describe: 23.05-10-g10fb84d2 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.058348751 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033398925 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047031838 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.048994446 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.0473621 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.057896789 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.069912196 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.058275094 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.070139008 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.06300974 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.064892346 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.056302996 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.059881184 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.058658544 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033679351 seconds Ending run at 09:11:23 UTC on 2023-05-22. Run time = 0.876020218 Run time without initialization = 0.736694968 Average number of zones advanced per microsecond: 3.558 Average number of zones advanced per microsecond per rank: 3.558 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.876 ... 0.876 ... 0.876 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2355 0.2355 0.2355 26.89% Castro::construct_ctu_hydro_source() 10 0.2314 0.2314 0.2314 26.41% MLCellLinOp::applyBC() 4433 0.07487 0.07487 0.07487 8.55% FillBoundary_nowait() 4023 0.03251 0.03251 0.03251 3.71% MLPoisson::Fsmooth() 3280 0.03145 0.03145 0.03145 3.59% StateData::FillBoundary(geom) 328 0.02428 0.02428 0.02428 2.77% amrex::Dot() 1114 0.01979 0.01979 0.01979 2.26% Castro::normalize_species() 62 0.01509 0.01509 0.01509 1.72% amrex::Copy() 1029 0.01452 0.01452 0.01452 1.66% FabArray::norminf() 743 0.01392 0.01392 0.01392 1.59% Castro::computeTemp() 63 0.01388 0.01388 0.01388 1.58% FabArray::ParallelCopy_nowait() 861 0.01299 0.01299 0.01299 1.48% FabArray::setVal() 1144 0.01278 0.01278 0.01278 1.46% Castro::enforce_min_density() 62 0.01179 0.01179 0.01179 1.35% StateDataPhysBCFunct::() 41 0.01141 0.01141 0.01141 1.30% MLPoisson::Fapply() 1142 0.01008 0.01008 0.01008 1.15% MLCellLinOp::defineAuxData() 11 0.009344 0.009344 0.009344 1.07% FabArray::Saxpy() 813 0.007933 0.007933 0.007933 0.91% FabArray::Xpay() 821 0.007819 0.007819 0.007819 0.89% MLMG::addInterpCorrection() 410 0.006473 0.006473 0.006473 0.74% Gravity::fill_multipole_BCs() 11 0.006299 0.006299 0.006299 0.72% amrex::average_down 410 0.005799 0.005799 0.005799 0.66% Castro::estTimeStep() 21 0.005357 0.005357 0.005357 0.61% FabArray::LinComb() 557 0.004373 0.004373 0.004373 0.50% amrex::Add() 164 0.004368 0.004368 0.004368 0.50% Castro::reset_internal_energy(MultiFab) 63 0.004291 0.004291 0.004291 0.49% Amr::checkPoint() 3 0.003954 0.003954 0.003954 0.45% BndryData::define() 11 0.003518 0.003518 0.003518 0.40% Castro::construct_new_gravity_source() 10 0.003135 0.003135 0.003135 0.36% Castro::do_advance_ctu() 10 0.002741 0.002741 0.002741 0.31% Castro::construct_old_gravity_source() 10 0.002566 0.002566 0.002566 0.29% Amr::writePlotFile() 2 0.002371 0.002371 0.002371 0.27% MLCGSolver::bicgstab 82 0.002122 0.002122 0.002122 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001639 0.001639 0.001639 0.19% Gravity::actual_solve_with_mlmg() 11 0.001465 0.001465 0.001465 0.17% Castro::reset_internal_energy(Fab) 504 0.001449 0.001449 0.001449 0.17% MLCellLinOp::setLevelBC() 11 0.001356 0.001356 0.001356 0.15% FabArray::mult() 43 0.001312 0.001312 0.001312 0.15% FabArray::setDomainBndry() 41 0.001287 0.001287 0.001287 0.15% Castro::enforce_speed_limit() 62 0.001239 0.001239 0.001239 0.14% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.14% Castro::initData() 1 0.001191 0.001191 0.001191 0.14% MLCellLinOp::prepareForSolve() 11 0.001091 0.001091 0.001091 0.12% MLCellLinOp::smooth() 1640 0.001051 0.001051 0.001051 0.12% MLCellLinOp::compGrad() 11 0.0009177 0.0009177 0.0009177 0.10% MLMG::prepareForSolve() 11 0.0008652 0.0008652 0.0008652 0.10% FabArray::FillBoundary() 4023 0.0008178 0.0008178 0.0008178 0.09% FabArrayBase::getCPC() 1323 0.0007479 0.0007479 0.0007479 0.09% FabArrayBase::CPC::define() 454 0.0006707 0.0006707 0.0006707 0.08% Gravity::get_new_grav_vector() 11 0.0006326 0.0006326 0.0006326 0.07% FabArrayBase::getFB() 4023 0.0005953 0.0005953 0.0005953 0.07% Gravity::get_old_grav_vector() 10 0.000552 0.000552 0.000552 0.06% Amr::InitAmr() 1 0.0004551 0.0004551 0.0004551 0.05% MLCellLinOp::apply() 1142 0.0004223 0.0004223 0.0004223 0.05% Amr::coarseTimeStep() 10 0.0003826 0.0003826 0.0003826 0.04% MLLinOp::defineGrids() 11 0.000379 0.000379 0.000379 0.04% main() 1 0.0003595 0.0003595 0.0003595 0.04% MLMG::mgVcycle() 82 0.0003551 0.0003551 0.0003551 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002801 0.0002801 0.0002801 0.03% MultiFab::max() 11 0.0002552 0.0002552 0.0002552 0.03% FillPatchIterator::Initialize 41 0.0002385 0.0002385 0.0002385 0.03% FabArray::ParallelCopy() 861 0.0002367 0.0002367 0.0002367 0.03% MLCellLinOp::correctionResidual() 492 0.000213 0.000213 0.000213 0.02% MLCellLinOp::defineBC() 11 0.0002113 0.0002113 0.0002113 0.02% Castro::create_source_corrector() 10 0.0001758 0.0001758 0.0001758 0.02% Amr::timeStep() 10 0.0001595 0.0001595 0.0001595 0.02% Castro::subcycle_advance_ctu() 10 0.000157 0.000157 0.000157 0.02% StateData::checkPoint() 12 0.0001371 0.0001371 0.0001371 0.02% Gravity::update_max_rhs() 11 0.0001229 0.0001229 0.0001229 0.01% MLMG:computeResOfCorrection() 410 0.0001183 0.0001183 0.0001183 0.01% Gravity::solve_for_phi() 10 0.0001088 0.0001088 0.0001088 0.01% MLMG::actualBottomSolve() 82 9.387e-05 9.387e-05 9.387e-05 0.01% Castro::advance() 10 8.944e-05 8.944e-05 8.944e-05 0.01% MLMG::mgVcycle_down::0 82 8.83e-05 8.83e-05 8.83e-05 0.01% FabArrayBase::FB::FB() 56 8.791e-05 8.791e-05 8.791e-05 0.01% MLMG::mgVcycle_down::1 82 8.55e-05 8.55e-05 8.55e-05 0.01% Castro::Castro() 1 8.288e-05 8.288e-05 8.288e-05 0.01% AmrLevel::checkPoint() 3 7.781e-05 7.781e-05 7.781e-05 0.01% MLMG::mgVcycle_down::2 82 7.774e-05 7.774e-05 7.774e-05 0.01% Castro::expand_state() 10 7.595e-05 7.595e-05 7.595e-05 0.01% MLMG::solve() 11 7.566e-05 7.566e-05 7.566e-05 0.01% Castro::clean_state() 62 7.395e-05 7.395e-05 7.395e-05 0.01% MLMG::mgVcycle_down::3 82 7.267e-05 7.267e-05 7.267e-05 0.01% MLMG::mgVcycle_down::4 82 7.218e-05 7.218e-05 7.218e-05 0.01% Castro::initialize_advance() 10 7.169e-05 7.169e-05 7.169e-05 0.01% MLMG::mgVcycle_up::4 82 5.982e-05 5.982e-05 5.982e-05 0.01% Castro::finalize_advance() 10 5.952e-05 5.952e-05 5.952e-05 0.01% Castro::construct_new_source() 50 5.672e-05 5.672e-05 5.672e-05 0.01% MLMG::oneIter() 82 5.324e-05 5.324e-05 5.324e-05 0.01% Castro::initialize_do_advance() 10 5.137e-05 5.137e-05 5.137e-05 0.01% MLMG::mgVcycle_up::0 82 4.861e-05 4.861e-05 4.861e-05 0.01% MLCellLinOp::solutionResidual() 93 4.676e-05 4.676e-05 4.676e-05 0.01% MLMG::mgVcycle_up::1 82 4.667e-05 4.667e-05 4.667e-05 0.01% MLMG::mgVcycle_up::3 82 4.643e-05 4.643e-05 4.643e-05 0.01% MLMG::mgVcycle_up::2 82 4.491e-05 4.491e-05 4.491e-05 0.01% Castro::swap_state_time_levels() 10 3.859e-05 3.859e-05 3.859e-05 0.00% Castro::finalize_do_advance() 10 3.718e-05 3.718e-05 3.718e-05 0.00% Castro::post_timestep() 10 3.49e-05 3.49e-05 3.49e-05 0.00% StateData::define() 4 3.478e-05 3.478e-05 3.478e-05 0.00% Castro::enforce_consistent_e() 1 3.211e-05 3.211e-05 3.211e-05 0.00% MLMG::computeResidual() 82 3.142e-05 3.142e-05 3.142e-05 0.00% MLMG::ResNormInf() 93 3.105e-05 3.105e-05 3.105e-05 0.00% FillPatchSingleLevel 41 2.997e-05 2.997e-05 2.997e-05 0.00% MLMG::mgVcycle_bottom 82 2.989e-05 2.989e-05 2.989e-05 0.00% MLPoisson::define() 11 2.831e-05 2.831e-05 2.831e-05 0.00% Castro::construct_new_gravity() 10 2.491e-05 2.491e-05 2.491e-05 0.00% makeSFC 55 2.474e-05 2.474e-05 2.474e-05 0.00% Amr::writeSmallPlotFile() 1 2.468e-05 2.468e-05 2.468e-05 0.00% Castro::initMFs() 1 2.416e-05 2.416e-05 2.416e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.109e-05 2.109e-05 2.109e-05 0.00% Amr::FinalizeInit() 1 2.036e-05 2.036e-05 2.036e-05 0.00% Castro::construct_old_source() 50 1.893e-05 1.893e-05 1.893e-05 0.00% Amr::defBaseLevel() 1 1.872e-05 1.872e-05 1.872e-05 0.00% Castro::buildMetrics() 1 1.803e-05 1.803e-05 1.803e-05 0.00% Castro::do_new_sources() 10 1.684e-05 1.684e-05 1.684e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.656e-05 1.656e-05 1.656e-05 0.00% MLLinOp::define() 11 1.597e-05 1.597e-05 1.597e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.543e-05 1.543e-05 1.543e-05 0.00% Castro::do_old_sources() 10 1.523e-05 1.523e-05 1.523e-05 0.00% MLPoisson::prepareForSolve() 11 1.517e-05 1.517e-05 1.517e-05 0.00% DistributionMapping::Distribute() 56 1.507e-05 1.507e-05 1.507e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.399e-05 1.399e-05 1.399e-05 0.00% Castro::check_for_nan() 20 1.116e-05 1.116e-05 1.116e-05 0.00% Castro::apply_source_to_state() 20 1.022e-05 1.022e-05 1.022e-05 0.00% Castro::construct_old_gravity() 10 9.621e-06 9.621e-06 9.621e-06 0.00% Gravity::swapTimeLevels() 10 8.961e-06 8.961e-06 8.961e-06 0.00% MLMG::computeMLResidual() 11 8.79e-06 8.79e-06 8.79e-06 0.00% Amr::initSubcycle() 1 8.302e-06 8.302e-06 8.302e-06 0.00% Gravity::actual_multilevel_solve() 1 7.639e-06 7.639e-06 7.639e-06 0.00% Castro::computeNewDt() 9 6.868e-06 6.868e-06 6.868e-06 0.00% MLMG::getGradSolution() 11 5.79e-06 5.79e-06 5.79e-06 0.00% AmrLevel::checkPointPost() 3 5.728e-06 5.728e-06 5.728e-06 0.00% Gravity::set_mass_offset() 11 4.915e-06 4.915e-06 4.915e-06 0.00% Amr::InitializeInit() 1 4.87e-06 4.87e-06 4.87e-06 0.00% Castro::retry_advance_ctu() 10 4.122e-06 4.122e-06 4.122e-06 0.00% MLMG::MLRhsNormInf() 11 3.773e-06 3.773e-06 3.773e-06 0.00% Castro::post_init() 1 3.724e-06 3.724e-06 3.724e-06 0.00% MLMG::MLResNormInf() 11 3.533e-06 3.533e-06 3.533e-06 0.00% Castro::FluxRegCrseInit 10 2.971e-06 2.971e-06 2.971e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.742e-06 2.742e-06 2.742e-06 0.00% Amr::init() 1 2.518e-06 2.518e-06 2.518e-06 0.00% Castro::computeInitialDt() 2 2.51e-06 2.51e-06 2.51e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.917e-06 1.917e-06 1.917e-06 0.00% AmrLevel::checkPointPre() 3 1.889e-06 1.889e-06 1.889e-06 0.00% Castro::FluxRegFineAdd() 10 1.68e-06 1.68e-06 1.68e-06 0.00% Castro::post_regrid() 1 1.121e-06 1.121e-06 1.121e-06 0.00% Amr::initialInit() 1 1.066e-06 1.066e-06 1.066e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.876 0.876 0.876 100.00% Amr::coarseTimeStep() 10 0.7028 0.7028 0.7028 80.22% Amr::timeStep() 10 0.5824 0.5824 0.5824 66.48% Castro::advance() 10 0.5749 0.5749 0.5749 65.62% Castro::subcycle_advance_ctu() 10 0.5629 0.5629 0.5629 64.25% Castro::do_advance_ctu() 10 0.5627 0.5627 0.5627 64.23% Gravity::solve_phi_with_mlmg() 11 0.2774 0.2774 0.2774 31.67% Gravity::actual_solve_with_mlmg() 11 0.2706 0.2706 0.2706 30.89% Castro::construct_new_gravity() 10 0.2537 0.2537 0.2537 28.95% MLMG::solve() 11 0.2506 0.2506 0.2506 28.61% Gravity::solve_for_phi() 10 0.2383 0.2383 0.2383 27.20% MLMG::oneIter() 82 0.2366 0.2366 0.2366 27.01% VisMF::Write(FabArray) 11 0.2355 0.2355 0.2355 26.89% MLMG::mgVcycle() 82 0.2329 0.2329 0.2329 26.59% Castro::construct_ctu_hydro_source() 10 0.2314 0.2314 0.2314 26.41% Amr::checkPoint() 3 0.1754 0.1754 0.1754 20.02% AmrLevel::checkPoint() 3 0.1714 0.1714 0.1714 19.57% StateData::checkPoint() 12 0.1714 0.1714 0.1714 19.56% Amr::init() 1 0.1387 0.1387 0.1387 15.83% MLCellLinOp::smooth() 1640 0.1159 0.1159 0.1159 13.23% MLCellLinOp::applyBC() 4433 0.1089 0.1089 0.1089 12.43% MLMG::mgVcycle_bottom 82 0.07096 0.07096 0.07096 8.10% MLMG::actualBottomSolve() 82 0.07093 0.07093 0.07093 8.10% MLCGSolver::bicgstab 82 0.07025 0.07025 0.07025 8.02% Amr::writePlotFile() 2 0.0672 0.0672 0.0672 7.67% Castro::clean_state() 62 0.04709 0.04709 0.04709 5.37% Amr::initialInit() 1 0.04679 0.04679 0.04679 5.34% Amr::FinalizeInit() 1 0.04275 0.04275 0.04275 4.88% Castro::post_init() 1 0.04142 0.04142 0.04142 4.73% FillPatchIterator::Initialize 41 0.04128 0.04128 0.04128 4.71% FillPatchSingleLevel 41 0.03976 0.03976 0.03976 4.54% Gravity::multilevel_solve_for_new_phi() 1 0.03955 0.03955 0.03955 4.52% Gravity::actual_multilevel_solve() 1 0.03954 0.03954 0.03954 4.51% StateDataPhysBCFunct::() 41 0.03569 0.03569 0.03569 4.07% MLCellLinOp::apply() 1142 0.03555 0.03555 0.03555 4.06% MLMG::mgVcycle_down::0 82 0.03429 0.03429 0.03429 3.91% FabArray::FillBoundary() 4023 0.03401 0.03401 0.03401 3.88% FillBoundary_nowait() 4023 0.0332 0.0332 0.0332 3.79% MLPoisson::Fsmooth() 3280 0.03145 0.03145 0.03145 3.59% MLMG::mgVcycle_up::0 82 0.02598 0.02598 0.02598 2.97% StateData::FillBoundary(geom) 328 0.02428 0.02428 0.02428 2.77% MLCellLinOp::correctionResidual() 492 0.02189 0.02189 0.02189 2.50% Castro::initialize_do_advance() 10 0.0201 0.0201 0.0201 2.29% amrex::Dot() 1114 0.01979 0.01979 0.01979 2.26% Castro::computeTemp() 63 0.01962 0.01962 0.01962 2.24% MLMG:computeResOfCorrection() 410 0.01934 0.01934 0.01934 2.21% Gravity::get_new_grav_vector() 11 0.01694 0.01694 0.01694 1.93% MLPoisson::define() 11 0.0158 0.0158 0.0158 1.80% MLMG::mgVcycle_down::1 82 0.01535 0.01535 0.01535 1.75% Castro::normalize_species() 62 0.01509 0.01509 0.01509 1.72% Castro::construct_old_gravity() 10 0.01468 0.01468 0.01468 1.68% Gravity::get_old_grav_vector() 10 0.01467 0.01467 0.01467 1.67% amrex::Copy() 1029 0.01452 0.01452 0.01452 1.66% MLMG::mgVcycle_down::2 82 0.01431 0.01431 0.01431 1.63% FabArray::ParallelCopy() 861 0.01404 0.01404 0.01404 1.60% MLMG::mgVcycle_down::3 82 0.01397 0.01397 0.01397 1.59% FabArray::norminf() 743 0.01392 0.01392 0.01392 1.59% MLMG::mgVcycle_down::4 82 0.01383 0.01383 0.01383 1.58% FabArray::ParallelCopy_nowait() 861 0.0138 0.0138 0.0138 1.58% FabArray::setVal() 1144 0.01278 0.01278 0.01278 1.46% Castro::do_new_sources() 10 0.01224 0.01224 0.01224 1.40% MLCGSolver::ParallelAllReduce 1514 0.01185 0.01185 0.01185 1.35% Castro::enforce_min_density() 62 0.01179 0.01179 0.01179 1.35% MLMG::addInterpCorrection() 410 0.01145 0.01145 0.01145 1.31% Castro::initialize_advance() 10 0.01134 0.01134 0.01134 1.29% Castro::expand_state() 10 0.0113 0.0113 0.0113 1.29% MLMG::mgVcycle_up::1 82 0.01121 0.01121 0.01121 1.28% MLMG::mgVcycle_up::4 82 0.0111 0.0111 0.0111 1.27% MLMG::mgVcycle_up::2 82 0.0109 0.0109 0.0109 1.24% Castro::do_old_sources() 10 0.01087 0.01087 0.01087 1.24% amrex::average_down 410 0.01083 0.01083 0.01083 1.24% MLMG::mgVcycle_up::3 82 0.01065 0.01065 0.01065 1.22% MLCellLinOp::defineAuxData() 11 0.01064 0.01064 0.01064 1.21% MLPoisson::Fapply() 1142 0.01008 0.01008 0.01008 1.15% FabArray::Saxpy() 813 0.007933 0.007933 0.007933 0.91% FabArray::Xpay() 821 0.007819 0.007819 0.007819 0.89% Castro::post_timestep() 10 0.00735 0.00735 0.00735 0.84% MLCellLinOp::solutionResidual() 93 0.007064 0.007064 0.007064 0.81% Gravity::fill_multipole_BCs() 11 0.006548 0.006548 0.006548 0.75% MLMG::computeResidual() 82 0.00609 0.00609 0.00609 0.70% Castro::reset_internal_energy(MultiFab) 63 0.005739 0.005739 0.005739 0.66% Castro::estTimeStep() 21 0.005357 0.005357 0.005357 0.61% MLCellLinOp::defineBC() 11 0.004678 0.004678 0.004678 0.53% MLMG::prepareForSolve() 11 0.004527 0.004527 0.004527 0.52% BndryData::define() 11 0.004467 0.004467 0.004467 0.51% FabArray::LinComb() 557 0.004373 0.004373 0.004373 0.50% amrex::Add() 164 0.004368 0.004368 0.004368 0.50% Amr::InitializeInit() 1 0.004039 0.004039 0.004039 0.46% Amr::defBaseLevel() 1 0.004034 0.004034 0.004034 0.46% Castro::initData() 1 0.00353 0.00353 0.00353 0.40% Castro::construct_new_source() 50 0.003191 0.003191 0.003191 0.36% Castro::construct_new_gravity_source() 10 0.003135 0.003135 0.003135 0.36% Castro::construct_old_source() 50 0.002585 0.002585 0.002585 0.30% Castro::construct_old_gravity_source() 10 0.002566 0.002566 0.002566 0.29% Castro::computeNewDt() 9 0.002367 0.002367 0.002367 0.27% MLMG::ResNormInf() 93 0.002086 0.002086 0.002086 0.24% Castro::apply_source_to_state() 20 0.001816 0.001816 0.001816 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001639 0.001639 0.001639 0.19% Castro::reset_internal_energy(Fab) 504 0.001449 0.001449 0.001449 0.17% FabArrayBase::getCPC() 1323 0.001419 0.001419 0.001419 0.16% MLMG::getGradSolution() 11 0.001391 0.001391 0.001391 0.16% MLCellLinOp::compGrad() 11 0.001385 0.001385 0.001385 0.16% MLCellLinOp::setLevelBC() 11 0.001356 0.001356 0.001356 0.15% FabArray::mult() 43 0.001312 0.001312 0.001312 0.15% FabArray::setDomainBndry() 41 0.001287 0.001287 0.001287 0.15% Castro::enforce_speed_limit() 62 0.001239 0.001239 0.001239 0.14% Castro::check_for_nan() 20 0.00121 0.00121 0.00121 0.14% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.14% MLPoisson::prepareForSolve() 11 0.001106 0.001106 0.001106 0.13% Castro::post_regrid() 1 0.0011 0.0011 0.0011 0.13% MLCellLinOp::prepareForSolve() 11 0.001091 0.001091 0.001091 0.12% MLMG::computeMLResidual() 11 0.001015 0.001015 0.001015 0.12% Castro::computeInitialDt() 2 0.0008563 0.0008563 0.0008563 0.10% Gravity::update_max_rhs() 11 0.0008152 0.0008152 0.0008152 0.09% FabArrayBase::getFB() 4023 0.0006832 0.0006832 0.0006832 0.08% FabArrayBase::CPC::define() 454 0.0006707 0.0006707 0.0006707 0.08% Castro::finalize_advance() 10 0.0005718 0.0005718 0.0005718 0.07% Amr::InitAmr() 1 0.0004634 0.0004634 0.0004634 0.05% MLLinOp::define() 11 0.0004494 0.0004494 0.0004494 0.05% Gravity::swapTimeLevels() 10 0.0004425 0.0004425 0.0004425 0.05% MLLinOp::defineGrids() 11 0.0004335 0.0004335 0.0004335 0.05% Castro::Castro() 1 0.0004306 0.0004306 0.0004306 0.05% MLMG::MLResNormInf() 11 0.0002827 0.0002827 0.0002827 0.03% MultiFab::max() 11 0.0002552 0.0002552 0.0002552 0.03% MLMG::MLRhsNormInf() 11 0.0002166 0.0002166 0.0002166 0.02% Castro::create_source_corrector() 10 0.0001758 0.0001758 0.0001758 0.02% Castro::buildMetrics() 1 0.0001642 0.0001642 0.0001642 0.02% FabArrayBase::FB::FB() 56 8.791e-05 8.791e-05 8.791e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.251e-05 5.251e-05 5.251e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.021e-05 5.021e-05 5.021e-05 0.01% Castro::swap_state_time_levels() 10 3.859e-05 3.859e-05 3.859e-05 0.00% makeSFC 55 3.852e-05 3.852e-05 3.852e-05 0.00% Castro::finalize_do_advance() 10 3.718e-05 3.718e-05 3.718e-05 0.00% StateData::define() 4 3.478e-05 3.478e-05 3.478e-05 0.00% Castro::enforce_consistent_e() 1 3.211e-05 3.211e-05 3.211e-05 0.00% Amr::writeSmallPlotFile() 1 2.468e-05 2.468e-05 2.468e-05 0.00% Castro::initMFs() 1 2.416e-05 2.416e-05 2.416e-05 0.00% DistributionMapping::Distribute() 56 1.507e-05 1.507e-05 1.507e-05 0.00% Amr::initSubcycle() 1 8.302e-06 8.302e-06 8.302e-06 0.00% AmrLevel::checkPointPost() 3 5.728e-06 5.728e-06 5.728e-06 0.00% Gravity::set_mass_offset() 11 4.915e-06 4.915e-06 4.915e-06 0.00% Castro::retry_advance_ctu() 10 4.122e-06 4.122e-06 4.122e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.029e-06 4.029e-06 4.029e-06 0.00% Castro::FluxRegCrseInit 10 2.971e-06 2.971e-06 2.971e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.917e-06 1.917e-06 1.917e-06 0.00% AmrLevel::checkPointPre() 3 1.889e-06 1.889e-06 1.889e-06 0.00% Castro::FluxRegFineAdd() 10 1.68e-06 1.68e-06 1.68e-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 93 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 124 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1010 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2156 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3520 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1776 B 2048 KiB Gravity::solve_for_phi() 80 80 556 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 2931 B 480 KiB VisMF::Write(FabArray) 656 656 3382 B 320 KiB Castro::normalize_species() 62 62 5608 B 320 KiB amrex::average_down 1067 1067 1244 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1134 B 257 KiB amrex::Dot() 1360 1360 3333 B 160 KiB FabArray::norminf() 907 907 2354 B 160 KiB Castro::do_advance_ctu() 10 10 471 B 160 KiB MultiFab::max() 11 11 45 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3443 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 327 B 9648 B MLCellLinOp::applyBC() 8866 8866 221 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3851 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2752 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 116 B 1472 B MLCellLinOp::defineBC() 66 66 362 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 625 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 50 KiB 8192 KiB VisMF::Write(FabArray) 744 744 619 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3443 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 327 B 9648 B MLCellLinOp::applyBC() 4433 4433 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3851 B 6144 B Gravity::get_new_grav_vector() 3 3 2908 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 2848 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 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 293 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-20-g084165c236ab) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-20-g084165c236ab) initialized Starting run at 09:11:24 UTC on 2023-05-22. Successfully read inputs file ... Castro git describe: 23.05-25-g99ae92958 AMReX git describe: 23.05-20-g084165c23 Microphysics git describe: 23.05-10-g10fb84d2 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.4687284 Restart time = 0.045734225 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.048011157 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.045468105 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.04953183 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.054442566 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.067051013 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032403524 seconds Ending run at 09:11:24 UTC on 2023-05-22. Run time = 0.34360077 Run time without initialization = 0.297301036 Average number of zones advanced per microsecond: 4.409 Average number of zones advanced per microsecond per rank: 4.409 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3436 ... 0.3436 ... 0.3436 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0891 0.0891 0.0891 25.92% VisMF::Read() 3 0.03952 0.03952 0.03952 11.50% MLCellLinOp::applyBC() 1946 0.03233 0.03233 0.03233 9.41% VisMF::Write(FabArray) 1 0.03089 0.03089 0.03089 8.99% MLPoisson::Fsmooth() 1440 0.01356 0.01356 0.01356 3.95% FillBoundary_nowait() 1766 0.01284 0.01284 0.01284 3.74% StateData::FillBoundary(geom) 160 0.01119 0.01119 0.01119 3.26% amrex::Dot() 484 0.008466 0.008466 0.008466 2.46% amrex::Copy() 463 0.006804 0.006804 0.006804 1.98% FabArray::setVal() 537 0.006054 0.006054 0.006054 1.76% FabArray::norminf() 326 0.005988 0.005988 0.005988 1.74% FabArray::ParallelCopy_nowait() 380 0.005885 0.005885 0.005885 1.71% Castro::normalize_species() 30 0.005873 0.005873 0.005873 1.71% Castro::enforce_min_density() 30 0.005835 0.005835 0.005835 1.70% Castro::computeTemp() 30 0.005761 0.005761 0.005761 1.68% StateDataPhysBCFunct::() 20 0.005323 0.005323 0.005323 1.55% MLCellLinOp::defineAuxData() 6 0.005033 0.005033 0.005033 1.46% MLPoisson::Fapply() 500 0.004316 0.004316 0.004316 1.26% FabArray::Saxpy() 355 0.003555 0.003555 0.003555 1.03% FabArray::Xpay() 361 0.003401 0.003401 0.003401 0.99% Gravity::fill_multipole_BCs() 6 0.003325 0.003325 0.003325 0.97% Castro::estTimeStep() 10 0.003104 0.003104 0.003104 0.90% MLMG::addInterpCorrection() 180 0.00281 0.00281 0.00281 0.82% Amr::restart() 1 0.002532 0.002532 0.002532 0.74% amrex::average_down 180 0.002503 0.002503 0.002503 0.73% Castro::reset_internal_energy(MultiFab) 30 0.002462 0.002462 0.002462 0.72% BndryData::define() 6 0.001912 0.001912 0.001912 0.56% FabArray::LinComb() 242 0.001858 0.001858 0.001858 0.54% amrex::Add() 72 0.001837 0.001837 0.001837 0.53% Castro::construct_new_gravity_source() 5 0.001581 0.001581 0.001581 0.46% Amr::writePlotFile() 1 0.001345 0.001345 0.001345 0.39% Castro::construct_old_gravity_source() 5 0.001284 0.001284 0.001284 0.37% Castro::do_advance_ctu() 5 0.001139 0.001139 0.001139 0.33% MLCGSolver::bicgstab 36 0.0009644 0.0009644 0.0009644 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008766 0.0008766 0.0008766 0.26% Gravity::actual_solve_with_mlmg() 6 0.0007782 0.0007782 0.0007782 0.23% MLCellLinOp::setLevelBC() 6 0.0007161 0.0007161 0.0007161 0.21% Castro::enforce_speed_limit() 30 0.000678 0.000678 0.000678 0.20% Castro::reset_internal_energy(Fab) 240 0.0006641 0.0006641 0.0006641 0.19% FabArray::mult() 22 0.0006387 0.0006387 0.0006387 0.19% FabArray::setDomainBndry() 20 0.0006243 0.0006243 0.0006243 0.18% MultiFab::contains_nan() 10 0.0005938 0.0005938 0.0005938 0.17% MLCellLinOp::prepareForSolve() 6 0.0005841 0.0005841 0.0005841 0.17% MLCellLinOp::smooth() 720 0.0005069 0.0005069 0.0005069 0.15% MLCellLinOp::compGrad() 6 0.0004888 0.0004888 0.0004888 0.14% MLMG::prepareForSolve() 6 0.0004717 0.0004717 0.0004717 0.14% FabArrayBase::CPC::define() 244 0.000424 0.000424 0.000424 0.12% Amr::InitAmr() 1 0.000373 0.000373 0.000373 0.11% FabArray::FillBoundary() 1766 0.0003592 0.0003592 0.0003592 0.10% FabArrayBase::getCPC() 632 0.0003541 0.0003541 0.0003541 0.10% Gravity::get_old_grav_vector() 5 0.000298 0.000298 0.000298 0.09% Gravity::get_new_grav_vector() 5 0.0002842 0.0002842 0.0002842 0.08% main() 1 0.000264 0.000264 0.000264 0.08% FabArrayBase::getFB() 1766 0.0002493 0.0002493 0.0002493 0.07% MLCellLinOp::apply() 500 0.0002018 0.0002018 0.0002018 0.06% MLLinOp::defineGrids() 6 0.000174 0.000174 0.000174 0.05% Amr::coarseTimeStep() 5 0.0001617 0.0001617 0.0001617 0.05% MLMG::mgVcycle() 36 0.0001548 0.0001548 0.0001548 0.05% MultiFab::max() 6 0.0001337 0.0001337 0.0001337 0.04% MLCGSolver::ParallelAllReduce 659 0.0001222 0.0001222 0.0001222 0.04% FillPatchIterator::Initialize 20 0.0001137 0.0001137 0.0001137 0.03% FabArray::ParallelCopy() 380 0.0001137 0.0001137 0.0001137 0.03% Castro::create_source_corrector() 5 0.0001116 0.0001116 0.0001116 0.03% MLCellLinOp::defineBC() 6 0.0001092 0.0001092 0.0001092 0.03% MLCellLinOp::correctionResidual() 216 9.785e-05 9.785e-05 9.785e-05 0.03% Amr::timeStep() 5 8.418e-05 8.418e-05 8.418e-05 0.02% Castro::subcycle_advance_ctu() 5 8.382e-05 8.382e-05 8.382e-05 0.02% AmrLevel::restart() 1 8.272e-05 8.272e-05 8.272e-05 0.02% StateData::restartDoit() 4 6.934e-05 6.934e-05 6.934e-05 0.02% FabArrayBase::FB::FB() 26 6.299e-05 6.299e-05 6.299e-05 0.02% Gravity::update_max_rhs() 6 6.251e-05 6.251e-05 6.251e-05 0.02% Gravity::solve_for_phi() 5 6.11e-05 6.11e-05 6.11e-05 0.02% MLMG:computeResOfCorrection() 180 4.823e-05 4.823e-05 4.823e-05 0.01% MLMG::actualBottomSolve() 36 4.51e-05 4.51e-05 4.51e-05 0.01% Castro::expand_state() 5 4.13e-05 4.13e-05 4.13e-05 0.01% MLMG::mgVcycle_down::0 36 4.017e-05 4.017e-05 4.017e-05 0.01% MLMG::mgVcycle_down::1 36 3.628e-05 3.628e-05 3.628e-05 0.01% Castro::clean_state() 30 3.566e-05 3.566e-05 3.566e-05 0.01% Castro::initialize_advance() 5 3.45e-05 3.45e-05 3.45e-05 0.01% MLMG::mgVcycle_down::2 36 3.396e-05 3.396e-05 3.396e-05 0.01% MLMG::mgVcycle_down::4 36 3.384e-05 3.384e-05 3.384e-05 0.01% MLMG::solve() 6 3.318e-05 3.318e-05 3.318e-05 0.01% MLMG::mgVcycle_down::3 36 3.272e-05 3.272e-05 3.272e-05 0.01% Castro::finalize_advance() 5 2.878e-05 2.878e-05 2.878e-05 0.01% MLMG::mgVcycle_up::4 36 2.772e-05 2.772e-05 2.772e-05 0.01% Castro::buildMetrics() 1 2.655e-05 2.655e-05 2.655e-05 0.01% Castro::initialize_do_advance() 5 2.647e-05 2.647e-05 2.647e-05 0.01% Castro::initMFs() 1 2.543e-05 2.543e-05 2.543e-05 0.01% Amr::writeSmallPlotFile() 1 2.541e-05 2.541e-05 2.541e-05 0.01% Castro::swap_state_time_levels() 5 2.429e-05 2.429e-05 2.429e-05 0.01% MLMG::oneIter() 36 2.408e-05 2.408e-05 2.408e-05 0.01% MLCellLinOp::solutionResidual() 42 2.298e-05 2.298e-05 2.298e-05 0.01% MLMG::mgVcycle_up::0 36 2.148e-05 2.148e-05 2.148e-05 0.01% MLMG::mgVcycle_up::3 36 2.037e-05 2.037e-05 2.037e-05 0.01% MLMG::mgVcycle_up::2 36 2.024e-05 2.024e-05 2.024e-05 0.01% MLPoisson::define() 6 2.006e-05 2.006e-05 2.006e-05 0.01% Castro::finalize_do_advance() 5 1.93e-05 1.93e-05 1.93e-05 0.01% Castro::post_restart() 1 1.921e-05 1.921e-05 1.921e-05 0.01% MLMG::mgVcycle_up::1 36 1.889e-05 1.889e-05 1.889e-05 0.01% MLMG::ResNormInf() 42 1.715e-05 1.715e-05 1.715e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.571e-05 1.571e-05 1.571e-05 0.00% MLMG::mgVcycle_bottom 36 1.488e-05 1.488e-05 1.488e-05 0.00% FillPatchSingleLevel 20 1.373e-05 1.373e-05 1.373e-05 0.00% Castro::advance() 5 1.346e-05 1.346e-05 1.346e-05 0.00% MLMG::computeResidual() 36 1.334e-05 1.334e-05 1.334e-05 0.00% makeSFC 30 1.252e-05 1.252e-05 1.252e-05 0.00% Castro::construct_new_gravity() 5 1.24e-05 1.24e-05 1.24e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.156e-05 1.156e-05 1.156e-05 0.00% MLPoisson::prepareForSolve() 6 1.111e-05 1.111e-05 1.111e-05 0.00% MLLinOp::define() 6 1.061e-05 1.061e-05 1.061e-05 0.00% Castro::construct_old_source() 25 9.981e-06 9.981e-06 9.981e-06 0.00% Castro::construct_new_source() 25 9.541e-06 9.541e-06 9.541e-06 0.00% Amr::initSubcycle() 1 8.413e-06 8.413e-06 8.413e-06 0.00% DistributionMapping::Distribute() 31 8.27e-06 8.27e-06 8.27e-06 0.00% Castro::do_new_sources() 5 8.131e-06 8.131e-06 8.131e-06 0.00% Castro::do_old_sources() 5 7.928e-06 7.928e-06 7.928e-06 0.00% Gravity::actual_multilevel_solve() 1 7.429e-06 7.429e-06 7.429e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.116e-06 7.116e-06 7.116e-06 0.00% Castro::apply_source_to_state() 10 5.479e-06 5.479e-06 5.479e-06 0.00% Castro::construct_old_gravity() 5 5.394e-06 5.394e-06 5.394e-06 0.00% Castro::check_for_nan() 10 5.382e-06 5.382e-06 5.382e-06 0.00% Castro::post_timestep() 5 4.451e-06 4.451e-06 4.451e-06 0.00% Gravity::swapTimeLevels() 5 4.305e-06 4.305e-06 4.305e-06 0.00% MLMG::computeMLResidual() 6 3.816e-06 3.816e-06 3.816e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.518e-06 3.518e-06 3.518e-06 0.00% Castro::computeNewDt() 5 3.498e-06 3.498e-06 3.498e-06 0.00% MLMG::getGradSolution() 6 3.211e-06 3.211e-06 3.211e-06 0.00% Castro::FluxRegFineAdd() 5 2.377e-06 2.377e-06 2.377e-06 0.00% Gravity::set_mass_offset() 6 2.295e-06 2.295e-06 2.295e-06 0.00% MLMG::MLRhsNormInf() 6 2.116e-06 2.116e-06 2.116e-06 0.00% MLMG::MLResNormInf() 6 2.109e-06 2.109e-06 2.109e-06 0.00% Castro::retry_advance_ctu() 5 1.871e-06 1.871e-06 1.871e-06 0.00% Castro::FluxRegCrseInit 5 1.318e-06 1.318e-06 1.318e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.024e-06 1.024e-06 1.024e-06 0.00% Amr::init() 1 7.88e-07 7.88e-07 7.88e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3436 0.3436 0.3436 100.00% Amr::coarseTimeStep() 5 0.2647 0.2647 0.2647 77.02% Amr::timeStep() 5 0.2622 0.2622 0.2622 76.29% Castro::advance() 5 0.2591 0.2591 0.2591 75.40% Castro::subcycle_advance_ctu() 5 0.2526 0.2526 0.2526 73.51% Castro::do_advance_ctu() 5 0.2525 0.2525 0.2525 73.49% Castro::construct_new_gravity() 5 0.1262 0.1262 0.1262 36.72% Gravity::solve_phi_with_mlmg() 6 0.1218 0.1218 0.1218 35.45% Gravity::solve_for_phi() 5 0.1188 0.1188 0.1188 34.57% Gravity::actual_solve_with_mlmg() 6 0.1182 0.1182 0.1182 34.40% MLMG::solve() 6 0.1074 0.1074 0.1074 31.26% MLMG::oneIter() 36 0.1007 0.1007 0.1007 29.31% MLMG::mgVcycle() 36 0.09917 0.09917 0.09917 28.86% Castro::construct_ctu_hydro_source() 5 0.08906 0.08906 0.08906 25.92% MLCellLinOp::smooth() 720 0.04889 0.04889 0.04889 14.23% MLCellLinOp::applyBC() 1946 0.04584 0.04584 0.04584 13.34% Amr::init() 1 0.04579 0.04579 0.04579 13.33% Amr::restart() 1 0.04579 0.04579 0.04579 13.33% AmrLevel::restart() 1 0.03973 0.03973 0.03973 11.56% StateData::restartDoit() 4 0.03964 0.03964 0.03964 11.54% VisMF::Read() 3 0.03952 0.03952 0.03952 11.50% Amr::writePlotFile() 1 0.03249 0.03249 0.03249 9.45% VisMF::Write(FabArray) 1 0.03089 0.03089 0.03089 8.99% MLMG::mgVcycle_bottom 36 0.03054 0.03054 0.03054 8.89% MLMG::actualBottomSolve() 36 0.03053 0.03053 0.03053 8.88% MLCGSolver::bicgstab 36 0.03022 0.03022 0.03022 8.80% Castro::clean_state() 30 0.02131 0.02131 0.02131 6.20% FillPatchIterator::Initialize 20 0.01931 0.01931 0.01931 5.62% FillPatchSingleLevel 20 0.01857 0.01857 0.01857 5.41% StateDataPhysBCFunct::() 20 0.01652 0.01652 0.01652 4.81% MLCellLinOp::apply() 500 0.01527 0.01527 0.01527 4.45% MLMG::mgVcycle_down::0 36 0.01418 0.01418 0.01418 4.13% MLPoisson::Fsmooth() 1440 0.01356 0.01356 0.01356 3.95% FabArray::FillBoundary() 1766 0.01351 0.01351 0.01351 3.93% FillBoundary_nowait() 1766 0.01315 0.01315 0.01315 3.83% StateData::FillBoundary(geom) 160 0.01119 0.01119 0.01119 3.26% MLMG::mgVcycle_up::0 36 0.01069 0.01069 0.01069 3.11% Castro::initialize_do_advance() 5 0.009972 0.009972 0.009972 2.90% MLCellLinOp::correctionResidual() 216 0.00927 0.00927 0.00927 2.70% Castro::computeTemp() 30 0.008887 0.008887 0.008887 2.59% MLPoisson::define() 6 0.008551 0.008551 0.008551 2.49% amrex::Dot() 484 0.008466 0.008466 0.008466 2.46% MLMG:computeResOfCorrection() 180 0.008154 0.008154 0.008154 2.37% Gravity::get_new_grav_vector() 5 0.00727 0.00727 0.00727 2.12% Castro::construct_old_gravity() 5 0.007144 0.007144 0.007144 2.08% Gravity::get_old_grav_vector() 5 0.007138 0.007138 0.007138 2.08% amrex::Copy() 463 0.006804 0.006804 0.006804 1.98% MLMG::mgVcycle_down::1 36 0.006593 0.006593 0.006593 1.92% FabArray::ParallelCopy() 380 0.006389 0.006389 0.006389 1.86% Castro::do_new_sources() 5 0.006293 0.006293 0.006293 1.83% FabArray::ParallelCopy_nowait() 380 0.006275 0.006275 0.006275 1.83% Castro::initialize_advance() 5 0.0062 0.0062 0.0062 1.80% MLMG::mgVcycle_down::2 36 0.006169 0.006169 0.006169 1.80% FabArray::setVal() 537 0.006054 0.006054 0.006054 1.76% MLMG::mgVcycle_down::3 36 0.006018 0.006018 0.006018 1.75% FabArray::norminf() 326 0.005988 0.005988 0.005988 1.74% MLMG::mgVcycle_down::4 36 0.005951 0.005951 0.005951 1.73% Castro::normalize_species() 30 0.005873 0.005873 0.005873 1.71% Castro::enforce_min_density() 30 0.005835 0.005835 0.005835 1.70% MLCellLinOp::defineAuxData() 6 0.005747 0.005747 0.005747 1.67% Castro::expand_state() 5 0.005644 0.005644 0.005644 1.64% MLCGSolver::ParallelAllReduce 659 0.005107 0.005107 0.005107 1.49% Castro::do_old_sources() 5 0.004967 0.004967 0.004967 1.45% MLMG::addInterpCorrection() 180 0.004967 0.004967 0.004967 1.45% MLMG::mgVcycle_up::1 36 0.004808 0.004808 0.004808 1.40% MLMG::mgVcycle_up::4 36 0.00477 0.00477 0.00477 1.39% amrex::average_down 180 0.004691 0.004691 0.004691 1.37% MLMG::mgVcycle_up::2 36 0.004688 0.004688 0.004688 1.36% MLMG::mgVcycle_up::3 36 0.004605 0.004605 0.004605 1.34% MLPoisson::Fapply() 500 0.004316 0.004316 0.004316 1.26% FabArray::Saxpy() 355 0.003555 0.003555 0.003555 1.03% Gravity::fill_multipole_BCs() 6 0.003472 0.003472 0.003472 1.01% FabArray::Xpay() 361 0.003401 0.003401 0.003401 0.99% Castro::post_restart() 1 0.003361 0.003361 0.003361 0.98% Gravity::multilevel_solve_for_new_phi() 1 0.003253 0.003253 0.003253 0.95% Gravity::actual_multilevel_solve() 1 0.003237 0.003237 0.003237 0.94% MLCellLinOp::solutionResidual() 42 0.003176 0.003176 0.003176 0.92% Castro::reset_internal_energy(MultiFab) 30 0.003126 0.003126 0.003126 0.91% Castro::estTimeStep() 10 0.003104 0.003104 0.003104 0.90% Castro::post_timestep() 5 0.002964 0.002964 0.002964 0.86% MLMG::computeResidual() 36 0.002632 0.002632 0.002632 0.77% MLCellLinOp::defineBC() 6 0.002572 0.002572 0.002572 0.75% BndryData::define() 6 0.002463 0.002463 0.002463 0.72% MLMG::prepareForSolve() 6 0.002437 0.002437 0.002437 0.71% Castro::computeNewDt() 5 0.002337 0.002337 0.002337 0.68% FabArray::LinComb() 242 0.001858 0.001858 0.001858 0.54% amrex::Add() 72 0.001837 0.001837 0.001837 0.53% Castro::construct_new_source() 25 0.001591 0.001591 0.001591 0.46% Castro::construct_new_gravity_source() 5 0.001581 0.001581 0.001581 0.46% Castro::construct_old_source() 25 0.001294 0.001294 0.001294 0.38% Castro::construct_old_gravity_source() 5 0.001284 0.001284 0.001284 0.37% Castro::apply_source_to_state() 10 0.0009193 0.0009193 0.0009193 0.27% MLMG::ResNormInf() 42 0.0009163 0.0009163 0.0009163 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008766 0.0008766 0.0008766 0.26% FabArrayBase::getCPC() 632 0.000778 0.000778 0.000778 0.23% MLMG::getGradSolution() 6 0.0007504 0.0007504 0.0007504 0.22% MLCellLinOp::compGrad() 6 0.0007472 0.0007472 0.0007472 0.22% MLCellLinOp::setLevelBC() 6 0.0007161 0.0007161 0.0007161 0.21% Castro::enforce_speed_limit() 30 0.000678 0.000678 0.000678 0.20% Castro::reset_internal_energy(Fab) 240 0.0006641 0.0006641 0.0006641 0.19% FabArray::mult() 22 0.0006387 0.0006387 0.0006387 0.19% FabArray::setDomainBndry() 20 0.0006243 0.0006243 0.0006243 0.18% Castro::check_for_nan() 10 0.0005991 0.0005991 0.0005991 0.17% MLPoisson::prepareForSolve() 6 0.0005952 0.0005952 0.0005952 0.17% MultiFab::contains_nan() 10 0.0005938 0.0005938 0.0005938 0.17% MLCellLinOp::prepareForSolve() 6 0.0005841 0.0005841 0.0005841 0.17% MLMG::computeMLResidual() 6 0.0005612 0.0005612 0.0005612 0.16% Gravity::update_max_rhs() 6 0.0004373 0.0004373 0.0004373 0.13% FabArrayBase::CPC::define() 244 0.000424 0.000424 0.000424 0.12% Amr::InitAmr() 1 0.0003814 0.0003814 0.0003814 0.11% FabArrayBase::getFB() 1766 0.0003123 0.0003123 0.0003123 0.09% Castro::finalize_advance() 5 0.0002887 0.0002887 0.0002887 0.08% Gravity::swapTimeLevels() 5 0.0002205 0.0002205 0.0002205 0.06% MLLinOp::define() 6 0.0002122 0.0002122 0.0002122 0.06% MLLinOp::defineGrids() 6 0.0002016 0.0002016 0.0002016 0.06% MLMG::MLResNormInf() 6 0.0001499 0.0001499 0.0001499 0.04% Castro::buildMetrics() 1 0.000147 0.000147 0.000147 0.04% MultiFab::max() 6 0.0001337 0.0001337 0.0001337 0.04% MLMG::MLRhsNormInf() 6 0.0001144 0.0001144 0.0001144 0.03% Castro::create_source_corrector() 5 0.0001116 0.0001116 0.0001116 0.03% FabArrayBase::FB::FB() 26 6.299e-05 6.299e-05 6.299e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.659e-05 2.659e-05 2.659e-05 0.01% Castro::initMFs() 1 2.543e-05 2.543e-05 2.543e-05 0.01% Amr::writeSmallPlotFile() 1 2.541e-05 2.541e-05 2.541e-05 0.01% Castro::swap_state_time_levels() 5 2.429e-05 2.429e-05 2.429e-05 0.01% makeSFC 30 1.947e-05 1.947e-05 1.947e-05 0.01% Castro::finalize_do_advance() 5 1.93e-05 1.93e-05 1.93e-05 0.01% Amr::initSubcycle() 1 8.413e-06 8.413e-06 8.413e-06 0.00% DistributionMapping::Distribute() 31 8.27e-06 8.27e-06 8.27e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.836e-06 4.836e-06 4.836e-06 0.00% Castro::FluxRegFineAdd() 5 2.377e-06 2.377e-06 2.377e-06 0.00% Gravity::set_mass_offset() 6 2.295e-06 2.295e-06 2.295e-06 0.00% Castro::retry_advance_ctu() 5 1.871e-06 1.871e-06 1.871e-06 0.00% Castro::FluxRegCrseInit 5 1.318e-06 1.318e-06 1.318e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.024e-06 1.024e-06 1.024e-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 234 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 118 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1242 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2645 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 6626 KiB 14 MiB MLMG::prepareForSolve() 361 361 3839 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 215 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 216 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6621 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2450 B 2048 KiB Gravity::solve_for_phi() 40 40 706 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 353 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 226 KiB 671 KiB Castro::estTimeStep() 10 10 3031 B 480 KiB VisMF::Write(FabArray) 112 112 1398 B 320 KiB Castro::normalize_species() 30 30 5545 B 320 KiB amrex::average_down 469 469 1317 B 257 KiB MLMG::addInterpCorrection() 468 468 1246 B 257 KiB amrex::Dot() 592 592 3633 B 160 KiB FabArray::norminf() 398 398 2578 B 160 KiB Castro::do_advance_ctu() 5 5 506 B 160 KiB MultiFab::max() 6 6 59 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 34 B 20 KiB MLPoisson::Fsmooth() 60 60 3734 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 325 B 9648 B MLCellLinOp::applyBC() 3892 3892 244 B 9344 B amrex::Copy() 56 56 5923 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 51 B 2368 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 127 B 1472 B MLCellLinOp::defineBC() 36 36 396 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1612 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 128 KiB 8192 KiB VisMF::Write(FabArray) 120 120 276 KiB 3584 KiB VisMF::Read() 24 24 222 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3734 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 325 B 9648 B MLCellLinOp::applyBC() 1946 1946 243 B 9328 B amrex::Copy() 56 56 5923 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2607 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 52 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 555 B 1296 B amrex::average_down 37 37 219 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-20-g084165c236ab) finalized