Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-24-gf08b40b34bd4) initialized Starting run at 07:48:00 UTC on 2023-09-27. 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.051072411 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028517119 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.051074502 [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.053041112 [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.081517465 [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.082768788 [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.062976072 [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.050442839 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.069466351 [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.07476 [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.053700773 [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.06590716 [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.069254167 [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.085109637 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028607472 seconds Ending run at 07:48:01 UTC on 2023-09-27. Run time = 0.960238413 Run time without initialization = 0.829291034 Average number of zones advanced per microsecond: 3.161 Average number of zones advanced per microsecond per rank: 3.161 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9603 ... 0.9603 ... 0.9603 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2858 0.2858 0.2858 29.76% VisMF::Write(FabArray) 11 0.2101 0.2101 0.2101 21.87% MLCellLinOp::applyBC() 4379 0.07671 0.07671 0.07671 7.99% MLPoisson::Fsmooth() 3240 0.03253 0.03253 0.03253 3.39% Amr::checkPoint() 3 0.03123 0.03123 0.03123 3.25% FillBoundary_nowait() 3974 0.03095 0.03095 0.03095 3.22% StateData::FillBoundary(geom) 328 0.02688 0.02688 0.02688 2.80% Castro::normalize_species() 62 0.02537 0.02537 0.02537 2.64% amrex::Dot() 1100 0.02067 0.02067 0.02067 2.15% Castro::computeTemp() 63 0.0161 0.0161 0.0161 1.68% amrex::Copy() 1019 0.01504 0.01504 0.01504 1.57% FabArray::norminf() 734 0.0145 0.0145 0.0145 1.51% FabArray::ParallelCopy_nowait() 851 0.01346 0.01346 0.01346 1.40% FabArray::setVal() 1135 0.0134 0.0134 0.0134 1.40% StateDataPhysBCFunct::() 41 0.01114 0.01114 0.01114 1.16% MLPoisson::Fapply() 1128 0.01046 0.01046 0.01046 1.09% MLCellLinOp::defineAuxData() 11 0.01038 0.01038 0.01038 1.08% Castro::enforce_min_density() 62 0.01035 0.01035 0.01035 1.08% Gravity::fill_multipole_BCs() 11 0.009324 0.009324 0.009324 0.97% FabArray::Saxpy() 803 0.008312 0.008312 0.008312 0.87% FabArray::Xpay() 811 0.008212 0.008212 0.008212 0.86% MLMG::addInterpCorrection() 405 0.006748 0.006748 0.006748 0.70% amrex::average_down 405 0.006041 0.006041 0.006041 0.63% Castro::estTimeStep() 21 0.005565 0.005565 0.005565 0.58% Castro::reset_internal_energy(MultiFab) 63 0.005158 0.005158 0.005158 0.54% FabArray::LinComb() 550 0.004556 0.004556 0.004556 0.47% amrex::Add() 162 0.004386 0.004386 0.004386 0.46% BndryData::define() 11 0.003859 0.003859 0.003859 0.40% Castro::enforce_speed_limit() 62 0.003372 0.003372 0.003372 0.35% Castro::construct_new_gravity_source() 10 0.003315 0.003315 0.003315 0.35% Castro::construct_old_gravity_source() 10 0.002778 0.002778 0.002778 0.29% MLCGSolver::bicgstab 81 0.00218 0.00218 0.00218 0.23% Amr::writePlotFile() 2 0.001959 0.001959 0.001959 0.20% check_for_negative_density() 10 0.001778 0.001778 0.001778 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001766 0.001766 0.001766 0.18% Castro::reset_internal_energy(Fab) 504 0.001706 0.001706 0.001706 0.18% Gravity::actual_solve_with_mlmg() 11 0.001536 0.001536 0.001536 0.16% MLCellLinOp::setLevelBC() 11 0.001457 0.001457 0.001457 0.15% Castro::initData() 1 0.001403 0.001403 0.001403 0.15% FabArray::mult() 43 0.001377 0.001377 0.001377 0.14% FabArray::setDomainBndry() 41 0.001352 0.001352 0.001352 0.14% MLCellLinOp::prepareForSolve() 11 0.001275 0.001275 0.001275 0.13% MultiFab::contains_nan() 20 0.001272 0.001272 0.001272 0.13% MLCellLinOp::compGrad() 11 0.001069 0.001069 0.001069 0.11% MLCellLinOp::smooth() 1620 0.001047 0.001047 0.001047 0.11% MLMG::prepareForSolve() 11 0.0009401 0.0009401 0.0009401 0.10% FabArray::FillBoundary() 3974 0.0008306 0.0008306 0.0008306 0.09% FabArrayBase::getCPC() 1313 0.0007875 0.0007875 0.0007875 0.08% FabArrayBase::CPC::define() 454 0.0007055 0.0007055 0.0007055 0.07% FabArrayBase::getFB() 3974 0.0006296 0.0006296 0.0006296 0.07% Gravity::get_new_grav_vector() 11 0.00059 0.00059 0.00059 0.06% Gravity::get_old_grav_vector() 10 0.000481 0.000481 0.000481 0.05% Amr::InitAmr() 1 0.0004704 0.0004704 0.0004704 0.05% MLCellLinOp::apply() 1128 0.0004524 0.0004524 0.0004524 0.05% AmrLevel::FillPatch() 41 0.0003455 0.0003455 0.0003455 0.04% Amr::coarseTimeStep() 10 0.0003431 0.0003431 0.0003431 0.04% MultiFab::max() 11 0.0003334 0.0003334 0.0003334 0.03% MLCGSolver::ParallelAllReduce 1495 0.0002811 0.0002811 0.0002811 0.03% main() 1 0.0002774 0.0002774 0.0002774 0.03% FabArray::ParallelCopy() 851 0.000265 0.000265 0.000265 0.03% FillPatchIterator::Initialize 41 0.0002316 0.0002316 0.0002316 0.02% MLCellLinOp::correctionResidual() 486 0.0002269 0.0002269 0.0002269 0.02% MLCellLinOp::defineBC() 11 0.0002157 0.0002157 0.0002157 0.02% MLMG::mgVcycle() 81 0.0001928 0.0001928 0.0001928 0.02% Castro::subcycle_advance_ctu() 10 0.0001891 0.0001891 0.0001891 0.02% Castro::create_source_corrector() 10 0.0001576 0.0001576 0.0001576 0.02% MLLinOp::defineGrids() 11 0.0001572 0.0001572 0.0001572 0.02% Gravity::solve_for_phi() 10 0.000155 0.000155 0.000155 0.02% Amr::timeStep() 10 0.000149 0.000149 0.000149 0.02% StateData::checkPoint() 12 0.0001358 0.0001358 0.0001358 0.01% MLMG:computeResOfCorrection() 405 0.0001258 0.0001258 0.0001258 0.01% Gravity::update_max_rhs() 11 0.0001221 0.0001221 0.0001221 0.01% AmrLevel::checkPoint() 3 0.0001044 0.0001044 0.0001044 0.01% Castro::Castro() 1 0.0001011 0.0001011 0.0001011 0.01% FabArrayBase::FB::FB() 56 9.619e-05 9.619e-05 9.619e-05 0.01% Castro::initialize_do_advance() 10 9.116e-05 9.116e-05 9.116e-05 0.01% MLMG::actualBottomSolve() 81 9.009e-05 9.009e-05 9.009e-05 0.01% MLMG::mgVcycle_down::0 81 8.981e-05 8.981e-05 8.981e-05 0.01% Castro::initialize_advance() 10 8.962e-05 8.962e-05 8.962e-05 0.01% MLMG::solve() 11 8.942e-05 8.942e-05 8.942e-05 0.01% Castro::advance() 10 8.857e-05 8.857e-05 8.857e-05 0.01% MLMG::mgVcycle_down::1 81 7.724e-05 7.724e-05 7.724e-05 0.01% Castro::clean_state() 62 7.627e-05 7.627e-05 7.627e-05 0.01% MLMG::mgVcycle_down::4 81 7.568e-05 7.568e-05 7.568e-05 0.01% Castro::construct_new_source() 50 7.536e-05 7.536e-05 7.536e-05 0.01% MLMG::mgVcycle_down::2 81 7.505e-05 7.505e-05 7.505e-05 0.01% Castro::enforce_consistent_e() 1 7.157e-05 7.157e-05 7.157e-05 0.01% MLMG::mgVcycle_down::3 81 6.933e-05 6.933e-05 6.933e-05 0.01% Castro::finalize_advance() 10 6.59e-05 6.59e-05 6.59e-05 0.01% MLCellLinOp::solutionResidual() 92 5.965e-05 5.965e-05 5.965e-05 0.01% MLMG::mgVcycle_up::4 81 5.728e-05 5.728e-05 5.728e-05 0.01% Castro::finalize_do_advance() 10 5.367e-05 5.367e-05 5.367e-05 0.01% Castro::do_advance_ctu() 10 5.175e-05 5.175e-05 5.175e-05 0.01% MLMG::oneIter() 81 5.036e-05 5.036e-05 5.036e-05 0.01% MLMG::mgVcycle_up::0 81 4.881e-05 4.881e-05 4.881e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.82e-05 4.82e-05 4.82e-05 0.01% MLMG::mgVcycle_up::3 81 4.664e-05 4.664e-05 4.664e-05 0.00% MLMG::mgVcycle_up::1 81 4.505e-05 4.505e-05 4.505e-05 0.00% MLMG::mgVcycle_up::2 81 4.409e-05 4.409e-05 4.409e-05 0.00% Castro::swap_state_time_levels() 10 4.238e-05 4.238e-05 4.238e-05 0.00% FillPatchSingleLevel 41 3.872e-05 3.872e-05 3.872e-05 0.00% StateData::define() 4 3.831e-05 3.831e-05 3.831e-05 0.00% MLMG::computeResidual() 81 3.524e-05 3.524e-05 3.524e-05 0.00% Amr::writeSmallPlotFile() 1 3.398e-05 3.398e-05 3.398e-05 0.00% MLMG::mgVcycle_bottom 81 3.322e-05 3.322e-05 3.322e-05 0.00% MLMG::ResNormInf() 92 3.079e-05 3.079e-05 3.079e-05 0.00% Castro::initMFs() 1 2.994e-05 2.994e-05 2.994e-05 0.00% makeSFC 55 2.465e-05 2.465e-05 2.465e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.452e-05 2.452e-05 2.452e-05 0.00% Castro::buildMetrics() 1 2.451e-05 2.451e-05 2.451e-05 0.00% Castro::construct_new_gravity() 10 2.409e-05 2.409e-05 2.409e-05 0.00% Amr::defBaseLevel() 1 2.085e-05 2.085e-05 2.085e-05 0.00% Castro::do_old_sources() 10 2.077e-05 2.077e-05 2.077e-05 0.00% MLPoisson::define() 11 1.977e-05 1.977e-05 1.977e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.936e-05 1.936e-05 1.936e-05 0.00% Castro::do_new_sources() 10 1.917e-05 1.917e-05 1.917e-05 0.00% Amr::FinalizeInit() 1 1.84e-05 1.84e-05 1.84e-05 0.00% Castro::construct_old_source() 50 1.816e-05 1.816e-05 1.816e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.765e-05 1.765e-05 1.765e-05 0.00% DistributionMapping::Distribute() 56 1.655e-05 1.655e-05 1.655e-05 0.00% MLLinOp::define() 11 1.538e-05 1.538e-05 1.538e-05 0.00% Castro::check_for_nan() 20 1.347e-05 1.347e-05 1.347e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.258e-05 1.258e-05 1.258e-05 0.00% Castro::construct_old_gravity() 10 1.191e-05 1.191e-05 1.191e-05 0.00% Castro::apply_source_to_state() 20 1.141e-05 1.141e-05 1.141e-05 0.00% Amr::initSubcycle() 1 8.974e-06 8.974e-06 8.974e-06 0.00% MLMG::computeMLResidual() 11 8.607e-06 8.607e-06 8.607e-06 0.00% Gravity::swapTimeLevels() 10 8.322e-06 8.322e-06 8.322e-06 0.00% Gravity::actual_multilevel_solve() 1 7.999e-06 7.999e-06 7.999e-06 0.00% Castro::post_timestep() 10 7.86e-06 7.86e-06 7.86e-06 0.00% MLPoisson::prepareForSolve() 11 7.832e-06 7.832e-06 7.832e-06 0.00% Castro::computeNewDt() 9 7.157e-06 7.157e-06 7.157e-06 0.00% MLMG::getGradSolution() 11 5.98e-06 5.98e-06 5.98e-06 0.00% Castro::expand_state() 10 5.753e-06 5.753e-06 5.753e-06 0.00% AmrLevel::checkPointPost() 3 4.852e-06 4.852e-06 4.852e-06 0.00% Amr::InitializeInit() 1 4.8e-06 4.8e-06 4.8e-06 0.00% Castro::retry_advance_ctu() 10 4.729e-06 4.729e-06 4.729e-06 0.00% Castro::post_init() 1 4.478e-06 4.478e-06 4.478e-06 0.00% MLMG::MLRhsNormInf() 11 4.36e-06 4.36e-06 4.36e-06 0.00% AmrLevel::checkPointPre() 3 4.337e-06 4.337e-06 4.337e-06 0.00% Castro::computeInitialDt() 2 3.976e-06 3.976e-06 3.976e-06 0.00% Gravity::set_mass_offset() 11 3.788e-06 3.788e-06 3.788e-06 0.00% MLMG::MLResNormInf() 11 3.65e-06 3.65e-06 3.65e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.092e-06 3.092e-06 3.092e-06 0.00% Castro::FluxRegCrseInit 10 3.022e-06 3.022e-06 3.022e-06 0.00% Castro::FluxRegFineAdd() 10 2.54e-06 2.54e-06 2.54e-06 0.00% Amr::init() 1 2.434e-06 2.434e-06 2.434e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.303e-06 2.303e-06 2.303e-06 0.00% Castro::post_regrid() 1 1.3e-06 1.3e-06 1.3e-06 0.00% Amr::initialInit() 1 1.247e-06 1.247e-06 1.247e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9603 0.9603 0.9603 100.00% Amr::coarseTimeStep() 10 0.8004 0.8004 0.8004 83.35% Amr::timeStep() 10 0.6612 0.6612 0.6612 68.85% Castro::advance() 10 0.6502 0.6502 0.6502 67.71% Castro::subcycle_advance_ctu() 10 0.6307 0.6307 0.6307 65.68% Castro::do_advance_ctu() 10 0.6306 0.6306 0.6306 65.66% Castro::construct_ctu_hydro_source() 10 0.2965 0.2965 0.2965 30.87% Gravity::solve_phi_with_mlmg() 11 0.2881 0.2881 0.2881 30.01% Gravity::actual_solve_with_mlmg() 11 0.2784 0.2784 0.2784 28.99% Castro::construct_new_gravity() 10 0.2626 0.2626 0.2626 27.34% MLMG::solve() 11 0.2567 0.2567 0.2567 26.73% Gravity::solve_for_phi() 10 0.2467 0.2467 0.2467 25.69% MLMG::oneIter() 81 0.2417 0.2417 0.2417 25.17% MLMG::mgVcycle() 81 0.2381 0.2381 0.2381 24.80% VisMF::Write(FabArray) 11 0.2101 0.2101 0.2101 21.87% Amr::checkPoint() 3 0.1868 0.1868 0.1868 19.45% AmrLevel::checkPoint() 3 0.1555 0.1555 0.1555 16.20% StateData::checkPoint() 12 0.1554 0.1554 0.1554 16.18% Amr::init() 1 0.1304 0.1304 0.1304 13.58% MLCellLinOp::smooth() 1620 0.1167 0.1167 0.1167 12.15% MLCellLinOp::applyBC() 4379 0.1092 0.1092 0.1092 11.37% MLMG::mgVcycle_bottom 81 0.07418 0.07418 0.07418 7.72% MLMG::actualBottomSolve() 81 0.07414 0.07414 0.07414 7.72% MLCGSolver::bicgstab 81 0.07344 0.07344 0.07344 7.65% Castro::clean_state() 62 0.06118 0.06118 0.06118 6.37% Amr::writePlotFile() 2 0.05726 0.05726 0.05726 5.96% Amr::initialInit() 1 0.05064 0.05064 0.05064 5.27% AmrLevel::FillPatch() 41 0.04803 0.04803 0.04803 5.00% Amr::FinalizeInit() 1 0.04574 0.04574 0.04574 4.76% Castro::post_init() 1 0.04428 0.04428 0.04428 4.61% FillPatchIterator::Initialize 41 0.04379 0.04379 0.04379 4.56% FillPatchIterator::FillFromLevel0() 41 0.04221 0.04221 0.04221 4.40% FillPatchSingleLevel 41 0.04216 0.04216 0.04216 4.39% Gravity::multilevel_solve_for_new_phi() 1 0.04191 0.04191 0.04191 4.36% Gravity::actual_multilevel_solve() 1 0.04189 0.04189 0.04189 4.36% StateDataPhysBCFunct::() 41 0.03801 0.03801 0.03801 3.96% MLCellLinOp::apply() 1128 0.03656 0.03656 0.03656 3.81% MLMG::mgVcycle_down::0 81 0.03373 0.03373 0.03373 3.51% MLPoisson::Fsmooth() 3240 0.03253 0.03253 0.03253 3.39% FabArray::FillBoundary() 3974 0.03251 0.03251 0.03251 3.39% FillBoundary_nowait() 3974 0.03168 0.03168 0.03168 3.30% StateData::FillBoundary(geom) 328 0.02688 0.02688 0.02688 2.80% MLMG::mgVcycle_up::0 81 0.02545 0.02545 0.02545 2.65% Castro::normalize_species() 62 0.02537 0.02537 0.02537 2.64% Castro::computeTemp() 63 0.02297 0.02297 0.02297 2.39% MLCellLinOp::correctionResidual() 486 0.02231 0.02231 0.02231 2.32% Castro::initialize_do_advance() 10 0.022 0.022 0.022 2.29% amrex::Dot() 1100 0.02067 0.02067 0.02067 2.15% MLMG:computeResOfCorrection() 405 0.01967 0.01967 0.01967 2.05% Castro::do_old_sources() 10 0.01919 0.01919 0.01919 2.00% Castro::initialize_advance() 10 0.01871 0.01871 0.01871 1.95% Gravity::get_new_grav_vector() 11 0.0178 0.0178 0.0178 1.85% MLPoisson::define() 11 0.01716 0.01716 0.01716 1.79% MLMG::mgVcycle_down::1 81 0.01596 0.01596 0.01596 1.66% Castro::construct_old_gravity() 10 0.01516 0.01516 0.01516 1.58% Gravity::get_old_grav_vector() 10 0.01515 0.01515 0.01515 1.58% amrex::Copy() 1019 0.01504 0.01504 0.01504 1.57% MLMG::mgVcycle_down::2 81 0.01473 0.01473 0.01473 1.53% FabArray::ParallelCopy() 851 0.01452 0.01452 0.01452 1.51% FabArray::norminf() 734 0.0145 0.0145 0.0145 1.51% MLMG::mgVcycle_down::3 81 0.01438 0.01438 0.01438 1.50% FabArray::ParallelCopy_nowait() 851 0.01426 0.01426 0.01426 1.48% MLMG::mgVcycle_down::4 81 0.01425 0.01425 0.01425 1.48% FabArray::setVal() 1135 0.0134 0.0134 0.0134 1.40% MLCGSolver::ParallelAllReduce 1495 0.01242 0.01242 0.01242 1.29% Castro::expand_state() 10 0.01222 0.01222 0.01222 1.27% Castro::do_new_sources() 10 0.01212 0.01212 0.01212 1.26% MLMG::addInterpCorrection() 405 0.01189 0.01189 0.01189 1.24% MLCellLinOp::defineAuxData() 11 0.01185 0.01185 0.01185 1.23% MLMG::mgVcycle_up::1 81 0.01152 0.01152 0.01152 1.20% MLMG::mgVcycle_up::4 81 0.01149 0.01149 0.01149 1.20% amrex::average_down 405 0.01132 0.01132 0.01132 1.18% MLMG::mgVcycle_up::2 81 0.01121 0.01121 0.01121 1.17% MLMG::mgVcycle_up::3 81 0.01103 0.01103 0.01103 1.15% Castro::post_timestep() 10 0.01086 0.01086 0.01086 1.13% MLPoisson::Fapply() 1128 0.01046 0.01046 0.01046 1.09% Castro::enforce_min_density() 62 0.01035 0.01035 0.01035 1.08% Gravity::fill_multipole_BCs() 11 0.009554 0.009554 0.009554 0.99% FabArray::Saxpy() 803 0.008312 0.008312 0.008312 0.87% FabArray::Xpay() 811 0.008212 0.008212 0.008212 0.86% MLCellLinOp::solutionResidual() 92 0.007457 0.007457 0.007457 0.78% Castro::reset_internal_energy(MultiFab) 63 0.006864 0.006864 0.006864 0.71% MLMG::computeResidual() 81 0.006169 0.006169 0.006169 0.64% Castro::estTimeStep() 21 0.005565 0.005565 0.005565 0.58% MLCellLinOp::defineBC() 11 0.005062 0.005062 0.005062 0.53% MLMG::prepareForSolve() 11 0.004964 0.004964 0.004964 0.52% Amr::InitializeInit() 1 0.0049 0.0049 0.0049 0.51% Amr::defBaseLevel() 1 0.004896 0.004896 0.004896 0.51% BndryData::define() 11 0.004847 0.004847 0.004847 0.50% FabArray::LinComb() 550 0.004556 0.004556 0.004556 0.47% amrex::Add() 162 0.004386 0.004386 0.004386 0.46% Castro::initData() 1 0.004234 0.004234 0.004234 0.44% Castro::construct_new_source() 50 0.00339 0.00339 0.00339 0.35% Castro::enforce_speed_limit() 62 0.003372 0.003372 0.003372 0.35% Castro::construct_new_gravity_source() 10 0.003315 0.003315 0.003315 0.35% Castro::construct_old_source() 50 0.002796 0.002796 0.002796 0.29% Castro::construct_old_gravity_source() 10 0.002778 0.002778 0.002778 0.29% Castro::computeNewDt() 9 0.002495 0.002495 0.002495 0.26% MLMG::ResNormInf() 92 0.00215 0.00215 0.00215 0.22% Castro::finalize_do_advance() 10 0.002055 0.002055 0.002055 0.21% Castro::apply_source_to_state() 20 0.001871 0.001871 0.001871 0.19% check_for_negative_density() 10 0.001778 0.001778 0.001778 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001766 0.001766 0.001766 0.18% Castro::reset_internal_energy(Fab) 504 0.001706 0.001706 0.001706 0.18% MLMG::getGradSolution() 11 0.001554 0.001554 0.001554 0.16% MLCellLinOp::compGrad() 11 0.001548 0.001548 0.001548 0.16% FabArrayBase::getCPC() 1313 0.001493 0.001493 0.001493 0.16% MLCellLinOp::setLevelBC() 11 0.001457 0.001457 0.001457 0.15% FabArray::mult() 43 0.001377 0.001377 0.001377 0.14% FabArray::setDomainBndry() 41 0.001352 0.001352 0.001352 0.14% MLMG::computeMLResidual() 11 0.001332 0.001332 0.001332 0.14% Castro::check_for_nan() 20 0.001285 0.001285 0.001285 0.13% MLPoisson::prepareForSolve() 11 0.001283 0.001283 0.001283 0.13% MLCellLinOp::prepareForSolve() 11 0.001275 0.001275 0.001275 0.13% MultiFab::contains_nan() 20 0.001272 0.001272 0.001272 0.13% Castro::post_regrid() 1 0.001142 0.001142 0.001142 0.12% Castro::computeInitialDt() 2 0.001079 0.001079 0.001079 0.11% Gravity::update_max_rhs() 11 0.0009801 0.0009801 0.0009801 0.10% FabArrayBase::getFB() 3974 0.0007258 0.0007258 0.0007258 0.08% FabArrayBase::CPC::define() 454 0.0007055 0.0007055 0.0007055 0.07% Castro::finalize_advance() 10 0.0006054 0.0006054 0.0006054 0.06% Castro::Castro() 1 0.0005788 0.0005788 0.0005788 0.06% Amr::InitAmr() 1 0.0004794 0.0004794 0.0004794 0.05% Gravity::swapTimeLevels() 10 0.0004417 0.0004417 0.0004417 0.05% MLMG::MLResNormInf() 11 0.0003335 0.0003335 0.0003335 0.03% MultiFab::max() 11 0.0003334 0.0003334 0.0003334 0.03% Castro::buildMetrics() 1 0.0002796 0.0002796 0.0002796 0.03% MLLinOp::define() 11 0.0002276 0.0002276 0.0002276 0.02% MLMG::MLRhsNormInf() 11 0.0002233 0.0002233 0.0002233 0.02% MLLinOp::defineGrids() 11 0.0002122 0.0002122 0.0002122 0.02% Castro::create_source_corrector() 10 0.0001576 0.0001576 0.0001576 0.02% FabArrayBase::FB::FB() 56 9.619e-05 9.619e-05 9.619e-05 0.01% Castro::enforce_consistent_e() 1 7.157e-05 7.157e-05 7.157e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.767e-05 5.767e-05 5.767e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.273e-05 5.273e-05 5.273e-05 0.01% Castro::swap_state_time_levels() 10 4.238e-05 4.238e-05 4.238e-05 0.00% makeSFC 55 4.015e-05 4.015e-05 4.015e-05 0.00% StateData::define() 4 3.831e-05 3.831e-05 3.831e-05 0.00% Amr::writeSmallPlotFile() 1 3.398e-05 3.398e-05 3.398e-05 0.00% Castro::initMFs() 1 2.994e-05 2.994e-05 2.994e-05 0.00% DistributionMapping::Distribute() 56 1.655e-05 1.655e-05 1.655e-05 0.00% Amr::initSubcycle() 1 8.974e-06 8.974e-06 8.974e-06 0.00% AmrLevel::checkPointPost() 3 4.852e-06 4.852e-06 4.852e-06 0.00% Castro::retry_advance_ctu() 10 4.729e-06 4.729e-06 4.729e-06 0.00% AmrLevel::checkPointPre() 3 4.337e-06 4.337e-06 4.337e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.141e-06 4.141e-06 4.141e-06 0.00% Gravity::set_mass_offset() 11 3.788e-06 3.788e-06 3.788e-06 0.00% Castro::FluxRegCrseInit 10 3.022e-06 3.022e-06 3.022e-06 0.00% Castro::FluxRegFineAdd() 10 2.54e-06 2.54e-06 2.54e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.303e-06 2.303e-06 2.303e-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 88 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 139 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 983 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1679 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3287 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 192 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 161 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1980 B 2048 KiB Gravity::solve_for_phi() 80 80 525 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 300 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 191 KiB 671 KiB Castro::estTimeStep() 21 21 2824 B 480 KiB VisMF::Write(FabArray) 656 656 3181 B 320 KiB Castro::normalize_species() 62 62 8612 B 320 KiB amrex::average_down 1054 1054 1198 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1061 B 257 KiB amrex::Dot() 1343 1343 3172 B 160 KiB FabArray::norminf() 896 896 2227 B 160 KiB check_for_negative_density() 10 10 291 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3209 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 41 B 10 KiB FillBoundary_nowait() 751 751 282 B 9648 B MLCellLinOp::applyBC() 8758 8758 205 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3883 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 111 B 1472 B MLCellLinOp::defineBC() 66 66 338 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 537 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 57 KiB 8192 KiB VisMF::Write(FabArray) 744 744 476 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3209 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 41 B 10 KiB FillBoundary_nowait() 751 751 282 B 9648 B MLCellLinOp::applyBC() 4379 4379 204 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3883 B 6144 B Gravity::get_new_grav_vector() 3 3 2911 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 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 82 82 271 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 273 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 23 B 400 B FabArray::norminf() 896 896 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-24-gf08b40b34bd4) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-24-gf08b40b34bd4) initialized Starting run at 07:48:02 UTC on 2023-09-27. 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.512787629 Restart time = 0.050071037 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.05757706 [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.047606948 [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.081168059 [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.081151551 [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.053823804 [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.030232094 seconds Ending run at 07:48:02 UTC on 2023-09-27. Run time = 0.402663203 Run time without initialization = 0.352016052 Average number of zones advanced per microsecond: 3.723 Average number of zones advanced per microsecond per rank: 3.723 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4027 ... 0.4027 ... 0.4027 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1331 0.1331 0.1331 33.05% VisMF::Read() 3 0.03867 0.03867 0.03867 9.60% MLCellLinOp::applyBC() 1946 0.03388 0.03388 0.03388 8.41% VisMF::Write(FabArray) 1 0.02891 0.02891 0.02891 7.18% MLPoisson::Fsmooth() 1440 0.01429 0.01429 0.01429 3.55% FillBoundary_nowait() 1766 0.01302 0.01302 0.01302 3.23% StateData::FillBoundary(geom) 160 0.01295 0.01295 0.01295 3.22% Castro::normalize_species() 30 0.009538 0.009538 0.009538 2.37% amrex::Dot() 484 0.009032 0.009032 0.009032 2.24% amrex::Copy() 463 0.007254 0.007254 0.007254 1.80% Castro::computeTemp() 30 0.006572 0.006572 0.006572 1.63% FabArray::setVal() 537 0.006537 0.006537 0.006537 1.62% FabArray::norminf() 326 0.006458 0.006458 0.006458 1.60% FabArray::ParallelCopy_nowait() 380 0.006121 0.006121 0.006121 1.52% MLCellLinOp::defineAuxData() 6 0.005633 0.005633 0.005633 1.40% Gravity::fill_multipole_BCs() 6 0.005446 0.005446 0.005446 1.35% StateDataPhysBCFunct::() 20 0.004865 0.004865 0.004865 1.21% Amr::restart() 1 0.004725 0.004725 0.004725 1.17% MLPoisson::Fapply() 500 0.004613 0.004613 0.004613 1.15% Castro::enforce_min_density() 30 0.004368 0.004368 0.004368 1.08% FabArray::Saxpy() 355 0.003782 0.003782 0.003782 0.94% FabArray::Xpay() 361 0.003623 0.003623 0.003623 0.90% MLMG::addInterpCorrection() 180 0.00305 0.00305 0.00305 0.76% Castro::estTimeStep() 10 0.002743 0.002743 0.002743 0.68% amrex::average_down 180 0.002699 0.002699 0.002699 0.67% FabArray::LinComb() 242 0.002284 0.002284 0.002284 0.57% Castro::enforce_speed_limit() 30 0.002248 0.002248 0.002248 0.56% BndryData::define() 6 0.002128 0.002128 0.002128 0.53% Castro::reset_internal_energy(MultiFab) 30 0.002001 0.002001 0.002001 0.50% amrex::Add() 72 0.001894 0.001894 0.001894 0.47% Castro::construct_new_gravity_source() 5 0.001772 0.001772 0.001772 0.44% Castro::construct_old_gravity_source() 5 0.001494 0.001494 0.001494 0.37% Amr::writePlotFile() 1 0.001156 0.001156 0.001156 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009676 0.0009676 0.0009676 0.24% MLCGSolver::bicgstab 36 0.0009664 0.0009664 0.0009664 0.24% check_for_negative_density() 5 0.0008907 0.0008907 0.0008907 0.22% Castro::reset_internal_energy(Fab) 240 0.0008379 0.0008379 0.0008379 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008286 0.0008286 0.0008286 0.21% MLCellLinOp::setLevelBC() 6 0.0008023 0.0008023 0.0008023 0.20% MLCellLinOp::prepareForSolve() 6 0.0007057 0.0007057 0.0007057 0.18% FabArray::mult() 22 0.0006893 0.0006893 0.0006893 0.17% FabArray::setDomainBndry() 20 0.0006808 0.0006808 0.0006808 0.17% MultiFab::contains_nan() 10 0.0006523 0.0006523 0.0006523 0.16% MLCellLinOp::compGrad() 6 0.0005833 0.0005833 0.0005833 0.14% MLMG::prepareForSolve() 6 0.0005334 0.0005334 0.0005334 0.13% MLCellLinOp::smooth() 720 0.0004535 0.0004535 0.0004535 0.11% FabArrayBase::CPC::define() 244 0.0004343 0.0004343 0.0004343 0.11% Amr::InitAmr() 1 0.0004101 0.0004101 0.0004101 0.10% FabArray::FillBoundary() 1766 0.0003745 0.0003745 0.0003745 0.09% FabArrayBase::getCPC() 632 0.0003717 0.0003717 0.0003717 0.09% Gravity::get_old_grav_vector() 5 0.0003405 0.0003405 0.0003405 0.08% Gravity::get_new_grav_vector() 5 0.000287 0.000287 0.000287 0.07% main() 1 0.000284 0.000284 0.000284 0.07% FabArrayBase::getFB() 1766 0.0002751 0.0002751 0.0002751 0.07% MultiFab::max() 6 0.0002048 0.0002048 0.0002048 0.05% MLCellLinOp::apply() 500 0.0002006 0.0002006 0.0002006 0.05% Amr::coarseTimeStep() 5 0.0001936 0.0001936 0.0001936 0.05% AmrLevel::FillPatch() 20 0.0001642 0.0001642 0.0001642 0.04% MLCGSolver::ParallelAllReduce 659 0.0001229 0.0001229 0.0001229 0.03% FabArray::ParallelCopy() 380 0.0001152 0.0001152 0.0001152 0.03% MLCellLinOp::defineBC() 6 0.0001128 0.0001128 0.0001128 0.03% Castro::subcycle_advance_ctu() 5 0.0001127 0.0001127 0.0001127 0.03% FillPatchIterator::Initialize 20 0.0001083 0.0001083 0.0001083 0.03% Castro::create_source_corrector() 5 9.552e-05 9.552e-05 9.552e-05 0.02% MLCellLinOp::correctionResidual() 216 9.353e-05 9.353e-05 9.353e-05 0.02% MLLinOp::defineGrids() 6 8.922e-05 8.922e-05 8.922e-05 0.02% Amr::timeStep() 5 8.454e-05 8.454e-05 8.454e-05 0.02% MLMG::mgVcycle() 36 8.423e-05 8.423e-05 8.423e-05 0.02% Gravity::solve_for_phi() 5 7.657e-05 7.657e-05 7.657e-05 0.02% AmrLevel::restart() 1 7.004e-05 7.004e-05 7.004e-05 0.02% StateData::restartDoit() 4 6.741e-05 6.741e-05 6.741e-05 0.02% Castro::construct_new_source() 25 6.616e-05 6.616e-05 6.616e-05 0.02% Gravity::update_max_rhs() 6 6.329e-05 6.329e-05 6.329e-05 0.02% Castro::initialize_do_advance() 5 6.18e-05 6.18e-05 6.18e-05 0.02% MLMG:computeResOfCorrection() 180 5.963e-05 5.963e-05 5.963e-05 0.01% FabArrayBase::FB::FB() 26 5.826e-05 5.826e-05 5.826e-05 0.01% Castro::initialize_advance() 5 5.621e-05 5.621e-05 5.621e-05 0.01% Castro::finalize_do_advance() 5 4.616e-05 4.616e-05 4.616e-05 0.01% MLMG::mgVcycle_down::0 36 4.42e-05 4.42e-05 4.42e-05 0.01% Castro::do_advance_ctu() 5 4.345e-05 4.345e-05 4.345e-05 0.01% MLMG::actualBottomSolve() 36 4.096e-05 4.096e-05 4.096e-05 0.01% MLMG::mgVcycle_down::1 36 3.666e-05 3.666e-05 3.666e-05 0.01% Castro::clean_state() 30 3.457e-05 3.457e-05 3.457e-05 0.01% MLMG::solve() 6 3.45e-05 3.45e-05 3.45e-05 0.01% Castro::do_new_sources() 5 3.425e-05 3.425e-05 3.425e-05 0.01% MLMG::mgVcycle_down::2 36 3.325e-05 3.325e-05 3.325e-05 0.01% MLMG::mgVcycle_down::4 36 3.306e-05 3.306e-05 3.306e-05 0.01% FillPatchIterator::FillFromLevel0() 20 3.232e-05 3.232e-05 3.232e-05 0.01% MLMG::mgVcycle_down::3 36 3.139e-05 3.139e-05 3.139e-05 0.01% Castro::advance() 5 2.979e-05 2.979e-05 2.979e-05 0.01% Castro::post_timestep() 5 2.928e-05 2.928e-05 2.928e-05 0.01% Castro::finalize_advance() 5 2.85e-05 2.85e-05 2.85e-05 0.01% MLMG::mgVcycle_up::4 36 2.844e-05 2.844e-05 2.844e-05 0.01% Castro::construct_old_source() 25 2.762e-05 2.762e-05 2.762e-05 0.01% Amr::writeSmallPlotFile() 1 2.706e-05 2.706e-05 2.706e-05 0.01% Castro::swap_state_time_levels() 5 2.526e-05 2.526e-05 2.526e-05 0.01% Castro::buildMetrics() 1 2.513e-05 2.513e-05 2.513e-05 0.01% Castro::initMFs() 1 2.424e-05 2.424e-05 2.424e-05 0.01% Castro::post_restart() 1 2.346e-05 2.346e-05 2.346e-05 0.01% MLMG::oneIter() 36 2.34e-05 2.34e-05 2.34e-05 0.01% MLCellLinOp::solutionResidual() 42 2.167e-05 2.167e-05 2.167e-05 0.01% MLMG::mgVcycle_up::3 36 2.117e-05 2.117e-05 2.117e-05 0.01% MLMG::mgVcycle_up::0 36 2.103e-05 2.103e-05 2.103e-05 0.01% MLMG::mgVcycle_up::2 36 1.998e-05 1.998e-05 1.998e-05 0.00% MLMG::mgVcycle_up::1 36 1.878e-05 1.878e-05 1.878e-05 0.00% MLMG::ResNormInf() 42 1.781e-05 1.781e-05 1.781e-05 0.00% Castro::construct_new_gravity() 5 1.739e-05 1.739e-05 1.739e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.676e-05 1.676e-05 1.676e-05 0.00% FillPatchSingleLevel 20 1.54e-05 1.54e-05 1.54e-05 0.00% MLMG::computeResidual() 36 1.539e-05 1.539e-05 1.539e-05 0.00% MLMG::mgVcycle_bottom 36 1.505e-05 1.505e-05 1.505e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.359e-05 1.359e-05 1.359e-05 0.00% makeSFC 30 1.355e-05 1.355e-05 1.355e-05 0.00% MLPoisson::define() 6 1.353e-05 1.353e-05 1.353e-05 0.00% Castro::do_old_sources() 5 1.124e-05 1.124e-05 1.124e-05 0.00% MLLinOp::define() 6 9.859e-06 9.859e-06 9.859e-06 0.00% Amr::initSubcycle() 1 9.421e-06 9.421e-06 9.421e-06 0.00% DistributionMapping::Distribute() 31 9.334e-06 9.334e-06 9.334e-06 0.00% Gravity::actual_multilevel_solve() 1 8.311e-06 8.311e-06 8.311e-06 0.00% Castro::check_for_nan() 10 8.049e-06 8.049e-06 8.049e-06 0.00% Castro::construct_old_gravity() 5 7.025e-06 7.025e-06 7.025e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.87e-06 6.87e-06 6.87e-06 0.00% Castro::apply_source_to_state() 10 5.743e-06 5.743e-06 5.743e-06 0.00% Castro::computeNewDt() 5 4.421e-06 4.421e-06 4.421e-06 0.00% MLPoisson::prepareForSolve() 6 4.385e-06 4.385e-06 4.385e-06 0.00% Gravity::swapTimeLevels() 5 4.191e-06 4.191e-06 4.191e-06 0.00% MLMG::computeMLResidual() 6 4.081e-06 4.081e-06 4.081e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.051e-06 3.051e-06 3.051e-06 0.00% MLMG::getGradSolution() 6 2.96e-06 2.96e-06 2.96e-06 0.00% Castro::expand_state() 5 2.555e-06 2.555e-06 2.555e-06 0.00% MLMG::MLRhsNormInf() 6 2.448e-06 2.448e-06 2.448e-06 0.00% MLMG::MLResNormInf() 6 2.398e-06 2.398e-06 2.398e-06 0.00% Gravity::set_mass_offset() 6 2.32e-06 2.32e-06 2.32e-06 0.00% Castro::retry_advance_ctu() 5 2.11e-06 2.11e-06 2.11e-06 0.00% Amr::init() 1 1.439e-06 1.439e-06 1.439e-06 0.00% Castro::FluxRegFineAdd() 5 1.367e-06 1.367e-06 1.367e-06 0.00% Castro::FluxRegCrseInit 5 1.342e-06 1.342e-06 1.342e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.164e-06 1.164e-06 1.164e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4027 0.4027 0.4027 100.00% Amr::coarseTimeStep() 5 0.3215 0.3215 0.3215 79.84% Amr::timeStep() 5 0.3196 0.3196 0.3196 79.36% Castro::advance() 5 0.314 0.314 0.314 77.97% Castro::subcycle_advance_ctu() 5 0.3069 0.3069 0.3069 76.21% Castro::do_advance_ctu() 5 0.3068 0.3068 0.3068 76.18% Castro::construct_ctu_hydro_source() 5 0.1389 0.1389 0.1389 34.49% Castro::construct_new_gravity() 5 0.1332 0.1332 0.1332 33.08% Gravity::solve_phi_with_mlmg() 6 0.1309 0.1309 0.1309 32.52% Gravity::solve_for_phi() 5 0.1254 0.1254 0.1254 31.14% Gravity::actual_solve_with_mlmg() 6 0.1253 0.1253 0.1253 31.11% MLMG::solve() 6 0.1134 0.1134 0.1134 28.16% MLMG::oneIter() 36 0.106 0.106 0.106 26.32% MLMG::mgVcycle() 36 0.1045 0.1045 0.1045 25.94% MLCellLinOp::smooth() 720 0.05076 0.05076 0.05076 12.60% Amr::init() 1 0.05012 0.05012 0.05012 12.45% Amr::restart() 1 0.05012 0.05012 0.05012 12.45% MLCellLinOp::applyBC() 1946 0.04761 0.04761 0.04761 11.82% AmrLevel::restart() 1 0.03902 0.03902 0.03902 9.69% StateData::restartDoit() 4 0.03895 0.03895 0.03895 9.67% VisMF::Read() 3 0.03867 0.03867 0.03867 9.60% MLMG::mgVcycle_bottom 36 0.03285 0.03285 0.03285 8.16% MLMG::actualBottomSolve() 36 0.03284 0.03284 0.03284 8.15% MLCGSolver::bicgstab 36 0.03253 0.03253 0.03253 8.08% Amr::writePlotFile() 1 0.03031 0.03031 0.03031 7.53% VisMF::Write(FabArray) 1 0.02891 0.02891 0.02891 7.18% Castro::clean_state() 30 0.0256 0.0256 0.0256 6.36% AmrLevel::FillPatch() 20 0.02275 0.02275 0.02275 5.65% FillPatchIterator::Initialize 20 0.02069 0.02069 0.02069 5.14% FillPatchIterator::FillFromLevel0() 20 0.0199 0.0199 0.0199 4.94% FillPatchSingleLevel 20 0.01987 0.01987 0.01987 4.93% StateDataPhysBCFunct::() 20 0.01782 0.01782 0.01782 4.42% MLCellLinOp::apply() 500 0.01613 0.01613 0.01613 4.01% MLMG::mgVcycle_down::0 36 0.01454 0.01454 0.01454 3.61% MLPoisson::Fsmooth() 1440 0.01429 0.01429 0.01429 3.55% FabArray::FillBoundary() 1766 0.01373 0.01373 0.01373 3.41% FillBoundary_nowait() 1766 0.01335 0.01335 0.01335 3.32% StateData::FillBoundary(geom) 160 0.01295 0.01295 0.01295 3.22% MLMG::mgVcycle_up::0 36 0.01098 0.01098 0.01098 2.73% Castro::initialize_do_advance() 5 0.00993 0.00993 0.00993 2.47% MLCellLinOp::correctionResidual() 216 0.009685 0.009685 0.009685 2.40% Castro::normalize_species() 30 0.009538 0.009538 0.009538 2.37% Castro::computeTemp() 30 0.009412 0.009412 0.009412 2.34% MLPoisson::define() 6 0.009386 0.009386 0.009386 2.33% Castro::do_old_sources() 5 0.009113 0.009113 0.009113 2.26% amrex::Dot() 484 0.009032 0.009032 0.009032 2.24% MLMG:computeResOfCorrection() 180 0.008531 0.008531 0.008531 2.12% Castro::construct_old_gravity() 5 0.007824 0.007824 0.007824 1.94% Gravity::get_old_grav_vector() 5 0.007817 0.007817 0.007817 1.94% Gravity::get_new_grav_vector() 5 0.007711 0.007711 0.007711 1.91% amrex::Copy() 463 0.007254 0.007254 0.007254 1.80% MLMG::mgVcycle_down::1 36 0.00706 0.00706 0.00706 1.75% Castro::initialize_advance() 5 0.006778 0.006778 0.006778 1.68% FabArray::ParallelCopy() 380 0.006641 0.006641 0.006641 1.65% FabArray::setVal() 537 0.006537 0.006537 0.006537 1.62% FabArray::ParallelCopy_nowait() 380 0.006525 0.006525 0.006525 1.62% MLMG::mgVcycle_down::2 36 0.006473 0.006473 0.006473 1.61% FabArray::norminf() 326 0.006458 0.006458 0.006458 1.60% MLCellLinOp::defineAuxData() 6 0.006423 0.006423 0.006423 1.60% MLMG::mgVcycle_down::3 36 0.006322 0.006322 0.006322 1.57% MLMG::mgVcycle_down::4 36 0.006261 0.006261 0.006261 1.55% Castro::do_new_sources() 5 0.006232 0.006232 0.006232 1.55% Castro::post_restart() 1 0.006195 0.006195 0.006195 1.54% Castro::expand_state() 5 0.005904 0.005904 0.005904 1.47% Gravity::multilevel_solve_for_new_phi() 1 0.005819 0.005819 0.005819 1.44% Gravity::actual_multilevel_solve() 1 0.005802 0.005802 0.005802 1.44% Gravity::fill_multipole_BCs() 6 0.005569 0.005569 0.005569 1.38% Castro::post_timestep() 5 0.005499 0.005499 0.005499 1.37% MLCGSolver::ParallelAllReduce 659 0.00546 0.00546 0.00546 1.36% MLMG::addInterpCorrection() 180 0.005341 0.005341 0.005341 1.33% MLMG::mgVcycle_up::4 36 0.005089 0.005089 0.005089 1.26% MLMG::mgVcycle_up::1 36 0.005039 0.005039 0.005039 1.25% amrex::average_down 180 0.005007 0.005007 0.005007 1.24% MLMG::mgVcycle_up::2 36 0.004921 0.004921 0.004921 1.22% MLMG::mgVcycle_up::3 36 0.004838 0.004838 0.004838 1.20% MLPoisson::Fapply() 500 0.004613 0.004613 0.004613 1.15% Castro::enforce_min_density() 30 0.004368 0.004368 0.004368 1.08% FabArray::Saxpy() 355 0.003782 0.003782 0.003782 0.94% FabArray::Xpay() 361 0.003623 0.003623 0.003623 0.90% MLCellLinOp::solutionResidual() 42 0.003472 0.003472 0.003472 0.86% Castro::reset_internal_energy(MultiFab) 30 0.002839 0.002839 0.002839 0.71% MLCellLinOp::defineBC() 6 0.002821 0.002821 0.002821 0.70% Castro::estTimeStep() 10 0.002743 0.002743 0.002743 0.68% MLMG::prepareForSolve() 6 0.002734 0.002734 0.002734 0.68% MLMG::computeResidual() 36 0.002716 0.002716 0.002716 0.67% BndryData::define() 6 0.002708 0.002708 0.002708 0.67% FabArray::LinComb() 242 0.002284 0.002284 0.002284 0.57% Castro::enforce_speed_limit() 30 0.002248 0.002248 0.002248 0.56% amrex::Add() 72 0.001894 0.001894 0.001894 0.47% Castro::construct_new_source() 25 0.001839 0.001839 0.001839 0.46% Castro::construct_new_gravity_source() 5 0.001772 0.001772 0.001772 0.44% Castro::computeNewDt() 5 0.001756 0.001756 0.001756 0.44% Castro::construct_old_source() 25 0.001521 0.001521 0.001521 0.38% Castro::construct_old_gravity_source() 5 0.001494 0.001494 0.001494 0.37% Castro::finalize_do_advance() 5 0.001038 0.001038 0.001038 0.26% MLMG::ResNormInf() 42 0.0009956 0.0009956 0.0009956 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009676 0.0009676 0.0009676 0.24% Castro::apply_source_to_state() 10 0.0009586 0.0009586 0.0009586 0.24% check_for_negative_density() 5 0.0008907 0.0008907 0.0008907 0.22% MLMG::getGradSolution() 6 0.0008617 0.0008617 0.0008617 0.21% MLCellLinOp::compGrad() 6 0.0008587 0.0008587 0.0008587 0.21% Castro::reset_internal_energy(Fab) 240 0.0008379 0.0008379 0.0008379 0.21% FabArrayBase::getCPC() 632 0.000806 0.000806 0.000806 0.20% MLCellLinOp::setLevelBC() 6 0.0008023 0.0008023 0.0008023 0.20% MLMG::computeMLResidual() 6 0.0007755 0.0007755 0.0007755 0.19% Gravity::update_max_rhs() 6 0.0007192 0.0007192 0.0007192 0.18% MLPoisson::prepareForSolve() 6 0.0007101 0.0007101 0.0007101 0.18% MLCellLinOp::prepareForSolve() 6 0.0007057 0.0007057 0.0007057 0.18% FabArray::mult() 22 0.0006893 0.0006893 0.0006893 0.17% FabArray::setDomainBndry() 20 0.0006808 0.0006808 0.0006808 0.17% Castro::check_for_nan() 10 0.0006604 0.0006604 0.0006604 0.16% MultiFab::contains_nan() 10 0.0006523 0.0006523 0.0006523 0.16% FabArrayBase::CPC::define() 244 0.0004343 0.0004343 0.0004343 0.11% Amr::InitAmr() 1 0.0004195 0.0004195 0.0004195 0.10% FabArrayBase::getFB() 1766 0.0003333 0.0003333 0.0003333 0.08% Castro::finalize_advance() 5 0.0002939 0.0002939 0.0002939 0.07% Gravity::swapTimeLevels() 5 0.0002321 0.0002321 0.0002321 0.06% MultiFab::max() 6 0.0002048 0.0002048 0.0002048 0.05% MLMG::MLResNormInf() 6 0.0001883 0.0001883 0.0001883 0.05% Castro::buildMetrics() 1 0.0001483 0.0001483 0.0001483 0.04% MLLinOp::define() 6 0.0001288 0.0001288 0.0001288 0.03% MLMG::MLRhsNormInf() 6 0.0001202 0.0001202 0.0001202 0.03% MLLinOp::defineGrids() 6 0.0001189 0.0001189 0.0001189 0.03% Castro::create_source_corrector() 5 9.552e-05 9.552e-05 9.552e-05 0.02% FabArrayBase::FB::FB() 26 5.826e-05 5.826e-05 5.826e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.851e-05 2.851e-05 2.851e-05 0.01% Amr::writeSmallPlotFile() 1 2.706e-05 2.706e-05 2.706e-05 0.01% Castro::swap_state_time_levels() 5 2.526e-05 2.526e-05 2.526e-05 0.01% Castro::initMFs() 1 2.424e-05 2.424e-05 2.424e-05 0.01% makeSFC 30 2.164e-05 2.164e-05 2.164e-05 0.01% Amr::initSubcycle() 1 9.421e-06 9.421e-06 9.421e-06 0.00% DistributionMapping::Distribute() 31 9.334e-06 9.334e-06 9.334e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.29e-06 4.29e-06 4.29e-06 0.00% Gravity::set_mass_offset() 6 2.32e-06 2.32e-06 2.32e-06 0.00% Castro::retry_advance_ctu() 5 2.11e-06 2.11e-06 2.11e-06 0.00% Castro::FluxRegFineAdd() 5 1.367e-06 1.367e-06 1.367e-06 0.00% Castro::FluxRegCrseInit 5 1.342e-06 1.342e-06 1.342e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.164e-06 1.164e-06 1.164e-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 207 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 150 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 1121 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2115 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 6741 KiB 14 MiB MLMG::prepareForSolve() 361 361 3456 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 201 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 195 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6726 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3554 B 2048 KiB Gravity::solve_for_phi() 40 40 636 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 318 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 204 KiB 671 KiB Castro::estTimeStep() 10 10 3262 B 480 KiB VisMF::Write(FabArray) 112 112 1376 B 320 KiB Castro::normalize_species() 30 30 7705 B 320 KiB amrex::average_down 469 469 1212 B 257 KiB MLMG::addInterpCorrection() 468 468 1132 B 257 KiB amrex::Dot() 592 592 3294 B 160 KiB FabArray::norminf() 398 398 2357 B 160 KiB check_for_negative_density() 5 5 352 B 160 KiB MultiFab::max() 6 6 79 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3351 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 281 B 9648 B MLCellLinOp::applyBC() 3892 3892 217 B 9344 B amrex::Copy() 56 56 5910 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 117 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 1464 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 88 KiB 8192 KiB VisMF::Write(FabArray) 120 120 208 KiB 3584 KiB VisMF::Read() 24 24 186 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3351 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 281 B 9648 B MLCellLinOp::applyBC() 1946 1946 216 B 9328 B amrex::Copy() 56 56 5910 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2639 B 3072 B StateData::FillBoundary(geom) 960 960 39 B 2928 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 526 B 1296 B amrex::average_down 37 37 219 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.09-24-gf08b40b34bd4) finalized