Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-13-g2f68f00d5f56) initialized Starting run at 08:47:53 UTC on 2023-04-07. Successfully read inputs file ... Castro git describe: 23.04-2-gabeccccb9 AMReX git describe: 23.04-13-g2f68f00d5 Microphysics git describe: 23.04-3-gdc41ef4e 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.058966672 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033614244 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046664514 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.048443572 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.049533624 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.058977388 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.065317977 [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.058366874 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.068351974 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.058943344 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.066046656 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.066987997 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.068795831 [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.058119877 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033524261 seconds Ending run at 08:47:54 UTC on 2023-04-07. Run time = 0.886961407 Run time without initialization = 0.748718002 Average number of zones advanced per microsecond: 3.501 Average number of zones advanced per microsecond per rank: 3.501 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.887 ... 0.887 ... 0.887 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2357 0.2357 0.2357 26.58% Castro::construct_ctu_hydro_source() 10 0.2342 0.2342 0.2342 26.40% MLCellLinOp::applyBC() 4379 0.07608 0.07608 0.07608 8.58% MLPoisson::Fsmooth() 3240 0.03213 0.03213 0.03213 3.62% FillBoundary_nowait() 3974 0.03049 0.03049 0.03049 3.44% StateData::FillBoundary(geom) 328 0.02511 0.02511 0.02511 2.83% amrex::Dot() 1100 0.02037 0.02037 0.02037 2.30% Castro::normalize_species() 62 0.01491 0.01491 0.01491 1.68% amrex::Copy() 1019 0.0149 0.0149 0.0149 1.68% Castro::computeTemp() 63 0.01429 0.01429 0.01429 1.61% FabArray::norminf() 734 0.01423 0.01423 0.01423 1.60% FabArray::ParallelCopy_nowait() 851 0.01327 0.01327 0.01327 1.50% FabArray::setVal() 1135 0.0131 0.0131 0.0131 1.48% Castro::enforce_min_density() 62 0.01236 0.01236 0.01236 1.39% StateDataPhysBCFunct::() 41 0.01233 0.01233 0.01233 1.39% MLPoisson::Fapply() 1128 0.01031 0.01031 0.01031 1.16% MLCellLinOp::defineAuxData() 11 0.01013 0.01013 0.01013 1.14% FabArray::Saxpy() 803 0.008138 0.008138 0.008138 0.92% FabArray::Xpay() 811 0.008006 0.008006 0.008006 0.90% Gravity::fill_multipole_BCs() 11 0.006873 0.006873 0.006873 0.77% MLMG::addInterpCorrection() 405 0.006738 0.006738 0.006738 0.76% amrex::average_down 405 0.005864 0.005864 0.005864 0.66% Castro::estTimeStep() 21 0.00471 0.00471 0.00471 0.53% FabArray::LinComb() 550 0.004481 0.004481 0.004481 0.51% amrex::Add() 162 0.00431 0.00431 0.00431 0.49% Castro::reset_internal_energy(MultiFab) 63 0.00422 0.00422 0.00422 0.48% Amr::checkPoint() 3 0.003997 0.003997 0.003997 0.45% BndryData::define() 11 0.003787 0.003787 0.003787 0.43% Castro::do_advance_ctu() 10 0.00342 0.00342 0.00342 0.39% Castro::construct_new_gravity_source() 10 0.003279 0.003279 0.003279 0.37% Castro::construct_old_gravity_source() 10 0.002657 0.002657 0.002657 0.30% Amr::writePlotFile() 2 0.002369 0.002369 0.002369 0.27% MLCGSolver::bicgstab 81 0.002129 0.002129 0.002129 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001709 0.001709 0.001709 0.19% Gravity::actual_solve_with_mlmg() 11 0.001483 0.001483 0.001483 0.17% Castro::reset_internal_energy(Fab) 504 0.001469 0.001469 0.001469 0.17% MLCellLinOp::setLevelBC() 11 0.001397 0.001397 0.001397 0.16% FabArray::mult() 43 0.001335 0.001335 0.001335 0.15% FabArray::setDomainBndry() 41 0.001309 0.001309 0.001309 0.15% Castro::initData() 1 0.00127 0.00127 0.00127 0.14% MultiFab::contains_nan() 20 0.001203 0.001203 0.001203 0.14% MLCellLinOp::prepareForSolve() 11 0.001127 0.001127 0.001127 0.13% MLCellLinOp::smooth() 1620 0.001037 0.001037 0.001037 0.12% Castro::enforce_speed_limit() 62 0.001028 0.001028 0.001028 0.12% MLCellLinOp::compGrad() 11 0.0009225 0.0009225 0.0009225 0.10% MLMG::prepareForSolve() 11 0.0008839 0.0008839 0.0008839 0.10% FabArray::FillBoundary() 3974 0.0008534 0.0008534 0.0008534 0.10% FabArrayBase::getCPC() 1313 0.000742 0.000742 0.000742 0.08% FabArrayBase::CPC::define() 454 0.0007011 0.0007011 0.0007011 0.08% Castro::subcycle_advance_ctu() 10 0.0006608 0.0006608 0.0006608 0.07% Gravity::get_new_grav_vector() 11 0.0006208 0.0006208 0.0006208 0.07% FabArrayBase::getFB() 3974 0.0005942 0.0005942 0.0005942 0.07% Gravity::get_old_grav_vector() 10 0.0005488 0.0005488 0.0005488 0.06% Amr::InitAmr() 1 0.0005382 0.0005382 0.0005382 0.06% MLCellLinOp::apply() 1128 0.0004457 0.0004457 0.0004457 0.05% MLLinOp::defineGrids() 11 0.0004042 0.0004042 0.0004042 0.05% MLMG::mgVcycle() 81 0.0004022 0.0004022 0.0004022 0.05% Amr::coarseTimeStep() 10 0.0003348 0.0003348 0.0003348 0.04% main() 1 0.0003197 0.0003197 0.0003197 0.04% MLCGSolver::ParallelAllReduce 1495 0.0002882 0.0002882 0.0002882 0.03% MultiFab::max() 11 0.0002607 0.0002607 0.0002607 0.03% FillPatchIterator::Initialize 41 0.0002564 0.0002564 0.0002564 0.03% FabArray::ParallelCopy() 851 0.0002364 0.0002364 0.0002364 0.03% MLCellLinOp::defineBC() 11 0.0002159 0.0002159 0.0002159 0.02% MLCellLinOp::correctionResidual() 486 0.0002149 0.0002149 0.0002149 0.02% Castro::create_source_corrector() 10 0.0001745 0.0001745 0.0001745 0.02% Amr::timeStep() 10 0.0001628 0.0001628 0.0001628 0.02% StateData::checkPoint() 12 0.0001334 0.0001334 0.0001334 0.02% Gravity::solve_for_phi() 10 0.0001278 0.0001278 0.0001278 0.01% Gravity::update_max_rhs() 11 0.0001214 0.0001214 0.0001214 0.01% MLMG:computeResOfCorrection() 405 0.0001074 0.0001074 0.0001074 0.01% Castro::Castro() 1 0.0001004 0.0001004 0.0001004 0.01% FabArrayBase::FB::FB() 56 9.087e-05 9.087e-05 9.087e-05 0.01% MLMG::mgVcycle_down::0 81 8.955e-05 8.955e-05 8.955e-05 0.01% MLMG::actualBottomSolve() 81 8.607e-05 8.607e-05 8.607e-05 0.01% AmrLevel::checkPoint() 3 8.296e-05 8.296e-05 8.296e-05 0.01% MLMG::mgVcycle_down::1 81 8.252e-05 8.252e-05 8.252e-05 0.01% Castro::clean_state() 62 7.993e-05 7.993e-05 7.993e-05 0.01% Castro::expand_state() 10 7.829e-05 7.829e-05 7.829e-05 0.01% MLMG::mgVcycle_down::2 81 7.691e-05 7.691e-05 7.691e-05 0.01% MLMG::mgVcycle_down::3 81 7.269e-05 7.269e-05 7.269e-05 0.01% Castro::initialize_advance() 10 7.226e-05 7.226e-05 7.226e-05 0.01% MLMG::solve() 11 7.222e-05 7.222e-05 7.222e-05 0.01% MLMG::mgVcycle_down::4 81 7.21e-05 7.21e-05 7.21e-05 0.01% Castro::finalize_advance() 10 6.373e-05 6.373e-05 6.373e-05 0.01% Castro::advance() 10 6.205e-05 6.205e-05 6.205e-05 0.01% MLMG::mgVcycle_up::4 81 5.899e-05 5.899e-05 5.899e-05 0.01% MLMG::oneIter() 81 5.481e-05 5.481e-05 5.481e-05 0.01% Castro::initialize_do_advance() 10 5.341e-05 5.341e-05 5.341e-05 0.01% MLMG::mgVcycle_up::0 81 5.181e-05 5.181e-05 5.181e-05 0.01% MLMG::mgVcycle_up::1 81 4.988e-05 4.988e-05 4.988e-05 0.01% MLMG::mgVcycle_up::3 81 4.885e-05 4.885e-05 4.885e-05 0.01% MLMG::mgVcycle_up::2 81 4.782e-05 4.782e-05 4.782e-05 0.01% MLCellLinOp::solutionResidual() 92 4.738e-05 4.738e-05 4.738e-05 0.01% Castro::swap_state_time_levels() 10 4.333e-05 4.333e-05 4.333e-05 0.00% Castro::finalize_do_advance() 10 3.81e-05 3.81e-05 3.81e-05 0.00% StateData::define() 4 3.633e-05 3.633e-05 3.633e-05 0.00% Castro::enforce_consistent_e() 1 3.53e-05 3.53e-05 3.53e-05 0.00% MLMG::mgVcycle_bottom 81 3.31e-05 3.31e-05 3.31e-05 0.00% MLMG::ResNormInf() 92 3.016e-05 3.016e-05 3.016e-05 0.00% FillPatchSingleLevel 41 2.853e-05 2.853e-05 2.853e-05 0.00% MLMG::computeResidual() 81 2.802e-05 2.802e-05 2.802e-05 0.00% Castro::initMFs() 1 2.738e-05 2.738e-05 2.738e-05 0.00% Amr::writeSmallPlotFile() 1 2.608e-05 2.608e-05 2.608e-05 0.00% Castro::construct_new_gravity() 10 2.495e-05 2.495e-05 2.495e-05 0.00% makeSFC 55 2.469e-05 2.469e-05 2.469e-05 0.00% MLPoisson::define() 11 2.31e-05 2.31e-05 2.31e-05 0.00% Amr::defBaseLevel() 1 2.269e-05 2.269e-05 2.269e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.179e-05 2.179e-05 2.179e-05 0.00% Castro::buildMetrics() 1 1.96e-05 1.96e-05 1.96e-05 0.00% Castro::construct_new_source() 50 1.94e-05 1.94e-05 1.94e-05 0.00% Amr::FinalizeInit() 1 1.925e-05 1.925e-05 1.925e-05 0.00% Castro::construct_old_source() 50 1.919e-05 1.919e-05 1.919e-05 0.00% Castro::do_new_sources() 10 1.734e-05 1.734e-05 1.734e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.695e-05 1.695e-05 1.695e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.684e-05 1.684e-05 1.684e-05 0.00% Castro::do_old_sources() 10 1.595e-05 1.595e-05 1.595e-05 0.00% DistributionMapping::Distribute() 56 1.543e-05 1.543e-05 1.543e-05 0.00% MLMG::computeMLResidual() 11 1.472e-05 1.472e-05 1.472e-05 0.00% MLPoisson::prepareForSolve() 11 1.466e-05 1.466e-05 1.466e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.437e-05 1.437e-05 1.437e-05 0.00% MLLinOp::define() 11 1.225e-05 1.225e-05 1.225e-05 0.00% Castro::check_for_nan() 20 1.16e-05 1.16e-05 1.16e-05 0.00% Castro::apply_source_to_state() 20 1.087e-05 1.087e-05 1.087e-05 0.00% Castro::construct_old_gravity() 10 9.145e-06 9.145e-06 9.145e-06 0.00% Gravity::actual_multilevel_solve() 1 9.025e-06 9.025e-06 9.025e-06 0.00% Amr::initSubcycle() 1 8.899e-06 8.899e-06 8.899e-06 0.00% Gravity::swapTimeLevels() 10 8.88e-06 8.88e-06 8.88e-06 0.00% Castro::post_timestep() 10 6.966e-06 6.966e-06 6.966e-06 0.00% Castro::computeNewDt() 9 6.657e-06 6.657e-06 6.657e-06 0.00% MLMG::getGradSolution() 11 5.955e-06 5.955e-06 5.955e-06 0.00% Amr::InitializeInit() 1 5.469e-06 5.469e-06 5.469e-06 0.00% Castro::post_init() 1 4.664e-06 4.664e-06 4.664e-06 0.00% Gravity::set_mass_offset() 11 4.497e-06 4.497e-06 4.497e-06 0.00% Castro::retry_advance_ctu() 10 4.2e-06 4.2e-06 4.2e-06 0.00% MLMG::MLResNormInf() 11 3.842e-06 3.842e-06 3.842e-06 0.00% MLMG::MLRhsNormInf() 11 3.719e-06 3.719e-06 3.719e-06 0.00% Castro::computeInitialDt() 2 3.712e-06 3.712e-06 3.712e-06 0.00% AmrLevel::checkPointPost() 3 3.693e-06 3.693e-06 3.693e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.667e-06 3.667e-06 3.667e-06 0.00% Castro::FluxRegCrseInit 10 3.084e-06 3.084e-06 3.084e-06 0.00% Amr::init() 1 2.79e-06 2.79e-06 2.79e-06 0.00% Castro::FluxRegFineAdd() 10 1.978e-06 1.978e-06 1.978e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.822e-06 1.822e-06 1.822e-06 0.00% AmrLevel::checkPointPre() 3 1.742e-06 1.742e-06 1.742e-06 0.00% Amr::initialInit() 1 1.212e-06 1.212e-06 1.212e-06 0.00% Castro::post_regrid() 1 1.177e-06 1.177e-06 1.177e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.887 0.887 0.887 100.00% Amr::coarseTimeStep() 10 0.715 0.715 0.715 80.60% Amr::timeStep() 10 0.595 0.595 0.595 67.09% Castro::advance() 10 0.5865 0.5865 0.5865 66.12% Castro::subcycle_advance_ctu() 10 0.5745 0.5745 0.5745 64.77% Castro::do_advance_ctu() 10 0.5739 0.5739 0.5739 64.70% Gravity::solve_phi_with_mlmg() 11 0.2819 0.2819 0.2819 31.78% Gravity::actual_solve_with_mlmg() 11 0.2745 0.2745 0.2745 30.94% Castro::construct_new_gravity() 10 0.2608 0.2608 0.2608 29.41% MLMG::solve() 11 0.2532 0.2532 0.2532 28.54% Gravity::solve_for_phi() 10 0.2448 0.2448 0.2448 27.60% MLMG::oneIter() 81 0.2389 0.2389 0.2389 26.94% VisMF::Write(FabArray) 11 0.2357 0.2357 0.2357 26.58% MLMG::mgVcycle() 81 0.2353 0.2353 0.2353 26.53% Castro::construct_ctu_hydro_source() 10 0.2342 0.2342 0.2342 26.40% Amr::checkPoint() 3 0.1756 0.1756 0.1756 19.79% AmrLevel::checkPoint() 3 0.1716 0.1716 0.1716 19.34% StateData::checkPoint() 12 0.1715 0.1715 0.1715 19.33% Amr::init() 1 0.1375 0.1375 0.1375 15.51% MLCellLinOp::smooth() 1620 0.1156 0.1156 0.1156 13.03% MLCellLinOp::applyBC() 4379 0.1081 0.1081 0.1081 12.19% MLMG::mgVcycle_bottom 81 0.0729 0.0729 0.0729 8.22% MLMG::actualBottomSolve() 81 0.07287 0.07287 0.07287 8.21% MLCGSolver::bicgstab 81 0.07218 0.07218 0.07218 8.14% Amr::writePlotFile() 2 0.06729 0.06729 0.06729 7.59% Castro::clean_state() 62 0.04755 0.04755 0.04755 5.36% Amr::initialInit() 1 0.04483 0.04483 0.04483 5.05% FillPatchIterator::Initialize 41 0.04312 0.04312 0.04312 4.86% FillPatchSingleLevel 41 0.04156 0.04156 0.04156 4.69% Amr::FinalizeInit() 1 0.04081 0.04081 0.04081 4.60% Castro::post_init() 1 0.03949 0.03949 0.03949 4.45% Gravity::multilevel_solve_for_new_phi() 1 0.03755 0.03755 0.03755 4.23% Gravity::actual_multilevel_solve() 1 0.03753 0.03753 0.03753 4.23% StateDataPhysBCFunct::() 41 0.03744 0.03744 0.03744 4.22% MLCellLinOp::apply() 1128 0.03599 0.03599 0.03599 4.06% MLMG::mgVcycle_down::0 81 0.03347 0.03347 0.03347 3.77% MLPoisson::Fsmooth() 3240 0.03213 0.03213 0.03213 3.62% FabArray::FillBoundary() 3974 0.03203 0.03203 0.03203 3.61% FillBoundary_nowait() 3974 0.03117 0.03117 0.03117 3.51% MLMG::mgVcycle_up::0 81 0.02525 0.02525 0.02525 2.85% StateData::FillBoundary(geom) 328 0.02511 0.02511 0.02511 2.83% MLCellLinOp::correctionResidual() 486 0.02204 0.02204 0.02204 2.48% amrex::Dot() 1100 0.02037 0.02037 0.02037 2.30% Castro::initialize_do_advance() 10 0.02021 0.02021 0.02021 2.28% Castro::computeTemp() 63 0.01998 0.01998 0.01998 2.25% MLMG:computeResOfCorrection() 405 0.01942 0.01942 0.01942 2.19% Gravity::get_new_grav_vector() 11 0.01766 0.01766 0.01766 1.99% MLPoisson::define() 11 0.01698 0.01698 0.01698 1.91% MLMG::mgVcycle_down::1 81 0.01561 0.01561 0.01561 1.76% Castro::construct_old_gravity() 10 0.01521 0.01521 0.01521 1.72% Gravity::get_old_grav_vector() 10 0.01521 0.01521 0.01521 1.71% Castro::normalize_species() 62 0.01491 0.01491 0.01491 1.68% amrex::Copy() 1019 0.0149 0.0149 0.0149 1.68% MLMG::mgVcycle_down::2 81 0.01455 0.01455 0.01455 1.64% FabArray::ParallelCopy() 851 0.01431 0.01431 0.01431 1.61% MLMG::mgVcycle_down::3 81 0.01424 0.01424 0.01424 1.61% FabArray::norminf() 734 0.01423 0.01423 0.01423 1.60% FabArray::ParallelCopy_nowait() 851 0.01407 0.01407 0.01407 1.59% MLMG::mgVcycle_down::4 81 0.01404 0.01404 0.01404 1.58% FabArray::setVal() 1135 0.0131 0.0131 0.0131 1.48% Castro::do_new_sources() 10 0.01271 0.01271 0.01271 1.43% Castro::enforce_min_density() 62 0.01236 0.01236 0.01236 1.39% MLCGSolver::ParallelAllReduce 1495 0.01222 0.01222 0.01222 1.38% MLMG::addInterpCorrection() 405 0.01183 0.01183 0.01183 1.33% Castro::expand_state() 10 0.01165 0.01165 0.01165 1.31% MLCellLinOp::defineAuxData() 11 0.01149 0.01149 0.01149 1.30% MLMG::mgVcycle_up::4 81 0.01143 0.01143 0.01143 1.29% MLMG::mgVcycle_up::1 81 0.01138 0.01138 0.01138 1.28% Castro::initialize_advance() 10 0.01132 0.01132 0.01132 1.28% MLMG::mgVcycle_up::2 81 0.01114 0.01114 0.01114 1.26% amrex::average_down 405 0.01099 0.01099 0.01099 1.24% MLMG::mgVcycle_up::3 81 0.01091 0.01091 0.01091 1.23% Castro::do_old_sources() 10 0.01069 0.01069 0.01069 1.21% MLPoisson::Fapply() 1128 0.01031 0.01031 0.01031 1.16% Castro::post_timestep() 10 0.008379 0.008379 0.008379 0.94% FabArray::Saxpy() 803 0.008138 0.008138 0.008138 0.92% FabArray::Xpay() 811 0.008006 0.008006 0.008006 0.90% Gravity::fill_multipole_BCs() 11 0.007204 0.007204 0.007204 0.81% MLCellLinOp::solutionResidual() 92 0.007138 0.007138 0.007138 0.80% MLMG::computeResidual() 81 0.006139 0.006139 0.006139 0.69% Castro::reset_internal_energy(MultiFab) 63 0.005689 0.005689 0.005689 0.64% MLCellLinOp::defineBC() 11 0.004999 0.004999 0.004999 0.56% BndryData::define() 11 0.004783 0.004783 0.004783 0.54% Castro::estTimeStep() 21 0.00471 0.00471 0.00471 0.53% MLMG::prepareForSolve() 11 0.004687 0.004687 0.004687 0.53% FabArray::LinComb() 550 0.004481 0.004481 0.004481 0.51% amrex::Add() 162 0.00431 0.00431 0.00431 0.49% Amr::InitializeInit() 1 0.004018 0.004018 0.004018 0.45% Amr::defBaseLevel() 1 0.004013 0.004013 0.004013 0.45% Castro::initData() 1 0.003471 0.003471 0.003471 0.39% Castro::construct_new_source() 50 0.003298 0.003298 0.003298 0.37% Castro::construct_new_gravity_source() 10 0.003279 0.003279 0.003279 0.37% Castro::construct_old_source() 50 0.002676 0.002676 0.002676 0.30% Castro::construct_old_gravity_source() 10 0.002657 0.002657 0.002657 0.30% Castro::computeNewDt() 9 0.002264 0.002264 0.002264 0.26% MLMG::ResNormInf() 92 0.002081 0.002081 0.002081 0.23% Castro::apply_source_to_state() 20 0.001826 0.001826 0.001826 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001709 0.001709 0.001709 0.19% Castro::reset_internal_energy(Fab) 504 0.001469 0.001469 0.001469 0.17% FabArrayBase::getCPC() 1313 0.001443 0.001443 0.001443 0.16% MLMG::getGradSolution() 11 0.001422 0.001422 0.001422 0.16% MLCellLinOp::compGrad() 11 0.001416 0.001416 0.001416 0.16% MLCellLinOp::setLevelBC() 11 0.001397 0.001397 0.001397 0.16% FabArray::mult() 43 0.001335 0.001335 0.001335 0.15% FabArray::setDomainBndry() 41 0.001309 0.001309 0.001309 0.15% Castro::check_for_nan() 20 0.001214 0.001214 0.001214 0.14% MultiFab::contains_nan() 20 0.001203 0.001203 0.001203 0.14% MLPoisson::prepareForSolve() 11 0.001141 0.001141 0.001141 0.13% MLCellLinOp::prepareForSolve() 11 0.001127 0.001127 0.001127 0.13% Castro::post_regrid() 1 0.00108 0.00108 0.00108 0.12% MLMG::computeMLResidual() 11 0.001042 0.001042 0.001042 0.12% Castro::enforce_speed_limit() 62 0.001028 0.001028 0.001028 0.12% Castro::computeInitialDt() 2 0.0009646 0.0009646 0.0009646 0.11% Gravity::update_max_rhs() 11 0.0008682 0.0008682 0.0008682 0.10% FabArrayBase::CPC::define() 454 0.0007011 0.0007011 0.0007011 0.08% FabArrayBase::getFB() 3974 0.0006851 0.0006851 0.0006851 0.08% Castro::finalize_advance() 10 0.0005852 0.0005852 0.0005852 0.07% Amr::InitAmr() 1 0.0005471 0.0005471 0.0005471 0.06% MLLinOp::define() 11 0.0004708 0.0004708 0.0004708 0.05% Castro::Castro() 1 0.0004597 0.0004597 0.0004597 0.05% MLLinOp::defineGrids() 11 0.0004585 0.0004585 0.0004585 0.05% Gravity::swapTimeLevels() 10 0.0004405 0.0004405 0.0004405 0.05% MLMG::MLResNormInf() 11 0.000287 0.000287 0.000287 0.03% MultiFab::max() 11 0.0002607 0.0002607 0.0002607 0.03% MLMG::MLRhsNormInf() 11 0.0002209 0.0002209 0.0002209 0.02% Castro::create_source_corrector() 10 0.0001745 0.0001745 0.0001745 0.02% Castro::buildMetrics() 1 0.0001676 0.0001676 0.0001676 0.02% FabArrayBase::FB::FB() 56 9.087e-05 9.087e-05 9.087e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.317e-05 5.317e-05 5.317e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.252e-05 5.252e-05 5.252e-05 0.01% Castro::swap_state_time_levels() 10 4.333e-05 4.333e-05 4.333e-05 0.00% makeSFC 55 3.815e-05 3.815e-05 3.815e-05 0.00% Castro::finalize_do_advance() 10 3.81e-05 3.81e-05 3.81e-05 0.00% StateData::define() 4 3.633e-05 3.633e-05 3.633e-05 0.00% Castro::enforce_consistent_e() 1 3.53e-05 3.53e-05 3.53e-05 0.00% Castro::initMFs() 1 2.738e-05 2.738e-05 2.738e-05 0.00% Amr::writeSmallPlotFile() 1 2.608e-05 2.608e-05 2.608e-05 0.00% DistributionMapping::Distribute() 56 1.543e-05 1.543e-05 1.543e-05 0.00% Amr::initSubcycle() 1 8.899e-06 8.899e-06 8.899e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.634e-06 5.634e-06 5.634e-06 0.00% Gravity::set_mass_offset() 11 4.497e-06 4.497e-06 4.497e-06 0.00% Castro::retry_advance_ctu() 10 4.2e-06 4.2e-06 4.2e-06 0.00% AmrLevel::checkPointPost() 3 3.693e-06 3.693e-06 3.693e-06 0.00% Castro::FluxRegCrseInit 10 3.084e-06 3.084e-06 3.084e-06 0.00% Castro::FluxRegFineAdd() 10 1.978e-06 1.978e-06 1.978e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.822e-06 1.822e-06 1.822e-06 0.00% AmrLevel::checkPointPre() 3 1.742e-06 1.742e-06 1.742e-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 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 127 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 1035 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2132 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7609 KiB 14 MiB MLMG::prepareForSolve() 660 660 3511 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 206 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7525 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 13 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1883 B 2048 KiB Gravity::solve_for_phi() 80 80 564 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 86 KiB 2048 KiB BndryData::define() 1056 1056 320 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 2508 B 480 KiB VisMF::Write(FabArray) 656 656 3415 B 320 KiB Castro::normalize_species() 62 62 5473 B 320 KiB amrex::average_down 1054 1054 1252 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1146 B 257 KiB amrex::Dot() 1343 1343 3390 B 160 KiB FabArray::norminf() 896 896 2371 B 160 KiB Castro::do_advance_ctu() 10 10 582 B 160 KiB MultiFab::max() 11 11 45 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3432 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 301 B 9648 B MLCellLinOp::applyBC() 8758 8758 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3867 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 118 B 1472 B MLCellLinOp::defineBC() 66 66 361 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 568 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 619 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3432 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 301 B 9648 B MLCellLinOp::applyBC() 4379 4379 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3868 B 6144 B Gravity::get_new_grav_vector() 3 3 2917 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 45 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 272 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 292 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 MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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.04-13-g2f68f00d5f56) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-13-g2f68f00d5f56) initialized Starting run at 08:47:55 UTC on 2023-04-07. Successfully read inputs file ... Castro git describe: 23.04-2-gabeccccb9 AMReX git describe: 23.04-13-g2f68f00d5 Microphysics git describe: 23.04-3-gdc41ef4e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.46554187 Restart time = 0.045875306 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.050802653 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.048774921 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.06534809 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.070302458 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.081553016 [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.033053874 seconds Ending run at 08:47:55 UTC on 2023-04-07. Run time = 0.396767864 Run time without initialization = 0.350262951 Average number of zones advanced per microsecond: 3.742 Average number of zones advanced per microsecond per rank: 3.742 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3968 ... 0.3968 ... 0.3968 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1290 0.1290 0.1290 32.50% VisMF::Read() 3 0.03945 0.03945 0.03945 9.94% MLCellLinOp::applyBC() 1946 0.03298 0.03298 0.03298 8.31% VisMF::Write(FabArray) 1 0.03148 0.03148 0.03148 7.93% MLPoisson::Fsmooth() 1440 0.01396 0.01396 0.01396 3.52% FillBoundary_nowait() 1766 0.01291 0.01291 0.01291 3.25% StateData::FillBoundary(geom) 160 0.0122 0.0122 0.0122 3.07% Castro::normalize_species() 30 0.009672 0.009672 0.009672 2.44% amrex::Dot() 484 0.008807 0.008807 0.008807 2.22% amrex::Copy() 463 0.006981 0.006981 0.006981 1.76% Castro::computeTemp() 30 0.006915 0.006915 0.006915 1.74% FabArray::setVal() 537 0.006275 0.006275 0.006275 1.58% FabArray::norminf() 326 0.006204 0.006204 0.006204 1.56% FabArray::ParallelCopy_nowait() 380 0.006043 0.006043 0.006043 1.52% Castro::enforce_min_density() 30 0.00585 0.00585 0.00585 1.47% StateDataPhysBCFunct::() 20 0.005553 0.005553 0.005553 1.40% MLCellLinOp::defineAuxData() 6 0.005449 0.005449 0.005449 1.37% MLPoisson::Fapply() 500 0.004467 0.004467 0.004467 1.13% Castro::estTimeStep() 10 0.004127 0.004127 0.004127 1.04% FabArray::Saxpy() 355 0.003661 0.003661 0.003661 0.92% FabArray::Xpay() 361 0.0035 0.0035 0.0035 0.88% MLMG::addInterpCorrection() 180 0.002953 0.002953 0.002953 0.74% Gravity::fill_multipole_BCs() 6 0.002841 0.002841 0.002841 0.72% Castro::do_advance_ctu() 5 0.002603 0.002603 0.002603 0.66% amrex::average_down 180 0.002587 0.002587 0.002587 0.65% Amr::restart() 1 0.002581 0.002581 0.002581 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002108 0.002108 0.002108 0.53% BndryData::define() 6 0.002084 0.002084 0.002084 0.53% FabArray::LinComb() 242 0.001952 0.001952 0.001952 0.49% amrex::Add() 72 0.001852 0.001852 0.001852 0.47% Castro::construct_new_gravity_source() 5 0.001792 0.001792 0.001792 0.45% Castro::construct_old_gravity_source() 5 0.001499 0.001499 0.001499 0.38% Amr::writePlotFile() 1 0.001401 0.001401 0.001401 0.35% MLCGSolver::bicgstab 36 0.0009626 0.0009626 0.0009626 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009292 0.0009292 0.0009292 0.23% Castro::reset_internal_energy(Fab) 240 0.0008568 0.0008568 0.0008568 0.22% Gravity::actual_solve_with_mlmg() 6 0.0007741 0.0007741 0.0007741 0.20% MLCellLinOp::setLevelBC() 6 0.0007683 0.0007683 0.0007683 0.19% FabArray::setDomainBndry() 20 0.0006604 0.0006604 0.0006604 0.17% FabArray::mult() 22 0.0006538 0.0006538 0.0006538 0.16% MLCellLinOp::prepareForSolve() 6 0.0006216 0.0006216 0.0006216 0.16% MultiFab::contains_nan() 10 0.000595 0.000595 0.000595 0.15% MLCellLinOp::compGrad() 6 0.0005104 0.0005104 0.0005104 0.13% MLMG::prepareForSolve() 6 0.0004992 0.0004992 0.0004992 0.13% MLCellLinOp::smooth() 720 0.000494 0.000494 0.000494 0.12% Castro::enforce_speed_limit() 30 0.0004678 0.0004678 0.0004678 0.12% FabArrayBase::CPC::define() 244 0.0004465 0.0004465 0.0004465 0.11% Amr::InitAmr() 1 0.0004325 0.0004325 0.0004325 0.11% FabArray::FillBoundary() 1766 0.0003806 0.0003806 0.0003806 0.10% FabArrayBase::getCPC() 632 0.0003531 0.0003531 0.0003531 0.09% Gravity::get_old_grav_vector() 5 0.0003114 0.0003114 0.0003114 0.08% main() 1 0.000276 0.000276 0.000276 0.07% Gravity::get_new_grav_vector() 5 0.0002734 0.0002734 0.0002734 0.07% FabArrayBase::getFB() 1766 0.0002596 0.0002596 0.0002596 0.07% MLCellLinOp::apply() 500 0.0002043 0.0002043 0.0002043 0.05% MLLinOp::defineGrids() 6 0.0001838 0.0001838 0.0001838 0.05% MLMG::mgVcycle() 36 0.0001785 0.0001785 0.0001785 0.04% Amr::coarseTimeStep() 5 0.0001734 0.0001734 0.0001734 0.04% Castro::construct_new_source() 25 0.0001715 0.0001715 0.0001715 0.04% MultiFab::max() 6 0.0001372 0.0001372 0.0001372 0.03% MLCGSolver::ParallelAllReduce 659 0.0001288 0.0001288 0.0001288 0.03% Castro::create_source_corrector() 5 0.0001254 0.0001254 0.0001254 0.03% FillPatchIterator::Initialize 20 0.0001184 0.0001184 0.0001184 0.03% MLCellLinOp::defineBC() 6 0.0001176 0.0001176 0.0001176 0.03% FabArray::ParallelCopy() 380 0.000107 0.000107 0.000107 0.03% Castro::subcycle_advance_ctu() 5 0.0001006 0.0001006 0.0001006 0.03% MLCellLinOp::correctionResidual() 216 9.505e-05 9.505e-05 9.505e-05 0.02% AmrLevel::restart() 1 8.169e-05 8.169e-05 8.169e-05 0.02% Castro::post_timestep() 5 7.922e-05 7.922e-05 7.922e-05 0.02% Amr::timeStep() 5 7.672e-05 7.672e-05 7.672e-05 0.02% Castro::initialize_do_advance() 5 6.281e-05 6.281e-05 6.281e-05 0.02% FabArrayBase::FB::FB() 26 6.155e-05 6.155e-05 6.155e-05 0.02% StateData::restartDoit() 4 6.129e-05 6.129e-05 6.129e-05 0.02% Gravity::update_max_rhs() 6 5.849e-05 5.849e-05 5.849e-05 0.01% Castro::construct_old_source() 25 5.448e-05 5.448e-05 5.448e-05 0.01% Castro::initialize_advance() 5 5.428e-05 5.428e-05 5.428e-05 0.01% Gravity::solve_for_phi() 5 5.285e-05 5.285e-05 5.285e-05 0.01% MLMG:computeResOfCorrection() 180 4.797e-05 4.797e-05 4.797e-05 0.01% Castro::expand_state() 5 4.217e-05 4.217e-05 4.217e-05 0.01% Castro::construct_old_gravity() 5 4.104e-05 4.104e-05 4.104e-05 0.01% MLMG::mgVcycle_down::0 36 3.999e-05 3.999e-05 3.999e-05 0.01% MLMG::mgVcycle_down::1 36 3.864e-05 3.864e-05 3.864e-05 0.01% MLMG::actualBottomSolve() 36 3.832e-05 3.832e-05 3.832e-05 0.01% Castro::clean_state() 30 3.722e-05 3.722e-05 3.722e-05 0.01% MLMG::mgVcycle_down::2 36 3.426e-05 3.426e-05 3.426e-05 0.01% Castro::advance() 5 3.4e-05 3.4e-05 3.4e-05 0.01% MLMG::solve() 6 3.398e-05 3.398e-05 3.398e-05 0.01% MLMG::mgVcycle_down::4 36 3.382e-05 3.382e-05 3.382e-05 0.01% MLMG::mgVcycle_down::3 36 3.354e-05 3.354e-05 3.354e-05 0.01% MLMG::mgVcycle_up::4 36 2.87e-05 2.87e-05 2.87e-05 0.01% Castro::finalize_advance() 5 2.792e-05 2.792e-05 2.792e-05 0.01% Castro::buildMetrics() 1 2.704e-05 2.704e-05 2.704e-05 0.01% Amr::writeSmallPlotFile() 1 2.7e-05 2.7e-05 2.7e-05 0.01% Castro::finalize_do_advance() 5 2.685e-05 2.685e-05 2.685e-05 0.01% Castro::initMFs() 1 2.595e-05 2.595e-05 2.595e-05 0.01% Castro::swap_state_time_levels() 5 2.471e-05 2.471e-05 2.471e-05 0.01% MLMG::oneIter() 36 2.417e-05 2.417e-05 2.417e-05 0.01% MLMG::mgVcycle_up::0 36 2.315e-05 2.315e-05 2.315e-05 0.01% MLCellLinOp::solutionResidual() 42 2.31e-05 2.31e-05 2.31e-05 0.01% MLMG::mgVcycle_up::3 36 2.181e-05 2.181e-05 2.181e-05 0.01% MLMG::mgVcycle_up::2 36 2.174e-05 2.174e-05 2.174e-05 0.01% MLMG::mgVcycle_up::1 36 2.083e-05 2.083e-05 2.083e-05 0.01% Castro::computeNewDt() 5 2.082e-05 2.082e-05 2.082e-05 0.01% Castro::post_restart() 1 1.919e-05 1.919e-05 1.919e-05 0.00% MLMG::ResNormInf() 42 1.697e-05 1.697e-05 1.697e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.564e-05 1.564e-05 1.564e-05 0.00% MLMG::mgVcycle_bottom 36 1.55e-05 1.55e-05 1.55e-05 0.00% MLPoisson::define() 6 1.377e-05 1.377e-05 1.377e-05 0.00% FillPatchSingleLevel 20 1.37e-05 1.37e-05 1.37e-05 0.00% makeSFC 30 1.345e-05 1.345e-05 1.345e-05 0.00% MLMG::computeResidual() 36 1.338e-05 1.338e-05 1.338e-05 0.00% Castro::construct_new_gravity() 5 1.26e-05 1.26e-05 1.26e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.205e-05 1.205e-05 1.205e-05 0.00% Castro::do_new_sources() 5 9.765e-06 9.765e-06 9.765e-06 0.00% MLPoisson::prepareForSolve() 6 9.566e-06 9.566e-06 9.566e-06 0.00% MLMG::computeMLResidual() 6 9.112e-06 9.112e-06 9.112e-06 0.00% DistributionMapping::Distribute() 31 8.978e-06 8.978e-06 8.978e-06 0.00% Amr::initSubcycle() 1 8.768e-06 8.768e-06 8.768e-06 0.00% Castro::do_old_sources() 5 8.665e-06 8.665e-06 8.665e-06 0.00% Gravity::actual_multilevel_solve() 1 7.824e-06 7.824e-06 7.824e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.609e-06 7.609e-06 7.609e-06 0.00% MLLinOp::define() 6 6.336e-06 6.336e-06 6.336e-06 0.00% Castro::check_for_nan() 10 5.776e-06 5.776e-06 5.776e-06 0.00% Castro::apply_source_to_state() 10 5.661e-06 5.661e-06 5.661e-06 0.00% Gravity::swapTimeLevels() 5 4.047e-06 4.047e-06 4.047e-06 0.00% MLMG::getGradSolution() 6 3.321e-06 3.321e-06 3.321e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.956e-06 2.956e-06 2.956e-06 0.00% MLMG::MLRhsNormInf() 6 2.27e-06 2.27e-06 2.27e-06 0.00% MLMG::MLResNormInf() 6 2.265e-06 2.265e-06 2.265e-06 0.00% Gravity::set_mass_offset() 6 2.237e-06 2.237e-06 2.237e-06 0.00% Castro::retry_advance_ctu() 5 1.782e-06 1.782e-06 1.782e-06 0.00% Castro::FluxRegCrseInit 5 1.479e-06 1.479e-06 1.479e-06 0.00% Castro::FluxRegFineAdd() 5 1.328e-06 1.328e-06 1.328e-06 0.00% Amr::init() 1 1.129e-06 1.129e-06 1.129e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.037e-06 1.037e-06 1.037e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3968 0.3968 0.3968 100.00% Amr::coarseTimeStep() 5 0.3169 0.3169 0.3169 79.88% Amr::timeStep() 5 0.3143 0.3143 0.3143 79.22% Castro::advance() 5 0.3085 0.3085 0.3085 77.75% Castro::subcycle_advance_ctu() 5 0.3018 0.3018 0.3018 76.06% Castro::do_advance_ctu() 5 0.3017 0.3017 0.3017 76.03% Castro::construct_new_gravity() 5 0.1297 0.1297 0.1297 32.70% Castro::construct_ctu_hydro_source() 5 0.129 0.129 0.129 32.50% Gravity::solve_phi_with_mlmg() 6 0.125 0.125 0.125 31.50% Gravity::actual_solve_with_mlmg() 6 0.1219 0.1219 0.1219 30.72% Gravity::solve_for_phi() 5 0.1218 0.1218 0.1218 30.69% MLMG::solve() 6 0.1104 0.1104 0.1104 27.81% MLMG::oneIter() 36 0.1035 0.1035 0.1035 26.08% MLMG::mgVcycle() 36 0.1019 0.1019 0.1019 25.69% MLCellLinOp::smooth() 720 0.04983 0.04983 0.04983 12.56% MLCellLinOp::applyBC() 1946 0.0466 0.0466 0.0466 11.74% Amr::init() 1 0.04594 0.04594 0.04594 11.58% Amr::restart() 1 0.04593 0.04593 0.04593 11.58% AmrLevel::restart() 1 0.03965 0.03965 0.03965 9.99% StateData::restartDoit() 4 0.03957 0.03957 0.03957 9.97% VisMF::Read() 3 0.03945 0.03945 0.03945 9.94% Amr::writePlotFile() 1 0.03315 0.03315 0.03315 8.36% MLMG::mgVcycle_bottom 36 0.03168 0.03168 0.03168 7.98% MLMG::actualBottomSolve() 36 0.03166 0.03166 0.03166 7.98% VisMF::Write(FabArray) 1 0.03148 0.03148 0.03148 7.93% MLCGSolver::bicgstab 36 0.03137 0.03137 0.03137 7.90% Castro::clean_state() 30 0.02591 0.02591 0.02591 6.53% FillPatchIterator::Initialize 20 0.02058 0.02058 0.02058 5.19% FillPatchSingleLevel 20 0.0198 0.0198 0.0198 4.99% StateDataPhysBCFunct::() 20 0.01775 0.01775 0.01775 4.47% MLCellLinOp::apply() 500 0.01563 0.01563 0.01563 3.94% MLMG::mgVcycle_down::0 36 0.01427 0.01427 0.01427 3.60% MLPoisson::Fsmooth() 1440 0.01396 0.01396 0.01396 3.52% FabArray::FillBoundary() 1766 0.01362 0.01362 0.01362 3.43% FillBoundary_nowait() 1766 0.01324 0.01324 0.01324 3.34% StateData::FillBoundary(geom) 160 0.0122 0.0122 0.0122 3.07% MLMG::mgVcycle_up::0 36 0.01087 0.01087 0.01087 2.74% Castro::computeTemp() 30 0.00988 0.00988 0.00988 2.49% Castro::normalize_species() 30 0.009672 0.009672 0.009672 2.44% Castro::initialize_do_advance() 5 0.009638 0.009638 0.009638 2.43% MLCellLinOp::correctionResidual() 216 0.009479 0.009479 0.009479 2.39% MLPoisson::define() 6 0.009219 0.009219 0.009219 2.32% amrex::Dot() 484 0.008807 0.008807 0.008807 2.22% MLMG:computeResOfCorrection() 180 0.008329 0.008329 0.008329 2.10% Gravity::get_new_grav_vector() 5 0.00782 0.00782 0.00782 1.97% Castro::construct_old_gravity() 5 0.007751 0.007751 0.007751 1.95% Gravity::get_old_grav_vector() 5 0.00771 0.00771 0.00771 1.94% Castro::do_new_sources() 5 0.007379 0.007379 0.007379 1.86% amrex::Copy() 463 0.006981 0.006981 0.006981 1.76% MLMG::mgVcycle_down::1 36 0.006797 0.006797 0.006797 1.71% FabArray::ParallelCopy() 380 0.006543 0.006543 0.006543 1.65% FabArray::ParallelCopy_nowait() 380 0.006436 0.006436 0.006436 1.62% Castro::initialize_advance() 5 0.006403 0.006403 0.006403 1.61% MLMG::mgVcycle_down::2 36 0.006361 0.006361 0.006361 1.60% FabArray::setVal() 537 0.006275 0.006275 0.006275 1.58% FabArray::norminf() 326 0.006204 0.006204 0.006204 1.56% MLCellLinOp::defineAuxData() 6 0.006203 0.006203 0.006203 1.56% MLMG::mgVcycle_down::3 36 0.006155 0.006155 0.006155 1.55% MLMG::mgVcycle_down::4 36 0.006124 0.006124 0.006124 1.54% Castro::do_old_sources() 5 0.005969 0.005969 0.005969 1.50% Castro::enforce_min_density() 30 0.00585 0.00585 0.00585 1.47% Castro::post_timestep() 5 0.005752 0.005752 0.005752 1.45% Castro::expand_state() 5 0.005618 0.005618 0.005618 1.42% MLCGSolver::ParallelAllReduce 659 0.005308 0.005308 0.005308 1.34% MLMG::addInterpCorrection() 180 0.005197 0.005197 0.005197 1.31% MLMG::mgVcycle_up::4 36 0.004958 0.004958 0.004958 1.25% MLMG::mgVcycle_up::1 36 0.004928 0.004928 0.004928 1.24% MLMG::mgVcycle_up::2 36 0.004858 0.004858 0.004858 1.22% amrex::average_down 180 0.00485 0.00485 0.00485 1.22% MLMG::mgVcycle_up::3 36 0.004741 0.004741 0.004741 1.19% MLPoisson::Fapply() 500 0.004467 0.004467 0.004467 1.13% Castro::estTimeStep() 10 0.004127 0.004127 0.004127 1.04% FabArray::Saxpy() 355 0.003661 0.003661 0.003661 0.92% Castro::post_restart() 1 0.00353 0.00353 0.00353 0.89% FabArray::Xpay() 361 0.0035 0.0035 0.0035 0.88% Gravity::multilevel_solve_for_new_phi() 1 0.003423 0.003423 0.003423 0.86% Gravity::actual_multilevel_solve() 1 0.003407 0.003407 0.003407 0.86% MLCellLinOp::solutionResidual() 42 0.003226 0.003226 0.003226 0.81% Gravity::fill_multipole_BCs() 6 0.002965 0.002965 0.002965 0.75% Castro::reset_internal_energy(MultiFab) 30 0.002965 0.002965 0.002965 0.75% MLCellLinOp::defineBC() 6 0.002782 0.002782 0.002782 0.70% MLMG::computeResidual() 36 0.002668 0.002668 0.002668 0.67% BndryData::define() 6 0.002665 0.002665 0.002665 0.67% MLMG::prepareForSolve() 6 0.002576 0.002576 0.002576 0.65% Castro::computeNewDt() 5 0.002425 0.002425 0.002425 0.61% Castro::construct_new_source() 25 0.001963 0.001963 0.001963 0.49% FabArray::LinComb() 242 0.001952 0.001952 0.001952 0.49% amrex::Add() 72 0.001852 0.001852 0.001852 0.47% Castro::construct_new_gravity_source() 5 0.001792 0.001792 0.001792 0.45% Castro::construct_old_source() 25 0.001554 0.001554 0.001554 0.39% Castro::construct_old_gravity_source() 5 0.001499 0.001499 0.001499 0.38% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009292 0.0009292 0.0009292 0.23% Castro::apply_source_to_state() 10 0.0009246 0.0009246 0.0009246 0.23% MLMG::ResNormInf() 42 0.0009179 0.0009179 0.0009179 0.23% Castro::reset_internal_energy(Fab) 240 0.0008568 0.0008568 0.0008568 0.22% FabArrayBase::getCPC() 632 0.0007996 0.0007996 0.0007996 0.20% MLMG::getGradSolution() 6 0.0007767 0.0007767 0.0007767 0.20% MLCellLinOp::compGrad() 6 0.0007734 0.0007734 0.0007734 0.19% MLCellLinOp::setLevelBC() 6 0.0007683 0.0007683 0.0007683 0.19% FabArray::setDomainBndry() 20 0.0006604 0.0006604 0.0006604 0.17% FabArray::mult() 22 0.0006538 0.0006538 0.0006538 0.16% MLPoisson::prepareForSolve() 6 0.0006311 0.0006311 0.0006311 0.16% MLCellLinOp::prepareForSolve() 6 0.0006216 0.0006216 0.0006216 0.16% Castro::check_for_nan() 10 0.0006008 0.0006008 0.0006008 0.15% MultiFab::contains_nan() 10 0.000595 0.000595 0.000595 0.15% MLMG::computeMLResidual() 6 0.0005807 0.0005807 0.0005807 0.15% Castro::enforce_speed_limit() 30 0.0004678 0.0004678 0.0004678 0.12% FabArrayBase::CPC::define() 244 0.0004465 0.0004465 0.0004465 0.11% Gravity::update_max_rhs() 6 0.0004442 0.0004442 0.0004442 0.11% Amr::InitAmr() 1 0.0004413 0.0004413 0.0004413 0.11% FabArrayBase::getFB() 1766 0.0003211 0.0003211 0.0003211 0.08% Castro::finalize_advance() 5 0.0002881 0.0002881 0.0002881 0.07% Gravity::swapTimeLevels() 5 0.0002293 0.0002293 0.0002293 0.06% MLLinOp::define() 6 0.0002199 0.0002199 0.0002199 0.06% MLLinOp::defineGrids() 6 0.0002135 0.0002135 0.0002135 0.05% MLMG::MLResNormInf() 6 0.0001512 0.0001512 0.0001512 0.04% Castro::buildMetrics() 1 0.0001456 0.0001456 0.0001456 0.04% MultiFab::max() 6 0.0001372 0.0001372 0.0001372 0.03% Castro::create_source_corrector() 5 0.0001254 0.0001254 0.0001254 0.03% MLMG::MLRhsNormInf() 6 0.0001168 0.0001168 0.0001168 0.03% FabArrayBase::FB::FB() 26 6.155e-05 6.155e-05 6.155e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.868e-05 2.868e-05 2.868e-05 0.01% Amr::writeSmallPlotFile() 1 2.7e-05 2.7e-05 2.7e-05 0.01% Castro::finalize_do_advance() 5 2.685e-05 2.685e-05 2.685e-05 0.01% Castro::initMFs() 1 2.595e-05 2.595e-05 2.595e-05 0.01% Castro::swap_state_time_levels() 5 2.471e-05 2.471e-05 2.471e-05 0.01% makeSFC 30 2.107e-05 2.107e-05 2.107e-05 0.01% DistributionMapping::Distribute() 31 8.978e-06 8.978e-06 8.978e-06 0.00% Amr::initSubcycle() 1 8.768e-06 8.768e-06 8.768e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.314e-06 4.314e-06 4.314e-06 0.00% Gravity::set_mass_offset() 6 2.237e-06 2.237e-06 2.237e-06 0.00% Castro::retry_advance_ctu() 5 1.782e-06 1.782e-06 1.782e-06 0.00% Castro::FluxRegCrseInit 5 1.479e-06 1.479e-06 1.479e-06 0.00% Castro::FluxRegFineAdd() 5 1.328e-06 1.328e-06 1.328e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.037e-06 1.037e-06 1.037e-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 209 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 153 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1115 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2338 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6753 KiB 14 MiB MLMG::prepareForSolve() 361 361 3415 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 201 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 201 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6748 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 10 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2168 B 2048 KiB Gravity::solve_for_phi() 40 40 627 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 202 KiB 671 KiB Castro::estTimeStep() 10 10 3959 B 480 KiB VisMF::Write(FabArray) 112 112 1251 B 320 KiB Castro::normalize_species() 30 30 7934 B 320 KiB amrex::average_down 469 469 1195 B 257 KiB MLMG::addInterpCorrection() 468 468 1119 B 257 KiB amrex::Dot() 592 592 3271 B 160 KiB FabArray::norminf() 398 398 2307 B 160 KiB Castro::do_advance_ctu() 5 5 605 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3320 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 283 B 9648 B MLCellLinOp::applyBC() 3892 3892 215 B 9344 B amrex::Copy() 56 56 5989 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 47 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 114 B 1472 B MLCellLinOp::defineBC() 36 36 353 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1294 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 108 KiB 8192 KiB VisMF::Write(FabArray) 120 120 245 KiB 3584 KiB VisMF::Read() 24 24 193 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3320 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 283 B 9648 B MLCellLinOp::applyBC() 1946 1946 213 B 9328 B amrex::Copy() 56 56 5989 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2666 B 3072 B StateData::FillBoundary(geom) 960 960 47 B 2976 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 525 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 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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.04-13-g2f68f00d5f56) finalized