Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-29-g76d6d344e12d) initialized Starting run at 08:32:41 UTC on 2023-05-26. Successfully read inputs file ... Castro git describe: 23.05-25-g99ae92958 AMReX git describe: 23.05-29-g76d6d344e Microphysics git describe: 23.05-12-g1f8fd85f 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.057583502 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032958227 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.044218754 [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.048307193 [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.046788742 [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.044856014 [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.071595969 [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.056848451 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.067628275 [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.060612603 [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.065509144 [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.057207364 [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.059812448 [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.056779417 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032837513 seconds Ending run at 08:32:42 UTC on 2023-05-26. Run time = 0.848887046 Run time without initialization = 0.713634956 Average number of zones advanced per microsecond: 3.673 Average number of zones advanced per microsecond per rank: 3.673 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8489 ... 0.8489 ... 0.8489 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2302 0.2302 0.2302 27.12% Castro::construct_ctu_hydro_source() 10 0.2204 0.2204 0.2204 25.97% MLCellLinOp::applyBC() 4379 0.07335 0.07335 0.07335 8.64% MLPoisson::Fsmooth() 3240 0.031 0.031 0.031 3.65% FillBoundary_nowait() 3974 0.03037 0.03037 0.03037 3.58% StateData::FillBoundary(geom) 328 0.02266 0.02266 0.02266 2.67% amrex::Dot() 1100 0.01963 0.01963 0.01963 2.31% amrex::Copy() 1019 0.01445 0.01445 0.01445 1.70% FabArray::norminf() 734 0.01379 0.01379 0.01379 1.62% Castro::computeTemp() 63 0.01378 0.01378 0.01378 1.62% Castro::normalize_species() 62 0.01372 0.01372 0.01372 1.62% FabArray::ParallelCopy_nowait() 851 0.01282 0.01282 0.01282 1.51% FabArray::setVal() 1135 0.0127 0.0127 0.0127 1.50% Castro::enforce_min_density() 62 0.0119 0.0119 0.0119 1.40% MLPoisson::Fapply() 1128 0.009929 0.009929 0.009929 1.17% StateDataPhysBCFunct::() 41 0.00991 0.00991 0.00991 1.17% MLCellLinOp::defineAuxData() 11 0.009257 0.009257 0.009257 1.09% FabArray::Saxpy() 803 0.007902 0.007902 0.007902 0.93% FabArray::Xpay() 811 0.007749 0.007749 0.007749 0.91% MLMG::addInterpCorrection() 405 0.00638 0.00638 0.00638 0.75% Gravity::fill_multipole_BCs() 11 0.006252 0.006252 0.006252 0.74% amrex::average_down 405 0.005714 0.005714 0.005714 0.67% Castro::estTimeStep() 21 0.005388 0.005388 0.005388 0.63% FabArray::LinComb() 550 0.004359 0.004359 0.004359 0.51% amrex::Add() 162 0.004296 0.004296 0.004296 0.51% Amr::checkPoint() 3 0.003954 0.003954 0.003954 0.47% Castro::reset_internal_energy(MultiFab) 63 0.003945 0.003945 0.003945 0.46% BndryData::define() 11 0.003483 0.003483 0.003483 0.41% Castro::construct_new_gravity_source() 10 0.003173 0.003173 0.003173 0.37% Castro::construct_old_gravity_source() 10 0.002516 0.002516 0.002516 0.30% Castro::do_advance_ctu() 10 0.002497 0.002497 0.002497 0.29% Amr::writePlotFile() 2 0.002346 0.002346 0.002346 0.28% MLCGSolver::bicgstab 81 0.002145 0.002145 0.002145 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00163 0.00163 0.00163 0.19% Gravity::actual_solve_with_mlmg() 11 0.001478 0.001478 0.001478 0.17% Castro::reset_internal_energy(Fab) 504 0.001428 0.001428 0.001428 0.17% MLCellLinOp::setLevelBC() 11 0.001351 0.001351 0.001351 0.16% FabArray::mult() 43 0.001311 0.001311 0.001311 0.15% FabArray::setDomainBndry() 41 0.001293 0.001293 0.001293 0.15% Castro::initData() 1 0.001239 0.001239 0.001239 0.15% MultiFab::contains_nan() 20 0.001197 0.001197 0.001197 0.14% MLCellLinOp::prepareForSolve() 11 0.001088 0.001088 0.001088 0.13% MLCellLinOp::smooth() 1620 0.001054 0.001054 0.001054 0.12% Castro::enforce_speed_limit() 62 0.0009865 0.0009865 0.0009865 0.12% MLCellLinOp::compGrad() 11 0.0008996 0.0008996 0.0008996 0.11% MLMG::prepareForSolve() 11 0.0008488 0.0008488 0.0008488 0.10% FabArray::FillBoundary() 3974 0.0008139 0.0008139 0.0008139 0.10% FabArrayBase::getCPC() 1313 0.0007478 0.0007478 0.0007478 0.09% FabArrayBase::CPC::define() 454 0.0006646 0.0006646 0.0006646 0.08% FabArrayBase::getFB() 3974 0.0006205 0.0006205 0.0006205 0.07% Gravity::get_new_grav_vector() 11 0.0006154 0.0006154 0.0006154 0.07% Gravity::get_old_grav_vector() 10 0.000534 0.000534 0.000534 0.06% Amr::InitAmr() 1 0.0004853 0.0004853 0.0004853 0.06% MLCellLinOp::apply() 1128 0.0004277 0.0004277 0.0004277 0.05% MLLinOp::defineGrids() 11 0.0004062 0.0004062 0.0004062 0.05% MLMG::mgVcycle() 81 0.000372 0.000372 0.000372 0.04% Amr::coarseTimeStep() 10 0.0003323 0.0003323 0.0003323 0.04% MLCGSolver::ParallelAllReduce 1495 0.0003088 0.0003088 0.0003088 0.04% main() 1 0.0002958 0.0002958 0.0002958 0.03% MultiFab::max() 11 0.0002546 0.0002546 0.0002546 0.03% FabArray::ParallelCopy() 851 0.0002416 0.0002416 0.0002416 0.03% FillPatchIterator::Initialize 41 0.0002257 0.0002257 0.0002257 0.03% MLCellLinOp::correctionResidual() 486 0.0002136 0.0002136 0.0002136 0.03% MLCellLinOp::defineBC() 11 0.0002088 0.0002088 0.0002088 0.02% Castro::subcycle_advance_ctu() 10 0.0001805 0.0001805 0.0001805 0.02% Amr::timeStep() 10 0.0001636 0.0001636 0.0001636 0.02% Castro::create_source_corrector() 10 0.0001519 0.0001519 0.0001519 0.02% StateData::checkPoint() 12 0.0001375 0.0001375 0.0001375 0.02% Gravity::update_max_rhs() 11 0.0001243 0.0001243 0.0001243 0.01% Gravity::solve_for_phi() 10 0.0001093 0.0001093 0.0001093 0.01% MLMG:computeResOfCorrection() 405 0.0001087 0.0001087 0.0001087 0.01% MLMG::mgVcycle_down::0 81 8.895e-05 8.895e-05 8.895e-05 0.01% Castro::Castro() 1 8.847e-05 8.847e-05 8.847e-05 0.01% FabArrayBase::FB::FB() 56 8.804e-05 8.804e-05 8.804e-05 0.01% MLMG::actualBottomSolve() 81 8.417e-05 8.417e-05 8.417e-05 0.01% MLMG::mgVcycle_down::1 81 8.033e-05 8.033e-05 8.033e-05 0.01% MLMG::mgVcycle_down::2 81 7.777e-05 7.777e-05 7.777e-05 0.01% AmrLevel::checkPoint() 3 7.581e-05 7.581e-05 7.581e-05 0.01% Castro::expand_state() 10 7.512e-05 7.512e-05 7.512e-05 0.01% MLMG::mgVcycle_down::3 81 7.184e-05 7.184e-05 7.184e-05 0.01% MLMG::mgVcycle_down::4 81 7.114e-05 7.114e-05 7.114e-05 0.01% Castro::initialize_advance() 10 7.036e-05 7.036e-05 7.036e-05 0.01% MLMG::solve() 11 6.796e-05 6.796e-05 6.796e-05 0.01% Castro::clean_state() 62 6.71e-05 6.71e-05 6.71e-05 0.01% Castro::finalize_advance() 10 6.477e-05 6.477e-05 6.477e-05 0.01% Castro::construct_new_source() 50 6.221e-05 6.221e-05 6.221e-05 0.01% MLMG::mgVcycle_up::4 81 6.057e-05 6.057e-05 6.057e-05 0.01% Castro::initialize_do_advance() 10 5.183e-05 5.183e-05 5.183e-05 0.01% MLCellLinOp::solutionResidual() 92 5.167e-05 5.167e-05 5.167e-05 0.01% MLMG::oneIter() 81 4.908e-05 4.908e-05 4.908e-05 0.01% MLMG::mgVcycle_up::3 81 4.703e-05 4.703e-05 4.703e-05 0.01% MLMG::mgVcycle_up::1 81 4.698e-05 4.698e-05 4.698e-05 0.01% MLMG::mgVcycle_up::0 81 4.581e-05 4.581e-05 4.581e-05 0.01% MLMG::mgVcycle_up::2 81 4.569e-05 4.569e-05 4.569e-05 0.01% StateData::define() 4 4.191e-05 4.191e-05 4.191e-05 0.00% Castro::swap_state_time_levels() 10 3.747e-05 3.747e-05 3.747e-05 0.00% Castro::finalize_do_advance() 10 3.735e-05 3.735e-05 3.735e-05 0.00% Castro::post_timestep() 10 3.707e-05 3.707e-05 3.707e-05 0.00% MLMG::ResNormInf() 92 3.534e-05 3.534e-05 3.534e-05 0.00% Castro::enforce_consistent_e() 1 3.26e-05 3.26e-05 3.26e-05 0.00% MLMG::computeResidual() 81 3.181e-05 3.181e-05 3.181e-05 0.00% MLMG::mgVcycle_bottom 81 3.134e-05 3.134e-05 3.134e-05 0.00% FillPatchSingleLevel 41 2.839e-05 2.839e-05 2.839e-05 0.00% MLPoisson::define() 11 2.616e-05 2.616e-05 2.616e-05 0.00% Amr::writeSmallPlotFile() 1 2.575e-05 2.575e-05 2.575e-05 0.00% Castro::initMFs() 1 2.489e-05 2.489e-05 2.489e-05 0.00% Castro::construct_new_gravity() 10 2.478e-05 2.478e-05 2.478e-05 0.00% makeSFC 55 2.372e-05 2.372e-05 2.372e-05 0.00% Castro::advance() 10 2.209e-05 2.209e-05 2.209e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.172e-05 2.172e-05 2.172e-05 0.00% Amr::FinalizeInit() 1 2.126e-05 2.126e-05 2.126e-05 0.00% Amr::defBaseLevel() 1 1.996e-05 1.996e-05 1.996e-05 0.00% Castro::buildMetrics() 1 1.872e-05 1.872e-05 1.872e-05 0.00% Castro::construct_old_source() 50 1.722e-05 1.722e-05 1.722e-05 0.00% Castro::do_new_sources() 10 1.625e-05 1.625e-05 1.625e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.601e-05 1.601e-05 1.601e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.567e-05 1.567e-05 1.567e-05 0.00% MLLinOp::define() 11 1.551e-05 1.551e-05 1.551e-05 0.00% Castro::do_old_sources() 10 1.468e-05 1.468e-05 1.468e-05 0.00% DistributionMapping::Distribute() 56 1.394e-05 1.394e-05 1.394e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.309e-05 1.309e-05 1.309e-05 0.00% Castro::apply_source_to_state() 20 1.016e-05 1.016e-05 1.016e-05 0.00% Castro::check_for_nan() 20 9.645e-06 9.645e-06 9.645e-06 0.00% Amr::initSubcycle() 1 9.22e-06 9.22e-06 9.22e-06 0.00% Castro::construct_old_gravity() 10 8.987e-06 8.987e-06 8.987e-06 0.00% MLPoisson::prepareForSolve() 11 8.626e-06 8.626e-06 8.626e-06 0.00% Gravity::actual_multilevel_solve() 1 8.541e-06 8.541e-06 8.541e-06 0.00% Gravity::swapTimeLevels() 10 8.119e-06 8.119e-06 8.119e-06 0.00% MLMG::computeMLResidual() 11 7.816e-06 7.816e-06 7.816e-06 0.00% Castro::computeNewDt() 9 6.964e-06 6.964e-06 6.964e-06 0.00% MLMG::getGradSolution() 11 5.685e-06 5.685e-06 5.685e-06 0.00% Amr::InitializeInit() 1 4.807e-06 4.807e-06 4.807e-06 0.00% AmrLevel::checkPointPost() 3 4.664e-06 4.664e-06 4.664e-06 0.00% Gravity::set_mass_offset() 11 4.285e-06 4.285e-06 4.285e-06 0.00% Castro::post_init() 1 4.049e-06 4.049e-06 4.049e-06 0.00% MLMG::MLRhsNormInf() 11 3.809e-06 3.809e-06 3.809e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.722e-06 3.722e-06 3.722e-06 0.00% Castro::retry_advance_ctu() 10 3.686e-06 3.686e-06 3.686e-06 0.00% MLMG::MLResNormInf() 11 3.503e-06 3.503e-06 3.503e-06 0.00% Castro::FluxRegCrseInit 10 2.749e-06 2.749e-06 2.749e-06 0.00% Castro::computeInitialDt() 2 2.626e-06 2.626e-06 2.626e-06 0.00% Amr::init() 1 2.451e-06 2.451e-06 2.451e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.872e-06 1.872e-06 1.872e-06 0.00% Castro::FluxRegFineAdd() 10 1.803e-06 1.803e-06 1.803e-06 0.00% AmrLevel::checkPointPre() 3 1.632e-06 1.632e-06 1.632e-06 0.00% Amr::initialInit() 1 1.101e-06 1.101e-06 1.101e-06 0.00% Castro::post_regrid() 1 1.095e-06 1.095e-06 1.095e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8489 0.8489 0.8489 100.00% Amr::coarseTimeStep() 10 0.6806 0.6806 0.6806 80.17% Amr::timeStep() 10 0.563 0.563 0.563 66.32% Castro::advance() 10 0.5557 0.5557 0.5557 65.46% Castro::subcycle_advance_ctu() 10 0.544 0.544 0.544 64.09% Castro::do_advance_ctu() 10 0.5439 0.5439 0.5439 64.06% Gravity::solve_phi_with_mlmg() 11 0.2722 0.2722 0.2722 32.06% Gravity::actual_solve_with_mlmg() 11 0.2654 0.2654 0.2654 31.27% Castro::construct_new_gravity() 10 0.2501 0.2501 0.2501 29.47% MLMG::solve() 11 0.2456 0.2456 0.2456 28.93% Gravity::solve_for_phi() 10 0.236 0.236 0.236 27.80% MLMG::oneIter() 81 0.2317 0.2317 0.2317 27.30% VisMF::Write(FabArray) 11 0.2302 0.2302 0.2302 27.12% MLMG::mgVcycle() 81 0.2281 0.2281 0.2281 26.87% Castro::construct_ctu_hydro_source() 10 0.2204 0.2204 0.2204 25.97% Amr::checkPoint() 3 0.1713 0.1713 0.1713 20.18% AmrLevel::checkPoint() 3 0.1674 0.1674 0.1674 19.72% StateData::checkPoint() 12 0.1673 0.1673 0.1673 19.71% Amr::init() 1 0.1346 0.1346 0.1346 15.86% MLCellLinOp::smooth() 1620 0.1125 0.1125 0.1125 13.25% MLCellLinOp::applyBC() 4379 0.1052 0.1052 0.1052 12.40% MLMG::mgVcycle_bottom 81 0.07043 0.07043 0.07043 8.30% MLMG::actualBottomSolve() 81 0.0704 0.0704 0.0704 8.29% MLCGSolver::bicgstab 81 0.06974 0.06974 0.06974 8.21% Amr::writePlotFile() 2 0.06593 0.06593 0.06593 7.77% Castro::clean_state() 62 0.04509 0.04509 0.04509 5.31% Amr::initialInit() 1 0.04397 0.04397 0.04397 5.18% Amr::FinalizeInit() 1 0.03995 0.03995 0.03995 4.71% Castro::post_init() 1 0.0386 0.0386 0.0386 4.55% FillPatchIterator::Initialize 41 0.03813 0.03813 0.03813 4.49% FillPatchSingleLevel 41 0.03661 0.03661 0.03661 4.31% Gravity::multilevel_solve_for_new_phi() 1 0.03653 0.03653 0.03653 4.30% Gravity::actual_multilevel_solve() 1 0.03651 0.03651 0.03651 4.30% MLCellLinOp::apply() 1128 0.03471 0.03471 0.03471 4.09% MLMG::mgVcycle_down::0 81 0.03286 0.03286 0.03286 3.87% StateDataPhysBCFunct::() 41 0.03257 0.03257 0.03257 3.84% FabArray::FillBoundary() 3974 0.03189 0.03189 0.03189 3.76% FillBoundary_nowait() 3974 0.03108 0.03108 0.03108 3.66% MLPoisson::Fsmooth() 3240 0.031 0.031 0.031 3.65% MLMG::mgVcycle_up::0 81 0.02483 0.02483 0.02483 2.93% StateData::FillBoundary(geom) 328 0.02266 0.02266 0.02266 2.67% MLCellLinOp::correctionResidual() 486 0.02133 0.02133 0.02133 2.51% amrex::Dot() 1100 0.01963 0.01963 0.01963 2.31% Castro::computeTemp() 63 0.01916 0.01916 0.01916 2.26% Castro::initialize_do_advance() 10 0.01886 0.01886 0.01886 2.22% MLMG:computeResOfCorrection() 405 0.01881 0.01881 0.01881 2.22% Gravity::get_new_grav_vector() 11 0.01588 0.01588 0.01588 1.87% MLPoisson::define() 11 0.01568 0.01568 0.01568 1.85% MLMG::mgVcycle_down::1 81 0.0151 0.0151 0.0151 1.78% amrex::Copy() 1019 0.01445 0.01445 0.01445 1.70% MLMG::mgVcycle_down::2 81 0.01408 0.01408 0.01408 1.66% FabArray::ParallelCopy() 851 0.01387 0.01387 0.01387 1.63% FabArray::norminf() 734 0.01379 0.01379 0.01379 1.62% Castro::normalize_species() 62 0.01372 0.01372 0.01372 1.62% MLMG::mgVcycle_down::3 81 0.0137 0.0137 0.0137 1.61% Castro::construct_old_gravity() 10 0.01366 0.01366 0.01366 1.61% Gravity::get_old_grav_vector() 10 0.01365 0.01365 0.01365 1.61% FabArray::ParallelCopy_nowait() 851 0.01363 0.01363 0.01363 1.61% MLMG::mgVcycle_down::4 81 0.01358 0.01358 0.01358 1.60% FabArray::setVal() 1135 0.0127 0.0127 0.0127 1.50% Castro::do_new_sources() 10 0.01241 0.01241 0.01241 1.46% Castro::enforce_min_density() 62 0.0119 0.0119 0.0119 1.40% MLCGSolver::ParallelAllReduce 1495 0.0118 0.0118 0.0118 1.39% MLMG::addInterpCorrection() 405 0.0113 0.0113 0.0113 1.33% Castro::initialize_advance() 10 0.01109 0.01109 0.01109 1.31% MLMG::mgVcycle_up::1 81 0.01101 0.01101 0.01101 1.30% MLMG::mgVcycle_up::4 81 0.01089 0.01089 0.01089 1.28% MLMG::mgVcycle_up::2 81 0.01074 0.01074 0.01074 1.27% amrex::average_down 405 0.01065 0.01065 0.01065 1.26% Castro::do_old_sources() 10 0.0106 0.0106 0.0106 1.25% MLCellLinOp::defineAuxData() 11 0.01054 0.01054 0.01054 1.24% Castro::expand_state() 10 0.01052 0.01052 0.01052 1.24% MLMG::mgVcycle_up::3 81 0.01049 0.01049 0.01049 1.24% MLPoisson::Fapply() 1128 0.009929 0.009929 0.009929 1.17% FabArray::Saxpy() 803 0.007902 0.007902 0.007902 0.93% FabArray::Xpay() 811 0.007749 0.007749 0.007749 0.91% Castro::post_timestep() 10 0.007106 0.007106 0.007106 0.84% MLCellLinOp::solutionResidual() 92 0.006932 0.006932 0.006932 0.82% Gravity::fill_multipole_BCs() 11 0.006498 0.006498 0.006498 0.77% MLMG::computeResidual() 81 0.005966 0.005966 0.005966 0.70% Castro::estTimeStep() 21 0.005388 0.005388 0.005388 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005373 0.005373 0.005373 0.63% MLCellLinOp::defineBC() 11 0.004636 0.004636 0.004636 0.55% MLMG::prepareForSolve() 11 0.004515 0.004515 0.004515 0.53% BndryData::define() 11 0.004427 0.004427 0.004427 0.52% FabArray::LinComb() 550 0.004359 0.004359 0.004359 0.51% amrex::Add() 162 0.004296 0.004296 0.004296 0.51% Amr::InitializeInit() 1 0.004012 0.004012 0.004012 0.47% Amr::defBaseLevel() 1 0.004007 0.004007 0.004007 0.47% Castro::initData() 1 0.003488 0.003488 0.003488 0.41% Castro::construct_new_source() 50 0.003235 0.003235 0.003235 0.38% Castro::construct_new_gravity_source() 10 0.003173 0.003173 0.003173 0.37% Castro::computeNewDt() 9 0.002816 0.002816 0.002816 0.33% Castro::construct_old_source() 50 0.002534 0.002534 0.002534 0.30% Castro::construct_old_gravity_source() 10 0.002516 0.002516 0.002516 0.30% MLMG::ResNormInf() 92 0.002049 0.002049 0.002049 0.24% Castro::apply_source_to_state() 20 0.001816 0.001816 0.001816 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00163 0.00163 0.00163 0.19% Castro::reset_internal_energy(Fab) 504 0.001428 0.001428 0.001428 0.17% FabArrayBase::getCPC() 1313 0.001412 0.001412 0.001412 0.17% MLMG::getGradSolution() 11 0.001368 0.001368 0.001368 0.16% MLCellLinOp::compGrad() 11 0.001362 0.001362 0.001362 0.16% MLCellLinOp::setLevelBC() 11 0.001351 0.001351 0.001351 0.16% FabArray::mult() 43 0.001311 0.001311 0.001311 0.15% FabArray::setDomainBndry() 41 0.001293 0.001293 0.001293 0.15% Castro::check_for_nan() 20 0.001207 0.001207 0.001207 0.14% MultiFab::contains_nan() 20 0.001197 0.001197 0.001197 0.14% Castro::post_regrid() 1 0.00111 0.00111 0.00111 0.13% MLPoisson::prepareForSolve() 11 0.001096 0.001096 0.001096 0.13% MLCellLinOp::prepareForSolve() 11 0.001088 0.001088 0.001088 0.13% MLMG::computeMLResidual() 11 0.001006 0.001006 0.001006 0.12% Castro::enforce_speed_limit() 62 0.0009865 0.0009865 0.0009865 0.12% Castro::computeInitialDt() 2 0.0009316 0.0009316 0.0009316 0.11% Gravity::update_max_rhs() 11 0.0008118 0.0008118 0.0008118 0.10% FabArrayBase::getFB() 3974 0.0007086 0.0007086 0.0007086 0.08% FabArrayBase::CPC::define() 454 0.0006646 0.0006646 0.0006646 0.08% Castro::finalize_advance() 10 0.0005811 0.0005811 0.0005811 0.07% Amr::InitAmr() 1 0.0004945 0.0004945 0.0004945 0.06% MLLinOp::define() 11 0.0004732 0.0004732 0.0004732 0.06% MLLinOp::defineGrids() 11 0.0004577 0.0004577 0.0004577 0.05% Castro::Castro() 1 0.0004372 0.0004372 0.0004372 0.05% Gravity::swapTimeLevels() 10 0.0004276 0.0004276 0.0004276 0.05% MLMG::MLResNormInf() 11 0.0002844 0.0002844 0.0002844 0.03% MultiFab::max() 11 0.0002546 0.0002546 0.0002546 0.03% MLMG::MLRhsNormInf() 11 0.000217 0.000217 0.000217 0.03% Castro::buildMetrics() 1 0.0001629 0.0001629 0.0001629 0.02% Castro::create_source_corrector() 10 0.0001519 0.0001519 0.0001519 0.02% FabArrayBase::FB::FB() 56 8.804e-05 8.804e-05 8.804e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.792e-05 5.792e-05 5.792e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 4.962e-05 4.962e-05 4.962e-05 0.01% StateData::define() 4 4.191e-05 4.191e-05 4.191e-05 0.00% Castro::swap_state_time_levels() 10 3.747e-05 3.747e-05 3.747e-05 0.00% Castro::finalize_do_advance() 10 3.735e-05 3.735e-05 3.735e-05 0.00% makeSFC 55 3.653e-05 3.653e-05 3.653e-05 0.00% Castro::enforce_consistent_e() 1 3.26e-05 3.26e-05 3.26e-05 0.00% Amr::writeSmallPlotFile() 1 2.575e-05 2.575e-05 2.575e-05 0.00% Castro::initMFs() 1 2.489e-05 2.489e-05 2.489e-05 0.00% DistributionMapping::Distribute() 56 1.394e-05 1.394e-05 1.394e-05 0.00% Amr::initSubcycle() 1 9.22e-06 9.22e-06 9.22e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.85e-06 4.85e-06 4.85e-06 0.00% AmrLevel::checkPointPost() 3 4.664e-06 4.664e-06 4.664e-06 0.00% Gravity::set_mass_offset() 11 4.285e-06 4.285e-06 4.285e-06 0.00% Castro::retry_advance_ctu() 10 3.686e-06 3.686e-06 3.686e-06 0.00% Castro::FluxRegCrseInit 10 2.749e-06 2.749e-06 2.749e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.872e-06 1.872e-06 1.872e-06 0.00% Castro::FluxRegFineAdd() 10 1.803e-06 1.803e-06 1.803e-06 0.00% AmrLevel::checkPointPre() 3 1.632e-06 1.632e-06 1.632e-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 98 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 124 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 970 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2182 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3559 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 194 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 164 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7524 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1821 B 2048 KiB Gravity::solve_for_phi() 80 80 568 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 88 KiB 2048 KiB BndryData::define() 1056 1056 324 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 2903 B 480 KiB VisMF::Write(FabArray) 656 656 3485 B 320 KiB Castro::normalize_species() 62 62 5258 B 320 KiB amrex::average_down 1054 1054 1260 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1151 B 257 KiB amrex::Dot() 1343 1343 3410 B 160 KiB FabArray::norminf() 896 896 2404 B 160 KiB Castro::do_advance_ctu() 10 10 443 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3479 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 46 B 10 KiB FillBoundary_nowait() 751 751 313 B 9648 B MLCellLinOp::applyBC() 8758 8758 224 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3861 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 2544 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 366 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 641 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 51 KiB 8192 KiB VisMF::Write(FabArray) 744 744 624 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3479 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 46 B 10 KiB FillBoundary_nowait() 751 751 313 B 9648 B MLCellLinOp::applyBC() 4379 4379 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3861 B 6144 B Gravity::get_new_grav_vector() 3 3 2914 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 37 B 2544 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 296 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): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-29-g76d6d344e12d) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-29-g76d6d344e12d) initialized Starting run at 08:32:42 UTC on 2023-05-26. Successfully read inputs file ... Castro git describe: 23.05-25-g99ae92958 AMReX git describe: 23.05-29-g76d6d344e Microphysics git describe: 23.05-12-g1f8fd85f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.447871305 Restart time = 0.044745204 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.050453119 [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.047685146 [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.047324946 [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.06285802 [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.069496266 [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.032736891 seconds Ending run at 08:32:43 UTC on 2023-05-26. Run time = 0.356277522 Run time without initialization = 0.31097872 Average number of zones advanced per microsecond: 4.215 Average number of zones advanced per microsecond per rank: 4.215 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3563 ... 0.3563 ... 0.3563 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0948 0.0948 0.0948 26.61% VisMF::Read() 3 0.03854 0.03854 0.03854 10.82% MLCellLinOp::applyBC() 1946 0.0324 0.0324 0.0324 9.09% VisMF::Write(FabArray) 1 0.03117 0.03117 0.03117 8.75% StateDataPhysBCFunct::() 20 0.01396 0.01396 0.01396 3.92% MLPoisson::Fsmooth() 1440 0.01349 0.01349 0.01349 3.79% FillBoundary_nowait() 1766 0.01271 0.01271 0.01271 3.57% StateData::FillBoundary(geom) 160 0.01046 0.01046 0.01046 2.94% amrex::Dot() 484 0.00844 0.00844 0.00844 2.37% Castro::normalize_species() 30 0.007523 0.007523 0.007523 2.11% amrex::Copy() 463 0.006761 0.006761 0.006761 1.90% FabArray::setVal() 537 0.006048 0.006048 0.006048 1.70% FabArray::norminf() 326 0.006011 0.006011 0.006011 1.69% FabArray::ParallelCopy_nowait() 380 0.005915 0.005915 0.005915 1.66% Castro::computeTemp() 30 0.005129 0.005129 0.005129 1.44% MLCellLinOp::defineAuxData() 6 0.00496 0.00496 0.00496 1.39% Castro::enforce_min_density() 30 0.004706 0.004706 0.004706 1.32% MLPoisson::Fapply() 500 0.004283 0.004283 0.004283 1.20% FabArray::Saxpy() 355 0.003543 0.003543 0.003543 0.99% FabArray::Xpay() 361 0.003369 0.003369 0.003369 0.95% Gravity::fill_multipole_BCs() 6 0.003362 0.003362 0.003362 0.94% MLMG::addInterpCorrection() 180 0.002776 0.002776 0.002776 0.78% Castro::reset_internal_energy(MultiFab) 30 0.002562 0.002562 0.002562 0.72% Amr::restart() 1 0.002541 0.002541 0.002541 0.71% amrex::average_down 180 0.0025 0.0025 0.0025 0.70% Castro::estTimeStep() 10 0.002127 0.002127 0.002127 0.60% BndryData::define() 6 0.001898 0.001898 0.001898 0.53% FabArray::LinComb() 242 0.001862 0.001862 0.001862 0.52% amrex::Add() 72 0.001832 0.001832 0.001832 0.51% Castro::construct_new_gravity_source() 5 0.001699 0.001699 0.001699 0.48% Amr::writePlotFile() 1 0.001422 0.001422 0.001422 0.40% Castro::construct_old_gravity_source() 5 0.001404 0.001404 0.001404 0.39% Castro::do_advance_ctu() 5 0.00123 0.00123 0.00123 0.35% MLCGSolver::bicgstab 36 0.0009162 0.0009162 0.0009162 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008662 0.0008662 0.0008662 0.24% Castro::subcycle_advance_ctu() 5 0.0008353 0.0008353 0.0008353 0.23% Gravity::actual_solve_with_mlmg() 6 0.0007782 0.0007782 0.0007782 0.22% MLCellLinOp::setLevelBC() 6 0.0007308 0.0007308 0.0007308 0.21% Castro::reset_internal_energy(Fab) 240 0.0006571 0.0006571 0.0006571 0.18% FabArray::mult() 22 0.0006427 0.0006427 0.0006427 0.18% FabArray::setDomainBndry() 20 0.0006378 0.0006378 0.0006378 0.18% MultiFab::contains_nan() 10 0.0005959 0.0005959 0.0005959 0.17% MLCellLinOp::prepareForSolve() 6 0.0005897 0.0005897 0.0005897 0.17% Castro::enforce_speed_limit() 30 0.0005664 0.0005664 0.0005664 0.16% MLCellLinOp::compGrad() 6 0.0004766 0.0004766 0.0004766 0.13% MLCellLinOp::smooth() 720 0.0004648 0.0004648 0.0004648 0.13% MLMG::prepareForSolve() 6 0.000464 0.000464 0.000464 0.13% FabArrayBase::CPC::define() 244 0.0004256 0.0004256 0.0004256 0.12% FabArray::FillBoundary() 1766 0.0003706 0.0003706 0.0003706 0.10% Amr::InitAmr() 1 0.0003684 0.0003684 0.0003684 0.10% FabArrayBase::getCPC() 632 0.0003385 0.0003385 0.0003385 0.10% Gravity::get_old_grav_vector() 5 0.0003062 0.0003062 0.0003062 0.09% main() 1 0.000285 0.000285 0.000285 0.08% Gravity::get_new_grav_vector() 5 0.0002765 0.0002765 0.0002765 0.08% FabArrayBase::getFB() 1766 0.0002533 0.0002533 0.0002533 0.07% MLCellLinOp::apply() 500 0.0001893 0.0001893 0.0001893 0.05% MLMG::mgVcycle() 36 0.0001769 0.0001769 0.0001769 0.05% Amr::coarseTimeStep() 5 0.0001638 0.0001638 0.0001638 0.05% MLLinOp::defineGrids() 6 0.0001535 0.0001535 0.0001535 0.04% MultiFab::max() 6 0.0001349 0.0001349 0.0001349 0.04% MLCGSolver::ParallelAllReduce 659 0.0001271 0.0001271 0.0001271 0.04% FillPatchIterator::Initialize 20 0.0001195 0.0001195 0.0001195 0.03% MLCellLinOp::defineBC() 6 0.00011 0.00011 0.00011 0.03% FabArray::ParallelCopy() 380 0.000109 0.000109 0.000109 0.03% Castro::create_source_corrector() 5 9.917e-05 9.917e-05 9.917e-05 0.03% MLCellLinOp::correctionResidual() 216 8.647e-05 8.647e-05 8.647e-05 0.02% AmrLevel::restart() 1 8.025e-05 8.025e-05 8.025e-05 0.02% Amr::timeStep() 5 8.016e-05 8.016e-05 8.016e-05 0.02% StateData::restartDoit() 4 6.735e-05 6.735e-05 6.735e-05 0.02% Gravity::solve_for_phi() 5 6.484e-05 6.484e-05 6.484e-05 0.02% Gravity::update_max_rhs() 6 6.21e-05 6.21e-05 6.21e-05 0.02% FabArrayBase::FB::FB() 26 6.062e-05 6.062e-05 6.062e-05 0.02% MLMG:computeResOfCorrection() 180 5.299e-05 5.299e-05 5.299e-05 0.01% Castro::advance() 5 5.024e-05 5.024e-05 5.024e-05 0.01% Castro::finalize_advance() 5 4.635e-05 4.635e-05 4.635e-05 0.01% Castro::expand_state() 5 4.124e-05 4.124e-05 4.124e-05 0.01% MLMG::actualBottomSolve() 36 3.987e-05 3.987e-05 3.987e-05 0.01% MLMG::mgVcycle_down::0 36 3.817e-05 3.817e-05 3.817e-05 0.01% MLMG::mgVcycle_down::1 36 3.627e-05 3.627e-05 3.627e-05 0.01% Castro::initialize_advance() 5 3.513e-05 3.513e-05 3.513e-05 0.01% MLMG::mgVcycle_down::2 36 3.443e-05 3.443e-05 3.443e-05 0.01% MLMG::mgVcycle_down::4 36 3.421e-05 3.421e-05 3.421e-05 0.01% Castro::clean_state() 30 3.292e-05 3.292e-05 3.292e-05 0.01% MLMG::mgVcycle_down::3 36 3.285e-05 3.285e-05 3.285e-05 0.01% MLMG::solve() 6 3.122e-05 3.122e-05 3.122e-05 0.01% Castro::construct_new_source() 25 3.006e-05 3.006e-05 3.006e-05 0.01% MLPoisson::define() 6 2.949e-05 2.949e-05 2.949e-05 0.01% Castro::initialize_do_advance() 5 2.812e-05 2.812e-05 2.812e-05 0.01% Amr::writeSmallPlotFile() 1 2.81e-05 2.81e-05 2.81e-05 0.01% Castro::buildMetrics() 1 2.762e-05 2.762e-05 2.762e-05 0.01% MLMG::mgVcycle_up::4 36 2.622e-05 2.622e-05 2.622e-05 0.01% Castro::initMFs() 1 2.515e-05 2.515e-05 2.515e-05 0.01% Castro::swap_state_time_levels() 5 2.377e-05 2.377e-05 2.377e-05 0.01% Castro::finalize_do_advance() 5 2.172e-05 2.172e-05 2.172e-05 0.01% MLMG::mgVcycle_up::2 36 2.109e-05 2.109e-05 2.109e-05 0.01% MLMG::mgVcycle_up::0 36 2.106e-05 2.106e-05 2.106e-05 0.01% MLCellLinOp::solutionResidual() 42 2.095e-05 2.095e-05 2.095e-05 0.01% MLMG::oneIter() 36 2.09e-05 2.09e-05 2.09e-05 0.01% Castro::post_restart() 1 2.059e-05 2.059e-05 2.059e-05 0.01% MLMG::mgVcycle_up::3 36 2.049e-05 2.049e-05 2.049e-05 0.01% MLMG::mgVcycle_up::1 36 1.973e-05 1.973e-05 1.973e-05 0.01% MLMG::ResNormInf() 42 1.771e-05 1.771e-05 1.771e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.582e-05 1.582e-05 1.582e-05 0.00% MLMG::mgVcycle_bottom 36 1.367e-05 1.367e-05 1.367e-05 0.00% MLMG::computeResidual() 36 1.352e-05 1.352e-05 1.352e-05 0.00% FillPatchSingleLevel 20 1.3e-05 1.3e-05 1.3e-05 0.00% makeSFC 30 1.26e-05 1.26e-05 1.26e-05 0.00% Castro::construct_new_gravity() 5 1.207e-05 1.207e-05 1.207e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.196e-05 1.196e-05 1.196e-05 0.00% Castro::construct_old_source() 25 1.177e-05 1.177e-05 1.177e-05 0.00% MLLinOp::define() 6 1.015e-05 1.015e-05 1.015e-05 0.00% Amr::initSubcycle() 1 8.83e-06 8.83e-06 8.83e-06 0.00% Castro::do_new_sources() 5 8.647e-06 8.647e-06 8.647e-06 0.00% DistributionMapping::Distribute() 31 8.366e-06 8.366e-06 8.366e-06 0.00% Castro::do_old_sources() 5 7.763e-06 7.763e-06 7.763e-06 0.00% Gravity::actual_multilevel_solve() 1 7.574e-06 7.574e-06 7.574e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.159e-06 7.159e-06 7.159e-06 0.00% Castro::construct_old_gravity() 5 5.354e-06 5.354e-06 5.354e-06 0.00% Castro::apply_source_to_state() 10 5.353e-06 5.353e-06 5.353e-06 0.00% Castro::check_for_nan() 10 5.115e-06 5.115e-06 5.115e-06 0.00% MLPoisson::prepareForSolve() 6 4.403e-06 4.403e-06 4.403e-06 0.00% Castro::post_timestep() 5 4.102e-06 4.102e-06 4.102e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.047e-06 4.047e-06 4.047e-06 0.00% Gravity::swapTimeLevels() 5 3.648e-06 3.648e-06 3.648e-06 0.00% MLMG::computeMLResidual() 6 3.496e-06 3.496e-06 3.496e-06 0.00% Castro::computeNewDt() 5 3.39e-06 3.39e-06 3.39e-06 0.00% MLMG::getGradSolution() 6 2.973e-06 2.973e-06 2.973e-06 0.00% MLMG::MLResNormInf() 6 2.571e-06 2.571e-06 2.571e-06 0.00% Gravity::set_mass_offset() 6 2.357e-06 2.357e-06 2.357e-06 0.00% MLMG::MLRhsNormInf() 6 2.12e-06 2.12e-06 2.12e-06 0.00% Castro::FluxRegCrseInit 5 1.7e-06 1.7e-06 1.7e-06 0.00% Castro::retry_advance_ctu() 5 1.69e-06 1.69e-06 1.69e-06 0.00% Castro::FluxRegFineAdd() 5 1.141e-06 1.141e-06 1.141e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.67e-07 9.67e-07 9.67e-07 0.00% Amr::init() 1 9.04e-07 9.04e-07 9.04e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3563 0.3563 0.3563 100.00% Amr::coarseTimeStep() 5 0.278 0.278 0.278 78.02% Amr::timeStep() 5 0.2765 0.2765 0.2765 77.59% Castro::advance() 5 0.2736 0.2736 0.2736 76.80% Castro::subcycle_advance_ctu() 5 0.2674 0.2674 0.2674 75.04% Castro::do_advance_ctu() 5 0.2665 0.2665 0.2665 74.80% Castro::construct_new_gravity() 5 0.1285 0.1285 0.1285 36.06% Gravity::solve_phi_with_mlmg() 6 0.1213 0.1213 0.1213 34.06% Gravity::solve_for_phi() 5 0.1184 0.1184 0.1184 33.22% Gravity::actual_solve_with_mlmg() 6 0.1177 0.1177 0.1177 33.05% MLMG::solve() 6 0.1071 0.1071 0.1071 30.05% MLMG::oneIter() 36 0.1004 0.1004 0.1004 28.18% MLMG::mgVcycle() 36 0.09885 0.09885 0.09885 27.74% Castro::construct_ctu_hydro_source() 5 0.0948 0.0948 0.0948 26.61% MLCellLinOp::smooth() 720 0.0487 0.0487 0.0487 13.67% MLCellLinOp::applyBC() 1946 0.0458 0.0458 0.0458 12.85% Amr::init() 1 0.04479 0.04479 0.04479 12.57% Amr::restart() 1 0.04479 0.04479 0.04479 12.57% AmrLevel::restart() 1 0.03874 0.03874 0.03874 10.87% StateData::restartDoit() 4 0.03866 0.03866 0.03866 10.85% VisMF::Read() 3 0.03854 0.03854 0.03854 10.82% Amr::writePlotFile() 1 0.03284 0.03284 0.03284 9.22% VisMF::Write(FabArray) 1 0.03117 0.03117 0.03117 8.75% MLMG::mgVcycle_bottom 36 0.03046 0.03046 0.03046 8.55% MLMG::actualBottomSolve() 36 0.03044 0.03044 0.03044 8.54% MLCGSolver::bicgstab 36 0.03015 0.03015 0.03015 8.46% FillPatchIterator::Initialize 20 0.02727 0.02727 0.02727 7.65% FillPatchSingleLevel 20 0.02652 0.02652 0.02652 7.44% StateDataPhysBCFunct::() 20 0.02442 0.02442 0.02442 6.85% Castro::clean_state() 30 0.02118 0.02118 0.02118 5.94% MLCellLinOp::apply() 500 0.01526 0.01526 0.01526 4.28% MLMG::mgVcycle_down::0 36 0.01415 0.01415 0.01415 3.97% MLPoisson::Fsmooth() 1440 0.01349 0.01349 0.01349 3.79% FabArray::FillBoundary() 1766 0.0134 0.0134 0.0134 3.76% FillBoundary_nowait() 1766 0.01302 0.01302 0.01302 3.66% Castro::initialize_do_advance() 5 0.01123 0.01123 0.01123 3.15% MLMG::mgVcycle_up::0 36 0.0106 0.0106 0.0106 2.98% StateData::FillBoundary(geom) 160 0.01046 0.01046 0.01046 2.94% Castro::construct_old_gravity() 5 0.01007 0.01007 0.01007 2.83% Gravity::get_old_grav_vector() 5 0.01007 0.01007 0.01007 2.83% Gravity::get_new_grav_vector() 5 0.01002 0.01002 0.01002 2.81% MLCellLinOp::correctionResidual() 216 0.009242 0.009242 0.009242 2.59% amrex::Dot() 484 0.00844 0.00844 0.00844 2.37% MLPoisson::define() 6 0.008432 0.008432 0.008432 2.37% Castro::computeTemp() 30 0.008349 0.008349 0.008349 2.34% MLMG:computeResOfCorrection() 180 0.008134 0.008134 0.008134 2.28% Castro::normalize_species() 30 0.007523 0.007523 0.007523 2.11% Castro::do_new_sources() 5 0.007033 0.007033 0.007033 1.97% Castro::expand_state() 5 0.006804 0.006804 0.006804 1.91% amrex::Copy() 463 0.006761 0.006761 0.006761 1.90% MLMG::mgVcycle_down::1 36 0.006582 0.006582 0.006582 1.85% FabArray::ParallelCopy() 380 0.006411 0.006411 0.006411 1.80% FabArray::ParallelCopy_nowait() 380 0.006302 0.006302 0.006302 1.77% MLMG::mgVcycle_down::2 36 0.006146 0.006146 0.006146 1.72% FabArray::setVal() 537 0.006048 0.006048 0.006048 1.70% FabArray::norminf() 326 0.006011 0.006011 0.006011 1.69% MLMG::mgVcycle_down::3 36 0.005989 0.005989 0.005989 1.68% MLMG::mgVcycle_down::4 36 0.00593 0.00593 0.00593 1.66% Castro::initialize_advance() 5 0.005929 0.005929 0.005929 1.66% MLCellLinOp::defineAuxData() 6 0.005661 0.005661 0.005661 1.59% MLCGSolver::ParallelAllReduce 659 0.005099 0.005099 0.005099 1.43% Castro::do_old_sources() 5 0.004988 0.004988 0.004988 1.40% MLMG::addInterpCorrection() 180 0.004932 0.004932 0.004932 1.38% MLMG::mgVcycle_up::1 36 0.00479 0.00479 0.00479 1.34% MLMG::mgVcycle_up::4 36 0.004747 0.004747 0.004747 1.33% Castro::enforce_min_density() 30 0.004706 0.004706 0.004706 1.32% MLMG::mgVcycle_up::2 36 0.004684 0.004684 0.004684 1.31% amrex::average_down 180 0.004671 0.004671 0.004671 1.31% MLMG::mgVcycle_up::3 36 0.004595 0.004595 0.004595 1.29% MLPoisson::Fapply() 500 0.004283 0.004283 0.004283 1.20% FabArray::Saxpy() 355 0.003543 0.003543 0.003543 0.99% Gravity::fill_multipole_BCs() 6 0.003484 0.003484 0.003484 0.98% FabArray::Xpay() 361 0.003369 0.003369 0.003369 0.95% Castro::post_restart() 1 0.003328 0.003328 0.003328 0.93% Gravity::multilevel_solve_for_new_phi() 1 0.003222 0.003222 0.003222 0.90% Castro::reset_internal_energy(MultiFab) 30 0.003219 0.003219 0.003219 0.90% Gravity::actual_multilevel_solve() 1 0.003206 0.003206 0.003206 0.90% MLCellLinOp::solutionResidual() 42 0.003158 0.003158 0.003158 0.89% Castro::post_timestep() 5 0.002727 0.002727 0.002727 0.77% MLMG::computeResidual() 36 0.002606 0.002606 0.002606 0.73% MLCellLinOp::defineBC() 6 0.00255 0.00255 0.00255 0.72% BndryData::define() 6 0.00244 0.00244 0.00244 0.68% MLMG::prepareForSolve() 6 0.002431 0.002431 0.002431 0.68% Castro::estTimeStep() 10 0.002127 0.002127 0.002127 0.60% FabArray::LinComb() 242 0.001862 0.001862 0.001862 0.52% amrex::Add() 72 0.001832 0.001832 0.001832 0.51% Castro::construct_new_source() 25 0.001729 0.001729 0.001729 0.49% Castro::construct_new_gravity_source() 5 0.001699 0.001699 0.001699 0.48% Castro::construct_old_source() 25 0.001416 0.001416 0.001416 0.40% Castro::construct_old_gravity_source() 5 0.001404 0.001404 0.001404 0.39% Castro::computeNewDt() 5 0.001355 0.001355 0.001355 0.38% Castro::apply_source_to_state() 10 0.0009178 0.0009178 0.0009178 0.26% MLMG::ResNormInf() 42 0.0009114 0.0009114 0.0009114 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008662 0.0008662 0.0008662 0.24% FabArrayBase::getCPC() 632 0.0007641 0.0007641 0.0007641 0.21% MLMG::getGradSolution() 6 0.0007447 0.0007447 0.0007447 0.21% MLCellLinOp::compGrad() 6 0.0007417 0.0007417 0.0007417 0.21% MLCellLinOp::setLevelBC() 6 0.0007308 0.0007308 0.0007308 0.21% Castro::reset_internal_energy(Fab) 240 0.0006571 0.0006571 0.0006571 0.18% FabArray::mult() 22 0.0006427 0.0006427 0.0006427 0.18% FabArray::setDomainBndry() 20 0.0006378 0.0006378 0.0006378 0.18% Castro::check_for_nan() 10 0.000601 0.000601 0.000601 0.17% MultiFab::contains_nan() 10 0.0005959 0.0005959 0.0005959 0.17% MLPoisson::prepareForSolve() 6 0.0005941 0.0005941 0.0005941 0.17% MLCellLinOp::prepareForSolve() 6 0.0005897 0.0005897 0.0005897 0.17% MLMG::computeMLResidual() 6 0.0005688 0.0005688 0.0005688 0.16% Castro::enforce_speed_limit() 30 0.0005664 0.0005664 0.0005664 0.16% Gravity::update_max_rhs() 6 0.0004367 0.0004367 0.0004367 0.12% FabArrayBase::CPC::define() 244 0.0004256 0.0004256 0.0004256 0.12% Amr::InitAmr() 1 0.0003772 0.0003772 0.0003772 0.11% FabArrayBase::getFB() 1766 0.0003139 0.0003139 0.0003139 0.09% Castro::finalize_advance() 5 0.0003008 0.0003008 0.0003008 0.08% Gravity::swapTimeLevels() 5 0.0002197 0.0002197 0.0002197 0.06% MLLinOp::define() 6 0.0001916 0.0001916 0.0001916 0.05% MLLinOp::defineGrids() 6 0.0001814 0.0001814 0.0001814 0.05% MLMG::MLResNormInf() 6 0.0001497 0.0001497 0.0001497 0.04% Castro::buildMetrics() 1 0.0001477 0.0001477 0.0001477 0.04% MultiFab::max() 6 0.0001349 0.0001349 0.0001349 0.04% MLMG::MLRhsNormInf() 6 0.0001146 0.0001146 0.0001146 0.03% Castro::create_source_corrector() 5 9.917e-05 9.917e-05 9.917e-05 0.03% FabArrayBase::FB::FB() 26 6.062e-05 6.062e-05 6.062e-05 0.02% Amr::writeSmallPlotFile() 1 2.81e-05 2.81e-05 2.81e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.693e-05 2.693e-05 2.693e-05 0.01% Castro::initMFs() 1 2.515e-05 2.515e-05 2.515e-05 0.01% Castro::swap_state_time_levels() 5 2.377e-05 2.377e-05 2.377e-05 0.01% Castro::finalize_do_advance() 5 2.172e-05 2.172e-05 2.172e-05 0.01% makeSFC 30 1.977e-05 1.977e-05 1.977e-05 0.01% Amr::initSubcycle() 1 8.83e-06 8.83e-06 8.83e-06 0.00% DistributionMapping::Distribute() 31 8.366e-06 8.366e-06 8.366e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.246e-06 5.246e-06 5.246e-06 0.00% Gravity::set_mass_offset() 6 2.357e-06 2.357e-06 2.357e-06 0.00% Castro::FluxRegCrseInit 5 1.7e-06 1.7e-06 1.7e-06 0.00% Castro::retry_advance_ctu() 5 1.69e-06 1.69e-06 1.69e-06 0.00% Castro::FluxRegFineAdd() 5 1.141e-06 1.141e-06 1.141e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.67e-07 9.67e-07 9.67e-07 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 229 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 122 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1567 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2575 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6679 KiB 14 MiB MLMG::prepareForSolve() 361 361 3689 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 291 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 288 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6674 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2359 B 2048 KiB Gravity::solve_for_phi() 40 40 678 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 339 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 217 KiB 671 KiB Castro::estTimeStep() 10 10 2775 B 480 KiB VisMF::Write(FabArray) 112 112 1357 B 320 KiB Castro::normalize_species() 30 30 6864 B 320 KiB amrex::average_down 469 469 1271 B 257 KiB MLMG::addInterpCorrection() 468 468 1193 B 257 KiB amrex::Dot() 592 592 3487 B 160 KiB FabArray::norminf() 398 398 2493 B 160 KiB Castro::do_advance_ctu() 5 5 518 B 160 KiB MultiFab::max() 6 6 58 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3588 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 54 B 10 KiB FillBoundary_nowait() 336 336 310 B 9648 B MLCellLinOp::applyBC() 3892 3892 235 B 9344 B amrex::Copy() 56 56 5936 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 121 B 4288 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 123 B 1472 B MLCellLinOp::defineBC() 36 36 381 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1521 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 123 KiB 8192 KiB VisMF::Write(FabArray) 120 120 269 KiB 3584 KiB VisMF::Read() 24 24 210 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3588 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 54 B 10 KiB FillBoundary_nowait() 336 336 310 B 9648 B MLCellLinOp::applyBC() 1946 1946 233 B 9328 B amrex::Copy() 56 56 5936 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 121 B 4288 B Gravity::get_old_grav_vector() 3 3 2630 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 545 B 1296 B amrex::average_down 37 37 220 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-29-g76d6d344e12d) finalized