Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-23-g2e99628138df) initialized Starting run at 07:46:27 UTC on 2023-09-25. Successfully read inputs file ... Castro git describe: 23.09-31-g025c1f156 AMReX git describe: 23.09-23-g2e9962813 Microphysics git describe: 23.09-14-g9c08d809 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.048697746 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027206386 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.050273302 [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.051274474 [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.072133992 [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.073758509 [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.064857065 [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.047285697 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.065927421 [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.069977809 [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.073114272 [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.061061276 [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.059081749 [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.046995441 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027053728 seconds Ending run at 07:46:28 UTC on 2023-09-25. Run time = 0.892567621 Run time without initialization = 0.76344552 Average number of zones advanced per microsecond: 3.434 Average number of zones advanced per microsecond per rank: 3.434 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8926 ... 0.8926 ... 0.8926 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2765 0.2765 0.2765 30.98% VisMF::Write(FabArray) 11 0.19 0.19 0.19 21.29% MLCellLinOp::applyBC() 4433 0.07601 0.07601 0.07601 8.52% MLPoisson::Fsmooth() 3280 0.03221 0.03221 0.03221 3.61% FillBoundary_nowait() 4023 0.03138 0.03138 0.03138 3.52% StateData::FillBoundary(geom) 328 0.02519 0.02519 0.02519 2.82% amrex::Dot() 1114 0.02028 0.02028 0.02028 2.27% Castro::normalize_species() 62 0.01902 0.01902 0.01902 2.13% Castro::computeTemp() 63 0.01533 0.01533 0.01533 1.72% amrex::Copy() 1029 0.01479 0.01479 0.01479 1.66% FabArray::norminf() 743 0.01427 0.01427 0.01427 1.60% FabArray::setVal() 1144 0.01314 0.01314 0.01314 1.47% FabArray::ParallelCopy_nowait() 861 0.0131 0.0131 0.0131 1.47% StateDataPhysBCFunct::() 41 0.0121 0.0121 0.0121 1.36% Castro::enforce_min_density() 62 0.01132 0.01132 0.01132 1.27% MLPoisson::Fapply() 1142 0.0103 0.0103 0.0103 1.15% MLCellLinOp::defineAuxData() 11 0.009687 0.009687 0.009687 1.09% Gravity::fill_multipole_BCs() 11 0.009059 0.009059 0.009059 1.01% FabArray::Saxpy() 813 0.008186 0.008186 0.008186 0.92% FabArray::Xpay() 821 0.008114 0.008114 0.008114 0.91% MLMG::addInterpCorrection() 410 0.00669 0.00669 0.00669 0.75% amrex::average_down 410 0.005987 0.005987 0.005987 0.67% Castro::reset_internal_energy(MultiFab) 63 0.005572 0.005572 0.005572 0.62% Castro::estTimeStep() 21 0.00536 0.00536 0.00536 0.60% Amr::checkPoint() 3 0.004763 0.004763 0.004763 0.53% FabArray::LinComb() 557 0.004469 0.004469 0.004469 0.50% amrex::Add() 164 0.00442 0.00442 0.00442 0.50% BndryData::define() 11 0.003599 0.003599 0.003599 0.40% Castro::construct_new_gravity_source() 10 0.003396 0.003396 0.003396 0.38% Castro::construct_old_gravity_source() 10 0.002941 0.002941 0.002941 0.33% MLCGSolver::bicgstab 82 0.002205 0.002205 0.002205 0.25% Castro::enforce_speed_limit() 62 0.002143 0.002143 0.002143 0.24% Amr::writePlotFile() 2 0.001968 0.001968 0.001968 0.22% check_for_negative_density() 10 0.001767 0.001767 0.001767 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0017 0.0017 0.0017 0.19% Castro::reset_internal_energy(Fab) 504 0.001558 0.001558 0.001558 0.17% Gravity::actual_solve_with_mlmg() 11 0.001521 0.001521 0.001521 0.17% Castro::initData() 1 0.001495 0.001495 0.001495 0.17% MLCellLinOp::setLevelBC() 11 0.001423 0.001423 0.001423 0.16% FabArray::mult() 43 0.001343 0.001343 0.001343 0.15% FabArray::setDomainBndry() 41 0.001315 0.001315 0.001315 0.15% MultiFab::contains_nan() 20 0.001257 0.001257 0.001257 0.14% MLCellLinOp::prepareForSolve() 11 0.001257 0.001257 0.001257 0.14% MLCellLinOp::smooth() 1640 0.001077 0.001077 0.001077 0.12% MLCellLinOp::compGrad() 11 0.001042 0.001042 0.001042 0.12% MLMG::prepareForSolve() 11 0.0009307 0.0009307 0.0009307 0.10% FabArrayBase::getCPC() 1323 0.0007996 0.0007996 0.0007996 0.09% FabArray::FillBoundary() 4023 0.0007777 0.0007777 0.0007777 0.09% FabArrayBase::CPC::define() 454 0.0006465 0.0006465 0.0006465 0.07% FabArrayBase::getFB() 4023 0.0006139 0.0006139 0.0006139 0.07% Gravity::get_new_grav_vector() 11 0.0005897 0.0005897 0.0005897 0.07% Amr::InitAmr() 1 0.0004748 0.0004748 0.0004748 0.05% Gravity::get_old_grav_vector() 10 0.0004743 0.0004743 0.0004743 0.05% MLCellLinOp::apply() 1142 0.0004533 0.0004533 0.0004533 0.05% Amr::coarseTimeStep() 10 0.0003684 0.0003684 0.0003684 0.04% AmrLevel::FillPatch() 41 0.0003486 0.0003486 0.0003486 0.04% MultiFab::max() 11 0.0003202 0.0003202 0.0003202 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002897 0.0002897 0.0002897 0.03% main() 1 0.0002703 0.0002703 0.0002703 0.03% FabArray::ParallelCopy() 861 0.0002626 0.0002626 0.0002626 0.03% MLCellLinOp::correctionResidual() 492 0.0002303 0.0002303 0.0002303 0.03% FillPatchIterator::Initialize 41 0.0002275 0.0002275 0.0002275 0.03% MLCellLinOp::defineBC() 11 0.0002176 0.0002176 0.0002176 0.02% MLMG::mgVcycle() 82 0.0001963 0.0001963 0.0001963 0.02% Castro::subcycle_advance_ctu() 10 0.0001624 0.0001624 0.0001624 0.02% MLLinOp::defineGrids() 11 0.0001543 0.0001543 0.0001543 0.02% Amr::timeStep() 10 0.0001508 0.0001508 0.0001508 0.02% Castro::create_source_corrector() 10 0.0001506 0.0001506 0.0001506 0.02% Gravity::solve_for_phi() 10 0.000148 0.000148 0.000148 0.02% Gravity::update_max_rhs() 11 0.0001268 0.0001268 0.0001268 0.01% StateData::checkPoint() 12 0.0001184 0.0001184 0.0001184 0.01% MLMG:computeResOfCorrection() 410 0.0001136 0.0001136 0.0001136 0.01% Castro::Castro() 1 0.0001067 0.0001067 0.0001067 0.01% MLMG::actualBottomSolve() 82 9.163e-05 9.163e-05 9.163e-05 0.01% FabArrayBase::FB::FB() 56 9.097e-05 9.097e-05 9.097e-05 0.01% MLMG::mgVcycle_down::0 82 8.965e-05 8.965e-05 8.965e-05 0.01% MLMG::mgVcycle_down::1 82 7.906e-05 7.906e-05 7.906e-05 0.01% Castro::do_new_sources() 10 7.848e-05 7.848e-05 7.848e-05 0.01% MLMG::mgVcycle_down::2 82 7.631e-05 7.631e-05 7.631e-05 0.01% Castro::clean_state() 62 7.458e-05 7.458e-05 7.458e-05 0.01% Castro::initialize_advance() 10 7.416e-05 7.416e-05 7.416e-05 0.01% MLMG::solve() 11 7.367e-05 7.367e-05 7.367e-05 0.01% MLMG::mgVcycle_down::4 82 7.292e-05 7.292e-05 7.292e-05 0.01% Castro::enforce_consistent_e() 1 7.193e-05 7.193e-05 7.193e-05 0.01% MLMG::mgVcycle_down::3 82 7.126e-05 7.126e-05 7.126e-05 0.01% AmrLevel::checkPoint() 3 6.798e-05 6.798e-05 6.798e-05 0.01% Castro::post_timestep() 10 6.283e-05 6.283e-05 6.283e-05 0.01% Castro::advance() 10 6.277e-05 6.277e-05 6.277e-05 0.01% Castro::finalize_advance() 10 6.078e-05 6.078e-05 6.078e-05 0.01% Castro::initialize_do_advance() 10 6.077e-05 6.077e-05 6.077e-05 0.01% MLCellLinOp::solutionResidual() 93 6.024e-05 6.024e-05 6.024e-05 0.01% Castro::construct_new_source() 50 5.899e-05 5.899e-05 5.899e-05 0.01% MLMG::mgVcycle_up::4 82 5.844e-05 5.844e-05 5.844e-05 0.01% MLMG::mgVcycle_up::0 82 4.94e-05 4.94e-05 4.94e-05 0.01% MLMG::mgVcycle_up::3 82 4.916e-05 4.916e-05 4.916e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.826e-05 4.826e-05 4.826e-05 0.01% MLMG::oneIter() 82 4.734e-05 4.734e-05 4.734e-05 0.01% Castro::do_advance_ctu() 10 4.728e-05 4.728e-05 4.728e-05 0.01% MLMG::mgVcycle_up::1 82 4.643e-05 4.643e-05 4.643e-05 0.01% MLMG::mgVcycle_up::2 82 4.584e-05 4.584e-05 4.584e-05 0.01% Castro::finalize_do_advance() 10 4.182e-05 4.182e-05 4.182e-05 0.00% StateData::define() 4 3.809e-05 3.809e-05 3.809e-05 0.00% Castro::swap_state_time_levels() 10 3.66e-05 3.66e-05 3.66e-05 0.00% FillPatchSingleLevel 41 3.519e-05 3.519e-05 3.519e-05 0.00% MLMG::mgVcycle_bottom 82 3.481e-05 3.481e-05 3.481e-05 0.00% MLMG::ResNormInf() 93 3.327e-05 3.327e-05 3.327e-05 0.00% MLMG::computeResidual() 82 3.319e-05 3.319e-05 3.319e-05 0.00% Castro::initMFs() 1 3.013e-05 3.013e-05 3.013e-05 0.00% Amr::writeSmallPlotFile() 1 2.696e-05 2.696e-05 2.696e-05 0.00% makeSFC 55 2.506e-05 2.506e-05 2.506e-05 0.00% Castro::construct_new_gravity() 10 2.503e-05 2.503e-05 2.503e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.327e-05 2.327e-05 2.327e-05 0.00% Castro::buildMetrics() 1 2.165e-05 2.165e-05 2.165e-05 0.00% Amr::defBaseLevel() 1 2.093e-05 2.093e-05 2.093e-05 0.00% MLPoisson::define() 11 2.083e-05 2.083e-05 2.083e-05 0.00% Castro::do_old_sources() 10 2.082e-05 2.082e-05 2.082e-05 0.00% Amr::FinalizeInit() 1 1.939e-05 1.939e-05 1.939e-05 0.00% Castro::construct_old_source() 50 1.937e-05 1.937e-05 1.937e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.866e-05 1.866e-05 1.866e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.748e-05 1.748e-05 1.748e-05 0.00% MLLinOp::define() 11 1.606e-05 1.606e-05 1.606e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.517e-05 1.517e-05 1.517e-05 0.00% DistributionMapping::Distribute() 56 1.487e-05 1.487e-05 1.487e-05 0.00% Castro::check_for_nan() 20 1.422e-05 1.422e-05 1.422e-05 0.00% Castro::construct_old_gravity() 10 1.194e-05 1.194e-05 1.194e-05 0.00% Castro::apply_source_to_state() 20 1.113e-05 1.113e-05 1.113e-05 0.00% Castro::post_init() 1 9.257e-06 9.257e-06 9.257e-06 0.00% MLMG::computeMLResidual() 11 9.156e-06 9.156e-06 9.156e-06 0.00% Amr::initSubcycle() 1 8.868e-06 8.868e-06 8.868e-06 0.00% Gravity::swapTimeLevels() 10 8.823e-06 8.823e-06 8.823e-06 0.00% MLPoisson::prepareForSolve() 11 8.612e-06 8.612e-06 8.612e-06 0.00% Gravity::actual_multilevel_solve() 1 7.487e-06 7.487e-06 7.487e-06 0.00% Castro::computeNewDt() 9 6.824e-06 6.824e-06 6.824e-06 0.00% MLMG::getGradSolution() 11 5.663e-06 5.663e-06 5.663e-06 0.00% Castro::expand_state() 10 5.536e-06 5.536e-06 5.536e-06 0.00% AmrLevel::checkPointPost() 3 5.521e-06 5.521e-06 5.521e-06 0.00% Amr::InitializeInit() 1 4.945e-06 4.945e-06 4.945e-06 0.00% MLMG::MLRhsNormInf() 11 4.305e-06 4.305e-06 4.305e-06 0.00% Gravity::set_mass_offset() 11 4.111e-06 4.111e-06 4.111e-06 0.00% Castro::retry_advance_ctu() 10 4.084e-06 4.084e-06 4.084e-06 0.00% MLMG::MLResNormInf() 11 3.593e-06 3.593e-06 3.593e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.239e-06 3.239e-06 3.239e-06 0.00% Castro::computeInitialDt() 2 3.062e-06 3.062e-06 3.062e-06 0.00% Castro::FluxRegCrseInit 10 2.677e-06 2.677e-06 2.677e-06 0.00% Amr::init() 1 2.407e-06 2.407e-06 2.407e-06 0.00% Castro::FluxRegFineAdd() 10 2.351e-06 2.351e-06 2.351e-06 0.00% AmrLevel::checkPointPre() 3 2.034e-06 2.034e-06 2.034e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.972e-06 1.972e-06 1.972e-06 0.00% Castro::post_regrid() 1 1.387e-06 1.387e-06 1.387e-06 0.00% Amr::initialInit() 1 1.14e-06 1.14e-06 1.14e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8926 0.8926 0.8926 100.00% Amr::coarseTimeStep() 10 0.7362 0.7362 0.7362 82.48% Amr::timeStep() 10 0.6383 0.6383 0.6383 71.51% Castro::advance() 10 0.628 0.628 0.628 70.36% Castro::subcycle_advance_ctu() 10 0.6146 0.6146 0.6146 68.86% Castro::do_advance_ctu() 10 0.6145 0.6145 0.6145 68.84% Castro::construct_ctu_hydro_source() 10 0.2866 0.2866 0.2866 32.11% Gravity::solve_phi_with_mlmg() 11 0.2844 0.2844 0.2844 31.86% Gravity::actual_solve_with_mlmg() 11 0.2749 0.2749 0.2749 30.80% Castro::construct_new_gravity() 10 0.2564 0.2564 0.2564 28.72% MLMG::solve() 11 0.2543 0.2543 0.2543 28.49% Gravity::solve_for_phi() 10 0.2408 0.2408 0.2408 26.98% MLMG::oneIter() 82 0.2395 0.2395 0.2395 26.83% MLMG::mgVcycle() 82 0.2359 0.2359 0.2359 26.42% VisMF::Write(FabArray) 11 0.19 0.19 0.19 21.29% Amr::checkPoint() 3 0.1431 0.1431 0.1431 16.03% AmrLevel::checkPoint() 3 0.1383 0.1383 0.1383 15.50% StateData::checkPoint() 12 0.1383 0.1383 0.1383 15.49% Amr::init() 1 0.1285 0.1285 0.1285 14.40% MLCellLinOp::smooth() 1640 0.1162 0.1162 0.1162 13.02% MLCellLinOp::applyBC() 4433 0.1089 0.1089 0.1089 12.20% MLMG::mgVcycle_bottom 82 0.07295 0.07295 0.07295 8.17% MLMG::actualBottomSolve() 82 0.07291 0.07291 0.07291 8.17% MLCGSolver::bicgstab 82 0.07223 0.07223 0.07223 8.09% Amr::writePlotFile() 2 0.05439 0.05439 0.05439 6.09% Castro::clean_state() 62 0.05403 0.05403 0.05403 6.05% Amr::initialInit() 1 0.05249 0.05249 0.05249 5.88% Amr::FinalizeInit() 1 0.04733 0.04733 0.04733 5.30% AmrLevel::FillPatch() 41 0.04709 0.04709 0.04709 5.28% Castro::post_init() 1 0.0462 0.0462 0.0462 5.18% Gravity::multilevel_solve_for_new_phi() 1 0.04403 0.04403 0.04403 4.93% Gravity::actual_multilevel_solve() 1 0.04402 0.04402 0.04402 4.93% FillPatchIterator::Initialize 41 0.04293 0.04293 0.04293 4.81% FillPatchIterator::FillFromLevel0() 41 0.04138 0.04138 0.04138 4.64% FillPatchSingleLevel 41 0.04134 0.04134 0.04134 4.63% StateDataPhysBCFunct::() 41 0.03729 0.03729 0.03729 4.18% MLCellLinOp::apply() 1142 0.03622 0.03622 0.03622 4.06% MLMG::mgVcycle_down::0 82 0.03383 0.03383 0.03383 3.79% FabArray::FillBoundary() 4023 0.03286 0.03286 0.03286 3.68% MLPoisson::Fsmooth() 3280 0.03221 0.03221 0.03221 3.61% FillBoundary_nowait() 4023 0.03208 0.03208 0.03208 3.59% MLMG::mgVcycle_up::0 82 0.0255 0.0255 0.0255 2.86% StateData::FillBoundary(geom) 328 0.02519 0.02519 0.02519 2.82% Castro::computeTemp() 63 0.02246 0.02246 0.02246 2.52% MLCellLinOp::correctionResidual() 492 0.0221 0.0221 0.0221 2.48% Castro::initialize_do_advance() 10 0.02191 0.02191 0.02191 2.45% amrex::Dot() 1114 0.02028 0.02028 0.02028 2.27% MLMG:computeResOfCorrection() 410 0.01949 0.01949 0.01949 2.18% Castro::do_old_sources() 10 0.0193 0.0193 0.0193 2.16% Castro::normalize_species() 62 0.01902 0.01902 0.01902 2.13% Gravity::get_new_grav_vector() 11 0.01727 0.01727 0.01727 1.93% MLPoisson::define() 11 0.01609 0.01609 0.01609 1.80% MLMG::mgVcycle_down::1 82 0.0158 0.0158 0.0158 1.77% amrex::Copy() 1029 0.01479 0.01479 0.01479 1.66% Castro::construct_old_gravity() 10 0.01475 0.01475 0.01475 1.65% Gravity::get_old_grav_vector() 10 0.01474 0.01474 0.01474 1.65% MLMG::mgVcycle_down::2 82 0.01454 0.01454 0.01454 1.63% FabArray::norminf() 743 0.01427 0.01427 0.01427 1.60% MLMG::mgVcycle_down::3 82 0.01421 0.01421 0.01421 1.59% FabArray::ParallelCopy() 861 0.01417 0.01417 0.01417 1.59% MLMG::mgVcycle_down::4 82 0.01404 0.01404 0.01404 1.57% FabArray::ParallelCopy_nowait() 861 0.01391 0.01391 0.01391 1.56% FabArray::setVal() 1144 0.01314 0.01314 0.01314 1.47% Castro::initialize_advance() 10 0.01275 0.01275 0.01275 1.43% Castro::do_new_sources() 10 0.01271 0.01271 0.01271 1.42% Castro::expand_state() 10 0.01219 0.01219 0.01219 1.37% MLCGSolver::ParallelAllReduce 1514 0.01217 0.01217 0.01217 1.36% MLMG::addInterpCorrection() 410 0.01172 0.01172 0.01172 1.31% MLMG::mgVcycle_up::1 82 0.01139 0.01139 0.01139 1.28% MLMG::mgVcycle_up::4 82 0.01137 0.01137 0.01137 1.27% Castro::enforce_min_density() 62 0.01132 0.01132 0.01132 1.27% amrex::average_down 410 0.01112 0.01112 0.01112 1.25% MLMG::mgVcycle_up::2 82 0.01108 0.01108 0.01108 1.24% MLCellLinOp::defineAuxData() 11 0.01106 0.01106 0.01106 1.24% MLMG::mgVcycle_up::3 82 0.01093 0.01093 0.01093 1.22% MLPoisson::Fapply() 1142 0.0103 0.0103 0.0103 1.15% Castro::post_timestep() 10 0.01006 0.01006 0.01006 1.13% Gravity::fill_multipole_BCs() 11 0.009289 0.009289 0.009289 1.04% FabArray::Saxpy() 813 0.008186 0.008186 0.008186 0.92% FabArray::Xpay() 821 0.008114 0.008114 0.008114 0.91% MLCellLinOp::solutionResidual() 93 0.007453 0.007453 0.007453 0.84% Castro::reset_internal_energy(MultiFab) 63 0.00713 0.00713 0.00713 0.80% MLMG::computeResidual() 82 0.006186 0.006186 0.006186 0.69% Castro::estTimeStep() 21 0.00536 0.00536 0.00536 0.60% Amr::InitializeInit() 1 0.005161 0.005161 0.005161 0.58% Amr::defBaseLevel() 1 0.005156 0.005156 0.005156 0.58% MLMG::prepareForSolve() 11 0.004879 0.004879 0.004879 0.55% MLCellLinOp::defineBC() 11 0.004789 0.004789 0.004789 0.54% BndryData::define() 11 0.004571 0.004571 0.004571 0.51% Castro::initData() 1 0.004478 0.004478 0.004478 0.50% FabArray::LinComb() 557 0.004469 0.004469 0.004469 0.50% amrex::Add() 164 0.00442 0.00442 0.00442 0.50% Castro::construct_new_source() 50 0.003455 0.003455 0.003455 0.39% Castro::construct_new_gravity_source() 10 0.003396 0.003396 0.003396 0.38% Castro::construct_old_source() 50 0.002961 0.002961 0.002961 0.33% Castro::construct_old_gravity_source() 10 0.002941 0.002941 0.002941 0.33% Castro::computeNewDt() 9 0.002413 0.002413 0.002413 0.27% MLMG::ResNormInf() 93 0.002159 0.002159 0.002159 0.24% Castro::enforce_speed_limit() 62 0.002143 0.002143 0.002143 0.24% Castro::finalize_do_advance() 10 0.001897 0.001897 0.001897 0.21% Castro::apply_source_to_state() 20 0.00187 0.00187 0.00187 0.21% check_for_negative_density() 10 0.001767 0.001767 0.001767 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0017 0.0017 0.0017 0.19% Castro::reset_internal_energy(Fab) 504 0.001558 0.001558 0.001558 0.17% MLMG::getGradSolution() 11 0.001519 0.001519 0.001519 0.17% MLCellLinOp::compGrad() 11 0.001513 0.001513 0.001513 0.17% FabArrayBase::getCPC() 1323 0.001446 0.001446 0.001446 0.16% MLCellLinOp::setLevelBC() 11 0.001423 0.001423 0.001423 0.16% FabArray::mult() 43 0.001343 0.001343 0.001343 0.15% FabArray::setDomainBndry() 41 0.001315 0.001315 0.001315 0.15% MLMG::computeMLResidual() 11 0.00131 0.00131 0.00131 0.15% Castro::check_for_nan() 20 0.001271 0.001271 0.001271 0.14% MLPoisson::prepareForSolve() 11 0.001265 0.001265 0.001265 0.14% MultiFab::contains_nan() 20 0.001257 0.001257 0.001257 0.14% MLCellLinOp::prepareForSolve() 11 0.001257 0.001257 0.001257 0.14% Castro::computeInitialDt() 2 0.001101 0.001101 0.001101 0.12% Gravity::update_max_rhs() 11 0.0009601 0.0009601 0.0009601 0.11% Castro::post_regrid() 1 0.0007827 0.0007827 0.0007827 0.09% FabArrayBase::getFB() 4023 0.0007048 0.0007048 0.0007048 0.08% FabArrayBase::CPC::define() 454 0.0006465 0.0006465 0.0006465 0.07% Castro::Castro() 1 0.0005995 0.0005995 0.0005995 0.07% Castro::finalize_advance() 10 0.0005817 0.0005817 0.0005817 0.07% Amr::InitAmr() 1 0.0004837 0.0004837 0.0004837 0.05% Gravity::swapTimeLevels() 10 0.0004299 0.0004299 0.0004299 0.05% MLMG::MLResNormInf() 11 0.0003356 0.0003356 0.0003356 0.04% MultiFab::max() 11 0.0003202 0.0003202 0.0003202 0.04% Castro::buildMetrics() 1 0.0002956 0.0002956 0.0002956 0.03% MLLinOp::define() 11 0.0002299 0.0002299 0.0002299 0.03% MLMG::MLRhsNormInf() 11 0.0002214 0.0002214 0.0002214 0.02% MLLinOp::defineGrids() 11 0.0002138 0.0002138 0.0002138 0.02% Castro::create_source_corrector() 10 0.0001506 0.0001506 0.0001506 0.02% FabArrayBase::FB::FB() 56 9.097e-05 9.097e-05 9.097e-05 0.01% Castro::enforce_consistent_e() 1 7.193e-05 7.193e-05 7.193e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.749e-05 5.749e-05 5.749e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.326e-05 5.326e-05 5.326e-05 0.01% makeSFC 55 3.883e-05 3.883e-05 3.883e-05 0.00% StateData::define() 4 3.809e-05 3.809e-05 3.809e-05 0.00% Castro::swap_state_time_levels() 10 3.66e-05 3.66e-05 3.66e-05 0.00% Castro::initMFs() 1 3.013e-05 3.013e-05 3.013e-05 0.00% Amr::writeSmallPlotFile() 1 2.696e-05 2.696e-05 2.696e-05 0.00% DistributionMapping::Distribute() 56 1.487e-05 1.487e-05 1.487e-05 0.00% Amr::initSubcycle() 1 8.868e-06 8.868e-06 8.868e-06 0.00% AmrLevel::checkPointPost() 3 5.521e-06 5.521e-06 5.521e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.342e-06 4.342e-06 4.342e-06 0.00% Gravity::set_mass_offset() 11 4.111e-06 4.111e-06 4.111e-06 0.00% Castro::retry_advance_ctu() 10 4.084e-06 4.084e-06 4.084e-06 0.00% Castro::FluxRegCrseInit 10 2.677e-06 2.677e-06 2.677e-06 0.00% Castro::FluxRegFineAdd() 10 2.351e-06 2.351e-06 2.351e-06 0.00% AmrLevel::checkPointPre() 3 2.034e-06 2.034e-06 2.034e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.972e-06 1.972e-06 1.972e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 91 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 147 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 1046 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1713 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 3504 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2081 B 2048 KiB Gravity::solve_for_phi() 80 80 551 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 320 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 203 KiB 671 KiB Castro::estTimeStep() 21 21 2926 B 480 KiB VisMF::Write(FabArray) 656 656 3373 B 320 KiB Castro::normalize_species() 62 62 6941 B 320 KiB amrex::average_down 1067 1067 1250 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1126 B 257 KiB amrex::Dot() 1360 1360 3351 B 160 KiB FabArray::norminf() 907 907 2363 B 160 KiB check_for_negative_density() 10 10 287 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3422 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 308 B 9648 B MLCellLinOp::applyBC() 8866 8866 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3922 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 117 B 1472 B MLCellLinOp::defineBC() 66 66 360 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 609 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 478 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3422 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 308 B 9648 B MLCellLinOp::applyBC() 4433 4433 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3922 B 6144 B Gravity::get_new_grav_vector() 3 3 2892 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 3024 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 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 292 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 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.09-23-g2e99628138df) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-23-g2e99628138df) initialized Starting run at 07:46:29 UTC on 2023-09-25. Successfully read inputs file ... Castro git describe: 23.09-31-g025c1f156 AMReX git describe: 23.09-23-g2e9962813 Microphysics git describe: 23.09-14-g9c08d809 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.488781585 Restart time = 0.049750589 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.05180498 [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.046708718 [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.065076844 [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.069830695 [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.061117822 [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.093101769 seconds Ending run at 07:46:29 UTC on 2023-09-25. Run time = 0.438407001 Run time without initialization = 0.388078704 Average number of zones advanced per microsecond: 3.377 Average number of zones advanced per microsecond per rank: 3.377 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4384 ... 0.4384 ... 0.4384 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1107 0.1107 0.1107 25.26% Amr::writePlotFile() 1 0.06555 0.06555 0.06555 14.95% VisMF::Read() 3 0.03844 0.03844 0.03844 8.77% MLCellLinOp::applyBC() 1946 0.03291 0.03291 0.03291 7.51% VisMF::Write(FabArray) 1 0.02738 0.02738 0.02738 6.25% MLPoisson::Fsmooth() 1440 0.01384 0.01384 0.01384 3.16% FillBoundary_nowait() 1766 0.01309 0.01309 0.01309 2.99% StateData::FillBoundary(geom) 160 0.01168 0.01168 0.01168 2.66% Castro::normalize_species() 30 0.009086 0.009086 0.009086 2.07% amrex::Dot() 484 0.00863 0.00863 0.00863 1.97% Castro::computeTemp() 30 0.007498 0.007498 0.007498 1.71% amrex::Copy() 463 0.007069 0.007069 0.007069 1.61% FabArray::setVal() 537 0.006324 0.006324 0.006324 1.44% FabArray::norminf() 326 0.006195 0.006195 0.006195 1.41% FabArray::ParallelCopy_nowait() 380 0.00593 0.00593 0.00593 1.35% Castro::enforce_min_density() 30 0.005626 0.005626 0.005626 1.28% Gravity::fill_multipole_BCs() 6 0.005442 0.005442 0.005442 1.24% MLCellLinOp::defineAuxData() 6 0.005211 0.005211 0.005211 1.19% Amr::restart() 1 0.004778 0.004778 0.004778 1.09% StateDataPhysBCFunct::() 20 0.004477 0.004477 0.004477 1.02% MLPoisson::Fapply() 500 0.004449 0.004449 0.004449 1.01% FabArray::Saxpy() 355 0.003662 0.003662 0.003662 0.84% FabArray::Xpay() 361 0.003492 0.003492 0.003492 0.80% Castro::estTimeStep() 10 0.003058 0.003058 0.003058 0.70% MLMG::addInterpCorrection() 180 0.003 0.003 0.003 0.68% amrex::average_down 180 0.0026 0.0026 0.0026 0.59% Castro::reset_internal_energy(MultiFab) 30 0.00222 0.00222 0.00222 0.51% FabArray::LinComb() 242 0.002214 0.002214 0.002214 0.51% BndryData::define() 6 0.001985 0.001985 0.001985 0.45% amrex::Add() 72 0.001871 0.001871 0.001871 0.43% Castro::construct_new_gravity_source() 5 0.001724 0.001724 0.001724 0.39% Castro::construct_old_gravity_source() 5 0.001514 0.001514 0.001514 0.35% Castro::enforce_speed_limit() 30 0.0013 0.0013 0.0013 0.30% MLCGSolver::bicgstab 36 0.0009501 0.0009501 0.0009501 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009319 0.0009319 0.0009319 0.21% check_for_negative_density() 5 0.0008672 0.0008672 0.0008672 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008209 0.0008209 0.0008209 0.19% MLCellLinOp::setLevelBC() 6 0.0007815 0.0007815 0.0007815 0.18% Castro::reset_internal_energy(Fab) 240 0.0007593 0.0007593 0.0007593 0.17% MLCellLinOp::prepareForSolve() 6 0.0006956 0.0006956 0.0006956 0.16% FabArray::mult() 22 0.0006741 0.0006741 0.0006741 0.15% FabArray::setDomainBndry() 20 0.0006576 0.0006576 0.0006576 0.15% MultiFab::contains_nan() 10 0.0006499 0.0006499 0.0006499 0.15% MLCellLinOp::compGrad() 6 0.0005713 0.0005713 0.0005713 0.13% MLMG::prepareForSolve() 6 0.0005221 0.0005221 0.0005221 0.12% MLCellLinOp::smooth() 720 0.0004764 0.0004764 0.0004764 0.11% FabArrayBase::CPC::define() 244 0.0004125 0.0004125 0.0004125 0.09% Amr::InitAmr() 1 0.000384 0.000384 0.000384 0.09% FabArrayBase::getCPC() 632 0.0003567 0.0003567 0.0003567 0.08% FabArray::FillBoundary() 1766 0.0003498 0.0003498 0.0003498 0.08% Gravity::get_old_grav_vector() 5 0.0003108 0.0003108 0.0003108 0.07% FabArrayBase::getFB() 1766 0.0002698 0.0002698 0.0002698 0.06% main() 1 0.0002662 0.0002662 0.0002662 0.06% Gravity::get_new_grav_vector() 5 0.0002564 0.0002564 0.0002564 0.06% MultiFab::max() 6 0.0001969 0.0001969 0.0001969 0.04% MLCellLinOp::apply() 500 0.0001922 0.0001922 0.0001922 0.04% Amr::coarseTimeStep() 5 0.000192 0.000192 0.000192 0.04% Castro::subcycle_advance_ctu() 5 0.0001755 0.0001755 0.0001755 0.04% AmrLevel::FillPatch() 20 0.0001583 0.0001583 0.0001583 0.04% FabArray::ParallelCopy() 380 0.0001293 0.0001293 0.0001293 0.03% MLCGSolver::ParallelAllReduce 659 0.0001259 0.0001259 0.0001259 0.03% MLCellLinOp::defineBC() 6 0.0001124 0.0001124 0.0001124 0.03% FillPatchIterator::Initialize 20 0.000102 0.000102 0.000102 0.02% MLCellLinOp::correctionResidual() 216 9.894e-05 9.894e-05 9.894e-05 0.02% Castro::create_source_corrector() 5 9.802e-05 9.802e-05 9.802e-05 0.02% MLMG::mgVcycle() 36 8.741e-05 8.741e-05 8.741e-05 0.02% MLLinOp::defineGrids() 6 8.661e-05 8.661e-05 8.661e-05 0.02% Castro::advance() 5 8.404e-05 8.404e-05 8.404e-05 0.02% Castro::do_advance_ctu() 5 7.927e-05 7.927e-05 7.927e-05 0.02% Amr::timeStep() 5 7.841e-05 7.841e-05 7.841e-05 0.02% AmrLevel::restart() 1 6.933e-05 6.933e-05 6.933e-05 0.02% Gravity::solve_for_phi() 5 6.752e-05 6.752e-05 6.752e-05 0.02% Castro::initialize_do_advance() 5 6.185e-05 6.185e-05 6.185e-05 0.01% Castro::initialize_advance() 5 6.083e-05 6.083e-05 6.083e-05 0.01% Gravity::update_max_rhs() 6 6.082e-05 6.082e-05 6.082e-05 0.01% StateData::restartDoit() 4 6.063e-05 6.063e-05 6.063e-05 0.01% FabArrayBase::FB::FB() 26 5.964e-05 5.964e-05 5.964e-05 0.01% Castro::do_new_sources() 5 5.271e-05 5.271e-05 5.271e-05 0.01% MLMG:computeResOfCorrection() 180 4.96e-05 4.96e-05 4.96e-05 0.01% Castro::finalize_do_advance() 5 3.982e-05 3.982e-05 3.982e-05 0.01% MLMG::actualBottomSolve() 36 3.955e-05 3.955e-05 3.955e-05 0.01% MLMG::mgVcycle_down::0 36 3.846e-05 3.846e-05 3.846e-05 0.01% MLMG::solve() 6 3.542e-05 3.542e-05 3.542e-05 0.01% MLMG::mgVcycle_down::1 36 3.45e-05 3.45e-05 3.45e-05 0.01% Castro::construct_new_source() 25 3.448e-05 3.448e-05 3.448e-05 0.01% MLMG::mgVcycle_down::2 36 3.27e-05 3.27e-05 3.27e-05 0.01% Castro::clean_state() 30 3.169e-05 3.169e-05 3.169e-05 0.01% MLMG::mgVcycle_down::4 36 3.107e-05 3.107e-05 3.107e-05 0.01% MLMG::mgVcycle_down::3 36 2.969e-05 2.969e-05 2.969e-05 0.01% Castro::finalize_advance() 5 2.888e-05 2.888e-05 2.888e-05 0.01% Amr::writeSmallPlotFile() 1 2.861e-05 2.861e-05 2.861e-05 0.01% Castro::construct_old_source() 25 2.688e-05 2.688e-05 2.688e-05 0.01% MLMG::mgVcycle_up::4 36 2.663e-05 2.663e-05 2.663e-05 0.01% Castro::buildMetrics() 1 2.536e-05 2.536e-05 2.536e-05 0.01% Castro::swap_state_time_levels() 5 2.43e-05 2.43e-05 2.43e-05 0.01% MLMG::mgVcycle_up::1 36 2.361e-05 2.361e-05 2.361e-05 0.01% Castro::initMFs() 1 2.295e-05 2.295e-05 2.295e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.254e-05 2.254e-05 2.254e-05 0.01% Castro::post_restart() 1 2.242e-05 2.242e-05 2.242e-05 0.01% MLMG::mgVcycle_up::0 36 2.204e-05 2.204e-05 2.204e-05 0.01% MLCellLinOp::solutionResidual() 42 2.195e-05 2.195e-05 2.195e-05 0.01% MLMG::mgVcycle_up::3 36 2.146e-05 2.146e-05 2.146e-05 0.00% MLMG::oneIter() 36 2.092e-05 2.092e-05 2.092e-05 0.00% MLMG::mgVcycle_up::2 36 2.025e-05 2.025e-05 2.025e-05 0.00% MLMG::ResNormInf() 42 1.7e-05 1.7e-05 1.7e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.674e-05 1.674e-05 1.674e-05 0.00% FillPatchSingleLevel 20 1.536e-05 1.536e-05 1.536e-05 0.00% MLMG::mgVcycle_bottom 36 1.522e-05 1.522e-05 1.522e-05 0.00% MLMG::computeResidual() 36 1.414e-05 1.414e-05 1.414e-05 0.00% MLPoisson::define() 6 1.357e-05 1.357e-05 1.357e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.311e-05 1.311e-05 1.311e-05 0.00% makeSFC 30 1.297e-05 1.297e-05 1.297e-05 0.00% Castro::construct_new_gravity() 5 1.24e-05 1.24e-05 1.24e-05 0.00% Castro::do_old_sources() 5 1.125e-05 1.125e-05 1.125e-05 0.00% Amr::initSubcycle() 1 1.105e-05 1.105e-05 1.105e-05 0.00% MLLinOp::define() 6 1.002e-05 1.002e-05 1.002e-05 0.00% DistributionMapping::Distribute() 31 8.199e-06 8.199e-06 8.199e-06 0.00% Gravity::actual_multilevel_solve() 1 7.779e-06 7.779e-06 7.779e-06 0.00% Castro::check_for_nan() 10 6.899e-06 6.899e-06 6.899e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.793e-06 6.793e-06 6.793e-06 0.00% Castro::construct_old_gravity() 5 6.058e-06 6.058e-06 6.058e-06 0.00% Castro::apply_source_to_state() 10 5.58e-06 5.58e-06 5.58e-06 0.00% MLPoisson::prepareForSolve() 6 4.616e-06 4.616e-06 4.616e-06 0.00% Gravity::swapTimeLevels() 5 4.421e-06 4.421e-06 4.421e-06 0.00% MLMG::computeMLResidual() 6 4.357e-06 4.357e-06 4.357e-06 0.00% Castro::post_timestep() 5 4.277e-06 4.277e-06 4.277e-06 0.00% Castro::computeNewDt() 5 3.882e-06 3.882e-06 3.882e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.455e-06 3.455e-06 3.455e-06 0.00% MLMG::getGradSolution() 6 3.019e-06 3.019e-06 3.019e-06 0.00% MLMG::MLResNormInf() 6 2.636e-06 2.636e-06 2.636e-06 0.00% Castro::expand_state() 5 2.579e-06 2.579e-06 2.579e-06 0.00% MLMG::MLRhsNormInf() 6 2.455e-06 2.455e-06 2.455e-06 0.00% Castro::retry_advance_ctu() 5 2.309e-06 2.309e-06 2.309e-06 0.00% Gravity::set_mass_offset() 6 2.204e-06 2.204e-06 2.204e-06 0.00% Castro::FluxRegFineAdd() 5 1.444e-06 1.444e-06 1.444e-06 0.00% Castro::FluxRegCrseInit 5 1.416e-06 1.416e-06 1.416e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.122e-06 1.122e-06 1.122e-06 0.00% Amr::init() 1 9.14e-07 9.14e-07 9.14e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4384 0.4384 0.4384 100.00% Amr::coarseTimeStep() 5 0.2947 0.2947 0.2947 67.22% Amr::timeStep() 5 0.2926 0.2926 0.2926 66.74% Castro::advance() 5 0.2872 0.2872 0.2872 65.50% Castro::subcycle_advance_ctu() 5 0.2802 0.2802 0.2802 63.92% Castro::do_advance_ctu() 5 0.2801 0.2801 0.2801 63.88% Castro::construct_new_gravity() 5 0.1287 0.1287 0.1287 29.35% Gravity::solve_phi_with_mlmg() 6 0.1271 0.1271 0.1271 28.98% Gravity::solve_for_phi() 5 0.1215 0.1215 0.1215 27.72% Gravity::actual_solve_with_mlmg() 6 0.1214 0.1214 0.1214 27.69% Castro::construct_ctu_hydro_source() 5 0.1161 0.1161 0.1161 26.48% MLMG::solve() 6 0.1102 0.1102 0.1102 25.13% MLMG::oneIter() 36 0.103 0.103 0.103 23.48% MLMG::mgVcycle() 36 0.1014 0.1014 0.1014 23.14% Amr::writePlotFile() 1 0.09319 0.09319 0.09319 21.25% Amr::init() 1 0.04981 0.04981 0.04981 11.36% Amr::restart() 1 0.04981 0.04981 0.04981 11.36% MLCellLinOp::smooth() 720 0.04962 0.04962 0.04962 11.32% MLCellLinOp::applyBC() 1946 0.04668 0.04668 0.04668 10.65% AmrLevel::restart() 1 0.03877 0.03877 0.03877 8.84% StateData::restartDoit() 4 0.03869 0.03869 0.03869 8.83% VisMF::Read() 3 0.03844 0.03844 0.03844 8.77% MLMG::mgVcycle_bottom 36 0.03155 0.03155 0.03155 7.20% MLMG::actualBottomSolve() 36 0.03154 0.03154 0.03154 7.19% MLCGSolver::bicgstab 36 0.03124 0.03124 0.03124 7.13% VisMF::Write(FabArray) 1 0.02738 0.02738 0.02738 6.25% Castro::clean_state() 30 0.02652 0.02652 0.02652 6.05% AmrLevel::FillPatch() 20 0.02103 0.02103 0.02103 4.80% FillPatchIterator::Initialize 20 0.01899 0.01899 0.01899 4.33% FillPatchIterator::FillFromLevel0() 20 0.01823 0.01823 0.01823 4.16% FillPatchSingleLevel 20 0.01821 0.01821 0.01821 4.15% StateDataPhysBCFunct::() 20 0.01615 0.01615 0.01615 3.68% MLCellLinOp::apply() 500 0.01574 0.01574 0.01574 3.59% MLMG::mgVcycle_down::0 36 0.01449 0.01449 0.01449 3.30% MLPoisson::Fsmooth() 1440 0.01384 0.01384 0.01384 3.16% FabArray::FillBoundary() 1766 0.01377 0.01377 0.01377 3.14% FillBoundary_nowait() 1766 0.01342 0.01342 0.01342 3.06% StateData::FillBoundary(geom) 160 0.01168 0.01168 0.01168 2.66% MLMG::mgVcycle_up::0 36 0.01085 0.01085 0.01085 2.47% Castro::initialize_do_advance() 5 0.01059 0.01059 0.01059 2.41% Castro::computeTemp() 30 0.01048 0.01048 0.01048 2.39% MLCellLinOp::correctionResidual() 216 0.009482 0.009482 0.009482 2.16% Castro::do_old_sources() 5 0.00936 0.00936 0.00936 2.13% Castro::normalize_species() 30 0.009086 0.009086 0.009086 2.07% MLPoisson::define() 6 0.008754 0.008754 0.008754 2.00% amrex::Dot() 484 0.00863 0.00863 0.00863 1.97% MLMG:computeResOfCorrection() 180 0.008343 0.008343 0.008343 1.90% amrex::Copy() 463 0.007069 0.007069 0.007069 1.61% Gravity::get_new_grav_vector() 5 0.007041 0.007041 0.007041 1.61% Castro::construct_old_gravity() 5 0.007021 0.007021 0.007021 1.60% Gravity::get_old_grav_vector() 5 0.007015 0.007015 0.007015 1.60% MLMG::mgVcycle_down::1 36 0.006866 0.006866 0.006866 1.57% Castro::do_new_sources() 5 0.006565 0.006565 0.006565 1.50% Castro::initialize_advance() 5 0.006536 0.006536 0.006536 1.49% FabArray::ParallelCopy() 380 0.006452 0.006452 0.006452 1.47% FabArray::setVal() 537 0.006324 0.006324 0.006324 1.44% FabArray::ParallelCopy_nowait() 380 0.006323 0.006323 0.006323 1.44% MLMG::mgVcycle_down::2 36 0.006249 0.006249 0.006249 1.43% FabArray::norminf() 326 0.006195 0.006195 0.006195 1.41% Castro::post_restart() 1 0.006101 0.006101 0.006101 1.39% MLMG::mgVcycle_down::3 36 0.006085 0.006085 0.006085 1.39% MLMG::mgVcycle_down::4 36 0.006016 0.006016 0.006016 1.37% MLCellLinOp::defineAuxData() 6 0.005962 0.005962 0.005962 1.36% Castro::expand_state() 5 0.005819 0.005819 0.005819 1.33% Gravity::multilevel_solve_for_new_phi() 1 0.005755 0.005755 0.005755 1.31% Gravity::actual_multilevel_solve() 1 0.005738 0.005738 0.005738 1.31% Castro::enforce_min_density() 30 0.005626 0.005626 0.005626 1.28% Gravity::fill_multipole_BCs() 6 0.005558 0.005558 0.005558 1.27% Castro::post_timestep() 5 0.005391 0.005391 0.005391 1.23% MLCGSolver::ParallelAllReduce 659 0.005223 0.005223 0.005223 1.19% MLMG::addInterpCorrection() 180 0.005191 0.005191 0.005191 1.18% MLMG::mgVcycle_up::4 36 0.004911 0.004911 0.004911 1.12% MLMG::mgVcycle_up::1 36 0.004874 0.004874 0.004874 1.11% amrex::average_down 180 0.004822 0.004822 0.004822 1.10% MLMG::mgVcycle_up::2 36 0.004771 0.004771 0.004771 1.09% MLMG::mgVcycle_up::3 36 0.004684 0.004684 0.004684 1.07% MLPoisson::Fapply() 500 0.004449 0.004449 0.004449 1.01% FabArray::Saxpy() 355 0.003662 0.003662 0.003662 0.84% FabArray::Xpay() 361 0.003492 0.003492 0.003492 0.80% MLCellLinOp::solutionResidual() 42 0.00341 0.00341 0.00341 0.78% Castro::estTimeStep() 10 0.003058 0.003058 0.003058 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002979 0.002979 0.002979 0.68% MLMG::prepareForSolve() 6 0.002661 0.002661 0.002661 0.61% MLCellLinOp::defineBC() 6 0.002654 0.002654 0.002654 0.61% MLMG::computeResidual() 36 0.002651 0.002651 0.002651 0.60% BndryData::define() 6 0.002542 0.002542 0.002542 0.58% FabArray::LinComb() 242 0.002214 0.002214 0.002214 0.51% Castro::computeNewDt() 5 0.001909 0.001909 0.001909 0.44% amrex::Add() 72 0.001871 0.001871 0.001871 0.43% Castro::construct_new_source() 25 0.001759 0.001759 0.001759 0.40% Castro::construct_new_gravity_source() 5 0.001724 0.001724 0.001724 0.39% Castro::construct_old_source() 25 0.001541 0.001541 0.001541 0.35% Castro::construct_old_gravity_source() 5 0.001514 0.001514 0.001514 0.35% Castro::enforce_speed_limit() 30 0.0013 0.0013 0.0013 0.30% Castro::finalize_do_advance() 5 0.001193 0.001193 0.001193 0.27% MLMG::ResNormInf() 42 0.0009736 0.0009736 0.0009736 0.22% Castro::apply_source_to_state() 10 0.0009476 0.0009476 0.0009476 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009319 0.0009319 0.0009319 0.21% check_for_negative_density() 5 0.0008672 0.0008672 0.0008672 0.20% MLMG::getGradSolution() 6 0.0008452 0.0008452 0.0008452 0.19% MLCellLinOp::compGrad() 6 0.0008422 0.0008422 0.0008422 0.19% MLCellLinOp::setLevelBC() 6 0.0007815 0.0007815 0.0007815 0.18% MLMG::computeMLResidual() 6 0.0007775 0.0007775 0.0007775 0.18% FabArrayBase::getCPC() 632 0.0007691 0.0007691 0.0007691 0.18% Castro::reset_internal_energy(Fab) 240 0.0007593 0.0007593 0.0007593 0.17% MLPoisson::prepareForSolve() 6 0.0007002 0.0007002 0.0007002 0.16% MLCellLinOp::prepareForSolve() 6 0.0006956 0.0006956 0.0006956 0.16% Gravity::update_max_rhs() 6 0.0006806 0.0006806 0.0006806 0.16% FabArray::mult() 22 0.0006741 0.0006741 0.0006741 0.15% FabArray::setDomainBndry() 20 0.0006576 0.0006576 0.0006576 0.15% Castro::check_for_nan() 10 0.0006568 0.0006568 0.0006568 0.15% MultiFab::contains_nan() 10 0.0006499 0.0006499 0.0006499 0.15% FabArrayBase::CPC::define() 244 0.0004125 0.0004125 0.0004125 0.09% Amr::InitAmr() 1 0.0003951 0.0003951 0.0003951 0.09% FabArrayBase::getFB() 1766 0.0003295 0.0003295 0.0003295 0.08% Castro::finalize_advance() 5 0.000302 0.000302 0.000302 0.07% Gravity::swapTimeLevels() 5 0.000222 0.000222 0.000222 0.05% MultiFab::max() 6 0.0001969 0.0001969 0.0001969 0.04% MLMG::MLResNormInf() 6 0.0001853 0.0001853 0.0001853 0.04% Castro::buildMetrics() 1 0.000143 0.000143 0.000143 0.03% MLLinOp::define() 6 0.0001243 0.0001243 0.0001243 0.03% MLMG::MLRhsNormInf() 6 0.0001157 0.0001157 0.0001157 0.03% MLLinOp::defineGrids() 6 0.0001143 0.0001143 0.0001143 0.03% Castro::create_source_corrector() 5 9.802e-05 9.802e-05 9.802e-05 0.02% FabArrayBase::FB::FB() 26 5.964e-05 5.964e-05 5.964e-05 0.01% Amr::writeSmallPlotFile() 1 2.861e-05 2.861e-05 2.861e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.657e-05 2.657e-05 2.657e-05 0.01% Castro::swap_state_time_levels() 5 2.43e-05 2.43e-05 2.43e-05 0.01% Castro::initMFs() 1 2.295e-05 2.295e-05 2.295e-05 0.01% makeSFC 30 1.978e-05 1.978e-05 1.978e-05 0.00% Amr::initSubcycle() 1 1.105e-05 1.105e-05 1.105e-05 0.00% DistributionMapping::Distribute() 31 8.199e-06 8.199e-06 8.199e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.849e-06 4.849e-06 4.849e-06 0.00% Castro::retry_advance_ctu() 5 2.309e-06 2.309e-06 2.309e-06 0.00% Gravity::set_mass_offset() 6 2.204e-06 2.204e-06 2.204e-06 0.00% Castro::FluxRegFineAdd() 5 1.444e-06 1.444e-06 1.444e-06 0.00% Castro::FluxRegCrseInit 5 1.416e-06 1.416e-06 1.416e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.122e-06 1.122e-06 1.122e-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 187 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 118 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 977 KiB 39 MiB Castro::initialize_do_advance() 40 40 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1844 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6814 KiB 14 MiB MLMG::prepareForSolve() 361 361 3085 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 166 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 164 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6802 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3086 B 2048 KiB Gravity::solve_for_phi() 40 40 566 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 284 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 182 KiB 671 KiB Castro::estTimeStep() 10 10 3346 B 480 KiB VisMF::Write(FabArray) 112 112 1221 B 320 KiB Castro::normalize_species() 30 30 6747 B 320 KiB amrex::average_down 469 469 1112 B 257 KiB MLMG::addInterpCorrection() 468 468 1012 B 257 KiB amrex::Dot() 592 592 2894 B 160 KiB FabArray::norminf() 398 398 2081 B 160 KiB check_for_negative_density() 5 5 315 B 160 KiB MultiFab::max() 6 6 70 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 2991 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 260 B 9648 B MLCellLinOp::applyBC() 3892 3892 195 B 9344 B amrex::Copy() 56 56 5821 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 32 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 103 B 1472 B MLCellLinOp::defineBC() 36 36 319 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1191 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 80 KiB 8192 KiB VisMF::Write(FabArray) 120 120 179 KiB 3584 KiB VisMF::Read() 24 24 170 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2991 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 260 B 9648 B MLCellLinOp::applyBC() 1946 1946 195 B 9328 B amrex::Copy() 56 56 5821 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2677 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 33 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 498 B 1296 B amrex::average_down 37 37 226 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() 398 398 15 B 272 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.09-23-g2e99628138df) finalized