Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-43-gb75dd9d52792) initialized Starting run at 07:24:02 UTC on 2023-07-26. Successfully read inputs file ... Castro git describe: 23.07-20-g4174f17eb AMReX git describe: 23.07-43-gb75dd9d52 Microphysics git describe: 23.07-47-geb5189fa 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.057815921 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033033934 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.04762523 [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.070533672 [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.06988472 [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.057481243 [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.055786139 [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.057492129 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.06601107 [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.079172934 [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.07260299 [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.058258939 [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.060961295 [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.093706099 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033325277 seconds Ending run at 07:24:03 UTC on 2023-07-26. Run time = 0.959398584 Run time without initialization = 0.823502421 Average number of zones advanced per microsecond: 3.183 Average number of zones advanced per microsecond per rank: 3.183 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9594 ... 0.9594 ... 0.9594 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2776 0.2776 0.2776 28.93% VisMF::Write(FabArray) 11 0.2336 0.2336 0.2336 24.34% MLCellLinOp::applyBC() 4379 0.07431 0.07431 0.07431 7.75% Amr::checkPoint() 3 0.03896 0.03896 0.03896 4.06% MLPoisson::Fsmooth() 3240 0.03087 0.03087 0.03087 3.22% FillBoundary_nowait() 3974 0.03055 0.03055 0.03055 3.18% StateData::FillBoundary(geom) 328 0.02395 0.02395 0.02395 2.50% Castro::normalize_species() 62 0.02048 0.02048 0.02048 2.13% amrex::Dot() 1100 0.01951 0.01951 0.01951 2.03% Castro::computeTemp() 63 0.0146 0.0146 0.0146 1.52% amrex::Copy() 1019 0.0144 0.0144 0.0144 1.50% FabArray::norminf() 734 0.01371 0.01371 0.01371 1.43% FabArray::ParallelCopy_nowait() 851 0.01297 0.01297 0.01297 1.35% StateDataPhysBCFunct::() 41 0.0128 0.0128 0.0128 1.33% FabArray::setVal() 1135 0.01266 0.01266 0.01266 1.32% Castro::enforce_min_density() 62 0.0108 0.0108 0.0108 1.13% MLPoisson::Fapply() 1128 0.009843 0.009843 0.009843 1.03% MLCellLinOp::defineAuxData() 11 0.009323 0.009323 0.009323 0.97% FabArray::Saxpy() 803 0.007773 0.007773 0.007773 0.81% FabArray::Xpay() 811 0.007699 0.007699 0.007699 0.80% MLMG::addInterpCorrection() 405 0.006541 0.006541 0.006541 0.68% Gravity::fill_multipole_BCs() 11 0.006453 0.006453 0.006453 0.67% amrex::average_down 405 0.00576 0.00576 0.00576 0.60% Castro::estTimeStep() 21 0.005662 0.005662 0.005662 0.59% Castro::reset_internal_energy(MultiFab) 63 0.005334 0.005334 0.005334 0.56% FabArray::LinComb() 550 0.004262 0.004262 0.004262 0.44% amrex::Add() 162 0.004234 0.004234 0.004234 0.44% BndryData::define() 11 0.003503 0.003503 0.003503 0.37% Castro::enforce_speed_limit() 62 0.003249 0.003249 0.003249 0.34% Castro::construct_new_gravity_source() 10 0.003164 0.003164 0.003164 0.33% Castro::construct_old_gravity_source() 10 0.002725 0.002725 0.002725 0.28% Amr::writePlotFile() 2 0.002366 0.002366 0.002366 0.25% MLCGSolver::bicgstab 81 0.002047 0.002047 0.002047 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00162 0.00162 0.00162 0.17% Castro::reset_internal_energy(Fab) 504 0.001542 0.001542 0.001542 0.16% Gravity::actual_solve_with_mlmg() 11 0.001495 0.001495 0.001495 0.16% check_for_negative_density() 10 0.001436 0.001436 0.001436 0.15% MLCellLinOp::setLevelBC() 11 0.001365 0.001365 0.001365 0.14% FabArray::mult() 43 0.001312 0.001312 0.001312 0.14% FabArray::setDomainBndry() 41 0.001312 0.001312 0.001312 0.14% Castro::initData() 1 0.001233 0.001233 0.001233 0.13% MultiFab::contains_nan() 20 0.001185 0.001185 0.001185 0.12% MLCellLinOp::smooth() 1620 0.001125 0.001125 0.001125 0.12% MLCellLinOp::prepareForSolve() 11 0.001092 0.001092 0.001092 0.11% MLCellLinOp::compGrad() 11 0.0008936 0.0008936 0.0008936 0.09% MLMG::prepareForSolve() 11 0.0008563 0.0008563 0.0008563 0.09% FabArray::FillBoundary() 3974 0.0007994 0.0007994 0.0007994 0.08% FabArrayBase::getCPC() 1313 0.0007481 0.0007481 0.0007481 0.08% FabArrayBase::CPC::define() 454 0.0006662 0.0006662 0.0006662 0.07% FabArrayBase::getFB() 3974 0.0005917 0.0005917 0.0005917 0.06% Gravity::get_new_grav_vector() 11 0.0005368 0.0005368 0.0005368 0.06% Amr::InitAmr() 1 0.000473 0.000473 0.000473 0.05% Gravity::get_old_grav_vector() 10 0.0004691 0.0004691 0.0004691 0.05% MLCellLinOp::apply() 1128 0.0004612 0.0004612 0.0004612 0.05% MLMG::mgVcycle() 81 0.000382 0.000382 0.000382 0.04% Amr::coarseTimeStep() 10 0.0003651 0.0003651 0.0003651 0.04% MLLinOp::defineGrids() 11 0.0003595 0.0003595 0.0003595 0.04% AmrLevel::FillPatch() 41 0.0003217 0.0003217 0.0003217 0.03% main() 1 0.0002945 0.0002945 0.0002945 0.03% MLCGSolver::ParallelAllReduce 1495 0.0002791 0.0002791 0.0002791 0.03% MultiFab::max() 11 0.0002557 0.0002557 0.0002557 0.03% FabArray::ParallelCopy() 851 0.0002399 0.0002399 0.0002399 0.03% FillPatchIterator::Initialize 41 0.0002201 0.0002201 0.0002201 0.02% MLCellLinOp::correctionResidual() 486 0.000218 0.000218 0.000218 0.02% Castro::subcycle_advance_ctu() 10 0.000215 0.000215 0.000215 0.02% MLCellLinOp::defineBC() 11 0.0002077 0.0002077 0.0002077 0.02% Amr::timeStep() 10 0.0001643 0.0001643 0.0001643 0.02% Castro::create_source_corrector() 10 0.0001518 0.0001518 0.0001518 0.02% StateData::checkPoint() 12 0.0001391 0.0001391 0.0001391 0.01% Gravity::update_max_rhs() 11 0.0001284 0.0001284 0.0001284 0.01% MLMG:computeResOfCorrection() 405 0.0001283 0.0001283 0.0001283 0.01% Gravity::solve_for_phi() 10 0.000108 0.000108 0.000108 0.01% Castro::advance() 10 9.163e-05 9.163e-05 9.163e-05 0.01% MLMG::actualBottomSolve() 81 8.698e-05 8.698e-05 8.698e-05 0.01% FabArrayBase::FB::FB() 56 8.691e-05 8.691e-05 8.691e-05 0.01% Castro::Castro() 1 8.646e-05 8.646e-05 8.646e-05 0.01% MLMG::mgVcycle_down::0 81 7.851e-05 7.851e-05 7.851e-05 0.01% AmrLevel::checkPoint() 3 7.802e-05 7.802e-05 7.802e-05 0.01% MLMG::mgVcycle_down::1 81 7.642e-05 7.642e-05 7.642e-05 0.01% MLMG::mgVcycle_down::2 81 7.418e-05 7.418e-05 7.418e-05 0.01% MLMG::mgVcycle_down::4 81 7.347e-05 7.347e-05 7.347e-05 0.01% Castro::initialize_advance() 10 7.155e-05 7.155e-05 7.155e-05 0.01% MLMG::mgVcycle_down::3 81 7.093e-05 7.093e-05 7.093e-05 0.01% MLMG::solve() 11 6.846e-05 6.846e-05 6.846e-05 0.01% Castro::clean_state() 62 6.81e-05 6.81e-05 6.81e-05 0.01% Castro::finalize_advance() 10 5.844e-05 5.844e-05 5.844e-05 0.01% MLMG::mgVcycle_up::4 81 5.765e-05 5.765e-05 5.765e-05 0.01% Castro::initialize_do_advance() 10 5.75e-05 5.75e-05 5.75e-05 0.01% MLMG::oneIter() 81 5.384e-05 5.384e-05 5.384e-05 0.01% Castro::do_new_sources() 10 5.019e-05 5.019e-05 5.019e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.759e-05 4.759e-05 4.759e-05 0.00% Castro::do_advance_ctu() 10 4.724e-05 4.724e-05 4.724e-05 0.00% MLMG::mgVcycle_up::3 81 4.684e-05 4.684e-05 4.684e-05 0.00% MLCellLinOp::solutionResidual() 92 4.665e-05 4.665e-05 4.665e-05 0.00% MLMG::mgVcycle_up::0 81 4.651e-05 4.651e-05 4.651e-05 0.00% MLMG::mgVcycle_up::1 81 4.499e-05 4.499e-05 4.499e-05 0.00% MLMG::mgVcycle_up::2 81 4.451e-05 4.451e-05 4.451e-05 0.00% Castro::post_timestep() 10 3.935e-05 3.935e-05 3.935e-05 0.00% Castro::finalize_do_advance() 10 3.881e-05 3.881e-05 3.881e-05 0.00% Castro::swap_state_time_levels() 10 3.841e-05 3.841e-05 3.841e-05 0.00% StateData::define() 4 3.548e-05 3.548e-05 3.548e-05 0.00% FillPatchSingleLevel 41 3.277e-05 3.277e-05 3.277e-05 0.00% MLMG::computeResidual() 81 3.256e-05 3.256e-05 3.256e-05 0.00% Castro::enforce_consistent_e() 1 3.226e-05 3.226e-05 3.226e-05 0.00% MLMG::mgVcycle_bottom 81 3.205e-05 3.205e-05 3.205e-05 0.00% MLMG::ResNormInf() 92 3.041e-05 3.041e-05 3.041e-05 0.00% MLPoisson::define() 11 2.763e-05 2.763e-05 2.763e-05 0.00% Amr::writeSmallPlotFile() 1 2.549e-05 2.549e-05 2.549e-05 0.00% makeSFC 55 2.498e-05 2.498e-05 2.498e-05 0.00% Castro::initMFs() 1 2.469e-05 2.469e-05 2.469e-05 0.00% Castro::construct_new_gravity() 10 2.413e-05 2.413e-05 2.413e-05 0.00% Castro::construct_new_source() 50 2.379e-05 2.379e-05 2.379e-05 0.00% Amr::FinalizeInit() 1 2.08e-05 2.08e-05 2.08e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.07e-05 2.07e-05 2.07e-05 0.00% Castro::do_old_sources() 10 2.061e-05 2.061e-05 2.061e-05 0.00% Castro::construct_old_source() 50 1.869e-05 1.869e-05 1.869e-05 0.00% Castro::buildMetrics() 1 1.8e-05 1.8e-05 1.8e-05 0.00% MLLinOp::define() 11 1.701e-05 1.701e-05 1.701e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.67e-05 1.67e-05 1.67e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.662e-05 1.662e-05 1.662e-05 0.00% DistributionMapping::Distribute() 56 1.398e-05 1.398e-05 1.398e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.372e-05 1.372e-05 1.372e-05 0.00% Amr::defBaseLevel() 1 1.323e-05 1.323e-05 1.323e-05 0.00% Castro::construct_old_gravity() 10 1.078e-05 1.078e-05 1.078e-05 0.00% Castro::check_for_nan() 20 1.047e-05 1.047e-05 1.047e-05 0.00% Castro::apply_source_to_state() 20 1.04e-05 1.04e-05 1.04e-05 0.00% Amr::initSubcycle() 1 8.432e-06 8.432e-06 8.432e-06 0.00% Gravity::swapTimeLevels() 10 8.394e-06 8.394e-06 8.394e-06 0.00% MLMG::computeMLResidual() 11 8.11e-06 8.11e-06 8.11e-06 0.00% MLPoisson::prepareForSolve() 11 7.915e-06 7.915e-06 7.915e-06 0.00% Gravity::actual_multilevel_solve() 1 7.447e-06 7.447e-06 7.447e-06 0.00% Castro::computeNewDt() 9 6.152e-06 6.152e-06 6.152e-06 0.00% MLMG::getGradSolution() 11 5.793e-06 5.793e-06 5.793e-06 0.00% AmrLevel::checkPointPost() 3 5.5e-06 5.5e-06 5.5e-06 0.00% Amr::InitializeInit() 1 4.911e-06 4.911e-06 4.911e-06 0.00% Castro::expand_state() 10 4.801e-06 4.801e-06 4.801e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.923e-06 3.923e-06 3.923e-06 0.00% Gravity::set_mass_offset() 11 3.746e-06 3.746e-06 3.746e-06 0.00% MLMG::MLRhsNormInf() 11 3.738e-06 3.738e-06 3.738e-06 0.00% Castro::computeInitialDt() 2 3.551e-06 3.551e-06 3.551e-06 0.00% Castro::retry_advance_ctu() 10 3.54e-06 3.54e-06 3.54e-06 0.00% MLMG::MLResNormInf() 11 3.537e-06 3.537e-06 3.537e-06 0.00% Castro::post_init() 1 3.371e-06 3.371e-06 3.371e-06 0.00% Castro::FluxRegCrseInit 10 2.725e-06 2.725e-06 2.725e-06 0.00% AmrLevel::checkPointPre() 3 2.368e-06 2.368e-06 2.368e-06 0.00% Amr::init() 1 2.348e-06 2.348e-06 2.348e-06 0.00% Castro::FluxRegFineAdd() 10 2.16e-06 2.16e-06 2.16e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.87e-06 1.87e-06 1.87e-06 0.00% Amr::initialInit() 1 9.35e-07 9.35e-07 9.35e-07 0.00% Castro::post_regrid() 1 7.82e-07 7.82e-07 7.82e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9594 0.9594 0.9594 100.00% Amr::coarseTimeStep() 10 0.79 0.79 0.79 82.34% Amr::timeStep() 10 0.6351 0.6351 0.6351 66.19% Castro::advance() 10 0.6252 0.6252 0.6252 65.16% Castro::subcycle_advance_ctu() 10 0.6115 0.6115 0.6115 63.74% Castro::do_advance_ctu() 10 0.6113 0.6113 0.6113 63.72% Castro::construct_ctu_hydro_source() 10 0.2883 0.2883 0.2883 30.05% Gravity::solve_phi_with_mlmg() 11 0.273 0.273 0.273 28.45% Gravity::actual_solve_with_mlmg() 11 0.2661 0.2661 0.2661 27.74% Castro::construct_new_gravity() 10 0.2519 0.2519 0.2519 26.26% MLMG::solve() 11 0.2462 0.2462 0.2462 25.66% Gravity::solve_for_phi() 10 0.2365 0.2365 0.2365 24.65% VisMF::Write(FabArray) 11 0.2336 0.2336 0.2336 24.34% MLMG::oneIter() 81 0.2323 0.2323 0.2323 24.22% MLMG::mgVcycle() 81 0.2288 0.2288 0.2288 23.85% Amr::checkPoint() 3 0.2091 0.2091 0.2091 21.80% AmrLevel::checkPoint() 3 0.1702 0.1702 0.1702 17.74% StateData::checkPoint() 12 0.1701 0.1701 0.1701 17.73% Amr::init() 1 0.1353 0.1353 0.1353 14.10% MLCellLinOp::smooth() 1620 0.1132 0.1132 0.1132 11.80% MLCellLinOp::applyBC() 4379 0.1063 0.1063 0.1063 11.08% MLMG::mgVcycle_bottom 81 0.07 0.07 0.07 7.30% MLMG::actualBottomSolve() 81 0.06997 0.06997 0.06997 7.29% MLCGSolver::bicgstab 81 0.0693 0.0693 0.0693 7.22% Amr::writePlotFile() 2 0.06648 0.06648 0.06648 6.93% Castro::clean_state() 62 0.05527 0.05527 0.05527 5.76% AmrLevel::FillPatch() 41 0.04652 0.04652 0.04652 4.85% Amr::initialInit() 1 0.04431 0.04431 0.04431 4.62% FillPatchIterator::Initialize 41 0.04241 0.04241 0.04241 4.42% FillPatchIterator::FillFromLevel0() 41 0.04087 0.04087 0.04087 4.26% FillPatchSingleLevel 41 0.04083 0.04083 0.04083 4.26% Amr::FinalizeInit() 1 0.04012 0.04012 0.04012 4.18% Castro::post_init() 1 0.03881 0.03881 0.03881 4.05% Gravity::multilevel_solve_for_new_phi() 1 0.0369 0.0369 0.0369 3.85% Gravity::actual_multilevel_solve() 1 0.03688 0.03688 0.03688 3.84% StateDataPhysBCFunct::() 41 0.03675 0.03675 0.03675 3.83% MLCellLinOp::apply() 1128 0.03495 0.03495 0.03495 3.64% MLMG::mgVcycle_down::0 81 0.03292 0.03292 0.03292 3.43% FabArray::FillBoundary() 3974 0.03202 0.03202 0.03202 3.34% FillBoundary_nowait() 3974 0.03122 0.03122 0.03122 3.25% MLPoisson::Fsmooth() 3240 0.03087 0.03087 0.03087 3.22% MLMG::mgVcycle_up::0 81 0.02502 0.02502 0.02502 2.61% StateData::FillBoundary(geom) 328 0.02395 0.02395 0.02395 2.50% Castro::computeTemp() 63 0.02147 0.02147 0.02147 2.24% MLCellLinOp::correctionResidual() 486 0.0214 0.0214 0.0214 2.23% Castro::initialize_do_advance() 10 0.02129 0.02129 0.02129 2.22% Castro::normalize_species() 62 0.02048 0.02048 0.02048 2.13% amrex::Dot() 1100 0.01951 0.01951 0.01951 2.03% Castro::do_old_sources() 10 0.0189 0.0189 0.0189 1.97% MLMG:computeResOfCorrection() 405 0.01886 0.01886 0.01886 1.97% Gravity::get_new_grav_vector() 11 0.01703 0.01703 0.01703 1.77% MLPoisson::define() 11 0.01571 0.01571 0.01571 1.64% MLMG::mgVcycle_down::1 81 0.01518 0.01518 0.01518 1.58% Castro::construct_old_gravity() 10 0.0147 0.0147 0.0147 1.53% Gravity::get_old_grav_vector() 10 0.01469 0.01469 0.01469 1.53% amrex::Copy() 1019 0.0144 0.0144 0.0144 1.50% MLMG::mgVcycle_down::2 81 0.01416 0.01416 0.01416 1.48% FabArray::ParallelCopy() 851 0.01403 0.01403 0.01403 1.46% MLMG::mgVcycle_down::3 81 0.01384 0.01384 0.01384 1.44% FabArray::ParallelCopy_nowait() 851 0.01379 0.01379 0.01379 1.44% FabArray::norminf() 734 0.01371 0.01371 0.01371 1.43% MLMG::mgVcycle_down::4 81 0.01366 0.01366 0.01366 1.42% Castro::initialize_advance() 10 0.01296 0.01296 0.01296 1.35% Castro::do_new_sources() 10 0.01294 0.01294 0.01294 1.35% FabArray::setVal() 1135 0.01266 0.01266 0.01266 1.32% Castro::expand_state() 10 0.01179 0.01179 0.01179 1.23% MLCGSolver::ParallelAllReduce 1495 0.01169 0.01169 0.01169 1.22% MLMG::addInterpCorrection() 405 0.01151 0.01151 0.01151 1.20% MLMG::mgVcycle_up::4 81 0.01112 0.01112 0.01112 1.16% MLMG::mgVcycle_up::1 81 0.01107 0.01107 0.01107 1.15% MLMG::mgVcycle_up::2 81 0.01081 0.01081 0.01081 1.13% Castro::enforce_min_density() 62 0.0108 0.0108 0.0108 1.13% amrex::average_down 405 0.01077 0.01077 0.01077 1.12% MLMG::mgVcycle_up::3 81 0.01062 0.01062 0.01062 1.11% MLCellLinOp::defineAuxData() 11 0.0106 0.0106 0.0106 1.10% MLPoisson::Fapply() 1128 0.009843 0.009843 0.009843 1.03% Castro::post_timestep() 10 0.009731 0.009731 0.009731 1.01% FabArray::Saxpy() 803 0.007773 0.007773 0.007773 0.81% FabArray::Xpay() 811 0.007699 0.007699 0.007699 0.80% MLCellLinOp::solutionResidual() 92 0.006907 0.006907 0.006907 0.72% Castro::reset_internal_energy(MultiFab) 63 0.006876 0.006876 0.006876 0.72% Gravity::fill_multipole_BCs() 11 0.006682 0.006682 0.006682 0.70% MLMG::computeResidual() 81 0.005933 0.005933 0.005933 0.62% Castro::estTimeStep() 21 0.005662 0.005662 0.005662 0.59% MLCellLinOp::defineBC() 11 0.004655 0.004655 0.004655 0.49% MLMG::prepareForSolve() 11 0.004525 0.004525 0.004525 0.47% BndryData::define() 11 0.004448 0.004448 0.004448 0.46% FabArray::LinComb() 550 0.004262 0.004262 0.004262 0.44% amrex::Add() 162 0.004234 0.004234 0.004234 0.44% Amr::InitializeInit() 1 0.004195 0.004195 0.004195 0.44% Amr::defBaseLevel() 1 0.00419 0.00419 0.00419 0.44% Castro::initData() 1 0.003695 0.003695 0.003695 0.39% Castro::enforce_speed_limit() 62 0.003249 0.003249 0.003249 0.34% Castro::construct_new_source() 50 0.003188 0.003188 0.003188 0.33% Castro::construct_new_gravity_source() 10 0.003164 0.003164 0.003164 0.33% Castro::construct_old_source() 50 0.002743 0.002743 0.002743 0.29% Castro::construct_old_gravity_source() 10 0.002725 0.002725 0.002725 0.28% Castro::computeNewDt() 9 0.00254 0.00254 0.00254 0.26% Castro::finalize_do_advance() 10 0.002302 0.002302 0.002302 0.24% MLMG::ResNormInf() 92 0.002056 0.002056 0.002056 0.21% Castro::apply_source_to_state() 20 0.001808 0.001808 0.001808 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00162 0.00162 0.00162 0.17% Castro::reset_internal_energy(Fab) 504 0.001542 0.001542 0.001542 0.16% check_for_negative_density() 10 0.001436 0.001436 0.001436 0.15% FabArrayBase::getCPC() 1313 0.001414 0.001414 0.001414 0.15% MLMG::getGradSolution() 11 0.001365 0.001365 0.001365 0.14% MLCellLinOp::setLevelBC() 11 0.001365 0.001365 0.001365 0.14% MLCellLinOp::compGrad() 11 0.001359 0.001359 0.001359 0.14% FabArray::mult() 43 0.001312 0.001312 0.001312 0.14% FabArray::setDomainBndry() 41 0.001312 0.001312 0.001312 0.14% Castro::check_for_nan() 20 0.001196 0.001196 0.001196 0.12% MultiFab::contains_nan() 20 0.001185 0.001185 0.001185 0.12% Castro::post_regrid() 1 0.001123 0.001123 0.001123 0.12% MLPoisson::prepareForSolve() 11 0.0011 0.0011 0.0011 0.11% MLCellLinOp::prepareForSolve() 11 0.001092 0.001092 0.001092 0.11% MLMG::computeMLResidual() 11 0.001015 0.001015 0.001015 0.11% Castro::computeInitialDt() 2 0.0008682 0.0008682 0.0008682 0.09% Gravity::update_max_rhs() 11 0.0008282 0.0008282 0.0008282 0.09% FabArrayBase::getFB() 3974 0.0006786 0.0006786 0.0006786 0.07% FabArrayBase::CPC::define() 454 0.0006662 0.0006662 0.0006662 0.07% Castro::finalize_advance() 10 0.0005628 0.0005628 0.0005628 0.06% Amr::InitAmr() 1 0.0004815 0.0004815 0.0004815 0.05% MLLinOp::define() 11 0.0004299 0.0004299 0.0004299 0.04% Castro::Castro() 1 0.0004247 0.0004247 0.0004247 0.04% Gravity::swapTimeLevels() 10 0.0004244 0.0004244 0.0004244 0.04% MLLinOp::defineGrids() 11 0.0004129 0.0004129 0.0004129 0.04% MLMG::MLResNormInf() 11 0.0002792 0.0002792 0.0002792 0.03% MultiFab::max() 11 0.0002557 0.0002557 0.0002557 0.03% MLMG::MLRhsNormInf() 11 0.0002142 0.0002142 0.0002142 0.02% Castro::buildMetrics() 1 0.000154 0.000154 0.000154 0.02% Castro::create_source_corrector() 10 0.0001518 0.0001518 0.0001518 0.02% FabArrayBase::FB::FB() 56 8.691e-05 8.691e-05 8.691e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.21e-05 5.21e-05 5.21e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.153e-05 5.153e-05 5.153e-05 0.01% Castro::swap_state_time_levels() 10 3.841e-05 3.841e-05 3.841e-05 0.00% makeSFC 55 3.781e-05 3.781e-05 3.781e-05 0.00% StateData::define() 4 3.548e-05 3.548e-05 3.548e-05 0.00% Castro::enforce_consistent_e() 1 3.226e-05 3.226e-05 3.226e-05 0.00% Amr::writeSmallPlotFile() 1 2.549e-05 2.549e-05 2.549e-05 0.00% Castro::initMFs() 1 2.469e-05 2.469e-05 2.469e-05 0.00% DistributionMapping::Distribute() 56 1.398e-05 1.398e-05 1.398e-05 0.00% Amr::initSubcycle() 1 8.432e-06 8.432e-06 8.432e-06 0.00% AmrLevel::checkPointPost() 3 5.5e-06 5.5e-06 5.5e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.074e-06 5.074e-06 5.074e-06 0.00% Gravity::set_mass_offset() 11 3.746e-06 3.746e-06 3.746e-06 0.00% Castro::retry_advance_ctu() 10 3.54e-06 3.54e-06 3.54e-06 0.00% Castro::FluxRegCrseInit 10 2.725e-06 2.725e-06 2.725e-06 0.00% AmrLevel::checkPointPre() 3 2.368e-06 2.368e-06 2.368e-06 0.00% Castro::FluxRegFineAdd() 10 2.16e-06 2.16e-06 2.16e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.87e-06 1.87e-06 1.87e-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 81 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 137 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 956 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1947 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3157 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 184 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 156 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7530 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1652 B 2048 KiB Gravity::solve_for_phi() 80 80 504 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 78 KiB 2048 KiB BndryData::define() 1056 1056 288 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 183 KiB 671 KiB Castro::estTimeStep() 21 21 2880 B 480 KiB VisMF::Write(FabArray) 656 656 3085 B 320 KiB Castro::normalize_species() 62 62 6958 B 320 KiB amrex::average_down 1054 1054 1149 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1035 B 257 KiB amrex::Dot() 1343 1343 2995 B 160 KiB FabArray::norminf() 896 896 2113 B 160 KiB check_for_negative_density() 10 10 238 B 160 KiB Castro::initData() 1 1 24 B 160 KiB MultiFab::max() 11 11 41 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 24 B 20 KiB MLPoisson::Fsmooth() 132 132 3086 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 41 B 10 KiB FillBoundary_nowait() 751 751 278 B 9648 B MLCellLinOp::applyBC() 8758 8758 199 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3833 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 105 B 1472 B MLCellLinOp::defineBC() 66 66 324 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 590 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 45 KiB 8192 KiB VisMF::Write(FabArray) 744 744 562 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3086 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 41 B 10 KiB FillBoundary_nowait() 751 751 278 B 9648 B MLCellLinOp::applyBC() 4379 4379 198 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3834 B 6144 B Gravity::get_new_grav_vector() 3 3 2931 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 2976 B Gravity::fill_multipole_BCs() 33 33 2 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 272 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 263 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 21 B 400 B FabArray::norminf() 896 896 15 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): 2422 [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.07-43-gb75dd9d52792) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-43-gb75dd9d52792) initialized Starting run at 07:24:04 UTC on 2023-07-26. Successfully read inputs file ... Castro git describe: 23.07-20-g4174f17eb AMReX git describe: 23.07-43-gb75dd9d52 Microphysics git describe: 23.07-47-geb5189fa reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.494717326 Restart time = 0.045633512 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.047549437 [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.046983202 [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.05617075 [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.078325976 [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.078896375 [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.032950459 seconds Ending run at 07:24:04 UTC on 2023-07-26. Run time = 0.387465884 Run time without initialization = 0.341280817 Average number of zones advanced per microsecond: 3.841 Average number of zones advanced per microsecond per rank: 3.841 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3875 ... 0.3875 ... 0.3875 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1284 0.1284 0.1284 33.15% VisMF::Read() 3 0.03945 0.03945 0.03945 10.18% MLCellLinOp::applyBC() 1946 0.03252 0.03252 0.03252 8.39% VisMF::Write(FabArray) 1 0.03134 0.03134 0.03134 8.09% MLPoisson::Fsmooth() 1440 0.01347 0.01347 0.01347 3.48% FillBoundary_nowait() 1766 0.01287 0.01287 0.01287 3.32% StateData::FillBoundary(geom) 160 0.01178 0.01178 0.01178 3.04% amrex::Dot() 484 0.008498 0.008498 0.008498 2.19% Castro::normalize_species() 30 0.008165 0.008165 0.008165 2.11% amrex::Copy() 463 0.006788 0.006788 0.006788 1.75% Castro::computeTemp() 30 0.006065 0.006065 0.006065 1.57% FabArray::setVal() 537 0.006062 0.006062 0.006062 1.56% FabArray::norminf() 326 0.005996 0.005996 0.005996 1.55% FabArray::ParallelCopy_nowait() 380 0.005907 0.005907 0.005907 1.52% MLCellLinOp::defineAuxData() 6 0.005053 0.005053 0.005053 1.30% StateDataPhysBCFunct::() 20 0.004372 0.004372 0.004372 1.13% MLPoisson::Fapply() 500 0.004286 0.004286 0.004286 1.11% Castro::enforce_min_density() 30 0.004162 0.004162 0.004162 1.07% Castro::estTimeStep() 10 0.00381 0.00381 0.00381 0.98% FabArray::Saxpy() 355 0.003506 0.003506 0.003506 0.90% FabArray::Xpay() 361 0.003404 0.003404 0.003404 0.88% Gravity::fill_multipole_BCs() 6 0.003384 0.003384 0.003384 0.87% MLMG::addInterpCorrection() 180 0.002876 0.002876 0.002876 0.74% Amr::restart() 1 0.00253 0.00253 0.00253 0.65% amrex::average_down 180 0.002515 0.002515 0.002515 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002167 0.002167 0.002167 0.56% BndryData::define() 6 0.001936 0.001936 0.001936 0.50% FabArray::LinComb() 242 0.001851 0.001851 0.001851 0.48% amrex::Add() 72 0.001827 0.001827 0.001827 0.47% Castro::enforce_speed_limit() 30 0.001745 0.001745 0.001745 0.45% Castro::construct_new_gravity_source() 5 0.001529 0.001529 0.001529 0.39% Amr::writePlotFile() 1 0.001439 0.001439 0.001439 0.37% Castro::construct_old_gravity_source() 5 0.001401 0.001401 0.001401 0.36% MLCGSolver::bicgstab 36 0.0009323 0.0009323 0.0009323 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008705 0.0008705 0.0008705 0.22% Castro::finalize_do_advance() 5 0.0008413 0.0008413 0.0008413 0.22% Castro::initialize_do_advance() 5 0.0008257 0.0008257 0.0008257 0.21% Castro::reset_internal_energy(Fab) 240 0.000797 0.000797 0.000797 0.21% Gravity::actual_solve_with_mlmg() 6 0.0007858 0.0007858 0.0007858 0.20% MLCellLinOp::setLevelBC() 6 0.0007276 0.0007276 0.0007276 0.19% check_for_negative_density() 5 0.0007188 0.0007188 0.0007188 0.19% FabArray::mult() 22 0.0006398 0.0006398 0.0006398 0.17% FabArray::setDomainBndry() 20 0.0006245 0.0006245 0.0006245 0.16% MLCellLinOp::prepareForSolve() 6 0.0005892 0.0005892 0.0005892 0.15% MultiFab::contains_nan() 10 0.0005885 0.0005885 0.0005885 0.15% MLCellLinOp::smooth() 720 0.0004983 0.0004983 0.0004983 0.13% MLCellLinOp::compGrad() 6 0.0004793 0.0004793 0.0004793 0.12% MLMG::prepareForSolve() 6 0.0004653 0.0004653 0.0004653 0.12% FabArrayBase::CPC::define() 244 0.0004146 0.0004146 0.0004146 0.11% Amr::InitAmr() 1 0.0003696 0.0003696 0.0003696 0.10% FabArray::FillBoundary() 1766 0.0003672 0.0003672 0.0003672 0.09% FabArrayBase::getCPC() 632 0.0003534 0.0003534 0.0003534 0.09% main() 1 0.0002782 0.0002782 0.0002782 0.07% Gravity::get_old_grav_vector() 5 0.0002608 0.0002608 0.0002608 0.07% FabArrayBase::getFB() 1766 0.0002474 0.0002474 0.0002474 0.06% Gravity::get_new_grav_vector() 5 0.0002341 0.0002341 0.0002341 0.06% MLCellLinOp::apply() 500 0.0001942 0.0001942 0.0001942 0.05% MLLinOp::defineGrids() 6 0.0001838 0.0001838 0.0001838 0.05% Castro::construct_new_source() 25 0.0001733 0.0001733 0.0001733 0.04% Amr::coarseTimeStep() 5 0.0001649 0.0001649 0.0001649 0.04% MLMG::mgVcycle() 36 0.0001617 0.0001617 0.0001617 0.04% AmrLevel::FillPatch() 20 0.000159 0.000159 0.000159 0.04% MultiFab::max() 6 0.0001346 0.0001346 0.0001346 0.03% MLCGSolver::ParallelAllReduce 659 0.0001227 0.0001227 0.0001227 0.03% MLCellLinOp::defineBC() 6 0.0001103 0.0001103 0.0001103 0.03% FabArray::ParallelCopy() 380 0.0001086 0.0001086 0.0001086 0.03% FillPatchIterator::Initialize 20 0.000104 0.000104 0.000104 0.03% MLCellLinOp::correctionResidual() 216 9.83e-05 9.83e-05 9.83e-05 0.03% Amr::timeStep() 5 8.63e-05 8.63e-05 8.63e-05 0.02% AmrLevel::restart() 1 7.937e-05 7.937e-05 7.937e-05 0.02% Castro::subcycle_advance_ctu() 5 7.576e-05 7.576e-05 7.576e-05 0.02% Castro::create_source_corrector() 5 7.404e-05 7.404e-05 7.404e-05 0.02% Castro::do_new_sources() 5 7.177e-05 7.177e-05 7.177e-05 0.02% Gravity::update_max_rhs() 6 6.528e-05 6.528e-05 6.528e-05 0.02% StateData::restartDoit() 4 6.511e-05 6.511e-05 6.511e-05 0.02% FabArrayBase::FB::FB() 26 6.001e-05 6.001e-05 6.001e-05 0.02% Castro::advance() 5 5.825e-05 5.825e-05 5.825e-05 0.02% MLMG:computeResOfCorrection() 180 5.303e-05 5.303e-05 5.303e-05 0.01% Gravity::solve_for_phi() 5 5.081e-05 5.081e-05 5.081e-05 0.01% MLMG::actualBottomSolve() 36 3.947e-05 3.947e-05 3.947e-05 0.01% MLMG::mgVcycle_down::0 36 3.623e-05 3.623e-05 3.623e-05 0.01% MLMG::mgVcycle_down::1 36 3.568e-05 3.568e-05 3.568e-05 0.01% Castro::do_old_sources() 5 3.44e-05 3.44e-05 3.44e-05 0.01% MLMG::mgVcycle_down::2 36 3.394e-05 3.394e-05 3.394e-05 0.01% MLMG::mgVcycle_down::4 36 3.36e-05 3.36e-05 3.36e-05 0.01% MLMG::solve() 6 3.354e-05 3.354e-05 3.354e-05 0.01% Castro::initialize_advance() 5 3.335e-05 3.335e-05 3.335e-05 0.01% MLMG::mgVcycle_down::3 36 3.292e-05 3.292e-05 3.292e-05 0.01% Castro::construct_old_source() 25 3.272e-05 3.272e-05 3.272e-05 0.01% Castro::finalize_advance() 5 3.228e-05 3.228e-05 3.228e-05 0.01% Castro::clean_state() 30 3.209e-05 3.209e-05 3.209e-05 0.01% Castro::post_restart() 1 2.915e-05 2.915e-05 2.915e-05 0.01% Castro::initMFs() 1 2.627e-05 2.627e-05 2.627e-05 0.01% Castro::buildMetrics() 1 2.625e-05 2.625e-05 2.625e-05 0.01% Amr::writeSmallPlotFile() 1 2.572e-05 2.572e-05 2.572e-05 0.01% MLMG::mgVcycle_up::4 36 2.549e-05 2.549e-05 2.549e-05 0.01% Castro::swap_state_time_levels() 5 2.396e-05 2.396e-05 2.396e-05 0.01% MLMG::oneIter() 36 2.392e-05 2.392e-05 2.392e-05 0.01% Castro::do_advance_ctu() 5 2.304e-05 2.304e-05 2.304e-05 0.01% MLCellLinOp::solutionResidual() 42 2.209e-05 2.209e-05 2.209e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.17e-05 2.17e-05 2.17e-05 0.01% MLMG::mgVcycle_up::0 36 2.097e-05 2.097e-05 2.097e-05 0.01% MLMG::mgVcycle_up::3 36 2.049e-05 2.049e-05 2.049e-05 0.01% MLMG::mgVcycle_up::2 36 2.046e-05 2.046e-05 2.046e-05 0.01% MLMG::mgVcycle_up::1 36 1.931e-05 1.931e-05 1.931e-05 0.00% MLPoisson::define() 6 1.93e-05 1.93e-05 1.93e-05 0.00% MLMG::ResNormInf() 42 1.715e-05 1.715e-05 1.715e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.599e-05 1.599e-05 1.599e-05 0.00% MLMG::computeResidual() 36 1.476e-05 1.476e-05 1.476e-05 0.00% MLMG::mgVcycle_bottom 36 1.465e-05 1.465e-05 1.465e-05 0.00% FillPatchSingleLevel 20 1.424e-05 1.424e-05 1.424e-05 0.00% makeSFC 30 1.342e-05 1.342e-05 1.342e-05 0.00% MLLinOp::define() 6 1.178e-05 1.178e-05 1.178e-05 0.00% Castro::construct_new_gravity() 5 1.172e-05 1.172e-05 1.172e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.148e-05 1.148e-05 1.148e-05 0.00% DistributionMapping::Distribute() 31 9.233e-06 9.233e-06 9.233e-06 0.00% Amr::initSubcycle() 1 8.426e-06 8.426e-06 8.426e-06 0.00% Gravity::actual_multilevel_solve() 1 7.255e-06 7.255e-06 7.255e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.216e-06 7.216e-06 7.216e-06 0.00% Castro::construct_old_gravity() 5 5.507e-06 5.507e-06 5.507e-06 0.00% Castro::apply_source_to_state() 10 5.426e-06 5.426e-06 5.426e-06 0.00% Castro::check_for_nan() 10 5.145e-06 5.145e-06 5.145e-06 0.00% Castro::post_timestep() 5 4.589e-06 4.589e-06 4.589e-06 0.00% Gravity::swapTimeLevels() 5 4.428e-06 4.428e-06 4.428e-06 0.00% MLPoisson::prepareForSolve() 6 4.141e-06 4.141e-06 4.141e-06 0.00% MLMG::computeMLResidual() 6 3.684e-06 3.684e-06 3.684e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.665e-06 3.665e-06 3.665e-06 0.00% Castro::computeNewDt() 5 3.408e-06 3.408e-06 3.408e-06 0.00% MLMG::getGradSolution() 6 3.018e-06 3.018e-06 3.018e-06 0.00% Castro::expand_state() 5 2.461e-06 2.461e-06 2.461e-06 0.00% MLMG::MLResNormInf() 6 2.153e-06 2.153e-06 2.153e-06 0.00% MLMG::MLRhsNormInf() 6 1.975e-06 1.975e-06 1.975e-06 0.00% Gravity::set_mass_offset() 6 1.875e-06 1.875e-06 1.875e-06 0.00% Castro::retry_advance_ctu() 5 1.67e-06 1.67e-06 1.67e-06 0.00% Castro::FluxRegCrseInit 5 1.373e-06 1.373e-06 1.373e-06 0.00% Castro::FluxRegFineAdd() 5 1.141e-06 1.141e-06 1.141e-06 0.00% Amr::init() 1 1.013e-06 1.013e-06 1.013e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.95e-07 9.95e-07 9.95e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3875 0.3875 0.3875 100.00% Amr::coarseTimeStep() 5 0.3081 0.3081 0.3081 79.51% Amr::timeStep() 5 0.3055 0.3055 0.3055 78.85% Castro::advance() 5 0.302 0.302 0.302 77.93% Castro::subcycle_advance_ctu() 5 0.2953 0.2953 0.2953 76.21% Castro::do_advance_ctu() 5 0.2952 0.2952 0.2952 76.19% Castro::construct_ctu_hydro_source() 5 0.134 0.134 0.134 34.57% Castro::construct_new_gravity() 5 0.1266 0.1266 0.1266 32.67% Gravity::solve_phi_with_mlmg() 6 0.122 0.122 0.122 31.50% Gravity::solve_for_phi() 5 0.1191 0.1191 0.1191 30.73% Gravity::actual_solve_with_mlmg() 6 0.1184 0.1184 0.1184 30.56% MLMG::solve() 6 0.1076 0.1076 0.1076 27.76% MLMG::oneIter() 36 0.1009 0.1009 0.1009 26.04% MLMG::mgVcycle() 36 0.09938 0.09938 0.09938 25.65% MLCellLinOp::smooth() 720 0.04897 0.04897 0.04897 12.64% MLCellLinOp::applyBC() 1946 0.04607 0.04607 0.04607 11.89% Amr::init() 1 0.04568 0.04568 0.04568 11.79% Amr::restart() 1 0.04568 0.04568 0.04568 11.79% AmrLevel::restart() 1 0.03965 0.03965 0.03965 10.23% StateData::restartDoit() 4 0.03957 0.03957 0.03957 10.21% VisMF::Read() 3 0.03945 0.03945 0.03945 10.18% Amr::writePlotFile() 1 0.03303 0.03303 0.03303 8.53% VisMF::Write(FabArray) 1 0.03134 0.03134 0.03134 8.09% MLMG::mgVcycle_bottom 36 0.03052 0.03052 0.03052 7.88% MLMG::actualBottomSolve() 36 0.03051 0.03051 0.03051 7.87% MLCGSolver::bicgstab 36 0.03022 0.03022 0.03022 7.80% Castro::clean_state() 30 0.02313 0.02313 0.02313 5.97% AmrLevel::FillPatch() 20 0.02097 0.02097 0.02097 5.41% FillPatchIterator::Initialize 20 0.01894 0.01894 0.01894 4.89% FillPatchIterator::FillFromLevel0() 20 0.01821 0.01821 0.01821 4.70% FillPatchSingleLevel 20 0.01819 0.01819 0.01819 4.69% StateDataPhysBCFunct::() 20 0.01615 0.01615 0.01615 4.17% MLCellLinOp::apply() 500 0.01528 0.01528 0.01528 3.94% MLMG::mgVcycle_down::0 36 0.0142 0.0142 0.0142 3.66% FabArray::FillBoundary() 1766 0.01354 0.01354 0.01354 3.50% MLPoisson::Fsmooth() 1440 0.01347 0.01347 0.01347 3.48% FillBoundary_nowait() 1766 0.01318 0.01318 0.01318 3.40% StateData::FillBoundary(geom) 160 0.01178 0.01178 0.01178 3.04% MLMG::mgVcycle_up::0 36 0.01082 0.01082 0.01082 2.79% Castro::initialize_do_advance() 5 0.009993 0.009993 0.009993 2.58% MLCellLinOp::correctionResidual() 216 0.0093 0.0093 0.0093 2.40% Castro::do_old_sources() 5 0.009139 0.009139 0.009139 2.36% Castro::computeTemp() 30 0.009029 0.009029 0.009029 2.33% MLPoisson::define() 6 0.008591 0.008591 0.008591 2.22% amrex::Dot() 484 0.008498 0.008498 0.008498 2.19% MLMG:computeResOfCorrection() 180 0.008186 0.008186 0.008186 2.11% Castro::normalize_species() 30 0.008165 0.008165 0.008165 2.11% Gravity::get_new_grav_vector() 5 0.007415 0.007415 0.007415 1.91% Castro::construct_old_gravity() 5 0.007119 0.007119 0.007119 1.84% Gravity::get_old_grav_vector() 5 0.007114 0.007114 0.007114 1.84% amrex::Copy() 463 0.006788 0.006788 0.006788 1.75% MLMG::mgVcycle_down::1 36 0.006602 0.006602 0.006602 1.70% FabArray::ParallelCopy() 380 0.006407 0.006407 0.006407 1.65% Castro::initialize_advance() 5 0.006314 0.006314 0.006314 1.63% FabArray::ParallelCopy_nowait() 380 0.006298 0.006298 0.006298 1.63% MLMG::mgVcycle_down::2 36 0.006177 0.006177 0.006177 1.59% FabArray::setVal() 537 0.006062 0.006062 0.006062 1.56% MLMG::mgVcycle_down::3 36 0.006012 0.006012 0.006012 1.55% FabArray::norminf() 326 0.005996 0.005996 0.005996 1.55% MLMG::mgVcycle_down::4 36 0.005958 0.005958 0.005958 1.54% MLCellLinOp::defineAuxData() 6 0.005757 0.005757 0.005757 1.49% Castro::do_new_sources() 5 0.005698 0.005698 0.005698 1.47% MLCGSolver::ParallelAllReduce 659 0.005117 0.005117 0.005117 1.32% MLMG::addInterpCorrection() 180 0.005059 0.005059 0.005059 1.31% Castro::expand_state() 5 0.005008 0.005008 0.005008 1.29% MLMG::mgVcycle_up::1 36 0.004808 0.004808 0.004808 1.24% MLMG::mgVcycle_up::4 36 0.004801 0.004801 0.004801 1.24% amrex::average_down 180 0.004712 0.004712 0.004712 1.22% MLMG::mgVcycle_up::2 36 0.004705 0.004705 0.004705 1.21% MLMG::mgVcycle_up::3 36 0.004621 0.004621 0.004621 1.19% MLPoisson::Fapply() 500 0.004286 0.004286 0.004286 1.11% Castro::enforce_min_density() 30 0.004162 0.004162 0.004162 1.07% Castro::estTimeStep() 10 0.00381 0.00381 0.00381 0.98% Gravity::fill_multipole_BCs() 6 0.00351 0.00351 0.00351 0.91% FabArray::Saxpy() 355 0.003506 0.003506 0.003506 0.90% Castro::post_timestep() 5 0.003462 0.003462 0.003462 0.89% FabArray::Xpay() 361 0.003404 0.003404 0.003404 0.88% Castro::post_restart() 1 0.003323 0.003323 0.003323 0.86% Gravity::multilevel_solve_for_new_phi() 1 0.003201 0.003201 0.003201 0.83% Gravity::actual_multilevel_solve() 1 0.003185 0.003185 0.003185 0.82% MLCellLinOp::solutionResidual() 42 0.003145 0.003145 0.003145 0.81% Castro::reset_internal_energy(MultiFab) 30 0.002964 0.002964 0.002964 0.76% MLMG::computeResidual() 36 0.002593 0.002593 0.002593 0.67% MLCellLinOp::defineBC() 6 0.002589 0.002589 0.002589 0.67% BndryData::define() 6 0.002479 0.002479 0.002479 0.64% MLMG::prepareForSolve() 6 0.002441 0.002441 0.002441 0.63% Castro::computeNewDt() 5 0.002389 0.002389 0.002389 0.62% Castro::finalize_do_advance() 5 0.002265 0.002265 0.002265 0.58% FabArray::LinComb() 242 0.001851 0.001851 0.001851 0.48% amrex::Add() 72 0.001827 0.001827 0.001827 0.47% Castro::enforce_speed_limit() 30 0.001745 0.001745 0.001745 0.45% Castro::construct_new_source() 25 0.001703 0.001703 0.001703 0.44% Castro::construct_new_gravity_source() 5 0.001529 0.001529 0.001529 0.39% Castro::construct_old_source() 25 0.001433 0.001433 0.001433 0.37% Castro::construct_old_gravity_source() 5 0.001401 0.001401 0.001401 0.36% MLMG::ResNormInf() 42 0.0009237 0.0009237 0.0009237 0.24% Castro::apply_source_to_state() 10 0.0009168 0.0009168 0.0009168 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008705 0.0008705 0.0008705 0.22% Castro::reset_internal_energy(Fab) 240 0.000797 0.000797 0.000797 0.21% FabArrayBase::getCPC() 632 0.000768 0.000768 0.000768 0.20% MLMG::getGradSolution() 6 0.00074 0.00074 0.00074 0.19% MLCellLinOp::compGrad() 6 0.000737 0.000737 0.000737 0.19% MLCellLinOp::setLevelBC() 6 0.0007276 0.0007276 0.0007276 0.19% check_for_negative_density() 5 0.0007188 0.0007188 0.0007188 0.19% FabArray::mult() 22 0.0006398 0.0006398 0.0006398 0.17% FabArray::setDomainBndry() 20 0.0006245 0.0006245 0.0006245 0.16% Castro::check_for_nan() 10 0.0005936 0.0005936 0.0005936 0.15% MLPoisson::prepareForSolve() 6 0.0005933 0.0005933 0.0005933 0.15% MLCellLinOp::prepareForSolve() 6 0.0005892 0.0005892 0.0005892 0.15% MultiFab::contains_nan() 10 0.0005885 0.0005885 0.0005885 0.15% MLMG::computeMLResidual() 6 0.0005695 0.0005695 0.0005695 0.15% Gravity::update_max_rhs() 6 0.0004401 0.0004401 0.0004401 0.11% FabArrayBase::CPC::define() 244 0.0004146 0.0004146 0.0004146 0.11% Amr::InitAmr() 1 0.0003781 0.0003781 0.0003781 0.10% FabArrayBase::getFB() 1766 0.0003074 0.0003074 0.0003074 0.08% Castro::finalize_advance() 5 0.0002802 0.0002802 0.0002802 0.07% MLLinOp::define() 6 0.0002249 0.0002249 0.0002249 0.06% Gravity::swapTimeLevels() 5 0.0002208 0.0002208 0.0002208 0.06% MLLinOp::defineGrids() 6 0.0002131 0.0002131 0.0002131 0.06% MLMG::MLResNormInf() 6 0.00015 0.00015 0.00015 0.04% Castro::buildMetrics() 1 0.0001462 0.0001462 0.0001462 0.04% MultiFab::max() 6 0.0001346 0.0001346 0.0001346 0.03% MLMG::MLRhsNormInf() 6 0.0001143 0.0001143 0.0001143 0.03% Castro::create_source_corrector() 5 7.404e-05 7.404e-05 7.404e-05 0.02% FabArrayBase::FB::FB() 26 6.001e-05 6.001e-05 6.001e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.832e-05 2.832e-05 2.832e-05 0.01% Castro::initMFs() 1 2.627e-05 2.627e-05 2.627e-05 0.01% Amr::writeSmallPlotFile() 1 2.572e-05 2.572e-05 2.572e-05 0.01% Castro::swap_state_time_levels() 5 2.396e-05 2.396e-05 2.396e-05 0.01% makeSFC 30 2.111e-05 2.111e-05 2.111e-05 0.01% DistributionMapping::Distribute() 31 9.233e-06 9.233e-06 9.233e-06 0.00% Amr::initSubcycle() 1 8.426e-06 8.426e-06 8.426e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.209e-06 5.209e-06 5.209e-06 0.00% Gravity::set_mass_offset() 6 1.875e-06 1.875e-06 1.875e-06 0.00% Castro::retry_advance_ctu() 5 1.67e-06 1.67e-06 1.67e-06 0.00% Castro::FluxRegCrseInit 5 1.373e-06 1.373e-06 1.373e-06 0.00% Castro::FluxRegFineAdd() 5 1.141e-06 1.141e-06 1.141e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.95e-07 9.95e-07 9.95e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 207 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 151 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1048 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2385 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 6735 KiB 14 MiB MLMG::prepareForSolve() 361 361 3409 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 190 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 195 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6730 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2197 B 2048 KiB Gravity::solve_for_phi() 40 40 628 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 313 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 201 KiB 671 KiB Castro::estTimeStep() 10 10 4676 B 480 KiB VisMF::Write(FabArray) 112 112 1235 B 320 KiB Castro::normalize_species() 30 30 6854 B 320 KiB amrex::average_down 469 469 1199 B 257 KiB MLMG::addInterpCorrection() 468 468 1131 B 257 KiB amrex::Dot() 592 592 3219 B 160 KiB FabArray::norminf() 398 398 2282 B 160 KiB check_for_negative_density() 5 5 292 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3316 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 288 B 9648 B MLCellLinOp::applyBC() 3892 3892 218 B 9344 B amrex::Copy() 56 56 5983 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 46 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 113 B 1472 B MLCellLinOp::defineBC() 36 36 352 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1467 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 113 KiB 8192 KiB VisMF::Write(FabArray) 120 120 248 KiB 3584 KiB VisMF::Read() 24 24 197 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3316 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 288 B 9648 B MLCellLinOp::applyBC() 1946 1946 217 B 9328 B amrex::Copy() 56 56 5983 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2662 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 46 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 524 B 1296 B amrex::average_down 37 37 225 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B 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): 2422 [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.07-43-gb75dd9d52792) finalized