Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-24-gf08b40b34bd4) initialized Starting run at 07:26:41 UTC on 2023-09-26. Successfully read inputs file ... Castro git describe: 23.09-34-g7561a65ab AMReX git describe: 23.09-24-gf08b40b34 Microphysics git describe: 23.09-14-g9c08d809 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.051106286 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028637159 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.052523621 [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.05181027 [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.076580065 [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.080188862 [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.067568067 [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.050060354 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.052447459 [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.073594117 [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.076054924 [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.058574541 [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.060121408 [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.049360195 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028315147 seconds Ending run at 07:26:42 UTC on 2023-09-26. Run time = 0.909494752 Run time without initialization = 0.777849057 Average number of zones advanced per microsecond: 3.370 Average number of zones advanced per microsecond per rank: 3.370 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9095 ... 0.9095 ... 0.9095 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2725 0.2725 0.2725 29.96% VisMF::Write(FabArray) 11 0.2003 0.2003 0.2003 22.02% MLCellLinOp::applyBC() 4379 0.07724 0.07724 0.07724 8.49% MLPoisson::Fsmooth() 3240 0.03278 0.03278 0.03278 3.60% FillBoundary_nowait() 3974 0.03085 0.03085 0.03085 3.39% StateData::FillBoundary(geom) 328 0.02669 0.02669 0.02669 2.93% amrex::Dot() 1100 0.02084 0.02084 0.02084 2.29% Castro::normalize_species() 62 0.0193 0.0193 0.0193 2.12% Castro::computeTemp() 63 0.01555 0.01555 0.01555 1.71% amrex::Copy() 1019 0.01506 0.01506 0.01506 1.66% FabArray::norminf() 734 0.0146 0.0146 0.0146 1.60% FabArray::setVal() 1135 0.01352 0.01352 0.01352 1.49% FabArray::ParallelCopy_nowait() 851 0.01338 0.01338 0.01338 1.47% Castro::enforce_min_density() 62 0.013 0.013 0.013 1.43% StateDataPhysBCFunct::() 41 0.01096 0.01096 0.01096 1.21% MLCellLinOp::defineAuxData() 11 0.01061 0.01061 0.01061 1.17% MLPoisson::Fapply() 1128 0.01054 0.01054 0.01054 1.16% Gravity::fill_multipole_BCs() 11 0.009421 0.009421 0.009421 1.04% FabArray::Saxpy() 803 0.008377 0.008377 0.008377 0.92% FabArray::Xpay() 811 0.008217 0.008217 0.008217 0.90% MLMG::addInterpCorrection() 405 0.006822 0.006822 0.006822 0.75% amrex::average_down 405 0.006079 0.006079 0.006079 0.67% Castro::estTimeStep() 21 0.005791 0.005791 0.005791 0.64% Castro::reset_internal_energy(MultiFab) 63 0.005116 0.005116 0.005116 0.56% Amr::checkPoint() 3 0.004786 0.004786 0.004786 0.53% FabArray::LinComb() 550 0.004603 0.004603 0.004603 0.51% amrex::Add() 162 0.004373 0.004373 0.004373 0.48% Castro::enforce_speed_limit() 62 0.003949 0.003949 0.003949 0.43% BndryData::define() 11 0.003935 0.003935 0.003935 0.43% Castro::construct_new_gravity_source() 10 0.0034 0.0034 0.0034 0.37% Castro::construct_old_gravity_source() 10 0.002817 0.002817 0.002817 0.31% MLCGSolver::bicgstab 81 0.002197 0.002197 0.002197 0.24% Amr::writePlotFile() 2 0.002 0.002 0.002 0.22% check_for_negative_density() 10 0.001939 0.001939 0.001939 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001847 0.001847 0.001847 0.20% Castro::reset_internal_energy(Fab) 504 0.001668 0.001668 0.001668 0.18% Castro::initData() 1 0.001577 0.001577 0.001577 0.17% Gravity::actual_solve_with_mlmg() 11 0.001531 0.001531 0.001531 0.17% MLCellLinOp::setLevelBC() 11 0.001495 0.001495 0.001495 0.16% FabArray::mult() 43 0.00136 0.00136 0.00136 0.15% FabArray::setDomainBndry() 41 0.001343 0.001343 0.001343 0.15% MLCellLinOp::prepareForSolve() 11 0.001313 0.001313 0.001313 0.14% MultiFab::contains_nan() 20 0.001259 0.001259 0.001259 0.14% MLCellLinOp::compGrad() 11 0.001064 0.001064 0.001064 0.12% MLCellLinOp::smooth() 1620 0.001047 0.001047 0.001047 0.12% MLMG::prepareForSolve() 11 0.0009826 0.0009826 0.0009826 0.11% FabArray::FillBoundary() 3974 0.000845 0.000845 0.000845 0.09% FabArrayBase::getCPC() 1313 0.0007772 0.0007772 0.0007772 0.09% FabArrayBase::CPC::define() 454 0.0006897 0.0006897 0.0006897 0.08% FabArrayBase::getFB() 3974 0.0006271 0.0006271 0.0006271 0.07% Gravity::get_new_grav_vector() 11 0.0005919 0.0005919 0.0005919 0.07% Amr::InitAmr() 1 0.0004833 0.0004833 0.0004833 0.05% Gravity::get_old_grav_vector() 10 0.0004791 0.0004791 0.0004791 0.05% MLCellLinOp::apply() 1128 0.0004665 0.0004665 0.0004665 0.05% Amr::coarseTimeStep() 10 0.0003396 0.0003396 0.0003396 0.04% AmrLevel::FillPatch() 41 0.0003394 0.0003394 0.0003394 0.04% MultiFab::max() 11 0.00033 0.00033 0.00033 0.04% main() 1 0.0002867 0.0002867 0.0002867 0.03% MLCGSolver::ParallelAllReduce 1495 0.0002825 0.0002825 0.0002825 0.03% FabArray::ParallelCopy() 851 0.0002548 0.0002548 0.0002548 0.03% MLCellLinOp::correctionResidual() 486 0.0002267 0.0002267 0.0002267 0.02% MLCellLinOp::defineBC() 11 0.0002264 0.0002264 0.0002264 0.02% FillPatchIterator::Initialize 41 0.0002209 0.0002209 0.0002209 0.02% MLMG::mgVcycle() 81 0.0001951 0.0001951 0.0001951 0.02% MLLinOp::defineGrids() 11 0.0001657 0.0001657 0.0001657 0.02% Castro::create_source_corrector() 10 0.0001655 0.0001655 0.0001655 0.02% Castro::subcycle_advance_ctu() 10 0.0001638 0.0001638 0.0001638 0.02% Gravity::solve_for_phi() 10 0.0001626 0.0001626 0.0001626 0.02% Amr::timeStep() 10 0.0001565 0.0001565 0.0001565 0.02% Gravity::update_max_rhs() 11 0.0001278 0.0001278 0.0001278 0.01% MLMG:computeResOfCorrection() 405 0.0001264 0.0001264 0.0001264 0.01% StateData::checkPoint() 12 0.0001147 0.0001147 0.0001147 0.01% Castro::Castro() 1 0.0001027 0.0001027 0.0001027 0.01% MLMG::mgVcycle_down::0 81 8.939e-05 8.939e-05 8.939e-05 0.01% FabArrayBase::FB::FB() 56 8.923e-05 8.923e-05 8.923e-05 0.01% MLMG::actualBottomSolve() 81 8.836e-05 8.836e-05 8.836e-05 0.01% Castro::advance() 10 8.325e-05 8.325e-05 8.325e-05 0.01% MLMG::mgVcycle_down::1 81 7.989e-05 7.989e-05 7.989e-05 0.01% Castro::initialize_advance() 10 7.957e-05 7.957e-05 7.957e-05 0.01% MLMG::mgVcycle_down::4 81 7.818e-05 7.818e-05 7.818e-05 0.01% MLMG::mgVcycle_down::2 81 7.767e-05 7.767e-05 7.767e-05 0.01% MLMG::solve() 11 7.371e-05 7.371e-05 7.371e-05 0.01% MLMG::mgVcycle_down::3 81 7.173e-05 7.173e-05 7.173e-05 0.01% Castro::enforce_consistent_e() 1 7.06e-05 7.06e-05 7.06e-05 0.01% Castro::clean_state() 62 6.988e-05 6.988e-05 6.988e-05 0.01% Castro::post_timestep() 10 6.793e-05 6.793e-05 6.793e-05 0.01% MLMG::mgVcycle_up::4 81 6.586e-05 6.586e-05 6.586e-05 0.01% AmrLevel::checkPoint() 3 6.428e-05 6.428e-05 6.428e-05 0.01% MLMG::oneIter() 81 6.4e-05 6.4e-05 6.4e-05 0.01% Castro::finalize_advance() 10 6.375e-05 6.375e-05 6.375e-05 0.01% Castro::initialize_do_advance() 10 5.916e-05 5.916e-05 5.916e-05 0.01% MLMG::mgVcycle_up::3 81 4.97e-05 4.97e-05 4.97e-05 0.01% MLMG::mgVcycle_up::0 81 4.956e-05 4.956e-05 4.956e-05 0.01% MLCellLinOp::solutionResidual() 92 4.888e-05 4.888e-05 4.888e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.734e-05 4.734e-05 4.734e-05 0.01% Castro::do_advance_ctu() 10 4.673e-05 4.673e-05 4.673e-05 0.01% MLMG::mgVcycle_up::1 81 4.641e-05 4.641e-05 4.641e-05 0.01% MLMG::mgVcycle_up::2 81 4.607e-05 4.607e-05 4.607e-05 0.01% Castro::swap_state_time_levels() 10 4.484e-05 4.484e-05 4.484e-05 0.00% Castro::construct_new_source() 50 4.358e-05 4.358e-05 4.358e-05 0.00% Castro::finalize_do_advance() 10 4.355e-05 4.355e-05 4.355e-05 0.00% Castro::do_new_sources() 10 4.353e-05 4.353e-05 4.353e-05 0.00% StateData::define() 4 3.912e-05 3.912e-05 3.912e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.687e-05 3.687e-05 3.687e-05 0.00% FillPatchSingleLevel 41 3.591e-05 3.591e-05 3.591e-05 0.00% MLMG::mgVcycle_bottom 81 3.526e-05 3.526e-05 3.526e-05 0.00% MLMG::computeResidual() 81 3.299e-05 3.299e-05 3.299e-05 0.00% MLMG::ResNormInf() 92 3.075e-05 3.075e-05 3.075e-05 0.00% Castro::initMFs() 1 3.028e-05 3.028e-05 3.028e-05 0.00% Amr::writeSmallPlotFile() 1 2.755e-05 2.755e-05 2.755e-05 0.00% Castro::construct_new_gravity() 10 2.524e-05 2.524e-05 2.524e-05 0.00% makeSFC 55 2.504e-05 2.504e-05 2.504e-05 0.00% Castro::buildMetrics() 1 2.494e-05 2.494e-05 2.494e-05 0.00% Amr::defBaseLevel() 1 2.375e-05 2.375e-05 2.375e-05 0.00% MLPoisson::define() 11 2.173e-05 2.173e-05 2.173e-05 0.00% Castro::do_old_sources() 10 2.111e-05 2.111e-05 2.111e-05 0.00% Amr::FinalizeInit() 1 1.881e-05 1.881e-05 1.881e-05 0.00% Castro::construct_old_source() 50 1.818e-05 1.818e-05 1.818e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.794e-05 1.794e-05 1.794e-05 0.00% MLLinOp::define() 11 1.704e-05 1.704e-05 1.704e-05 0.00% DistributionMapping::Distribute() 56 1.631e-05 1.631e-05 1.631e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.389e-05 1.389e-05 1.389e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.352e-05 1.352e-05 1.352e-05 0.00% Castro::check_for_nan() 20 1.302e-05 1.302e-05 1.302e-05 0.00% Castro::construct_old_gravity() 10 1.161e-05 1.161e-05 1.161e-05 0.00% Amr::initSubcycle() 1 1.135e-05 1.135e-05 1.135e-05 0.00% Castro::apply_source_to_state() 20 1.078e-05 1.078e-05 1.078e-05 0.00% MLMG::computeMLResidual() 11 8.486e-06 8.486e-06 8.486e-06 0.00% Gravity::swapTimeLevels() 10 8.43e-06 8.43e-06 8.43e-06 0.00% Gravity::actual_multilevel_solve() 1 8.039e-06 8.039e-06 8.039e-06 0.00% MLPoisson::prepareForSolve() 11 8.007e-06 8.007e-06 8.007e-06 0.00% Castro::computeNewDt() 9 6.981e-06 6.981e-06 6.981e-06 0.00% Castro::expand_state() 10 5.948e-06 5.948e-06 5.948e-06 0.00% MLMG::getGradSolution() 11 5.883e-06 5.883e-06 5.883e-06 0.00% Amr::InitializeInit() 1 4.823e-06 4.823e-06 4.823e-06 0.00% Gravity::set_mass_offset() 11 4.575e-06 4.575e-06 4.575e-06 0.00% MLMG::MLRhsNormInf() 11 4.486e-06 4.486e-06 4.486e-06 0.00% AmrLevel::checkPointPost() 3 4.476e-06 4.476e-06 4.476e-06 0.00% Castro::retry_advance_ctu() 10 4.406e-06 4.406e-06 4.406e-06 0.00% Castro::post_init() 1 4.371e-06 4.371e-06 4.371e-06 0.00% MLMG::MLResNormInf() 11 3.884e-06 3.884e-06 3.884e-06 0.00% Castro::computeInitialDt() 2 3.233e-06 3.233e-06 3.233e-06 0.00% Castro::FluxRegCrseInit 10 2.993e-06 2.993e-06 2.993e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.851e-06 2.851e-06 2.851e-06 0.00% Amr::init() 1 2.783e-06 2.783e-06 2.783e-06 0.00% Castro::FluxRegFineAdd() 10 2.301e-06 2.301e-06 2.301e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.21e-06 2.21e-06 2.21e-06 0.00% AmrLevel::checkPointPre() 3 1.861e-06 1.861e-06 1.861e-06 0.00% Castro::post_regrid() 1 1.443e-06 1.443e-06 1.443e-06 0.00% Amr::initialInit() 1 1.055e-06 1.055e-06 1.055e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9095 0.9095 0.9095 100.00% Amr::coarseTimeStep() 10 0.7493 0.7493 0.7493 82.38% Amr::timeStep() 10 0.646 0.646 0.646 71.03% Castro::advance() 10 0.6345 0.6345 0.6345 69.77% Castro::subcycle_advance_ctu() 10 0.6199 0.6199 0.6199 68.15% Castro::do_advance_ctu() 10 0.6197 0.6197 0.6197 68.14% Gravity::solve_phi_with_mlmg() 11 0.2903 0.2903 0.2903 31.91% Castro::construct_ctu_hydro_source() 10 0.2832 0.2832 0.2832 31.14% Gravity::actual_solve_with_mlmg() 11 0.2804 0.2804 0.2804 30.83% Castro::construct_new_gravity() 10 0.2644 0.2644 0.2644 29.07% MLMG::solve() 11 0.2582 0.2582 0.2582 28.39% Gravity::solve_for_phi() 10 0.2483 0.2483 0.2483 27.30% MLMG::oneIter() 81 0.2432 0.2432 0.2432 26.74% MLMG::mgVcycle() 81 0.2396 0.2396 0.2396 26.34% VisMF::Write(FabArray) 11 0.2003 0.2003 0.2003 22.02% Amr::checkPoint() 3 0.1507 0.1507 0.1507 16.57% AmrLevel::checkPoint() 3 0.1459 0.1459 0.1459 16.04% StateData::checkPoint() 12 0.1458 0.1458 0.1458 16.03% Amr::init() 1 0.131 0.131 0.131 14.41% MLCellLinOp::smooth() 1620 0.1173 0.1173 0.1173 12.89% MLCellLinOp::applyBC() 4379 0.1097 0.1097 0.1097 12.06% MLMG::mgVcycle_bottom 81 0.07482 0.07482 0.07482 8.23% MLMG::actualBottomSolve() 81 0.07479 0.07479 0.07479 8.22% MLCGSolver::bicgstab 81 0.07407 0.07407 0.07407 8.14% Castro::clean_state() 62 0.05772 0.05772 0.05772 6.35% Amr::writePlotFile() 2 0.0571 0.0571 0.0571 6.28% Amr::initialInit() 1 0.05113 0.05113 0.05113 5.62% AmrLevel::FillPatch() 41 0.04756 0.04756 0.04756 5.23% Amr::FinalizeInit() 1 0.04615 0.04615 0.04615 5.07% Castro::post_init() 1 0.04471 0.04471 0.04471 4.92% FillPatchIterator::Initialize 41 0.04337 0.04337 0.04337 4.77% Gravity::multilevel_solve_for_new_phi() 1 0.04244 0.04244 0.04244 4.67% Gravity::actual_multilevel_solve() 1 0.04242 0.04242 0.04242 4.66% FillPatchIterator::FillFromLevel0() 41 0.04181 0.04181 0.04181 4.60% FillPatchSingleLevel 41 0.04176 0.04176 0.04176 4.59% StateDataPhysBCFunct::() 41 0.03765 0.03765 0.03765 4.14% MLCellLinOp::apply() 1128 0.03676 0.03676 0.03676 4.04% MLMG::mgVcycle_down::0 81 0.0338 0.0338 0.0338 3.72% MLPoisson::Fsmooth() 3240 0.03278 0.03278 0.03278 3.60% FabArray::FillBoundary() 3974 0.03242 0.03242 0.03242 3.56% FillBoundary_nowait() 3974 0.03157 0.03157 0.03157 3.47% StateData::FillBoundary(geom) 328 0.02669 0.02669 0.02669 2.93% MLMG::mgVcycle_up::0 81 0.02538 0.02538 0.02538 2.79% Castro::initialize_do_advance() 10 0.02312 0.02312 0.02312 2.54% MLCellLinOp::correctionResidual() 486 0.02241 0.02241 0.02241 2.46% Castro::computeTemp() 63 0.02233 0.02233 0.02233 2.46% amrex::Dot() 1100 0.02084 0.02084 0.02084 2.29% MLMG:computeResOfCorrection() 405 0.01973 0.01973 0.01973 2.17% Castro::normalize_species() 62 0.0193 0.0193 0.0193 2.12% Castro::do_old_sources() 10 0.019 0.019 0.019 2.09% Gravity::get_new_grav_vector() 11 0.01795 0.01795 0.01795 1.97% MLPoisson::define() 11 0.01755 0.01755 0.01755 1.93% MLMG::mgVcycle_down::1 81 0.01602 0.01602 0.01602 1.76% Castro::construct_old_gravity() 10 0.01541 0.01541 0.01541 1.69% Gravity::get_old_grav_vector() 10 0.0154 0.0154 0.0154 1.69% amrex::Copy() 1019 0.01506 0.01506 0.01506 1.66% MLMG::mgVcycle_down::2 81 0.01488 0.01488 0.01488 1.64% FabArray::norminf() 734 0.0146 0.0146 0.0146 1.60% MLMG::mgVcycle_down::3 81 0.01449 0.01449 0.01449 1.59% FabArray::ParallelCopy() 851 0.01443 0.01443 0.01443 1.59% MLMG::mgVcycle_down::4 81 0.01438 0.01438 0.01438 1.58% FabArray::ParallelCopy_nowait() 851 0.01417 0.01417 0.01417 1.56% Castro::initialize_advance() 10 0.01398 0.01398 0.01398 1.54% FabArray::setVal() 1135 0.01352 0.01352 0.01352 1.49% Castro::enforce_min_density() 62 0.013 0.013 0.013 1.43% MLCGSolver::ParallelAllReduce 1495 0.01249 0.01249 0.01249 1.37% MLCellLinOp::defineAuxData() 11 0.01212 0.01212 0.01212 1.33% MLMG::addInterpCorrection() 405 0.01196 0.01196 0.01196 1.31% Castro::expand_state() 10 0.0117 0.0117 0.0117 1.29% MLMG::mgVcycle_up::1 81 0.01159 0.01159 0.01159 1.27% MLMG::mgVcycle_up::4 81 0.01157 0.01157 0.01157 1.27% Castro::do_new_sources() 10 0.01148 0.01148 0.01148 1.26% MLMG::mgVcycle_up::2 81 0.01131 0.01131 0.01131 1.24% amrex::average_down 405 0.0113 0.0113 0.0113 1.24% Castro::post_timestep() 10 0.0113 0.0113 0.0113 1.24% MLMG::mgVcycle_up::3 81 0.01111 0.01111 0.01111 1.22% MLPoisson::Fapply() 1128 0.01054 0.01054 0.01054 1.16% Gravity::fill_multipole_BCs() 11 0.009653 0.009653 0.009653 1.06% FabArray::Saxpy() 803 0.008377 0.008377 0.008377 0.92% FabArray::Xpay() 811 0.008217 0.008217 0.008217 0.90% MLCellLinOp::solutionResidual() 92 0.007467 0.007467 0.007467 0.82% Castro::reset_internal_energy(MultiFab) 63 0.006784 0.006784 0.006784 0.75% MLMG::computeResidual() 81 0.006196 0.006196 0.006196 0.68% Castro::estTimeStep() 21 0.005791 0.005791 0.005791 0.64% MLCellLinOp::defineBC() 11 0.005169 0.005169 0.005169 0.57% MLMG::prepareForSolve() 11 0.005112 0.005112 0.005112 0.56% Amr::InitializeInit() 1 0.004982 0.004982 0.004982 0.55% Amr::defBaseLevel() 1 0.004977 0.004977 0.004977 0.55% BndryData::define() 11 0.004943 0.004943 0.004943 0.54% FabArray::LinComb() 550 0.004603 0.004603 0.004603 0.51% amrex::Add() 162 0.004373 0.004373 0.004373 0.48% Castro::initData() 1 0.004311 0.004311 0.004311 0.47% Castro::enforce_speed_limit() 62 0.003949 0.003949 0.003949 0.43% Castro::construct_new_source() 50 0.003444 0.003444 0.003444 0.38% Castro::construct_new_gravity_source() 10 0.0034 0.0034 0.0034 0.37% Castro::construct_old_source() 50 0.002835 0.002835 0.002835 0.31% Castro::construct_old_gravity_source() 10 0.002817 0.002817 0.002817 0.31% Castro::computeNewDt() 9 0.002617 0.002617 0.002617 0.29% MLMG::ResNormInf() 92 0.00216 0.00216 0.00216 0.24% Castro::finalize_do_advance() 10 0.002105 0.002105 0.002105 0.23% check_for_negative_density() 10 0.001939 0.001939 0.001939 0.21% Castro::apply_source_to_state() 20 0.001862 0.001862 0.001862 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001847 0.001847 0.001847 0.20% Castro::reset_internal_energy(Fab) 504 0.001668 0.001668 0.001668 0.18% MLMG::getGradSolution() 11 0.001553 0.001553 0.001553 0.17% MLCellLinOp::compGrad() 11 0.001547 0.001547 0.001547 0.17% MLCellLinOp::setLevelBC() 11 0.001495 0.001495 0.001495 0.16% FabArrayBase::getCPC() 1313 0.001467 0.001467 0.001467 0.16% FabArray::mult() 43 0.00136 0.00136 0.00136 0.15% FabArray::setDomainBndry() 41 0.001343 0.001343 0.001343 0.15% MLPoisson::prepareForSolve() 11 0.001321 0.001321 0.001321 0.15% MLMG::computeMLResidual() 11 0.001313 0.001313 0.001313 0.14% MLCellLinOp::prepareForSolve() 11 0.001313 0.001313 0.001313 0.14% Castro::check_for_nan() 20 0.001272 0.001272 0.001272 0.14% MultiFab::contains_nan() 20 0.001259 0.001259 0.001259 0.14% Castro::computeInitialDt() 2 0.001123 0.001123 0.001123 0.12% Castro::post_regrid() 1 0.00112 0.00112 0.00112 0.12% Gravity::update_max_rhs() 11 0.0009835 0.0009835 0.0009835 0.11% FabArrayBase::getFB() 3974 0.0007164 0.0007164 0.0007164 0.08% FabArrayBase::CPC::define() 454 0.0006897 0.0006897 0.0006897 0.08% Castro::finalize_advance() 10 0.0005994 0.0005994 0.0005994 0.07% Castro::Castro() 1 0.000586 0.000586 0.000586 0.06% Amr::InitAmr() 1 0.0004946 0.0004946 0.0004946 0.05% Gravity::swapTimeLevels() 10 0.0004468 0.0004468 0.0004468 0.05% MultiFab::max() 11 0.00033 0.00033 0.00033 0.04% MLMG::MLResNormInf() 11 0.0003298 0.0003298 0.0003298 0.04% Castro::buildMetrics() 1 0.0002844 0.0002844 0.0002844 0.03% MLLinOp::define() 11 0.0002387 0.0002387 0.0002387 0.03% MLMG::MLRhsNormInf() 11 0.0002244 0.0002244 0.0002244 0.02% MLLinOp::defineGrids() 11 0.0002217 0.0002217 0.0002217 0.02% Castro::create_source_corrector() 10 0.0001655 0.0001655 0.0001655 0.02% FabArrayBase::FB::FB() 56 8.923e-05 8.923e-05 8.923e-05 0.01% Castro::enforce_consistent_e() 1 7.06e-05 7.06e-05 7.06e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.379e-05 5.379e-05 5.379e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.301e-05 5.301e-05 5.301e-05 0.01% Castro::swap_state_time_levels() 10 4.484e-05 4.484e-05 4.484e-05 0.00% makeSFC 55 4.027e-05 4.027e-05 4.027e-05 0.00% StateData::define() 4 3.912e-05 3.912e-05 3.912e-05 0.00% Castro::initMFs() 1 3.028e-05 3.028e-05 3.028e-05 0.00% Amr::writeSmallPlotFile() 1 2.755e-05 2.755e-05 2.755e-05 0.00% DistributionMapping::Distribute() 56 1.631e-05 1.631e-05 1.631e-05 0.00% Amr::initSubcycle() 1 1.135e-05 1.135e-05 1.135e-05 0.00% Gravity::set_mass_offset() 11 4.575e-06 4.575e-06 4.575e-06 0.00% AmrLevel::checkPointPost() 3 4.476e-06 4.476e-06 4.476e-06 0.00% Castro::retry_advance_ctu() 10 4.406e-06 4.406e-06 4.406e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.926e-06 3.926e-06 3.926e-06 0.00% Castro::FluxRegCrseInit 10 2.993e-06 2.993e-06 2.993e-06 0.00% Castro::FluxRegFineAdd() 10 2.301e-06 2.301e-06 2.301e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.21e-06 2.21e-06 2.21e-06 0.00% AmrLevel::checkPointPre() 3 1.861e-06 1.861e-06 1.861e-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 93 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 141 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1011 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1766 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3491 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2092 B 2048 KiB Gravity::solve_for_phi() 80 80 558 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 319 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 203 KiB 671 KiB Castro::estTimeStep() 21 21 3105 B 480 KiB VisMF::Write(FabArray) 656 656 3395 B 320 KiB Castro::normalize_species() 62 62 6912 B 320 KiB amrex::average_down 1054 1054 1247 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1120 B 257 KiB amrex::Dot() 1343 1343 3373 B 160 KiB FabArray::norminf() 896 896 2366 B 160 KiB check_for_negative_density() 10 10 324 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3407 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 296 B 9648 B MLCellLinOp::applyBC() 8758 8758 218 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3915 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 2256 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 118 B 1472 B MLCellLinOp::defineBC() 66 66 359 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 570 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 501 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3408 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 296 B 9648 B MLCellLinOp::applyBC() 4379 4379 216 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3915 B 6144 B Gravity::get_new_grav_vector() 3 3 2901 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 38 B 2256 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 271 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 290 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 896 896 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-24-gf08b40b34bd4) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-24-gf08b40b34bd4) initialized Starting run at 07:26:43 UTC on 2023-09-26. Successfully read inputs file ... Castro git describe: 23.09-34-g7561a65ab AMReX git describe: 23.09-24-gf08b40b34 Microphysics git describe: 23.09-14-g9c08d809 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.510412339 Restart time = 0.05120451 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.056799129 [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.049421629 [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.077054527 [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.079291242 [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.059775661 [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.052345974 seconds Ending run at 07:26:43 UTC on 2023-09-26. Run time = 0.426925093 Run time without initialization = 0.37516145 Average number of zones advanced per microsecond: 3.494 Average number of zones advanced per microsecond per rank: 3.494 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.427 ... 0.427 ... 0.427 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1324 0.1324 0.1324 31.02% VisMF::Read() 3 0.0397 0.0397 0.0397 9.30% MLCellLinOp::applyBC() 1946 0.03405 0.03405 0.03405 7.97% VisMF::Write(FabArray) 1 0.02841 0.02841 0.02841 6.65% Amr::writePlotFile() 1 0.02375 0.02375 0.02375 5.56% MLPoisson::Fsmooth() 1440 0.01441 0.01441 0.01441 3.38% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.06% StateData::FillBoundary(geom) 160 0.01299 0.01299 0.01299 3.04% Castro::normalize_species() 30 0.01046 0.01046 0.01046 2.45% amrex::Dot() 484 0.009075 0.009075 0.009075 2.13% amrex::Copy() 463 0.007264 0.007264 0.007264 1.70% Castro::computeTemp() 30 0.006994 0.006994 0.006994 1.64% FabArray::setVal() 537 0.00661 0.00661 0.00661 1.55% FabArray::norminf() 326 0.006462 0.006462 0.006462 1.51% FabArray::ParallelCopy_nowait() 380 0.006147 0.006147 0.006147 1.44% MLCellLinOp::defineAuxData() 6 0.005693 0.005693 0.005693 1.33% Gravity::fill_multipole_BCs() 6 0.005615 0.005615 0.005615 1.32% Castro::enforce_min_density() 30 0.005168 0.005168 0.005168 1.21% Amr::restart() 1 0.004756 0.004756 0.004756 1.11% MLPoisson::Fapply() 500 0.004639 0.004639 0.004639 1.09% StateDataPhysBCFunct::() 20 0.004508 0.004508 0.004508 1.06% FabArray::Saxpy() 355 0.003788 0.003788 0.003788 0.89% FabArray::Xpay() 361 0.00364 0.00364 0.00364 0.85% MLMG::addInterpCorrection() 180 0.003082 0.003082 0.003082 0.72% Castro::estTimeStep() 10 0.002973 0.002973 0.002973 0.70% amrex::average_down 180 0.002721 0.002721 0.002721 0.64% FabArray::LinComb() 242 0.002285 0.002285 0.002285 0.54% BndryData::define() 6 0.002174 0.002174 0.002174 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002109 0.002109 0.002109 0.49% amrex::Add() 72 0.001892 0.001892 0.001892 0.44% Castro::construct_new_gravity_source() 5 0.001622 0.001622 0.001622 0.38% Castro::construct_old_gravity_source() 5 0.001243 0.001243 0.001243 0.29% Castro::enforce_speed_limit() 30 0.001207 0.001207 0.001207 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009803 0.0009803 0.0009803 0.23% check_for_negative_density() 5 0.0009763 0.0009763 0.0009763 0.23% MLCGSolver::bicgstab 36 0.0009701 0.0009701 0.0009701 0.23% Castro::reset_internal_energy(Fab) 240 0.0008554 0.0008554 0.0008554 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008389 0.0008389 0.0008389 0.20% MLCellLinOp::setLevelBC() 6 0.000808 0.000808 0.000808 0.19% MLCellLinOp::prepareForSolve() 6 0.0007225 0.0007225 0.0007225 0.17% FabArray::mult() 22 0.0006916 0.0006916 0.0006916 0.16% FabArray::setDomainBndry() 20 0.0006829 0.0006829 0.0006829 0.16% MultiFab::contains_nan() 10 0.0006533 0.0006533 0.0006533 0.15% MLCellLinOp::compGrad() 6 0.000585 0.000585 0.000585 0.14% MLMG::prepareForSolve() 6 0.0005385 0.0005385 0.0005385 0.13% MLCellLinOp::smooth() 720 0.0004603 0.0004603 0.0004603 0.11% FabArrayBase::CPC::define() 244 0.0004435 0.0004435 0.0004435 0.10% Amr::InitAmr() 1 0.0003981 0.0003981 0.0003981 0.09% FabArray::FillBoundary() 1766 0.0003809 0.0003809 0.0003809 0.09% FabArrayBase::getCPC() 632 0.0003683 0.0003683 0.0003683 0.09% Gravity::get_old_grav_vector() 5 0.0003492 0.0003492 0.0003492 0.08% Gravity::get_new_grav_vector() 5 0.000286 0.000286 0.000286 0.07% FabArrayBase::getFB() 1766 0.0002701 0.0002701 0.0002701 0.06% main() 1 0.0002565 0.0002565 0.0002565 0.06% Amr::coarseTimeStep() 5 0.0002267 0.0002267 0.0002267 0.05% MultiFab::max() 6 0.0002076 0.0002076 0.0002076 0.05% MLCellLinOp::apply() 500 0.0002016 0.0002016 0.0002016 0.05% AmrLevel::FillPatch() 20 0.0001632 0.0001632 0.0001632 0.04% MLCGSolver::ParallelAllReduce 659 0.0001259 0.0001259 0.0001259 0.03% Castro::subcycle_advance_ctu() 5 0.0001255 0.0001255 0.0001255 0.03% FabArray::ParallelCopy() 380 0.0001174 0.0001174 0.0001174 0.03% MLCellLinOp::defineBC() 6 0.0001147 0.0001147 0.0001147 0.03% MLLinOp::defineGrids() 6 0.0001144 0.0001144 0.0001144 0.03% FillPatchIterator::Initialize 20 0.0001095 0.0001095 0.0001095 0.03% MLCellLinOp::correctionResidual() 216 0.0001002 0.0001002 0.0001002 0.02% MLMG::mgVcycle() 36 8.762e-05 8.762e-05 8.762e-05 0.02% Amr::timeStep() 5 8.418e-05 8.418e-05 8.418e-05 0.02% Castro::create_source_corrector() 5 7.589e-05 7.589e-05 7.589e-05 0.02% Gravity::solve_for_phi() 5 7.348e-05 7.348e-05 7.348e-05 0.02% AmrLevel::restart() 1 7.297e-05 7.297e-05 7.297e-05 0.02% Gravity::update_max_rhs() 6 6.634e-05 6.634e-05 6.634e-05 0.02% StateData::restartDoit() 4 6.467e-05 6.467e-05 6.467e-05 0.02% Castro::initialize_do_advance() 5 6.275e-05 6.275e-05 6.275e-05 0.01% FabArrayBase::FB::FB() 26 5.91e-05 5.91e-05 5.91e-05 0.01% Castro::initialize_advance() 5 5.884e-05 5.884e-05 5.884e-05 0.01% Castro::construct_new_source() 25 5.87e-05 5.87e-05 5.87e-05 0.01% MLMG:computeResOfCorrection() 180 5.73e-05 5.73e-05 5.73e-05 0.01% Castro::advance() 5 5.422e-05 5.422e-05 5.422e-05 0.01% MLMG::mgVcycle_down::0 36 4.488e-05 4.488e-05 4.488e-05 0.01% MLMG::actualBottomSolve() 36 4.41e-05 4.41e-05 4.41e-05 0.01% Castro::do_advance_ctu() 5 4.312e-05 4.312e-05 4.312e-05 0.01% Castro::finalize_do_advance() 5 4.036e-05 4.036e-05 4.036e-05 0.01% MLMG::mgVcycle_down::1 36 3.683e-05 3.683e-05 3.683e-05 0.01% Castro::clean_state() 30 3.601e-05 3.601e-05 3.601e-05 0.01% MLMG::solve() 6 3.522e-05 3.522e-05 3.522e-05 0.01% MLMG::mgVcycle_down::2 36 3.363e-05 3.363e-05 3.363e-05 0.01% MLMG::mgVcycle_down::4 36 3.33e-05 3.33e-05 3.33e-05 0.01% MLMG::mgVcycle_down::3 36 3.181e-05 3.181e-05 3.181e-05 0.01% Castro::finalize_advance() 5 2.938e-05 2.938e-05 2.938e-05 0.01% MLMG::mgVcycle_up::4 36 2.85e-05 2.85e-05 2.85e-05 0.01% Amr::writeSmallPlotFile() 1 2.785e-05 2.785e-05 2.785e-05 0.01% Castro::construct_old_source() 25 2.72e-05 2.72e-05 2.72e-05 0.01% Castro::buildMetrics() 1 2.685e-05 2.685e-05 2.685e-05 0.01% Castro::swap_state_time_levels() 5 2.641e-05 2.641e-05 2.641e-05 0.01% Castro::initMFs() 1 2.446e-05 2.446e-05 2.446e-05 0.01% MLMG::oneIter() 36 2.401e-05 2.401e-05 2.401e-05 0.01% Castro::post_restart() 1 2.243e-05 2.243e-05 2.243e-05 0.01% MLCellLinOp::solutionResidual() 42 2.195e-05 2.195e-05 2.195e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.189e-05 2.189e-05 2.189e-05 0.01% MLMG::mgVcycle_up::0 36 2.169e-05 2.169e-05 2.169e-05 0.01% MLMG::mgVcycle_up::3 36 2.121e-05 2.121e-05 2.121e-05 0.00% MLMG::mgVcycle_up::2 36 1.998e-05 1.998e-05 1.998e-05 0.00% MLMG::mgVcycle_up::1 36 1.932e-05 1.932e-05 1.932e-05 0.00% MLMG::ResNormInf() 42 1.758e-05 1.758e-05 1.758e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.678e-05 1.678e-05 1.678e-05 0.00% MLMG::mgVcycle_bottom 36 1.615e-05 1.615e-05 1.615e-05 0.00% FillPatchSingleLevel 20 1.538e-05 1.538e-05 1.538e-05 0.00% MLMG::computeResidual() 36 1.421e-05 1.421e-05 1.421e-05 0.00% MLPoisson::define() 6 1.382e-05 1.382e-05 1.382e-05 0.00% makeSFC 30 1.342e-05 1.342e-05 1.342e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.272e-05 1.272e-05 1.272e-05 0.00% Castro::construct_new_gravity() 5 1.258e-05 1.258e-05 1.258e-05 0.00% Castro::do_old_sources() 5 1.121e-05 1.121e-05 1.121e-05 0.00% MLLinOp::define() 6 1.096e-05 1.096e-05 1.096e-05 0.00% Castro::do_new_sources() 5 1.035e-05 1.035e-05 1.035e-05 0.00% DistributionMapping::Distribute() 31 9.555e-06 9.555e-06 9.555e-06 0.00% Amr::initSubcycle() 1 9.428e-06 9.428e-06 9.428e-06 0.00% Gravity::actual_multilevel_solve() 1 8e-06 8e-06 8e-06 0.00% Castro::check_for_nan() 10 7.768e-06 7.768e-06 7.768e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.478e-06 7.478e-06 7.478e-06 0.00% Castro::construct_old_gravity() 5 6.714e-06 6.714e-06 6.714e-06 0.00% Castro::apply_source_to_state() 10 5.824e-06 5.824e-06 5.824e-06 0.00% Castro::post_timestep() 5 5.2e-06 5.2e-06 5.2e-06 0.00% MLMG::computeMLResidual() 6 4.495e-06 4.495e-06 4.495e-06 0.00% MLPoisson::prepareForSolve() 6 4.144e-06 4.144e-06 4.144e-06 0.00% Gravity::swapTimeLevels() 5 4.134e-06 4.134e-06 4.134e-06 0.00% Castro::computeNewDt() 5 3.713e-06 3.713e-06 3.713e-06 0.00% MLMG::getGradSolution() 6 3.081e-06 3.081e-06 3.081e-06 0.00% Castro::expand_state() 5 2.986e-06 2.986e-06 2.986e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.842e-06 2.842e-06 2.842e-06 0.00% Gravity::set_mass_offset() 6 2.665e-06 2.665e-06 2.665e-06 0.00% MLMG::MLRhsNormInf() 6 2.411e-06 2.411e-06 2.411e-06 0.00% MLMG::MLResNormInf() 6 2.385e-06 2.385e-06 2.385e-06 0.00% Castro::retry_advance_ctu() 5 2.147e-06 2.147e-06 2.147e-06 0.00% Castro::FluxRegCrseInit 5 1.657e-06 1.657e-06 1.657e-06 0.00% Castro::FluxRegFineAdd() 5 1.443e-06 1.443e-06 1.443e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.135e-06 1.135e-06 1.135e-06 0.00% Amr::init() 1 9.24e-07 9.24e-07 9.24e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4269 0.4269 0.4269 100.00% Amr::coarseTimeStep() 5 0.3226 0.3226 0.3226 75.55% Amr::timeStep() 5 0.3205 0.3205 0.3205 75.08% Castro::advance() 5 0.3148 0.3148 0.3148 73.72% Castro::subcycle_advance_ctu() 5 0.3075 0.3075 0.3075 72.02% Castro::do_advance_ctu() 5 0.3073 0.3073 0.3073 71.99% Castro::construct_ctu_hydro_source() 5 0.1378 0.1378 0.1378 32.28% Castro::construct_new_gravity() 5 0.1341 0.1341 0.1341 31.40% Gravity::solve_phi_with_mlmg() 6 0.1318 0.1318 0.1318 30.88% Gravity::solve_for_phi() 5 0.1262 0.1262 0.1262 29.56% Gravity::actual_solve_with_mlmg() 6 0.126 0.126 0.126 29.51% MLMG::solve() 6 0.1139 0.1139 0.1139 26.68% MLMG::oneIter() 36 0.1065 0.1065 0.1065 24.94% MLMG::mgVcycle() 36 0.105 0.105 0.105 24.58% Amr::writePlotFile() 1 0.05243 0.05243 0.05243 12.28% Amr::init() 1 0.05125 0.05125 0.05125 12.00% Amr::restart() 1 0.05125 0.05125 0.05125 12.00% MLCellLinOp::smooth() 720 0.05107 0.05107 0.05107 11.96% MLCellLinOp::applyBC() 1946 0.04783 0.04783 0.04783 11.20% AmrLevel::restart() 1 0.04005 0.04005 0.04005 9.38% StateData::restartDoit() 4 0.03997 0.03997 0.03997 9.36% VisMF::Read() 3 0.0397 0.0397 0.0397 9.30% MLMG::mgVcycle_bottom 36 0.03291 0.03291 0.03291 7.71% MLMG::actualBottomSolve() 36 0.0329 0.0329 0.0329 7.71% MLCGSolver::bicgstab 36 0.03258 0.03258 0.03258 7.63% VisMF::Write(FabArray) 1 0.02841 0.02841 0.02841 6.65% Castro::clean_state() 30 0.02683 0.02683 0.02683 6.28% AmrLevel::FillPatch() 20 0.02245 0.02245 0.02245 5.26% FillPatchIterator::Initialize 20 0.02039 0.02039 0.02039 4.78% FillPatchIterator::FillFromLevel0() 20 0.0196 0.0196 0.0196 4.59% FillPatchSingleLevel 20 0.01958 0.01958 0.01958 4.59% StateDataPhysBCFunct::() 20 0.0175 0.0175 0.0175 4.10% MLCellLinOp::apply() 500 0.01619 0.01619 0.01619 3.79% MLMG::mgVcycle_down::0 36 0.01468 0.01468 0.01468 3.44% MLPoisson::Fsmooth() 1440 0.01441 0.01441 0.01441 3.38% FabArray::FillBoundary() 1766 0.01378 0.01378 0.01378 3.23% FillBoundary_nowait() 1766 0.0134 0.0134 0.0134 3.14% StateData::FillBoundary(geom) 160 0.01299 0.01299 0.01299 3.04% MLMG::mgVcycle_up::0 36 0.011 0.011 0.011 2.58% Castro::normalize_species() 30 0.01046 0.01046 0.01046 2.45% Castro::computeTemp() 30 0.009959 0.009959 0.009959 2.33% MLCellLinOp::correctionResidual() 216 0.009761 0.009761 0.009761 2.29% Castro::initialize_do_advance() 5 0.009759 0.009759 0.009759 2.29% MLPoisson::define() 6 0.009538 0.009538 0.009538 2.23% Castro::do_old_sources() 5 0.009314 0.009314 0.009314 2.18% amrex::Dot() 484 0.009075 0.009075 0.009075 2.13% MLMG:computeResOfCorrection() 180 0.008588 0.008588 0.008588 2.01% Castro::construct_old_gravity() 5 0.007784 0.007784 0.007784 1.82% Gravity::get_old_grav_vector() 5 0.007777 0.007777 0.007777 1.82% Gravity::get_new_grav_vector() 5 0.007743 0.007743 0.007743 1.81% amrex::Copy() 463 0.007264 0.007264 0.007264 1.70% MLMG::mgVcycle_down::1 36 0.007088 0.007088 0.007088 1.66% Castro::initialize_advance() 5 0.006938 0.006938 0.006938 1.62% Castro::do_new_sources() 5 0.006851 0.006851 0.006851 1.60% FabArray::ParallelCopy() 380 0.006668 0.006668 0.006668 1.56% FabArray::setVal() 537 0.00661 0.00661 0.00661 1.55% FabArray::ParallelCopy_nowait() 380 0.006551 0.006551 0.006551 1.53% MLMG::mgVcycle_down::2 36 0.006521 0.006521 0.006521 1.53% MLCellLinOp::defineAuxData() 6 0.006499 0.006499 0.006499 1.52% FabArray::norminf() 326 0.006462 0.006462 0.006462 1.51% MLMG::mgVcycle_down::3 36 0.006359 0.006359 0.006359 1.49% MLMG::mgVcycle_down::4 36 0.006294 0.006294 0.006294 1.47% Castro::post_restart() 1 0.006269 0.006269 0.006269 1.47% Gravity::multilevel_solve_for_new_phi() 1 0.00589 0.00589 0.00589 1.38% Gravity::actual_multilevel_solve() 1 0.005873 0.005873 0.005873 1.38% Gravity::fill_multipole_BCs() 6 0.005739 0.005739 0.005739 1.34% Castro::post_timestep() 5 0.005693 0.005693 0.005693 1.33% Castro::expand_state() 5 0.005682 0.005682 0.005682 1.33% MLCGSolver::ParallelAllReduce 659 0.005503 0.005503 0.005503 1.29% MLMG::addInterpCorrection() 180 0.005368 0.005368 0.005368 1.26% Castro::enforce_min_density() 30 0.005168 0.005168 0.005168 1.21% MLMG::mgVcycle_up::4 36 0.005133 0.005133 0.005133 1.20% amrex::average_down 180 0.005039 0.005039 0.005039 1.18% MLMG::mgVcycle_up::1 36 0.005038 0.005038 0.005038 1.18% MLMG::mgVcycle_up::2 36 0.004982 0.004982 0.004982 1.17% MLMG::mgVcycle_up::3 36 0.004869 0.004869 0.004869 1.14% MLPoisson::Fapply() 500 0.004639 0.004639 0.004639 1.09% FabArray::Saxpy() 355 0.003788 0.003788 0.003788 0.89% FabArray::Xpay() 361 0.00364 0.00364 0.00364 0.85% MLCellLinOp::solutionResidual() 42 0.003476 0.003476 0.003476 0.81% Castro::estTimeStep() 10 0.002973 0.002973 0.002973 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002965 0.002965 0.002965 0.69% MLCellLinOp::defineBC() 6 0.00287 0.00287 0.00287 0.67% MLMG::prepareForSolve() 6 0.002768 0.002768 0.002768 0.65% BndryData::define() 6 0.002755 0.002755 0.002755 0.65% MLMG::computeResidual() 36 0.002715 0.002715 0.002715 0.64% FabArray::LinComb() 242 0.002285 0.002285 0.002285 0.54% amrex::Add() 72 0.001892 0.001892 0.001892 0.44% Castro::computeNewDt() 5 0.001797 0.001797 0.001797 0.42% Castro::construct_new_source() 25 0.001681 0.001681 0.001681 0.39% Castro::construct_new_gravity_source() 5 0.001622 0.001622 0.001622 0.38% Castro::construct_old_source() 25 0.00127 0.00127 0.00127 0.30% Castro::construct_old_gravity_source() 5 0.001243 0.001243 0.001243 0.29% Castro::finalize_do_advance() 5 0.00122 0.00122 0.00122 0.29% Castro::enforce_speed_limit() 30 0.001207 0.001207 0.001207 0.28% MLMG::ResNormInf() 42 0.001003 0.001003 0.001003 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009803 0.0009803 0.0009803 0.23% check_for_negative_density() 5 0.0009763 0.0009763 0.0009763 0.23% Castro::apply_source_to_state() 10 0.0009657 0.0009657 0.0009657 0.23% MLMG::getGradSolution() 6 0.0008673 0.0008673 0.0008673 0.20% MLCellLinOp::compGrad() 6 0.0008642 0.0008642 0.0008642 0.20% Castro::reset_internal_energy(Fab) 240 0.0008554 0.0008554 0.0008554 0.20% FabArrayBase::getCPC() 632 0.0008118 0.0008118 0.0008118 0.19% MLCellLinOp::setLevelBC() 6 0.000808 0.000808 0.000808 0.19% MLMG::computeMLResidual() 6 0.0007794 0.0007794 0.0007794 0.18% Gravity::update_max_rhs() 6 0.000731 0.000731 0.000731 0.17% MLPoisson::prepareForSolve() 6 0.0007266 0.0007266 0.0007266 0.17% MLCellLinOp::prepareForSolve() 6 0.0007225 0.0007225 0.0007225 0.17% FabArray::mult() 22 0.0006916 0.0006916 0.0006916 0.16% FabArray::setDomainBndry() 20 0.0006829 0.0006829 0.0006829 0.16% Castro::check_for_nan() 10 0.000661 0.000661 0.000661 0.15% MultiFab::contains_nan() 10 0.0006533 0.0006533 0.0006533 0.15% FabArrayBase::CPC::define() 244 0.0004435 0.0004435 0.0004435 0.10% Amr::InitAmr() 1 0.0004076 0.0004076 0.0004076 0.10% FabArrayBase::getFB() 1766 0.0003292 0.0003292 0.0003292 0.08% Castro::finalize_advance() 5 0.0002964 0.0002964 0.0002964 0.07% Gravity::swapTimeLevels() 5 0.0002437 0.0002437 0.0002437 0.06% MultiFab::max() 6 0.0002076 0.0002076 0.0002076 0.05% MLMG::MLResNormInf() 6 0.0001885 0.0001885 0.0001885 0.04% MLLinOp::define() 6 0.0001552 0.0001552 0.0001552 0.04% Castro::buildMetrics() 1 0.0001512 0.0001512 0.0001512 0.04% MLLinOp::defineGrids() 6 0.0001443 0.0001443 0.0001443 0.03% MLMG::MLRhsNormInf() 6 0.0001193 0.0001193 0.0001193 0.03% Castro::create_source_corrector() 5 7.589e-05 7.589e-05 7.589e-05 0.02% FabArrayBase::FB::FB() 26 5.91e-05 5.91e-05 5.91e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.872e-05 2.872e-05 2.872e-05 0.01% Amr::writeSmallPlotFile() 1 2.785e-05 2.785e-05 2.785e-05 0.01% Castro::swap_state_time_levels() 5 2.641e-05 2.641e-05 2.641e-05 0.01% Castro::initMFs() 1 2.446e-05 2.446e-05 2.446e-05 0.01% makeSFC 30 2.124e-05 2.124e-05 2.124e-05 0.00% DistributionMapping::Distribute() 31 9.555e-06 9.555e-06 9.555e-06 0.00% Amr::initSubcycle() 1 9.428e-06 9.428e-06 9.428e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.569e-06 4.569e-06 4.569e-06 0.00% Gravity::set_mass_offset() 6 2.665e-06 2.665e-06 2.665e-06 0.00% Castro::retry_advance_ctu() 5 2.147e-06 2.147e-06 2.147e-06 0.00% Castro::FluxRegCrseInit 5 1.657e-06 1.657e-06 1.657e-06 0.00% Castro::FluxRegFineAdd() 5 1.443e-06 1.443e-06 1.443e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.135e-06 1.135e-06 1.135e-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 192 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 142 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 1033 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1963 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6771 KiB 14 MiB MLMG::prepareForSolve() 361 361 3275 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 188 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 185 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6758 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3401 B 2048 KiB Gravity::solve_for_phi() 40 40 604 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 301 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 194 KiB 671 KiB Castro::estTimeStep() 10 10 3339 B 480 KiB VisMF::Write(FabArray) 112 112 1298 B 320 KiB Castro::normalize_species() 30 30 7974 B 320 KiB amrex::average_down 469 469 1164 B 257 KiB MLMG::addInterpCorrection() 468 468 1069 B 257 KiB amrex::Dot() 592 592 3117 B 160 KiB FabArray::norminf() 398 398 2226 B 160 KiB check_for_negative_density() 5 5 363 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3176 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 3892 3892 206 B 9344 B amrex::Copy() 56 56 5878 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 34 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 110 B 1472 B MLCellLinOp::defineBC() 36 36 339 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1192 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 83 KiB 8192 KiB VisMF::Write(FabArray) 120 120 191 KiB 3584 KiB VisMF::Read() 24 24 179 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3176 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 1946 1946 205 B 9328 B amrex::Copy() 56 56 5878 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2656 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 35 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 512 B 1296 B amrex::average_down 37 37 222 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): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-24-gf08b40b34bd4) finalized