Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-35-ge63308431a58) initialized Starting run at 08:31:27 UTC on 2023-08-22. Successfully read inputs file ... Castro git describe: 23.08-6-g41b0e2684 AMReX git describe: 23.08-35-ge63308431 Microphysics git describe: 23.08-14-g00c8a99c 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.050956948 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028679432 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.051513076 [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.072807032 [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.075182518 [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.063065466 [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.067105015 [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.050158514 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.068291245 [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.073948259 [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.075910905 [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.067438932 [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.072070313 [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.098588964 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028616746 seconds Ending run at 08:31:28 UTC on 2023-08-22. Run time = 0.999998068 Run time without initialization = 0.865311821 Average number of zones advanced per microsecond: 3.029 Average number of zones advanced per microsecond per rank: 3.029 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 1 ... 1 ... 1 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3106 0.3106 0.3106 31.06% VisMF::Write(FabArray) 11 0.2011 0.2011 0.2011 20.11% MLCellLinOp::applyBC() 4433 0.07862 0.07862 0.07862 7.86% Amr::checkPoint() 3 0.0534 0.0534 0.0534 5.34% MLPoisson::Fsmooth() 3280 0.03312 0.03312 0.03312 3.31% FillBoundary_nowait() 4023 0.03035 0.03035 0.03035 3.03% StateData::FillBoundary(geom) 328 0.02636 0.02636 0.02636 2.64% amrex::Dot() 1114 0.02107 0.02107 0.02107 2.11% Castro::normalize_species() 62 0.01924 0.01924 0.01924 1.92% Castro::computeTemp() 63 0.01725 0.01725 0.01725 1.72% amrex::Copy() 1029 0.01508 0.01508 0.01508 1.51% FabArray::norminf() 743 0.01472 0.01472 0.01472 1.47% FabArray::ParallelCopy_nowait() 861 0.01357 0.01357 0.01357 1.36% FabArray::setVal() 1144 0.01344 0.01344 0.01344 1.34% Castro::enforce_min_density() 62 0.01179 0.01179 0.01179 1.18% StateDataPhysBCFunct::() 41 0.01157 0.01157 0.01157 1.16% MLPoisson::Fapply() 1142 0.01054 0.01054 0.01054 1.05% MLCellLinOp::defineAuxData() 11 0.01001 0.01001 0.01001 1.00% Gravity::fill_multipole_BCs() 11 0.009293 0.009293 0.009293 0.93% FabArray::Saxpy() 813 0.008394 0.008394 0.008394 0.84% FabArray::Xpay() 821 0.008261 0.008261 0.008261 0.83% MLMG::addInterpCorrection() 410 0.0069 0.0069 0.0069 0.69% Castro::reset_internal_energy(MultiFab) 63 0.006442 0.006442 0.006442 0.64% Castro::estTimeStep() 21 0.006379 0.006379 0.006379 0.64% amrex::average_down 410 0.006148 0.006148 0.006148 0.61% FabArray::LinComb() 557 0.004648 0.004648 0.004648 0.46% amrex::Add() 164 0.004432 0.004432 0.004432 0.44% BndryData::define() 11 0.003851 0.003851 0.003851 0.39% Castro::enforce_speed_limit() 62 0.003344 0.003344 0.003344 0.33% Castro::construct_new_gravity_source() 10 0.00334 0.00334 0.00334 0.33% Castro::construct_old_gravity_source() 10 0.002803 0.002803 0.002803 0.28% MLCGSolver::bicgstab 82 0.002252 0.002252 0.002252 0.23% Amr::writePlotFile() 2 0.001992 0.001992 0.001992 0.20% check_for_negative_density() 10 0.001845 0.001845 0.001845 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001765 0.001765 0.001765 0.18% Castro::reset_internal_energy(Fab) 504 0.001669 0.001669 0.001669 0.17% Gravity::actual_solve_with_mlmg() 11 0.001523 0.001523 0.001523 0.15% Castro::initData() 1 0.001498 0.001498 0.001498 0.15% MLCellLinOp::setLevelBC() 11 0.00147 0.00147 0.00147 0.15% FabArray::mult() 43 0.001355 0.001355 0.001355 0.14% FabArray::setDomainBndry() 41 0.00135 0.00135 0.00135 0.14% MultiFab::contains_nan() 20 0.001264 0.001264 0.001264 0.13% MLCellLinOp::prepareForSolve() 11 0.001263 0.001263 0.001263 0.13% MLCellLinOp::smooth() 1640 0.001077 0.001077 0.001077 0.11% MLCellLinOp::compGrad() 11 0.001055 0.001055 0.001055 0.11% MLMG::prepareForSolve() 11 0.0009613 0.0009613 0.0009613 0.10% FabArray::FillBoundary() 4023 0.0008206 0.0008206 0.0008206 0.08% FabArrayBase::getCPC() 1323 0.0007707 0.0007707 0.0007707 0.08% FabArrayBase::getFB() 4023 0.0006834 0.0006834 0.0006834 0.07% FabArrayBase::CPC::define() 454 0.0006792 0.0006792 0.0006792 0.07% Gravity::get_new_grav_vector() 11 0.0005967 0.0005967 0.0005967 0.06% Amr::InitAmr() 1 0.0004885 0.0004885 0.0004885 0.05% Gravity::get_old_grav_vector() 10 0.0004723 0.0004723 0.0004723 0.05% MLCellLinOp::apply() 1142 0.0004534 0.0004534 0.0004534 0.05% Amr::coarseTimeStep() 10 0.0003401 0.0003401 0.0003401 0.03% AmrLevel::FillPatch() 41 0.0003356 0.0003356 0.0003356 0.03% MultiFab::max() 11 0.000326 0.000326 0.000326 0.03% main() 1 0.0002955 0.0002955 0.0002955 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002952 0.0002952 0.0002952 0.03% FabArray::ParallelCopy() 861 0.0002634 0.0002634 0.0002634 0.03% MLCellLinOp::defineBC() 11 0.0002435 0.0002435 0.0002435 0.02% MLCellLinOp::correctionResidual() 492 0.0002316 0.0002316 0.0002316 0.02% FillPatchIterator::Initialize 41 0.0002128 0.0002128 0.0002128 0.02% MLMG::mgVcycle() 82 0.0001972 0.0001972 0.0001972 0.02% Castro::subcycle_advance_ctu() 10 0.0001844 0.0001844 0.0001844 0.02% Castro::create_source_corrector() 10 0.0001712 0.0001712 0.0001712 0.02% Gravity::solve_for_phi() 10 0.0001618 0.0001618 0.0001618 0.02% Amr::timeStep() 10 0.0001524 0.0001524 0.0001524 0.02% MLLinOp::defineGrids() 11 0.0001516 0.0001516 0.0001516 0.02% MLMG:computeResOfCorrection() 410 0.0001293 0.0001293 0.0001293 0.01% Gravity::update_max_rhs() 11 0.0001238 0.0001238 0.0001238 0.01% StateData::checkPoint() 12 0.0001184 0.0001184 0.0001184 0.01% Castro::advance() 10 0.0001161 0.0001161 0.0001161 0.01% Castro::Castro() 1 0.0001001 0.0001001 0.0001001 0.01% FabArrayBase::FB::FB() 56 9.501e-05 9.501e-05 9.501e-05 0.01% MLMG::actualBottomSolve() 82 9.403e-05 9.403e-05 9.403e-05 0.01% MLMG::mgVcycle_down::0 82 8.659e-05 8.659e-05 8.659e-05 0.01% MLMG::solve() 11 8.254e-05 8.254e-05 8.254e-05 0.01% MLMG::mgVcycle_down::2 82 8.241e-05 8.241e-05 8.241e-05 0.01% MLMG::mgVcycle_down::1 82 8.191e-05 8.191e-05 8.191e-05 0.01% MLMG::mgVcycle_down::4 82 7.84e-05 7.84e-05 7.84e-05 0.01% MLMG::mgVcycle_down::3 82 7.708e-05 7.708e-05 7.708e-05 0.01% Castro::initialize_advance() 10 7.584e-05 7.584e-05 7.584e-05 0.01% Castro::enforce_consistent_e() 1 7.043e-05 7.043e-05 7.043e-05 0.01% Castro::clean_state() 62 6.898e-05 6.898e-05 6.898e-05 0.01% AmrLevel::checkPoint() 3 6.741e-05 6.741e-05 6.741e-05 0.01% Castro::finalize_advance() 10 6.523e-05 6.523e-05 6.523e-05 0.01% Castro::initialize_do_advance() 10 6.31e-05 6.31e-05 6.31e-05 0.01% MLMG::mgVcycle_up::4 82 6.189e-05 6.189e-05 6.189e-05 0.01% Castro::do_advance_ctu() 10 6.016e-05 6.016e-05 6.016e-05 0.01% MLMG::oneIter() 82 5.557e-05 5.557e-05 5.557e-05 0.01% MLMG::mgVcycle_up::3 82 5.435e-05 5.435e-05 5.435e-05 0.01% Castro::do_new_sources() 10 5.303e-05 5.303e-05 5.303e-05 0.01% MLCellLinOp::solutionResidual() 93 5.062e-05 5.062e-05 5.062e-05 0.01% MLMG::mgVcycle_up::0 82 4.985e-05 4.985e-05 4.985e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.884e-05 4.884e-05 4.884e-05 0.00% MLMG::mgVcycle_up::1 82 4.86e-05 4.86e-05 4.86e-05 0.00% MLMG::mgVcycle_up::2 82 4.733e-05 4.733e-05 4.733e-05 0.00% Castro::construct_new_source() 50 4.462e-05 4.462e-05 4.462e-05 0.00% Castro::finalize_do_advance() 10 4.419e-05 4.419e-05 4.419e-05 0.00% Castro::post_timestep() 10 4.248e-05 4.248e-05 4.248e-05 0.00% Amr::defBaseLevel() 1 4.023e-05 4.023e-05 4.023e-05 0.00% StateData::define() 4 3.75e-05 3.75e-05 3.75e-05 0.00% Castro::swap_state_time_levels() 10 3.601e-05 3.601e-05 3.601e-05 0.00% FillPatchSingleLevel 41 3.53e-05 3.53e-05 3.53e-05 0.00% MLMG::mgVcycle_bottom 82 3.458e-05 3.458e-05 3.458e-05 0.00% MLMG::computeResidual() 82 3.445e-05 3.445e-05 3.445e-05 0.00% MLMG::ResNormInf() 93 3.295e-05 3.295e-05 3.295e-05 0.00% MLPoisson::define() 11 2.723e-05 2.723e-05 2.723e-05 0.00% Castro::initMFs() 1 2.694e-05 2.694e-05 2.694e-05 0.00% makeSFC 55 2.677e-05 2.677e-05 2.677e-05 0.00% Castro::buildMetrics() 1 2.659e-05 2.659e-05 2.659e-05 0.00% Amr::writeSmallPlotFile() 1 2.647e-05 2.647e-05 2.647e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.578e-05 2.578e-05 2.578e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.515e-05 2.515e-05 2.515e-05 0.00% Castro::construct_new_gravity() 10 2.349e-05 2.349e-05 2.349e-05 0.00% Castro::do_old_sources() 10 2.18e-05 2.18e-05 2.18e-05 0.00% Amr::FinalizeInit() 1 2.021e-05 2.021e-05 2.021e-05 0.00% Castro::construct_old_source() 50 1.897e-05 1.897e-05 1.897e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.827e-05 1.827e-05 1.827e-05 0.00% DistributionMapping::Distribute() 56 1.741e-05 1.741e-05 1.741e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.252e-05 1.252e-05 1.252e-05 0.00% Castro::construct_old_gravity() 10 1.246e-05 1.246e-05 1.246e-05 0.00% Castro::check_for_nan() 20 1.135e-05 1.135e-05 1.135e-05 0.00% Castro::apply_source_to_state() 20 1.105e-05 1.105e-05 1.105e-05 0.00% Castro::post_init() 1 1.053e-05 1.053e-05 1.053e-05 0.00% Gravity::swapTimeLevels() 10 9.936e-06 9.936e-06 9.936e-06 0.00% Amr::initSubcycle() 1 9.768e-06 9.768e-06 9.768e-06 0.00% MLLinOp::define() 11 9.441e-06 9.441e-06 9.441e-06 0.00% Gravity::actual_multilevel_solve() 1 7.998e-06 7.998e-06 7.998e-06 0.00% MLMG::computeMLResidual() 11 7.756e-06 7.756e-06 7.756e-06 0.00% MLPoisson::prepareForSolve() 11 7.471e-06 7.471e-06 7.471e-06 0.00% Castro::computeNewDt() 9 7.19e-06 7.19e-06 7.19e-06 0.00% MLMG::getGradSolution() 11 6.08e-06 6.08e-06 6.08e-06 0.00% Castro::expand_state() 10 5.916e-06 5.916e-06 5.916e-06 0.00% Amr::InitializeInit() 1 5.169e-06 5.169e-06 5.169e-06 0.00% AmrLevel::checkPointPost() 3 4.823e-06 4.823e-06 4.823e-06 0.00% Castro::retry_advance_ctu() 10 4.558e-06 4.558e-06 4.558e-06 0.00% MLMG::MLRhsNormInf() 11 4.282e-06 4.282e-06 4.282e-06 0.00% Gravity::set_mass_offset() 11 3.931e-06 3.931e-06 3.931e-06 0.00% MLMG::MLResNormInf() 11 3.638e-06 3.638e-06 3.638e-06 0.00% Amr::initialInit() 1 3.59e-06 3.59e-06 3.59e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.412e-06 3.412e-06 3.412e-06 0.00% Castro::computeInitialDt() 2 3.126e-06 3.126e-06 3.126e-06 0.00% AmrLevel::checkPointPre() 3 3.088e-06 3.088e-06 3.088e-06 0.00% Castro::FluxRegCrseInit 10 3.072e-06 3.072e-06 3.072e-06 0.00% Amr::init() 1 2.689e-06 2.689e-06 2.689e-06 0.00% Castro::FluxRegFineAdd() 10 2.272e-06 2.272e-06 2.272e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.019e-06 2.019e-06 2.019e-06 0.00% Castro::post_regrid() 1 1.42e-06 1.42e-06 1.42e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 1 1 1 100.00% Amr::coarseTimeStep() 10 0.8365 0.8365 0.8365 83.64% Amr::timeStep() 10 0.6836 0.6836 0.6836 68.36% Castro::advance() 10 0.6722 0.6722 0.6722 67.22% Castro::subcycle_advance_ctu() 10 0.6571 0.6571 0.6571 65.70% Castro::do_advance_ctu() 10 0.6569 0.6569 0.6569 65.68% Castro::construct_ctu_hydro_source() 10 0.3216 0.3216 0.3216 32.16% Gravity::solve_phi_with_mlmg() 11 0.2915 0.2915 0.2915 29.15% Gravity::actual_solve_with_mlmg() 11 0.2817 0.2817 0.2817 28.17% Castro::construct_new_gravity() 10 0.2625 0.2625 0.2625 26.25% MLMG::solve() 11 0.2604 0.2604 0.2604 26.04% Gravity::solve_for_phi() 10 0.2467 0.2467 0.2467 24.67% MLMG::oneIter() 82 0.2454 0.2454 0.2454 24.54% MLMG::mgVcycle() 82 0.2418 0.2418 0.2418 24.18% VisMF::Write(FabArray) 11 0.2011 0.2011 0.2011 20.11% Amr::checkPoint() 3 0.1998 0.1998 0.1998 19.98% AmrLevel::checkPoint() 3 0.1464 0.1464 0.1464 14.64% StateData::checkPoint() 12 0.1464 0.1464 0.1464 14.64% Amr::init() 1 0.1341 0.1341 0.1341 13.41% MLCellLinOp::smooth() 1640 0.1182 0.1182 0.1182 11.82% MLCellLinOp::applyBC() 4433 0.1106 0.1106 0.1106 11.06% MLMG::mgVcycle_bottom 82 0.07559 0.07559 0.07559 7.56% MLMG::actualBottomSolve() 82 0.07556 0.07556 0.07556 7.56% MLCGSolver::bicgstab 82 0.07484 0.07484 0.07484 7.48% Castro::clean_state() 62 0.05885 0.05885 0.05885 5.88% Amr::writePlotFile() 2 0.05741 0.05741 0.05741 5.74% Amr::initialInit() 1 0.05431 0.05431 0.05431 5.43% Amr::FinalizeInit() 1 0.04915 0.04915 0.04915 4.91% AmrLevel::FillPatch() 41 0.04775 0.04775 0.04775 4.77% Castro::post_init() 1 0.04761 0.04761 0.04761 4.76% Gravity::multilevel_solve_for_new_phi() 1 0.04525 0.04525 0.04525 4.53% Gravity::actual_multilevel_solve() 1 0.04524 0.04524 0.04524 4.52% FillPatchIterator::Initialize 41 0.04356 0.04356 0.04356 4.36% FillPatchIterator::FillFromLevel0() 41 0.042 0.042 0.042 4.20% FillPatchSingleLevel 41 0.04195 0.04195 0.04195 4.19% StateDataPhysBCFunct::() 41 0.03793 0.03793 0.03793 3.79% MLCellLinOp::apply() 1142 0.0371 0.0371 0.0371 3.71% MLMG::mgVcycle_down::0 82 0.0337 0.0337 0.0337 3.37% MLPoisson::Fsmooth() 3280 0.03312 0.03312 0.03312 3.31% FabArray::FillBoundary() 4023 0.03195 0.03195 0.03195 3.19% FillBoundary_nowait() 4023 0.03113 0.03113 0.03113 3.11% StateData::FillBoundary(geom) 328 0.02636 0.02636 0.02636 2.64% Castro::computeTemp() 63 0.02536 0.02536 0.02536 2.54% MLMG::mgVcycle_up::0 82 0.02535 0.02535 0.02535 2.53% Castro::initialize_do_advance() 10 0.0227 0.0227 0.0227 2.27% MLCellLinOp::correctionResidual() 492 0.02251 0.02251 0.02251 2.25% amrex::Dot() 1114 0.02107 0.02107 0.02107 2.11% MLMG:computeResOfCorrection() 410 0.01982 0.01982 0.01982 1.98% Castro::normalize_species() 62 0.01924 0.01924 0.01924 1.92% Castro::do_old_sources() 10 0.01871 0.01871 0.01871 1.87% Gravity::get_new_grav_vector() 11 0.01772 0.01772 0.01772 1.77% MLPoisson::define() 11 0.01677 0.01677 0.01677 1.68% MLMG::mgVcycle_down::1 82 0.01631 0.01631 0.01631 1.63% Castro::construct_old_gravity() 10 0.01526 0.01526 0.01526 1.53% Gravity::get_old_grav_vector() 10 0.01525 0.01525 0.01525 1.53% amrex::Copy() 1029 0.01508 0.01508 0.01508 1.51% MLMG::mgVcycle_down::2 82 0.01507 0.01507 0.01507 1.51% MLMG::mgVcycle_down::3 82 0.01478 0.01478 0.01478 1.48% FabArray::norminf() 743 0.01472 0.01472 0.01472 1.47% FabArray::ParallelCopy() 861 0.01464 0.01464 0.01464 1.46% MLMG::mgVcycle_down::4 82 0.01454 0.01454 0.01454 1.45% Castro::initialize_advance() 10 0.01444 0.01444 0.01444 1.44% FabArray::ParallelCopy_nowait() 861 0.01437 0.01437 0.01437 1.44% FabArray::setVal() 1144 0.01344 0.01344 0.01344 1.34% Castro::do_new_sources() 10 0.01269 0.01269 0.01269 1.27% MLCGSolver::ParallelAllReduce 1514 0.01265 0.01265 0.01265 1.27% Castro::expand_state() 10 0.01222 0.01222 0.01222 1.22% MLMG::addInterpCorrection() 410 0.01217 0.01217 0.01217 1.22% Castro::enforce_min_density() 62 0.01179 0.01179 0.01179 1.18% MLMG::mgVcycle_up::1 82 0.01178 0.01178 0.01178 1.18% MLMG::mgVcycle_up::4 82 0.01173 0.01173 0.01173 1.17% amrex::average_down 410 0.01152 0.01152 0.01152 1.15% MLMG::mgVcycle_up::2 82 0.01146 0.01146 0.01146 1.15% MLCellLinOp::defineAuxData() 11 0.01142 0.01142 0.01142 1.14% MLMG::mgVcycle_up::3 82 0.01127 0.01127 0.01127 1.13% Castro::post_timestep() 10 0.01122 0.01122 0.01122 1.12% MLPoisson::Fapply() 1142 0.01054 0.01054 0.01054 1.05% Gravity::fill_multipole_BCs() 11 0.009525 0.009525 0.009525 0.95% FabArray::Saxpy() 813 0.008394 0.008394 0.008394 0.84% FabArray::Xpay() 821 0.008261 0.008261 0.008261 0.83% Castro::reset_internal_energy(MultiFab) 63 0.008111 0.008111 0.008111 0.81% MLCellLinOp::solutionResidual() 93 0.007529 0.007529 0.007529 0.75% Castro::estTimeStep() 21 0.006379 0.006379 0.006379 0.64% MLMG::computeResidual() 82 0.006262 0.006262 0.006262 0.63% Amr::InitializeInit() 1 0.005155 0.005155 0.005155 0.52% Amr::defBaseLevel() 1 0.00515 0.00515 0.00515 0.51% MLCellLinOp::defineBC() 11 0.0051 0.0051 0.0051 0.51% MLMG::prepareForSolve() 11 0.004974 0.004974 0.004974 0.50% BndryData::define() 11 0.004856 0.004856 0.004856 0.49% FabArray::LinComb() 557 0.004648 0.004648 0.004648 0.46% Castro::initData() 1 0.004471 0.004471 0.004471 0.45% amrex::Add() 164 0.004432 0.004432 0.004432 0.44% Castro::construct_new_source() 50 0.003385 0.003385 0.003385 0.34% Castro::enforce_speed_limit() 62 0.003344 0.003344 0.003344 0.33% Castro::construct_new_gravity_source() 10 0.00334 0.00334 0.00334 0.33% Castro::computeNewDt() 9 0.002951 0.002951 0.002951 0.30% Castro::construct_old_source() 50 0.002822 0.002822 0.002822 0.28% Castro::construct_old_gravity_source() 10 0.002803 0.002803 0.002803 0.28% Castro::finalize_do_advance() 10 0.002409 0.002409 0.002409 0.24% MLMG::ResNormInf() 93 0.002158 0.002158 0.002158 0.22% Castro::apply_source_to_state() 20 0.00186 0.00186 0.00186 0.19% check_for_negative_density() 10 0.001845 0.001845 0.001845 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001765 0.001765 0.001765 0.18% Castro::reset_internal_energy(Fab) 504 0.001669 0.001669 0.001669 0.17% MLMG::getGradSolution() 11 0.001545 0.001545 0.001545 0.15% MLCellLinOp::compGrad() 11 0.001539 0.001539 0.001539 0.15% MLCellLinOp::setLevelBC() 11 0.00147 0.00147 0.00147 0.15% FabArrayBase::getCPC() 1323 0.00145 0.00145 0.00145 0.14% FabArray::mult() 43 0.001355 0.001355 0.001355 0.14% FabArray::setDomainBndry() 41 0.00135 0.00135 0.00135 0.14% MLMG::computeMLResidual() 11 0.001309 0.001309 0.001309 0.13% Castro::check_for_nan() 20 0.001276 0.001276 0.001276 0.13% MLPoisson::prepareForSolve() 11 0.001271 0.001271 0.001271 0.13% MultiFab::contains_nan() 20 0.001264 0.001264 0.001264 0.13% MLCellLinOp::prepareForSolve() 11 0.001263 0.001263 0.001263 0.13% Castro::post_regrid() 1 0.001227 0.001227 0.001227 0.12% Castro::computeInitialDt() 2 0.001074 0.001074 0.001074 0.11% Gravity::update_max_rhs() 11 0.000979 0.000979 0.000979 0.10% FabArrayBase::getFB() 4023 0.0007784 0.0007784 0.0007784 0.08% FabArrayBase::CPC::define() 454 0.0006792 0.0006792 0.0006792 0.07% Castro::finalize_advance() 10 0.000596 0.000596 0.000596 0.06% Castro::Castro() 1 0.0005715 0.0005715 0.0005715 0.06% Amr::InitAmr() 1 0.0004982 0.0004982 0.0004982 0.05% Gravity::swapTimeLevels() 10 0.0004431 0.0004431 0.0004431 0.04% MLMG::MLResNormInf() 11 0.0003333 0.0003333 0.0003333 0.03% MultiFab::max() 11 0.000326 0.000326 0.000326 0.03% Castro::buildMetrics() 1 0.0002756 0.0002756 0.0002756 0.03% MLMG::MLRhsNormInf() 11 0.0002219 0.0002219 0.0002219 0.02% MLLinOp::define() 11 0.0002184 0.0002184 0.0002184 0.02% MLLinOp::defineGrids() 11 0.000209 0.000209 0.000209 0.02% Castro::create_source_corrector() 10 0.0001712 0.0001712 0.0001712 0.02% FabArrayBase::FB::FB() 56 9.501e-05 9.501e-05 9.501e-05 0.01% Castro::enforce_consistent_e() 1 7.043e-05 7.043e-05 7.043e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.264e-05 6.264e-05 6.264e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.537e-05 5.537e-05 5.537e-05 0.01% makeSFC 55 4.284e-05 4.284e-05 4.284e-05 0.00% StateData::define() 4 3.75e-05 3.75e-05 3.75e-05 0.00% Castro::swap_state_time_levels() 10 3.601e-05 3.601e-05 3.601e-05 0.00% Castro::initMFs() 1 2.694e-05 2.694e-05 2.694e-05 0.00% Amr::writeSmallPlotFile() 1 2.647e-05 2.647e-05 2.647e-05 0.00% DistributionMapping::Distribute() 56 1.741e-05 1.741e-05 1.741e-05 0.00% Amr::initSubcycle() 1 9.768e-06 9.768e-06 9.768e-06 0.00% AmrLevel::checkPointPost() 3 4.823e-06 4.823e-06 4.823e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.759e-06 4.759e-06 4.759e-06 0.00% Castro::retry_advance_ctu() 10 4.558e-06 4.558e-06 4.558e-06 0.00% Gravity::set_mass_offset() 11 3.931e-06 3.931e-06 3.931e-06 0.00% AmrLevel::checkPointPre() 3 3.088e-06 3.088e-06 3.088e-06 0.00% Castro::FluxRegCrseInit 10 3.072e-06 3.072e-06 3.072e-06 0.00% Castro::FluxRegFineAdd() 10 2.272e-06 2.272e-06 2.272e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.019e-06 2.019e-06 2.019e-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 83 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 146 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 937 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1616 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3203 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 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1899 B 2048 KiB Gravity::solve_for_phi() 80 80 504 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 292 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 186 KiB 671 KiB Castro::estTimeStep() 21 21 3113 B 480 KiB VisMF::Write(FabArray) 656 656 3061 B 320 KiB Castro::normalize_species() 62 62 6266 B 320 KiB amrex::average_down 1067 1067 1172 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1041 B 257 KiB amrex::Dot() 1360 1360 3101 B 160 KiB FabArray::norminf() 907 907 2172 B 160 KiB check_for_negative_density() 10 10 283 B 160 KiB Castro::initData() 1 1 46 B 160 KiB MultiFab::max() 11 11 50 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3128 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 39 B 10 KiB FillBoundary_nowait() 760 760 265 B 9648 B MLCellLinOp::applyBC() 8866 8866 202 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3871 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 108 B 1472 B MLCellLinOp::defineBC() 66 66 329 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 540 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 35 KiB 8192 KiB VisMF::Write(FabArray) 744 744 459 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3128 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 39 B 10 KiB FillBoundary_nowait() 760 760 265 B 9648 B MLCellLinOp::applyBC() 4433 4433 200 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3871 B 6144 B Gravity::get_new_grav_vector() 3 3 2907 B 3072 B StateData::FillBoundary(geom) 1992 1992 37 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 266 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 22 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-35-ge63308431a58) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-35-ge63308431a58) initialized Starting run at 08:31:28 UTC on 2023-08-22. Successfully read inputs file ... Castro git describe: 23.08-6-g41b0e2684 AMReX git describe: 23.08-35-ge63308431 Microphysics git describe: 23.08-14-g00c8a99c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.514545418 Restart time = 0.049640288 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.056073432 [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.049129835 [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.058638033 [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.081105886 [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.079784667 [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.029392346 seconds Ending run at 08:31:29 UTC on 2023-08-22. Run time = 0.404791678 Run time without initialization = 0.354567307 Average number of zones advanced per microsecond: 3.697 Average number of zones advanced per microsecond per rank: 3.697 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4048 ... 0.4048 ... 0.4048 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1354 0.1354 0.1354 33.44% VisMF::Read() 3 0.03827 0.03827 0.03827 9.45% MLCellLinOp::applyBC() 1946 0.03402 0.03402 0.03402 8.40% VisMF::Write(FabArray) 1 0.02803 0.02803 0.02803 6.92% MLPoisson::Fsmooth() 1440 0.01444 0.01444 0.01444 3.57% FillBoundary_nowait() 1766 0.01293 0.01293 0.01293 3.19% StateData::FillBoundary(geom) 160 0.01275 0.01275 0.01275 3.15% Castro::normalize_species() 30 0.009116 0.009116 0.009116 2.25% amrex::Dot() 484 0.009047 0.009047 0.009047 2.23% amrex::Copy() 463 0.007244 0.007244 0.007244 1.79% Castro::computeTemp() 30 0.00691 0.00691 0.00691 1.71% Castro::enforce_min_density() 30 0.006876 0.006876 0.006876 1.70% FabArray::setVal() 537 0.006568 0.006568 0.006568 1.62% FabArray::norminf() 326 0.006436 0.006436 0.006436 1.59% FabArray::ParallelCopy_nowait() 380 0.006141 0.006141 0.006141 1.52% Gravity::fill_multipole_BCs() 6 0.005573 0.005573 0.005573 1.38% MLCellLinOp::defineAuxData() 6 0.005447 0.005447 0.005447 1.35% StateDataPhysBCFunct::() 20 0.00494 0.00494 0.00494 1.22% Amr::restart() 1 0.004727 0.004727 0.004727 1.17% MLPoisson::Fapply() 500 0.004603 0.004603 0.004603 1.14% FabArray::Saxpy() 355 0.003779 0.003779 0.003779 0.93% FabArray::Xpay() 361 0.00363 0.00363 0.00363 0.90% MLMG::addInterpCorrection() 180 0.00309 0.00309 0.00309 0.76% Castro::estTimeStep() 10 0.002754 0.002754 0.002754 0.68% amrex::average_down 180 0.002716 0.002716 0.002716 0.67% FabArray::LinComb() 242 0.00227 0.00227 0.00227 0.56% BndryData::define() 6 0.002091 0.002091 0.002091 0.52% Castro::reset_internal_energy(MultiFab) 30 0.002046 0.002046 0.002046 0.51% amrex::Add() 72 0.001894 0.001894 0.001894 0.47% Castro::construct_new_gravity_source() 5 0.001736 0.001736 0.001736 0.43% Castro::construct_old_gravity_source() 5 0.001459 0.001459 0.001459 0.36% Amr::writePlotFile() 1 0.001177 0.001177 0.001177 0.29% Castro::enforce_speed_limit() 30 0.001108 0.001108 0.001108 0.27% MLCGSolver::bicgstab 36 0.0009725 0.0009725 0.0009725 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009497 0.0009497 0.0009497 0.23% Gravity::actual_solve_with_mlmg() 6 0.000832 0.000832 0.000832 0.21% Castro::reset_internal_energy(Fab) 240 0.0008092 0.0008092 0.0008092 0.20% MLCellLinOp::setLevelBC() 6 0.0007907 0.0007907 0.0007907 0.20% MLCellLinOp::prepareForSolve() 6 0.0007104 0.0007104 0.0007104 0.18% FabArray::setDomainBndry() 20 0.0007046 0.0007046 0.0007046 0.17% FabArray::mult() 22 0.0006868 0.0006868 0.0006868 0.17% check_for_negative_density() 5 0.0006686 0.0006686 0.0006686 0.17% MultiFab::contains_nan() 10 0.0006564 0.0006564 0.0006564 0.16% MLCellLinOp::compGrad() 6 0.0006027 0.0006027 0.0006027 0.15% MLMG::prepareForSolve() 6 0.0005413 0.0005413 0.0005413 0.13% MLCellLinOp::smooth() 720 0.0004936 0.0004936 0.0004936 0.12% Amr::InitAmr() 1 0.0004178 0.0004178 0.0004178 0.10% FabArrayBase::CPC::define() 244 0.0004137 0.0004137 0.0004137 0.10% FabArray::FillBoundary() 1766 0.000362 0.000362 0.000362 0.09% FabArrayBase::getCPC() 632 0.0003594 0.0003594 0.0003594 0.09% FabArrayBase::getFB() 1766 0.0003269 0.0003269 0.0003269 0.08% Gravity::get_old_grav_vector() 5 0.0003167 0.0003167 0.0003167 0.08% main() 1 0.0002763 0.0002763 0.0002763 0.07% Gravity::get_new_grav_vector() 5 0.0002624 0.0002624 0.0002624 0.06% MultiFab::max() 6 0.0002038 0.0002038 0.0002038 0.05% Amr::coarseTimeStep() 5 0.0002017 0.0002017 0.0002017 0.05% MLCellLinOp::apply() 500 0.0001994 0.0001994 0.0001994 0.05% AmrLevel::FillPatch() 20 0.0001603 0.0001603 0.0001603 0.04% MLCGSolver::ParallelAllReduce 659 0.0001314 0.0001314 0.0001314 0.03% FabArray::ParallelCopy() 380 0.0001151 0.0001151 0.0001151 0.03% MLCellLinOp::defineBC() 6 0.0001099 0.0001099 0.0001099 0.03% FillPatchIterator::Initialize 20 0.0001061 0.0001061 0.0001061 0.03% MLCellLinOp::correctionResidual() 216 9.898e-05 9.898e-05 9.898e-05 0.02% Castro::construct_new_source() 25 9.21e-05 9.21e-05 9.21e-05 0.02% Castro::subcycle_advance_ctu() 5 8.928e-05 8.928e-05 8.928e-05 0.02% MLLinOp::defineGrids() 6 8.74e-05 8.74e-05 8.74e-05 0.02% MLMG::mgVcycle() 36 8.529e-05 8.529e-05 8.529e-05 0.02% Castro::create_source_corrector() 5 8.158e-05 8.158e-05 8.158e-05 0.02% Amr::timeStep() 5 7.712e-05 7.712e-05 7.712e-05 0.02% AmrLevel::restart() 1 7.649e-05 7.649e-05 7.649e-05 0.02% Gravity::solve_for_phi() 5 7.213e-05 7.213e-05 7.213e-05 0.02% Castro::finalize_do_advance() 5 6.761e-05 6.761e-05 6.761e-05 0.02% Castro::initialize_do_advance() 5 6.383e-05 6.383e-05 6.383e-05 0.02% StateData::restartDoit() 4 6.293e-05 6.293e-05 6.293e-05 0.02% Gravity::update_max_rhs() 6 6.06e-05 6.06e-05 6.06e-05 0.01% FabArrayBase::FB::FB() 26 5.916e-05 5.916e-05 5.916e-05 0.01% MLMG:computeResOfCorrection() 180 5.597e-05 5.597e-05 5.597e-05 0.01% Castro::do_advance_ctu() 5 4.519e-05 4.519e-05 4.519e-05 0.01% MLMG::actualBottomSolve() 36 4.451e-05 4.451e-05 4.451e-05 0.01% Castro::initialize_advance() 5 4.094e-05 4.094e-05 4.094e-05 0.01% MLMG::mgVcycle_down::0 36 3.894e-05 3.894e-05 3.894e-05 0.01% MLMG::solve() 6 3.648e-05 3.648e-05 3.648e-05 0.01% MLMG::mgVcycle_down::1 36 3.613e-05 3.613e-05 3.613e-05 0.01% Castro::post_timestep() 5 3.515e-05 3.515e-05 3.515e-05 0.01% MLMG::mgVcycle_down::2 36 3.454e-05 3.454e-05 3.454e-05 0.01% MLMG::mgVcycle_down::4 36 3.341e-05 3.341e-05 3.341e-05 0.01% Castro::clean_state() 30 3.222e-05 3.222e-05 3.222e-05 0.01% MLMG::mgVcycle_down::3 36 3.188e-05 3.188e-05 3.188e-05 0.01% Castro::advance() 5 3.182e-05 3.182e-05 3.182e-05 0.01% Castro::initMFs() 1 2.989e-05 2.989e-05 2.989e-05 0.01% MLMG::mgVcycle_up::4 36 2.877e-05 2.877e-05 2.877e-05 0.01% Castro::do_new_sources() 5 2.842e-05 2.842e-05 2.842e-05 0.01% Castro::finalize_advance() 5 2.814e-05 2.814e-05 2.814e-05 0.01% Amr::writeSmallPlotFile() 1 2.809e-05 2.809e-05 2.809e-05 0.01% Castro::post_restart() 1 2.767e-05 2.767e-05 2.767e-05 0.01% Castro::buildMetrics() 1 2.658e-05 2.658e-05 2.658e-05 0.01% Castro::construct_old_source() 25 2.566e-05 2.566e-05 2.566e-05 0.01% MLMG::oneIter() 36 2.458e-05 2.458e-05 2.458e-05 0.01% MLPoisson::define() 6 2.423e-05 2.423e-05 2.423e-05 0.01% Castro::swap_state_time_levels() 5 2.375e-05 2.375e-05 2.375e-05 0.01% MLCellLinOp::solutionResidual() 42 2.357e-05 2.357e-05 2.357e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.253e-05 2.253e-05 2.253e-05 0.01% MLMG::mgVcycle_up::3 36 2.222e-05 2.222e-05 2.222e-05 0.01% MLMG::mgVcycle_up::2 36 2.105e-05 2.105e-05 2.105e-05 0.01% MLMG::mgVcycle_up::0 36 2.096e-05 2.096e-05 2.096e-05 0.01% MLMG::mgVcycle_up::1 36 2.037e-05 2.037e-05 2.037e-05 0.01% MLMG::ResNormInf() 42 1.813e-05 1.813e-05 1.813e-05 0.00% MLMG::mgVcycle_bottom 36 1.625e-05 1.625e-05 1.625e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.61e-05 1.61e-05 1.61e-05 0.00% FillPatchSingleLevel 20 1.567e-05 1.567e-05 1.567e-05 0.00% MLMG::computeResidual() 36 1.558e-05 1.558e-05 1.558e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.306e-05 1.306e-05 1.306e-05 0.00% makeSFC 30 1.25e-05 1.25e-05 1.25e-05 0.00% Castro::construct_new_gravity() 5 1.246e-05 1.246e-05 1.246e-05 0.00% Castro::do_old_sources() 5 1.128e-05 1.128e-05 1.128e-05 0.00% Amr::initSubcycle() 1 9.967e-06 9.967e-06 9.967e-06 0.00% DistributionMapping::Distribute() 31 9.731e-06 9.731e-06 9.731e-06 0.00% Gravity::actual_multilevel_solve() 1 7.978e-06 7.978e-06 7.978e-06 0.00% Castro::check_for_nan() 10 7.158e-06 7.158e-06 7.158e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.784e-06 6.784e-06 6.784e-06 0.00% Castro::construct_old_gravity() 5 6.364e-06 6.364e-06 6.364e-06 0.00% Castro::apply_source_to_state() 10 5.888e-06 5.888e-06 5.888e-06 0.00% MLLinOp::define() 6 5.121e-06 5.121e-06 5.121e-06 0.00% Gravity::swapTimeLevels() 5 4.54e-06 4.54e-06 4.54e-06 0.00% MLPoisson::prepareForSolve() 6 4.456e-06 4.456e-06 4.456e-06 0.00% Castro::computeNewDt() 5 3.851e-06 3.851e-06 3.851e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.85e-06 3.85e-06 3.85e-06 0.00% MLMG::computeMLResidual() 6 3.757e-06 3.757e-06 3.757e-06 0.00% MLMG::getGradSolution() 6 3.526e-06 3.526e-06 3.526e-06 0.00% Castro::expand_state() 5 2.605e-06 2.605e-06 2.605e-06 0.00% MLMG::MLResNormInf() 6 2.582e-06 2.582e-06 2.582e-06 0.00% MLMG::MLRhsNormInf() 6 2.344e-06 2.344e-06 2.344e-06 0.00% Castro::retry_advance_ctu() 5 2.087e-06 2.087e-06 2.087e-06 0.00% Gravity::set_mass_offset() 6 2.081e-06 2.081e-06 2.081e-06 0.00% Castro::FluxRegCrseInit 5 1.461e-06 1.461e-06 1.461e-06 0.00% Castro::FluxRegFineAdd() 5 1.429e-06 1.429e-06 1.429e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.169e-06 1.169e-06 1.169e-06 0.00% Amr::init() 1 1.034e-06 1.034e-06 1.034e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4048 0.4048 0.4048 100.00% Amr::coarseTimeStep() 5 0.3249 0.3249 0.3249 80.26% Amr::timeStep() 5 0.3231 0.3231 0.3231 79.82% Castro::advance() 5 0.3172 0.3172 0.3172 78.35% Castro::subcycle_advance_ctu() 5 0.3097 0.3097 0.3097 76.49% Castro::do_advance_ctu() 5 0.3096 0.3096 0.3096 76.47% Castro::construct_ctu_hydro_source() 5 0.1402 0.1402 0.1402 34.62% Castro::construct_new_gravity() 5 0.1334 0.1334 0.1334 32.96% Gravity::solve_phi_with_mlmg() 6 0.1312 0.1312 0.1312 32.42% Gravity::solve_for_phi() 5 0.1257 0.1257 0.1257 31.05% Gravity::actual_solve_with_mlmg() 6 0.1254 0.1254 0.1254 30.98% MLMG::solve() 6 0.1138 0.1138 0.1138 28.11% MLMG::oneIter() 36 0.1064 0.1064 0.1064 26.28% MLMG::mgVcycle() 36 0.1049 0.1049 0.1049 25.90% MLCellLinOp::smooth() 720 0.05102 0.05102 0.05102 12.60% Amr::init() 1 0.04969 0.04969 0.04969 12.27% Amr::restart() 1 0.04969 0.04969 0.04969 12.27% MLCellLinOp::applyBC() 1946 0.0477 0.0477 0.0477 11.78% AmrLevel::restart() 1 0.03861 0.03861 0.03861 9.54% StateData::restartDoit() 4 0.03853 0.03853 0.03853 9.52% VisMF::Read() 3 0.03827 0.03827 0.03827 9.45% MLMG::mgVcycle_bottom 36 0.03287 0.03287 0.03287 8.12% MLMG::actualBottomSolve() 36 0.03285 0.03285 0.03285 8.12% MLCGSolver::bicgstab 36 0.03253 0.03253 0.03253 8.04% Amr::writePlotFile() 1 0.02947 0.02947 0.02947 7.28% VisMF::Write(FabArray) 1 0.02803 0.02803 0.02803 6.92% Castro::clean_state() 30 0.0269 0.0269 0.0269 6.64% AmrLevel::FillPatch() 20 0.02262 0.02262 0.02262 5.59% FillPatchIterator::Initialize 20 0.02056 0.02056 0.02056 5.08% FillPatchIterator::FillFromLevel0() 20 0.01975 0.01975 0.01975 4.88% FillPatchSingleLevel 20 0.01973 0.01973 0.01973 4.87% StateDataPhysBCFunct::() 20 0.01769 0.01769 0.01769 4.37% MLCellLinOp::apply() 500 0.01615 0.01615 0.01615 3.99% MLMG::mgVcycle_down::0 36 0.01454 0.01454 0.01454 3.59% MLPoisson::Fsmooth() 1440 0.01444 0.01444 0.01444 3.57% FabArray::FillBoundary() 1766 0.01368 0.01368 0.01368 3.38% FillBoundary_nowait() 1766 0.01332 0.01332 0.01332 3.29% StateData::FillBoundary(geom) 160 0.01275 0.01275 0.01275 3.15% MLMG::mgVcycle_up::0 36 0.01099 0.01099 0.01099 2.71% Castro::initialize_do_advance() 5 0.01087 0.01087 0.01087 2.69% Castro::computeTemp() 30 0.009765 0.009765 0.009765 2.41% MLCellLinOp::correctionResidual() 216 0.009715 0.009715 0.009715 2.40% Castro::do_old_sources() 5 0.009255 0.009255 0.009255 2.29% MLPoisson::define() 6 0.009122 0.009122 0.009122 2.25% Castro::normalize_species() 30 0.009116 0.009116 0.009116 2.25% amrex::Dot() 484 0.009047 0.009047 0.009047 2.23% MLMG:computeResOfCorrection() 180 0.008545 0.008545 0.008545 2.11% Castro::construct_old_gravity() 5 0.007751 0.007751 0.007751 1.91% Gravity::get_old_grav_vector() 5 0.007745 0.007745 0.007745 1.91% Gravity::get_new_grav_vector() 5 0.007616 0.007616 0.007616 1.88% amrex::Copy() 463 0.007244 0.007244 0.007244 1.79% Castro::initialize_advance() 5 0.007207 0.007207 0.007207 1.78% MLMG::mgVcycle_down::1 36 0.007112 0.007112 0.007112 1.76% Castro::enforce_min_density() 30 0.006876 0.006876 0.006876 1.70% FabArray::ParallelCopy() 380 0.00665 0.00665 0.00665 1.64% FabArray::setVal() 537 0.006568 0.006568 0.006568 1.62% FabArray::ParallelCopy_nowait() 380 0.006535 0.006535 0.006535 1.61% MLMG::mgVcycle_down::2 36 0.006533 0.006533 0.006533 1.61% FabArray::norminf() 326 0.006436 0.006436 0.006436 1.59% MLMG::mgVcycle_down::3 36 0.00636 0.00636 0.00636 1.57% Castro::do_new_sources() 5 0.006345 0.006345 0.006345 1.57% MLMG::mgVcycle_down::4 36 0.006293 0.006293 0.006293 1.55% MLCellLinOp::defineAuxData() 6 0.00621 0.00621 0.00621 1.53% Castro::post_restart() 1 0.006163 0.006163 0.006163 1.52% Castro::expand_state() 5 0.005962 0.005962 0.005962 1.47% Castro::post_timestep() 5 0.005861 0.005861 0.005861 1.45% Gravity::multilevel_solve_for_new_phi() 1 0.005799 0.005799 0.005799 1.43% Gravity::actual_multilevel_solve() 1 0.005783 0.005783 0.005783 1.43% Gravity::fill_multipole_BCs() 6 0.005696 0.005696 0.005696 1.41% MLCGSolver::ParallelAllReduce 659 0.005492 0.005492 0.005492 1.36% MLMG::addInterpCorrection() 180 0.00539 0.00539 0.00539 1.33% MLMG::mgVcycle_up::4 36 0.005139 0.005139 0.005139 1.27% MLMG::mgVcycle_up::1 36 0.005071 0.005071 0.005071 1.25% amrex::average_down 180 0.005047 0.005047 0.005047 1.25% MLMG::mgVcycle_up::2 36 0.004966 0.004966 0.004966 1.23% MLMG::mgVcycle_up::3 36 0.004902 0.004902 0.004902 1.21% MLPoisson::Fapply() 500 0.004603 0.004603 0.004603 1.14% FabArray::Saxpy() 355 0.003779 0.003779 0.003779 0.93% FabArray::Xpay() 361 0.00363 0.00363 0.00363 0.90% MLCellLinOp::solutionResidual() 42 0.003469 0.003469 0.003469 0.86% Castro::reset_internal_energy(MultiFab) 30 0.002855 0.002855 0.002855 0.71% MLCellLinOp::defineBC() 6 0.002767 0.002767 0.002767 0.68% MLMG::prepareForSolve() 6 0.002762 0.002762 0.002762 0.68% Castro::estTimeStep() 10 0.002754 0.002754 0.002754 0.68% MLMG::computeResidual() 36 0.00272 0.00272 0.00272 0.67% BndryData::define() 6 0.002657 0.002657 0.002657 0.66% FabArray::LinComb() 242 0.00227 0.00227 0.00227 0.56% amrex::Add() 72 0.001894 0.001894 0.001894 0.47% Castro::construct_new_source() 25 0.001828 0.001828 0.001828 0.45% Castro::construct_new_gravity_source() 5 0.001736 0.001736 0.001736 0.43% Castro::computeNewDt() 5 0.001588 0.001588 0.001588 0.39% Castro::construct_old_source() 25 0.001485 0.001485 0.001485 0.37% Castro::construct_old_gravity_source() 5 0.001459 0.001459 0.001459 0.36% Castro::finalize_do_advance() 5 0.001237 0.001237 0.001237 0.31% Castro::enforce_speed_limit() 30 0.001108 0.001108 0.001108 0.27% MLMG::ResNormInf() 42 0.0009971 0.0009971 0.0009971 0.25% Castro::apply_source_to_state() 10 0.0009577 0.0009577 0.0009577 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009497 0.0009497 0.0009497 0.23% MLMG::getGradSolution() 6 0.0008788 0.0008788 0.0008788 0.22% MLCellLinOp::compGrad() 6 0.0008753 0.0008753 0.0008753 0.22% Castro::reset_internal_energy(Fab) 240 0.0008092 0.0008092 0.0008092 0.20% MLCellLinOp::setLevelBC() 6 0.0007907 0.0007907 0.0007907 0.20% FabArrayBase::getCPC() 632 0.0007731 0.0007731 0.0007731 0.19% MLMG::computeMLResidual() 6 0.0007684 0.0007684 0.0007684 0.19% MLPoisson::prepareForSolve() 6 0.0007149 0.0007149 0.0007149 0.18% MLCellLinOp::prepareForSolve() 6 0.0007104 0.0007104 0.0007104 0.18% FabArray::setDomainBndry() 20 0.0007046 0.0007046 0.0007046 0.17% Gravity::update_max_rhs() 6 0.0007031 0.0007031 0.0007031 0.17% FabArray::mult() 22 0.0006868 0.0006868 0.0006868 0.17% check_for_negative_density() 5 0.0006686 0.0006686 0.0006686 0.17% Castro::check_for_nan() 10 0.0006636 0.0006636 0.0006636 0.16% MultiFab::contains_nan() 10 0.0006564 0.0006564 0.0006564 0.16% Amr::InitAmr() 1 0.0004278 0.0004278 0.0004278 0.11% FabArrayBase::CPC::define() 244 0.0004137 0.0004137 0.0004137 0.10% FabArrayBase::getFB() 1766 0.000386 0.000386 0.000386 0.10% Castro::finalize_advance() 5 0.0002932 0.0002932 0.0002932 0.07% Gravity::swapTimeLevels() 5 0.000231 0.000231 0.000231 0.06% MultiFab::max() 6 0.0002038 0.0002038 0.0002038 0.05% MLMG::MLResNormInf() 6 0.0001893 0.0001893 0.0001893 0.05% Castro::buildMetrics() 1 0.0001516 0.0001516 0.0001516 0.04% MLLinOp::define() 6 0.0001213 0.0001213 0.0001213 0.03% MLMG::MLRhsNormInf() 6 0.0001195 0.0001195 0.0001195 0.03% MLLinOp::defineGrids() 6 0.0001162 0.0001162 0.0001162 0.03% Castro::create_source_corrector() 5 8.158e-05 8.158e-05 8.158e-05 0.02% FabArrayBase::FB::FB() 26 5.916e-05 5.916e-05 5.916e-05 0.01% Castro::initMFs() 1 2.989e-05 2.989e-05 2.989e-05 0.01% Amr::writeSmallPlotFile() 1 2.809e-05 2.809e-05 2.809e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.762e-05 2.762e-05 2.762e-05 0.01% Castro::swap_state_time_levels() 5 2.375e-05 2.375e-05 2.375e-05 0.01% makeSFC 30 2.083e-05 2.083e-05 2.083e-05 0.01% Amr::initSubcycle() 1 9.967e-06 9.967e-06 9.967e-06 0.00% DistributionMapping::Distribute() 31 9.731e-06 9.731e-06 9.731e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.252e-06 5.252e-06 5.252e-06 0.00% Castro::retry_advance_ctu() 5 2.087e-06 2.087e-06 2.087e-06 0.00% Gravity::set_mass_offset() 6 2.081e-06 2.081e-06 2.081e-06 0.00% Castro::FluxRegCrseInit 5 1.461e-06 1.461e-06 1.461e-06 0.00% Castro::FluxRegFineAdd() 5 1.429e-06 1.429e-06 1.429e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.169e-06 1.169e-06 1.169e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 206 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 153 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1114 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2045 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 6753 KiB 14 MiB MLMG::prepareForSolve() 361 361 3451 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 198 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 192 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6739 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 24 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3459 B 2048 KiB Gravity::solve_for_phi() 40 40 634 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 317 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 204 KiB 671 KiB Castro::estTimeStep() 10 10 3257 B 480 KiB VisMF::Write(FabArray) 112 112 1356 B 320 KiB Castro::normalize_species() 30 30 7329 B 320 KiB amrex::average_down 469 469 1212 B 257 KiB MLMG::addInterpCorrection() 468 468 1134 B 257 KiB amrex::Dot() 592 592 3288 B 160 KiB FabArray::norminf() 398 398 2342 B 160 KiB check_for_negative_density() 5 5 260 B 160 KiB MultiFab::max() 6 6 78 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3346 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 278 B 9648 B MLCellLinOp::applyBC() 3892 3892 218 B 9344 B amrex::Copy() 56 56 5929 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 116 B 1472 B MLCellLinOp::defineBC() 36 36 357 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1188 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 200 KiB 3584 KiB VisMF::Read() 24 24 183 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3346 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 278 B 9648 B MLCellLinOp::applyBC() 1946 1946 217 B 9328 B amrex::Copy() 56 56 5929 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2646 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 43 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 526 B 1296 B amrex::average_down 37 37 221 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-35-ge63308431a58) finalized