Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-6-gae65b3afc481) initialized Starting run at 08:06:50 UTC on 2023-09-13. Successfully read inputs file ... Castro git describe: 23.09-5-g0aabe1705 AMReX git describe: 23.09-6-gae65b3afc Microphysics git describe: 23.09-6-g94b016d2 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.05125968 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028600204 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.052131868 [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.073338605 [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.07828159 [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.070343706 [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.067151857 [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.051131642 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.050176027 [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.075758576 [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.075573992 [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.067758912 [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.065536209 [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.065112639 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028515229 seconds Ending run at 08:06:51 UTC on 2023-09-13. Run time = 0.955685592 Run time without initialization = 0.821512596 Average number of zones advanced per microsecond: 3.191 Average number of zones advanced per microsecond per rank: 3.191 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9557 ... 0.9557 ... 0.9557 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2997 0.2997 0.2997 31.36% VisMF::Write(FabArray) 11 0.2019 0.2019 0.2019 21.13% MLCellLinOp::applyBC() 4433 0.07792 0.07792 0.07792 8.15% MLPoisson::Fsmooth() 3280 0.03305 0.03305 0.03305 3.46% FillBoundary_nowait() 4023 0.03066 0.03066 0.03066 3.21% StateData::FillBoundary(geom) 328 0.02658 0.02658 0.02658 2.78% Castro::normalize_species() 62 0.0213 0.0213 0.0213 2.23% amrex::Dot() 1114 0.02105 0.02105 0.02105 2.20% Amr::checkPoint() 3 0.0202 0.0202 0.0202 2.11% Castro::computeTemp() 63 0.01731 0.01731 0.01731 1.81% amrex::Copy() 1029 0.01508 0.01508 0.01508 1.58% FabArray::norminf() 743 0.01467 0.01467 0.01467 1.54% FabArray::ParallelCopy_nowait() 861 0.01349 0.01349 0.01349 1.41% FabArray::setVal() 1144 0.01347 0.01347 0.01347 1.41% Castro::enforce_min_density() 62 0.01261 0.01261 0.01261 1.32% StateDataPhysBCFunct::() 41 0.01058 0.01058 0.01058 1.11% MLPoisson::Fapply() 1142 0.01057 0.01057 0.01057 1.11% MLCellLinOp::defineAuxData() 11 0.01009 0.01009 0.01009 1.06% Gravity::fill_multipole_BCs() 11 0.009297 0.009297 0.009297 0.97% FabArray::Saxpy() 813 0.008385 0.008385 0.008385 0.88% FabArray::Xpay() 821 0.00823 0.00823 0.00823 0.86% MLMG::addInterpCorrection() 410 0.006852 0.006852 0.006852 0.72% Castro::estTimeStep() 21 0.006298 0.006298 0.006298 0.66% amrex::average_down 410 0.006105 0.006105 0.006105 0.64% Castro::reset_internal_energy(MultiFab) 63 0.005063 0.005063 0.005063 0.53% FabArray::LinComb() 557 0.00464 0.00464 0.00464 0.49% amrex::Add() 164 0.004431 0.004431 0.004431 0.46% BndryData::define() 11 0.003874 0.003874 0.003874 0.41% Castro::construct_new_gravity_source() 10 0.003334 0.003334 0.003334 0.35% Castro::construct_old_gravity_source() 10 0.002626 0.002626 0.002626 0.27% Castro::enforce_speed_limit() 62 0.00226 0.00226 0.00226 0.24% MLCGSolver::bicgstab 82 0.002251 0.002251 0.002251 0.24% Amr::writePlotFile() 2 0.002002 0.002002 0.002002 0.21% check_for_negative_density() 10 0.001792 0.001792 0.001792 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001739 0.001739 0.001739 0.18% Castro::reset_internal_energy(Fab) 504 0.001702 0.001702 0.001702 0.18% Gravity::actual_solve_with_mlmg() 11 0.001562 0.001562 0.001562 0.16% Castro::initData() 1 0.001526 0.001526 0.001526 0.16% MLCellLinOp::setLevelBC() 11 0.00148 0.00148 0.00148 0.15% FabArray::mult() 43 0.001356 0.001356 0.001356 0.14% FabArray::setDomainBndry() 41 0.001337 0.001337 0.001337 0.14% MLCellLinOp::prepareForSolve() 11 0.001272 0.001272 0.001272 0.13% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.13% MLCellLinOp::compGrad() 11 0.001068 0.001068 0.001068 0.11% MLCellLinOp::smooth() 1640 0.001064 0.001064 0.001064 0.11% MLMG::prepareForSolve() 11 0.0009635 0.0009635 0.0009635 0.10% FabArray::FillBoundary() 4023 0.0008135 0.0008135 0.0008135 0.09% FabArrayBase::getCPC() 1323 0.0007858 0.0007858 0.0007858 0.08% FabArrayBase::CPC::define() 454 0.0006813 0.0006813 0.0006813 0.07% FabArrayBase::getFB() 4023 0.00065 0.00065 0.00065 0.07% Gravity::get_new_grav_vector() 11 0.0005979 0.0005979 0.0005979 0.06% Amr::InitAmr() 1 0.0004871 0.0004871 0.0004871 0.05% Gravity::get_old_grav_vector() 10 0.000482 0.000482 0.000482 0.05% MLCellLinOp::apply() 1142 0.0004557 0.0004557 0.0004557 0.05% Amr::coarseTimeStep() 10 0.0003716 0.0003716 0.0003716 0.04% AmrLevel::FillPatch() 41 0.0003328 0.0003328 0.0003328 0.03% MultiFab::max() 11 0.0003264 0.0003264 0.0003264 0.03% main() 1 0.0003027 0.0003027 0.0003027 0.03% MLCGSolver::ParallelAllReduce 1514 0.000294 0.000294 0.000294 0.03% FabArray::ParallelCopy() 861 0.0002711 0.0002711 0.0002711 0.03% MLCellLinOp::correctionResidual() 492 0.0002325 0.0002325 0.0002325 0.02% MLCellLinOp::defineBC() 11 0.0002297 0.0002297 0.0002297 0.02% FillPatchIterator::Initialize 41 0.0002203 0.0002203 0.0002203 0.02% MLMG::mgVcycle() 82 0.0002045 0.0002045 0.0002045 0.02% Castro::subcycle_advance_ctu() 10 0.0001836 0.0001836 0.0001836 0.02% Castro::create_source_corrector() 10 0.0001586 0.0001586 0.0001586 0.02% MLLinOp::defineGrids() 11 0.0001551 0.0001551 0.0001551 0.02% Amr::timeStep() 10 0.000154 0.000154 0.000154 0.02% Gravity::solve_for_phi() 10 0.0001517 0.0001517 0.0001517 0.02% StateData::checkPoint() 12 0.0001293 0.0001293 0.0001293 0.01% Gravity::update_max_rhs() 11 0.0001287 0.0001287 0.0001287 0.01% MLMG:computeResOfCorrection() 410 0.0001167 0.0001167 0.0001167 0.01% Castro::advance() 10 0.0001135 0.0001135 0.0001135 0.01% Castro::do_new_sources() 10 0.0001128 0.0001128 0.0001128 0.01% FabArrayBase::FB::FB() 56 9.716e-05 9.716e-05 9.716e-05 0.01% MLMG::actualBottomSolve() 82 9.434e-05 9.434e-05 9.434e-05 0.01% Castro::Castro() 1 9.241e-05 9.241e-05 9.241e-05 0.01% MLMG::mgVcycle_down::0 82 8.513e-05 8.513e-05 8.513e-05 0.01% MLMG::solve() 11 8.201e-05 8.201e-05 8.201e-05 0.01% MLMG::mgVcycle_down::1 82 8.07e-05 8.07e-05 8.07e-05 0.01% MLMG::mgVcycle_down::2 82 7.898e-05 7.898e-05 7.898e-05 0.01% Castro::initialize_advance() 10 7.877e-05 7.877e-05 7.877e-05 0.01% MLMG::mgVcycle_down::4 82 7.639e-05 7.639e-05 7.639e-05 0.01% MLMG::mgVcycle_down::3 82 7.437e-05 7.437e-05 7.437e-05 0.01% Castro::enforce_consistent_e() 1 6.997e-05 6.997e-05 6.997e-05 0.01% AmrLevel::checkPoint() 3 6.947e-05 6.947e-05 6.947e-05 0.01% Castro::clean_state() 62 6.879e-05 6.879e-05 6.879e-05 0.01% Castro::finalize_advance() 10 6.802e-05 6.802e-05 6.802e-05 0.01% MLMG::mgVcycle_up::4 82 6.172e-05 6.172e-05 6.172e-05 0.01% Castro::initialize_do_advance() 10 5.884e-05 5.884e-05 5.884e-05 0.01% MLCellLinOp::solutionResidual() 93 5.228e-05 5.228e-05 5.228e-05 0.01% MLMG::oneIter() 82 5.172e-05 5.172e-05 5.172e-05 0.01% MLMG::mgVcycle_up::0 82 5.166e-05 5.166e-05 5.166e-05 0.01% MLMG::mgVcycle_up::3 82 5.02e-05 5.02e-05 5.02e-05 0.01% Castro::do_advance_ctu() 10 5.001e-05 5.001e-05 5.001e-05 0.01% MLMG::mgVcycle_up::1 82 4.921e-05 4.921e-05 4.921e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.906e-05 4.906e-05 4.906e-05 0.01% MLMG::mgVcycle_up::2 82 4.858e-05 4.858e-05 4.858e-05 0.01% Castro::finalize_do_advance() 10 4.414e-05 4.414e-05 4.414e-05 0.00% Castro::post_timestep() 10 4.221e-05 4.221e-05 4.221e-05 0.00% StateData::define() 4 3.787e-05 3.787e-05 3.787e-05 0.00% Castro::swap_state_time_levels() 10 3.699e-05 3.699e-05 3.699e-05 0.00% FillPatchSingleLevel 41 3.575e-05 3.575e-05 3.575e-05 0.00% Amr::defBaseLevel() 1 3.385e-05 3.385e-05 3.385e-05 0.00% MLMG::computeResidual() 82 3.347e-05 3.347e-05 3.347e-05 0.00% MLMG::mgVcycle_bottom 82 3.331e-05 3.331e-05 3.331e-05 0.00% MLMG::ResNormInf() 93 3.201e-05 3.201e-05 3.201e-05 0.00% Amr::writeSmallPlotFile() 1 3.096e-05 3.096e-05 3.096e-05 0.00% Castro::initMFs() 1 2.97e-05 2.97e-05 2.97e-05 0.00% Castro::do_old_sources() 10 2.662e-05 2.662e-05 2.662e-05 0.00% Castro::construct_new_gravity() 10 2.655e-05 2.655e-05 2.655e-05 0.00% MLPoisson::define() 11 2.456e-05 2.456e-05 2.456e-05 0.00% makeSFC 55 2.388e-05 2.388e-05 2.388e-05 0.00% Castro::buildMetrics() 1 2.361e-05 2.361e-05 2.361e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.231e-05 2.231e-05 2.231e-05 0.00% Castro::construct_old_source() 50 1.988e-05 1.988e-05 1.988e-05 0.00% Amr::FinalizeInit() 1 1.924e-05 1.924e-05 1.924e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.875e-05 1.875e-05 1.875e-05 0.00% Castro::construct_new_source() 50 1.812e-05 1.812e-05 1.812e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.691e-05 1.691e-05 1.691e-05 0.00% DistributionMapping::Distribute() 56 1.629e-05 1.629e-05 1.629e-05 0.00% MLLinOp::define() 11 1.465e-05 1.465e-05 1.465e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.419e-05 1.419e-05 1.419e-05 0.00% Castro::check_for_nan() 20 1.381e-05 1.381e-05 1.381e-05 0.00% Castro::construct_old_gravity() 10 1.269e-05 1.269e-05 1.269e-05 0.00% Amr::initSubcycle() 1 1.236e-05 1.236e-05 1.236e-05 0.00% Castro::apply_source_to_state() 20 1.184e-05 1.184e-05 1.184e-05 0.00% Castro::post_init() 1 1.012e-05 1.012e-05 1.012e-05 0.00% Gravity::swapTimeLevels() 10 9.503e-06 9.503e-06 9.503e-06 0.00% MLMG::computeMLResidual() 11 8.417e-06 8.417e-06 8.417e-06 0.00% MLPoisson::prepareForSolve() 11 8.063e-06 8.063e-06 8.063e-06 0.00% Gravity::actual_multilevel_solve() 1 8.051e-06 8.051e-06 8.051e-06 0.00% Castro::computeNewDt() 9 7.422e-06 7.422e-06 7.422e-06 0.00% MLMG::getGradSolution() 11 6.26e-06 6.26e-06 6.26e-06 0.00% Castro::expand_state() 10 5.796e-06 5.796e-06 5.796e-06 0.00% Amr::InitializeInit() 1 5.092e-06 5.092e-06 5.092e-06 0.00% AmrLevel::checkPointPost() 3 4.649e-06 4.649e-06 4.649e-06 0.00% Castro::retry_advance_ctu() 10 4.49e-06 4.49e-06 4.49e-06 0.00% MLMG::MLRhsNormInf() 11 4.186e-06 4.186e-06 4.186e-06 0.00% Gravity::set_mass_offset() 11 3.918e-06 3.918e-06 3.918e-06 0.00% MLMG::MLResNormInf() 11 3.462e-06 3.462e-06 3.462e-06 0.00% Castro::computeInitialDt() 2 3.457e-06 3.457e-06 3.457e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.892e-06 2.892e-06 2.892e-06 0.00% AmrLevel::checkPointPre() 3 2.759e-06 2.759e-06 2.759e-06 0.00% Castro::FluxRegCrseInit 10 2.742e-06 2.742e-06 2.742e-06 0.00% Amr::init() 1 2.653e-06 2.653e-06 2.653e-06 0.00% Castro::FluxRegFineAdd() 10 2.171e-06 2.171e-06 2.171e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.828e-06 1.828e-06 1.828e-06 0.00% Castro::post_regrid() 1 1.296e-06 1.296e-06 1.296e-06 0.00% Amr::initialInit() 1 1.049e-06 1.049e-06 1.049e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9557 0.9557 0.9557 100.00% Amr::coarseTimeStep() 10 0.7927 0.7927 0.7927 82.95% Amr::timeStep() 10 0.6723 0.6723 0.6723 70.34% Castro::advance() 10 0.6612 0.6612 0.6612 69.18% Castro::subcycle_advance_ctu() 10 0.6461 0.6461 0.6461 67.61% Castro::do_advance_ctu() 10 0.6459 0.6459 0.6459 67.59% Castro::construct_ctu_hydro_source() 10 0.3108 0.3108 0.3108 32.52% Gravity::solve_phi_with_mlmg() 11 0.2908 0.2908 0.2908 30.43% Gravity::actual_solve_with_mlmg() 11 0.2811 0.2811 0.2811 29.41% Castro::construct_new_gravity() 10 0.262 0.262 0.262 27.41% MLMG::solve() 11 0.2597 0.2597 0.2597 27.17% Gravity::solve_for_phi() 10 0.2462 0.2462 0.2462 25.76% MLMG::oneIter() 82 0.2447 0.2447 0.2447 25.60% MLMG::mgVcycle() 82 0.241 0.241 0.241 25.22% VisMF::Write(FabArray) 11 0.2019 0.2019 0.2019 21.13% Amr::checkPoint() 3 0.1676 0.1676 0.1676 17.54% AmrLevel::checkPoint() 3 0.1474 0.1474 0.1474 15.43% StateData::checkPoint() 12 0.1474 0.1474 0.1474 15.42% Amr::init() 1 0.1336 0.1336 0.1336 13.98% MLCellLinOp::smooth() 1640 0.1178 0.1178 0.1178 12.33% MLCellLinOp::applyBC() 4433 0.1101 0.1101 0.1101 11.52% MLMG::mgVcycle_bottom 82 0.07536 0.07536 0.07536 7.89% MLMG::actualBottomSolve() 82 0.07533 0.07533 0.07533 7.88% MLCGSolver::bicgstab 82 0.0746 0.0746 0.0746 7.81% Castro::clean_state() 62 0.05951 0.05951 0.05951 6.23% Amr::writePlotFile() 2 0.05723 0.05723 0.05723 5.99% Amr::initialInit() 1 0.05359 0.05359 0.05359 5.61% Amr::FinalizeInit() 1 0.0489 0.0489 0.0489 5.12% Castro::post_init() 1 0.04747 0.04747 0.04747 4.97% AmrLevel::FillPatch() 41 0.047 0.047 0.047 4.92% Gravity::multilevel_solve_for_new_phi() 1 0.04514 0.04514 0.04514 4.72% Gravity::actual_multilevel_solve() 1 0.04512 0.04512 0.04512 4.72% FillPatchIterator::Initialize 41 0.04282 0.04282 0.04282 4.48% FillPatchIterator::FillFromLevel0() 41 0.04126 0.04126 0.04126 4.32% FillPatchSingleLevel 41 0.04121 0.04121 0.04121 4.31% StateDataPhysBCFunct::() 41 0.03716 0.03716 0.03716 3.89% MLCellLinOp::apply() 1142 0.03696 0.03696 0.03696 3.87% MLMG::mgVcycle_down::0 82 0.03382 0.03382 0.03382 3.54% MLPoisson::Fsmooth() 3280 0.03305 0.03305 0.03305 3.46% FabArray::FillBoundary() 4023 0.03222 0.03222 0.03222 3.37% FillBoundary_nowait() 4023 0.03141 0.03141 0.03141 3.29% StateData::FillBoundary(geom) 328 0.02658 0.02658 0.02658 2.78% MLMG::mgVcycle_up::0 82 0.02547 0.02547 0.02547 2.66% Castro::computeTemp() 63 0.02408 0.02408 0.02408 2.52% MLCellLinOp::correctionResidual() 492 0.02253 0.02253 0.02253 2.36% Castro::initialize_do_advance() 10 0.02249 0.02249 0.02249 2.35% Castro::normalize_species() 62 0.0213 0.0213 0.0213 2.23% amrex::Dot() 1114 0.02105 0.02105 0.02105 2.20% MLMG:computeResOfCorrection() 410 0.01981 0.01981 0.01981 2.07% Castro::do_old_sources() 10 0.01883 0.01883 0.01883 1.97% Gravity::get_new_grav_vector() 11 0.01769 0.01769 0.01769 1.85% MLPoisson::define() 11 0.01684 0.01684 0.01684 1.76% MLMG::mgVcycle_down::1 82 0.01623 0.01623 0.01623 1.70% Castro::construct_old_gravity() 10 0.0152 0.0152 0.0152 1.59% Gravity::get_old_grav_vector() 10 0.01519 0.01519 0.01519 1.59% amrex::Copy() 1029 0.01508 0.01508 0.01508 1.58% MLMG::mgVcycle_down::2 82 0.01496 0.01496 0.01496 1.57% FabArray::norminf() 743 0.01467 0.01467 0.01467 1.54% MLMG::mgVcycle_down::3 82 0.01464 0.01464 0.01464 1.53% FabArray::ParallelCopy() 861 0.01457 0.01457 0.01457 1.52% MLMG::mgVcycle_down::4 82 0.01444 0.01444 0.01444 1.51% Castro::initialize_advance() 10 0.01433 0.01433 0.01433 1.50% FabArray::ParallelCopy_nowait() 861 0.0143 0.0143 0.0143 1.50% FabArray::setVal() 1144 0.01347 0.01347 0.01347 1.41% Castro::do_new_sources() 10 0.01332 0.01332 0.01332 1.39% MLCGSolver::ParallelAllReduce 1514 0.01263 0.01263 0.01263 1.32% Castro::enforce_min_density() 62 0.01261 0.01261 0.01261 1.32% MLMG::addInterpCorrection() 410 0.01206 0.01206 0.01206 1.26% MLMG::mgVcycle_up::1 82 0.01166 0.01166 0.01166 1.22% MLMG::mgVcycle_up::4 82 0.01165 0.01165 0.01165 1.22% Castro::expand_state() 10 0.01162 0.01162 0.01162 1.22% MLCellLinOp::defineAuxData() 11 0.0115 0.0115 0.0115 1.20% amrex::average_down 410 0.01145 0.01145 0.01145 1.20% MLMG::mgVcycle_up::2 82 0.0114 0.0114 0.0114 1.19% MLMG::mgVcycle_up::3 82 0.0112 0.0112 0.0112 1.17% Castro::post_timestep() 10 0.01095 0.01095 0.01095 1.15% MLPoisson::Fapply() 1142 0.01057 0.01057 0.01057 1.11% Gravity::fill_multipole_BCs() 11 0.009523 0.009523 0.009523 1.00% FabArray::Saxpy() 813 0.008385 0.008385 0.008385 0.88% FabArray::Xpay() 821 0.00823 0.00823 0.00823 0.86% MLCellLinOp::solutionResidual() 93 0.007488 0.007488 0.007488 0.78% Castro::reset_internal_energy(MultiFab) 63 0.006765 0.006765 0.006765 0.71% Castro::estTimeStep() 21 0.006298 0.006298 0.006298 0.66% MLMG::computeResidual() 82 0.006227 0.006227 0.006227 0.65% MLCellLinOp::defineBC() 11 0.005098 0.005098 0.005098 0.53% MLMG::prepareForSolve() 11 0.004995 0.004995 0.004995 0.52% BndryData::define() 11 0.004869 0.004869 0.004869 0.51% Amr::InitializeInit() 1 0.00469 0.00469 0.00469 0.49% Amr::defBaseLevel() 1 0.004685 0.004685 0.004685 0.49% FabArray::LinComb() 557 0.00464 0.00464 0.00464 0.49% amrex::Add() 164 0.004431 0.004431 0.004431 0.46% Castro::initData() 1 0.004023 0.004023 0.004023 0.42% Castro::construct_new_source() 50 0.003352 0.003352 0.003352 0.35% Castro::construct_new_gravity_source() 10 0.003334 0.003334 0.003334 0.35% Castro::computeNewDt() 9 0.002947 0.002947 0.002947 0.31% Castro::construct_old_source() 50 0.002646 0.002646 0.002646 0.28% Castro::construct_old_gravity_source() 10 0.002626 0.002626 0.002626 0.27% Castro::finalize_do_advance() 10 0.002306 0.002306 0.002306 0.24% Castro::enforce_speed_limit() 62 0.00226 0.00226 0.00226 0.24% MLMG::ResNormInf() 93 0.002153 0.002153 0.002153 0.23% Castro::apply_source_to_state() 20 0.001861 0.001861 0.001861 0.19% check_for_negative_density() 10 0.001792 0.001792 0.001792 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001739 0.001739 0.001739 0.18% Castro::reset_internal_energy(Fab) 504 0.001702 0.001702 0.001702 0.18% MLMG::getGradSolution() 11 0.001554 0.001554 0.001554 0.16% MLCellLinOp::compGrad() 11 0.001548 0.001548 0.001548 0.16% MLCellLinOp::setLevelBC() 11 0.00148 0.00148 0.00148 0.15% FabArrayBase::getCPC() 1323 0.001467 0.001467 0.001467 0.15% FabArray::mult() 43 0.001356 0.001356 0.001356 0.14% FabArray::setDomainBndry() 41 0.001337 0.001337 0.001337 0.14% MLMG::computeMLResidual() 11 0.001302 0.001302 0.001302 0.14% MLPoisson::prepareForSolve() 11 0.00128 0.00128 0.00128 0.13% Castro::check_for_nan() 20 0.001279 0.001279 0.001279 0.13% MLCellLinOp::prepareForSolve() 11 0.001272 0.001272 0.001272 0.13% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.13% Castro::post_regrid() 1 0.001137 0.001137 0.001137 0.12% Castro::computeInitialDt() 2 0.0011 0.0011 0.0011 0.12% Gravity::update_max_rhs() 11 0.000989 0.000989 0.000989 0.10% FabArrayBase::getFB() 4023 0.0007471 0.0007471 0.0007471 0.08% FabArrayBase::CPC::define() 454 0.0006813 0.0006813 0.0006813 0.07% Castro::finalize_advance() 10 0.0005938 0.0005938 0.0005938 0.06% Castro::Castro() 1 0.0005676 0.0005676 0.0005676 0.06% Amr::InitAmr() 1 0.0004994 0.0004994 0.0004994 0.05% Gravity::swapTimeLevels() 10 0.0004614 0.0004614 0.0004614 0.05% MLMG::MLResNormInf() 11 0.000329 0.000329 0.000329 0.03% MultiFab::max() 11 0.0003264 0.0003264 0.0003264 0.03% Castro::buildMetrics() 1 0.000274 0.000274 0.000274 0.03% MLLinOp::define() 11 0.0002248 0.0002248 0.0002248 0.02% MLMG::MLRhsNormInf() 11 0.000223 0.000223 0.000223 0.02% MLLinOp::defineGrids() 11 0.0002101 0.0002101 0.0002101 0.02% Castro::create_source_corrector() 10 0.0001586 0.0001586 0.0001586 0.02% FabArrayBase::FB::FB() 56 9.716e-05 9.716e-05 9.716e-05 0.01% Castro::enforce_consistent_e() 1 6.997e-05 6.997e-05 6.997e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.662e-05 5.662e-05 5.662e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.321e-05 5.321e-05 5.321e-05 0.01% makeSFC 55 3.902e-05 3.902e-05 3.902e-05 0.00% StateData::define() 4 3.787e-05 3.787e-05 3.787e-05 0.00% Castro::swap_state_time_levels() 10 3.699e-05 3.699e-05 3.699e-05 0.00% Amr::writeSmallPlotFile() 1 3.096e-05 3.096e-05 3.096e-05 0.00% Castro::initMFs() 1 2.97e-05 2.97e-05 2.97e-05 0.00% DistributionMapping::Distribute() 56 1.629e-05 1.629e-05 1.629e-05 0.00% Amr::initSubcycle() 1 1.236e-05 1.236e-05 1.236e-05 0.00% AmrLevel::checkPointPost() 3 4.649e-06 4.649e-06 4.649e-06 0.00% Castro::retry_advance_ctu() 10 4.49e-06 4.49e-06 4.49e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.037e-06 4.037e-06 4.037e-06 0.00% Gravity::set_mass_offset() 11 3.918e-06 3.918e-06 3.918e-06 0.00% AmrLevel::checkPointPre() 3 2.759e-06 2.759e-06 2.759e-06 0.00% Castro::FluxRegCrseInit 10 2.742e-06 2.742e-06 2.742e-06 0.00% Castro::FluxRegFineAdd() 10 2.171e-06 2.171e-06 2.171e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.828e-06 1.828e-06 1.828e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 147 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 954 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1685 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7613 KiB 14 MiB MLMG::prepareForSolve() 660 660 3342 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 192 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 162 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7523 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2003 B 2048 KiB Gravity::solve_for_phi() 80 80 526 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 305 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 194 KiB 671 KiB Castro::estTimeStep() 21 21 3215 B 480 KiB VisMF::Write(FabArray) 656 656 3220 B 320 KiB Castro::normalize_species() 62 62 7266 B 320 KiB amrex::average_down 1067 1067 1210 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1078 B 257 KiB amrex::Dot() 1360 1360 3241 B 160 KiB FabArray::norminf() 907 907 2267 B 160 KiB check_for_negative_density() 10 10 296 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3263 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 280 B 9648 B MLCellLinOp::applyBC() 8866 8866 210 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3897 B 6144 B StateData::FillBoundary(geom) 1992 1992 34 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 113 B 1472 B MLCellLinOp::defineBC() 66 66 344 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 494 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 482 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3263 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 280 B 9648 B MLCellLinOp::applyBC() 4433 4433 208 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3898 B 6144 B Gravity::get_new_grav_vector() 3 3 2901 B 3072 B StateData::FillBoundary(geom) 1992 1992 35 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 278 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-6-gae65b3afc481) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-6-gae65b3afc481) initialized Starting run at 08:06:52 UTC on 2023-09-13. Successfully read inputs file ... Castro git describe: 23.09-5-g0aabe1705 AMReX git describe: 23.09-6-gae65b3afc Microphysics git describe: 23.09-6-g94b016d2 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.526601949 Restart time = 0.050592254 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.054137755 [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.050609379 [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.0579101 [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.075942566 [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.085311853 [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.029815573 seconds Ending run at 08:06:53 UTC on 2023-09-13. Run time = 0.405333794 Run time without initialization = 0.354121224 Average number of zones advanced per microsecond: 3.701 Average number of zones advanced per microsecond per rank: 3.701 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4054 ... 0.4054 ... 0.4054 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1291 0.1291 0.1291 31.85% VisMF::Read() 3 0.03906 0.03906 0.03906 9.64% MLCellLinOp::applyBC() 1946 0.0336 0.0336 0.0336 8.29% VisMF::Write(FabArray) 1 0.02846 0.02846 0.02846 7.02% MLPoisson::Fsmooth() 1440 0.0142 0.0142 0.0142 3.50% StateDataPhysBCFunct::() 20 0.01325 0.01325 0.01325 3.27% FillBoundary_nowait() 1766 0.0128 0.0128 0.0128 3.16% StateData::FillBoundary(geom) 160 0.01218 0.01218 0.01218 3.01% amrex::Dot() 484 0.009081 0.009081 0.009081 2.24% Castro::normalize_species() 30 0.008499 0.008499 0.008499 2.10% amrex::Copy() 463 0.007266 0.007266 0.007266 1.79% Castro::computeTemp() 30 0.007261 0.007261 0.007261 1.79% FabArray::setVal() 537 0.006552 0.006552 0.006552 1.62% FabArray::norminf() 326 0.006414 0.006414 0.006414 1.58% FabArray::ParallelCopy_nowait() 380 0.0062 0.0062 0.0062 1.53% Gravity::fill_multipole_BCs() 6 0.005499 0.005499 0.005499 1.36% MLCellLinOp::defineAuxData() 6 0.005488 0.005488 0.005488 1.35% Castro::enforce_min_density() 30 0.005253 0.005253 0.005253 1.30% Amr::restart() 1 0.004805 0.004805 0.004805 1.19% MLPoisson::Fapply() 500 0.004612 0.004612 0.004612 1.14% FabArray::Saxpy() 355 0.003754 0.003754 0.003754 0.93% FabArray::Xpay() 361 0.003589 0.003589 0.003589 0.89% MLMG::addInterpCorrection() 180 0.003077 0.003077 0.003077 0.76% amrex::average_down 180 0.002691 0.002691 0.002691 0.66% Castro::estTimeStep() 10 0.002606 0.002606 0.002606 0.64% FabArray::LinComb() 242 0.002271 0.002271 0.002271 0.56% Castro::enforce_speed_limit() 30 0.002101 0.002101 0.002101 0.52% Castro::reset_internal_energy(MultiFab) 30 0.002093 0.002093 0.002093 0.52% BndryData::define() 6 0.002083 0.002083 0.002083 0.51% amrex::Add() 72 0.00189 0.00189 0.00189 0.47% Castro::construct_new_gravity_source() 5 0.00155 0.00155 0.00155 0.38% Amr::writePlotFile() 1 0.001185 0.001185 0.001185 0.29% Castro::construct_old_gravity_source() 5 0.00112 0.00112 0.00112 0.28% MLCGSolver::bicgstab 36 0.0009724 0.0009724 0.0009724 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009458 0.0009458 0.0009458 0.23% check_for_negative_density() 5 0.0009109 0.0009109 0.0009109 0.22% Castro::reset_internal_energy(Fab) 240 0.0008548 0.0008548 0.0008548 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008318 0.0008318 0.0008318 0.21% MLCellLinOp::setLevelBC() 6 0.0008053 0.0008053 0.0008053 0.20% MLCellLinOp::prepareForSolve() 6 0.0007118 0.0007118 0.0007118 0.18% FabArray::mult() 22 0.0006886 0.0006886 0.0006886 0.17% FabArray::setDomainBndry() 20 0.0006778 0.0006778 0.0006778 0.17% MultiFab::contains_nan() 10 0.0006547 0.0006547 0.0006547 0.16% MLCellLinOp::compGrad() 6 0.000584 0.000584 0.000584 0.14% MLMG::prepareForSolve() 6 0.0005489 0.0005489 0.0005489 0.14% MLCellLinOp::smooth() 720 0.0004624 0.0004624 0.0004624 0.11% Amr::InitAmr() 1 0.0004274 0.0004274 0.0004274 0.11% FabArrayBase::CPC::define() 244 0.0004067 0.0004067 0.0004067 0.10% FabArrayBase::getCPC() 632 0.0003619 0.0003619 0.0003619 0.09% FabArray::FillBoundary() 1766 0.0003585 0.0003585 0.0003585 0.09% Gravity::get_old_grav_vector() 5 0.0003177 0.0003177 0.0003177 0.08% main() 1 0.0002789 0.0002789 0.0002789 0.07% FabArrayBase::getFB() 1766 0.0002652 0.0002652 0.0002652 0.07% Gravity::get_new_grav_vector() 5 0.000264 0.000264 0.000264 0.07% MultiFab::max() 6 0.0002058 0.0002058 0.0002058 0.05% MLCellLinOp::apply() 500 0.0001943 0.0001943 0.0001943 0.05% AmrLevel::FillPatch() 20 0.0001651 0.0001651 0.0001651 0.04% Amr::coarseTimeStep() 5 0.0001541 0.0001541 0.0001541 0.04% MLLinOp::defineGrids() 6 0.0001482 0.0001482 0.0001482 0.04% MLCGSolver::ParallelAllReduce 659 0.0001219 0.0001219 0.0001219 0.03% FabArray::ParallelCopy() 380 0.0001174 0.0001174 0.0001174 0.03% MLCellLinOp::defineBC() 6 0.0001098 0.0001098 0.0001098 0.03% FillPatchIterator::Initialize 20 0.0001097 0.0001097 0.0001097 0.03% MLCellLinOp::correctionResidual() 216 9.636e-05 9.636e-05 9.636e-05 0.02% MLMG::mgVcycle() 36 8.803e-05 8.803e-05 8.803e-05 0.02% Castro::subcycle_advance_ctu() 5 8.584e-05 8.584e-05 8.584e-05 0.02% Amr::timeStep() 5 8.478e-05 8.478e-05 8.478e-05 0.02% Castro::create_source_corrector() 5 8.195e-05 8.195e-05 8.195e-05 0.02% AmrLevel::restart() 1 7.839e-05 7.839e-05 7.839e-05 0.02% Castro::finalize_do_advance() 5 6.877e-05 6.877e-05 6.877e-05 0.02% Castro::initialize_do_advance() 5 6.59e-05 6.59e-05 6.59e-05 0.02% Gravity::update_max_rhs() 6 6.554e-05 6.554e-05 6.554e-05 0.02% Gravity::solve_for_phi() 5 6.304e-05 6.304e-05 6.304e-05 0.02% StateData::restartDoit() 4 6.198e-05 6.198e-05 6.198e-05 0.02% FabArrayBase::FB::FB() 26 5.923e-05 5.923e-05 5.923e-05 0.01% MLMG:computeResOfCorrection() 180 5.107e-05 5.107e-05 5.107e-05 0.01% Castro::construct_new_source() 25 4.989e-05 4.989e-05 4.989e-05 0.01% Castro::do_advance_ctu() 5 4.424e-05 4.424e-05 4.424e-05 0.01% MLMG::actualBottomSolve() 36 4.191e-05 4.191e-05 4.191e-05 0.01% MLMG::mgVcycle_down::0 36 3.682e-05 3.682e-05 3.682e-05 0.01% Castro::initialize_advance() 5 3.639e-05 3.639e-05 3.639e-05 0.01% MLMG::mgVcycle_down::1 36 3.598e-05 3.598e-05 3.598e-05 0.01% MLMG::solve() 6 3.58e-05 3.58e-05 3.58e-05 0.01% Castro::post_timestep() 5 3.494e-05 3.494e-05 3.494e-05 0.01% Castro::finalize_advance() 5 3.375e-05 3.375e-05 3.375e-05 0.01% Castro::clean_state() 30 3.373e-05 3.373e-05 3.373e-05 0.01% MLMG::mgVcycle_down::2 36 3.339e-05 3.339e-05 3.339e-05 0.01% MLMG::mgVcycle_down::4 36 3.269e-05 3.269e-05 3.269e-05 0.01% MLMG::mgVcycle_down::3 36 3.163e-05 3.163e-05 3.163e-05 0.01% Castro::advance() 5 3.053e-05 3.053e-05 3.053e-05 0.01% Castro::post_restart() 1 2.908e-05 2.908e-05 2.908e-05 0.01% MLMG::mgVcycle_up::4 36 2.907e-05 2.907e-05 2.907e-05 0.01% Castro::do_new_sources() 5 2.866e-05 2.866e-05 2.866e-05 0.01% Amr::writeSmallPlotFile() 1 2.825e-05 2.825e-05 2.825e-05 0.01% Castro::construct_old_source() 25 2.731e-05 2.731e-05 2.731e-05 0.01% Castro::buildMetrics() 1 2.586e-05 2.586e-05 2.586e-05 0.01% Castro::swap_state_time_levels() 5 2.526e-05 2.526e-05 2.526e-05 0.01% Castro::initMFs() 1 2.399e-05 2.399e-05 2.399e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.364e-05 2.364e-05 2.364e-05 0.01% MLCellLinOp::solutionResidual() 42 2.294e-05 2.294e-05 2.294e-05 0.01% MLMG::oneIter() 36 2.285e-05 2.285e-05 2.285e-05 0.01% MLMG::mgVcycle_up::3 36 2.134e-05 2.134e-05 2.134e-05 0.01% MLMG::mgVcycle_up::0 36 2.057e-05 2.057e-05 2.057e-05 0.01% MLMG::mgVcycle_up::2 36 1.986e-05 1.986e-05 1.986e-05 0.00% MLMG::mgVcycle_up::1 36 1.871e-05 1.871e-05 1.871e-05 0.00% MLMG::ResNormInf() 42 1.667e-05 1.667e-05 1.667e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.641e-05 1.641e-05 1.641e-05 0.00% FillPatchSingleLevel 20 1.605e-05 1.605e-05 1.605e-05 0.00% MLMG::mgVcycle_bottom 36 1.52e-05 1.52e-05 1.52e-05 0.00% MLMG::computeResidual() 36 1.474e-05 1.474e-05 1.474e-05 0.00% MLPoisson::define() 6 1.386e-05 1.386e-05 1.386e-05 0.00% Castro::construct_new_gravity() 5 1.337e-05 1.337e-05 1.337e-05 0.00% makeSFC 30 1.296e-05 1.296e-05 1.296e-05 0.00% Amr::initSubcycle() 1 1.296e-05 1.296e-05 1.296e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.291e-05 1.291e-05 1.291e-05 0.00% Castro::do_old_sources() 5 1.124e-05 1.124e-05 1.124e-05 0.00% MLMG::getGradSolution() 6 1.03e-05 1.03e-05 1.03e-05 0.00% MLLinOp::define() 6 9.839e-06 9.839e-06 9.839e-06 0.00% DistributionMapping::Distribute() 31 8.989e-06 8.989e-06 8.989e-06 0.00% Gravity::actual_multilevel_solve() 1 8.63e-06 8.63e-06 8.63e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.277e-06 8.277e-06 8.277e-06 0.00% Castro::check_for_nan() 10 7.264e-06 7.264e-06 7.264e-06 0.00% Castro::construct_old_gravity() 5 6.294e-06 6.294e-06 6.294e-06 0.00% Castro::apply_source_to_state() 10 6.002e-06 6.002e-06 6.002e-06 0.00% Gravity::swapTimeLevels() 5 4.333e-06 4.333e-06 4.333e-06 0.00% MLPoisson::prepareForSolve() 6 4.277e-06 4.277e-06 4.277e-06 0.00% MLMG::computeMLResidual() 6 3.844e-06 3.844e-06 3.844e-06 0.00% Castro::computeNewDt() 5 3.656e-06 3.656e-06 3.656e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.436e-06 3.436e-06 3.436e-06 0.00% Castro::expand_state() 5 3.187e-06 3.187e-06 3.187e-06 0.00% Castro::retry_advance_ctu() 5 2.684e-06 2.684e-06 2.684e-06 0.00% MLMG::MLResNormInf() 6 2.367e-06 2.367e-06 2.367e-06 0.00% MLMG::MLRhsNormInf() 6 2.301e-06 2.301e-06 2.301e-06 0.00% Gravity::set_mass_offset() 6 2.078e-06 2.078e-06 2.078e-06 0.00% Castro::FluxRegCrseInit 5 1.448e-06 1.448e-06 1.448e-06 0.00% Castro::FluxRegFineAdd() 5 1.229e-06 1.229e-06 1.229e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.069e-06 1.069e-06 1.069e-06 0.00% Amr::init() 1 1.061e-06 1.061e-06 1.061e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4053 0.4053 0.4053 100.00% Amr::coarseTimeStep() 5 0.3241 0.3241 0.3241 79.94% Amr::timeStep() 5 0.3223 0.3223 0.3223 79.50% Castro::advance() 5 0.3171 0.3171 0.3171 78.22% Castro::subcycle_advance_ctu() 5 0.3095 0.3095 0.3095 76.34% Castro::do_advance_ctu() 5 0.3094 0.3094 0.3094 76.32% Castro::construct_new_gravity() 5 0.1355 0.1355 0.1355 33.42% Castro::construct_ctu_hydro_source() 5 0.135 0.135 0.135 33.31% Gravity::solve_phi_with_mlmg() 6 0.1302 0.1302 0.1302 32.12% Gravity::solve_for_phi() 5 0.1246 0.1246 0.1246 30.73% Gravity::actual_solve_with_mlmg() 6 0.1245 0.1245 0.1245 30.70% MLMG::solve() 6 0.1127 0.1127 0.1127 27.81% MLMG::oneIter() 36 0.1053 0.1053 0.1053 25.99% MLMG::mgVcycle() 36 0.1038 0.1038 0.1038 25.61% Amr::init() 1 0.05064 0.05064 0.05064 12.49% Amr::restart() 1 0.05064 0.05064 0.05064 12.49% MLCellLinOp::smooth() 720 0.05026 0.05026 0.05026 12.40% MLCellLinOp::applyBC() 1946 0.04708 0.04708 0.04708 11.62% AmrLevel::restart() 1 0.03942 0.03942 0.03942 9.72% StateData::restartDoit() 4 0.03933 0.03933 0.03933 9.70% VisMF::Read() 3 0.03906 0.03906 0.03906 9.64% MLMG::mgVcycle_bottom 36 0.03276 0.03276 0.03276 8.08% MLMG::actualBottomSolve() 36 0.03274 0.03274 0.03274 8.08% MLCGSolver::bicgstab 36 0.03243 0.03243 0.03243 8.00% AmrLevel::FillPatch() 20 0.03045 0.03045 0.03045 7.51% Amr::writePlotFile() 1 0.0299 0.0299 0.0299 7.38% VisMF::Write(FabArray) 1 0.02846 0.02846 0.02846 7.02% FillPatchIterator::Initialize 20 0.02838 0.02838 0.02838 7.00% FillPatchIterator::FillFromLevel0() 20 0.02759 0.02759 0.02759 6.81% FillPatchSingleLevel 20 0.02757 0.02757 0.02757 6.80% Castro::clean_state() 30 0.02609 0.02609 0.02609 6.44% StateDataPhysBCFunct::() 20 0.02544 0.02544 0.02544 6.28% MLCellLinOp::apply() 500 0.01602 0.01602 0.01602 3.95% MLMG::mgVcycle_down::0 36 0.01444 0.01444 0.01444 3.56% MLPoisson::Fsmooth() 1440 0.0142 0.0142 0.0142 3.50% FabArray::FillBoundary() 1766 0.01348 0.01348 0.01348 3.33% FillBoundary_nowait() 1766 0.01312 0.01312 0.01312 3.24% StateData::FillBoundary(geom) 160 0.01218 0.01218 0.01218 3.01% Castro::initialize_do_advance() 5 0.01143 0.01143 0.01143 2.82% MLMG::mgVcycle_up::0 36 0.01083 0.01083 0.01083 2.67% Gravity::get_new_grav_vector() 5 0.01078 0.01078 0.01078 2.66% Castro::do_old_sources() 5 0.01033 0.01033 0.01033 2.55% Castro::construct_old_gravity() 5 0.01022 0.01022 0.01022 2.52% Gravity::get_old_grav_vector() 5 0.01021 0.01021 0.01021 2.52% Castro::computeTemp() 30 0.01021 0.01021 0.01021 2.52% MLCellLinOp::correctionResidual() 216 0.009637 0.009637 0.009637 2.38% MLPoisson::define() 6 0.009205 0.009205 0.009205 2.27% amrex::Dot() 484 0.009081 0.009081 0.009081 2.24% Castro::normalize_species() 30 0.008499 0.008499 0.008499 2.10% MLMG:computeResOfCorrection() 180 0.00846 0.00846 0.00846 2.09% Castro::initialize_advance() 5 0.007273 0.007273 0.007273 1.79% amrex::Copy() 463 0.007266 0.007266 0.007266 1.79% MLMG::mgVcycle_down::1 36 0.007016 0.007016 0.007016 1.73% Castro::expand_state() 5 0.006738 0.006738 0.006738 1.66% FabArray::ParallelCopy() 380 0.00671 0.00671 0.00671 1.66% FabArray::ParallelCopy_nowait() 380 0.006593 0.006593 0.006593 1.63% FabArray::setVal() 537 0.006552 0.006552 0.006552 1.62% MLMG::mgVcycle_down::2 36 0.006429 0.006429 0.006429 1.59% FabArray::norminf() 326 0.006414 0.006414 0.006414 1.58% MLMG::mgVcycle_down::3 36 0.006306 0.006306 0.006306 1.56% MLCellLinOp::defineAuxData() 6 0.006249 0.006249 0.006249 1.54% Castro::post_restart() 1 0.006242 0.006242 0.006242 1.54% MLMG::mgVcycle_down::4 36 0.006194 0.006194 0.006194 1.53% Gravity::multilevel_solve_for_new_phi() 1 0.005865 0.005865 0.005865 1.45% Gravity::actual_multilevel_solve() 1 0.005848 0.005848 0.005848 1.44% Gravity::fill_multipole_BCs() 6 0.005621 0.005621 0.005621 1.39% MLCGSolver::ParallelAllReduce 659 0.005474 0.005474 0.005474 1.35% MLMG::addInterpCorrection() 180 0.005342 0.005342 0.005342 1.32% Castro::do_new_sources() 5 0.005341 0.005341 0.005341 1.32% Castro::enforce_min_density() 30 0.005253 0.005253 0.005253 1.30% Castro::post_timestep() 5 0.005112 0.005112 0.005112 1.26% MLMG::mgVcycle_up::4 36 0.005061 0.005061 0.005061 1.25% amrex::average_down 180 0.00502 0.00502 0.00502 1.24% MLMG::mgVcycle_up::1 36 0.004985 0.004985 0.004985 1.23% MLMG::mgVcycle_up::2 36 0.004898 0.004898 0.004898 1.21% MLMG::mgVcycle_up::3 36 0.004805 0.004805 0.004805 1.19% MLPoisson::Fapply() 500 0.004612 0.004612 0.004612 1.14% FabArray::Saxpy() 355 0.003754 0.003754 0.003754 0.93% FabArray::Xpay() 361 0.003589 0.003589 0.003589 0.89% MLCellLinOp::solutionResidual() 42 0.003464 0.003464 0.003464 0.85% Castro::reset_internal_energy(MultiFab) 30 0.002948 0.002948 0.002948 0.73% MLMG::prepareForSolve() 6 0.002765 0.002765 0.002765 0.68% MLCellLinOp::defineBC() 6 0.002754 0.002754 0.002754 0.68% MLMG::computeResidual() 36 0.002696 0.002696 0.002696 0.67% BndryData::define() 6 0.002644 0.002644 0.002644 0.65% Castro::estTimeStep() 10 0.002606 0.002606 0.002606 0.64% FabArray::LinComb() 242 0.002271 0.002271 0.002271 0.56% Castro::enforce_speed_limit() 30 0.002101 0.002101 0.002101 0.52% amrex::Add() 72 0.00189 0.00189 0.00189 0.47% Castro::computeNewDt() 5 0.001635 0.001635 0.001635 0.40% Castro::construct_new_source() 25 0.0016 0.0016 0.0016 0.39% Castro::construct_new_gravity_source() 5 0.00155 0.00155 0.00155 0.38% Castro::construct_old_source() 25 0.001147 0.001147 0.001147 0.28% Castro::construct_old_gravity_source() 5 0.00112 0.00112 0.00112 0.28% Castro::finalize_do_advance() 5 0.001043 0.001043 0.001043 0.26% MLMG::ResNormInf() 42 0.0009983 0.0009983 0.0009983 0.25% Castro::apply_source_to_state() 10 0.000956 0.000956 0.000956 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009458 0.0009458 0.0009458 0.23% check_for_negative_density() 5 0.0009109 0.0009109 0.0009109 0.22% MLMG::getGradSolution() 6 0.0008661 0.0008661 0.0008661 0.21% MLCellLinOp::compGrad() 6 0.0008558 0.0008558 0.0008558 0.21% Castro::reset_internal_energy(Fab) 240 0.0008548 0.0008548 0.0008548 0.21% MLCellLinOp::setLevelBC() 6 0.0008053 0.0008053 0.0008053 0.20% MLMG::computeMLResidual() 6 0.000786 0.000786 0.000786 0.19% FabArrayBase::getCPC() 632 0.0007686 0.0007686 0.0007686 0.19% Gravity::update_max_rhs() 6 0.0007199 0.0007199 0.0007199 0.18% MLPoisson::prepareForSolve() 6 0.0007161 0.0007161 0.0007161 0.18% MLCellLinOp::prepareForSolve() 6 0.0007118 0.0007118 0.0007118 0.18% FabArray::mult() 22 0.0006886 0.0006886 0.0006886 0.17% FabArray::setDomainBndry() 20 0.0006778 0.0006778 0.0006778 0.17% Castro::check_for_nan() 10 0.0006619 0.0006619 0.0006619 0.16% MultiFab::contains_nan() 10 0.0006547 0.0006547 0.0006547 0.16% Amr::InitAmr() 1 0.0004403 0.0004403 0.0004403 0.11% FabArrayBase::CPC::define() 244 0.0004067 0.0004067 0.0004067 0.10% FabArrayBase::getFB() 1766 0.0003244 0.0003244 0.0003244 0.08% Castro::finalize_advance() 5 0.000305 0.000305 0.000305 0.08% Gravity::swapTimeLevels() 5 0.0002302 0.0002302 0.0002302 0.06% MultiFab::max() 6 0.0002058 0.0002058 0.0002058 0.05% MLMG::MLResNormInf() 6 0.0001887 0.0001887 0.0001887 0.05% MLLinOp::define() 6 0.0001879 0.0001879 0.0001879 0.05% MLLinOp::defineGrids() 6 0.0001781 0.0001781 0.0001781 0.04% Castro::buildMetrics() 1 0.0001509 0.0001509 0.0001509 0.04% MLMG::MLRhsNormInf() 6 0.0001195 0.0001195 0.0001195 0.03% Castro::create_source_corrector() 5 8.195e-05 8.195e-05 8.195e-05 0.02% FabArrayBase::FB::FB() 26 5.923e-05 5.923e-05 5.923e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.886e-05 2.886e-05 2.886e-05 0.01% Amr::writeSmallPlotFile() 1 2.825e-05 2.825e-05 2.825e-05 0.01% Castro::swap_state_time_levels() 5 2.526e-05 2.526e-05 2.526e-05 0.01% Castro::initMFs() 1 2.399e-05 2.399e-05 2.399e-05 0.01% makeSFC 30 2.058e-05 2.058e-05 2.058e-05 0.01% Amr::initSubcycle() 1 1.296e-05 1.296e-05 1.296e-05 0.00% DistributionMapping::Distribute() 31 8.989e-06 8.989e-06 8.989e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.804e-06 4.804e-06 4.804e-06 0.00% Castro::retry_advance_ctu() 5 2.684e-06 2.684e-06 2.684e-06 0.00% Gravity::set_mass_offset() 6 2.078e-06 2.078e-06 2.078e-06 0.00% Castro::FluxRegCrseInit 5 1.448e-06 1.448e-06 1.448e-06 0.00% Castro::FluxRegFineAdd() 5 1.229e-06 1.229e-06 1.229e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.069e-06 1.069e-06 1.069e-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 206 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 144 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1416 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2072 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6738 KiB 14 MiB MLMG::prepareForSolve() 361 361 3414 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 260 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 272 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6724 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3528 B 2048 KiB Gravity::solve_for_phi() 40 40 628 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 202 KiB 671 KiB Castro::estTimeStep() 10 10 3074 B 480 KiB VisMF::Write(FabArray) 112 112 1348 B 320 KiB Castro::normalize_species() 30 30 6822 B 320 KiB amrex::average_down 469 469 1210 B 257 KiB MLMG::addInterpCorrection() 468 468 1126 B 257 KiB amrex::Dot() 592 592 3292 B 160 KiB FabArray::norminf() 398 398 2335 B 160 KiB check_for_negative_density() 5 5 357 B 160 KiB MultiFab::max() 6 6 79 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3309 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 274 B 9648 B MLCellLinOp::applyBC() 3892 3892 216 B 9344 B amrex::Copy() 56 56 5925 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 110 B 4192 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 116 B 1472 B MLCellLinOp::defineBC() 36 36 353 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1282 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 88 KiB 8192 KiB VisMF::Write(FabArray) 120 120 201 KiB 3584 KiB VisMF::Read() 24 24 186 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3309 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 274 B 9648 B MLCellLinOp::applyBC() 1946 1946 215 B 9328 B amrex::Copy() 56 56 5925 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 110 B 4192 B Gravity::get_old_grav_vector() 3 3 2640 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 523 B 1296 B amrex::average_down 37 37 221 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-6-gae65b3afc481) finalized