Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-40-gd4d0e9031d03) initialized Starting run at 07:36:15 UTC on 2023-08-24. Successfully read inputs file ... Castro git describe: 23.08-6-g41b0e2684 AMReX git describe: 23.08-40-gd4d0e9031 Microphysics git describe: 23.08-15-gced7cc41 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.051306181 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028764928 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.051353829 [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.051272081 [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.071483203 [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.07457267 [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.0698874 [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.049610195 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.06729552 [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.049381793 [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.071052097 [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.073328743 [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.07192903 [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.092226145 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028486906 seconds Ending run at 07:36:16 UTC on 2023-08-24. Run time = 0.956781129 Run time without initialization = 0.822628739 Average number of zones advanced per microsecond: 3.187 Average number of zones advanced per microsecond per rank: 3.187 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9568 ... 0.9568 ... 0.9568 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2760 0.2760 0.2760 28.84% VisMF::Write(FabArray) 11 0.2008 0.2008 0.2008 20.99% MLCellLinOp::applyBC() 4433 0.07756 0.07756 0.07756 8.11% Amr::checkPoint() 3 0.047 0.047 0.047 4.91% MLPoisson::Fsmooth() 3280 0.03306 0.03306 0.03306 3.46% FillBoundary_nowait() 4023 0.03077 0.03077 0.03077 3.22% StateData::FillBoundary(geom) 328 0.02701 0.02701 0.02701 2.82% amrex::Dot() 1114 0.02114 0.02114 0.02114 2.21% Castro::normalize_species() 62 0.02065 0.02065 0.02065 2.16% Castro::computeTemp() 63 0.01734 0.01734 0.01734 1.81% amrex::Copy() 1029 0.01515 0.01515 0.01515 1.58% FabArray::norminf() 743 0.01472 0.01472 0.01472 1.54% FabArray::setVal() 1144 0.01348 0.01348 0.01348 1.41% FabArray::ParallelCopy_nowait() 861 0.01347 0.01347 0.01347 1.41% Castro::enforce_min_density() 62 0.01328 0.01328 0.01328 1.39% StateDataPhysBCFunct::() 41 0.01078 0.01078 0.01078 1.13% MLPoisson::Fapply() 1142 0.01062 0.01062 0.01062 1.11% MLCellLinOp::defineAuxData() 11 0.01034 0.01034 0.01034 1.08% Gravity::fill_multipole_BCs() 11 0.00934 0.00934 0.00934 0.98% FabArray::Saxpy() 813 0.00843 0.00843 0.00843 0.88% FabArray::Xpay() 821 0.008321 0.008321 0.008321 0.87% MLMG::addInterpCorrection() 410 0.006849 0.006849 0.006849 0.72% amrex::average_down 410 0.006137 0.006137 0.006137 0.64% Castro::estTimeStep() 21 0.005753 0.005753 0.005753 0.60% Castro::reset_internal_energy(MultiFab) 63 0.004962 0.004962 0.004962 0.52% FabArray::LinComb() 557 0.004661 0.004661 0.004661 0.49% amrex::Add() 164 0.004449 0.004449 0.004449 0.46% BndryData::define() 11 0.003805 0.003805 0.003805 0.40% Castro::construct_new_gravity_source() 10 0.003365 0.003365 0.003365 0.35% Castro::construct_old_gravity_source() 10 0.002814 0.002814 0.002814 0.29% MLCGSolver::bicgstab 82 0.002182 0.002182 0.002182 0.23% Amr::writePlotFile() 2 0.002006 0.002006 0.002006 0.21% check_for_negative_density() 10 0.001876 0.001876 0.001876 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001768 0.001768 0.001768 0.18% Castro::reset_internal_energy(Fab) 504 0.001679 0.001679 0.001679 0.18% Gravity::actual_solve_with_mlmg() 11 0.001533 0.001533 0.001533 0.16% Castro::initData() 1 0.001489 0.001489 0.001489 0.16% MLCellLinOp::setLevelBC() 11 0.001456 0.001456 0.001456 0.15% FabArray::mult() 43 0.001367 0.001367 0.001367 0.14% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.14% MLCellLinOp::prepareForSolve() 11 0.001279 0.001279 0.001279 0.13% MultiFab::contains_nan() 20 0.001257 0.001257 0.001257 0.13% MLCellLinOp::compGrad() 11 0.00106 0.00106 0.00106 0.11% MLCellLinOp::smooth() 1640 0.001013 0.001013 0.001013 0.11% MLMG::prepareForSolve() 11 0.0009537 0.0009537 0.0009537 0.10% Castro::enforce_speed_limit() 62 0.0008784 0.0008784 0.0008784 0.09% FabArray::FillBoundary() 4023 0.0008562 0.0008562 0.0008562 0.09% FabArrayBase::getCPC() 1323 0.0007592 0.0007592 0.0007592 0.08% FabArrayBase::CPC::define() 454 0.0006929 0.0006929 0.0006929 0.07% FabArrayBase::getFB() 4023 0.0006377 0.0006377 0.0006377 0.07% Gravity::get_new_grav_vector() 11 0.0005952 0.0005952 0.0005952 0.06% Gravity::get_old_grav_vector() 10 0.000473 0.000473 0.000473 0.05% Amr::InitAmr() 1 0.0004652 0.0004652 0.0004652 0.05% MLCellLinOp::apply() 1142 0.0004583 0.0004583 0.0004583 0.05% Amr::coarseTimeStep() 10 0.0004476 0.0004476 0.0004476 0.05% AmrLevel::FillPatch() 41 0.0003341 0.0003341 0.0003341 0.03% MultiFab::max() 11 0.0003311 0.0003311 0.0003311 0.03% main() 1 0.0002873 0.0002873 0.0002873 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002853 0.0002853 0.0002853 0.03% FabArray::ParallelCopy() 861 0.0002678 0.0002678 0.0002678 0.03% MLCellLinOp::correctionResidual() 492 0.0002194 0.0002194 0.0002194 0.02% FillPatchIterator::Initialize 41 0.0002149 0.0002149 0.0002149 0.02% MLCellLinOp::defineBC() 11 0.0002147 0.0002147 0.0002147 0.02% MLMG::mgVcycle() 82 0.0001989 0.0001989 0.0001989 0.02% Castro::create_source_corrector() 10 0.0001676 0.0001676 0.0001676 0.02% Castro::subcycle_advance_ctu() 10 0.000166 0.000166 0.000166 0.02% MLLinOp::defineGrids() 11 0.0001628 0.0001628 0.0001628 0.02% Amr::timeStep() 10 0.0001568 0.0001568 0.0001568 0.02% Gravity::solve_for_phi() 10 0.0001422 0.0001422 0.0001422 0.01% StateData::checkPoint() 12 0.0001329 0.0001329 0.0001329 0.01% Gravity::update_max_rhs() 11 0.0001275 0.0001275 0.0001275 0.01% Castro::construct_new_source() 50 0.0001275 0.0001275 0.0001275 0.01% MLMG:computeResOfCorrection() 410 0.0001134 0.0001134 0.0001134 0.01% Castro::Castro() 1 9.848e-05 9.848e-05 9.848e-05 0.01% AmrLevel::checkPoint() 3 9.803e-05 9.803e-05 9.803e-05 0.01% MLMG::actualBottomSolve() 82 9.312e-05 9.312e-05 9.312e-05 0.01% FabArrayBase::FB::FB() 56 9.267e-05 9.267e-05 9.267e-05 0.01% MLMG::mgVcycle_down::0 82 8.293e-05 8.293e-05 8.293e-05 0.01% MLMG::solve() 11 8.138e-05 8.138e-05 8.138e-05 0.01% Castro::initialize_advance() 10 7.662e-05 7.662e-05 7.662e-05 0.01% MLMG::mgVcycle_down::1 82 7.507e-05 7.507e-05 7.507e-05 0.01% MLMG::mgVcycle_down::2 82 7.356e-05 7.356e-05 7.356e-05 0.01% Castro::enforce_consistent_e() 1 7.087e-05 7.087e-05 7.087e-05 0.01% Castro::clean_state() 62 7.043e-05 7.043e-05 7.043e-05 0.01% MLMG::mgVcycle_down::4 82 6.973e-05 6.973e-05 6.973e-05 0.01% MLMG::mgVcycle_down::3 82 6.815e-05 6.815e-05 6.815e-05 0.01% Castro::advance() 10 6.532e-05 6.532e-05 6.532e-05 0.01% Castro::finalize_advance() 10 6.318e-05 6.318e-05 6.318e-05 0.01% Castro::initialize_do_advance() 10 5.804e-05 5.804e-05 5.804e-05 0.01% MLMG::mgVcycle_up::4 82 5.723e-05 5.723e-05 5.723e-05 0.01% MLMG::oneIter() 82 5.465e-05 5.465e-05 5.465e-05 0.01% MLCellLinOp::solutionResidual() 93 5.288e-05 5.288e-05 5.288e-05 0.01% Amr::defBaseLevel() 1 5.24e-05 5.24e-05 5.24e-05 0.01% Castro::do_new_sources() 10 5.034e-05 5.034e-05 5.034e-05 0.01% MLMG::mgVcycle_up::3 82 4.976e-05 4.976e-05 4.976e-05 0.01% MLMG::mgVcycle_up::0 82 4.921e-05 4.921e-05 4.921e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.874e-05 4.874e-05 4.874e-05 0.01% MLMG::mgVcycle_up::1 82 4.845e-05 4.845e-05 4.845e-05 0.01% Castro::do_advance_ctu() 10 4.801e-05 4.801e-05 4.801e-05 0.01% MLMG::mgVcycle_up::2 82 4.698e-05 4.698e-05 4.698e-05 0.00% Castro::finalize_do_advance() 10 4.204e-05 4.204e-05 4.204e-05 0.00% StateData::define() 4 3.969e-05 3.969e-05 3.969e-05 0.00% Castro::swap_state_time_levels() 10 3.812e-05 3.812e-05 3.812e-05 0.00% FillPatchSingleLevel 41 3.47e-05 3.47e-05 3.47e-05 0.00% MLMG::ResNormInf() 93 3.391e-05 3.391e-05 3.391e-05 0.00% MLMG::computeResidual() 82 3.209e-05 3.209e-05 3.209e-05 0.00% MLMG::mgVcycle_bottom 82 3.192e-05 3.192e-05 3.192e-05 0.00% Castro::initMFs() 1 2.87e-05 2.87e-05 2.87e-05 0.00% Castro::buildMetrics() 1 2.822e-05 2.822e-05 2.822e-05 0.00% Amr::writeSmallPlotFile() 1 2.785e-05 2.785e-05 2.785e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.613e-05 2.613e-05 2.613e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.613e-05 2.613e-05 2.613e-05 0.00% MLPoisson::define() 11 2.548e-05 2.548e-05 2.548e-05 0.00% makeSFC 55 2.524e-05 2.524e-05 2.524e-05 0.00% Castro::construct_new_gravity() 10 2.45e-05 2.45e-05 2.45e-05 0.00% Castro::do_old_sources() 10 2.279e-05 2.279e-05 2.279e-05 0.00% Amr::FinalizeInit() 1 1.93e-05 1.93e-05 1.93e-05 0.00% Castro::construct_old_source() 50 1.869e-05 1.869e-05 1.869e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.857e-05 1.857e-05 1.857e-05 0.00% DistributionMapping::Distribute() 56 1.681e-05 1.681e-05 1.681e-05 0.00% Castro::post_init() 1 1.536e-05 1.536e-05 1.536e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.491e-05 1.491e-05 1.491e-05 0.00% MLLinOp::define() 11 1.479e-05 1.479e-05 1.479e-05 0.00% Castro::check_for_nan() 20 1.275e-05 1.275e-05 1.275e-05 0.00% Castro::construct_old_gravity() 10 1.233e-05 1.233e-05 1.233e-05 0.00% Castro::apply_source_to_state() 20 1.147e-05 1.147e-05 1.147e-05 0.00% Amr::initSubcycle() 1 9.635e-06 9.635e-06 9.635e-06 0.00% Gravity::swapTimeLevels() 10 8.854e-06 8.854e-06 8.854e-06 0.00% Gravity::actual_multilevel_solve() 1 8.679e-06 8.679e-06 8.679e-06 0.00% MLMG::computeMLResidual() 11 8.39e-06 8.39e-06 8.39e-06 0.00% Castro::post_timestep() 10 8.23e-06 8.23e-06 8.23e-06 0.00% Castro::computeNewDt() 9 7.46e-06 7.46e-06 7.46e-06 0.00% MLPoisson::prepareForSolve() 11 7.045e-06 7.045e-06 7.045e-06 0.00% MLMG::getGradSolution() 11 6.184e-06 6.184e-06 6.184e-06 0.00% Castro::expand_state() 10 5.86e-06 5.86e-06 5.86e-06 0.00% Gravity::set_mass_offset() 11 5.113e-06 5.113e-06 5.113e-06 0.00% Amr::init() 1 4.954e-06 4.954e-06 4.954e-06 0.00% AmrLevel::checkPointPost() 3 4.68e-06 4.68e-06 4.68e-06 0.00% AmrLevel::checkPointPre() 3 4.427e-06 4.427e-06 4.427e-06 0.00% Castro::retry_advance_ctu() 10 4.354e-06 4.354e-06 4.354e-06 0.00% Amr::InitializeInit() 1 4.149e-06 4.149e-06 4.149e-06 0.00% MLMG::MLRhsNormInf() 11 4.086e-06 4.086e-06 4.086e-06 0.00% Castro::computeInitialDt() 2 3.653e-06 3.653e-06 3.653e-06 0.00% MLMG::MLResNormInf() 11 3.381e-06 3.381e-06 3.381e-06 0.00% Castro::FluxRegCrseInit 10 3.253e-06 3.253e-06 3.253e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.929e-06 2.929e-06 2.929e-06 0.00% Castro::FluxRegFineAdd() 10 2.444e-06 2.444e-06 2.444e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.946e-06 1.946e-06 1.946e-06 0.00% Castro::post_regrid() 1 1.338e-06 1.338e-06 1.338e-06 0.00% Amr::initialInit() 1 1.091e-06 1.091e-06 1.091e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9568 0.9568 0.9568 100.00% Amr::coarseTimeStep() 10 0.7939 0.7939 0.7939 82.97% Amr::timeStep() 10 0.6484 0.6484 0.6484 67.76% Castro::advance() 10 0.6373 0.6373 0.6373 66.61% Castro::subcycle_advance_ctu() 10 0.625 0.625 0.625 65.32% Castro::do_advance_ctu() 10 0.6248 0.6248 0.6248 65.30% Gravity::solve_phi_with_mlmg() 11 0.291 0.291 0.291 30.42% Castro::construct_ctu_hydro_source() 10 0.2867 0.2867 0.2867 29.96% Gravity::actual_solve_with_mlmg() 11 0.2812 0.2812 0.2812 29.39% Castro::construct_new_gravity() 10 0.2623 0.2623 0.2623 27.42% MLMG::solve() 11 0.2596 0.2596 0.2596 27.14% Gravity::solve_for_phi() 10 0.2463 0.2463 0.2463 25.75% MLMG::oneIter() 82 0.2446 0.2446 0.2446 25.57% MLMG::mgVcycle() 82 0.2409 0.2409 0.2409 25.18% VisMF::Write(FabArray) 11 0.2008 0.2008 0.2008 20.99% Amr::checkPoint() 3 0.1933 0.1933 0.1933 20.20% AmrLevel::checkPoint() 3 0.1462 0.1462 0.1462 15.28% StateData::checkPoint() 12 0.1461 0.1461 0.1461 15.27% Amr::init() 1 0.1336 0.1336 0.1336 13.96% MLCellLinOp::smooth() 1640 0.1177 0.1177 0.1177 12.30% MLCellLinOp::applyBC() 4433 0.1099 0.1099 0.1099 11.49% MLMG::mgVcycle_bottom 82 0.07545 0.07545 0.07545 7.89% MLMG::actualBottomSolve() 82 0.07542 0.07542 0.07542 7.88% MLCGSolver::bicgstab 82 0.0747 0.0747 0.0747 7.81% Castro::clean_state() 62 0.05782 0.05782 0.05782 6.04% Amr::writePlotFile() 2 0.05739 0.05739 0.05739 6.00% Amr::initialInit() 1 0.05337 0.05337 0.05337 5.58% Amr::FinalizeInit() 1 0.04894 0.04894 0.04894 5.11% AmrLevel::FillPatch() 41 0.04762 0.04762 0.04762 4.98% Castro::post_init() 1 0.04758 0.04758 0.04758 4.97% Gravity::multilevel_solve_for_new_phi() 1 0.04515 0.04515 0.04515 4.72% Gravity::actual_multilevel_solve() 1 0.04514 0.04514 0.04514 4.72% FillPatchIterator::Initialize 41 0.04344 0.04344 0.04344 4.54% FillPatchIterator::FillFromLevel0() 41 0.04189 0.04189 0.04189 4.38% FillPatchSingleLevel 41 0.04184 0.04184 0.04184 4.37% StateDataPhysBCFunct::() 41 0.03779 0.03779 0.03779 3.95% MLCellLinOp::apply() 1142 0.03691 0.03691 0.03691 3.86% MLMG::mgVcycle_down::0 82 0.03385 0.03385 0.03385 3.54% MLPoisson::Fsmooth() 3280 0.03306 0.03306 0.03306 3.46% FabArray::FillBoundary() 4023 0.03235 0.03235 0.03235 3.38% FillBoundary_nowait() 4023 0.0315 0.0315 0.0315 3.29% StateData::FillBoundary(geom) 328 0.02701 0.02701 0.02701 2.82% MLMG::mgVcycle_up::0 82 0.02552 0.02552 0.02552 2.67% Castro::computeTemp() 63 0.02398 0.02398 0.02398 2.51% MLCellLinOp::correctionResidual() 492 0.02251 0.02251 0.02251 2.35% Castro::initialize_do_advance() 10 0.02221 0.02221 0.02221 2.32% amrex::Dot() 1114 0.02114 0.02114 0.02114 2.21% Castro::do_old_sources() 10 0.02097 0.02097 0.02097 2.19% Castro::normalize_species() 62 0.02065 0.02065 0.02065 2.16% MLMG:computeResOfCorrection() 410 0.01981 0.01981 0.01981 2.07% Gravity::get_new_grav_vector() 11 0.01794 0.01794 0.01794 1.88% MLPoisson::define() 11 0.01705 0.01705 0.01705 1.78% MLMG::mgVcycle_down::1 82 0.01616 0.01616 0.01616 1.69% Castro::construct_old_gravity() 10 0.01542 0.01542 0.01542 1.61% Gravity::get_old_grav_vector() 10 0.01541 0.01541 0.01541 1.61% amrex::Copy() 1029 0.01515 0.01515 0.01515 1.58% MLMG::mgVcycle_down::2 82 0.01495 0.01495 0.01495 1.56% FabArray::norminf() 743 0.01472 0.01472 0.01472 1.54% MLMG::mgVcycle_down::3 82 0.01461 0.01461 0.01461 1.53% FabArray::ParallelCopy() 861 0.01453 0.01453 0.01453 1.52% MLMG::mgVcycle_down::4 82 0.01443 0.01443 0.01443 1.51% FabArray::ParallelCopy_nowait() 861 0.01426 0.01426 0.01426 1.49% Castro::do_new_sources() 10 0.01391 0.01391 0.01391 1.45% FabArray::setVal() 1144 0.01348 0.01348 0.01348 1.41% Castro::enforce_min_density() 62 0.01328 0.01328 0.01328 1.39% MLCGSolver::ParallelAllReduce 1514 0.01264 0.01264 0.01264 1.32% MLMG::addInterpCorrection() 410 0.01206 0.01206 0.01206 1.26% MLCellLinOp::defineAuxData() 11 0.01177 0.01177 0.01177 1.23% Castro::initialize_advance() 10 0.01168 0.01168 0.01168 1.22% MLMG::mgVcycle_up::1 82 0.01164 0.01164 0.01164 1.22% MLMG::mgVcycle_up::4 82 0.0116 0.0116 0.0116 1.21% Castro::expand_state() 10 0.01159 0.01159 0.01159 1.21% amrex::average_down 410 0.01145 0.01145 0.01145 1.20% MLMG::mgVcycle_up::2 82 0.01134 0.01134 0.01134 1.19% MLMG::mgVcycle_up::3 82 0.01118 0.01118 0.01118 1.17% Castro::post_timestep() 10 0.01088 0.01088 0.01088 1.14% MLPoisson::Fapply() 1142 0.01062 0.01062 0.01062 1.11% Gravity::fill_multipole_BCs() 11 0.009578 0.009578 0.009578 1.00% FabArray::Saxpy() 813 0.00843 0.00843 0.00843 0.88% FabArray::Xpay() 821 0.008321 0.008321 0.008321 0.87% MLCellLinOp::solutionResidual() 93 0.007531 0.007531 0.007531 0.79% Castro::reset_internal_energy(MultiFab) 63 0.006641 0.006641 0.006641 0.69% MLMG::computeResidual() 82 0.006268 0.006268 0.006268 0.66% Castro::estTimeStep() 21 0.005753 0.005753 0.005753 0.60% MLCellLinOp::defineBC() 11 0.005022 0.005022 0.005022 0.52% MLMG::prepareForSolve() 11 0.004978 0.004978 0.004978 0.52% BndryData::define() 11 0.004807 0.004807 0.004807 0.50% FabArray::LinComb() 557 0.004661 0.004661 0.004661 0.49% amrex::Add() 164 0.004449 0.004449 0.004449 0.46% Amr::InitializeInit() 1 0.004425 0.004425 0.004425 0.46% Amr::defBaseLevel() 1 0.004421 0.004421 0.004421 0.46% Castro::initData() 1 0.003707 0.003707 0.003707 0.39% Castro::construct_new_source() 50 0.003492 0.003492 0.003492 0.36% Castro::construct_new_gravity_source() 10 0.003365 0.003365 0.003365 0.35% Castro::construct_old_source() 50 0.002832 0.002832 0.002832 0.30% Castro::construct_old_gravity_source() 10 0.002814 0.002814 0.002814 0.29% Castro::finalize_do_advance() 10 0.002341 0.002341 0.002341 0.24% Castro::computeNewDt() 9 0.002277 0.002277 0.002277 0.24% MLMG::ResNormInf() 93 0.002172 0.002172 0.002172 0.23% check_for_negative_density() 10 0.001876 0.001876 0.001876 0.20% Castro::apply_source_to_state() 20 0.001869 0.001869 0.001869 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001768 0.001768 0.001768 0.18% Castro::reset_internal_energy(Fab) 504 0.001679 0.001679 0.001679 0.18% MLMG::getGradSolution() 11 0.00155 0.00155 0.00155 0.16% MLCellLinOp::compGrad() 11 0.001544 0.001544 0.001544 0.16% MLCellLinOp::setLevelBC() 11 0.001456 0.001456 0.001456 0.15% FabArrayBase::getCPC() 1323 0.001452 0.001452 0.001452 0.15% FabArray::mult() 43 0.001367 0.001367 0.001367 0.14% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.14% MLMG::computeMLResidual() 11 0.001304 0.001304 0.001304 0.14% MLPoisson::prepareForSolve() 11 0.001286 0.001286 0.001286 0.13% MLCellLinOp::prepareForSolve() 11 0.001279 0.001279 0.001279 0.13% Castro::check_for_nan() 20 0.001269 0.001269 0.001269 0.13% MultiFab::contains_nan() 20 0.001257 0.001257 0.001257 0.13% Castro::computeInitialDt() 2 0.001188 0.001188 0.001188 0.12% Castro::post_regrid() 1 0.001057 0.001057 0.001057 0.11% Gravity::update_max_rhs() 11 0.0009916 0.0009916 0.0009916 0.10% Castro::enforce_speed_limit() 62 0.0008784 0.0008784 0.0008784 0.09% FabArrayBase::getFB() 4023 0.0007303 0.0007303 0.0007303 0.08% FabArrayBase::CPC::define() 454 0.0006929 0.0006929 0.0006929 0.07% Castro::finalize_advance() 10 0.0005956 0.0005956 0.0005956 0.06% Castro::Castro() 1 0.0005913 0.0005913 0.0005913 0.06% Amr::InitAmr() 1 0.0004748 0.0004748 0.0004748 0.05% Gravity::swapTimeLevels() 10 0.0004454 0.0004454 0.0004454 0.05% MLMG::MLResNormInf() 11 0.000339 0.000339 0.000339 0.04% MultiFab::max() 11 0.0003311 0.0003311 0.0003311 0.03% Castro::buildMetrics() 1 0.0002934 0.0002934 0.0002934 0.03% MLLinOp::define() 11 0.0002352 0.0002352 0.0002352 0.02% MLMG::MLRhsNormInf() 11 0.0002237 0.0002237 0.0002237 0.02% MLLinOp::defineGrids() 11 0.0002204 0.0002204 0.0002204 0.02% Castro::create_source_corrector() 10 0.0001676 0.0001676 0.0001676 0.02% FabArrayBase::FB::FB() 56 9.267e-05 9.267e-05 9.267e-05 0.01% Castro::enforce_consistent_e() 1 7.087e-05 7.087e-05 7.087e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.582e-05 6.582e-05 6.582e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.561e-05 5.561e-05 5.561e-05 0.01% makeSFC 55 4.07e-05 4.07e-05 4.07e-05 0.00% StateData::define() 4 3.969e-05 3.969e-05 3.969e-05 0.00% Castro::swap_state_time_levels() 10 3.812e-05 3.812e-05 3.812e-05 0.00% Castro::initMFs() 1 2.87e-05 2.87e-05 2.87e-05 0.00% Amr::writeSmallPlotFile() 1 2.785e-05 2.785e-05 2.785e-05 0.00% DistributionMapping::Distribute() 56 1.681e-05 1.681e-05 1.681e-05 0.00% Amr::initSubcycle() 1 9.635e-06 9.635e-06 9.635e-06 0.00% Gravity::set_mass_offset() 11 5.113e-06 5.113e-06 5.113e-06 0.00% AmrLevel::checkPointPost() 3 4.68e-06 4.68e-06 4.68e-06 0.00% AmrLevel::checkPointPre() 3 4.427e-06 4.427e-06 4.427e-06 0.00% Castro::retry_advance_ctu() 10 4.354e-06 4.354e-06 4.354e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.278e-06 4.278e-06 4.278e-06 0.00% Castro::FluxRegCrseInit 10 3.253e-06 3.253e-06 3.253e-06 0.00% Castro::FluxRegFineAdd() 10 2.444e-06 2.444e-06 2.444e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.946e-06 1.946e-06 1.946e-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 87 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 135 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 961 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1688 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3338 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 195 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 164 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2008 B 2048 KiB Gravity::solve_for_phi() 80 80 526 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 305 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 194 KiB 671 KiB Castro::estTimeStep() 21 21 2930 B 480 KiB VisMF::Write(FabArray) 656 656 3203 B 320 KiB Castro::normalize_species() 62 62 7032 B 320 KiB amrex::average_down 1067 1067 1207 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1083 B 257 KiB amrex::Dot() 1360 1360 3258 B 160 KiB FabArray::norminf() 907 907 2277 B 160 KiB check_for_negative_density() 10 10 297 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3259 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 281 B 9648 B MLCellLinOp::applyBC() 8866 8866 210 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3876 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 113 B 1472 B MLCellLinOp::defineBC() 66 66 343 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 529 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 479 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3259 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 281 B 9648 B MLCellLinOp::applyBC() 4433 4433 208 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3876 B 6144 B Gravity::get_new_grav_vector() 3 3 2902 B 3072 B StateData::FillBoundary(geom) 1992 1992 38 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 278 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-40-gd4d0e9031d03) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-40-gd4d0e9031d03) initialized Starting run at 07:36:17 UTC on 2023-08-24. Successfully read inputs file ... Castro git describe: 23.08-6-g41b0e2684 AMReX git describe: 23.08-40-gd4d0e9031 Microphysics git describe: 23.08-15-gced7cc41 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.502375428 Restart time = 0.050534087 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.053747693 [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.049436885 [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.047405456 [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.071918767 [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.078217724 [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.029550708 seconds Ending run at 07:36:17 UTC on 2023-08-24. Run time = 0.381813134 Run time without initialization = 0.330709532 Average number of zones advanced per microsecond: 3.963 Average number of zones advanced per microsecond per rank: 3.963 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3818 ... 0.3818 ... 0.3818 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1074 0.1074 0.1074 28.14% VisMF::Read() 3 0.03912 0.03912 0.03912 10.25% MLCellLinOp::applyBC() 1946 0.03395 0.03395 0.03395 8.89% VisMF::Write(FabArray) 1 0.02822 0.02822 0.02822 7.39% MLPoisson::Fsmooth() 1440 0.01431 0.01431 0.01431 3.75% StateData::FillBoundary(geom) 160 0.01312 0.01312 0.01312 3.44% FillBoundary_nowait() 1766 0.01287 0.01287 0.01287 3.37% Castro::normalize_species() 30 0.01153 0.01153 0.01153 3.02% amrex::Dot() 484 0.009101 0.009101 0.009101 2.38% amrex::Copy() 463 0.007267 0.007267 0.007267 1.90% Castro::computeTemp() 30 0.007139 0.007139 0.007139 1.87% FabArray::setVal() 537 0.006596 0.006596 0.006596 1.73% FabArray::norminf() 326 0.006426 0.006426 0.006426 1.68% Castro::enforce_min_density() 30 0.006373 0.006373 0.006373 1.67% FabArray::ParallelCopy_nowait() 380 0.006131 0.006131 0.006131 1.61% Gravity::fill_multipole_BCs() 6 0.005757 0.005757 0.005757 1.51% MLCellLinOp::defineAuxData() 6 0.005555 0.005555 0.005555 1.45% StateDataPhysBCFunct::() 20 0.004728 0.004728 0.004728 1.24% Amr::restart() 1 0.004709 0.004709 0.004709 1.23% MLPoisson::Fapply() 500 0.004645 0.004645 0.004645 1.22% FabArray::Saxpy() 355 0.003783 0.003783 0.003783 0.99% FabArray::Xpay() 361 0.003639 0.003639 0.003639 0.95% Castro::estTimeStep() 10 0.003318 0.003318 0.003318 0.87% MLMG::addInterpCorrection() 180 0.003087 0.003087 0.003087 0.81% amrex::average_down 180 0.002702 0.002702 0.002702 0.71% FabArray::LinComb() 242 0.002277 0.002277 0.002277 0.60% Castro::reset_internal_energy(MultiFab) 30 0.00214 0.00214 0.00214 0.56% BndryData::define() 6 0.002083 0.002083 0.002083 0.55% amrex::Add() 72 0.001885 0.001885 0.001885 0.49% Castro::construct_new_gravity_source() 5 0.001771 0.001771 0.001771 0.46% Castro::construct_old_gravity_source() 5 0.001527 0.001527 0.001527 0.40% Castro::enforce_speed_limit() 30 0.001466 0.001466 0.001466 0.38% Amr::writePlotFile() 1 0.001157 0.001157 0.001157 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009641 0.0009641 0.0009641 0.25% MLCGSolver::bicgstab 36 0.0009595 0.0009595 0.0009595 0.25% check_for_negative_density() 5 0.0009331 0.0009331 0.0009331 0.24% Castro::reset_internal_energy(Fab) 240 0.0008863 0.0008863 0.0008863 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008239 0.0008239 0.0008239 0.22% MLCellLinOp::setLevelBC() 6 0.0007972 0.0007972 0.0007972 0.21% MLCellLinOp::prepareForSolve() 6 0.0007028 0.0007028 0.0007028 0.18% FabArray::mult() 22 0.0006869 0.0006869 0.0006869 0.18% FabArray::setDomainBndry() 20 0.0006787 0.0006787 0.0006787 0.18% MultiFab::contains_nan() 10 0.0006676 0.0006676 0.0006676 0.17% MLCellLinOp::compGrad() 6 0.0005824 0.0005824 0.0005824 0.15% MLMG::prepareForSolve() 6 0.0005441 0.0005441 0.0005441 0.14% MLCellLinOp::smooth() 720 0.0004672 0.0004672 0.0004672 0.12% FabArrayBase::CPC::define() 244 0.0004366 0.0004366 0.0004366 0.11% Amr::InitAmr() 1 0.0004064 0.0004064 0.0004064 0.11% FabArrayBase::getCPC() 632 0.0003732 0.0003732 0.0003732 0.10% FabArray::FillBoundary() 1766 0.0003655 0.0003655 0.0003655 0.10% Gravity::get_old_grav_vector() 5 0.0003391 0.0003391 0.0003391 0.09% Gravity::get_new_grav_vector() 5 0.0002874 0.0002874 0.0002874 0.08% FabArrayBase::getFB() 1766 0.0002679 0.0002679 0.0002679 0.07% main() 1 0.0002554 0.0002554 0.0002554 0.07% MultiFab::max() 6 0.0002039 0.0002039 0.0002039 0.05% MLCellLinOp::apply() 500 0.0001982 0.0001982 0.0001982 0.05% Amr::coarseTimeStep() 5 0.0001918 0.0001918 0.0001918 0.05% Castro::subcycle_advance_ctu() 5 0.0001698 0.0001698 0.0001698 0.04% AmrLevel::FillPatch() 20 0.0001692 0.0001692 0.0001692 0.04% MLLinOp::defineGrids() 6 0.0001359 0.0001359 0.0001359 0.04% MLCGSolver::ParallelAllReduce 659 0.0001298 0.0001298 0.0001298 0.03% FabArray::ParallelCopy() 380 0.0001162 0.0001162 0.0001162 0.03% MLCellLinOp::defineBC() 6 0.0001122 0.0001122 0.0001122 0.03% FillPatchIterator::Initialize 20 0.0001109 0.0001109 0.0001109 0.03% MLCellLinOp::correctionResidual() 216 9.605e-05 9.605e-05 9.605e-05 0.03% MLMG::mgVcycle() 36 9.293e-05 9.293e-05 9.293e-05 0.02% Amr::timeStep() 5 8.333e-05 8.333e-05 8.333e-05 0.02% Castro::finalize_do_advance() 5 8.094e-05 8.094e-05 8.094e-05 0.02% Castro::create_source_corrector() 5 7.665e-05 7.665e-05 7.665e-05 0.02% AmrLevel::restart() 1 7.491e-05 7.491e-05 7.491e-05 0.02% Castro::advance() 5 7.29e-05 7.29e-05 7.29e-05 0.02% Gravity::solve_for_phi() 5 6.555e-05 6.555e-05 6.555e-05 0.02% Gravity::update_max_rhs() 6 6.408e-05 6.408e-05 6.408e-05 0.02% StateData::restartDoit() 4 6.232e-05 6.232e-05 6.232e-05 0.02% Castro::initialize_do_advance() 5 6.215e-05 6.215e-05 6.215e-05 0.02% FabArrayBase::FB::FB() 26 5.965e-05 5.965e-05 5.965e-05 0.02% Castro::do_advance_ctu() 5 5.539e-05 5.539e-05 5.539e-05 0.01% Castro::do_new_sources() 5 5.332e-05 5.332e-05 5.332e-05 0.01% MLMG:computeResOfCorrection() 180 5.124e-05 5.124e-05 5.124e-05 0.01% MLMG::actualBottomSolve() 36 4.298e-05 4.298e-05 4.298e-05 0.01% MLMG::mgVcycle_down::0 36 3.847e-05 3.847e-05 3.847e-05 0.01% Castro::initialize_advance() 5 3.834e-05 3.834e-05 3.834e-05 0.01% Castro::clean_state() 30 3.563e-05 3.563e-05 3.563e-05 0.01% MLMG::mgVcycle_down::1 36 3.555e-05 3.555e-05 3.555e-05 0.01% MLMG::solve() 6 3.515e-05 3.515e-05 3.515e-05 0.01% MLMG::mgVcycle_down::2 36 3.239e-05 3.239e-05 3.239e-05 0.01% MLMG::mgVcycle_down::4 36 3.133e-05 3.133e-05 3.133e-05 0.01% Castro::finalize_advance() 5 3.002e-05 3.002e-05 3.002e-05 0.01% MLMG::mgVcycle_down::3 36 2.995e-05 2.995e-05 2.995e-05 0.01% Castro::post_restart() 1 2.89e-05 2.89e-05 2.89e-05 0.01% Castro::construct_new_source() 25 2.824e-05 2.824e-05 2.824e-05 0.01% MLMG::mgVcycle_up::4 36 2.822e-05 2.822e-05 2.822e-05 0.01% Castro::construct_old_source() 25 2.815e-05 2.815e-05 2.815e-05 0.01% Castro::buildMetrics() 1 2.752e-05 2.752e-05 2.752e-05 0.01% Amr::writeSmallPlotFile() 1 2.716e-05 2.716e-05 2.716e-05 0.01% MLMG::oneIter() 36 2.512e-05 2.512e-05 2.512e-05 0.01% Castro::swap_state_time_levels() 5 2.508e-05 2.508e-05 2.508e-05 0.01% MLMG::mgVcycle_up::2 36 2.433e-05 2.433e-05 2.433e-05 0.01% MLCellLinOp::solutionResidual() 42 2.43e-05 2.43e-05 2.43e-05 0.01% Castro::initMFs() 1 2.361e-05 2.361e-05 2.361e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.287e-05 2.287e-05 2.287e-05 0.01% MLMG::mgVcycle_up::0 36 2.251e-05 2.251e-05 2.251e-05 0.01% MLMG::mgVcycle_up::3 36 2.172e-05 2.172e-05 2.172e-05 0.01% MLMG::mgVcycle_up::1 36 2.013e-05 2.013e-05 2.013e-05 0.01% MLMG::ResNormInf() 42 1.723e-05 1.723e-05 1.723e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.644e-05 1.644e-05 1.644e-05 0.00% FillPatchSingleLevel 20 1.622e-05 1.622e-05 1.622e-05 0.00% MLMG::mgVcycle_bottom 36 1.465e-05 1.465e-05 1.465e-05 0.00% MLPoisson::define() 6 1.433e-05 1.433e-05 1.433e-05 0.00% MLMG::computeResidual() 36 1.417e-05 1.417e-05 1.417e-05 0.00% makeSFC 30 1.352e-05 1.352e-05 1.352e-05 0.00% Castro::construct_new_gravity() 5 1.307e-05 1.307e-05 1.307e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.279e-05 1.279e-05 1.279e-05 0.00% Castro::do_old_sources() 5 1.139e-05 1.139e-05 1.139e-05 0.00% MLLinOp::define() 6 1.123e-05 1.123e-05 1.123e-05 0.00% Amr::initSubcycle() 1 9.366e-06 9.366e-06 9.366e-06 0.00% DistributionMapping::Distribute() 31 9.013e-06 9.013e-06 9.013e-06 0.00% MLMG::getGradSolution() 6 8.803e-06 8.803e-06 8.803e-06 0.00% Gravity::actual_multilevel_solve() 1 8.647e-06 8.647e-06 8.647e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.339e-06 8.339e-06 8.339e-06 0.00% Castro::check_for_nan() 10 7.542e-06 7.542e-06 7.542e-06 0.00% Castro::construct_old_gravity() 5 6.448e-06 6.448e-06 6.448e-06 0.00% Castro::apply_source_to_state() 10 5.421e-06 5.421e-06 5.421e-06 0.00% Castro::post_timestep() 5 4.55e-06 4.55e-06 4.55e-06 0.00% Gravity::swapTimeLevels() 5 4.221e-06 4.221e-06 4.221e-06 0.00% MLPoisson::prepareForSolve() 6 3.766e-06 3.766e-06 3.766e-06 0.00% Castro::computeNewDt() 5 3.676e-06 3.676e-06 3.676e-06 0.00% MLMG::computeMLResidual() 6 3.558e-06 3.558e-06 3.558e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.921e-06 2.921e-06 2.921e-06 0.00% Castro::expand_state() 5 2.785e-06 2.785e-06 2.785e-06 0.00% Castro::retry_advance_ctu() 5 2.427e-06 2.427e-06 2.427e-06 0.00% MLMG::MLResNormInf() 6 2.321e-06 2.321e-06 2.321e-06 0.00% MLMG::MLRhsNormInf() 6 2.288e-06 2.288e-06 2.288e-06 0.00% Gravity::set_mass_offset() 6 2.11e-06 2.11e-06 2.11e-06 0.00% Castro::FluxRegCrseInit 5 1.639e-06 1.639e-06 1.639e-06 0.00% Castro::FluxRegFineAdd() 5 1.145e-06 1.145e-06 1.145e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.128e-06 1.128e-06 1.128e-06 0.00% Amr::init() 1 8.52e-07 8.52e-07 8.52e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3818 0.3818 0.3818 100.00% Amr::coarseTimeStep() 5 0.3009 0.3009 0.3009 78.81% Amr::timeStep() 5 0.2987 0.2987 0.2987 78.23% Castro::advance() 5 0.2927 0.2927 0.2927 76.66% Castro::subcycle_advance_ctu() 5 0.2847 0.2847 0.2847 74.56% Castro::do_advance_ctu() 5 0.2845 0.2845 0.2845 74.51% Castro::construct_new_gravity() 5 0.1335 0.1335 0.1335 34.96% Gravity::solve_phi_with_mlmg() 6 0.1313 0.1313 0.1313 34.38% Gravity::solve_for_phi() 5 0.1257 0.1257 0.1257 32.91% Gravity::actual_solve_with_mlmg() 6 0.1253 0.1253 0.1253 32.80% MLMG::solve() 6 0.1134 0.1134 0.1134 29.71% Castro::construct_ctu_hydro_source() 5 0.1129 0.1129 0.1129 29.58% MLMG::oneIter() 36 0.1061 0.1061 0.1061 27.78% MLMG::mgVcycle() 36 0.1045 0.1045 0.1045 27.38% MLCellLinOp::smooth() 720 0.05071 0.05071 0.05071 13.28% Amr::init() 1 0.05058 0.05058 0.05058 13.25% Amr::restart() 1 0.05058 0.05058 0.05058 13.25% MLCellLinOp::applyBC() 1946 0.04751 0.04751 0.04751 12.44% AmrLevel::restart() 1 0.03948 0.03948 0.03948 10.34% StateData::restartDoit() 4 0.0394 0.0394 0.0394 10.32% VisMF::Read() 3 0.03912 0.03912 0.03912 10.25% MLMG::mgVcycle_bottom 36 0.0329 0.0329 0.0329 8.62% MLMG::actualBottomSolve() 36 0.03288 0.03288 0.03288 8.61% MLCGSolver::bicgstab 36 0.03256 0.03256 0.03256 8.53% Amr::writePlotFile() 1 0.02963 0.02963 0.02963 7.76% Castro::clean_state() 30 0.02957 0.02957 0.02957 7.75% VisMF::Write(FabArray) 1 0.02822 0.02822 0.02822 7.39% AmrLevel::FillPatch() 20 0.02281 0.02281 0.02281 5.97% FillPatchIterator::Initialize 20 0.02074 0.02074 0.02074 5.43% FillPatchIterator::FillFromLevel0() 20 0.01995 0.01995 0.01995 5.22% FillPatchSingleLevel 20 0.01993 0.01993 0.01993 5.22% StateDataPhysBCFunct::() 20 0.01785 0.01785 0.01785 4.68% MLCellLinOp::apply() 500 0.01615 0.01615 0.01615 4.23% MLMG::mgVcycle_down::0 36 0.01455 0.01455 0.01455 3.81% MLPoisson::Fsmooth() 1440 0.01431 0.01431 0.01431 3.75% FabArray::FillBoundary() 1766 0.01356 0.01356 0.01356 3.55% FillBoundary_nowait() 1766 0.0132 0.0132 0.0132 3.46% StateData::FillBoundary(geom) 160 0.01312 0.01312 0.01312 3.44% Castro::normalize_species() 30 0.01153 0.01153 0.01153 3.02% Castro::initialize_do_advance() 5 0.01104 0.01104 0.01104 2.89% MLMG::mgVcycle_up::0 36 0.01092 0.01092 0.01092 2.86% Castro::computeTemp() 30 0.01017 0.01017 0.01017 2.66% MLCellLinOp::correctionResidual() 216 0.00975 0.00975 0.00975 2.55% Castro::do_old_sources() 5 0.009703 0.009703 0.009703 2.54% MLPoisson::define() 6 0.009318 0.009318 0.009318 2.44% amrex::Dot() 484 0.009101 0.009101 0.009101 2.38% MLMG:computeResOfCorrection() 180 0.00857 0.00857 0.00857 2.24% Castro::do_new_sources() 5 0.007741 0.007741 0.007741 2.03% Gravity::get_new_grav_vector() 5 0.007698 0.007698 0.007698 2.02% Castro::construct_old_gravity() 5 0.007688 0.007688 0.007688 2.01% Gravity::get_old_grav_vector() 5 0.007681 0.007681 0.007681 2.01% Castro::initialize_advance() 5 0.007648 0.007648 0.007648 2.00% amrex::Copy() 463 0.007267 0.007267 0.007267 1.90% MLMG::mgVcycle_down::1 36 0.007124 0.007124 0.007124 1.87% FabArray::ParallelCopy() 380 0.006645 0.006645 0.006645 1.74% FabArray::setVal() 537 0.006596 0.006596 0.006596 1.73% FabArray::ParallelCopy_nowait() 380 0.006529 0.006529 0.006529 1.71% MLMG::mgVcycle_down::2 36 0.006502 0.006502 0.006502 1.70% FabArray::norminf() 326 0.006426 0.006426 0.006426 1.68% Castro::enforce_min_density() 30 0.006373 0.006373 0.006373 1.67% MLCellLinOp::defineAuxData() 6 0.006362 0.006362 0.006362 1.67% MLMG::mgVcycle_down::3 36 0.00631 0.00631 0.00631 1.65% MLMG::mgVcycle_down::4 36 0.006246 0.006246 0.006246 1.64% Castro::post_restart() 1 0.006218 0.006218 0.006218 1.63% Castro::expand_state() 5 0.005997 0.005997 0.005997 1.57% Castro::post_timestep() 5 0.005915 0.005915 0.005915 1.55% Gravity::fill_multipole_BCs() 6 0.005892 0.005892 0.005892 1.54% Gravity::multilevel_solve_for_new_phi() 1 0.005838 0.005838 0.005838 1.53% Gravity::actual_multilevel_solve() 1 0.005821 0.005821 0.005821 1.52% MLCGSolver::ParallelAllReduce 659 0.00551 0.00551 0.00551 1.44% MLMG::addInterpCorrection() 180 0.005364 0.005364 0.005364 1.40% MLMG::mgVcycle_up::4 36 0.005095 0.005095 0.005095 1.33% MLMG::mgVcycle_up::1 36 0.005029 0.005029 0.005029 1.32% amrex::average_down 180 0.005014 0.005014 0.005014 1.31% MLMG::mgVcycle_up::2 36 0.004944 0.004944 0.004944 1.29% MLMG::mgVcycle_up::3 36 0.004821 0.004821 0.004821 1.26% MLPoisson::Fapply() 500 0.004645 0.004645 0.004645 1.22% FabArray::Saxpy() 355 0.003783 0.003783 0.003783 0.99% FabArray::Xpay() 361 0.003639 0.003639 0.003639 0.95% MLCellLinOp::solutionResidual() 42 0.003464 0.003464 0.003464 0.91% Castro::estTimeStep() 10 0.003318 0.003318 0.003318 0.87% Castro::reset_internal_energy(MultiFab) 30 0.003026 0.003026 0.003026 0.79% MLCellLinOp::defineBC() 6 0.002764 0.002764 0.002764 0.72% MLMG::prepareForSolve() 6 0.00275 0.00275 0.00275 0.72% MLMG::computeResidual() 36 0.002707 0.002707 0.002707 0.71% BndryData::define() 6 0.002652 0.002652 0.002652 0.69% FabArray::LinComb() 242 0.002277 0.002277 0.002277 0.60% Castro::computeNewDt() 5 0.002017 0.002017 0.002017 0.53% amrex::Add() 72 0.001885 0.001885 0.001885 0.49% Castro::construct_new_source() 25 0.001799 0.001799 0.001799 0.47% Castro::construct_new_gravity_source() 5 0.001771 0.001771 0.001771 0.46% Castro::construct_old_source() 25 0.001555 0.001555 0.001555 0.41% Castro::construct_old_gravity_source() 5 0.001527 0.001527 0.001527 0.40% Castro::enforce_speed_limit() 30 0.001466 0.001466 0.001466 0.38% Castro::finalize_do_advance() 5 0.001386 0.001386 0.001386 0.36% MLMG::ResNormInf() 42 0.0009849 0.0009849 0.0009849 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009641 0.0009641 0.0009641 0.25% Castro::apply_source_to_state() 10 0.0009536 0.0009536 0.0009536 0.25% check_for_negative_density() 5 0.0009331 0.0009331 0.0009331 0.24% Castro::reset_internal_energy(Fab) 240 0.0008863 0.0008863 0.0008863 0.23% MLMG::getGradSolution() 6 0.0008632 0.0008632 0.0008632 0.23% MLCellLinOp::compGrad() 6 0.0008544 0.0008544 0.0008544 0.22% FabArrayBase::getCPC() 632 0.0008098 0.0008098 0.0008098 0.21% MLCellLinOp::setLevelBC() 6 0.0007972 0.0007972 0.0007972 0.21% MLMG::computeMLResidual() 6 0.0007749 0.0007749 0.0007749 0.20% Gravity::update_max_rhs() 6 0.0007219 0.0007219 0.0007219 0.19% MLPoisson::prepareForSolve() 6 0.0007065 0.0007065 0.0007065 0.19% MLCellLinOp::prepareForSolve() 6 0.0007028 0.0007028 0.0007028 0.18% FabArray::mult() 22 0.0006869 0.0006869 0.0006869 0.18% FabArray::setDomainBndry() 20 0.0006787 0.0006787 0.0006787 0.18% Castro::check_for_nan() 10 0.0006751 0.0006751 0.0006751 0.18% MultiFab::contains_nan() 10 0.0006676 0.0006676 0.0006676 0.17% FabArrayBase::CPC::define() 244 0.0004366 0.0004366 0.0004366 0.11% Amr::InitAmr() 1 0.0004157 0.0004157 0.0004157 0.11% FabArrayBase::getFB() 1766 0.0003275 0.0003275 0.0003275 0.09% Castro::finalize_advance() 5 0.0003003 0.0003003 0.0003003 0.08% Gravity::swapTimeLevels() 5 0.0002323 0.0002323 0.0002323 0.06% MultiFab::max() 6 0.0002039 0.0002039 0.0002039 0.05% MLMG::MLResNormInf() 6 0.0001855 0.0001855 0.0001855 0.05% MLLinOp::define() 6 0.0001778 0.0001778 0.0001778 0.05% MLLinOp::defineGrids() 6 0.0001666 0.0001666 0.0001666 0.04% Castro::buildMetrics() 1 0.0001514 0.0001514 0.0001514 0.04% MLMG::MLRhsNormInf() 6 0.0001196 0.0001196 0.0001196 0.03% Castro::create_source_corrector() 5 7.665e-05 7.665e-05 7.665e-05 0.02% FabArrayBase::FB::FB() 26 5.965e-05 5.965e-05 5.965e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.959e-05 2.959e-05 2.959e-05 0.01% Amr::writeSmallPlotFile() 1 2.716e-05 2.716e-05 2.716e-05 0.01% Castro::swap_state_time_levels() 5 2.508e-05 2.508e-05 2.508e-05 0.01% Castro::initMFs() 1 2.361e-05 2.361e-05 2.361e-05 0.01% makeSFC 30 2.125e-05 2.125e-05 2.125e-05 0.01% Amr::initSubcycle() 1 9.366e-06 9.366e-06 9.366e-06 0.00% DistributionMapping::Distribute() 31 9.013e-06 9.013e-06 9.013e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.206e-06 4.206e-06 4.206e-06 0.00% Castro::retry_advance_ctu() 5 2.427e-06 2.427e-06 2.427e-06 0.00% Gravity::set_mass_offset() 6 2.11e-06 2.11e-06 2.11e-06 0.00% Castro::FluxRegCrseInit 5 1.639e-06 1.639e-06 1.639e-06 0.00% Castro::FluxRegFineAdd() 5 1.145e-06 1.145e-06 1.145e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.128e-06 1.128e-06 1.128e-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 218 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 132 MiB 692 MiB Castro::initMFs() 48 48 59 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 1195 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2180 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 6687 KiB 14 MiB MLMG::prepareForSolve() 361 361 3646 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 208 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 206 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6672 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 26 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3758 B 2048 KiB Gravity::solve_for_phi() 40 40 672 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 31 KiB 2048 KiB BndryData::define() 576 576 335 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 215 KiB 671 KiB Castro::estTimeStep() 10 10 4174 B 480 KiB VisMF::Write(FabArray) 112 112 1451 B 320 KiB Castro::normalize_species() 30 30 9836 B 320 KiB amrex::average_down 469 469 1270 B 257 KiB MLMG::addInterpCorrection() 468 468 1206 B 257 KiB amrex::Dot() 592 592 3502 B 160 KiB FabArray::norminf() 398 398 2478 B 160 KiB check_for_negative_density() 5 5 390 B 160 KiB MultiFab::max() 6 6 83 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 34 B 20 KiB MLPoisson::Fsmooth() 60 60 3535 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 293 B 9648 B MLCellLinOp::applyBC() 3892 3892 231 B 9344 B amrex::Copy() 56 56 5905 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 45 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 124 B 1472 B MLCellLinOp::defineBC() 36 36 377 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1265 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 92 KiB 8192 KiB VisMF::Write(FabArray) 120 120 213 KiB 3584 KiB VisMF::Read() 24 24 198 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3535 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 293 B 9648 B MLCellLinOp::applyBC() 1946 1946 230 B 9328 B amrex::Copy() 56 56 5905 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2612 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 46 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 540 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 25 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-40-gd4d0e9031d03) finalized