Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-5-gb98bdae9fb67) initialized Starting run at 07:34:21 UTC on 2023-09-12. Successfully read inputs file ... Castro git describe: 23.09-4-ge16cd4ff2 AMReX git describe: 23.09-5-gb98bdae9f Microphysics git describe: 23.09-4-g2c408a9c 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.050892746 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028556248 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.052202421 [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.05271601 [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.07635035 [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.074907306 [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.066681862 [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.049791774 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.068789365 [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.073308235 [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.075912405 [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.047865251 [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.05143211 [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.049335577 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028428671 seconds Ending run at 07:34:22 UTC on 2023-09-12. Run time = 0.899479166 Run time without initialization = 0.768324842 Average number of zones advanced per microsecond: 3.412 Average number of zones advanced per microsecond per rank: 3.412 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8995 ... 0.8995 ... 0.8995 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2659 0.2659 0.2659 29.57% VisMF::Write(FabArray) 11 0.1998 0.1998 0.1998 22.21% MLCellLinOp::applyBC() 4379 0.07672 0.07672 0.07672 8.53% MLPoisson::Fsmooth() 3240 0.03299 0.03299 0.03299 3.67% FillBoundary_nowait() 3974 0.0302 0.0302 0.0302 3.36% StateData::FillBoundary(geom) 328 0.02658 0.02658 0.02658 2.96% amrex::Dot() 1100 0.02085 0.02085 0.02085 2.32% Castro::normalize_species() 62 0.01868 0.01868 0.01868 2.08% Castro::computeTemp() 63 0.0169 0.0169 0.0169 1.88% amrex::Copy() 1019 0.01509 0.01509 0.01509 1.68% FabArray::norminf() 734 0.01455 0.01455 0.01455 1.62% FabArray::setVal() 1135 0.01354 0.01354 0.01354 1.50% FabArray::ParallelCopy_nowait() 851 0.01342 0.01342 0.01342 1.49% Castro::enforce_min_density() 62 0.01303 0.01303 0.01303 1.45% StateDataPhysBCFunct::() 41 0.01099 0.01099 0.01099 1.22% MLPoisson::Fapply() 1128 0.01051 0.01051 0.01051 1.17% MLCellLinOp::defineAuxData() 11 0.01005 0.01005 0.01005 1.12% Gravity::fill_multipole_BCs() 11 0.009144 0.009144 0.009144 1.02% FabArray::Saxpy() 803 0.008358 0.008358 0.008358 0.93% FabArray::Xpay() 811 0.008232 0.008232 0.008232 0.92% MLMG::addInterpCorrection() 405 0.006801 0.006801 0.006801 0.76% Castro::estTimeStep() 21 0.006199 0.006199 0.006199 0.69% amrex::average_down 405 0.006128 0.006128 0.006128 0.68% Castro::reset_internal_energy(MultiFab) 63 0.00482 0.00482 0.00482 0.54% Amr::checkPoint() 3 0.00478 0.00478 0.00478 0.53% FabArray::LinComb() 550 0.004591 0.004591 0.004591 0.51% amrex::Add() 162 0.00437 0.00437 0.00437 0.49% BndryData::define() 11 0.003837 0.003837 0.003837 0.43% Castro::construct_new_gravity_source() 10 0.003369 0.003369 0.003369 0.37% Castro::construct_old_gravity_source() 10 0.002893 0.002893 0.002893 0.32% Castro::enforce_speed_limit() 62 0.002335 0.002335 0.002335 0.26% MLCGSolver::bicgstab 81 0.002232 0.002232 0.002232 0.25% Amr::writePlotFile() 2 0.001984 0.001984 0.001984 0.22% Castro::reset_internal_energy(Fab) 504 0.001783 0.001783 0.001783 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001759 0.001759 0.001759 0.20% check_for_negative_density() 10 0.001537 0.001537 0.001537 0.17% Gravity::actual_solve_with_mlmg() 11 0.001531 0.001531 0.001531 0.17% Castro::initData() 1 0.001497 0.001497 0.001497 0.17% MLCellLinOp::setLevelBC() 11 0.001442 0.001442 0.001442 0.16% FabArray::mult() 43 0.00137 0.00137 0.00137 0.15% FabArray::setDomainBndry() 41 0.001344 0.001344 0.001344 0.15% MultiFab::contains_nan() 20 0.001277 0.001277 0.001277 0.14% MLCellLinOp::prepareForSolve() 11 0.001274 0.001274 0.001274 0.14% MLCellLinOp::smooth() 1620 0.001116 0.001116 0.001116 0.12% MLCellLinOp::compGrad() 11 0.001055 0.001055 0.001055 0.12% MLMG::prepareForSolve() 11 0.00102 0.00102 0.00102 0.11% FabArray::FillBoundary() 3974 0.0008274 0.0008274 0.0008274 0.09% FabArrayBase::getCPC() 1313 0.0007896 0.0007896 0.0007896 0.09% FabArrayBase::CPC::define() 454 0.0007234 0.0007234 0.0007234 0.08% FabArrayBase::getFB() 3974 0.0006468 0.0006468 0.0006468 0.07% Gravity::get_new_grav_vector() 11 0.000597 0.000597 0.000597 0.07% Gravity::get_old_grav_vector() 10 0.0004764 0.0004764 0.0004764 0.05% Amr::InitAmr() 1 0.0004743 0.0004743 0.0004743 0.05% MLCellLinOp::apply() 1128 0.0004671 0.0004671 0.0004671 0.05% AmrLevel::FillPatch() 41 0.0003357 0.0003357 0.0003357 0.04% Amr::coarseTimeStep() 10 0.0003281 0.0003281 0.0003281 0.04% MultiFab::max() 11 0.0003214 0.0003214 0.0003214 0.04% MLCGSolver::ParallelAllReduce 1495 0.0003078 0.0003078 0.0003078 0.03% FabArray::ParallelCopy() 851 0.0002711 0.0002711 0.0002711 0.03% main() 1 0.0002631 0.0002631 0.0002631 0.03% MLCellLinOp::correctionResidual() 486 0.0002302 0.0002302 0.0002302 0.03% Castro::subcycle_advance_ctu() 10 0.0002238 0.0002238 0.0002238 0.02% FillPatchIterator::Initialize 41 0.0002234 0.0002234 0.0002234 0.02% MLCellLinOp::defineBC() 11 0.0002151 0.0002151 0.0002151 0.02% MLMG::mgVcycle() 81 0.0002095 0.0002095 0.0002095 0.02% Gravity::solve_for_phi() 10 0.0001706 0.0001706 0.0001706 0.02% Amr::timeStep() 10 0.0001585 0.0001585 0.0001585 0.02% MLLinOp::defineGrids() 11 0.000149 0.000149 0.000149 0.02% Castro::create_source_corrector() 10 0.0001429 0.0001429 0.0001429 0.02% Castro::advance() 10 0.0001298 0.0001298 0.0001298 0.01% MLMG:computeResOfCorrection() 405 0.0001282 0.0001282 0.0001282 0.01% Gravity::update_max_rhs() 11 0.0001241 0.0001241 0.0001241 0.01% StateData::checkPoint() 12 0.0001166 0.0001166 0.0001166 0.01% FabArrayBase::FB::FB() 56 0.0001035 0.0001035 0.0001035 0.01% Castro::Castro() 1 0.0001003 0.0001003 0.0001003 0.01% MLMG::actualBottomSolve() 81 9.618e-05 9.618e-05 9.618e-05 0.01% MLMG::solve() 11 9.237e-05 9.237e-05 9.237e-05 0.01% MLMG::mgVcycle_down::0 81 8.816e-05 8.816e-05 8.816e-05 0.01% MLMG::mgVcycle_down::1 81 8.438e-05 8.438e-05 8.438e-05 0.01% MLMG::mgVcycle_down::2 81 8.139e-05 8.139e-05 8.139e-05 0.01% MLMG::mgVcycle_down::4 81 7.85e-05 7.85e-05 7.85e-05 0.01% Castro::initialize_advance() 10 7.647e-05 7.647e-05 7.647e-05 0.01% AmrLevel::checkPoint() 3 7.633e-05 7.633e-05 7.633e-05 0.01% MLMG::mgVcycle_down::3 81 7.537e-05 7.537e-05 7.537e-05 0.01% Castro::clean_state() 62 7.533e-05 7.533e-05 7.533e-05 0.01% Castro::enforce_consistent_e() 1 6.9e-05 6.9e-05 6.9e-05 0.01% Castro::do_new_sources() 10 6.861e-05 6.861e-05 6.861e-05 0.01% MLMG::mgVcycle_up::4 81 6.4e-05 6.4e-05 6.4e-05 0.01% Castro::finalize_advance() 10 6.092e-05 6.092e-05 6.092e-05 0.01% Castro::initialize_do_advance() 10 5.926e-05 5.926e-05 5.926e-05 0.01% MLMG::oneIter() 81 5.54e-05 5.54e-05 5.54e-05 0.01% MLMG::mgVcycle_up::0 81 5.522e-05 5.522e-05 5.522e-05 0.01% MLMG::mgVcycle_up::3 81 5.257e-05 5.257e-05 5.257e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.163e-05 5.163e-05 5.163e-05 0.01% Castro::do_advance_ctu() 10 5.122e-05 5.122e-05 5.122e-05 0.01% MLCellLinOp::solutionResidual() 92 5.106e-05 5.106e-05 5.106e-05 0.01% MLMG::mgVcycle_up::1 81 4.985e-05 4.985e-05 4.985e-05 0.01% MLMG::mgVcycle_up::2 81 4.934e-05 4.934e-05 4.934e-05 0.01% Castro::finalize_do_advance() 10 4.211e-05 4.211e-05 4.211e-05 0.00% StateData::define() 4 3.906e-05 3.906e-05 3.906e-05 0.00% Castro::initMFs() 1 3.902e-05 3.902e-05 3.902e-05 0.00% Castro::swap_state_time_levels() 10 3.751e-05 3.751e-05 3.751e-05 0.00% FillPatchSingleLevel 41 3.746e-05 3.746e-05 3.746e-05 0.00% MLMG::ResNormInf() 92 3.593e-05 3.593e-05 3.593e-05 0.00% MLMG::mgVcycle_bottom 81 3.558e-05 3.558e-05 3.558e-05 0.00% MLMG::computeResidual() 81 3.444e-05 3.444e-05 3.444e-05 0.00% Amr::writeSmallPlotFile() 1 2.943e-05 2.943e-05 2.943e-05 0.00% Amr::defBaseLevel() 1 2.67e-05 2.67e-05 2.67e-05 0.00% Castro::construct_new_gravity() 10 2.561e-05 2.561e-05 2.561e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.436e-05 2.436e-05 2.436e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.359e-05 2.359e-05 2.359e-05 0.00% makeSFC 55 2.321e-05 2.321e-05 2.321e-05 0.00% Castro::do_old_sources() 10 2.285e-05 2.285e-05 2.285e-05 0.00% Castro::buildMetrics() 1 2.167e-05 2.167e-05 2.167e-05 0.00% MLPoisson::define() 11 2.109e-05 2.109e-05 2.109e-05 0.00% Amr::FinalizeInit() 1 2.068e-05 2.068e-05 2.068e-05 0.00% Castro::construct_old_source() 50 1.943e-05 1.943e-05 1.943e-05 0.00% Castro::construct_new_source() 50 1.929e-05 1.929e-05 1.929e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.731e-05 1.731e-05 1.731e-05 0.00% DistributionMapping::Distribute() 56 1.707e-05 1.707e-05 1.707e-05 0.00% MLLinOp::define() 11 1.518e-05 1.518e-05 1.518e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.509e-05 1.509e-05 1.509e-05 0.00% Castro::check_for_nan() 20 1.395e-05 1.395e-05 1.395e-05 0.00% Castro::apply_source_to_state() 20 1.198e-05 1.198e-05 1.198e-05 0.00% Castro::construct_old_gravity() 10 1.182e-05 1.182e-05 1.182e-05 0.00% Castro::post_init() 1 1.058e-05 1.058e-05 1.058e-05 0.00% MLMG::computeMLResidual() 11 9.186e-06 9.186e-06 9.186e-06 0.00% Gravity::swapTimeLevels() 10 9.179e-06 9.179e-06 9.179e-06 0.00% Amr::initSubcycle() 1 8.893e-06 8.893e-06 8.893e-06 0.00% MLPoisson::prepareForSolve() 11 8.846e-06 8.846e-06 8.846e-06 0.00% Castro::post_timestep() 10 8.239e-06 8.239e-06 8.239e-06 0.00% Gravity::actual_multilevel_solve() 1 7.899e-06 7.899e-06 7.899e-06 0.00% Castro::computeNewDt() 9 7.426e-06 7.426e-06 7.426e-06 0.00% MLMG::getGradSolution() 11 6.522e-06 6.522e-06 6.522e-06 0.00% Castro::expand_state() 10 5.907e-06 5.907e-06 5.907e-06 0.00% Castro::retry_advance_ctu() 10 5.011e-06 5.011e-06 5.011e-06 0.00% AmrLevel::checkPointPost() 3 4.852e-06 4.852e-06 4.852e-06 0.00% MLMG::MLRhsNormInf() 11 4.821e-06 4.821e-06 4.821e-06 0.00% Amr::InitializeInit() 1 4.683e-06 4.683e-06 4.683e-06 0.00% MLMG::MLResNormInf() 11 4.214e-06 4.214e-06 4.214e-06 0.00% Gravity::set_mass_offset() 11 4.141e-06 4.141e-06 4.141e-06 0.00% Castro::FluxRegCrseInit 10 3.5e-06 3.5e-06 3.5e-06 0.00% Castro::computeInitialDt() 2 3.262e-06 3.262e-06 3.262e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.861e-06 2.861e-06 2.861e-06 0.00% Amr::init() 1 2.578e-06 2.578e-06 2.578e-06 0.00% AmrLevel::checkPointPre() 3 2.497e-06 2.497e-06 2.497e-06 0.00% Castro::FluxRegFineAdd() 10 2.164e-06 2.164e-06 2.164e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.883e-06 1.883e-06 1.883e-06 0.00% Castro::post_regrid() 1 1.392e-06 1.392e-06 1.392e-06 0.00% Amr::initialInit() 1 1.052e-06 1.052e-06 1.052e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8995 0.8995 0.8995 100.00% Amr::coarseTimeStep() 10 0.7397 0.7397 0.7397 82.23% Amr::timeStep() 10 0.6366 0.6366 0.6366 70.77% Castro::advance() 10 0.6258 0.6258 0.6258 69.57% Castro::subcycle_advance_ctu() 10 0.6116 0.6116 0.6116 68.00% Castro::do_advance_ctu() 10 0.6114 0.6114 0.6114 67.97% Gravity::solve_phi_with_mlmg() 11 0.2884 0.2884 0.2884 32.07% Gravity::actual_solve_with_mlmg() 11 0.2789 0.2789 0.2789 31.00% Castro::construct_ctu_hydro_source() 10 0.276 0.276 0.276 30.69% Castro::construct_new_gravity() 10 0.2626 0.2626 0.2626 29.19% MLMG::solve() 11 0.2575 0.2575 0.2575 28.63% Gravity::solve_for_phi() 10 0.2469 0.2469 0.2469 27.45% MLMG::oneIter() 81 0.2424 0.2424 0.2424 26.95% MLMG::mgVcycle() 81 0.2389 0.2389 0.2389 26.55% VisMF::Write(FabArray) 11 0.1998 0.1998 0.1998 22.21% Amr::checkPoint() 3 0.1501 0.1501 0.1501 16.69% AmrLevel::checkPoint() 3 0.1454 0.1454 0.1454 16.16% StateData::checkPoint() 12 0.1453 0.1453 0.1453 16.15% Amr::init() 1 0.1306 0.1306 0.1306 14.52% MLCellLinOp::smooth() 1620 0.1166 0.1166 0.1166 12.97% MLCellLinOp::applyBC() 4379 0.1085 0.1085 0.1085 12.06% MLMG::mgVcycle_bottom 81 0.07469 0.07469 0.07469 8.30% MLMG::actualBottomSolve() 81 0.07465 0.07465 0.07465 8.30% MLCGSolver::bicgstab 81 0.07393 0.07393 0.07393 8.22% Amr::writePlotFile() 2 0.0571 0.0571 0.0571 6.35% Castro::clean_state() 62 0.05672 0.05672 0.05672 6.31% Amr::initialInit() 1 0.05099 0.05099 0.05099 5.67% AmrLevel::FillPatch() 41 0.04747 0.04747 0.04747 5.28% Amr::FinalizeInit() 1 0.04601 0.04601 0.04601 5.11% Castro::post_init() 1 0.04445 0.04445 0.04445 4.94% FillPatchIterator::Initialize 41 0.04327 0.04327 0.04327 4.81% Gravity::multilevel_solve_for_new_phi() 1 0.04202 0.04202 0.04202 4.67% Gravity::actual_multilevel_solve() 1 0.042 0.042 0.042 4.67% FillPatchIterator::FillFromLevel0() 41 0.0417 0.0417 0.0417 4.64% FillPatchSingleLevel 41 0.04165 0.04165 0.04165 4.63% StateDataPhysBCFunct::() 41 0.03757 0.03757 0.03757 4.18% MLCellLinOp::apply() 1128 0.03646 0.03646 0.03646 4.05% MLMG::mgVcycle_down::0 81 0.03347 0.03347 0.03347 3.72% MLPoisson::Fsmooth() 3240 0.03299 0.03299 0.03299 3.67% FabArray::FillBoundary() 3974 0.03178 0.03178 0.03178 3.53% FillBoundary_nowait() 3974 0.03095 0.03095 0.03095 3.44% StateData::FillBoundary(geom) 328 0.02658 0.02658 0.02658 2.96% MLMG::mgVcycle_up::0 81 0.02517 0.02517 0.02517 2.80% Castro::computeTemp() 63 0.0235 0.0235 0.0235 2.61% MLCellLinOp::correctionResidual() 486 0.02226 0.02226 0.02226 2.47% Castro::initialize_do_advance() 10 0.02225 0.02225 0.02225 2.47% amrex::Dot() 1100 0.02085 0.02085 0.02085 2.32% MLMG:computeResOfCorrection() 405 0.01961 0.01961 0.01961 2.18% Castro::do_old_sources() 10 0.01941 0.01941 0.01941 2.16% Castro::normalize_species() 62 0.01868 0.01868 0.01868 2.08% Gravity::get_new_grav_vector() 11 0.01764 0.01764 0.01764 1.96% MLPoisson::define() 11 0.0168 0.0168 0.0168 1.87% MLMG::mgVcycle_down::1 81 0.01611 0.01611 0.01611 1.79% amrex::Copy() 1019 0.01509 0.01509 0.01509 1.68% Castro::construct_old_gravity() 10 0.01505 0.01505 0.01505 1.67% Gravity::get_old_grav_vector() 10 0.01503 0.01503 0.01503 1.67% MLMG::mgVcycle_down::2 81 0.01484 0.01484 0.01484 1.65% MLMG::mgVcycle_down::4 81 0.01456 0.01456 0.01456 1.62% FabArray::norminf() 734 0.01455 0.01455 0.01455 1.62% FabArray::ParallelCopy() 851 0.0145 0.0145 0.0145 1.61% MLMG::mgVcycle_down::3 81 0.01442 0.01442 0.01442 1.60% FabArray::ParallelCopy_nowait() 851 0.01423 0.01423 0.01423 1.58% FabArray::setVal() 1135 0.01354 0.01354 0.01354 1.50% Castro::initialize_advance() 10 0.01347 0.01347 0.01347 1.50% Castro::enforce_min_density() 62 0.01303 0.01303 0.01303 1.45% Castro::do_new_sources() 10 0.01268 0.01268 0.01268 1.41% MLCGSolver::ParallelAllReduce 1495 0.01252 0.01252 0.01252 1.39% Castro::expand_state() 10 0.01198 0.01198 0.01198 1.33% MLMG::addInterpCorrection() 405 0.01197 0.01197 0.01197 1.33% MLMG::mgVcycle_up::4 81 0.01158 0.01158 0.01158 1.29% MLMG::mgVcycle_up::1 81 0.01156 0.01156 0.01156 1.29% MLCellLinOp::defineAuxData() 11 0.01151 0.01151 0.01151 1.28% amrex::average_down 405 0.01141 0.01141 0.01141 1.27% MLMG::mgVcycle_up::2 81 0.01123 0.01123 0.01123 1.25% MLMG::mgVcycle_up::3 81 0.01103 0.01103 0.01103 1.23% Castro::post_timestep() 10 0.01065 0.01065 0.01065 1.18% MLPoisson::Fapply() 1128 0.01051 0.01051 0.01051 1.17% Gravity::fill_multipole_BCs() 11 0.009378 0.009378 0.009378 1.04% FabArray::Saxpy() 803 0.008358 0.008358 0.008358 0.93% FabArray::Xpay() 811 0.008232 0.008232 0.008232 0.92% MLCellLinOp::solutionResidual() 92 0.007434 0.007434 0.007434 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006603 0.006603 0.006603 0.73% Castro::estTimeStep() 21 0.006199 0.006199 0.006199 0.69% MLMG::computeResidual() 81 0.006157 0.006157 0.006157 0.68% MLMG::prepareForSolve() 11 0.005127 0.005127 0.005127 0.57% MLCellLinOp::defineBC() 11 0.005049 0.005049 0.005049 0.56% Amr::InitializeInit() 1 0.004979 0.004979 0.004979 0.55% Amr::defBaseLevel() 1 0.004974 0.004974 0.004974 0.55% BndryData::define() 11 0.004834 0.004834 0.004834 0.54% FabArray::LinComb() 550 0.004591 0.004591 0.004591 0.51% amrex::Add() 162 0.00437 0.00437 0.00437 0.49% Castro::initData() 1 0.004277 0.004277 0.004277 0.48% Castro::construct_new_source() 50 0.003389 0.003389 0.003389 0.38% Castro::construct_new_gravity_source() 10 0.003369 0.003369 0.003369 0.37% Castro::construct_old_source() 50 0.002913 0.002913 0.002913 0.32% Castro::construct_old_gravity_source() 10 0.002893 0.002893 0.002893 0.32% Castro::computeNewDt() 9 0.002732 0.002732 0.002732 0.30% Castro::finalize_do_advance() 10 0.002432 0.002432 0.002432 0.27% Castro::enforce_speed_limit() 62 0.002335 0.002335 0.002335 0.26% MLMG::ResNormInf() 92 0.002156 0.002156 0.002156 0.24% Castro::apply_source_to_state() 20 0.001859 0.001859 0.001859 0.21% Castro::reset_internal_energy(Fab) 504 0.001783 0.001783 0.001783 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001759 0.001759 0.001759 0.20% MLMG::getGradSolution() 11 0.001543 0.001543 0.001543 0.17% check_for_negative_density() 10 0.001537 0.001537 0.001537 0.17% MLCellLinOp::compGrad() 11 0.001536 0.001536 0.001536 0.17% FabArrayBase::getCPC() 1313 0.001513 0.001513 0.001513 0.17% MLCellLinOp::setLevelBC() 11 0.001442 0.001442 0.001442 0.16% FabArray::mult() 43 0.00137 0.00137 0.00137 0.15% FabArray::setDomainBndry() 41 0.001344 0.001344 0.001344 0.15% MLMG::computeMLResidual() 11 0.001321 0.001321 0.001321 0.15% Castro::check_for_nan() 20 0.001291 0.001291 0.001291 0.14% MLPoisson::prepareForSolve() 11 0.001283 0.001283 0.001283 0.14% MultiFab::contains_nan() 20 0.001277 0.001277 0.001277 0.14% MLCellLinOp::prepareForSolve() 11 0.001274 0.001274 0.001274 0.14% Castro::post_regrid() 1 0.001257 0.001257 0.001257 0.14% Castro::computeInitialDt() 2 0.001087 0.001087 0.001087 0.12% Gravity::update_max_rhs() 11 0.0009691 0.0009691 0.0009691 0.11% FabArrayBase::getFB() 3974 0.0007503 0.0007503 0.0007503 0.08% FabArrayBase::CPC::define() 454 0.0007234 0.0007234 0.0007234 0.08% Castro::Castro() 1 0.0006024 0.0006024 0.0006024 0.07% Castro::finalize_advance() 10 0.0005909 0.0005909 0.0005909 0.07% Amr::InitAmr() 1 0.0004831 0.0004831 0.0004831 0.05% Gravity::swapTimeLevels() 10 0.0004434 0.0004434 0.0004434 0.05% MLMG::MLResNormInf() 11 0.0003411 0.0003411 0.0003411 0.04% MultiFab::max() 11 0.0003214 0.0003214 0.0003214 0.04% Castro::buildMetrics() 1 0.0002929 0.0002929 0.0002929 0.03% MLMG::MLRhsNormInf() 11 0.0002241 0.0002241 0.0002241 0.02% MLLinOp::define() 11 0.0002203 0.0002203 0.0002203 0.02% MLLinOp::defineGrids() 11 0.0002051 0.0002051 0.0002051 0.02% Castro::create_source_corrector() 10 0.0001429 0.0001429 0.0001429 0.02% FabArrayBase::FB::FB() 56 0.0001035 0.0001035 0.0001035 0.01% Castro::enforce_consistent_e() 1 6.9e-05 6.9e-05 6.9e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.343e-05 6.343e-05 6.343e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.42e-05 5.42e-05 5.42e-05 0.01% makeSFC 55 3.911e-05 3.911e-05 3.911e-05 0.00% StateData::define() 4 3.906e-05 3.906e-05 3.906e-05 0.00% Castro::initMFs() 1 3.902e-05 3.902e-05 3.902e-05 0.00% Castro::swap_state_time_levels() 10 3.751e-05 3.751e-05 3.751e-05 0.00% Amr::writeSmallPlotFile() 1 2.943e-05 2.943e-05 2.943e-05 0.00% DistributionMapping::Distribute() 56 1.707e-05 1.707e-05 1.707e-05 0.00% Amr::initSubcycle() 1 8.893e-06 8.893e-06 8.893e-06 0.00% Castro::retry_advance_ctu() 10 5.011e-06 5.011e-06 5.011e-06 0.00% AmrLevel::checkPointPost() 3 4.852e-06 4.852e-06 4.852e-06 0.00% Gravity::set_mass_offset() 11 4.141e-06 4.141e-06 4.141e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.029e-06 4.029e-06 4.029e-06 0.00% Castro::FluxRegCrseInit 10 3.5e-06 3.5e-06 3.5e-06 0.00% AmrLevel::checkPointPre() 3 2.497e-06 2.497e-06 2.497e-06 0.00% Castro::FluxRegFineAdd() 10 2.164e-06 2.164e-06 2.164e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.883e-06 1.883e-06 1.883e-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 129 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 138 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 1036 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1787 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3520 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 203 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2089 B 2048 KiB Gravity::solve_for_phi() 80 80 561 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3362 B 480 KiB VisMF::Write(FabArray) 656 656 3422 B 320 KiB Castro::normalize_species() 62 62 6761 B 320 KiB amrex::average_down 1054 1054 1262 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1141 B 257 KiB amrex::Dot() 1343 1343 3408 B 160 KiB FabArray::norminf() 896 896 2390 B 160 KiB check_for_negative_density() 10 10 266 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 3435 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 293 B 9648 B MLCellLinOp::applyBC() 8758 8758 219 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3913 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 119 B 1472 B MLCellLinOp::defineBC() 66 66 362 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 538 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 505 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3435 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 293 B 9648 B MLCellLinOp::applyBC() 4379 4379 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3913 B 6144 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B StateData::FillBoundary(geom) 1992 1992 43 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 82 82 271 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 293 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 896 896 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-5-gb98bdae9fb67) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-5-gb98bdae9fb67) initialized Starting run at 07:34:22 UTC on 2023-09-12. Successfully read inputs file ... Castro git describe: 23.09-4-ge16cd4ff2 AMReX git describe: 23.09-5-gb98bdae9f Microphysics git describe: 23.09-4-g2c408a9c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.503826512 Restart time = 0.050042811 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.057297586 [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.065770838 [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.08279411 [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.0715868 [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.051349257 [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.083450873 seconds Ending run at 07:34:23 UTC on 2023-09-12. Run time = 0.463423158 Run time without initialization = 0.412792596 Average number of zones advanced per microsecond: 3.175 Average number of zones advanced per microsecond per rank: 3.175 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4635 ... 0.4635 ... 0.4635 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1398 0.1398 0.1398 30.16% Amr::writePlotFile() 1 0.04705 0.04705 0.04705 10.15% VisMF::Read() 3 0.03861 0.03861 0.03861 8.33% VisMF::Write(FabArray) 1 0.0362 0.0362 0.0362 7.81% MLCellLinOp::applyBC() 1946 0.03386 0.03386 0.03386 7.31% MLPoisson::Fsmooth() 1440 0.01425 0.01425 0.01425 3.07% StateData::FillBoundary(geom) 160 0.01289 0.01289 0.01289 2.78% FillBoundary_nowait() 1766 0.01281 0.01281 0.01281 2.76% Castro::normalize_species() 30 0.01027 0.01027 0.01027 2.22% amrex::Dot() 484 0.009043 0.009043 0.009043 1.95% amrex::Copy() 463 0.007251 0.007251 0.007251 1.56% Castro::computeTemp() 30 0.006669 0.006669 0.006669 1.44% FabArray::setVal() 537 0.006554 0.006554 0.006554 1.41% FabArray::norminf() 326 0.006401 0.006401 0.006401 1.38% FabArray::ParallelCopy_nowait() 380 0.006049 0.006049 0.006049 1.31% Castro::enforce_min_density() 30 0.005584 0.005584 0.005584 1.20% MLCellLinOp::defineAuxData() 6 0.005517 0.005517 0.005517 1.19% Gravity::fill_multipole_BCs() 6 0.005444 0.005444 0.005444 1.17% StateDataPhysBCFunct::() 20 0.004921 0.004921 0.004921 1.06% Amr::restart() 1 0.004787 0.004787 0.004787 1.03% MLPoisson::Fapply() 500 0.004594 0.004594 0.004594 0.99% FabArray::Saxpy() 355 0.003766 0.003766 0.003766 0.81% FabArray::Xpay() 361 0.003604 0.003604 0.003604 0.78% MLMG::addInterpCorrection() 180 0.003074 0.003074 0.003074 0.66% Castro::estTimeStep() 10 0.002752 0.002752 0.002752 0.59% amrex::average_down 180 0.002679 0.002679 0.002679 0.58% FabArray::LinComb() 242 0.002269 0.002269 0.002269 0.49% Castro::enforce_speed_limit() 30 0.002193 0.002193 0.002193 0.47% BndryData::define() 6 0.00208 0.00208 0.00208 0.45% amrex::Add() 72 0.001889 0.001889 0.001889 0.41% Castro::construct_new_gravity_source() 5 0.001781 0.001781 0.001781 0.38% Castro::reset_internal_energy(MultiFab) 30 0.001519 0.001519 0.001519 0.33% Castro::construct_old_gravity_source() 5 0.001491 0.001491 0.001491 0.32% MLCGSolver::bicgstab 36 0.0009675 0.0009675 0.0009675 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009424 0.0009424 0.0009424 0.20% check_for_negative_density() 5 0.000903 0.000903 0.000903 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008144 0.0008144 0.0008144 0.18% Castro::reset_internal_energy(Fab) 240 0.0008063 0.0008063 0.0008063 0.17% MLCellLinOp::setLevelBC() 6 0.0007811 0.0007811 0.0007811 0.17% MLCellLinOp::prepareForSolve() 6 0.0007054 0.0007054 0.0007054 0.15% FabArray::mult() 22 0.0006866 0.0006866 0.0006866 0.15% FabArray::setDomainBndry() 20 0.0006832 0.0006832 0.0006832 0.15% MultiFab::contains_nan() 10 0.0006585 0.0006585 0.0006585 0.14% MLCellLinOp::compGrad() 6 0.0005834 0.0005834 0.0005834 0.13% MLMG::prepareForSolve() 6 0.0005459 0.0005459 0.0005459 0.12% MLCellLinOp::smooth() 720 0.000468 0.000468 0.000468 0.10% Amr::InitAmr() 1 0.0004238 0.0004238 0.0004238 0.09% FabArrayBase::CPC::define() 244 0.0004065 0.0004065 0.0004065 0.09% FabArray::FillBoundary() 1766 0.0003776 0.0003776 0.0003776 0.08% FabArrayBase::getCPC() 632 0.0003651 0.0003651 0.0003651 0.08% Gravity::get_old_grav_vector() 5 0.0003381 0.0003381 0.0003381 0.07% main() 1 0.0003343 0.0003343 0.0003343 0.07% Gravity::get_new_grav_vector() 5 0.0002861 0.0002861 0.0002861 0.06% FabArrayBase::getFB() 1766 0.000269 0.000269 0.000269 0.06% MultiFab::max() 6 0.0002038 0.0002038 0.0002038 0.04% Amr::coarseTimeStep() 5 0.0001976 0.0001976 0.0001976 0.04% MLCellLinOp::apply() 500 0.0001937 0.0001937 0.0001937 0.04% AmrLevel::FillPatch() 20 0.0001607 0.0001607 0.0001607 0.03% MLCGSolver::ParallelAllReduce 659 0.0001219 0.0001219 0.0001219 0.03% MLLinOp::defineGrids() 6 0.0001163 0.0001163 0.0001163 0.03% FabArray::ParallelCopy() 380 0.0001162 0.0001162 0.0001162 0.03% MLCellLinOp::defineBC() 6 0.0001121 0.0001121 0.0001121 0.02% Castro::subcycle_advance_ctu() 5 0.0001113 0.0001113 0.0001113 0.02% FillPatchIterator::Initialize 20 0.0001088 0.0001088 0.0001088 0.02% MLCellLinOp::correctionResidual() 216 9.796e-05 9.796e-05 9.796e-05 0.02% MLMG::mgVcycle() 36 8.972e-05 8.972e-05 8.972e-05 0.02% Castro::create_source_corrector() 5 8.227e-05 8.227e-05 8.227e-05 0.02% Amr::timeStep() 5 7.864e-05 7.864e-05 7.864e-05 0.02% AmrLevel::restart() 1 7.735e-05 7.735e-05 7.735e-05 0.02% Gravity::solve_for_phi() 5 6.826e-05 6.826e-05 6.826e-05 0.01% Castro::do_advance_ctu() 5 6.318e-05 6.318e-05 6.318e-05 0.01% Gravity::update_max_rhs() 6 6.287e-05 6.287e-05 6.287e-05 0.01% StateData::restartDoit() 4 6.027e-05 6.027e-05 6.027e-05 0.01% FabArrayBase::FB::FB() 26 5.858e-05 5.858e-05 5.858e-05 0.01% Castro::construct_new_source() 25 5.856e-05 5.856e-05 5.856e-05 0.01% Castro::do_new_sources() 5 5.177e-05 5.177e-05 5.177e-05 0.01% Castro::advance() 5 5.059e-05 5.059e-05 5.059e-05 0.01% MLMG:computeResOfCorrection() 180 4.973e-05 4.973e-05 4.973e-05 0.01% MLMG::actualBottomSolve() 36 4.3e-05 4.3e-05 4.3e-05 0.01% Castro::post_timestep() 5 3.984e-05 3.984e-05 3.984e-05 0.01% Castro::finalize_do_advance() 5 3.968e-05 3.968e-05 3.968e-05 0.01% Amr::writeSmallPlotFile() 1 3.857e-05 3.857e-05 3.857e-05 0.01% MLMG::mgVcycle_down::0 36 3.715e-05 3.715e-05 3.715e-05 0.01% Castro::initialize_advance() 5 3.707e-05 3.707e-05 3.707e-05 0.01% MLMG::mgVcycle_down::1 36 3.567e-05 3.567e-05 3.567e-05 0.01% Castro::post_restart() 1 3.546e-05 3.546e-05 3.546e-05 0.01% MLMG::solve() 6 3.523e-05 3.523e-05 3.523e-05 0.01% Castro::clean_state() 30 3.41e-05 3.41e-05 3.41e-05 0.01% MLMG::mgVcycle_down::2 36 3.31e-05 3.31e-05 3.31e-05 0.01% MLMG::mgVcycle_down::4 36 3.245e-05 3.245e-05 3.245e-05 0.01% MLMG::mgVcycle_down::3 36 3.143e-05 3.143e-05 3.143e-05 0.01% Castro::initialize_do_advance() 5 3.018e-05 3.018e-05 3.018e-05 0.01% MLMG::mgVcycle_up::4 36 2.877e-05 2.877e-05 2.877e-05 0.01% Castro::finalize_advance() 5 2.858e-05 2.858e-05 2.858e-05 0.01% Castro::construct_old_source() 25 2.843e-05 2.843e-05 2.843e-05 0.01% Castro::buildMetrics() 1 2.684e-05 2.684e-05 2.684e-05 0.01% Castro::initMFs() 1 2.416e-05 2.416e-05 2.416e-05 0.01% Castro::swap_state_time_levels() 5 2.403e-05 2.403e-05 2.403e-05 0.01% MLCellLinOp::solutionResidual() 42 2.271e-05 2.271e-05 2.271e-05 0.00% MLMG::mgVcycle_up::3 36 2.263e-05 2.263e-05 2.263e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.245e-05 2.245e-05 2.245e-05 0.00% MLMG::oneIter() 36 2.241e-05 2.241e-05 2.241e-05 0.00% MLMG::mgVcycle_up::0 36 2.221e-05 2.221e-05 2.221e-05 0.00% MLMG::mgVcycle_up::2 36 2.16e-05 2.16e-05 2.16e-05 0.00% MLMG::mgVcycle_up::1 36 2.092e-05 2.092e-05 2.092e-05 0.00% FillPatchSingleLevel 20 1.69e-05 1.69e-05 1.69e-05 0.00% MLMG::ResNormInf() 42 1.674e-05 1.674e-05 1.674e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.651e-05 1.651e-05 1.651e-05 0.00% MLMG::computeResidual() 36 1.485e-05 1.485e-05 1.485e-05 0.00% MLMG::mgVcycle_bottom 36 1.455e-05 1.455e-05 1.455e-05 0.00% MLPoisson::define() 6 1.395e-05 1.395e-05 1.395e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.319e-05 1.319e-05 1.319e-05 0.00% makeSFC 30 1.257e-05 1.257e-05 1.257e-05 0.00% Castro::construct_new_gravity() 5 1.224e-05 1.224e-05 1.224e-05 0.00% Castro::do_old_sources() 5 1.159e-05 1.159e-05 1.159e-05 0.00% MLLinOp::define() 6 1.031e-05 1.031e-05 1.031e-05 0.00% Amr::initSubcycle() 1 9.852e-06 9.852e-06 9.852e-06 0.00% DistributionMapping::Distribute() 31 8.891e-06 8.891e-06 8.891e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.805e-06 8.805e-06 8.805e-06 0.00% Gravity::actual_multilevel_solve() 1 8.161e-06 8.161e-06 8.161e-06 0.00% MLMG::getGradSolution() 6 8.011e-06 8.011e-06 8.011e-06 0.00% Castro::check_for_nan() 10 7.268e-06 7.268e-06 7.268e-06 0.00% Castro::construct_old_gravity() 5 6.256e-06 6.256e-06 6.256e-06 0.00% Castro::apply_source_to_state() 10 5.576e-06 5.576e-06 5.576e-06 0.00% Gravity::swapTimeLevels() 5 4.442e-06 4.442e-06 4.442e-06 0.00% Castro::computeNewDt() 5 4.219e-06 4.219e-06 4.219e-06 0.00% MLMG::computeMLResidual() 6 4.03e-06 4.03e-06 4.03e-06 0.00% MLPoisson::prepareForSolve() 6 3.623e-06 3.623e-06 3.623e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.544e-06 3.544e-06 3.544e-06 0.00% Castro::expand_state() 5 2.833e-06 2.833e-06 2.833e-06 0.00% MLMG::MLRhsNormInf() 6 2.425e-06 2.425e-06 2.425e-06 0.00% Gravity::set_mass_offset() 6 2.372e-06 2.372e-06 2.372e-06 0.00% MLMG::MLResNormInf() 6 2.349e-06 2.349e-06 2.349e-06 0.00% Castro::retry_advance_ctu() 5 2.073e-06 2.073e-06 2.073e-06 0.00% Castro::FluxRegCrseInit 5 1.404e-06 1.404e-06 1.404e-06 0.00% Castro::FluxRegFineAdd() 5 1.253e-06 1.253e-06 1.253e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.099e-06 1.099e-06 1.099e-06 0.00% Amr::init() 1 8.06e-07 8.06e-07 8.06e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4634 0.4634 0.4634 100.00% Amr::coarseTimeStep() 5 0.329 0.329 0.329 70.99% Amr::timeStep() 5 0.327 0.327 0.327 70.55% Castro::advance() 5 0.3212 0.3212 0.3212 69.31% Castro::subcycle_advance_ctu() 5 0.3134 0.3134 0.3134 67.62% Castro::do_advance_ctu() 5 0.3133 0.3133 0.3133 67.59% Castro::construct_ctu_hydro_source() 5 0.145 0.145 0.145 31.29% Castro::construct_new_gravity() 5 0.1324 0.1324 0.1324 28.58% Gravity::solve_phi_with_mlmg() 6 0.1303 0.1303 0.1303 28.11% Gravity::solve_for_phi() 5 0.1247 0.1247 0.1247 26.92% Gravity::actual_solve_with_mlmg() 6 0.1246 0.1246 0.1246 26.88% MLMG::solve() 6 0.1129 0.1129 0.1129 24.37% MLMG::oneIter() 36 0.1055 0.1055 0.1055 22.77% MLMG::mgVcycle() 36 0.104 0.104 0.104 22.44% Amr::writePlotFile() 1 0.08355 0.08355 0.08355 18.03% MLCellLinOp::smooth() 720 0.05051 0.05051 0.05051 10.90% Amr::init() 1 0.05009 0.05009 0.05009 10.81% Amr::restart() 1 0.05009 0.05009 0.05009 10.81% MLCellLinOp::applyBC() 1946 0.04738 0.04738 0.04738 10.22% AmrLevel::restart() 1 0.03896 0.03896 0.03896 8.41% StateData::restartDoit() 4 0.03888 0.03888 0.03888 8.39% VisMF::Read() 3 0.03861 0.03861 0.03861 8.33% VisMF::Write(FabArray) 1 0.0362 0.0362 0.0362 7.81% MLMG::mgVcycle_bottom 36 0.03269 0.03269 0.03269 7.05% MLMG::actualBottomSolve() 36 0.03267 0.03267 0.03267 7.05% MLCGSolver::bicgstab 36 0.03236 0.03236 0.03236 6.98% Castro::clean_state() 30 0.02708 0.02708 0.02708 5.84% AmrLevel::FillPatch() 20 0.02272 0.02272 0.02272 4.90% FillPatchIterator::Initialize 20 0.02066 0.02066 0.02066 4.46% FillPatchIterator::FillFromLevel0() 20 0.01987 0.01987 0.01987 4.29% FillPatchSingleLevel 20 0.01985 0.01985 0.01985 4.28% StateDataPhysBCFunct::() 20 0.01781 0.01781 0.01781 3.84% MLCellLinOp::apply() 500 0.0161 0.0161 0.0161 3.47% MLMG::mgVcycle_down::0 36 0.0145 0.0145 0.0145 3.13% MLPoisson::Fsmooth() 1440 0.01425 0.01425 0.01425 3.07% FabArray::FillBoundary() 1766 0.01352 0.01352 0.01352 2.92% FillBoundary_nowait() 1766 0.01314 0.01314 0.01314 2.84% StateData::FillBoundary(geom) 160 0.01289 0.01289 0.01289 2.78% Castro::initialize_do_advance() 5 0.01107 0.01107 0.01107 2.39% MLMG::mgVcycle_up::0 36 0.01084 0.01084 0.01084 2.34% Castro::normalize_species() 30 0.01027 0.01027 0.01027 2.22% MLCellLinOp::correctionResidual() 216 0.009698 0.009698 0.009698 2.09% Castro::do_old_sources() 5 0.009219 0.009219 0.009219 1.99% MLPoisson::define() 6 0.009206 0.009206 0.009206 1.99% amrex::Dot() 484 0.009043 0.009043 0.009043 1.95% Castro::computeTemp() 30 0.008994 0.008994 0.008994 1.94% MLMG:computeResOfCorrection() 180 0.008519 0.008519 0.008519 1.84% Castro::construct_old_gravity() 5 0.007792 0.007792 0.007792 1.68% Gravity::get_old_grav_vector() 5 0.007785 0.007785 0.007785 1.68% Gravity::get_new_grav_vector() 5 0.007573 0.007573 0.007573 1.63% Castro::initialize_advance() 5 0.007497 0.007497 0.007497 1.62% amrex::Copy() 463 0.007251 0.007251 0.007251 1.56% MLMG::mgVcycle_down::1 36 0.007055 0.007055 0.007055 1.52% FabArray::setVal() 537 0.006554 0.006554 0.006554 1.41% FabArray::ParallelCopy() 380 0.006552 0.006552 0.006552 1.41% MLMG::mgVcycle_down::2 36 0.006446 0.006446 0.006446 1.39% FabArray::ParallelCopy_nowait() 380 0.006436 0.006436 0.006436 1.39% FabArray::norminf() 326 0.006401 0.006401 0.006401 1.38% MLMG::mgVcycle_down::3 36 0.006313 0.006313 0.006313 1.36% MLCellLinOp::defineAuxData() 6 0.006287 0.006287 0.006287 1.36% MLMG::mgVcycle_down::4 36 0.006229 0.006229 0.006229 1.34% Castro::do_new_sources() 5 0.006222 0.006222 0.006222 1.34% Castro::post_restart() 1 0.006167 0.006167 0.006167 1.33% Castro::expand_state() 5 0.006102 0.006102 0.006102 1.32% Gravity::multilevel_solve_for_new_phi() 1 0.005793 0.005793 0.005793 1.25% Gravity::actual_multilevel_solve() 1 0.005777 0.005777 0.005777 1.25% Castro::post_timestep() 5 0.005666 0.005666 0.005666 1.22% Castro::enforce_min_density() 30 0.005584 0.005584 0.005584 1.20% Gravity::fill_multipole_BCs() 6 0.005567 0.005567 0.005567 1.20% MLCGSolver::ParallelAllReduce 659 0.005459 0.005459 0.005459 1.18% MLMG::addInterpCorrection() 180 0.005325 0.005325 0.005325 1.15% MLMG::mgVcycle_up::4 36 0.005089 0.005089 0.005089 1.10% MLMG::mgVcycle_up::1 36 0.005011 0.005011 0.005011 1.08% amrex::average_down 180 0.004958 0.004958 0.004958 1.07% MLMG::mgVcycle_up::2 36 0.004919 0.004919 0.004919 1.06% MLMG::mgVcycle_up::3 36 0.004807 0.004807 0.004807 1.04% MLPoisson::Fapply() 500 0.004594 0.004594 0.004594 0.99% FabArray::Saxpy() 355 0.003766 0.003766 0.003766 0.81% FabArray::Xpay() 361 0.003604 0.003604 0.003604 0.78% MLCellLinOp::solutionResidual() 42 0.003487 0.003487 0.003487 0.75% MLMG::prepareForSolve() 6 0.002757 0.002757 0.002757 0.59% Castro::estTimeStep() 10 0.002752 0.002752 0.002752 0.59% MLCellLinOp::defineBC() 6 0.002749 0.002749 0.002749 0.59% MLMG::computeResidual() 36 0.002741 0.002741 0.002741 0.59% BndryData::define() 6 0.002637 0.002637 0.002637 0.57% Castro::reset_internal_energy(MultiFab) 30 0.002325 0.002325 0.002325 0.50% FabArray::LinComb() 242 0.002269 0.002269 0.002269 0.49% Castro::enforce_speed_limit() 30 0.002193 0.002193 0.002193 0.47% amrex::Add() 72 0.001889 0.001889 0.001889 0.41% Castro::construct_new_source() 25 0.00184 0.00184 0.00184 0.40% Castro::computeNewDt() 5 0.001827 0.001827 0.001827 0.39% Castro::construct_new_gravity_source() 5 0.001781 0.001781 0.001781 0.38% Castro::construct_old_source() 25 0.001519 0.001519 0.001519 0.33% Castro::construct_old_gravity_source() 5 0.001491 0.001491 0.001491 0.32% MLMG::ResNormInf() 42 0.0009939 0.0009939 0.0009939 0.21% Castro::finalize_do_advance() 5 0.000969 0.000969 0.000969 0.21% Castro::apply_source_to_state() 10 0.0009574 0.0009574 0.0009574 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009424 0.0009424 0.0009424 0.20% check_for_negative_density() 5 0.000903 0.000903 0.000903 0.19% MLMG::getGradSolution() 6 0.0008623 0.0008623 0.0008623 0.19% MLCellLinOp::compGrad() 6 0.0008543 0.0008543 0.0008543 0.18% Castro::reset_internal_energy(Fab) 240 0.0008063 0.0008063 0.0008063 0.17% MLCellLinOp::setLevelBC() 6 0.0007811 0.0007811 0.0007811 0.17% FabArrayBase::getCPC() 632 0.0007716 0.0007716 0.0007716 0.17% MLMG::computeMLResidual() 6 0.0007653 0.0007653 0.0007653 0.17% MLPoisson::prepareForSolve() 6 0.000709 0.000709 0.000709 0.15% MLCellLinOp::prepareForSolve() 6 0.0007054 0.0007054 0.0007054 0.15% Gravity::update_max_rhs() 6 0.0007049 0.0007049 0.0007049 0.15% FabArray::mult() 22 0.0006866 0.0006866 0.0006866 0.15% FabArray::setDomainBndry() 20 0.0006832 0.0006832 0.0006832 0.15% Castro::check_for_nan() 10 0.0006658 0.0006658 0.0006658 0.14% MultiFab::contains_nan() 10 0.0006585 0.0006585 0.0006585 0.14% Amr::InitAmr() 1 0.0004336 0.0004336 0.0004336 0.09% FabArrayBase::CPC::define() 244 0.0004065 0.0004065 0.0004065 0.09% FabArrayBase::getFB() 1766 0.0003276 0.0003276 0.0003276 0.07% Castro::finalize_advance() 5 0.0002935 0.0002935 0.0002935 0.06% Gravity::swapTimeLevels() 5 0.0002315 0.0002315 0.0002315 0.05% MultiFab::max() 6 0.0002038 0.0002038 0.0002038 0.04% MLMG::MLResNormInf() 6 0.0001874 0.0001874 0.0001874 0.04% MLLinOp::define() 6 0.0001566 0.0001566 0.0001566 0.03% Castro::buildMetrics() 1 0.0001493 0.0001493 0.0001493 0.03% MLLinOp::defineGrids() 6 0.0001463 0.0001463 0.0001463 0.03% MLMG::MLRhsNormInf() 6 0.0001203 0.0001203 0.0001203 0.03% Castro::create_source_corrector() 5 8.227e-05 8.227e-05 8.227e-05 0.02% FabArrayBase::FB::FB() 26 5.858e-05 5.858e-05 5.858e-05 0.01% Amr::writeSmallPlotFile() 1 3.857e-05 3.857e-05 3.857e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.886e-05 2.886e-05 2.886e-05 0.01% Castro::initMFs() 1 2.416e-05 2.416e-05 2.416e-05 0.01% Castro::swap_state_time_levels() 5 2.403e-05 2.403e-05 2.403e-05 0.01% makeSFC 30 2.006e-05 2.006e-05 2.006e-05 0.00% Amr::initSubcycle() 1 9.852e-06 9.852e-06 9.852e-06 0.00% DistributionMapping::Distribute() 31 8.891e-06 8.891e-06 8.891e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.952e-06 4.952e-06 4.952e-06 0.00% Gravity::set_mass_offset() 6 2.372e-06 2.372e-06 2.372e-06 0.00% Castro::retry_advance_ctu() 5 2.073e-06 2.073e-06 2.073e-06 0.00% Castro::FluxRegCrseInit 5 1.404e-06 1.404e-06 1.404e-06 0.00% Castro::FluxRegFineAdd() 5 1.253e-06 1.253e-06 1.253e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.099e-06 1.099e-06 1.099e-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 176 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 135 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 985 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2296 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6850 KiB 14 MiB MLMG::prepareForSolve() 361 361 2991 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 174 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6838 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3025 B 2048 KiB Gravity::solve_for_phi() 40 40 550 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 275 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 177 KiB 671 KiB Castro::estTimeStep() 10 10 2839 B 480 KiB VisMF::Write(FabArray) 112 112 2240 B 320 KiB Castro::normalize_species() 30 30 7219 B 320 KiB amrex::average_down 469 469 1079 B 257 KiB MLMG::addInterpCorrection() 468 468 980 B 257 KiB amrex::Dot() 592 592 2874 B 160 KiB FabArray::norminf() 398 398 2039 B 160 KiB check_for_negative_density() 5 5 310 B 160 KiB MultiFab::max() 6 6 68 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 2900 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 240 B 9648 B MLCellLinOp::applyBC() 3892 3892 190 B 9344 B amrex::Copy() 56 56 5870 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 101 B 1472 B MLCellLinOp::defineBC() 36 36 309 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1066 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 76 KiB 8192 KiB VisMF::Write(FabArray) 120 120 225 KiB 3584 KiB VisMF::Read() 24 24 161 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2900 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 240 B 9648 B MLCellLinOp::applyBC() 1946 1946 189 B 9328 B amrex::Copy() 56 56 5870 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2695 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 37 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 492 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 14 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-5-gb98bdae9fb67) finalized