Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-51-gbba6d9c2bc68) initialized Starting run at 08:31:04 UTC on 2023-07-28. Successfully read inputs file ... Castro git describe: 23.07-20-g4174f17eb AMReX git describe: 23.07-51-gbba6d9c2b Microphysics git describe: 23.07-48-g588beb9c 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.057607215 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032816676 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.046389459 [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.048901853 [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.070813058 [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.073043814 [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.048265867 [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.056655046 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.063084984 [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.077658527 [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.071443723 [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.05051714 [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.048253697 [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.056460872 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.03412759 seconds Ending run at 08:31:05 UTC on 2023-07-28. Run time = 0.884171388 Run time without initialization = 0.746239178 Average number of zones advanced per microsecond: 3.513 Average number of zones advanced per microsecond per rank: 3.513 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8842 ... 0.8842 ... 0.8842 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2402 0.2402 0.2402 27.17% VisMF::Write(FabArray) 11 0.2309 0.2309 0.2309 26.11% MLCellLinOp::applyBC() 4433 0.07443 0.07443 0.07443 8.42% FillBoundary_nowait() 4023 0.03137 0.03137 0.03137 3.55% MLPoisson::Fsmooth() 3280 0.03127 0.03127 0.03127 3.54% StateData::FillBoundary(geom) 328 0.0239 0.0239 0.0239 2.70% amrex::Dot() 1114 0.01974 0.01974 0.01974 2.23% Castro::normalize_species() 62 0.01714 0.01714 0.01714 1.94% amrex::Copy() 1029 0.01448 0.01448 0.01448 1.64% Castro::computeTemp() 63 0.01431 0.01431 0.01431 1.62% FabArray::norminf() 743 0.01383 0.01383 0.01383 1.56% Castro::enforce_min_density() 62 0.01315 0.01315 0.01315 1.49% FabArray::ParallelCopy_nowait() 861 0.013 0.013 0.013 1.47% FabArray::setVal() 1144 0.01271 0.01271 0.01271 1.44% StateDataPhysBCFunct::() 41 0.01239 0.01239 0.01239 1.40% MLPoisson::Fapply() 1142 0.009973 0.009973 0.009973 1.13% MLCellLinOp::defineAuxData() 11 0.00938 0.00938 0.00938 1.06% FabArray::Saxpy() 813 0.007877 0.007877 0.007877 0.89% FabArray::Xpay() 821 0.007814 0.007814 0.007814 0.88% MLMG::addInterpCorrection() 410 0.006603 0.006603 0.006603 0.75% Gravity::fill_multipole_BCs() 11 0.006575 0.006575 0.006575 0.74% amrex::average_down 410 0.005821 0.005821 0.005821 0.66% Castro::estTimeStep() 21 0.005419 0.005419 0.005419 0.61% Castro::reset_internal_energy(MultiFab) 63 0.004906 0.004906 0.004906 0.55% FabArray::LinComb() 557 0.004335 0.004335 0.004335 0.49% amrex::Add() 164 0.004304 0.004304 0.004304 0.49% Amr::checkPoint() 3 0.003936 0.003936 0.003936 0.45% BndryData::define() 11 0.003569 0.003569 0.003569 0.40% Castro::construct_new_gravity_source() 10 0.003125 0.003125 0.003125 0.35% Castro::construct_old_gravity_source() 10 0.002756 0.002756 0.002756 0.31% Castro::enforce_speed_limit() 62 0.002744 0.002744 0.002744 0.31% Amr::writePlotFile() 2 0.002371 0.002371 0.002371 0.27% MLCGSolver::bicgstab 82 0.00208 0.00208 0.00208 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001626 0.001626 0.001626 0.18% Castro::reset_internal_energy(Fab) 504 0.001478 0.001478 0.001478 0.17% Gravity::actual_solve_with_mlmg() 11 0.001473 0.001473 0.001473 0.17% check_for_negative_density() 10 0.001468 0.001468 0.001468 0.17% MLCellLinOp::setLevelBC() 11 0.001358 0.001358 0.001358 0.15% FabArray::mult() 43 0.001299 0.001299 0.001299 0.15% FabArray::setDomainBndry() 41 0.001273 0.001273 0.001273 0.14% Castro::initData() 1 0.001225 0.001225 0.001225 0.14% MultiFab::contains_nan() 20 0.001187 0.001187 0.001187 0.13% MLCellLinOp::smooth() 1640 0.001128 0.001128 0.001128 0.13% MLCellLinOp::prepareForSolve() 11 0.001099 0.001099 0.001099 0.12% MLCellLinOp::compGrad() 11 0.0008873 0.0008873 0.0008873 0.10% FabArray::FillBoundary() 4023 0.0008776 0.0008776 0.0008776 0.10% MLMG::prepareForSolve() 11 0.0008505 0.0008505 0.0008505 0.10% FabArrayBase::getCPC() 1323 0.0007574 0.0007574 0.0007574 0.09% FabArrayBase::CPC::define() 454 0.0006725 0.0006725 0.0006725 0.08% FabArrayBase::getFB() 4023 0.0006543 0.0006543 0.0006543 0.07% Gravity::get_new_grav_vector() 11 0.0005371 0.0005371 0.0005371 0.06% Gravity::get_old_grav_vector() 10 0.0004682 0.0004682 0.0004682 0.05% MLCellLinOp::apply() 1142 0.0004635 0.0004635 0.0004635 0.05% Amr::InitAmr() 1 0.000457 0.000457 0.000457 0.05% MLMG::mgVcycle() 82 0.0003754 0.0003754 0.0003754 0.04% MLLinOp::defineGrids() 11 0.0003562 0.0003562 0.0003562 0.04% AmrLevel::FillPatch() 41 0.0003311 0.0003311 0.0003311 0.04% Amr::coarseTimeStep() 10 0.0003176 0.0003176 0.0003176 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002992 0.0002992 0.0002992 0.03% main() 1 0.0002916 0.0002916 0.0002916 0.03% Castro::subcycle_advance_ctu() 10 0.0002638 0.0002638 0.0002638 0.03% MultiFab::max() 11 0.0002562 0.0002562 0.0002562 0.03% FabArray::ParallelCopy() 861 0.0002403 0.0002403 0.0002403 0.03% MLCellLinOp::correctionResidual() 492 0.000217 0.000217 0.000217 0.02% MLCellLinOp::defineBC() 11 0.0002083 0.0002083 0.0002083 0.02% FillPatchIterator::Initialize 41 0.0001978 0.0001978 0.0001978 0.02% Amr::timeStep() 10 0.0001572 0.0001572 0.0001572 0.02% StateData::checkPoint() 12 0.00014 0.00014 0.00014 0.02% MLMG:computeResOfCorrection() 410 0.0001297 0.0001297 0.0001297 0.01% Gravity::update_max_rhs() 11 0.0001231 0.0001231 0.0001231 0.01% Castro::create_source_corrector() 10 0.0001102 0.0001102 0.0001102 0.01% Gravity::solve_for_phi() 10 0.0001068 0.0001068 0.0001068 0.01% Castro::advance() 10 9.483e-05 9.483e-05 9.483e-05 0.01% FabArrayBase::FB::FB() 56 9.022e-05 9.022e-05 9.022e-05 0.01% MLMG::actualBottomSolve() 82 8.776e-05 8.776e-05 8.776e-05 0.01% MLMG::mgVcycle_down::0 82 8.674e-05 8.674e-05 8.674e-05 0.01% MLMG::mgVcycle_down::1 82 8.437e-05 8.437e-05 8.437e-05 0.01% Castro::Castro() 1 8.349e-05 8.349e-05 8.349e-05 0.01% MLMG::mgVcycle_down::2 82 7.981e-05 7.981e-05 7.981e-05 0.01% MLMG::mgVcycle_down::4 82 7.858e-05 7.858e-05 7.858e-05 0.01% MLMG::mgVcycle_down::3 82 7.571e-05 7.571e-05 7.571e-05 0.01% AmrLevel::checkPoint() 3 7.505e-05 7.505e-05 7.505e-05 0.01% Castro::initialize_advance() 10 7.078e-05 7.078e-05 7.078e-05 0.01% MLMG::solve() 11 6.873e-05 6.873e-05 6.873e-05 0.01% Castro::clean_state() 62 6.258e-05 6.258e-05 6.258e-05 0.01% MLMG::mgVcycle_up::4 82 5.88e-05 5.88e-05 5.88e-05 0.01% Castro::finalize_advance() 10 5.864e-05 5.864e-05 5.864e-05 0.01% Castro::initialize_do_advance() 10 5.68e-05 5.68e-05 5.68e-05 0.01% MLMG::oneIter() 82 5.552e-05 5.552e-05 5.552e-05 0.01% MLMG::mgVcycle_up::0 82 5.497e-05 5.497e-05 5.497e-05 0.01% Castro::construct_new_source() 50 5.111e-05 5.111e-05 5.111e-05 0.01% MLMG::mgVcycle_up::3 82 4.785e-05 4.785e-05 4.785e-05 0.01% MLMG::mgVcycle_up::1 82 4.757e-05 4.757e-05 4.757e-05 0.01% MLMG::mgVcycle_up::2 82 4.648e-05 4.648e-05 4.648e-05 0.01% Castro::do_advance_ctu() 10 4.601e-05 4.601e-05 4.601e-05 0.01% Castro::swap_state_time_levels() 10 4.595e-05 4.595e-05 4.595e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.5e-05 4.5e-05 4.5e-05 0.01% MLCellLinOp::solutionResidual() 93 4.494e-05 4.494e-05 4.494e-05 0.01% Castro::finalize_do_advance() 10 4.162e-05 4.162e-05 4.162e-05 0.00% MLMG::ResNormInf() 93 3.624e-05 3.624e-05 3.624e-05 0.00% StateData::define() 4 3.432e-05 3.432e-05 3.432e-05 0.00% MLMG::computeResidual() 82 3.337e-05 3.337e-05 3.337e-05 0.00% MLMG::mgVcycle_bottom 82 3.139e-05 3.139e-05 3.139e-05 0.00% Castro::enforce_consistent_e() 1 3.128e-05 3.128e-05 3.128e-05 0.00% FillPatchSingleLevel 41 3.113e-05 3.113e-05 3.113e-05 0.00% MLPoisson::define() 11 2.779e-05 2.779e-05 2.779e-05 0.00% Amr::writeSmallPlotFile() 1 2.714e-05 2.714e-05 2.714e-05 0.00% Castro::initMFs() 1 2.605e-05 2.605e-05 2.605e-05 0.00% makeSFC 55 2.439e-05 2.439e-05 2.439e-05 0.00% Amr::FinalizeInit() 1 2.254e-05 2.254e-05 2.254e-05 0.00% Castro::construct_new_gravity() 10 2.21e-05 2.21e-05 2.21e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.186e-05 2.186e-05 2.186e-05 0.00% MLLinOp::define() 11 2.085e-05 2.085e-05 2.085e-05 0.00% Castro::do_old_sources() 10 2.003e-05 2.003e-05 2.003e-05 0.00% Castro::construct_old_source() 50 1.849e-05 1.849e-05 1.849e-05 0.00% Castro::buildMetrics() 1 1.71e-05 1.71e-05 1.71e-05 0.00% Castro::do_new_sources() 10 1.698e-05 1.698e-05 1.698e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.626e-05 1.626e-05 1.626e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.607e-05 1.607e-05 1.607e-05 0.00% DistributionMapping::Distribute() 56 1.404e-05 1.404e-05 1.404e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.387e-05 1.387e-05 1.387e-05 0.00% Amr::defBaseLevel() 1 1.247e-05 1.247e-05 1.247e-05 0.00% Castro::construct_old_gravity() 10 1.049e-05 1.049e-05 1.049e-05 0.00% Castro::check_for_nan() 20 1.049e-05 1.049e-05 1.049e-05 0.00% Castro::apply_source_to_state() 20 1.013e-05 1.013e-05 1.013e-05 0.00% Gravity::swapTimeLevels() 10 9.131e-06 9.131e-06 9.131e-06 0.00% Amr::initSubcycle() 1 8.768e-06 8.768e-06 8.768e-06 0.00% MLPoisson::prepareForSolve() 11 8.183e-06 8.183e-06 8.183e-06 0.00% MLMG::computeMLResidual() 11 7.795e-06 7.795e-06 7.795e-06 0.00% Gravity::actual_multilevel_solve() 1 7.766e-06 7.766e-06 7.766e-06 0.00% Castro::post_timestep() 10 7.205e-06 7.205e-06 7.205e-06 0.00% MLMG::getGradSolution() 11 6.05e-06 6.05e-06 6.05e-06 0.00% Castro::computeNewDt() 9 5.904e-06 5.904e-06 5.904e-06 0.00% AmrLevel::checkPointPost() 3 5.559e-06 5.559e-06 5.559e-06 0.00% Castro::expand_state() 10 5.298e-06 5.298e-06 5.298e-06 0.00% Amr::InitializeInit() 1 4.702e-06 4.702e-06 4.702e-06 0.00% Castro::retry_advance_ctu() 10 4.295e-06 4.295e-06 4.295e-06 0.00% Gravity::set_mass_offset() 11 3.787e-06 3.787e-06 3.787e-06 0.00% MLMG::MLRhsNormInf() 11 3.58e-06 3.58e-06 3.58e-06 0.00% Castro::post_init() 1 3.399e-06 3.399e-06 3.399e-06 0.00% MLMG::MLResNormInf() 11 3.307e-06 3.307e-06 3.307e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.903e-06 2.903e-06 2.903e-06 0.00% Castro::FluxRegCrseInit 10 2.695e-06 2.695e-06 2.695e-06 0.00% Castro::computeInitialDt() 2 2.531e-06 2.531e-06 2.531e-06 0.00% Amr::init() 1 2.432e-06 2.432e-06 2.432e-06 0.00% Castro::FluxRegFineAdd() 10 2.092e-06 2.092e-06 2.092e-06 0.00% AmrLevel::checkPointPre() 3 1.905e-06 1.905e-06 1.905e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.905e-06 1.905e-06 1.905e-06 0.00% Amr::initialInit() 1 1.015e-06 1.015e-06 1.015e-06 0.00% Castro::post_regrid() 1 8.31e-07 8.31e-07 8.31e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8842 0.8842 0.8842 100.00% Amr::coarseTimeStep() 10 0.7119 0.7119 0.7119 80.51% Amr::timeStep() 10 0.5953 0.5953 0.5953 67.33% Castro::advance() 10 0.5856 0.5856 0.5856 66.23% Castro::subcycle_advance_ctu() 10 0.5717 0.5717 0.5717 64.66% Castro::do_advance_ctu() 10 0.5715 0.5715 0.5715 64.63% Gravity::solve_phi_with_mlmg() 11 0.276 0.276 0.276 31.22% Gravity::actual_solve_with_mlmg() 11 0.269 0.269 0.269 30.42% Castro::construct_new_gravity() 10 0.2521 0.2521 0.2521 28.51% Castro::construct_ctu_hydro_source() 10 0.2498 0.2498 0.2498 28.25% MLMG::solve() 11 0.2489 0.2489 0.2489 28.15% Gravity::solve_for_phi() 10 0.2368 0.2368 0.2368 26.78% MLMG::oneIter() 82 0.235 0.235 0.235 26.58% MLMG::mgVcycle() 82 0.2314 0.2314 0.2314 26.17% VisMF::Write(FabArray) 11 0.2309 0.2309 0.2309 26.11% Amr::checkPoint() 3 0.1708 0.1708 0.1708 19.32% AmrLevel::checkPoint() 3 0.1669 0.1669 0.1669 18.88% StateData::checkPoint() 12 0.1668 0.1668 0.1668 18.87% Amr::init() 1 0.1373 0.1373 0.1373 15.53% MLCellLinOp::smooth() 1640 0.1145 0.1145 0.1145 12.95% MLCellLinOp::applyBC() 4433 0.1074 0.1074 0.1074 12.15% MLMG::mgVcycle_bottom 82 0.07079 0.07079 0.07079 8.01% MLMG::actualBottomSolve() 82 0.07076 0.07076 0.07076 8.00% MLCGSolver::bicgstab 82 0.07008 0.07008 0.07008 7.93% Amr::writePlotFile() 2 0.06708 0.06708 0.06708 7.59% Castro::clean_state() 62 0.05297 0.05297 0.05297 5.99% Amr::initialInit() 1 0.0468 0.0468 0.0468 5.29% AmrLevel::FillPatch() 41 0.04597 0.04597 0.04597 5.20% Amr::FinalizeInit() 1 0.0428 0.0428 0.0428 4.84% FillPatchIterator::Initialize 41 0.04184 0.04184 0.04184 4.73% Castro::post_init() 1 0.04148 0.04148 0.04148 4.69% FillPatchIterator::FillFromLevel0() 41 0.04037 0.04037 0.04037 4.57% FillPatchSingleLevel 41 0.04033 0.04033 0.04033 4.56% Gravity::multilevel_solve_for_new_phi() 1 0.03962 0.03962 0.03962 4.48% Gravity::actual_multilevel_solve() 1 0.0396 0.0396 0.0396 4.48% StateDataPhysBCFunct::() 41 0.03629 0.03629 0.03629 4.10% MLCellLinOp::apply() 1142 0.03531 0.03531 0.03531 3.99% MLMG::mgVcycle_down::0 82 0.03358 0.03358 0.03358 3.80% FabArray::FillBoundary() 4023 0.03299 0.03299 0.03299 3.73% FillBoundary_nowait() 4023 0.03211 0.03211 0.03211 3.63% MLPoisson::Fsmooth() 3280 0.03127 0.03127 0.03127 3.54% MLMG::mgVcycle_up::0 82 0.02544 0.02544 0.02544 2.88% StateData::FillBoundary(geom) 328 0.0239 0.0239 0.0239 2.70% MLCellLinOp::correctionResidual() 492 0.02168 0.02168 0.02168 2.45% Castro::initialize_do_advance() 10 0.02165 0.02165 0.02165 2.45% Castro::computeTemp() 63 0.02069 0.02069 0.02069 2.34% amrex::Dot() 1114 0.01974 0.01974 0.01974 2.23% MLMG:computeResOfCorrection() 410 0.01916 0.01916 0.01916 2.17% Castro::do_old_sources() 10 0.0188 0.0188 0.0188 2.13% Castro::normalize_species() 62 0.01714 0.01714 0.01714 1.94% Gravity::get_new_grav_vector() 11 0.01686 0.01686 0.01686 1.91% MLPoisson::define() 11 0.01586 0.01586 0.01586 1.79% MLMG::mgVcycle_down::1 82 0.01532 0.01532 0.01532 1.73% amrex::Copy() 1029 0.01448 0.01448 0.01448 1.64% Castro::construct_old_gravity() 10 0.01444 0.01444 0.01444 1.63% Gravity::get_old_grav_vector() 10 0.01443 0.01443 0.01443 1.63% MLMG::mgVcycle_down::2 82 0.01431 0.01431 0.01431 1.62% FabArray::ParallelCopy() 861 0.01405 0.01405 0.01405 1.59% MLMG::mgVcycle_down::3 82 0.01396 0.01396 0.01396 1.58% FabArray::norminf() 743 0.01383 0.01383 0.01383 1.56% FabArray::ParallelCopy_nowait() 861 0.01381 0.01381 0.01381 1.56% MLMG::mgVcycle_down::4 82 0.01376 0.01376 0.01376 1.56% Castro::initialize_advance() 10 0.01321 0.01321 0.01321 1.49% Castro::enforce_min_density() 62 0.01315 0.01315 0.01315 1.49% FabArray::setVal() 1144 0.01271 0.01271 0.01271 1.44% MLCGSolver::ParallelAllReduce 1514 0.01188 0.01188 0.01188 1.34% Castro::expand_state() 10 0.01173 0.01173 0.01173 1.33% MLMG::addInterpCorrection() 410 0.01161 0.01161 0.01161 1.31% Castro::do_new_sources() 10 0.01144 0.01144 0.01144 1.29% MLMG::mgVcycle_up::4 82 0.01115 0.01115 0.01115 1.26% MLMG::mgVcycle_up::1 82 0.01114 0.01114 0.01114 1.26% MLMG::mgVcycle_up::2 82 0.01088 0.01088 0.01088 1.23% amrex::average_down 410 0.01086 0.01086 0.01086 1.23% MLMG::mgVcycle_up::3 82 0.01068 0.01068 0.01068 1.21% MLCellLinOp::defineAuxData() 11 0.01067 0.01067 0.01067 1.21% MLPoisson::Fapply() 1142 0.009973 0.009973 0.009973 1.13% Castro::post_timestep() 10 0.009539 0.009539 0.009539 1.08% FabArray::Saxpy() 813 0.007877 0.007877 0.007877 0.89% FabArray::Xpay() 821 0.007814 0.007814 0.007814 0.88% MLCellLinOp::solutionResidual() 93 0.006978 0.006978 0.006978 0.79% Gravity::fill_multipole_BCs() 11 0.006818 0.006818 0.006818 0.77% Castro::reset_internal_energy(MultiFab) 63 0.006384 0.006384 0.006384 0.72% MLMG::computeResidual() 82 0.006023 0.006023 0.006023 0.68% Castro::estTimeStep() 21 0.005419 0.005419 0.005419 0.61% MLCellLinOp::defineBC() 11 0.004731 0.004731 0.004731 0.54% MLMG::prepareForSolve() 11 0.004532 0.004532 0.004532 0.51% BndryData::define() 11 0.004523 0.004523 0.004523 0.51% FabArray::LinComb() 557 0.004335 0.004335 0.004335 0.49% amrex::Add() 164 0.004304 0.004304 0.004304 0.49% Amr::InitializeInit() 1 0.004004 0.004004 0.004004 0.45% Amr::defBaseLevel() 1 0.003999 0.003999 0.003999 0.45% Castro::initData() 1 0.003509 0.003509 0.003509 0.40% Castro::construct_new_source() 50 0.003176 0.003176 0.003176 0.36% Castro::construct_new_gravity_source() 10 0.003125 0.003125 0.003125 0.35% Castro::construct_old_source() 50 0.002775 0.002775 0.002775 0.31% Castro::construct_old_gravity_source() 10 0.002756 0.002756 0.002756 0.31% Castro::enforce_speed_limit() 62 0.002744 0.002744 0.002744 0.31% Castro::computeNewDt() 9 0.002357 0.002357 0.002357 0.27% Castro::finalize_do_advance() 10 0.002257 0.002257 0.002257 0.26% MLMG::ResNormInf() 93 0.002089 0.002089 0.002089 0.24% Castro::apply_source_to_state() 20 0.001806 0.001806 0.001806 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001626 0.001626 0.001626 0.18% Castro::reset_internal_energy(Fab) 504 0.001478 0.001478 0.001478 0.17% check_for_negative_density() 10 0.001468 0.001468 0.001468 0.17% FabArrayBase::getCPC() 1323 0.00143 0.00143 0.00143 0.16% MLCellLinOp::setLevelBC() 11 0.001358 0.001358 0.001358 0.15% MLMG::getGradSolution() 11 0.001357 0.001357 0.001357 0.15% MLCellLinOp::compGrad() 11 0.001351 0.001351 0.001351 0.15% FabArray::mult() 43 0.001299 0.001299 0.001299 0.15% FabArray::setDomainBndry() 41 0.001273 0.001273 0.001273 0.14% Castro::check_for_nan() 20 0.001198 0.001198 0.001198 0.14% MultiFab::contains_nan() 20 0.001187 0.001187 0.001187 0.13% Castro::post_regrid() 1 0.001132 0.001132 0.001132 0.13% MLPoisson::prepareForSolve() 11 0.001108 0.001108 0.001108 0.13% MLCellLinOp::prepareForSolve() 11 0.001099 0.001099 0.001099 0.12% MLMG::computeMLResidual() 11 0.0009961 0.0009961 0.0009961 0.11% Castro::computeInitialDt() 2 0.0008555 0.0008555 0.0008555 0.10% Gravity::update_max_rhs() 11 0.0008107 0.0008107 0.0008107 0.09% FabArrayBase::getFB() 4023 0.0007445 0.0007445 0.0007445 0.08% FabArrayBase::CPC::define() 454 0.0006725 0.0006725 0.0006725 0.08% Castro::finalize_advance() 10 0.0005682 0.0005682 0.0005682 0.06% Amr::InitAmr() 1 0.0004657 0.0004657 0.0004657 0.05% MLLinOp::define() 11 0.0004302 0.0004302 0.0004302 0.05% Gravity::swapTimeLevels() 10 0.0004267 0.0004267 0.0004267 0.05% Castro::Castro() 1 0.0004236 0.0004236 0.0004236 0.05% MLLinOp::defineGrids() 11 0.0004093 0.0004093 0.0004093 0.05% MLMG::MLResNormInf() 11 0.0002792 0.0002792 0.0002792 0.03% MultiFab::max() 11 0.0002562 0.0002562 0.0002562 0.03% MLMG::MLRhsNormInf() 11 0.0002157 0.0002157 0.0002157 0.02% Castro::buildMetrics() 1 0.0001546 0.0001546 0.0001546 0.02% Castro::create_source_corrector() 10 0.0001102 0.0001102 0.0001102 0.01% FabArrayBase::FB::FB() 56 9.022e-05 9.022e-05 9.022e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.118e-05 5.118e-05 5.118e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.058e-05 5.058e-05 5.058e-05 0.01% Castro::swap_state_time_levels() 10 4.595e-05 4.595e-05 4.595e-05 0.01% makeSFC 55 3.731e-05 3.731e-05 3.731e-05 0.00% StateData::define() 4 3.432e-05 3.432e-05 3.432e-05 0.00% Castro::enforce_consistent_e() 1 3.128e-05 3.128e-05 3.128e-05 0.00% Amr::writeSmallPlotFile() 1 2.714e-05 2.714e-05 2.714e-05 0.00% Castro::initMFs() 1 2.605e-05 2.605e-05 2.605e-05 0.00% DistributionMapping::Distribute() 56 1.404e-05 1.404e-05 1.404e-05 0.00% Amr::initSubcycle() 1 8.768e-06 8.768e-06 8.768e-06 0.00% AmrLevel::checkPointPost() 3 5.559e-06 5.559e-06 5.559e-06 0.00% Castro::retry_advance_ctu() 10 4.295e-06 4.295e-06 4.295e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.027e-06 4.027e-06 4.027e-06 0.00% Gravity::set_mass_offset() 11 3.787e-06 3.787e-06 3.787e-06 0.00% Castro::FluxRegCrseInit 10 2.695e-06 2.695e-06 2.695e-06 0.00% Castro::FluxRegFineAdd() 10 2.092e-06 2.092e-06 2.092e-06 0.00% AmrLevel::checkPointPre() 3 1.905e-06 1.905e-06 1.905e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.905e-06 1.905e-06 1.905e-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 91 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 127 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1028 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2132 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3464 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 198 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1758 B 2048 KiB Gravity::solve_for_phi() 80 80 547 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 316 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 201 KiB 671 KiB Castro::estTimeStep() 21 21 2990 B 480 KiB VisMF::Write(FabArray) 656 656 3309 B 320 KiB Castro::normalize_species() 62 62 6314 B 320 KiB amrex::average_down 1067 1067 1230 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1134 B 257 KiB amrex::Dot() 1360 1360 3288 B 160 KiB FabArray::norminf() 907 907 2311 B 160 KiB check_for_negative_density() 10 10 261 B 160 KiB Castro::initData() 1 1 26 B 160 KiB MultiFab::max() 11 11 44 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3387 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 311 B 9648 B MLCellLinOp::applyBC() 8866 8866 218 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 115 B 1472 B MLCellLinOp::defineBC() 66 66 356 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 688 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 600 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3387 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 311 B 9648 B MLCellLinOp::applyBC() 4433 4433 216 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B Gravity::get_new_grav_vector() 3 3 2910 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 2976 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 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 288 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 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): 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-51-gbba6d9c2bc68) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-51-gbba6d9c2bc68) initialized Starting run at 08:31:05 UTC on 2023-07-28. Successfully read inputs file ... Castro git describe: 23.07-20-g4174f17eb AMReX git describe: 23.07-51-gbba6d9c2b Microphysics git describe: 23.07-48-g588beb9c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.482007734 Restart time = 0.044856405 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.049324955 [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.063462133 [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.079717409 [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.07325467 [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.052244819 [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.032538201 seconds Ending run at 08:31:06 UTC on 2023-07-28. Run time = 0.396344313 Run time without initialization = 0.350933763 Average number of zones advanced per microsecond: 3.735 Average number of zones advanced per microsecond per rank: 3.735 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3964 ... 0.3964 ... 0.3964 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1377 0.1377 0.1377 34.73% VisMF::Read() 3 0.03873 0.03873 0.03873 9.77% MLCellLinOp::applyBC() 1946 0.03227 0.03227 0.03227 8.14% VisMF::Write(FabArray) 1 0.03092 0.03092 0.03092 7.80% MLPoisson::Fsmooth() 1440 0.0135 0.0135 0.0135 3.40% FillBoundary_nowait() 1766 0.01263 0.01263 0.01263 3.19% StateData::FillBoundary(geom) 160 0.01201 0.01201 0.01201 3.03% Castro::normalize_species() 30 0.01009 0.01009 0.01009 2.55% amrex::Dot() 484 0.008481 0.008481 0.008481 2.14% amrex::Copy() 463 0.006777 0.006777 0.006777 1.71% Castro::computeTemp() 30 0.006761 0.006761 0.006761 1.71% FabArray::setVal() 537 0.006038 0.006038 0.006038 1.52% FabArray::norminf() 326 0.005979 0.005979 0.005979 1.51% FabArray::ParallelCopy_nowait() 380 0.005874 0.005874 0.005874 1.48% Castro::enforce_min_density() 30 0.005309 0.005309 0.005309 1.34% MLCellLinOp::defineAuxData() 6 0.004969 0.004969 0.004969 1.25% StateDataPhysBCFunct::() 20 0.004713 0.004713 0.004713 1.19% MLPoisson::Fapply() 500 0.004268 0.004268 0.004268 1.08% FabArray::Saxpy() 355 0.003518 0.003518 0.003518 0.89% FabArray::Xpay() 361 0.003405 0.003405 0.003405 0.86% Gravity::fill_multipole_BCs() 6 0.003298 0.003298 0.003298 0.83% Castro::estTimeStep() 10 0.002986 0.002986 0.002986 0.75% MLMG::addInterpCorrection() 180 0.002855 0.002855 0.002855 0.72% amrex::average_down 180 0.002521 0.002521 0.002521 0.64% Amr::restart() 1 0.002478 0.002478 0.002478 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002123 0.002123 0.002123 0.54% BndryData::define() 6 0.001934 0.001934 0.001934 0.49% FabArray::LinComb() 242 0.001861 0.001861 0.001861 0.47% amrex::Add() 72 0.001821 0.001821 0.001821 0.46% Castro::enforce_speed_limit() 30 0.001617 0.001617 0.001617 0.41% Castro::construct_new_gravity_source() 5 0.001589 0.001589 0.001589 0.40% Amr::writePlotFile() 1 0.001449 0.001449 0.001449 0.37% Castro::construct_old_gravity_source() 5 0.00142 0.00142 0.00142 0.36% MLCGSolver::bicgstab 36 0.0009195 0.0009195 0.0009195 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008672 0.0008672 0.0008672 0.22% Castro::reset_internal_energy(Fab) 240 0.0007893 0.0007893 0.0007893 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007781 0.0007781 0.0007781 0.20% MLCellLinOp::setLevelBC() 6 0.0007238 0.0007238 0.0007238 0.18% FabArray::mult() 22 0.0006378 0.0006378 0.0006378 0.16% FabArray::setDomainBndry() 20 0.000628 0.000628 0.000628 0.16% MLCellLinOp::prepareForSolve() 6 0.0005901 0.0005901 0.0005901 0.15% MultiFab::contains_nan() 10 0.0005869 0.0005869 0.0005869 0.15% check_for_negative_density() 5 0.0005076 0.0005076 0.0005076 0.13% MLCellLinOp::smooth() 720 0.0004982 0.0004982 0.0004982 0.13% MLCellLinOp::compGrad() 6 0.0004817 0.0004817 0.0004817 0.12% MLMG::prepareForSolve() 6 0.0004641 0.0004641 0.0004641 0.12% FabArrayBase::CPC::define() 244 0.0004098 0.0004098 0.0004098 0.10% Amr::InitAmr() 1 0.0003775 0.0003775 0.0003775 0.10% FabArray::FillBoundary() 1766 0.0003654 0.0003654 0.0003654 0.09% FabArrayBase::getCPC() 632 0.0003532 0.0003532 0.0003532 0.09% FabArrayBase::getFB() 1766 0.0002715 0.0002715 0.0002715 0.07% main() 1 0.000269 0.000269 0.000269 0.07% Gravity::get_old_grav_vector() 5 0.0002628 0.0002628 0.0002628 0.07% Gravity::get_new_grav_vector() 5 0.0002296 0.0002296 0.0002296 0.06% MLCellLinOp::apply() 500 0.0001974 0.0001974 0.0001974 0.05% MLLinOp::defineGrids() 6 0.0001676 0.0001676 0.0001676 0.04% AmrLevel::FillPatch() 20 0.0001596 0.0001596 0.0001596 0.04% Amr::coarseTimeStep() 5 0.0001565 0.0001565 0.0001565 0.04% Castro::construct_new_source() 25 0.0001544 0.0001544 0.0001544 0.04% MLMG::mgVcycle() 36 0.0001442 0.0001442 0.0001442 0.04% MultiFab::max() 6 0.0001347 0.0001347 0.0001347 0.03% MLCGSolver::ParallelAllReduce 659 0.0001285 0.0001285 0.0001285 0.03% MLCellLinOp::defineBC() 6 0.0001101 0.0001101 0.0001101 0.03% FabArray::ParallelCopy() 380 0.0001027 0.0001027 0.0001027 0.03% FillPatchIterator::Initialize 20 0.0001008 0.0001008 0.0001008 0.03% MLCellLinOp::correctionResidual() 216 9.515e-05 9.515e-05 9.515e-05 0.02% Amr::timeStep() 5 7.955e-05 7.955e-05 7.955e-05 0.02% Castro::create_source_corrector() 5 7.875e-05 7.875e-05 7.875e-05 0.02% Castro::subcycle_advance_ctu() 5 7.873e-05 7.873e-05 7.873e-05 0.02% AmrLevel::restart() 1 7.805e-05 7.805e-05 7.805e-05 0.02% Castro::finalize_do_advance() 5 7.445e-05 7.445e-05 7.445e-05 0.02% Castro::do_new_sources() 5 7.153e-05 7.153e-05 7.153e-05 0.02% StateData::restartDoit() 4 6.41e-05 6.41e-05 6.41e-05 0.02% Gravity::update_max_rhs() 6 6.322e-05 6.322e-05 6.322e-05 0.02% FabArrayBase::FB::FB() 26 5.961e-05 5.961e-05 5.961e-05 0.02% Castro::advance() 5 5.813e-05 5.813e-05 5.813e-05 0.01% MLMG:computeResOfCorrection() 180 5.571e-05 5.571e-05 5.571e-05 0.01% Gravity::solve_for_phi() 5 5.148e-05 5.148e-05 5.148e-05 0.01% Castro::initialize_do_advance() 5 5.116e-05 5.116e-05 5.116e-05 0.01% MLMG::mgVcycle_down::0 36 3.94e-05 3.94e-05 3.94e-05 0.01% MLMG::actualBottomSolve() 36 3.846e-05 3.846e-05 3.846e-05 0.01% MLMG::mgVcycle_down::1 36 3.742e-05 3.742e-05 3.742e-05 0.01% MLMG::mgVcycle_down::4 36 3.618e-05 3.618e-05 3.618e-05 0.01% MLMG::mgVcycle_down::2 36 3.553e-05 3.553e-05 3.553e-05 0.01% MLMG::mgVcycle_down::3 36 3.463e-05 3.463e-05 3.463e-05 0.01% MLMG::solve() 6 3.301e-05 3.301e-05 3.301e-05 0.01% Castro::initialize_advance() 5 3.284e-05 3.284e-05 3.284e-05 0.01% Castro::clean_state() 30 3.209e-05 3.209e-05 3.209e-05 0.01% Castro::construct_old_source() 25 3.204e-05 3.204e-05 3.204e-05 0.01% Castro::finalize_advance() 5 2.838e-05 2.838e-05 2.838e-05 0.01% MLMG::oneIter() 36 2.802e-05 2.802e-05 2.802e-05 0.01% MLMG::mgVcycle_up::4 36 2.768e-05 2.768e-05 2.768e-05 0.01% Castro::post_timestep() 5 2.749e-05 2.749e-05 2.749e-05 0.01% Castro::buildMetrics() 1 2.619e-05 2.619e-05 2.619e-05 0.01% Amr::writeSmallPlotFile() 1 2.6e-05 2.6e-05 2.6e-05 0.01% Castro::initMFs() 1 2.577e-05 2.577e-05 2.577e-05 0.01% Castro::swap_state_time_levels() 5 2.402e-05 2.402e-05 2.402e-05 0.01% MLMG::mgVcycle_up::0 36 2.321e-05 2.321e-05 2.321e-05 0.01% Castro::do_advance_ctu() 5 2.316e-05 2.316e-05 2.316e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.204e-05 2.204e-05 2.204e-05 0.01% MLMG::mgVcycle_up::3 36 2.193e-05 2.193e-05 2.193e-05 0.01% MLMG::mgVcycle_up::2 36 2.142e-05 2.142e-05 2.142e-05 0.01% MLMG::mgVcycle_up::1 36 2.105e-05 2.105e-05 2.105e-05 0.01% MLCellLinOp::solutionResidual() 42 2.029e-05 2.029e-05 2.029e-05 0.01% MLPoisson::define() 6 2.002e-05 2.002e-05 2.002e-05 0.01% Castro::post_restart() 1 1.994e-05 1.994e-05 1.994e-05 0.01% MLMG::ResNormInf() 42 1.613e-05 1.613e-05 1.613e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.598e-05 1.598e-05 1.598e-05 0.00% MLMG::mgVcycle_bottom 36 1.488e-05 1.488e-05 1.488e-05 0.00% FillPatchSingleLevel 20 1.396e-05 1.396e-05 1.396e-05 0.00% MLMG::computeResidual() 36 1.352e-05 1.352e-05 1.352e-05 0.00% makeSFC 30 1.301e-05 1.301e-05 1.301e-05 0.00% MLLinOp::define() 6 1.167e-05 1.167e-05 1.167e-05 0.00% Castro::construct_new_gravity() 5 1.151e-05 1.151e-05 1.151e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.135e-05 1.135e-05 1.135e-05 0.00% Castro::do_old_sources() 5 1.089e-05 1.089e-05 1.089e-05 0.00% Amr::initSubcycle() 1 8.806e-06 8.806e-06 8.806e-06 0.00% DistributionMapping::Distribute() 31 8.413e-06 8.413e-06 8.413e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.252e-06 7.252e-06 7.252e-06 0.00% Gravity::actual_multilevel_solve() 1 7.237e-06 7.237e-06 7.237e-06 0.00% Castro::apply_source_to_state() 10 5.652e-06 5.652e-06 5.652e-06 0.00% Castro::construct_old_gravity() 5 5.496e-06 5.496e-06 5.496e-06 0.00% Castro::check_for_nan() 10 4.91e-06 4.91e-06 4.91e-06 0.00% MLPoisson::prepareForSolve() 6 4.192e-06 4.192e-06 4.192e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.931e-06 3.931e-06 3.931e-06 0.00% MLMG::computeMLResidual() 6 3.724e-06 3.724e-06 3.724e-06 0.00% Gravity::swapTimeLevels() 5 3.714e-06 3.714e-06 3.714e-06 0.00% Castro::computeNewDt() 5 3.03e-06 3.03e-06 3.03e-06 0.00% MLMG::getGradSolution() 6 2.888e-06 2.888e-06 2.888e-06 0.00% Castro::expand_state() 5 2.433e-06 2.433e-06 2.433e-06 0.00% MLMG::MLResNormInf() 6 2.081e-06 2.081e-06 2.081e-06 0.00% MLMG::MLRhsNormInf() 6 2.027e-06 2.027e-06 2.027e-06 0.00% Gravity::set_mass_offset() 6 1.973e-06 1.973e-06 1.973e-06 0.00% Castro::retry_advance_ctu() 5 1.926e-06 1.926e-06 1.926e-06 0.00% Castro::FluxRegCrseInit 5 1.626e-06 1.626e-06 1.626e-06 0.00% Castro::FluxRegFineAdd() 5 1.181e-06 1.181e-06 1.181e-06 0.00% Amr::init() 1 9.77e-07 9.77e-07 9.77e-07 0.00% MLLinOp::makeSubCommunicator() 6 9.63e-07 9.63e-07 9.63e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3964 0.3964 0.3964 100.00% Amr::coarseTimeStep() 5 0.3182 0.3182 0.3182 80.27% Amr::timeStep() 5 0.3166 0.3166 0.3166 79.87% Castro::advance() 5 0.3121 0.3121 0.3121 78.74% Castro::subcycle_advance_ctu() 5 0.3048 0.3048 0.3048 76.89% Castro::do_advance_ctu() 5 0.3047 0.3047 0.3047 76.87% Castro::construct_ctu_hydro_source() 5 0.1417 0.1417 0.1417 35.74% Castro::construct_new_gravity() 5 0.126 0.126 0.126 31.78% Gravity::solve_phi_with_mlmg() 6 0.1213 0.1213 0.1213 30.60% Gravity::solve_for_phi() 5 0.1183 0.1183 0.1183 29.85% Gravity::actual_solve_with_mlmg() 6 0.1178 0.1178 0.1178 29.72% MLMG::solve() 6 0.1071 0.1071 0.1071 27.01% MLMG::oneIter() 36 0.1004 0.1004 0.1004 25.33% MLMG::mgVcycle() 36 0.09885 0.09885 0.09885 24.94% MLCellLinOp::smooth() 720 0.04861 0.04861 0.04861 12.26% MLCellLinOp::applyBC() 1946 0.04559 0.04559 0.04559 11.50% Amr::init() 1 0.0449 0.0449 0.0449 11.33% Amr::restart() 1 0.0449 0.0449 0.0449 11.33% AmrLevel::restart() 1 0.03893 0.03893 0.03893 9.82% StateData::restartDoit() 4 0.03885 0.03885 0.03885 9.80% VisMF::Read() 3 0.03873 0.03873 0.03873 9.77% Amr::writePlotFile() 1 0.03262 0.03262 0.03262 8.23% VisMF::Write(FabArray) 1 0.03092 0.03092 0.03092 7.80% MLMG::mgVcycle_bottom 36 0.03043 0.03043 0.03043 7.68% MLMG::actualBottomSolve() 36 0.03042 0.03042 0.03042 7.67% MLCGSolver::bicgstab 36 0.03013 0.03013 0.03013 7.60% Castro::clean_state() 30 0.02672 0.02672 0.02672 6.74% AmrLevel::FillPatch() 20 0.02152 0.02152 0.02152 5.43% FillPatchIterator::Initialize 20 0.01949 0.01949 0.01949 4.92% FillPatchIterator::FillFromLevel0() 20 0.01876 0.01876 0.01876 4.73% FillPatchSingleLevel 20 0.01874 0.01874 0.01874 4.73% StateDataPhysBCFunct::() 20 0.01672 0.01672 0.01672 4.22% MLCellLinOp::apply() 500 0.01518 0.01518 0.01518 3.83% MLMG::mgVcycle_down::0 36 0.01405 0.01405 0.01405 3.55% MLPoisson::Fsmooth() 1440 0.0135 0.0135 0.0135 3.40% FabArray::FillBoundary() 1766 0.01333 0.01333 0.01333 3.36% FillBoundary_nowait() 1766 0.01296 0.01296 0.01296 3.27% StateData::FillBoundary(geom) 160 0.01201 0.01201 0.01201 3.03% Castro::initialize_do_advance() 5 0.01089 0.01089 0.01089 2.75% MLMG::mgVcycle_up::0 36 0.01062 0.01062 0.01062 2.68% Castro::normalize_species() 30 0.01009 0.01009 0.01009 2.55% Castro::computeTemp() 30 0.009673 0.009673 0.009673 2.44% Castro::do_old_sources() 5 0.009421 0.009421 0.009421 2.38% MLCellLinOp::correctionResidual() 216 0.00924 0.00924 0.00924 2.33% MLPoisson::define() 6 0.008486 0.008486 0.008486 2.14% amrex::Dot() 484 0.008481 0.008481 0.008481 2.14% MLMG:computeResOfCorrection() 180 0.00814 0.00814 0.00814 2.05% Gravity::get_new_grav_vector() 5 0.007523 0.007523 0.007523 1.90% Castro::do_new_sources() 5 0.007449 0.007449 0.007449 1.88% Castro::construct_old_gravity() 5 0.00717 0.00717 0.00717 1.81% Gravity::get_old_grav_vector() 5 0.007164 0.007164 0.007164 1.81% Castro::initialize_advance() 5 0.007012 0.007012 0.007012 1.77% amrex::Copy() 463 0.006777 0.006777 0.006777 1.71% MLMG::mgVcycle_down::1 36 0.006594 0.006594 0.006594 1.66% FabArray::ParallelCopy() 380 0.006361 0.006361 0.006361 1.60% FabArray::ParallelCopy_nowait() 380 0.006258 0.006258 0.006258 1.58% MLMG::mgVcycle_down::2 36 0.006158 0.006158 0.006158 1.55% FabArray::setVal() 537 0.006038 0.006038 0.006038 1.52% MLMG::mgVcycle_down::3 36 0.006009 0.006009 0.006009 1.52% FabArray::norminf() 326 0.005979 0.005979 0.005979 1.51% MLMG::mgVcycle_down::4 36 0.005944 0.005944 0.005944 1.50% MLCellLinOp::defineAuxData() 6 0.005671 0.005671 0.005671 1.43% Castro::expand_state() 5 0.005465 0.005465 0.005465 1.38% Castro::enforce_min_density() 30 0.005309 0.005309 0.005309 1.34% MLCGSolver::ParallelAllReduce 659 0.005126 0.005126 0.005126 1.29% MLMG::addInterpCorrection() 180 0.005012 0.005012 0.005012 1.26% MLMG::mgVcycle_up::4 36 0.004803 0.004803 0.004803 1.21% MLMG::mgVcycle_up::1 36 0.004782 0.004782 0.004782 1.21% amrex::average_down 180 0.004717 0.004717 0.004717 1.19% MLMG::mgVcycle_up::2 36 0.004688 0.004688 0.004688 1.18% MLMG::mgVcycle_up::3 36 0.00462 0.00462 0.00462 1.17% Castro::post_timestep() 5 0.004382 0.004382 0.004382 1.11% MLPoisson::Fapply() 500 0.004268 0.004268 0.004268 1.08% FabArray::Saxpy() 355 0.003518 0.003518 0.003518 0.89% Gravity::fill_multipole_BCs() 6 0.003416 0.003416 0.003416 0.86% FabArray::Xpay() 361 0.003405 0.003405 0.003405 0.86% Castro::post_restart() 1 0.003317 0.003317 0.003317 0.84% Gravity::multilevel_solve_for_new_phi() 1 0.003206 0.003206 0.003206 0.81% Gravity::actual_multilevel_solve() 1 0.00319 0.00319 0.00319 0.80% MLCellLinOp::solutionResidual() 42 0.003135 0.003135 0.003135 0.79% Castro::estTimeStep() 10 0.002986 0.002986 0.002986 0.75% Castro::reset_internal_energy(MultiFab) 30 0.002912 0.002912 0.002912 0.73% MLMG::computeResidual() 36 0.002596 0.002596 0.002596 0.65% MLCellLinOp::defineBC() 6 0.002588 0.002588 0.002588 0.65% BndryData::define() 6 0.002478 0.002478 0.002478 0.63% MLMG::prepareForSolve() 6 0.002443 0.002443 0.002443 0.62% FabArray::LinComb() 242 0.001861 0.001861 0.001861 0.47% amrex::Add() 72 0.001821 0.001821 0.001821 0.46% Castro::construct_new_source() 25 0.001743 0.001743 0.001743 0.44% Castro::finalize_do_advance() 5 0.001649 0.001649 0.001649 0.42% Castro::enforce_speed_limit() 30 0.001617 0.001617 0.001617 0.41% Castro::construct_new_gravity_source() 5 0.001589 0.001589 0.001589 0.40% Castro::construct_old_source() 25 0.001452 0.001452 0.001452 0.37% Castro::construct_old_gravity_source() 5 0.00142 0.00142 0.00142 0.36% Castro::computeNewDt() 5 0.001415 0.001415 0.001415 0.36% MLMG::ResNormInf() 42 0.0009212 0.0009212 0.0009212 0.23% Castro::apply_source_to_state() 10 0.0009184 0.0009184 0.0009184 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008672 0.0008672 0.0008672 0.22% Castro::reset_internal_energy(Fab) 240 0.0007893 0.0007893 0.0007893 0.20% FabArrayBase::getCPC() 632 0.000763 0.000763 0.000763 0.19% MLMG::getGradSolution() 6 0.0007427 0.0007427 0.0007427 0.19% MLCellLinOp::compGrad() 6 0.0007398 0.0007398 0.0007398 0.19% MLCellLinOp::setLevelBC() 6 0.0007238 0.0007238 0.0007238 0.18% FabArray::mult() 22 0.0006378 0.0006378 0.0006378 0.16% FabArray::setDomainBndry() 20 0.000628 0.000628 0.000628 0.16% MLPoisson::prepareForSolve() 6 0.0005943 0.0005943 0.0005943 0.15% Castro::check_for_nan() 10 0.0005918 0.0005918 0.0005918 0.15% MLCellLinOp::prepareForSolve() 6 0.0005901 0.0005901 0.0005901 0.15% MultiFab::contains_nan() 10 0.0005869 0.0005869 0.0005869 0.15% MLMG::computeMLResidual() 6 0.0005559 0.0005559 0.0005559 0.14% check_for_negative_density() 5 0.0005076 0.0005076 0.0005076 0.13% Gravity::update_max_rhs() 6 0.0004365 0.0004365 0.0004365 0.11% FabArrayBase::CPC::define() 244 0.0004098 0.0004098 0.0004098 0.10% Amr::InitAmr() 1 0.0003863 0.0003863 0.0003863 0.10% FabArrayBase::getFB() 1766 0.0003311 0.0003311 0.0003311 0.08% Castro::finalize_advance() 5 0.0002783 0.0002783 0.0002783 0.07% Gravity::swapTimeLevels() 5 0.0002184 0.0002184 0.0002184 0.06% MLLinOp::define() 6 0.0002076 0.0002076 0.0002076 0.05% MLLinOp::defineGrids() 6 0.0001959 0.0001959 0.0001959 0.05% MLMG::MLResNormInf() 6 0.0001495 0.0001495 0.0001495 0.04% Castro::buildMetrics() 1 0.0001441 0.0001441 0.0001441 0.04% MultiFab::max() 6 0.0001347 0.0001347 0.0001347 0.03% MLMG::MLRhsNormInf() 6 0.0001146 0.0001146 0.0001146 0.03% Castro::create_source_corrector() 5 7.875e-05 7.875e-05 7.875e-05 0.02% FabArrayBase::FB::FB() 26 5.961e-05 5.961e-05 5.961e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.732e-05 2.732e-05 2.732e-05 0.01% Amr::writeSmallPlotFile() 1 2.6e-05 2.6e-05 2.6e-05 0.01% Castro::initMFs() 1 2.577e-05 2.577e-05 2.577e-05 0.01% Castro::swap_state_time_levels() 5 2.402e-05 2.402e-05 2.402e-05 0.01% makeSFC 30 2.007e-05 2.007e-05 2.007e-05 0.01% Amr::initSubcycle() 1 8.806e-06 8.806e-06 8.806e-06 0.00% DistributionMapping::Distribute() 31 8.413e-06 8.413e-06 8.413e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.278e-06 5.278e-06 5.278e-06 0.00% Gravity::set_mass_offset() 6 1.973e-06 1.973e-06 1.973e-06 0.00% Castro::retry_advance_ctu() 5 1.926e-06 1.926e-06 1.926e-06 0.00% Castro::FluxRegCrseInit 5 1.626e-06 1.626e-06 1.626e-06 0.00% Castro::FluxRegFineAdd() 5 1.181e-06 1.181e-06 1.181e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.63e-07 9.63e-07 9.63e-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 206 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 152 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 1071 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2302 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 6769 KiB 14 MiB MLMG::prepareForSolve() 361 361 3317 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 187 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6764 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2135 B 2048 KiB Gravity::solve_for_phi() 40 40 610 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 305 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 195 KiB 671 KiB Castro::estTimeStep() 10 10 3611 B 480 KiB VisMF::Write(FabArray) 112 112 1215 B 320 KiB Castro::normalize_species() 30 30 8286 B 320 KiB amrex::average_down 469 469 1169 B 257 KiB MLMG::addInterpCorrection() 468 468 1092 B 257 KiB amrex::Dot() 592 592 3150 B 160 KiB FabArray::norminf() 398 398 2229 B 160 KiB check_for_negative_density() 5 5 201 B 160 KiB MultiFab::max() 6 6 52 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3226 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 277 B 9648 B MLCellLinOp::applyBC() 3892 3892 212 B 9344 B amrex::Copy() 56 56 5990 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 45 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 110 B 1472 B MLCellLinOp::defineBC() 36 36 342 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1420 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 109 KiB 8192 KiB VisMF::Write(FabArray) 120 120 239 KiB 3584 KiB VisMF::Read() 24 24 190 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3226 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 277 B 9648 B MLCellLinOp::applyBC() 1946 1946 211 B 9328 B amrex::Copy() 56 56 5990 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2673 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 46 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 517 B 1296 B amrex::average_down 37 37 226 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B 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-51-gbba6d9c2bc68) finalized