Initializing AMReX (23.11-14-g175b99d913dc)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-14-g175b99d913dc) initialized Starting run at 09:32:34 UTC on 2023-11-20. Successfully read inputs file ... Castro git describe: 23.11-6-gb720d68fa AMReX git describe: 23.11-14-g175b99d91 Microphysics git describe: 23.11-9-ge9e31f40 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.051462908 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02823498 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.050306168 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050962099 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.075680869 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.077854033 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.068094989 [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.049798401 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.067655738 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.07506069 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.073781796 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.056589949 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.061045147 [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.048558733 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028372158 seconds Ending run at 09:32:35 UTC on 2023-11-20. Run time = 0.919956623 Run time without initialization = 0.784398431 Average number of zones advanced per microsecond: 3.342 Average number of zones advanced per microsecond per rank: 3.342 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.92 ... 0.92 ... 0.92 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2806 0.2806 0.2806 30.50% VisMF::Write(FabArray) 11 0.1977 0.1977 0.1977 21.49% MLCellLinOp::applyBC() 4433 0.08038 0.08038 0.08038 8.74% MLPoisson::Fsmooth() 3280 0.03324 0.03324 0.03324 3.61% FillBoundary_nowait() 4023 0.03088 0.03088 0.03088 3.36% StateData::FillBoundary(geom) 328 0.02735 0.02735 0.02735 2.97% amrex::Dot() 1114 0.0213 0.0213 0.0213 2.31% Castro::normalize_species() 62 0.02031 0.02031 0.02031 2.21% amrex::Copy() 1029 0.01524 0.01524 0.01524 1.66% Castro::computeTemp() 63 0.01512 0.01512 0.01512 1.64% FabArray::norminf() 743 0.01419 0.01419 0.01419 1.54% FabArray::setVal() 1144 0.01368 0.01368 0.01368 1.49% FabArray::ParallelCopy_nowait() 861 0.01352 0.01352 0.01352 1.47% FabArray::Saxpy() 1370 0.01287 0.01287 0.01287 1.40% Castro::enforce_min_density() 62 0.01141 0.01141 0.01141 1.24% MLPoisson::Fapply() 1142 0.01068 0.01068 0.01068 1.16% MLCellLinOp::defineAuxData() 11 0.0106 0.0106 0.0106 1.15% StateDataPhysBCFunct::() 41 0.01048 0.01048 0.01048 1.14% Gravity::fill_multipole_BCs() 11 0.009213 0.009213 0.009213 1.00% FabArray::Xpay() 821 0.008374 0.008374 0.008374 0.91% MLMG::addInterpCorrection() 410 0.006943 0.006943 0.006943 0.75% amrex::average_down 410 0.006178 0.006178 0.006178 0.67% Castro::estTimeStep() 21 0.00609 0.00609 0.00609 0.66% Amr::checkPoint() 3 0.005957 0.005957 0.005957 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005165 0.005165 0.005165 0.56% amrex::Add() 164 0.004424 0.004424 0.004424 0.48% BndryData::define() 11 0.003885 0.003885 0.003885 0.42% Castro::enforce_speed_limit() 62 0.003791 0.003791 0.003791 0.41% Castro::construct_new_gravity_source() 10 0.003 0.003 0.003 0.33% Castro::construct_old_gravity_source() 10 0.002532 0.002532 0.002532 0.28% Amr::writePlotFile() 2 0.002282 0.002282 0.002282 0.25% MLCGSolver::bicgstab 82 0.002064 0.002064 0.002064 0.22% check_for_negative_density() 10 0.001912 0.001912 0.001912 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001784 0.001784 0.001784 0.19% Castro::reset_internal_energy(Fab) 504 0.001638 0.001638 0.001638 0.18% Gravity::actual_solve_with_mlmg() 11 0.001624 0.001624 0.001624 0.18% Castro::initData() 1 0.001573 0.001573 0.001573 0.17% MLCellLinOp::setLevelBC() 11 0.001532 0.001532 0.001532 0.17% FabArray::mult() 43 0.001364 0.001364 0.001364 0.15% FabArray::setDomainBndry() 41 0.001346 0.001346 0.001346 0.15% MLCellLinOp::prepareForSolve() 11 0.001334 0.001334 0.001334 0.14% MultiFab::contains_nan() 20 0.001263 0.001263 0.001263 0.14% MLCellLinOp::smooth() 1640 0.001192 0.001192 0.001192 0.13% MLCellLinOp::compGrad() 11 0.001076 0.001076 0.001076 0.12% MLMG::prepareForSolve() 11 0.0009995 0.0009995 0.0009995 0.11% FabArray::FillBoundary() 4023 0.0009061 0.0009061 0.0009061 0.10% FabArrayBase::getCPC() 1323 0.0008075 0.0008075 0.0008075 0.09% FabArrayBase::CPC::define() 454 0.0007075 0.0007075 0.0007075 0.08% FabArrayBase::getFB() 4023 0.0006689 0.0006689 0.0006689 0.07% Gravity::get_new_grav_vector() 11 0.0006027 0.0006027 0.0006027 0.07% Amr::InitAmr() 1 0.0005184 0.0005184 0.0005184 0.06% Gravity::get_old_grav_vector() 10 0.0004807 0.0004807 0.0004807 0.05% MLCellLinOp::apply() 1142 0.0004616 0.0004616 0.0004616 0.05% AmrLevel::FillPatch() 41 0.0003745 0.0003745 0.0003745 0.04% MultiFab::max() 11 0.0003382 0.0003382 0.0003382 0.04% Amr::coarseTimeStep() 10 0.0003248 0.0003248 0.0003248 0.04% main() 1 0.0002953 0.0002953 0.0002953 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002895 0.0002895 0.0002895 0.03% MLCellLinOp::defineBC() 11 0.0002574 0.0002574 0.0002574 0.03% FillPatchIterator::Initialize 41 0.0002428 0.0002428 0.0002428 0.03% FabArray::ParallelCopy() 861 0.0002403 0.0002403 0.0002403 0.03% MLCellLinOp::correctionResidual() 492 0.000226 0.000226 0.000226 0.02% Castro::subcycle_advance_ctu() 10 0.0001978 0.0001978 0.0001978 0.02% MLMG::mgVcycle() 82 0.0001931 0.0001931 0.0001931 0.02% Gravity::solve_for_phi() 10 0.0001819 0.0001819 0.0001819 0.02% MLLinOp::defineGrids() 11 0.0001781 0.0001781 0.0001781 0.02% Castro::create_source_corrector() 10 0.0001677 0.0001677 0.0001677 0.02% Amr::timeStep() 10 0.0001572 0.0001572 0.0001572 0.02% Gravity::update_max_rhs() 11 0.0001454 0.0001454 0.0001454 0.02% StateData::checkPoint() 12 0.0001354 0.0001354 0.0001354 0.01% MLMG:computeResOfCorrection() 410 0.0001234 0.0001234 0.0001234 0.01% Castro::advance() 10 0.0001138 0.0001138 0.0001138 0.01% FabArrayBase::FB::FB() 56 0.0001014 0.0001014 0.0001014 0.01% MLMG::mgVcycle_down::0 82 9.418e-05 9.418e-05 9.418e-05 0.01% Castro::Castro() 1 9.002e-05 9.002e-05 9.002e-05 0.01% MLMG::actualBottomSolve() 82 8.541e-05 8.541e-05 8.541e-05 0.01% MLMG::mgVcycle_down::2 82 8.125e-05 8.125e-05 8.125e-05 0.01% MLMG::mgVcycle_down::1 82 7.996e-05 7.996e-05 7.996e-05 0.01% MLMG::mgVcycle_down::3 82 7.953e-05 7.953e-05 7.953e-05 0.01% AmrLevel::checkPoint() 3 7.857e-05 7.857e-05 7.857e-05 0.01% Castro::clean_state() 62 7.77e-05 7.77e-05 7.77e-05 0.01% MLMG::mgVcycle_down::4 82 7.767e-05 7.767e-05 7.767e-05 0.01% Castro::initialize_advance() 10 7.765e-05 7.765e-05 7.765e-05 0.01% Castro::do_new_sources() 10 7.7e-05 7.7e-05 7.7e-05 0.01% MLMG::solve() 11 7.492e-05 7.492e-05 7.492e-05 0.01% Castro::enforce_consistent_e() 1 7.019e-05 7.019e-05 7.019e-05 0.01% Castro::finalize_advance() 10 6.653e-05 6.653e-05 6.653e-05 0.01% Castro::initialize_do_advance() 10 6.374e-05 6.374e-05 6.374e-05 0.01% Castro::construct_new_source() 50 6.149e-05 6.149e-05 6.149e-05 0.01% MLMG::mgVcycle_up::4 82 6.035e-05 6.035e-05 6.035e-05 0.01% MLMG::oneIter() 82 5.462e-05 5.462e-05 5.462e-05 0.01% MLMG::mgVcycle_up::0 82 5.223e-05 5.223e-05 5.223e-05 0.01% MLMG::mgVcycle_up::3 82 5.021e-05 5.021e-05 5.021e-05 0.01% Castro::do_advance_ctu() 10 4.89e-05 4.89e-05 4.89e-05 0.01% MLMG::mgVcycle_up::1 82 4.841e-05 4.841e-05 4.841e-05 0.01% MLCellLinOp::solutionResidual() 93 4.82e-05 4.82e-05 4.82e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.716e-05 4.716e-05 4.716e-05 0.01% MLMG::mgVcycle_up::2 82 4.7e-05 4.7e-05 4.7e-05 0.01% Castro::finalize_do_advance() 10 4.416e-05 4.416e-05 4.416e-05 0.00% StateData::define() 4 4.191e-05 4.191e-05 4.191e-05 0.00% Castro::swap_state_time_levels() 10 3.819e-05 3.819e-05 3.819e-05 0.00% MLMG::ResNormInf() 93 3.726e-05 3.726e-05 3.726e-05 0.00% FillPatchSingleLevel 41 3.667e-05 3.667e-05 3.667e-05 0.00% MLMG::mgVcycle_bottom 82 3.448e-05 3.448e-05 3.448e-05 0.00% MLMG::computeResidual() 82 3.38e-05 3.38e-05 3.38e-05 0.00% Amr::writeSmallPlotFile() 1 3.164e-05 3.164e-05 3.164e-05 0.00% Castro::initMFs() 1 2.974e-05 2.974e-05 2.974e-05 0.00% Castro::buildMetrics() 1 2.787e-05 2.787e-05 2.787e-05 0.00% makeSFC 55 2.56e-05 2.56e-05 2.56e-05 0.00% Castro::construct_new_gravity() 10 2.539e-05 2.539e-05 2.539e-05 0.00% Amr::defBaseLevel() 1 2.505e-05 2.505e-05 2.505e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.268e-05 2.268e-05 2.268e-05 0.00% MLPoisson::define() 11 2.205e-05 2.205e-05 2.205e-05 0.00% Castro::do_old_sources() 10 2.196e-05 2.196e-05 2.196e-05 0.00% Amr::FinalizeInit() 1 2.083e-05 2.083e-05 2.083e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.988e-05 1.988e-05 1.988e-05 0.00% Castro::construct_old_source() 50 1.867e-05 1.867e-05 1.867e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.838e-05 1.838e-05 1.838e-05 0.00% DistributionMapping::Distribute() 56 1.812e-05 1.812e-05 1.812e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.505e-05 1.505e-05 1.505e-05 0.00% MLPoisson::prepareForSolve() 11 1.348e-05 1.348e-05 1.348e-05 0.00% MLMG::computeMLResidual() 11 1.328e-05 1.328e-05 1.328e-05 0.00% Castro::check_for_nan() 20 1.277e-05 1.277e-05 1.277e-05 0.00% Castro::construct_old_gravity() 10 1.268e-05 1.268e-05 1.268e-05 0.00% Castro::apply_source_to_state() 20 1.19e-05 1.19e-05 1.19e-05 0.00% MLLinOp::define() 11 1.108e-05 1.108e-05 1.108e-05 0.00% Castro::post_init() 1 1.02e-05 1.02e-05 1.02e-05 0.00% Amr::initSubcycle() 1 9.346e-06 9.346e-06 9.346e-06 0.00% Gravity::swapTimeLevels() 10 8.658e-06 8.658e-06 8.658e-06 0.00% Gravity::actual_multilevel_solve() 1 8.261e-06 8.261e-06 8.261e-06 0.00% Castro::post_timestep() 10 8.054e-06 8.054e-06 8.054e-06 0.00% Castro::expand_state() 10 6.179e-06 6.179e-06 6.179e-06 0.00% MLMG::getGradSolution() 11 5.975e-06 5.975e-06 5.975e-06 0.00% Castro::computeNewDt() 9 5.951e-06 5.951e-06 5.951e-06 0.00% AmrLevel::checkPointPost() 3 5.364e-06 5.364e-06 5.364e-06 0.00% Castro::retry_advance_ctu() 10 4.884e-06 4.884e-06 4.884e-06 0.00% Amr::InitializeInit() 1 4.668e-06 4.668e-06 4.668e-06 0.00% Gravity::set_mass_offset() 11 4.138e-06 4.138e-06 4.138e-06 0.00% MLMG::MLRhsNormInf() 11 4.079e-06 4.079e-06 4.079e-06 0.00% MLMG::MLResNormInf() 11 3.873e-06 3.873e-06 3.873e-06 0.00% Amr::initialInit() 1 3.442e-06 3.442e-06 3.442e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.183e-06 3.183e-06 3.183e-06 0.00% Castro::FluxRegCrseInit 10 2.882e-06 2.882e-06 2.882e-06 0.00% Amr::init() 1 2.75e-06 2.75e-06 2.75e-06 0.00% Castro::computeInitialDt() 2 2.71e-06 2.71e-06 2.71e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.481e-06 2.481e-06 2.481e-06 0.00% AmrLevel::checkPointPre() 3 2.321e-06 2.321e-06 2.321e-06 0.00% Castro::FluxRegFineAdd() 10 2.25e-06 2.25e-06 2.25e-06 0.00% Castro::post_regrid() 1 1.644e-06 1.644e-06 1.644e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.92 0.92 0.92 100.00% Amr::coarseTimeStep() 10 0.7558 0.7558 0.7558 82.15% Amr::timeStep() 10 0.6534 0.6534 0.6534 71.03% Castro::advance() 10 0.6433 0.6433 0.6433 69.93% Castro::subcycle_advance_ctu() 10 0.6284 0.6284 0.6284 68.31% Castro::do_advance_ctu() 10 0.6282 0.6282 0.6282 68.29% Gravity::solve_phi_with_mlmg() 11 0.2949 0.2949 0.2949 32.06% Castro::construct_ctu_hydro_source() 10 0.2911 0.2911 0.2911 31.64% Gravity::actual_solve_with_mlmg() 11 0.2852 0.2852 0.2852 31.00% Castro::construct_new_gravity() 10 0.2655 0.2655 0.2655 28.86% MLMG::solve() 11 0.263 0.263 0.263 28.59% Gravity::solve_for_phi() 10 0.2493 0.2493 0.2493 27.10% MLMG::oneIter() 82 0.2478 0.2478 0.2478 26.93% MLMG::mgVcycle() 82 0.2441 0.2441 0.2441 26.53% VisMF::Write(FabArray) 11 0.1977 0.1977 0.1977 21.49% Amr::checkPoint() 3 0.15 0.15 0.15 16.30% AmrLevel::checkPoint() 3 0.144 0.144 0.144 15.65% StateData::checkPoint() 12 0.1439 0.1439 0.1439 15.64% Amr::init() 1 0.1349 0.1349 0.1349 14.66% MLCellLinOp::smooth() 1640 0.1204 0.1204 0.1204 13.08% MLCellLinOp::applyBC() 4433 0.1129 0.1129 0.1129 12.28% MLMG::mgVcycle_bottom 82 0.07536 0.07536 0.07536 8.19% MLMG::actualBottomSolve() 82 0.07533 0.07533 0.07533 8.19% MLCGSolver::bicgstab 82 0.07461 0.07461 0.07461 8.11% Amr::writePlotFile() 2 0.05673 0.05673 0.05673 6.17% Castro::clean_state() 62 0.05661 0.05661 0.05661 6.15% Amr::initialInit() 1 0.05508 0.05508 0.05508 5.99% Amr::FinalizeInit() 1 0.04995 0.04995 0.04995 5.43% Castro::post_init() 1 0.04851 0.04851 0.04851 5.27% AmrLevel::FillPatch() 41 0.04778 0.04778 0.04778 5.19% Gravity::multilevel_solve_for_new_phi() 1 0.04611 0.04611 0.04611 5.01% Gravity::actual_multilevel_solve() 1 0.04609 0.04609 0.04609 5.01% FillPatchIterator::Initialize 41 0.04353 0.04353 0.04353 4.73% FillPatchIterator::FillFromLevel0() 41 0.04194 0.04194 0.04194 4.56% FillPatchSingleLevel 41 0.0419 0.0419 0.0419 4.55% StateDataPhysBCFunct::() 41 0.03783 0.03783 0.03783 4.11% MLCellLinOp::apply() 1142 0.03768 0.03768 0.03768 4.10% MLMG::mgVcycle_down::0 82 0.0343 0.0343 0.0343 3.73% MLPoisson::Fsmooth() 3280 0.03324 0.03324 0.03324 3.61% FabArray::FillBoundary() 4023 0.03256 0.03256 0.03256 3.54% FillBoundary_nowait() 4023 0.03165 0.03165 0.03165 3.44% StateData::FillBoundary(geom) 328 0.02735 0.02735 0.02735 2.97% MLMG::mgVcycle_up::0 82 0.02589 0.02589 0.02589 2.81% MLCellLinOp::correctionResidual() 492 0.02289 0.02289 0.02289 2.49% Castro::initialize_do_advance() 10 0.0222 0.0222 0.0222 2.41% Castro::computeTemp() 63 0.02192 0.02192 0.02192 2.38% amrex::Dot() 1114 0.0213 0.0213 0.0213 2.31% Castro::normalize_species() 62 0.02031 0.02031 0.02031 2.21% MLMG:computeResOfCorrection() 410 0.02015 0.02015 0.02015 2.19% Castro::do_old_sources() 10 0.01826 0.01826 0.01826 1.98% Gravity::get_new_grav_vector() 11 0.01809 0.01809 0.01809 1.97% MLPoisson::define() 11 0.0175 0.0175 0.0175 1.90% MLMG::mgVcycle_down::1 82 0.01648 0.01648 0.01648 1.79% Castro::construct_old_gravity() 10 0.01555 0.01555 0.01555 1.69% Gravity::get_old_grav_vector() 10 0.01554 0.01554 0.01554 1.69% MLMG::mgVcycle_down::2 82 0.01536 0.01536 0.01536 1.67% amrex::Copy() 1029 0.01524 0.01524 0.01524 1.66% MLMG::mgVcycle_down::3 82 0.01492 0.01492 0.01492 1.62% MLMG::mgVcycle_down::4 82 0.01473 0.01473 0.01473 1.60% FabArray::ParallelCopy() 861 0.01457 0.01457 0.01457 1.58% FabArray::ParallelCopy_nowait() 861 0.01433 0.01433 0.01433 1.56% Castro::initialize_advance() 10 0.01421 0.01421 0.01421 1.54% FabArray::norminf() 743 0.01419 0.01419 0.01419 1.54% FabArray::setVal() 1144 0.01368 0.01368 0.01368 1.49% FabArray::Saxpy() 1370 0.01287 0.01287 0.01287 1.40% MLCGSolver::ParallelAllReduce 1514 0.01275 0.01275 0.01275 1.39% Castro::do_new_sources() 10 0.01236 0.01236 0.01236 1.34% MLMG::addInterpCorrection() 410 0.01218 0.01218 0.01218 1.32% MLCellLinOp::defineAuxData() 11 0.01207 0.01207 0.01207 1.31% MLMG::mgVcycle_up::1 82 0.01192 0.01192 0.01192 1.30% MLMG::mgVcycle_up::4 82 0.01188 0.01188 0.01188 1.29% MLMG::mgVcycle_up::2 82 0.01165 0.01165 0.01165 1.27% Castro::expand_state() 10 0.01158 0.01158 0.01158 1.26% amrex::average_down 410 0.01147 0.01147 0.01147 1.25% Castro::enforce_min_density() 62 0.01141 0.01141 0.01141 1.24% MLMG::mgVcycle_up::3 82 0.0114 0.0114 0.0114 1.24% MLPoisson::Fapply() 1142 0.01068 0.01068 0.01068 1.16% Castro::post_timestep() 10 0.009938 0.009938 0.009938 1.08% Gravity::fill_multipole_BCs() 11 0.009443 0.009443 0.009443 1.03% FabArray::Xpay() 821 0.008374 0.008374 0.008374 0.91% MLCellLinOp::solutionResidual() 93 0.007575 0.007575 0.007575 0.82% Castro::reset_internal_energy(MultiFab) 63 0.006803 0.006803 0.006803 0.74% MLMG::computeResidual() 82 0.006286 0.006286 0.006286 0.68% Castro::estTimeStep() 21 0.00609 0.00609 0.00609 0.66% MLMG::prepareForSolve() 11 0.005173 0.005173 0.005173 0.56% MLCellLinOp::defineBC() 11 0.005163 0.005163 0.005163 0.56% Amr::InitializeInit() 1 0.005129 0.005129 0.005129 0.56% Amr::defBaseLevel() 1 0.005124 0.005124 0.005124 0.56% BndryData::define() 11 0.004906 0.004906 0.004906 0.53% Castro::initData() 1 0.004453 0.004453 0.004453 0.48% amrex::Add() 164 0.004424 0.004424 0.004424 0.48% Castro::enforce_speed_limit() 62 0.003791 0.003791 0.003791 0.41% Castro::construct_new_source() 50 0.003062 0.003062 0.003062 0.33% Castro::construct_new_gravity_source() 10 0.003 0.003 0.003 0.33% Castro::computeNewDt() 9 0.002791 0.002791 0.002791 0.30% Castro::construct_old_source() 50 0.002551 0.002551 0.002551 0.28% Castro::construct_old_gravity_source() 10 0.002532 0.002532 0.002532 0.28% Castro::finalize_do_advance() 10 0.002283 0.002283 0.002283 0.25% MLMG::ResNormInf() 93 0.002157 0.002157 0.002157 0.23% check_for_negative_density() 10 0.001912 0.001912 0.001912 0.21% Castro::apply_source_to_state() 20 0.001861 0.001861 0.001861 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001784 0.001784 0.001784 0.19% Castro::reset_internal_energy(Fab) 504 0.001638 0.001638 0.001638 0.18% MLMG::getGradSolution() 11 0.001567 0.001567 0.001567 0.17% MLCellLinOp::compGrad() 11 0.001561 0.001561 0.001561 0.17% MLCellLinOp::setLevelBC() 11 0.001532 0.001532 0.001532 0.17% FabArrayBase::getCPC() 1323 0.001515 0.001515 0.001515 0.16% FabArray::mult() 43 0.001364 0.001364 0.001364 0.15% MLPoisson::prepareForSolve() 11 0.001347 0.001347 0.001347 0.15% FabArray::setDomainBndry() 41 0.001346 0.001346 0.001346 0.15% MLMG::computeMLResidual() 11 0.001336 0.001336 0.001336 0.15% MLCellLinOp::prepareForSolve() 11 0.001334 0.001334 0.001334 0.14% Castro::check_for_nan() 20 0.001276 0.001276 0.001276 0.14% MultiFab::contains_nan() 20 0.001263 0.001263 0.001263 0.14% Castro::post_regrid() 1 0.001133 0.001133 0.001133 0.12% Castro::computeInitialDt() 2 0.001069 0.001069 0.001069 0.12% Gravity::update_max_rhs() 11 0.001002 0.001002 0.001002 0.11% FabArrayBase::getFB() 4023 0.0007703 0.0007703 0.0007703 0.08% FabArrayBase::CPC::define() 454 0.0007075 0.0007075 0.0007075 0.08% Castro::finalize_advance() 10 0.000595 0.000595 0.000595 0.06% Castro::Castro() 1 0.0005801 0.0005801 0.0005801 0.06% Amr::InitAmr() 1 0.0005278 0.0005278 0.0005278 0.06% Gravity::swapTimeLevels() 10 0.000438 0.000438 0.000438 0.05% MultiFab::max() 11 0.0003382 0.0003382 0.0003382 0.04% MLMG::MLResNormInf() 11 0.0003343 0.0003343 0.0003343 0.04% Castro::buildMetrics() 1 0.0002894 0.0002894 0.0002894 0.03% MLLinOp::define() 11 0.0002493 0.0002493 0.0002493 0.03% MLLinOp::defineGrids() 11 0.0002382 0.0002382 0.0002382 0.03% MLMG::MLRhsNormInf() 11 0.0002222 0.0002222 0.0002222 0.02% Castro::create_source_corrector() 10 0.0001677 0.0001677 0.0001677 0.02% FabArrayBase::FB::FB() 56 0.0001014 0.0001014 0.0001014 0.01% Castro::enforce_consistent_e() 1 7.019e-05 7.019e-05 7.019e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.179e-05 6.179e-05 6.179e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.763e-05 5.763e-05 5.763e-05 0.01% makeSFC 55 4.258e-05 4.258e-05 4.258e-05 0.00% StateData::define() 4 4.191e-05 4.191e-05 4.191e-05 0.00% Castro::swap_state_time_levels() 10 3.819e-05 3.819e-05 3.819e-05 0.00% Amr::writeSmallPlotFile() 1 3.164e-05 3.164e-05 3.164e-05 0.00% Castro::initMFs() 1 2.974e-05 2.974e-05 2.974e-05 0.00% DistributionMapping::Distribute() 56 1.812e-05 1.812e-05 1.812e-05 0.00% Amr::initSubcycle() 1 9.346e-06 9.346e-06 9.346e-06 0.00% AmrLevel::checkPointPost() 3 5.364e-06 5.364e-06 5.364e-06 0.00% Castro::retry_advance_ctu() 10 4.884e-06 4.884e-06 4.884e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.326e-06 4.326e-06 4.326e-06 0.00% Gravity::set_mass_offset() 11 4.138e-06 4.138e-06 4.138e-06 0.00% Castro::FluxRegCrseInit 10 2.882e-06 2.882e-06 2.882e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.481e-06 2.481e-06 2.481e-06 0.00% AmrLevel::checkPointPre() 3 2.321e-06 2.321e-06 2.321e-06 0.00% Castro::FluxRegFineAdd() 10 2.25e-06 2.25e-06 2.25e-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 99 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 141 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 998 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1726 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3516 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 204 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2107 B 2048 KiB Gravity::solve_for_phi() 80 80 554 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 3229 B 480 KiB VisMF::Write(FabArray) 656 656 3343 B 320 KiB Castro::normalize_species() 62 62 7189 B 320 KiB amrex::average_down 1067 1067 1235 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1122 B 257 KiB amrex::Dot() 1360 1360 3403 B 160 KiB FabArray::norminf() 825 825 2352 B 160 KiB check_for_negative_density() 10 10 312 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3432 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 293 B 9648 B MLCellLinOp::applyBC() 8866 8866 218 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3916 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 656 656 113 B 1408 B MLCellLinOp::defineBC() 66 66 362 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 602 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 484 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3432 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 293 B 9648 B MLCellLinOp::applyBC() 4433 4433 217 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3916 B 6144 B Gravity::get_new_grav_vector() 3 3 2890 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 39 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 293 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 825 825 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.11-14-g175b99d913dc) finalized Initializing AMReX (23.11-14-g175b99d913dc)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-14-g175b99d913dc) initialized Starting run at 09:32:36 UTC on 2023-11-20. Successfully read inputs file ... Castro git describe: 23.11-6-gb720d68fa AMReX git describe: 23.11-14-g175b99d91 Microphysics git describe: 23.11-9-ge9e31f40 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.508264675 Restart time = 0.070480287 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.053243545 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.049465398 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.069843751 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.081086479 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.074732938 [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.036460399 seconds Ending run at 09:32:36 UTC on 2023-11-20. Run time = 0.43649452 Run time without initialization = 0.365413268 Average number of zones advanced per microsecond: 3.587 Average number of zones advanced per microsecond per rank: 3.587 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4365 ... 0.4365 ... 0.4365 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1353 0.1353 0.1353 31.01% VisMF::Read() 3 0.05895 0.05895 0.05895 13.50% MLCellLinOp::applyBC() 1946 0.03522 0.03522 0.03522 8.07% VisMF::Write(FabArray) 1 0.03487 0.03487 0.03487 7.99% MLPoisson::Fsmooth() 1440 0.01448 0.01448 0.01448 3.32% StateData::FillBoundary(geom) 160 0.01295 0.01295 0.01295 2.97% FillBoundary_nowait() 1766 0.01291 0.01291 0.01291 2.96% Castro::normalize_species() 30 0.01021 0.01021 0.01021 2.34% amrex::Dot() 484 0.009104 0.009104 0.009104 2.09% Castro::computeTemp() 30 0.007928 0.007928 0.007928 1.82% amrex::Copy() 463 0.007253 0.007253 0.007253 1.66% FabArray::setVal() 537 0.006594 0.006594 0.006594 1.51% FabArray::norminf() 326 0.006487 0.006487 0.006487 1.49% FabArray::ParallelCopy_nowait() 380 0.006179 0.006179 0.006179 1.42% Castro::enforce_min_density() 30 0.006138 0.006138 0.006138 1.41% MLCellLinOp::defineAuxData() 6 0.005652 0.005652 0.005652 1.29% FabArray::Saxpy() 597 0.005638 0.005638 0.005638 1.29% Gravity::fill_multipole_BCs() 6 0.005573 0.005573 0.005573 1.28% Amr::restart() 1 0.004792 0.004792 0.004792 1.10% StateDataPhysBCFunct::() 20 0.00471 0.00471 0.00471 1.08% MLPoisson::Fapply() 500 0.004632 0.004632 0.004632 1.06% FabArray::Xpay() 361 0.00366 0.00366 0.00366 0.84% Castro::estTimeStep() 10 0.00331 0.00331 0.00331 0.76% MLMG::addInterpCorrection() 180 0.003079 0.003079 0.003079 0.71% amrex::average_down 180 0.002754 0.002754 0.002754 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002168 0.002168 0.002168 0.50% BndryData::define() 6 0.002096 0.002096 0.002096 0.48% amrex::Add() 72 0.001894 0.001894 0.001894 0.43% Castro::construct_new_gravity_source() 5 0.001536 0.001536 0.001536 0.35% Amr::writePlotFile() 1 0.001437 0.001437 0.001437 0.33% Castro::construct_old_gravity_source() 5 0.001252 0.001252 0.001252 0.29% check_for_negative_density() 5 0.001182 0.001182 0.001182 0.27% Castro::enforce_speed_limit() 30 0.001071 0.001071 0.001071 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000959 0.000959 0.000959 0.22% MLCGSolver::bicgstab 36 0.0009371 0.0009371 0.0009371 0.21% Castro::reset_internal_energy(Fab) 240 0.000863 0.000863 0.000863 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008476 0.0008476 0.0008476 0.19% MLCellLinOp::setLevelBC() 6 0.0008422 0.0008422 0.0008422 0.19% MLCellLinOp::prepareForSolve() 6 0.0007471 0.0007471 0.0007471 0.17% FabArray::mult() 22 0.0006835 0.0006835 0.0006835 0.16% FabArray::setDomainBndry() 20 0.0006779 0.0006779 0.0006779 0.16% MultiFab::contains_nan() 10 0.0006478 0.0006478 0.0006478 0.15% MLCellLinOp::compGrad() 6 0.0005841 0.0005841 0.0005841 0.13% MLCellLinOp::smooth() 720 0.0005616 0.0005616 0.0005616 0.13% MLMG::prepareForSolve() 6 0.0005494 0.0005494 0.0005494 0.13% FabArrayBase::CPC::define() 244 0.0004302 0.0004302 0.0004302 0.10% Amr::InitAmr() 1 0.0004093 0.0004093 0.0004093 0.09% FabArray::FillBoundary() 1766 0.000406 0.000406 0.000406 0.09% FabArrayBase::getCPC() 632 0.0003718 0.0003718 0.0003718 0.09% main() 1 0.0003712 0.0003712 0.0003712 0.09% Gravity::get_old_grav_vector() 5 0.0003188 0.0003188 0.0003188 0.07% FabArrayBase::getFB() 1766 0.0002795 0.0002795 0.0002795 0.06% Gravity::get_new_grav_vector() 5 0.0002613 0.0002613 0.0002613 0.06% Amr::coarseTimeStep() 5 0.0002281 0.0002281 0.0002281 0.05% MLCellLinOp::apply() 500 0.0002132 0.0002132 0.0002132 0.05% MultiFab::max() 6 0.0002065 0.0002065 0.0002065 0.05% AmrLevel::FillPatch() 20 0.0001855 0.0001855 0.0001855 0.04% Castro::subcycle_advance_ctu() 5 0.0001779 0.0001779 0.0001779 0.04% MLCellLinOp::defineBC() 6 0.0001337 0.0001337 0.0001337 0.03% MLCGSolver::ParallelAllReduce 659 0.00013 0.00013 0.00013 0.03% MLCellLinOp::correctionResidual() 216 0.0001158 0.0001158 0.0001158 0.03% FillPatchIterator::Initialize 20 0.0001136 0.0001136 0.0001136 0.03% FabArray::ParallelCopy() 380 0.0001094 0.0001094 0.0001094 0.03% Castro::create_source_corrector() 5 9.852e-05 9.852e-05 9.852e-05 0.02% MLLinOp::defineGrids() 6 8.876e-05 8.876e-05 8.876e-05 0.02% MLMG::mgVcycle() 36 8.413e-05 8.413e-05 8.413e-05 0.02% Amr::timeStep() 5 8.142e-05 8.142e-05 8.142e-05 0.02% AmrLevel::restart() 1 7.952e-05 7.952e-05 7.952e-05 0.02% Castro::advance() 5 7.891e-05 7.891e-05 7.891e-05 0.02% StateData::restartDoit() 4 7.733e-05 7.733e-05 7.733e-05 0.02% Gravity::update_max_rhs() 6 6.66e-05 6.66e-05 6.66e-05 0.02% Gravity::solve_for_phi() 5 6.596e-05 6.596e-05 6.596e-05 0.02% Castro::initialize_do_advance() 5 6.515e-05 6.515e-05 6.515e-05 0.01% FabArrayBase::FB::FB() 26 6.03e-05 6.03e-05 6.03e-05 0.01% Castro::initialize_advance() 5 5.712e-05 5.712e-05 5.712e-05 0.01% MLMG:computeResOfCorrection() 180 5.301e-05 5.301e-05 5.301e-05 0.01% MLMG::mgVcycle_down::0 36 4.678e-05 4.678e-05 4.678e-05 0.01% Castro::do_advance_ctu() 5 4.343e-05 4.343e-05 4.343e-05 0.01% Castro::construct_new_source() 25 4.172e-05 4.172e-05 4.172e-05 0.01% Castro::finalize_do_advance() 5 4.06e-05 4.06e-05 4.06e-05 0.01% MLMG::actualBottomSolve() 36 4.054e-05 4.054e-05 4.054e-05 0.01% MLMG::mgVcycle_down::1 36 3.788e-05 3.788e-05 3.788e-05 0.01% Castro::clean_state() 30 3.607e-05 3.607e-05 3.607e-05 0.01% Castro::do_new_sources() 5 3.517e-05 3.517e-05 3.517e-05 0.01% MLMG::mgVcycle_down::2 36 3.5e-05 3.5e-05 3.5e-05 0.01% MLMG::mgVcycle_down::4 36 3.468e-05 3.468e-05 3.468e-05 0.01% MLMG::solve() 6 3.423e-05 3.423e-05 3.423e-05 0.01% Amr::writeSmallPlotFile() 1 3.41e-05 3.41e-05 3.41e-05 0.01% MLMG::mgVcycle_down::3 36 3.358e-05 3.358e-05 3.358e-05 0.01% Castro::finalize_advance() 5 3.102e-05 3.102e-05 3.102e-05 0.01% Castro::post_restart() 1 3.045e-05 3.045e-05 3.045e-05 0.01% Castro::buildMetrics() 1 2.911e-05 2.911e-05 2.911e-05 0.01% MLMG::mgVcycle_up::4 36 2.827e-05 2.827e-05 2.827e-05 0.01% Castro::construct_old_source() 25 2.776e-05 2.776e-05 2.776e-05 0.01% Castro::swap_state_time_levels() 5 2.582e-05 2.582e-05 2.582e-05 0.01% MLMG::oneIter() 36 2.563e-05 2.563e-05 2.563e-05 0.01% Castro::initMFs() 1 2.558e-05 2.558e-05 2.558e-05 0.01% MLCellLinOp::solutionResidual() 42 2.445e-05 2.445e-05 2.445e-05 0.01% MLMG::mgVcycle_up::3 36 2.367e-05 2.367e-05 2.367e-05 0.01% MLMG::mgVcycle_up::0 36 2.307e-05 2.307e-05 2.307e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.228e-05 2.228e-05 2.228e-05 0.01% MLMG::mgVcycle_up::2 36 2.209e-05 2.209e-05 2.209e-05 0.01% MLMG::mgVcycle_up::1 36 2.141e-05 2.141e-05 2.141e-05 0.00% MLMG::ResNormInf() 42 2.022e-05 2.022e-05 2.022e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.721e-05 1.721e-05 1.721e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.708e-05 1.708e-05 1.708e-05 0.00% MLMG::mgVcycle_bottom 36 1.675e-05 1.675e-05 1.675e-05 0.00% FillPatchSingleLevel 20 1.565e-05 1.565e-05 1.565e-05 0.00% MLMG::computeResidual() 36 1.473e-05 1.473e-05 1.473e-05 0.00% MLPoisson::define() 6 1.435e-05 1.435e-05 1.435e-05 0.00% makeSFC 30 1.366e-05 1.366e-05 1.366e-05 0.00% Castro::construct_new_gravity() 5 1.292e-05 1.292e-05 1.292e-05 0.00% Castro::do_old_sources() 5 1.182e-05 1.182e-05 1.182e-05 0.00% MLPoisson::prepareForSolve() 6 9.547e-06 9.547e-06 9.547e-06 0.00% DistributionMapping::Distribute() 31 9.51e-06 9.51e-06 9.51e-06 0.00% MLMG::computeMLResidual() 6 8.428e-06 8.428e-06 8.428e-06 0.00% Gravity::actual_multilevel_solve() 1 8.305e-06 8.305e-06 8.305e-06 0.00% Amr::initSubcycle() 1 8.293e-06 8.293e-06 8.293e-06 0.00% Castro::check_for_nan() 10 8.109e-06 8.109e-06 8.109e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.63e-06 7.63e-06 7.63e-06 0.00% Castro::construct_old_gravity() 5 6.284e-06 6.284e-06 6.284e-06 0.00% MLLinOp::define() 6 6.138e-06 6.138e-06 6.138e-06 0.00% Castro::apply_source_to_state() 10 5.854e-06 5.854e-06 5.854e-06 0.00% Castro::post_timestep() 5 4.926e-06 4.926e-06 4.926e-06 0.00% Gravity::swapTimeLevels() 5 4.132e-06 4.132e-06 4.132e-06 0.00% Castro::computeNewDt() 5 3.886e-06 3.886e-06 3.886e-06 0.00% Amr::init() 1 3.578e-06 3.578e-06 3.578e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.386e-06 3.386e-06 3.386e-06 0.00% MLMG::getGradSolution() 6 3.191e-06 3.191e-06 3.191e-06 0.00% Castro::expand_state() 5 3.091e-06 3.091e-06 3.091e-06 0.00% Gravity::set_mass_offset() 6 2.867e-06 2.867e-06 2.867e-06 0.00% MLMG::MLResNormInf() 6 2.615e-06 2.615e-06 2.615e-06 0.00% Castro::retry_advance_ctu() 5 2.485e-06 2.485e-06 2.485e-06 0.00% MLMG::MLRhsNormInf() 6 2.199e-06 2.199e-06 2.199e-06 0.00% Castro::FluxRegCrseInit 5 1.765e-06 1.765e-06 1.765e-06 0.00% Castro::FluxRegFineAdd() 5 1.369e-06 1.369e-06 1.369e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.107e-06 1.107e-06 1.107e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4365 0.4365 0.4365 99.99% Amr::coarseTimeStep() 5 0.3286 0.3286 0.3286 75.27% Amr::timeStep() 5 0.3263 0.3263 0.3263 74.75% Castro::advance() 5 0.3201 0.3201 0.3201 73.33% Castro::subcycle_advance_ctu() 5 0.313 0.313 0.313 71.69% Castro::do_advance_ctu() 5 0.3128 0.3128 0.3128 71.65% Castro::construct_ctu_hydro_source() 5 0.141 0.141 0.141 32.30% Castro::construct_new_gravity() 5 0.135 0.135 0.135 30.93% Gravity::solve_phi_with_mlmg() 6 0.1327 0.1327 0.1327 30.40% Gravity::solve_for_phi() 5 0.1271 0.1271 0.1271 29.11% Gravity::actual_solve_with_mlmg() 6 0.1269 0.1269 0.1269 29.07% MLMG::solve() 6 0.1149 0.1149 0.1149 26.33% MLMG::oneIter() 36 0.1075 0.1075 0.1075 24.62% MLMG::mgVcycle() 36 0.1059 0.1059 0.1059 24.27% Amr::init() 1 0.07053 0.07053 0.07053 16.16% Amr::restart() 1 0.07052 0.07052 0.07052 16.16% AmrLevel::restart() 1 0.05932 0.05932 0.05932 13.59% StateData::restartDoit() 4 0.05923 0.05923 0.05923 13.57% VisMF::Read() 3 0.05895 0.05895 0.05895 13.50% MLCellLinOp::smooth() 720 0.052 0.052 0.052 11.91% MLCellLinOp::applyBC() 1946 0.04888 0.04888 0.04888 11.20% Amr::writePlotFile() 1 0.03656 0.03656 0.03656 8.38% VisMF::Write(FabArray) 1 0.03487 0.03487 0.03487 7.99% MLMG::mgVcycle_bottom 36 0.03277 0.03277 0.03277 7.51% MLMG::actualBottomSolve() 36 0.03276 0.03276 0.03276 7.50% MLCGSolver::bicgstab 36 0.03244 0.03244 0.03244 7.43% Castro::clean_state() 30 0.02841 0.02841 0.02841 6.51% AmrLevel::FillPatch() 20 0.02267 0.02267 0.02267 5.19% FillPatchIterator::Initialize 20 0.02058 0.02058 0.02058 4.71% FillPatchIterator::FillFromLevel0() 20 0.01979 0.01979 0.01979 4.53% FillPatchSingleLevel 20 0.01977 0.01977 0.01977 4.53% StateDataPhysBCFunct::() 20 0.01766 0.01766 0.01766 4.05% MLCellLinOp::apply() 500 0.01649 0.01649 0.01649 3.78% MLMG::mgVcycle_down::0 36 0.01479 0.01479 0.01479 3.39% MLPoisson::Fsmooth() 1440 0.01448 0.01448 0.01448 3.32% FabArray::FillBoundary() 1766 0.01366 0.01366 0.01366 3.13% FillBoundary_nowait() 1766 0.01325 0.01325 0.01325 3.04% StateData::FillBoundary(geom) 160 0.01295 0.01295 0.01295 2.97% MLMG::mgVcycle_up::0 36 0.01105 0.01105 0.01105 2.53% Castro::initialize_do_advance() 5 0.01097 0.01097 0.01097 2.51% Castro::computeTemp() 30 0.01096 0.01096 0.01096 2.51% Castro::normalize_species() 30 0.01021 0.01021 0.01021 2.34% MLCellLinOp::correctionResidual() 216 0.009941 0.009941 0.009941 2.28% Castro::do_old_sources() 5 0.009423 0.009423 0.009423 2.16% MLPoisson::define() 6 0.009378 0.009378 0.009378 2.15% amrex::Dot() 484 0.009104 0.009104 0.009104 2.09% MLMG:computeResOfCorrection() 180 0.008726 0.008726 0.008726 2.00% Gravity::get_new_grav_vector() 5 0.007806 0.007806 0.007806 1.79% Castro::construct_old_gravity() 5 0.007688 0.007688 0.007688 1.76% Gravity::get_old_grav_vector() 5 0.007682 0.007682 0.007682 1.76% amrex::Copy() 463 0.007253 0.007253 0.007253 1.66% MLMG::mgVcycle_down::1 36 0.007229 0.007229 0.007229 1.66% Castro::do_new_sources() 5 0.00686 0.00686 0.00686 1.57% Castro::initialize_advance() 5 0.006742 0.006742 0.006742 1.54% FabArray::ParallelCopy() 380 0.006693 0.006693 0.006693 1.53% MLMG::mgVcycle_down::2 36 0.006659 0.006659 0.006659 1.53% FabArray::setVal() 537 0.006594 0.006594 0.006594 1.51% FabArray::ParallelCopy_nowait() 380 0.006584 0.006584 0.006584 1.51% FabArray::norminf() 326 0.006487 0.006487 0.006487 1.49% MLMG::mgVcycle_down::3 36 0.006466 0.006466 0.006466 1.48% MLCellLinOp::defineAuxData() 6 0.006436 0.006436 0.006436 1.47% MLMG::mgVcycle_down::4 36 0.006419 0.006419 0.006419 1.47% Castro::post_restart() 1 0.006236 0.006236 0.006236 1.43% Castro::enforce_min_density() 30 0.006138 0.006138 0.006138 1.41% Castro::post_timestep() 5 0.006131 0.006131 0.006131 1.40% Castro::expand_state() 5 0.005968 0.005968 0.005968 1.37% Gravity::multilevel_solve_for_new_phi() 1 0.005854 0.005854 0.005854 1.34% Gravity::actual_multilevel_solve() 1 0.005836 0.005836 0.005836 1.34% Gravity::fill_multipole_BCs() 6 0.005696 0.005696 0.005696 1.30% FabArray::Saxpy() 597 0.005638 0.005638 0.005638 1.29% MLCGSolver::ParallelAllReduce 659 0.005532 0.005532 0.005532 1.27% MLMG::addInterpCorrection() 180 0.00536 0.00536 0.00536 1.23% MLMG::mgVcycle_up::4 36 0.005214 0.005214 0.005214 1.19% MLMG::mgVcycle_up::1 36 0.005193 0.005193 0.005193 1.19% amrex::average_down 180 0.005073 0.005073 0.005073 1.16% MLMG::mgVcycle_up::2 36 0.005067 0.005067 0.005067 1.16% MLMG::mgVcycle_up::3 36 0.005008 0.005008 0.005008 1.15% MLPoisson::Fapply() 500 0.004632 0.004632 0.004632 1.06% FabArray::Xpay() 361 0.00366 0.00366 0.00366 0.84% MLCellLinOp::solutionResidual() 42 0.003495 0.003495 0.003495 0.80% Castro::estTimeStep() 10 0.00331 0.00331 0.00331 0.76% Castro::reset_internal_energy(MultiFab) 30 0.003031 0.003031 0.003031 0.69% MLMG::prepareForSolve() 6 0.002808 0.002808 0.002808 0.64% MLCellLinOp::defineBC() 6 0.002802 0.002802 0.002802 0.64% MLMG::computeResidual() 36 0.002743 0.002743 0.002743 0.63% BndryData::define() 6 0.002668 0.002668 0.002668 0.61% Castro::computeNewDt() 5 0.002062 0.002062 0.002062 0.47% amrex::Add() 72 0.001894 0.001894 0.001894 0.43% Castro::construct_new_source() 25 0.001577 0.001577 0.001577 0.36% Castro::construct_new_gravity_source() 5 0.001536 0.001536 0.001536 0.35% Castro::finalize_do_advance() 5 0.001293 0.001293 0.001293 0.30% Castro::construct_old_source() 25 0.00128 0.00128 0.00128 0.29% Castro::construct_old_gravity_source() 5 0.001252 0.001252 0.001252 0.29% check_for_negative_density() 5 0.001182 0.001182 0.001182 0.27% Castro::enforce_speed_limit() 30 0.001071 0.001071 0.001071 0.25% MLMG::ResNormInf() 42 0.0009723 0.0009723 0.0009723 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000959 0.000959 0.000959 0.22% Castro::apply_source_to_state() 10 0.0009522 0.0009522 0.0009522 0.22% MLMG::getGradSolution() 6 0.0008655 0.0008655 0.0008655 0.20% Castro::reset_internal_energy(Fab) 240 0.000863 0.000863 0.000863 0.20% MLCellLinOp::compGrad() 6 0.0008623 0.0008623 0.0008623 0.20% MLCellLinOp::setLevelBC() 6 0.0008422 0.0008422 0.0008422 0.19% FabArrayBase::getCPC() 632 0.000802 0.000802 0.000802 0.18% MLMG::computeMLResidual() 6 0.0007753 0.0007753 0.0007753 0.18% MLPoisson::prepareForSolve() 6 0.0007567 0.0007567 0.0007567 0.17% MLCellLinOp::prepareForSolve() 6 0.0007471 0.0007471 0.0007471 0.17% Gravity::update_max_rhs() 6 0.0007172 0.0007172 0.0007172 0.16% FabArray::mult() 22 0.0006835 0.0006835 0.0006835 0.16% FabArray::setDomainBndry() 20 0.0006779 0.0006779 0.0006779 0.16% Castro::check_for_nan() 10 0.0006559 0.0006559 0.0006559 0.15% MultiFab::contains_nan() 10 0.0006478 0.0006478 0.0006478 0.15% FabArrayBase::CPC::define() 244 0.0004302 0.0004302 0.0004302 0.10% Amr::InitAmr() 1 0.0004176 0.0004176 0.0004176 0.10% FabArrayBase::getFB() 1766 0.0003398 0.0003398 0.0003398 0.08% Castro::finalize_advance() 5 0.0002983 0.0002983 0.0002983 0.07% Gravity::swapTimeLevels() 5 0.0002265 0.0002265 0.0002265 0.05% MultiFab::max() 6 0.0002065 0.0002065 0.0002065 0.05% MLMG::MLResNormInf() 6 0.0001897 0.0001897 0.0001897 0.04% Castro::buildMetrics() 1 0.0001515 0.0001515 0.0001515 0.03% MLLinOp::define() 6 0.0001254 0.0001254 0.0001254 0.03% MLLinOp::defineGrids() 6 0.0001192 0.0001192 0.0001192 0.03% MLMG::MLRhsNormInf() 6 0.0001187 0.0001187 0.0001187 0.03% Castro::create_source_corrector() 5 9.852e-05 9.852e-05 9.852e-05 0.02% FabArrayBase::FB::FB() 26 6.03e-05 6.03e-05 6.03e-05 0.01% Amr::writeSmallPlotFile() 1 3.41e-05 3.41e-05 3.41e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.936e-05 2.936e-05 2.936e-05 0.01% Castro::swap_state_time_levels() 5 2.582e-05 2.582e-05 2.582e-05 0.01% Castro::initMFs() 1 2.558e-05 2.558e-05 2.558e-05 0.01% makeSFC 30 2.173e-05 2.173e-05 2.173e-05 0.00% DistributionMapping::Distribute() 31 9.51e-06 9.51e-06 9.51e-06 0.00% Amr::initSubcycle() 1 8.293e-06 8.293e-06 8.293e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.82e-06 4.82e-06 4.82e-06 0.00% Gravity::set_mass_offset() 6 2.867e-06 2.867e-06 2.867e-06 0.00% Castro::retry_advance_ctu() 5 2.485e-06 2.485e-06 2.485e-06 0.00% Castro::FluxRegCrseInit 5 1.765e-06 1.765e-06 1.765e-06 0.00% Castro::FluxRegFineAdd() 5 1.369e-06 1.369e-06 1.369e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.107e-06 1.107e-06 1.107e-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 197 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 147 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1030 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2345 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6451 KiB 14 MiB MLMG::prepareForSolve() 361 361 3231 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 182 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 183 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6438 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3258 B 2048 KiB Gravity::solve_for_phi() 40 40 595 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 297 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3640 B 480 KiB VisMF::Write(FabArray) 112 112 2383 B 320 KiB Castro::normalize_species() 30 30 7612 B 320 KiB amrex::average_down 469 469 1132 B 257 KiB MLMG::addInterpCorrection() 468 468 1045 B 257 KiB amrex::Dot() 592 592 3058 B 160 KiB FabArray::norminf() 362 362 2267 B 160 KiB check_for_negative_density() 5 5 353 B 160 KiB MultiFab::max() 6 6 74 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3134 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 256 B 9648 B MLCellLinOp::applyBC() 3892 3892 202 B 9344 B amrex::Copy() 56 56 5683 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 288 288 103 B 1408 B MLCellLinOp::defineBC() 36 36 334 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1087 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 229 KiB 3584 KiB VisMF::Read() 24 24 204 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3134 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 256 B 9648 B MLCellLinOp::applyBC() 1946 1946 201 B 9328 B amrex::Copy() 56 56 5683 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2529 B 3072 B StateData::FillBoundary(geom) 960 960 36 B 2928 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 497 B 1296 B amrex::average_down 37 37 213 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 362 362 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.11-14-g175b99d913dc) finalized