Initializing AMReX (23.11-19-g4b64003c8009)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-19-g4b64003c8009) initialized Starting run at 09:22:14 UTC on 2023-11-28. Successfully read inputs file ... Castro git describe: 23.11-7-gbc5fe8d25 AMReX git describe: 23.11-19-g4b64003c8 Microphysics git describe: 23.11-12-g965a061a 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.050708605 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028491987 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.051679418 [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 at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049999653 [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 at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.076299806 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.086081249 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.067963584 [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.068597739 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.051957355 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.074953824 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.070946996 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.057657466 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.072217623 [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.048641352 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028563212 seconds Ending run at 09:22:15 UTC on 2023-11-28. Run time = 0.937674797 Run time without initialization = 0.806260059 Average number of zones advanced per microsecond: 3.251 Average number of zones advanced per microsecond per rank: 3.251 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9377 ... 0.9377 ... 0.9377 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2828 0.2828 0.2828 30.16% VisMF::Write(FabArray) 11 0.1987 0.1987 0.1987 21.19% MLCellLinOp::applyBC() 4379 0.07905 0.07905 0.07905 8.43% MLPoisson::Fsmooth() 3240 0.03298 0.03298 0.03298 3.52% FillBoundary_nowait() 3974 0.0325 0.0325 0.0325 3.47% StateData::FillBoundary(geom) 328 0.02671 0.02671 0.02671 2.85% Amr::checkPoint() 3 0.02346 0.02346 0.02346 2.50% amrex::Dot() 1100 0.02077 0.02077 0.02077 2.22% Castro::normalize_species() 62 0.01975 0.01975 0.01975 2.11% FabArray::norminf() 1048 0.01936 0.01936 0.01936 2.06% Castro::computeTemp() 63 0.01465 0.01465 0.01465 1.56% FabArray::setVal() 1135 0.01348 0.01348 0.01348 1.44% FabArray::ParallelCopy_nowait() 851 0.01338 0.01338 0.01338 1.43% FabArray::Saxpy() 1353 0.01276 0.01276 0.01276 1.36% Castro::enforce_min_density() 62 0.01116 0.01116 0.01116 1.19% StateDataPhysBCFunct::() 41 0.01086 0.01086 0.01086 1.16% amrex::Copy() 469 0.01069 0.01069 0.01069 1.14% MLPoisson::Fapply() 1128 0.01064 0.01064 0.01064 1.13% MLCellLinOp::defineAuxData() 11 0.01021 0.01021 0.01021 1.09% Gravity::fill_multipole_BCs() 11 0.009098 0.009098 0.009098 0.97% FabArray::Xpay() 811 0.008295 0.008295 0.008295 0.88% MLMG::addInterpCorrection() 405 0.006865 0.006865 0.006865 0.73% amrex::average_down 405 0.006114 0.006114 0.006114 0.65% Castro::estTimeStep() 21 0.005814 0.005814 0.005814 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005487 0.005487 0.005487 0.59% amrex::Add() 162 0.004383 0.004383 0.004383 0.47% BndryData::define() 11 0.003846 0.003846 0.003846 0.41% Castro::enforce_speed_limit() 62 0.003432 0.003432 0.003432 0.37% Castro::construct_new_gravity_source() 10 0.003362 0.003362 0.003362 0.36% Castro::construct_old_gravity_source() 10 0.002864 0.002864 0.002864 0.31% Amr::writePlotFile() 2 0.00231 0.00231 0.00231 0.25% check_for_negative_density() 10 0.001842 0.001842 0.001842 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001771 0.001771 0.001771 0.19% MLCGSolver::bicgstab 81 0.001756 0.001756 0.001756 0.19% Castro::reset_internal_energy(Fab) 504 0.001638 0.001638 0.001638 0.17% Gravity::actual_solve_with_mlmg() 11 0.001565 0.001565 0.001565 0.17% MLCellLinOp::setLevelBC() 11 0.001537 0.001537 0.001537 0.16% Castro::initData() 1 0.001494 0.001494 0.001494 0.16% FabArray::mult() 43 0.001352 0.001352 0.001352 0.14% FabArray::setDomainBndry() 41 0.001347 0.001347 0.001347 0.14% MLCellLinOp::prepareForSolve() 11 0.001331 0.001331 0.001331 0.14% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.14% MLCellLinOp::smooth() 1620 0.001078 0.001078 0.001078 0.11% MLCellLinOp::compGrad() 11 0.001071 0.001071 0.001071 0.11% MLMG::prepareForSolve() 11 0.0009672 0.0009672 0.0009672 0.10% FabArray::FillBoundary() 3974 0.0008931 0.0008931 0.0008931 0.10% FabArrayBase::getCPC() 1313 0.0007751 0.0007751 0.0007751 0.08% FabArrayBase::CPC::define() 454 0.0006531 0.0006531 0.0006531 0.07% FabArrayBase::getFB() 3974 0.0006494 0.0006494 0.0006494 0.07% Gravity::get_new_grav_vector() 11 0.0005982 0.0005982 0.0005982 0.06% Amr::InitAmr() 1 0.0005183 0.0005183 0.0005183 0.06% Gravity::get_old_grav_vector() 10 0.0004751 0.0004751 0.0004751 0.05% MLCellLinOp::apply() 1128 0.0004475 0.0004475 0.0004475 0.05% Amr::coarseTimeStep() 10 0.000397 0.000397 0.000397 0.04% AmrLevel::FillPatch() 41 0.0003713 0.0003713 0.0003713 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003365 0.0003365 0.0003365 0.04% MultiFab::max() 11 0.0003238 0.0003238 0.0003238 0.03% main() 1 0.0003217 0.0003217 0.0003217 0.03% MLCellLinOp::defineBC() 11 0.0002615 0.0002615 0.0002615 0.03% FabArray::ParallelCopy() 851 0.000248 0.000248 0.000248 0.03% MLCellLinOp::correctionResidual() 486 0.0002314 0.0002314 0.0002314 0.02% FillPatchIterator::Initialize 41 0.0002187 0.0002187 0.0002187 0.02% MLMG::mgVcycle() 81 0.0001858 0.0001858 0.0001858 0.02% Castro::subcycle_advance_ctu() 10 0.0001852 0.0001852 0.0001852 0.02% Gravity::solve_for_phi() 10 0.0001611 0.0001611 0.0001611 0.02% Amr::timeStep() 10 0.0001549 0.0001549 0.0001549 0.02% Castro::create_source_corrector() 10 0.000154 0.000154 0.000154 0.02% MLLinOp::defineGrids() 11 0.0001506 0.0001506 0.0001506 0.02% StateData::checkPoint() 12 0.0001374 0.0001374 0.0001374 0.01% Gravity::update_max_rhs() 11 0.0001293 0.0001293 0.0001293 0.01% MLMG:computeResOfCorrection() 405 0.0001187 0.0001187 0.0001187 0.01% Castro::advance() 10 0.0001153 0.0001153 0.0001153 0.01% MLMG::mgVcycle_down::0 81 9.652e-05 9.652e-05 9.652e-05 0.01% FabArrayBase::FB::FB() 56 9.417e-05 9.417e-05 9.417e-05 0.01% Castro::Castro() 1 9.023e-05 9.023e-05 9.023e-05 0.01% MLMG::actualBottomSolve() 81 8.864e-05 8.864e-05 8.864e-05 0.01% MLMG::mgVcycle_down::2 81 8.082e-05 8.082e-05 8.082e-05 0.01% MLMG::mgVcycle_down::1 81 7.942e-05 7.942e-05 7.942e-05 0.01% AmrLevel::checkPoint() 3 7.851e-05 7.851e-05 7.851e-05 0.01% Castro::construct_new_source() 50 7.779e-05 7.779e-05 7.779e-05 0.01% Castro::clean_state() 62 7.747e-05 7.747e-05 7.747e-05 0.01% Castro::enforce_consistent_e() 1 7.732e-05 7.732e-05 7.732e-05 0.01% Castro::initialize_advance() 10 7.478e-05 7.478e-05 7.478e-05 0.01% MLMG::mgVcycle_down::4 81 7.401e-05 7.401e-05 7.401e-05 0.01% MLMG::solve() 11 7.187e-05 7.187e-05 7.187e-05 0.01% MLMG::mgVcycle_down::3 81 7.107e-05 7.107e-05 7.107e-05 0.01% Castro::finalize_advance() 10 6.411e-05 6.411e-05 6.411e-05 0.01% MLMG::mgVcycle_up::4 81 6.299e-05 6.299e-05 6.299e-05 0.01% Castro::initialize_do_advance() 10 6.028e-05 6.028e-05 6.028e-05 0.01% MLMG::mgVcycle_up::0 81 5.445e-05 5.445e-05 5.445e-05 0.01% MLMG::oneIter() 81 5.311e-05 5.311e-05 5.311e-05 0.01% MLCellLinOp::solutionResidual() 92 5.228e-05 5.228e-05 5.228e-05 0.01% MLMG::mgVcycle_up::1 81 5.216e-05 5.216e-05 5.216e-05 0.01% MLMG::mgVcycle_up::2 81 5.18e-05 5.18e-05 5.18e-05 0.01% MLMG::mgVcycle_up::3 81 5.162e-05 5.162e-05 5.162e-05 0.01% Castro::do_advance_ctu() 10 4.731e-05 4.731e-05 4.731e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.682e-05 4.682e-05 4.682e-05 0.00% StateData::define() 4 4.449e-05 4.449e-05 4.449e-05 0.00% Castro::do_new_sources() 10 4.427e-05 4.427e-05 4.427e-05 0.00% Castro::finalize_do_advance() 10 4.397e-05 4.397e-05 4.397e-05 0.00% Castro::swap_state_time_levels() 10 3.893e-05 3.893e-05 3.893e-05 0.00% MLMG::mgVcycle_bottom 81 3.686e-05 3.686e-05 3.686e-05 0.00% MLMG::ResNormInf() 92 3.575e-05 3.575e-05 3.575e-05 0.00% MLMG::computeResidual() 81 3.455e-05 3.455e-05 3.455e-05 0.00% FillPatchSingleLevel 41 3.428e-05 3.428e-05 3.428e-05 0.00% Castro::initMFs() 1 3.246e-05 3.246e-05 3.246e-05 0.00% Amr::writeSmallPlotFile() 1 3.22e-05 3.22e-05 3.22e-05 0.00% Castro::construct_new_gravity() 10 2.727e-05 2.727e-05 2.727e-05 0.00% Castro::buildMetrics() 1 2.588e-05 2.588e-05 2.588e-05 0.00% Amr::defBaseLevel() 1 2.496e-05 2.496e-05 2.496e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.463e-05 2.463e-05 2.463e-05 0.00% makeSFC 55 2.332e-05 2.332e-05 2.332e-05 0.00% MLPoisson::define() 11 2.199e-05 2.199e-05 2.199e-05 0.00% Amr::FinalizeInit() 1 2.046e-05 2.046e-05 2.046e-05 0.00% Castro::do_old_sources() 10 2.044e-05 2.044e-05 2.044e-05 0.00% Castro::construct_old_source() 50 1.967e-05 1.967e-05 1.967e-05 0.00% Castro::post_timestep() 10 1.866e-05 1.866e-05 1.866e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.851e-05 1.851e-05 1.851e-05 0.00% MLLinOp::define() 11 1.784e-05 1.784e-05 1.784e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.762e-05 1.762e-05 1.762e-05 0.00% DistributionMapping::Distribute() 56 1.501e-05 1.501e-05 1.501e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.437e-05 1.437e-05 1.437e-05 0.00% MLMG::computeMLResidual() 11 1.419e-05 1.419e-05 1.419e-05 0.00% MLPoisson::prepareForSolve() 11 1.402e-05 1.402e-05 1.402e-05 0.00% Castro::check_for_nan() 20 1.25e-05 1.25e-05 1.25e-05 0.00% Castro::apply_source_to_state() 20 1.117e-05 1.117e-05 1.117e-05 0.00% Castro::post_init() 1 1.072e-05 1.072e-05 1.072e-05 0.00% Castro::construct_old_gravity() 10 1.051e-05 1.051e-05 1.051e-05 0.00% Gravity::swapTimeLevels() 10 9.054e-06 9.054e-06 9.054e-06 0.00% Amr::initSubcycle() 1 8.903e-06 8.903e-06 8.903e-06 0.00% Gravity::actual_multilevel_solve() 1 8.066e-06 8.066e-06 8.066e-06 0.00% Castro::computeNewDt() 9 6.798e-06 6.798e-06 6.798e-06 0.00% MLMG::getGradSolution() 11 5.931e-06 5.931e-06 5.931e-06 0.00% Castro::expand_state() 10 5.472e-06 5.472e-06 5.472e-06 0.00% AmrLevel::checkPointPost() 3 5.271e-06 5.271e-06 5.271e-06 0.00% Amr::InitializeInit() 1 4.717e-06 4.717e-06 4.717e-06 0.00% Gravity::set_mass_offset() 11 4.471e-06 4.471e-06 4.471e-06 0.00% Castro::retry_advance_ctu() 10 4.378e-06 4.378e-06 4.378e-06 0.00% MLMG::MLRhsNormInf() 11 3.836e-06 3.836e-06 3.836e-06 0.00% MLMG::MLResNormInf() 11 3.748e-06 3.748e-06 3.748e-06 0.00% Castro::FluxRegCrseInit 10 3.183e-06 3.183e-06 3.183e-06 0.00% Castro::computeInitialDt() 2 3.012e-06 3.012e-06 3.012e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.891e-06 2.891e-06 2.891e-06 0.00% AmrLevel::checkPointPre() 3 2.881e-06 2.881e-06 2.881e-06 0.00% Amr::init() 1 2.683e-06 2.683e-06 2.683e-06 0.00% Castro::FluxRegFineAdd() 10 2.229e-06 2.229e-06 2.229e-06 0.00% MLLinOp::makeSubCommunicator() 11 2e-06 2e-06 2e-06 0.00% Castro::post_regrid() 1 1.269e-06 1.269e-06 1.269e-06 0.00% Amr::initialInit() 1 1.125e-06 1.125e-06 1.125e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9377 0.9377 0.9377 100.00% Amr::coarseTimeStep() 10 0.7775 0.7775 0.7775 82.91% Amr::timeStep() 10 0.6565 0.6565 0.6565 70.01% Castro::advance() 10 0.6456 0.6456 0.6456 68.85% Castro::subcycle_advance_ctu() 10 0.6314 0.6314 0.6314 67.34% Castro::do_advance_ctu() 10 0.6312 0.6312 0.6312 67.32% Castro::construct_ctu_hydro_source() 10 0.2932 0.2932 0.2932 31.27% Gravity::solve_phi_with_mlmg() 11 0.2932 0.2932 0.2932 31.27% Gravity::actual_solve_with_mlmg() 11 0.2837 0.2837 0.2837 30.25% Castro::construct_new_gravity() 10 0.2673 0.2673 0.2673 28.51% MLMG::solve() 11 0.262 0.262 0.262 27.95% Gravity::solve_for_phi() 10 0.2512 0.2512 0.2512 26.79% MLMG::oneIter() 81 0.247 0.247 0.247 26.34% MLMG::mgVcycle() 81 0.2434 0.2434 0.2434 25.95% VisMF::Write(FabArray) 11 0.1987 0.1987 0.1987 21.19% Amr::checkPoint() 3 0.1681 0.1681 0.1681 17.93% AmrLevel::checkPoint() 3 0.1446 0.1446 0.1446 15.42% StateData::checkPoint() 12 0.1445 0.1445 0.1445 15.41% Amr::init() 1 0.1307 0.1307 0.1307 13.94% MLCellLinOp::smooth() 1620 0.1203 0.1203 0.1203 12.83% MLCellLinOp::applyBC() 4379 0.1132 0.1132 0.1132 12.07% MLMG::mgVcycle_bottom 81 0.07492 0.07492 0.07492 7.99% MLMG::actualBottomSolve() 81 0.07489 0.07489 0.07489 7.99% MLCGSolver::bicgstab 81 0.07417 0.07417 0.07417 7.91% Amr::writePlotFile() 2 0.05717 0.05717 0.05717 6.10% Castro::clean_state() 62 0.05504 0.05504 0.05504 5.87% Amr::initialInit() 1 0.0514 0.0514 0.0514 5.48% AmrLevel::FillPatch() 41 0.04745 0.04745 0.04745 5.06% Amr::FinalizeInit() 1 0.04609 0.04609 0.04609 4.92% Castro::post_init() 1 0.04489 0.04489 0.04489 4.79% FillPatchIterator::Initialize 41 0.04322 0.04322 0.04322 4.61% Gravity::multilevel_solve_for_new_phi() 1 0.04253 0.04253 0.04253 4.54% Gravity::actual_multilevel_solve() 1 0.04252 0.04252 0.04252 4.53% FillPatchIterator::FillFromLevel0() 41 0.04166 0.04166 0.04166 4.44% FillPatchSingleLevel 41 0.04161 0.04161 0.04161 4.44% StateDataPhysBCFunct::() 41 0.03757 0.03757 0.03757 4.01% MLCellLinOp::apply() 1128 0.03754 0.03754 0.03754 4.00% MLMG::mgVcycle_down::0 81 0.03505 0.03505 0.03505 3.74% FabArray::FillBoundary() 3974 0.03414 0.03414 0.03414 3.64% FillBoundary_nowait() 3974 0.03325 0.03325 0.03325 3.55% MLPoisson::Fsmooth() 3240 0.03298 0.03298 0.03298 3.52% StateData::FillBoundary(geom) 328 0.02671 0.02671 0.02671 2.85% MLMG::mgVcycle_up::0 81 0.02631 0.02631 0.02631 2.81% MLCellLinOp::correctionResidual() 486 0.02294 0.02294 0.02294 2.45% Castro::computeTemp() 63 0.02177 0.02177 0.02177 2.32% Castro::initialize_do_advance() 10 0.02156 0.02156 0.02156 2.30% amrex::Dot() 1100 0.02077 0.02077 0.02077 2.22% MLMG:computeResOfCorrection() 405 0.02021 0.02021 0.02021 2.15% Castro::normalize_species() 62 0.01975 0.01975 0.01975 2.11% FabArray::norminf() 1048 0.01936 0.01936 0.01936 2.06% Castro::do_old_sources() 10 0.01923 0.01923 0.01923 2.05% Gravity::get_new_grav_vector() 11 0.01803 0.01803 0.01803 1.92% MLPoisson::define() 11 0.01697 0.01697 0.01697 1.81% MLMG::mgVcycle_down::1 81 0.01626 0.01626 0.01626 1.73% MLMG::mgVcycle_down::2 81 0.01512 0.01512 0.01512 1.61% Castro::construct_old_gravity() 10 0.01505 0.01505 0.01505 1.61% Gravity::get_old_grav_vector() 10 0.01504 0.01504 0.01504 1.60% MLMG::mgVcycle_down::3 81 0.0147 0.0147 0.0147 1.57% MLMG::mgVcycle_down::4 81 0.01455 0.01455 0.01455 1.55% FabArray::ParallelCopy() 851 0.01441 0.01441 0.01441 1.54% FabArray::ParallelCopy_nowait() 851 0.01417 0.01417 0.01417 1.51% Castro::initialize_advance() 10 0.0135 0.0135 0.0135 1.44% FabArray::setVal() 1135 0.01348 0.01348 0.01348 1.44% FabArray::Saxpy() 1353 0.01276 0.01276 0.01276 1.36% MLCGSolver::ParallelAllReduce 1809 0.0125 0.0125 0.0125 1.33% MLMG::addInterpCorrection() 405 0.01205 0.01205 0.01205 1.29% MLMG::mgVcycle_up::1 81 0.01178 0.01178 0.01178 1.26% Castro::do_new_sources() 10 0.01169 0.01169 0.01169 1.25% MLMG::mgVcycle_up::4 81 0.01166 0.01166 0.01166 1.24% MLCellLinOp::defineAuxData() 11 0.01162 0.01162 0.01162 1.24% MLMG::mgVcycle_up::2 81 0.0115 0.0115 0.0115 1.23% Castro::expand_state() 10 0.01149 0.01149 0.01149 1.23% amrex::average_down 405 0.01134 0.01134 0.01134 1.21% MLMG::mgVcycle_up::3 81 0.01132 0.01132 0.01132 1.21% Castro::enforce_min_density() 62 0.01116 0.01116 0.01116 1.19% amrex::Copy() 469 0.01069 0.01069 0.01069 1.14% Castro::post_timestep() 10 0.01066 0.01066 0.01066 1.14% MLPoisson::Fapply() 1128 0.01064 0.01064 0.01064 1.13% Gravity::fill_multipole_BCs() 11 0.009325 0.009325 0.009325 0.99% FabArray::Xpay() 811 0.008295 0.008295 0.008295 0.88% MLCellLinOp::solutionResidual() 92 0.007511 0.007511 0.007511 0.80% Castro::reset_internal_energy(MultiFab) 63 0.007125 0.007125 0.007125 0.76% MLMG::computeResidual() 81 0.006226 0.006226 0.006226 0.66% Castro::estTimeStep() 21 0.005814 0.005814 0.005814 0.62% Amr::InitializeInit() 1 0.00531 0.00531 0.00531 0.57% Amr::defBaseLevel() 1 0.005305 0.005305 0.005305 0.57% MLCellLinOp::defineBC() 11 0.005109 0.005109 0.005109 0.54% MLMG::prepareForSolve() 11 0.005066 0.005066 0.005066 0.54% BndryData::define() 11 0.004847 0.004847 0.004847 0.52% Castro::initData() 1 0.004639 0.004639 0.004639 0.49% amrex::Add() 162 0.004383 0.004383 0.004383 0.47% Castro::construct_new_source() 50 0.00344 0.00344 0.00344 0.37% Castro::enforce_speed_limit() 62 0.003432 0.003432 0.003432 0.37% Castro::construct_new_gravity_source() 10 0.003362 0.003362 0.003362 0.36% Castro::construct_old_source() 50 0.002883 0.002883 0.002883 0.31% Castro::construct_old_gravity_source() 10 0.002864 0.002864 0.002864 0.31% Castro::computeNewDt() 9 0.002496 0.002496 0.002496 0.27% Castro::finalize_do_advance() 10 0.002192 0.002192 0.002192 0.23% MLMG::ResNormInf() 92 0.002135 0.002135 0.002135 0.23% Castro::apply_source_to_state() 20 0.001854 0.001854 0.001854 0.20% check_for_negative_density() 10 0.001842 0.001842 0.001842 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001771 0.001771 0.001771 0.19% Castro::reset_internal_energy(Fab) 504 0.001638 0.001638 0.001638 0.17% MLMG::getGradSolution() 11 0.001563 0.001563 0.001563 0.17% MLCellLinOp::compGrad() 11 0.001557 0.001557 0.001557 0.17% MLCellLinOp::setLevelBC() 11 0.001537 0.001537 0.001537 0.16% FabArrayBase::getCPC() 1313 0.001428 0.001428 0.001428 0.15% FabArray::mult() 43 0.001352 0.001352 0.001352 0.14% FabArray::setDomainBndry() 41 0.001347 0.001347 0.001347 0.14% MLPoisson::prepareForSolve() 11 0.001345 0.001345 0.001345 0.14% MLMG::computeMLResidual() 11 0.001334 0.001334 0.001334 0.14% MLCellLinOp::prepareForSolve() 11 0.001331 0.001331 0.001331 0.14% Castro::check_for_nan() 20 0.001281 0.001281 0.001281 0.14% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.14% Castro::computeInitialDt() 2 0.00118 0.00118 0.00118 0.13% Gravity::update_max_rhs() 11 0.0009644 0.0009644 0.0009644 0.10% Castro::post_regrid() 1 0.0007855 0.0007855 0.0007855 0.08% FabArrayBase::getFB() 3974 0.0007436 0.0007436 0.0007436 0.08% FabArrayBase::CPC::define() 454 0.0006531 0.0006531 0.0006531 0.07% Castro::finalize_advance() 10 0.0005976 0.0005976 0.0005976 0.06% Castro::Castro() 1 0.0005742 0.0005742 0.0005742 0.06% Amr::InitAmr() 1 0.0005272 0.0005272 0.0005272 0.06% Gravity::swapTimeLevels() 10 0.0004338 0.0004338 0.0004338 0.05% MLMG::MLResNormInf() 11 0.0003308 0.0003308 0.0003308 0.04% MultiFab::max() 11 0.0003238 0.0003238 0.0003238 0.03% Castro::buildMetrics() 1 0.000279 0.000279 0.000279 0.03% MLMG::MLRhsNormInf() 11 0.0002247 0.0002247 0.0002247 0.02% MLLinOp::define() 11 0.0002219 0.0002219 0.0002219 0.02% MLLinOp::defineGrids() 11 0.0002041 0.0002041 0.0002041 0.02% Castro::create_source_corrector() 10 0.000154 0.000154 0.000154 0.02% FabArrayBase::FB::FB() 56 9.417e-05 9.417e-05 9.417e-05 0.01% Castro::enforce_consistent_e() 1 7.732e-05 7.732e-05 7.732e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.3e-05 6.3e-05 6.3e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.144e-05 5.144e-05 5.144e-05 0.01% StateData::define() 4 4.449e-05 4.449e-05 4.449e-05 0.00% Castro::swap_state_time_levels() 10 3.893e-05 3.893e-05 3.893e-05 0.00% makeSFC 55 3.708e-05 3.708e-05 3.708e-05 0.00% Castro::initMFs() 1 3.246e-05 3.246e-05 3.246e-05 0.00% Amr::writeSmallPlotFile() 1 3.22e-05 3.22e-05 3.22e-05 0.00% DistributionMapping::Distribute() 56 1.501e-05 1.501e-05 1.501e-05 0.00% Amr::initSubcycle() 1 8.903e-06 8.903e-06 8.903e-06 0.00% AmrLevel::checkPointPost() 3 5.271e-06 5.271e-06 5.271e-06 0.00% Gravity::set_mass_offset() 11 4.471e-06 4.471e-06 4.471e-06 0.00% Castro::retry_advance_ctu() 10 4.378e-06 4.378e-06 4.378e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.144e-06 4.144e-06 4.144e-06 0.00% Castro::FluxRegCrseInit 10 3.183e-06 3.183e-06 3.183e-06 0.00% AmrLevel::checkPointPre() 3 2.881e-06 2.881e-06 2.881e-06 0.00% Castro::FluxRegFineAdd() 10 2.229e-06 2.229e-06 2.229e-06 0.00% MLLinOp::makeSubCommunicator() 11 2e-06 2e-06 2e-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 94 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 140 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 977 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1706 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3437 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 199 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 164 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1986 B 2048 KiB Gravity::solve_for_phi() 80 80 547 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 200 KiB 671 KiB Castro::estTimeStep() 21 21 3022 B 480 KiB VisMF::Write(FabArray) 656 656 3260 B 320 KiB Castro::normalize_species() 62 62 6859 B 320 KiB amrex::average_down 1054 1054 1211 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1083 B 257 KiB amrex::Dot() 1343 1343 3263 B 160 KiB FabArray::norminf() 1129 1129 3187 B 160 KiB check_for_negative_density() 10 10 260 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3356 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 305 B 9648 B MLCellLinOp::applyBC() 8758 8758 211 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B StateData::FillBoundary(geom) 1992 1992 36 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 486 486 100 B 1280 B MLCellLinOp::defineBC() 66 66 354 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 544 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 91 KiB 8192 KiB VisMF::Write(FabArray) 744 744 481 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3356 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 305 B 9648 B MLCellLinOp::applyBC() 4379 4379 210 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B Gravity::get_new_grav_vector() 3 3 2905 B 3072 B StateData::FillBoundary(geom) 1992 1992 37 B 2928 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 271 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 286 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 1129 1129 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): 12056 Free GPU global memory (MB): 2528 [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.11-19-g4b64003c8009) finalized Initializing AMReX (23.11-19-g4b64003c8009)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-19-g4b64003c8009) initialized Starting run at 09:22:15 UTC on 2023-11-28. Successfully read inputs file ... Castro git describe: 23.11-7-gbc5fe8d25 AMReX git describe: 23.11-19-g4b64003c8 Microphysics git describe: 23.11-12-g965a061a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.532047011 Restart time = 0.09821595 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.054682102 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.050569697 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.082870031 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.078157651 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.061979007 [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.031310761 seconds Ending run at 09:22:16 UTC on 2023-11-28. Run time = 0.458850542 Run time without initialization = 0.360003016 Average number of zones advanced per microsecond: 3.641 Average number of zones advanced per microsecond per rank: 3.641 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4589 ... 0.4589 ... 0.4589 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1383 0.1383 0.1383 30.14% VisMF::Read() 3 0.06149 0.06149 0.06149 13.40% MLCellLinOp::applyBC() 1946 0.03467 0.03467 0.03467 7.55% Amr::restart() 1 0.02998 0.02998 0.02998 6.53% VisMF::Write(FabArray) 1 0.02888 0.02888 0.02888 6.29% MLPoisson::Fsmooth() 1440 0.0144 0.0144 0.0144 3.14% StateData::FillBoundary(geom) 160 0.01296 0.01296 0.01296 2.83% FillBoundary_nowait() 1766 0.01284 0.01284 0.01284 2.80% Castro::normalize_species() 30 0.01095 0.01095 0.01095 2.39% amrex::Dot() 484 0.009089 0.009089 0.009089 1.98% FabArray::norminf() 465 0.008839 0.008839 0.008839 1.93% Castro::computeTemp() 30 0.00695 0.00695 0.00695 1.51% FabArray::setVal() 537 0.006586 0.006586 0.006586 1.44% FabArray::ParallelCopy_nowait() 380 0.006088 0.006088 0.006088 1.33% FabArray::Saxpy() 597 0.005768 0.005768 0.005768 1.26% MLCellLinOp::defineAuxData() 6 0.005508 0.005508 0.005508 1.20% Gravity::fill_multipole_BCs() 6 0.00549 0.00549 0.00549 1.20% amrex::Copy() 221 0.005358 0.005358 0.005358 1.17% Castro::enforce_min_density() 30 0.005197 0.005197 0.005197 1.13% MLPoisson::Fapply() 500 0.004653 0.004653 0.004653 1.01% StateDataPhysBCFunct::() 20 0.004273 0.004273 0.004273 0.93% FabArray::Xpay() 361 0.003648 0.003648 0.003648 0.79% Castro::estTimeStep() 10 0.003201 0.003201 0.003201 0.70% MLMG::addInterpCorrection() 180 0.003047 0.003047 0.003047 0.66% amrex::average_down 180 0.002768 0.002768 0.002768 0.60% Amr::writePlotFile() 1 0.002276 0.002276 0.002276 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002147 0.002147 0.002147 0.47% BndryData::define() 6 0.002102 0.002102 0.002102 0.46% amrex::Add() 72 0.00189 0.00189 0.00189 0.41% Castro::construct_new_gravity_source() 5 0.001767 0.001767 0.001767 0.39% Castro::construct_old_gravity_source() 5 0.001443 0.001443 0.001443 0.31% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009432 0.0009432 0.0009432 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008444 0.0008444 0.0008444 0.18% MLCellLinOp::setLevelBC() 6 0.0008346 0.0008346 0.0008346 0.18% MLCGSolver::bicgstab 36 0.000798 0.000798 0.000798 0.17% Castro::reset_internal_energy(Fab) 240 0.0007954 0.0007954 0.0007954 0.17% check_for_negative_density() 5 0.0007444 0.0007444 0.0007444 0.16% MLCellLinOp::prepareForSolve() 6 0.0007406 0.0007406 0.0007406 0.16% FabArray::mult() 22 0.0006879 0.0006879 0.0006879 0.15% FabArray::setDomainBndry() 20 0.0006829 0.0006829 0.0006829 0.15% MultiFab::contains_nan() 10 0.0006652 0.0006652 0.0006652 0.14% MLCellLinOp::compGrad() 6 0.000596 0.000596 0.000596 0.13% MLMG::prepareForSolve() 6 0.000543 0.000543 0.000543 0.12% Castro::enforce_speed_limit() 30 0.0005194 0.0005194 0.0005194 0.11% MLCellLinOp::smooth() 720 0.0004825 0.0004825 0.0004825 0.11% Amr::InitAmr() 1 0.0004309 0.0004309 0.0004309 0.09% FabArray::FillBoundary() 1766 0.0004183 0.0004183 0.0004183 0.09% FabArrayBase::CPC::define() 244 0.0004139 0.0004139 0.0004139 0.09% FabArrayBase::getCPC() 632 0.0003666 0.0003666 0.0003666 0.08% Gravity::get_old_grav_vector() 5 0.0003448 0.0003448 0.0003448 0.08% main() 1 0.0003021 0.0003021 0.0003021 0.07% Gravity::get_new_grav_vector() 5 0.0002904 0.0002904 0.0002904 0.06% FabArrayBase::getFB() 1766 0.0002757 0.0002757 0.0002757 0.06% MultiFab::max() 6 0.0002037 0.0002037 0.0002037 0.04% MLCellLinOp::apply() 500 0.0001903 0.0001903 0.0001903 0.04% AmrLevel::FillPatch() 20 0.0001845 0.0001845 0.0001845 0.04% Amr::coarseTimeStep() 5 0.0001694 0.0001694 0.0001694 0.04% MLCGSolver::ParallelAllReduce 798 0.0001474 0.0001474 0.0001474 0.03% MLCellLinOp::defineBC() 6 0.0001405 0.0001405 0.0001405 0.03% Castro::subcycle_advance_ctu() 5 0.000127 0.000127 0.000127 0.03% FillPatchIterator::Initialize 20 0.0001101 0.0001101 0.0001101 0.02% FabArray::ParallelCopy() 380 0.0001098 0.0001098 0.0001098 0.02% Castro::create_source_corrector() 5 0.0001055 0.0001055 0.0001055 0.02% MLCellLinOp::correctionResidual() 216 9.787e-05 9.787e-05 9.787e-05 0.02% MLLinOp::defineGrids() 6 8.74e-05 8.74e-05 8.74e-05 0.02% Amr::timeStep() 5 8.501e-05 8.501e-05 8.501e-05 0.02% Castro::advance() 5 8.497e-05 8.497e-05 8.497e-05 0.02% AmrLevel::restart() 1 8.2e-05 8.2e-05 8.2e-05 0.02% Gravity::solve_for_phi() 5 8.07e-05 8.07e-05 8.07e-05 0.02% MLMG::mgVcycle() 36 7.983e-05 7.983e-05 7.983e-05 0.02% StateData::restartDoit() 4 7.294e-05 7.294e-05 7.294e-05 0.02% FabArrayBase::FB::FB() 26 7e-05 7e-05 7e-05 0.02% Castro::initialize_do_advance() 5 6.676e-05 6.676e-05 6.676e-05 0.01% Gravity::update_max_rhs() 6 6.397e-05 6.397e-05 6.397e-05 0.01% Castro::construct_new_source() 25 6.315e-05 6.315e-05 6.315e-05 0.01% Castro::initialize_advance() 5 5.782e-05 5.782e-05 5.782e-05 0.01% MLMG:computeResOfCorrection() 180 5.244e-05 5.244e-05 5.244e-05 0.01% MLMG::mgVcycle_down::0 36 4.838e-05 4.838e-05 4.838e-05 0.01% Castro::do_advance_ctu() 5 4.595e-05 4.595e-05 4.595e-05 0.01% Castro::finalize_do_advance() 5 4.339e-05 4.339e-05 4.339e-05 0.01% MLMG::actualBottomSolve() 36 4.085e-05 4.085e-05 4.085e-05 0.01% Castro::clean_state() 30 3.716e-05 3.716e-05 3.716e-05 0.01% MLMG::solve() 6 3.629e-05 3.629e-05 3.629e-05 0.01% MLMG::mgVcycle_down::1 36 3.558e-05 3.558e-05 3.558e-05 0.01% MLMG::mgVcycle_down::2 36 3.43e-05 3.43e-05 3.43e-05 0.01% MLMG::mgVcycle_down::4 36 3.368e-05 3.368e-05 3.368e-05 0.01% Amr::writeSmallPlotFile() 1 3.207e-05 3.207e-05 3.207e-05 0.01% MLMG::mgVcycle_down::3 36 3.189e-05 3.189e-05 3.189e-05 0.01% Castro::finalize_advance() 5 3.073e-05 3.073e-05 3.073e-05 0.01% Castro::post_restart() 1 3.056e-05 3.056e-05 3.056e-05 0.01% MLMG::mgVcycle_up::4 36 2.93e-05 2.93e-05 2.93e-05 0.01% Castro::buildMetrics() 1 2.873e-05 2.873e-05 2.873e-05 0.01% Castro::construct_old_source() 25 2.719e-05 2.719e-05 2.719e-05 0.01% MLCellLinOp::solutionResidual() 42 2.528e-05 2.528e-05 2.528e-05 0.01% MLMG::oneIter() 36 2.521e-05 2.521e-05 2.521e-05 0.01% Castro::swap_state_time_levels() 5 2.458e-05 2.458e-05 2.458e-05 0.01% Castro::initMFs() 1 2.436e-05 2.436e-05 2.436e-05 0.01% MLMG::mgVcycle_up::3 36 2.348e-05 2.348e-05 2.348e-05 0.01% MLMG::mgVcycle_up::0 36 2.335e-05 2.335e-05 2.335e-05 0.01% MLMG::mgVcycle_up::2 36 2.261e-05 2.261e-05 2.261e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.154e-05 2.154e-05 2.154e-05 0.00% MLMG::mgVcycle_up::1 36 2.153e-05 2.153e-05 2.153e-05 0.00% Castro::construct_new_gravity() 5 1.874e-05 1.874e-05 1.874e-05 0.00% MLMG::ResNormInf() 42 1.874e-05 1.874e-05 1.874e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.829e-05 1.829e-05 1.829e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.671e-05 1.671e-05 1.671e-05 0.00% MLMG::mgVcycle_bottom 36 1.632e-05 1.632e-05 1.632e-05 0.00% FillPatchSingleLevel 20 1.592e-05 1.592e-05 1.592e-05 0.00% MLPoisson::define() 6 1.558e-05 1.558e-05 1.558e-05 0.00% MLMG::computeResidual() 36 1.467e-05 1.467e-05 1.467e-05 0.00% makeSFC 30 1.311e-05 1.311e-05 1.311e-05 0.00% Castro::do_old_sources() 5 1.157e-05 1.157e-05 1.157e-05 0.00% MLPoisson::prepareForSolve() 6 1.01e-05 1.01e-05 1.01e-05 0.00% Castro::do_new_sources() 5 9.941e-06 9.941e-06 9.941e-06 0.00% MLMG::computeMLResidual() 6 9.719e-06 9.719e-06 9.719e-06 0.00% DistributionMapping::Distribute() 31 9.144e-06 9.144e-06 9.144e-06 0.00% Amr::initSubcycle() 1 8.949e-06 8.949e-06 8.949e-06 0.00% Gravity::actual_multilevel_solve() 1 7.979e-06 7.979e-06 7.979e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.636e-06 7.636e-06 7.636e-06 0.00% Castro::check_for_nan() 10 6.868e-06 6.868e-06 6.868e-06 0.00% Castro::construct_old_gravity() 5 6.31e-06 6.31e-06 6.31e-06 0.00% Castro::apply_source_to_state() 10 5.858e-06 5.858e-06 5.858e-06 0.00% MLLinOp::define() 6 5.324e-06 5.324e-06 5.324e-06 0.00% Castro::post_timestep() 5 4.533e-06 4.533e-06 4.533e-06 0.00% Gravity::swapTimeLevels() 5 3.933e-06 3.933e-06 3.933e-06 0.00% Castro::computeNewDt() 5 3.432e-06 3.432e-06 3.432e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.352e-06 3.352e-06 3.352e-06 0.00% MLMG::getGradSolution() 6 3.048e-06 3.048e-06 3.048e-06 0.00% Castro::expand_state() 5 2.888e-06 2.888e-06 2.888e-06 0.00% MLMG::MLResNormInf() 6 2.65e-06 2.65e-06 2.65e-06 0.00% Gravity::set_mass_offset() 6 2.262e-06 2.262e-06 2.262e-06 0.00% MLMG::MLRhsNormInf() 6 2.248e-06 2.248e-06 2.248e-06 0.00% Castro::retry_advance_ctu() 5 2.044e-06 2.044e-06 2.044e-06 0.00% Castro::FluxRegCrseInit 5 1.389e-06 1.389e-06 1.389e-06 0.00% Castro::FluxRegFineAdd() 5 1.321e-06 1.321e-06 1.321e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.15e-06 1.15e-06 1.15e-06 0.00% Amr::init() 1 1.079e-06 1.079e-06 1.079e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4589 0.4589 0.4589 100.00% Amr::coarseTimeStep() 5 0.3284 0.3284 0.3284 71.57% Amr::timeStep() 5 0.3262 0.3262 0.3262 71.09% Castro::advance() 5 0.3209 0.3209 0.3209 69.93% Castro::subcycle_advance_ctu() 5 0.313 0.313 0.313 68.20% Castro::do_advance_ctu() 5 0.3128 0.3128 0.3128 68.18% Castro::construct_ctu_hydro_source() 5 0.1428 0.1428 0.1428 31.12% Castro::construct_new_gravity() 5 0.1344 0.1344 0.1344 29.28% Gravity::solve_phi_with_mlmg() 6 0.132 0.132 0.132 28.76% Gravity::solve_for_phi() 5 0.1264 0.1264 0.1264 27.54% Gravity::actual_solve_with_mlmg() 6 0.1263 0.1263 0.1263 27.51% MLMG::solve() 6 0.1145 0.1145 0.1145 24.95% MLMG::oneIter() 36 0.107 0.107 0.107 23.32% MLMG::mgVcycle() 36 0.1055 0.1055 0.1055 22.98% Amr::init() 1 0.09826 0.09826 0.09826 21.41% Amr::restart() 1 0.09826 0.09826 0.09826 21.41% AmrLevel::restart() 1 0.06185 0.06185 0.06185 13.48% StateData::restartDoit() 4 0.06177 0.06177 0.06177 13.46% VisMF::Read() 3 0.06149 0.06149 0.06149 13.40% MLCellLinOp::smooth() 720 0.05133 0.05133 0.05133 11.19% MLCellLinOp::applyBC() 1946 0.04827 0.04827 0.04827 10.52% MLMG::mgVcycle_bottom 36 0.03312 0.03312 0.03312 7.22% MLMG::actualBottomSolve() 36 0.0331 0.0331 0.0331 7.21% MLCGSolver::bicgstab 36 0.03279 0.03279 0.03279 7.14% Amr::writePlotFile() 1 0.03141 0.03141 0.03141 6.84% VisMF::Write(FabArray) 1 0.02888 0.02888 0.02888 6.29% Castro::clean_state() 30 0.02659 0.02659 0.02659 5.79% AmrLevel::FillPatch() 20 0.02217 0.02217 0.02217 4.83% FillPatchIterator::Initialize 20 0.02009 0.02009 0.02009 4.38% FillPatchIterator::FillFromLevel0() 20 0.0193 0.0193 0.0193 4.21% FillPatchSingleLevel 20 0.01928 0.01928 0.01928 4.20% StateDataPhysBCFunct::() 20 0.01724 0.01724 0.01724 3.76% MLCellLinOp::apply() 500 0.01639 0.01639 0.01639 3.57% MLMG::mgVcycle_down::0 36 0.01463 0.01463 0.01463 3.19% MLPoisson::Fsmooth() 1440 0.0144 0.0144 0.0144 3.14% FabArray::FillBoundary() 1766 0.0136 0.0136 0.0136 2.96% FillBoundary_nowait() 1766 0.01318 0.01318 0.01318 2.87% StateData::FillBoundary(geom) 160 0.01296 0.01296 0.01296 2.83% MLMG::mgVcycle_up::0 36 0.01102 0.01102 0.01102 2.40% Castro::normalize_species() 30 0.01095 0.01095 0.01095 2.39% Castro::initialize_do_advance() 5 0.01049 0.01049 0.01049 2.29% Castro::computeTemp() 30 0.009892 0.009892 0.009892 2.16% MLCellLinOp::correctionResidual() 216 0.009825 0.009825 0.009825 2.14% Castro::do_old_sources() 5 0.009285 0.009285 0.009285 2.02% MLPoisson::define() 6 0.009217 0.009217 0.009217 2.01% amrex::Dot() 484 0.009089 0.009089 0.009089 1.98% FabArray::norminf() 465 0.008839 0.008839 0.008839 1.93% MLMG:computeResOfCorrection() 180 0.008637 0.008637 0.008637 1.88% Gravity::get_new_grav_vector() 5 0.007856 0.007856 0.007856 1.71% Castro::construct_old_gravity() 5 0.007623 0.007623 0.007623 1.66% Gravity::get_old_grav_vector() 5 0.007617 0.007617 0.007617 1.66% Castro::initialize_advance() 5 0.007536 0.007536 0.007536 1.64% MLMG::mgVcycle_down::1 36 0.007175 0.007175 0.007175 1.56% FabArray::ParallelCopy() 380 0.006593 0.006593 0.006593 1.44% FabArray::setVal() 537 0.006586 0.006586 0.006586 1.44% MLMG::mgVcycle_down::2 36 0.006577 0.006577 0.006577 1.43% Castro::do_new_sources() 5 0.006513 0.006513 0.006513 1.42% FabArray::ParallelCopy_nowait() 380 0.006484 0.006484 0.006484 1.41% MLMG::mgVcycle_down::3 36 0.00643 0.00643 0.00643 1.40% MLMG::mgVcycle_down::4 36 0.006352 0.006352 0.006352 1.38% MLCellLinOp::defineAuxData() 6 0.006271 0.006271 0.006271 1.37% Castro::post_restart() 1 0.006253 0.006253 0.006253 1.36% Gravity::multilevel_solve_for_new_phi() 1 0.00588 0.00588 0.00588 1.28% Gravity::actual_multilevel_solve() 1 0.005863 0.005863 0.005863 1.28% FabArray::Saxpy() 597 0.005768 0.005768 0.005768 1.26% Gravity::fill_multipole_BCs() 6 0.005613 0.005613 0.005613 1.22% MLCGSolver::ParallelAllReduce 798 0.00553 0.00553 0.00553 1.21% Castro::expand_state() 5 0.005494 0.005494 0.005494 1.20% amrex::Copy() 221 0.005358 0.005358 0.005358 1.17% MLMG::addInterpCorrection() 180 0.005308 0.005308 0.005308 1.16% Castro::post_timestep() 5 0.005242 0.005242 0.005242 1.14% Castro::enforce_min_density() 30 0.005197 0.005197 0.005197 1.13% MLMG::mgVcycle_up::4 36 0.005113 0.005113 0.005113 1.11% MLMG::mgVcycle_up::1 36 0.005093 0.005093 0.005093 1.11% amrex::average_down 180 0.005076 0.005076 0.005076 1.11% MLMG::mgVcycle_up::2 36 0.004999 0.004999 0.004999 1.09% MLMG::mgVcycle_up::3 36 0.004889 0.004889 0.004889 1.07% MLPoisson::Fapply() 500 0.004653 0.004653 0.004653 1.01% FabArray::Xpay() 361 0.003648 0.003648 0.003648 0.79% MLCellLinOp::solutionResidual() 42 0.003506 0.003506 0.003506 0.76% Castro::estTimeStep() 10 0.003201 0.003201 0.003201 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002943 0.002943 0.002943 0.64% MLCellLinOp::defineBC() 6 0.002809 0.002809 0.002809 0.61% MLMG::prepareForSolve() 6 0.002805 0.002805 0.002805 0.61% MLMG::computeResidual() 36 0.002724 0.002724 0.002724 0.59% BndryData::define() 6 0.002668 0.002668 0.002668 0.58% Castro::computeNewDt() 5 0.002028 0.002028 0.002028 0.44% amrex::Add() 72 0.00189 0.00189 0.00189 0.41% Castro::construct_new_source() 25 0.00183 0.00183 0.00183 0.40% Castro::construct_new_gravity_source() 5 0.001767 0.001767 0.001767 0.39% Castro::construct_old_source() 25 0.00147 0.00147 0.00147 0.32% Castro::construct_old_gravity_source() 5 0.001443 0.001443 0.001443 0.31% Castro::finalize_do_advance() 5 0.00122 0.00122 0.00122 0.27% MLMG::ResNormInf() 42 0.0009727 0.0009727 0.0009727 0.21% Castro::apply_source_to_state() 10 0.00096 0.00096 0.00096 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009432 0.0009432 0.0009432 0.21% MLMG::getGradSolution() 6 0.0008764 0.0008764 0.0008764 0.19% MLCellLinOp::compGrad() 6 0.0008734 0.0008734 0.0008734 0.19% MLCellLinOp::setLevelBC() 6 0.0008346 0.0008346 0.0008346 0.18% MLMG::computeMLResidual() 6 0.000806 0.000806 0.000806 0.18% Castro::reset_internal_energy(Fab) 240 0.0007954 0.0007954 0.0007954 0.17% FabArrayBase::getCPC() 632 0.0007804 0.0007804 0.0007804 0.17% MLPoisson::prepareForSolve() 6 0.0007507 0.0007507 0.0007507 0.16% check_for_negative_density() 5 0.0007444 0.0007444 0.0007444 0.16% MLCellLinOp::prepareForSolve() 6 0.0007406 0.0007406 0.0007406 0.16% Gravity::update_max_rhs() 6 0.0007047 0.0007047 0.0007047 0.15% FabArray::mult() 22 0.0006879 0.0006879 0.0006879 0.15% FabArray::setDomainBndry() 20 0.0006829 0.0006829 0.0006829 0.15% Castro::check_for_nan() 10 0.000672 0.000672 0.000672 0.15% MultiFab::contains_nan() 10 0.0006652 0.0006652 0.0006652 0.14% Castro::enforce_speed_limit() 30 0.0005194 0.0005194 0.0005194 0.11% Amr::InitAmr() 1 0.0004398 0.0004398 0.0004398 0.10% FabArrayBase::CPC::define() 244 0.0004139 0.0004139 0.0004139 0.09% FabArrayBase::getFB() 1766 0.0003457 0.0003457 0.0003457 0.08% Castro::finalize_advance() 5 0.0002983 0.0002983 0.0002983 0.07% Gravity::swapTimeLevels() 5 0.0002321 0.0002321 0.0002321 0.05% MultiFab::max() 6 0.0002037 0.0002037 0.0002037 0.04% MLMG::MLResNormInf() 6 0.0001905 0.0001905 0.0001905 0.04% Castro::buildMetrics() 1 0.0001504 0.0001504 0.0001504 0.03% MLLinOp::define() 6 0.000122 0.000122 0.000122 0.03% MLMG::MLRhsNormInf() 6 0.0001181 0.0001181 0.0001181 0.03% MLLinOp::defineGrids() 6 0.0001167 0.0001167 0.0001167 0.03% Castro::create_source_corrector() 5 0.0001055 0.0001055 0.0001055 0.02% FabArrayBase::FB::FB() 26 7e-05 7e-05 7e-05 0.02% Amr::writeSmallPlotFile() 1 3.207e-05 3.207e-05 3.207e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.816e-05 2.816e-05 2.816e-05 0.01% Castro::swap_state_time_levels() 5 2.458e-05 2.458e-05 2.458e-05 0.01% Castro::initMFs() 1 2.436e-05 2.436e-05 2.436e-05 0.01% makeSFC 30 2.053e-05 2.053e-05 2.053e-05 0.00% DistributionMapping::Distribute() 31 9.144e-06 9.144e-06 9.144e-06 0.00% Amr::initSubcycle() 1 8.949e-06 8.949e-06 8.949e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.076e-06 5.076e-06 5.076e-06 0.00% Gravity::set_mass_offset() 6 2.262e-06 2.262e-06 2.262e-06 0.00% Castro::retry_advance_ctu() 5 2.044e-06 2.044e-06 2.044e-06 0.00% Castro::FluxRegCrseInit 5 1.389e-06 1.389e-06 1.389e-06 0.00% Castro::FluxRegFineAdd() 5 1.321e-06 1.321e-06 1.321e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.15e-06 1.15e-06 1.15e-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 192 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 143 MiB 692 MiB Castro::initMFs() 48 48 54 MiB 68 MiB Castro::swap_state_time_levels() 32 32 43 MiB 55 MiB StateData::restartDoit() 32 32 49 MiB 55 MiB FillPatchIterator::Initialize 160 160 941 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1856 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 12 MiB 15 MiB Castro::post_restart() 48 48 6050 KiB 14 MiB MLMG::prepareForSolve() 361 361 3062 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 172 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6038 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3047 B 2048 KiB Gravity::solve_for_phi() 40 40 563 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 282 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 181 KiB 671 KiB Castro::estTimeStep() 10 10 3346 B 480 KiB VisMF::Write(FabArray) 112 112 2150 B 320 KiB Castro::normalize_species() 30 30 7768 B 320 KiB amrex::average_down 469 469 1076 B 257 KiB MLMG::addInterpCorrection() 468 468 992 B 257 KiB amrex::Dot() 592 592 2913 B 160 KiB FabArray::norminf() 501 501 2971 B 160 KiB check_for_negative_density() 5 5 247 B 160 KiB MultiFab::max() 6 6 69 B 160 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 2969 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 243 B 9648 B MLCellLinOp::applyBC() 3892 3892 191 B 9344 B amrex::Copy() 56 56 5322 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 30 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 216 216 90 B 1280 B MLCellLinOp::defineBC() 36 36 317 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1119 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 78 KiB 8192 KiB VisMF::Write(FabArray) 120 120 174 KiB 3584 KiB VisMF::Read() 24 24 202 KiB 3000 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2969 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 243 B 9648 B MLCellLinOp::applyBC() 1946 1946 190 B 9328 B amrex::Copy() 56 56 5322 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2371 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 30 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 469 B 1296 B amrex::average_down 37 37 199 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 21 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [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.11-19-g4b64003c8009) finalized