Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-29-g3291c074b67a) initialized Starting run at 08:39:58 UTC on 2023-08-14. Successfully read inputs file ... Castro git describe: 23.08-4-gba9dfc263 AMReX git describe: 23.08-29-g3291c074b Microphysics git describe: 23.08-7-g783d1a02 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.073747875 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.096453649 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.056162034 [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.072474395 [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.07561724 [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.063954699 [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.067904131 [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.073820658 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.056557938 [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.076607963 [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.075986773 [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.058497831 [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.062625502 [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.082328514 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.041168392 seconds Ending run at 08:39:59 UTC on 2023-08-14. Run time = 1.085388077 Run time without initialization = 0.864530665 Average number of zones advanced per microsecond: 3.032 Average number of zones advanced per microsecond per rank: 3.032 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 1.085 ... 1.085 ... 1.085 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.3463 0.3463 0.3463 31.90% Castro::construct_ctu_hydro_source() 10 0.286 0.286 0.286 26.35% MLCellLinOp::applyBC() 4433 0.08023 0.08023 0.08023 7.39% MLPoisson::Fsmooth() 3280 0.03353 0.03353 0.03353 3.09% FillBoundary_nowait() 4023 0.03019 0.03019 0.03019 2.78% StateData::FillBoundary(geom) 328 0.02843 0.02843 0.02843 2.62% amrex::Dot() 1114 0.02163 0.02163 0.02163 1.99% Castro::normalize_species() 62 0.02067 0.02067 0.02067 1.90% Amr::checkPoint() 3 0.0177 0.0177 0.0177 1.63% amrex::Copy() 1029 0.01535 0.01535 0.01535 1.41% FabArray::norminf() 743 0.01503 0.01503 0.01503 1.38% Castro::computeTemp() 63 0.0145 0.0145 0.0145 1.34% FabArray::ParallelCopy_nowait() 861 0.01413 0.01413 0.01413 1.30% FabArray::setVal() 1144 0.01363 0.01363 0.01363 1.26% Castro::enforce_min_density() 62 0.01248 0.01248 0.01248 1.15% MLPoisson::Fapply() 1142 0.01082 0.01082 0.01082 1.00% MLCellLinOp::defineAuxData() 11 0.01044 0.01044 0.01044 0.96% StateDataPhysBCFunct::() 41 0.009967 0.009967 0.009967 0.92% FabArray::Saxpy() 813 0.00845 0.00845 0.00845 0.78% FabArray::Xpay() 821 0.00837 0.00837 0.00837 0.77% MLMG::addInterpCorrection() 410 0.007006 0.007006 0.007006 0.65% Gravity::fill_multipole_BCs() 11 0.006993 0.006993 0.006993 0.64% amrex::average_down 410 0.006255 0.006255 0.006255 0.58% Castro::estTimeStep() 21 0.005812 0.005812 0.005812 0.54% FabArray::LinComb() 557 0.004755 0.004755 0.004755 0.44% Castro::reset_internal_energy(MultiFab) 63 0.004677 0.004677 0.004677 0.43% amrex::Add() 164 0.004359 0.004359 0.004359 0.40% BndryData::define() 11 0.004178 0.004178 0.004178 0.38% Castro::construct_new_gravity_source() 10 0.003241 0.003241 0.003241 0.30% Amr::writePlotFile() 2 0.003052 0.003052 0.003052 0.28% Castro::construct_old_gravity_source() 10 0.002781 0.002781 0.002781 0.26% Castro::enforce_speed_limit() 62 0.002306 0.002306 0.002306 0.21% MLCGSolver::bicgstab 82 0.002187 0.002187 0.002187 0.20% check_for_negative_density() 10 0.001822 0.001822 0.001822 0.17% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001813 0.001813 0.001813 0.17% Castro::reset_internal_energy(Fab) 504 0.001794 0.001794 0.001794 0.17% Gravity::actual_solve_with_mlmg() 11 0.001536 0.001536 0.001536 0.14% MLCellLinOp::setLevelBC() 11 0.001505 0.001505 0.001505 0.14% FabArray::setDomainBndry() 41 0.001371 0.001371 0.001371 0.13% FabArray::mult() 43 0.001355 0.001355 0.001355 0.12% Castro::initData() 1 0.001262 0.001262 0.001262 0.12% MultiFab::contains_nan() 20 0.001229 0.001229 0.001229 0.11% MLCellLinOp::prepareForSolve() 11 0.001196 0.001196 0.001196 0.11% MLCellLinOp::smooth() 1640 0.001019 0.001019 0.001019 0.09% MLCellLinOp::compGrad() 11 0.0009971 0.0009971 0.0009971 0.09% MLMG::prepareForSolve() 11 0.0008989 0.0008989 0.0008989 0.08% FabArray::FillBoundary() 4023 0.0008419 0.0008419 0.0008419 0.08% FabArrayBase::getCPC() 1323 0.0007572 0.0007572 0.0007572 0.07% FabArrayBase::CPC::define() 454 0.0006806 0.0006806 0.0006806 0.06% FabArrayBase::getFB() 4023 0.000601 0.000601 0.000601 0.06% Gravity::get_new_grav_vector() 11 0.0005644 0.0005644 0.0005644 0.05% Amr::InitAmr() 1 0.0005373 0.0005373 0.0005373 0.05% Gravity::get_old_grav_vector() 10 0.0004838 0.0004838 0.0004838 0.04% MLCellLinOp::apply() 1142 0.0004318 0.0004318 0.0004318 0.04% main() 1 0.0004241 0.0004241 0.0004241 0.04% Amr::coarseTimeStep() 10 0.0004037 0.0004037 0.0004037 0.04% MLLinOp::defineGrids() 11 0.0003979 0.0003979 0.0003979 0.04% MLMG::mgVcycle() 82 0.0003637 0.0003637 0.0003637 0.03% MLCGSolver::ParallelAllReduce 1514 0.0003283 0.0003283 0.0003283 0.03% AmrLevel::FillPatch() 41 0.0003242 0.0003242 0.0003242 0.03% MultiFab::max() 11 0.0002772 0.0002772 0.0002772 0.03% FabArray::ParallelCopy() 861 0.0002468 0.0002468 0.0002468 0.02% MLCellLinOp::defineBC() 11 0.0002343 0.0002343 0.0002343 0.02% MLCellLinOp::correctionResidual() 492 0.0002291 0.0002291 0.0002291 0.02% FillPatchIterator::Initialize 41 0.0002157 0.0002157 0.0002157 0.02% Castro::subcycle_advance_ctu() 10 0.000197 0.000197 0.000197 0.02% Castro::create_source_corrector() 10 0.0001804 0.0001804 0.0001804 0.02% Amr::timeStep() 10 0.0001645 0.0001645 0.0001645 0.02% StateData::checkPoint() 12 0.0001435 0.0001435 0.0001435 0.01% Gravity::update_max_rhs() 11 0.0001376 0.0001376 0.0001376 0.01% Castro::advance() 10 0.0001304 0.0001304 0.0001304 0.01% Gravity::solve_for_phi() 10 0.000119 0.000119 0.000119 0.01% MLMG:computeResOfCorrection() 410 0.000109 0.000109 0.000109 0.01% MLMG::mgVcycle_down::0 82 0.0001051 0.0001051 0.0001051 0.01% Castro::Castro() 1 0.0001016 0.0001016 0.0001016 0.01% MLMG::actualBottomSolve() 82 9.203e-05 9.203e-05 9.203e-05 0.01% FabArrayBase::FB::FB() 56 9.167e-05 9.167e-05 9.167e-05 0.01% MLMG::mgVcycle_down::1 82 8.441e-05 8.441e-05 8.441e-05 0.01% MLMG::mgVcycle_down::2 82 8.262e-05 8.262e-05 8.262e-05 0.01% MLMG::mgVcycle_down::4 82 8.18e-05 8.18e-05 8.18e-05 0.01% Castro::initialize_advance() 10 7.854e-05 7.854e-05 7.854e-05 0.01% AmrLevel::checkPoint() 3 7.84e-05 7.84e-05 7.84e-05 0.01% MLMG::mgVcycle_down::3 82 7.81e-05 7.81e-05 7.81e-05 0.01% MLMG::solve() 11 7.732e-05 7.732e-05 7.732e-05 0.01% Castro::clean_state() 62 7.124e-05 7.124e-05 7.124e-05 0.01% Castro::construct_new_source() 50 7.086e-05 7.086e-05 7.086e-05 0.01% Castro::finalize_advance() 10 6.572e-05 6.572e-05 6.572e-05 0.01% Castro::do_new_sources() 10 6.124e-05 6.124e-05 6.124e-05 0.01% MLMG::mgVcycle_up::4 82 6.117e-05 6.117e-05 6.117e-05 0.01% Castro::initialize_do_advance() 10 6.101e-05 6.101e-05 6.101e-05 0.01% MLMG::oneIter() 82 5.644e-05 5.644e-05 5.644e-05 0.01% Castro::finalize_do_advance() 10 5.302e-05 5.302e-05 5.302e-05 0.00% MLCellLinOp::solutionResidual() 93 5.251e-05 5.251e-05 5.251e-05 0.00% Castro::do_advance_ctu() 10 5.149e-05 5.149e-05 5.149e-05 0.00% MLMG::mgVcycle_up::1 82 5.052e-05 5.052e-05 5.052e-05 0.00% MLMG::mgVcycle_up::0 82 5.003e-05 5.003e-05 5.003e-05 0.00% MLMG::mgVcycle_up::3 82 4.958e-05 4.958e-05 4.958e-05 0.00% MLMG::mgVcycle_up::2 82 4.87e-05 4.87e-05 4.87e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.82e-05 4.82e-05 4.82e-05 0.00% Castro::swap_state_time_levels() 10 4.538e-05 4.538e-05 4.538e-05 0.00% StateData::define() 4 4.218e-05 4.218e-05 4.218e-05 0.00% MLPoisson::define() 11 3.794e-05 3.794e-05 3.794e-05 0.00% MLMG::ResNormInf() 93 3.548e-05 3.548e-05 3.548e-05 0.00% Castro::enforce_consistent_e() 1 3.512e-05 3.512e-05 3.512e-05 0.00% MLMG::mgVcycle_bottom 82 3.476e-05 3.476e-05 3.476e-05 0.00% MLMG::computeResidual() 82 3.442e-05 3.442e-05 3.442e-05 0.00% FillPatchSingleLevel 41 3.374e-05 3.374e-05 3.374e-05 0.00% Amr::writeSmallPlotFile() 1 3.003e-05 3.003e-05 3.003e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.995e-05 2.995e-05 2.995e-05 0.00% Castro::construct_new_gravity() 10 2.881e-05 2.881e-05 2.881e-05 0.00% Castro::initMFs() 1 2.828e-05 2.828e-05 2.828e-05 0.00% makeSFC 55 2.545e-05 2.545e-05 2.545e-05 0.00% Castro::do_old_sources() 10 2.182e-05 2.182e-05 2.182e-05 0.00% Amr::FinalizeInit() 1 2.045e-05 2.045e-05 2.045e-05 0.00% MLLinOp::define() 11 1.988e-05 1.988e-05 1.988e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.973e-05 1.973e-05 1.973e-05 0.00% Castro::buildMetrics() 1 1.971e-05 1.971e-05 1.971e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.846e-05 1.846e-05 1.846e-05 0.00% Amr::defBaseLevel() 1 1.789e-05 1.789e-05 1.789e-05 0.00% Castro::construct_old_source() 50 1.719e-05 1.719e-05 1.719e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.704e-05 1.704e-05 1.704e-05 0.00% DistributionMapping::Distribute() 56 1.48e-05 1.48e-05 1.48e-05 0.00% Castro::construct_old_gravity() 10 1.316e-05 1.316e-05 1.316e-05 0.00% Castro::check_for_nan() 20 1.136e-05 1.136e-05 1.136e-05 0.00% Castro::apply_source_to_state() 20 1.057e-05 1.057e-05 1.057e-05 0.00% Amr::initSubcycle() 1 9.924e-06 9.924e-06 9.924e-06 0.00% Gravity::swapTimeLevels() 10 9.843e-06 9.843e-06 9.843e-06 0.00% Castro::computeNewDt() 9 9.124e-06 9.124e-06 9.124e-06 0.00% Castro::post_timestep() 10 8.804e-06 8.804e-06 8.804e-06 0.00% Gravity::actual_multilevel_solve() 1 8.686e-06 8.686e-06 8.686e-06 0.00% MLPoisson::prepareForSolve() 11 8.64e-06 8.64e-06 8.64e-06 0.00% MLMG::computeMLResidual() 11 8.317e-06 8.317e-06 8.317e-06 0.00% MLMG::getGradSolution() 11 6.187e-06 6.187e-06 6.187e-06 0.00% Castro::expand_state() 10 5.707e-06 5.707e-06 5.707e-06 0.00% AmrLevel::checkPointPost() 3 5.627e-06 5.627e-06 5.627e-06 0.00% Amr::InitializeInit() 1 4.986e-06 4.986e-06 4.986e-06 0.00% Castro::post_init() 1 4.871e-06 4.871e-06 4.871e-06 0.00% Castro::retry_advance_ctu() 10 4.668e-06 4.668e-06 4.668e-06 0.00% Gravity::set_mass_offset() 11 4.39e-06 4.39e-06 4.39e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.223e-06 4.223e-06 4.223e-06 0.00% MLMG::MLRhsNormInf() 11 4.053e-06 4.053e-06 4.053e-06 0.00% Castro::computeInitialDt() 2 3.541e-06 3.541e-06 3.541e-06 0.00% Amr::init() 1 3.531e-06 3.531e-06 3.531e-06 0.00% MLMG::MLResNormInf() 11 3.383e-06 3.383e-06 3.383e-06 0.00% Castro::FluxRegFineAdd() 10 2.872e-06 2.872e-06 2.872e-06 0.00% Castro::FluxRegCrseInit 10 2.773e-06 2.773e-06 2.773e-06 0.00% AmrLevel::checkPointPre() 3 2.567e-06 2.567e-06 2.567e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.957e-06 1.957e-06 1.957e-06 0.00% Castro::post_regrid() 1 1.334e-06 1.334e-06 1.334e-06 0.00% Amr::initialInit() 1 1.192e-06 1.192e-06 1.192e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 1.085 1.085 1.085 100.00% Amr::coarseTimeStep() 10 0.823 0.823 0.823 75.82% Amr::timeStep() 10 0.663 0.663 0.663 61.08% Castro::advance() 10 0.6525 0.6525 0.6525 60.11% Castro::subcycle_advance_ctu() 10 0.639 0.639 0.639 58.87% Castro::do_advance_ctu() 10 0.6388 0.6388 0.6388 58.85% VisMF::Write(FabArray) 11 0.3463 0.3463 0.3463 31.90% Castro::construct_ctu_hydro_source() 10 0.2977 0.2977 0.2977 27.43% Gravity::solve_phi_with_mlmg() 11 0.2945 0.2945 0.2945 27.13% Gravity::actual_solve_with_mlmg() 11 0.287 0.287 0.287 26.44% Castro::construct_new_gravity() 10 0.2692 0.2692 0.2692 24.80% MLMG::solve() 11 0.2647 0.2647 0.2647 24.38% Gravity::solve_for_phi() 10 0.2526 0.2526 0.2526 23.27% MLMG::oneIter() 82 0.25 0.25 0.25 23.03% MLMG::mgVcycle() 82 0.2463 0.2463 0.2463 22.69% Amr::checkPoint() 3 0.23 0.23 0.23 21.19% Amr::init() 1 0.2201 0.2201 0.2201 20.28% AmrLevel::checkPoint() 3 0.2123 0.2123 0.2123 19.56% StateData::checkPoint() 12 0.2122 0.2122 0.2122 19.55% Amr::writePlotFile() 2 0.1378 0.1378 0.1378 12.69% MLCellLinOp::smooth() 1640 0.1197 0.1197 0.1197 11.03% MLCellLinOp::applyBC() 4433 0.1119 0.1119 0.1119 10.31% MLMG::mgVcycle_bottom 82 0.07728 0.07728 0.07728 7.12% MLMG::actualBottomSolve() 82 0.07725 0.07725 0.07725 7.12% MLCGSolver::bicgstab 82 0.07652 0.07652 0.07652 7.05% Castro::clean_state() 62 0.05571 0.05571 0.05571 5.13% Amr::initialInit() 1 0.04981 0.04981 0.04981 4.59% AmrLevel::FillPatch() 41 0.04829 0.04829 0.04829 4.45% Amr::FinalizeInit() 1 0.04567 0.04567 0.04567 4.21% Castro::post_init() 1 0.04433 0.04433 0.04433 4.08% FillPatchIterator::Initialize 41 0.04411 0.04411 0.04411 4.06% FillPatchIterator::FillFromLevel0() 41 0.04253 0.04253 0.04253 3.92% FillPatchSingleLevel 41 0.04248 0.04248 0.04248 3.91% Gravity::multilevel_solve_for_new_phi() 1 0.04231 0.04231 0.04231 3.90% Gravity::actual_multilevel_solve() 1 0.0423 0.0423 0.0423 3.90% StateDataPhysBCFunct::() 41 0.0384 0.0384 0.0384 3.54% MLCellLinOp::apply() 1142 0.03758 0.03758 0.03758 3.46% MLMG::mgVcycle_down::0 82 0.03383 0.03383 0.03383 3.12% MLPoisson::Fsmooth() 3280 0.03353 0.03353 0.03353 3.09% FabArray::FillBoundary() 4023 0.03172 0.03172 0.03172 2.92% FillBoundary_nowait() 4023 0.03088 0.03088 0.03088 2.84% StateData::FillBoundary(geom) 328 0.02843 0.02843 0.02843 2.62% MLMG::mgVcycle_up::0 82 0.02544 0.02544 0.02544 2.34% MLCellLinOp::correctionResidual() 492 0.02295 0.02295 0.02295 2.11% amrex::Dot() 1114 0.02163 0.02163 0.02163 1.99% Castro::computeTemp() 63 0.02097 0.02097 0.02097 1.93% Castro::initialize_do_advance() 10 0.02082 0.02082 0.02082 1.92% Castro::normalize_species() 62 0.02067 0.02067 0.02067 1.90% MLMG:computeResOfCorrection() 410 0.02014 0.02014 0.02014 1.86% Castro::do_old_sources() 10 0.01856 0.01856 0.01856 1.71% Gravity::get_new_grav_vector() 11 0.01825 0.01825 0.01825 1.68% MLPoisson::define() 11 0.0178 0.0178 0.0178 1.64% MLMG::mgVcycle_down::1 82 0.01656 0.01656 0.01656 1.53% Castro::construct_old_gravity() 10 0.0159 0.0159 0.0159 1.46% Gravity::get_old_grav_vector() 10 0.01588 0.01588 0.01588 1.46% MLMG::mgVcycle_down::2 82 0.01548 0.01548 0.01548 1.43% amrex::Copy() 1029 0.01535 0.01535 0.01535 1.41% FabArray::ParallelCopy() 861 0.0152 0.0152 0.0152 1.40% MLMG::mgVcycle_down::3 82 0.01508 0.01508 0.01508 1.39% FabArray::norminf() 743 0.01503 0.01503 0.01503 1.38% FabArray::ParallelCopy_nowait() 861 0.01495 0.01495 0.01495 1.38% MLMG::mgVcycle_down::4 82 0.01492 0.01492 0.01492 1.37% FabArray::setVal() 1144 0.01363 0.01363 0.01363 1.26% Castro::do_new_sources() 10 0.01329 0.01329 0.01329 1.22% MLCGSolver::ParallelAllReduce 1514 0.01303 0.01303 0.01303 1.20% Castro::initialize_advance() 10 0.01276 0.01276 0.01276 1.18% MLMG::addInterpCorrection() 410 0.01254 0.01254 0.01254 1.16% Castro::enforce_min_density() 62 0.01248 0.01248 0.01248 1.15% MLMG::mgVcycle_up::4 82 0.01204 0.01204 0.01204 1.11% MLMG::mgVcycle_up::1 82 0.01202 0.01202 0.01202 1.11% amrex::average_down 410 0.01188 0.01188 0.01188 1.09% MLCellLinOp::defineAuxData() 11 0.01183 0.01183 0.01183 1.09% MLMG::mgVcycle_up::2 82 0.01172 0.01172 0.01172 1.08% Castro::expand_state() 10 0.01162 0.01162 0.01162 1.07% MLMG::mgVcycle_up::3 82 0.01158 0.01158 0.01158 1.07% MLPoisson::Fapply() 1142 0.01082 0.01082 0.01082 1.00% Castro::post_timestep() 10 0.01035 0.01035 0.01035 0.95% FabArray::Saxpy() 813 0.00845 0.00845 0.00845 0.78% FabArray::Xpay() 821 0.00837 0.00837 0.00837 0.77% Gravity::fill_multipole_BCs() 11 0.007246 0.007246 0.007246 0.67% MLCellLinOp::solutionResidual() 93 0.007222 0.007222 0.007222 0.67% Castro::reset_internal_energy(MultiFab) 63 0.006471 0.006471 0.006471 0.60% MLMG::computeResidual() 82 0.006174 0.006174 0.006174 0.57% Castro::estTimeStep() 21 0.005812 0.005812 0.005812 0.54% MLCellLinOp::defineBC() 11 0.005458 0.005458 0.005458 0.50% BndryData::define() 11 0.005223 0.005223 0.005223 0.48% MLMG::prepareForSolve() 11 0.004935 0.004935 0.004935 0.45% FabArray::LinComb() 557 0.004755 0.004755 0.004755 0.44% amrex::Add() 164 0.004359 0.004359 0.004359 0.40% Amr::InitializeInit() 1 0.004142 0.004142 0.004142 0.38% Amr::defBaseLevel() 1 0.004137 0.004137 0.004137 0.38% Castro::initData() 1 0.003578 0.003578 0.003578 0.33% Castro::construct_new_source() 50 0.003312 0.003312 0.003312 0.31% Castro::construct_new_gravity_source() 10 0.003241 0.003241 0.003241 0.30% Castro::construct_old_source() 50 0.002798 0.002798 0.002798 0.26% Castro::construct_old_gravity_source() 10 0.002781 0.002781 0.002781 0.26% Castro::computeNewDt() 9 0.002675 0.002675 0.002675 0.25% Castro::finalize_do_advance() 10 0.002325 0.002325 0.002325 0.21% Castro::enforce_speed_limit() 62 0.002306 0.002306 0.002306 0.21% MLMG::ResNormInf() 93 0.00219 0.00219 0.00219 0.20% Castro::apply_source_to_state() 20 0.001839 0.001839 0.001839 0.17% check_for_negative_density() 10 0.001822 0.001822 0.001822 0.17% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001813 0.001813 0.001813 0.17% Castro::reset_internal_energy(Fab) 504 0.001794 0.001794 0.001794 0.17% MLCellLinOp::setLevelBC() 11 0.001505 0.001505 0.001505 0.14% MLMG::getGradSolution() 11 0.001478 0.001478 0.001478 0.14% MLCellLinOp::compGrad() 11 0.001471 0.001471 0.001471 0.14% FabArrayBase::getCPC() 1323 0.001438 0.001438 0.001438 0.13% FabArray::setDomainBndry() 41 0.001371 0.001371 0.001371 0.13% FabArray::mult() 43 0.001355 0.001355 0.001355 0.12% Castro::check_for_nan() 20 0.00124 0.00124 0.00124 0.11% MultiFab::contains_nan() 20 0.001229 0.001229 0.001229 0.11% MLPoisson::prepareForSolve() 11 0.001204 0.001204 0.001204 0.11% MLCellLinOp::prepareForSolve() 11 0.001196 0.001196 0.001196 0.11% Castro::post_regrid() 1 0.001154 0.001154 0.001154 0.11% MLMG::computeMLResidual() 11 0.00109 0.00109 0.00109 0.10% Castro::computeInitialDt() 2 0.0008777 0.0008777 0.0008777 0.08% Gravity::update_max_rhs() 11 0.0008769 0.0008769 0.0008769 0.08% FabArrayBase::getFB() 4023 0.0006927 0.0006927 0.0006927 0.06% FabArrayBase::CPC::define() 454 0.0006806 0.0006806 0.0006806 0.06% Castro::finalize_advance() 10 0.0005968 0.0005968 0.0005968 0.05% Amr::InitAmr() 1 0.0005472 0.0005472 0.0005472 0.05% MLLinOp::define() 11 0.0004756 0.0004756 0.0004756 0.04% Castro::Castro() 1 0.000474 0.000474 0.000474 0.04% Gravity::swapTimeLevels() 10 0.0004618 0.0004618 0.0004618 0.04% MLLinOp::defineGrids() 11 0.0004558 0.0004558 0.0004558 0.04% MLMG::MLResNormInf() 11 0.0003003 0.0003003 0.0003003 0.03% MultiFab::max() 11 0.0002772 0.0002772 0.0002772 0.03% MLMG::MLRhsNormInf() 11 0.0002234 0.0002234 0.0002234 0.02% Castro::create_source_corrector() 10 0.0001804 0.0001804 0.0001804 0.02% Castro::buildMetrics() 1 0.0001666 0.0001666 0.0001666 0.02% FabArrayBase::FB::FB() 56 9.167e-05 9.167e-05 9.167e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.192e-05 6.192e-05 6.192e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.588e-05 5.588e-05 5.588e-05 0.01% Castro::swap_state_time_levels() 10 4.538e-05 4.538e-05 4.538e-05 0.00% StateData::define() 4 4.218e-05 4.218e-05 4.218e-05 0.00% makeSFC 55 3.884e-05 3.884e-05 3.884e-05 0.00% Castro::enforce_consistent_e() 1 3.512e-05 3.512e-05 3.512e-05 0.00% Amr::writeSmallPlotFile() 1 3.003e-05 3.003e-05 3.003e-05 0.00% Castro::initMFs() 1 2.828e-05 2.828e-05 2.828e-05 0.00% DistributionMapping::Distribute() 56 1.48e-05 1.48e-05 1.48e-05 0.00% Amr::initSubcycle() 1 9.924e-06 9.924e-06 9.924e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.632e-06 5.632e-06 5.632e-06 0.00% AmrLevel::checkPointPost() 3 5.627e-06 5.627e-06 5.627e-06 0.00% Castro::retry_advance_ctu() 10 4.668e-06 4.668e-06 4.668e-06 0.00% Gravity::set_mass_offset() 11 4.39e-06 4.39e-06 4.39e-06 0.00% Castro::FluxRegFineAdd() 10 2.872e-06 2.872e-06 2.872e-06 0.00% Castro::FluxRegCrseInit 10 2.773e-06 2.773e-06 2.773e-06 0.00% AmrLevel::checkPointPre() 3 2.567e-06 2.567e-06 2.567e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.957e-06 1.957e-06 1.957e-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 75 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 123 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 44 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 853 KiB 39 MiB Castro::initialize_do_advance() 80 80 22 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 3587 KiB 28 MiB Castro::initialize_advance() 80 80 14 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7605 KiB 14 MiB MLMG::prepareForSolve() 660 660 3000 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 175 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 149 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7535 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1547 B 2048 KiB Gravity::solve_for_phi() 80 80 476 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 79 KiB 2048 KiB BndryData::define() 1056 1056 274 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 174 KiB 671 KiB Castro::estTimeStep() 21 21 2613 B 480 KiB VisMF::Write(FabArray) 656 656 2843 B 320 KiB Castro::normalize_species() 62 62 6209 B 320 KiB amrex::average_down 1067 1067 1121 B 257 KiB MLMG::addInterpCorrection() 1066 1066 987 B 257 KiB amrex::Dot() 1360 1360 2928 B 160 KiB FabArray::norminf() 907 907 2044 B 160 KiB check_for_negative_density() 10 10 262 B 160 KiB Castro::initData() 1 1 23 B 160 KiB MultiFab::max() 11 11 39 B 160 KiB FabArray::setVal() 106 106 20 KiB 26 KiB MultiFab::contains_nan() 20 20 22 B 20 KiB MLPoisson::Fsmooth() 132 132 2932 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 36 B 10 KiB FillBoundary_nowait() 760 760 242 B 9648 B MLCellLinOp::applyBC() 8866 8866 185 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3622 B 6144 B StateData::FillBoundary(geom) 1992 1992 30 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 102 B 1472 B MLCellLinOp::defineBC() 66 66 308 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 528 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 52 KiB 8192 KiB VisMF::Write(FabArray) 744 744 815 KiB 3584 KiB FabArray::setVal() 106 106 20 KiB 26 KiB MLPoisson::Fsmooth() 132 132 2932 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 36 B 10 KiB FillBoundary_nowait() 760 760 242 B 9648 B MLCellLinOp::applyBC() 4433 4433 183 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3622 B 6144 B Gravity::get_new_grav_vector() 3 3 2931 B 3072 B Gravity::fill_multipole_BCs() 33 33 2 B 2832 B StateData::FillBoundary(geom) 1992 1992 30 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 249 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 21 B 400 B FabArray::norminf() 907 907 15 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-29-g3291c074b67a) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-29-g3291c074b67a) initialized Starting run at 08:40:00 UTC on 2023-08-14. Successfully read inputs file ... Castro git describe: 23.08-4-gba9dfc263 AMReX git describe: 23.08-29-g3291c074b Microphysics git describe: 23.08-7-g783d1a02 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.630756266 Restart time = 0.050792378 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.052448444 [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.082324465 [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.083014628 [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.057833353 [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.078291082 [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.04292056 seconds Ending run at 08:40:01 UTC on 2023-08-14. Run time = 0.448798834 Run time without initialization = 0.397326898 Average number of zones advanced per microsecond: 3.299 Average number of zones advanced per microsecond per rank: 3.299 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4488 ... 0.4488 ... 0.4488 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1631 0.1631 0.1631 36.33% VisMF::Read() 3 0.04353 0.04353 0.04353 9.70% VisMF::Write(FabArray) 1 0.04073 0.04073 0.04073 9.08% MLCellLinOp::applyBC() 1946 0.03584 0.03584 0.03584 7.98% MLPoisson::Fsmooth() 1440 0.01477 0.01477 0.01477 3.29% StateData::FillBoundary(geom) 160 0.01329 0.01329 0.01329 2.96% FillBoundary_nowait() 1766 0.01286 0.01286 0.01286 2.87% amrex::Dot() 484 0.009463 0.009463 0.009463 2.11% Castro::normalize_species() 30 0.008522 0.008522 0.008522 1.90% amrex::Copy() 463 0.007278 0.007278 0.007278 1.62% FabArray::norminf() 326 0.00667 0.00667 0.00667 1.49% FabArray::setVal() 537 0.006595 0.006595 0.006595 1.47% FabArray::ParallelCopy_nowait() 380 0.00651 0.00651 0.00651 1.45% Castro::computeTemp() 30 0.006078 0.006078 0.006078 1.35% Castro::enforce_min_density() 30 0.005831 0.005831 0.005831 1.30% MLCellLinOp::defineAuxData() 6 0.00562 0.00562 0.00562 1.25% MLPoisson::Fapply() 500 0.004713 0.004713 0.004713 1.05% StateDataPhysBCFunct::() 20 0.004201 0.004201 0.004201 0.94% FabArray::Saxpy() 355 0.003845 0.003845 0.003845 0.86% FabArray::Xpay() 361 0.003711 0.003711 0.003711 0.83% Gravity::fill_multipole_BCs() 6 0.003673 0.003673 0.003673 0.82% Amr::restart() 1 0.003249 0.003249 0.003249 0.72% MLMG::addInterpCorrection() 180 0.003075 0.003075 0.003075 0.69% amrex::average_down 180 0.002803 0.002803 0.002803 0.62% Castro::estTimeStep() 10 0.002579 0.002579 0.002579 0.57% BndryData::define() 6 0.002284 0.002284 0.002284 0.51% FabArray::LinComb() 242 0.002083 0.002083 0.002083 0.46% Amr::writePlotFile() 1 0.001986 0.001986 0.001986 0.44% Castro::reset_internal_energy(MultiFab) 30 0.001881 0.001881 0.001881 0.42% amrex::Add() 72 0.001854 0.001854 0.001854 0.41% Castro::construct_new_gravity_source() 5 0.001753 0.001753 0.001753 0.39% Castro::construct_old_gravity_source() 5 0.001403 0.001403 0.001403 0.31% check_for_negative_density() 5 0.00109 0.00109 0.00109 0.24% MLCGSolver::bicgstab 36 0.001027 0.001027 0.001027 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009915 0.0009915 0.0009915 0.22% Castro::reset_internal_energy(Fab) 240 0.0008751 0.0008751 0.0008751 0.19% MLCellLinOp::setLevelBC() 6 0.0008437 0.0008437 0.0008437 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008135 0.0008135 0.0008135 0.18% Castro::enforce_speed_limit() 30 0.0007792 0.0007792 0.0007792 0.17% FabArray::setDomainBndry() 20 0.0006727 0.0006727 0.0006727 0.15% FabArray::mult() 22 0.0006589 0.0006589 0.0006589 0.15% MLCellLinOp::prepareForSolve() 6 0.0006542 0.0006542 0.0006542 0.15% MultiFab::contains_nan() 10 0.0005906 0.0005906 0.0005906 0.13% MLMG::prepareForSolve() 6 0.0005741 0.0005741 0.0005741 0.13% MLCellLinOp::compGrad() 6 0.000503 0.000503 0.000503 0.11% MLCellLinOp::smooth() 720 0.0004678 0.0004678 0.0004678 0.10% Amr::InitAmr() 1 0.0004421 0.0004421 0.0004421 0.10% FabArrayBase::CPC::define() 244 0.0004313 0.0004313 0.0004313 0.10% main() 1 0.0003833 0.0003833 0.0003833 0.09% FabArray::FillBoundary() 1766 0.0003787 0.0003787 0.0003787 0.08% FabArrayBase::getCPC() 632 0.0003782 0.0003782 0.0003782 0.08% Gravity::get_old_grav_vector() 5 0.0002909 0.0002909 0.0002909 0.06% FabArrayBase::getFB() 1766 0.0002772 0.0002772 0.0002772 0.06% Gravity::get_new_grav_vector() 5 0.0002619 0.0002619 0.0002619 0.06% MLCellLinOp::apply() 500 0.0002032 0.0002032 0.0002032 0.05% MLLinOp::defineGrids() 6 0.0001982 0.0001982 0.0001982 0.04% Amr::coarseTimeStep() 5 0.0001701 0.0001701 0.0001701 0.04% MLMG::mgVcycle() 36 0.0001699 0.0001699 0.0001699 0.04% AmrLevel::FillPatch() 20 0.0001659 0.0001659 0.0001659 0.04% MLCGSolver::ParallelAllReduce 659 0.0001494 0.0001494 0.0001494 0.03% MultiFab::max() 6 0.0001412 0.0001412 0.0001412 0.03% Castro::subcycle_advance_ctu() 5 0.0001335 0.0001335 0.0001335 0.03% MLCellLinOp::defineBC() 6 0.0001247 0.0001247 0.0001247 0.03% FabArray::ParallelCopy() 380 0.0001127 0.0001127 0.0001127 0.03% Castro::create_source_corrector() 5 0.0001084 0.0001084 0.0001084 0.02% FillPatchIterator::Initialize 20 0.0001054 0.0001054 0.0001054 0.02% MLCellLinOp::correctionResidual() 216 9.64e-05 9.64e-05 9.64e-05 0.02% AmrLevel::restart() 1 8.553e-05 8.553e-05 8.553e-05 0.02% Amr::timeStep() 5 8.125e-05 8.125e-05 8.125e-05 0.02% Castro::construct_new_source() 25 8.025e-05 8.025e-05 8.025e-05 0.02% StateData::restartDoit() 4 7.411e-05 7.411e-05 7.411e-05 0.02% Gravity::update_max_rhs() 6 7.03e-05 7.03e-05 7.03e-05 0.02% FabArrayBase::FB::FB() 26 6.755e-05 6.755e-05 6.755e-05 0.02% Castro::initialize_do_advance() 5 6.541e-05 6.541e-05 6.541e-05 0.01% Castro::advance() 5 6.119e-05 6.119e-05 6.119e-05 0.01% MLMG:computeResOfCorrection() 180 5.488e-05 5.488e-05 5.488e-05 0.01% Gravity::solve_for_phi() 5 5.182e-05 5.182e-05 5.182e-05 0.01% MLMG::actualBottomSolve() 36 4.565e-05 4.565e-05 4.565e-05 0.01% Castro::do_advance_ctu() 5 4.453e-05 4.453e-05 4.453e-05 0.01% Castro::finalize_do_advance() 5 4.327e-05 4.327e-05 4.327e-05 0.01% MLMG::mgVcycle_down::0 36 4.25e-05 4.25e-05 4.25e-05 0.01% MLMG::mgVcycle_down::1 36 3.857e-05 3.857e-05 3.857e-05 0.01% Castro::do_new_sources() 5 3.686e-05 3.686e-05 3.686e-05 0.01% MLMG::solve() 6 3.674e-05 3.674e-05 3.674e-05 0.01% MLMG::mgVcycle_down::2 36 3.661e-05 3.661e-05 3.661e-05 0.01% MLMG::mgVcycle_down::4 36 3.582e-05 3.582e-05 3.582e-05 0.01% Castro::initialize_advance() 5 3.572e-05 3.572e-05 3.572e-05 0.01% Castro::buildMetrics() 1 3.424e-05 3.424e-05 3.424e-05 0.01% MLMG::mgVcycle_down::3 36 3.393e-05 3.393e-05 3.393e-05 0.01% Amr::writeSmallPlotFile() 1 3.174e-05 3.174e-05 3.174e-05 0.01% Castro::clean_state() 30 3.108e-05 3.108e-05 3.108e-05 0.01% Castro::finalize_advance() 5 3.071e-05 3.071e-05 3.071e-05 0.01% MLMG::mgVcycle_up::4 36 3.01e-05 3.01e-05 3.01e-05 0.01% MLPoisson::define() 6 2.955e-05 2.955e-05 2.955e-05 0.01% Castro::initMFs() 1 2.839e-05 2.839e-05 2.839e-05 0.01% Castro::construct_old_source() 25 2.8e-05 2.8e-05 2.8e-05 0.01% MLMG::oneIter() 36 2.605e-05 2.605e-05 2.605e-05 0.01% Castro::swap_state_time_levels() 5 2.499e-05 2.499e-05 2.499e-05 0.01% MLMG::mgVcycle_up::3 36 2.386e-05 2.386e-05 2.386e-05 0.01% MLMG::mgVcycle_up::2 36 2.295e-05 2.295e-05 2.295e-05 0.01% MLCellLinOp::solutionResidual() 42 2.289e-05 2.289e-05 2.289e-05 0.01% MLMG::mgVcycle_up::0 36 2.268e-05 2.268e-05 2.268e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.26e-05 2.26e-05 2.26e-05 0.01% MLMG::mgVcycle_up::1 36 2.144e-05 2.144e-05 2.144e-05 0.00% Castro::post_restart() 1 2.134e-05 2.134e-05 2.134e-05 0.00% MLMG::ResNormInf() 42 1.903e-05 1.903e-05 1.903e-05 0.00% MLMG::mgVcycle_bottom 36 1.744e-05 1.744e-05 1.744e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.668e-05 1.668e-05 1.668e-05 0.00% FillPatchSingleLevel 20 1.58e-05 1.58e-05 1.58e-05 0.00% MLMG::computeResidual() 36 1.543e-05 1.543e-05 1.543e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.409e-05 1.409e-05 1.409e-05 0.00% Castro::construct_new_gravity() 5 1.299e-05 1.299e-05 1.299e-05 0.00% makeSFC 30 1.284e-05 1.284e-05 1.284e-05 0.00% Castro::do_old_sources() 5 1.22e-05 1.22e-05 1.22e-05 0.00% MLLinOp::define() 6 1.216e-05 1.216e-05 1.216e-05 0.00% DistributionMapping::Distribute() 31 9.446e-06 9.446e-06 9.446e-06 0.00% Amr::initSubcycle() 1 9.179e-06 9.179e-06 9.179e-06 0.00% Gravity::actual_multilevel_solve() 1 8.769e-06 8.769e-06 8.769e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.101e-06 8.101e-06 8.101e-06 0.00% Castro::construct_old_gravity() 5 7.224e-06 7.224e-06 7.224e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.895e-06 5.895e-06 5.895e-06 0.00% Castro::check_for_nan() 10 5.692e-06 5.692e-06 5.692e-06 0.00% Castro::apply_source_to_state() 10 5.684e-06 5.684e-06 5.684e-06 0.00% Castro::post_timestep() 5 4.988e-06 4.988e-06 4.988e-06 0.00% MLPoisson::prepareForSolve() 6 4.64e-06 4.64e-06 4.64e-06 0.00% MLMG::computeMLResidual() 6 4.37e-06 4.37e-06 4.37e-06 0.00% Castro::computeNewDt() 5 3.991e-06 3.991e-06 3.991e-06 0.00% Gravity::swapTimeLevels() 5 3.975e-06 3.975e-06 3.975e-06 0.00% MLMG::getGradSolution() 6 3.381e-06 3.381e-06 3.381e-06 0.00% Castro::expand_state() 5 2.549e-06 2.549e-06 2.549e-06 0.00% Castro::retry_advance_ctu() 5 2.44e-06 2.44e-06 2.44e-06 0.00% MLMG::MLRhsNormInf() 6 2.408e-06 2.408e-06 2.408e-06 0.00% MLMG::MLResNormInf() 6 2.402e-06 2.402e-06 2.402e-06 0.00% Gravity::set_mass_offset() 6 2.262e-06 2.262e-06 2.262e-06 0.00% Castro::FluxRegCrseInit 5 1.581e-06 1.581e-06 1.581e-06 0.00% Amr::init() 1 1.452e-06 1.452e-06 1.452e-06 0.00% Castro::FluxRegFineAdd() 5 1.244e-06 1.244e-06 1.244e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.141e-06 1.141e-06 1.141e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4488 0.4488 0.4488 100.00% Amr::coarseTimeStep() 5 0.3541 0.3541 0.3541 78.89% Amr::timeStep() 5 0.3524 0.3524 0.3524 78.50% Castro::advance() 5 0.3474 0.3474 0.3474 77.39% Castro::subcycle_advance_ctu() 5 0.3404 0.3404 0.3404 75.85% Castro::do_advance_ctu() 5 0.3403 0.3403 0.3403 75.82% Castro::construct_ctu_hydro_source() 5 0.169 0.169 0.169 37.66% Castro::construct_new_gravity() 5 0.1384 0.1384 0.1384 30.83% Gravity::solve_phi_with_mlmg() 6 0.1334 0.1334 0.1334 29.73% Gravity::solve_for_phi() 5 0.1302 0.1302 0.1302 29.00% Gravity::actual_solve_with_mlmg() 6 0.1295 0.1295 0.1295 28.86% MLMG::solve() 6 0.1174 0.1174 0.1174 26.16% MLMG::oneIter() 36 0.1101 0.1101 0.1101 24.54% MLMG::mgVcycle() 36 0.1086 0.1086 0.1086 24.19% MLCellLinOp::smooth() 720 0.05261 0.05261 0.05261 11.72% Amr::init() 1 0.05085 0.05085 0.05085 11.33% Amr::restart() 1 0.05085 0.05085 0.05085 11.33% MLCellLinOp::applyBC() 1946 0.04942 0.04942 0.04942 11.01% AmrLevel::restart() 1 0.04376 0.04376 0.04376 9.75% StateData::restartDoit() 4 0.04366 0.04366 0.04366 9.73% VisMF::Read() 3 0.04353 0.04353 0.04353 9.70% Amr::writePlotFile() 1 0.04304 0.04304 0.04304 9.59% VisMF::Write(FabArray) 1 0.04073 0.04073 0.04073 9.08% MLMG::mgVcycle_bottom 36 0.03411 0.03411 0.03411 7.60% MLMG::actualBottomSolve() 36 0.0341 0.0341 0.0341 7.60% MLCGSolver::bicgstab 36 0.03376 0.03376 0.03376 7.52% Castro::clean_state() 30 0.024 0.024 0.024 5.35% AmrLevel::FillPatch() 20 0.02241 0.02241 0.02241 4.99% FillPatchIterator::Initialize 20 0.02034 0.02034 0.02034 4.53% FillPatchIterator::FillFromLevel0() 20 0.01956 0.01956 0.01956 4.36% FillPatchSingleLevel 20 0.01954 0.01954 0.01954 4.35% StateDataPhysBCFunct::() 20 0.01749 0.01749 0.01749 3.90% MLCellLinOp::apply() 500 0.0167 0.0167 0.0167 3.72% MLMG::mgVcycle_down::0 36 0.01486 0.01486 0.01486 3.31% MLPoisson::Fsmooth() 1440 0.01477 0.01477 0.01477 3.29% FabArray::FillBoundary() 1766 0.01358 0.01358 0.01358 3.03% StateData::FillBoundary(geom) 160 0.01329 0.01329 0.01329 2.96% FillBoundary_nowait() 1766 0.01321 0.01321 0.01321 2.94% MLMG::mgVcycle_up::0 36 0.01104 0.01104 0.01104 2.46% MLCellLinOp::correctionResidual() 216 0.01009 0.01009 0.01009 2.25% MLPoisson::define() 6 0.009674 0.009674 0.009674 2.16% amrex::Dot() 484 0.009463 0.009463 0.009463 2.11% Castro::initialize_do_advance() 5 0.009229 0.009229 0.009229 2.06% MLMG:computeResOfCorrection() 180 0.008844 0.008844 0.008844 1.97% Castro::computeTemp() 30 0.008834 0.008834 0.008834 1.97% Castro::normalize_species() 30 0.008522 0.008522 0.008522 1.90% Castro::do_old_sources() 5 0.008199 0.008199 0.008199 1.83% Gravity::get_new_grav_vector() 5 0.008092 0.008092 0.008092 1.80% Castro::construct_old_gravity() 5 0.007639 0.007639 0.007639 1.70% Gravity::get_old_grav_vector() 5 0.007631 0.007631 0.007631 1.70% MLMG::mgVcycle_down::1 36 0.007352 0.007352 0.007352 1.64% amrex::Copy() 463 0.007278 0.007278 0.007278 1.62% FabArray::ParallelCopy() 380 0.007048 0.007048 0.007048 1.57% FabArray::ParallelCopy_nowait() 380 0.006935 0.006935 0.006935 1.55% MLMG::mgVcycle_down::2 36 0.006916 0.006916 0.006916 1.54% FabArray::norminf() 326 0.00667 0.00667 0.00667 1.49% MLMG::mgVcycle_down::3 36 0.006637 0.006637 0.006637 1.48% MLMG::mgVcycle_down::4 36 0.00662 0.00662 0.00662 1.47% FabArray::setVal() 537 0.006595 0.006595 0.006595 1.47% Castro::initialize_advance() 5 0.006583 0.006583 0.006583 1.47% MLCellLinOp::defineAuxData() 6 0.006375 0.006375 0.006375 1.42% Castro::do_new_sources() 5 0.006232 0.006232 0.006232 1.39% Castro::enforce_min_density() 30 0.005831 0.005831 0.005831 1.30% MLCGSolver::ParallelAllReduce 659 0.005734 0.005734 0.005734 1.28% MLMG::addInterpCorrection() 180 0.005553 0.005553 0.005553 1.24% Castro::expand_state() 5 0.005376 0.005376 0.005376 1.20% MLMG::mgVcycle_up::4 36 0.005366 0.005366 0.005366 1.20% amrex::average_down 180 0.005336 0.005336 0.005336 1.19% MLMG::mgVcycle_up::1 36 0.005232 0.005232 0.005232 1.17% MLMG::mgVcycle_up::2 36 0.005171 0.005171 0.005171 1.15% MLMG::mgVcycle_up::3 36 0.005115 0.005115 0.005115 1.14% Castro::post_timestep() 5 0.004912 0.004912 0.004912 1.09% MLPoisson::Fapply() 500 0.004713 0.004713 0.004713 1.05% FabArray::Saxpy() 355 0.003845 0.003845 0.003845 0.86% Gravity::fill_multipole_BCs() 6 0.003797 0.003797 0.003797 0.85% FabArray::Xpay() 361 0.003711 0.003711 0.003711 0.83% Castro::post_restart() 1 0.003648 0.003648 0.003648 0.81% Gravity::multilevel_solve_for_new_phi() 1 0.003522 0.003522 0.003522 0.78% Gravity::actual_multilevel_solve() 1 0.003506 0.003506 0.003506 0.78% MLCellLinOp::solutionResidual() 42 0.003318 0.003318 0.003318 0.74% MLCellLinOp::defineBC() 6 0.00303 0.00303 0.00303 0.68% BndryData::define() 6 0.002905 0.002905 0.002905 0.65% MLMG::prepareForSolve() 6 0.0028 0.0028 0.0028 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002756 0.002756 0.002756 0.61% MLMG::computeResidual() 36 0.002715 0.002715 0.002715 0.60% Castro::estTimeStep() 10 0.002579 0.002579 0.002579 0.57% FabArray::LinComb() 242 0.002083 0.002083 0.002083 0.46% amrex::Add() 72 0.001854 0.001854 0.001854 0.41% Castro::construct_new_source() 25 0.001833 0.001833 0.001833 0.41% Castro::construct_new_gravity_source() 5 0.001753 0.001753 0.001753 0.39% Castro::computeNewDt() 5 0.001537 0.001537 0.001537 0.34% Castro::construct_old_source() 25 0.001431 0.001431 0.001431 0.32% Castro::construct_old_gravity_source() 5 0.001403 0.001403 0.001403 0.31% check_for_negative_density() 5 0.00109 0.00109 0.00109 0.24% Castro::finalize_do_advance() 5 0.001089 0.001089 0.001089 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009915 0.0009915 0.0009915 0.22% MLMG::ResNormInf() 42 0.0009848 0.0009848 0.0009848 0.22% Castro::apply_source_to_state() 10 0.0009378 0.0009378 0.0009378 0.21% Castro::reset_internal_energy(Fab) 240 0.0008751 0.0008751 0.0008751 0.19% MLCellLinOp::setLevelBC() 6 0.0008437 0.0008437 0.0008437 0.19% FabArrayBase::getCPC() 632 0.0008095 0.0008095 0.0008095 0.18% Castro::enforce_speed_limit() 30 0.0007792 0.0007792 0.0007792 0.17% MLMG::getGradSolution() 6 0.0007729 0.0007729 0.0007729 0.17% MLCellLinOp::compGrad() 6 0.0007695 0.0007695 0.0007695 0.17% FabArray::setDomainBndry() 20 0.0006727 0.0006727 0.0006727 0.15% MLPoisson::prepareForSolve() 6 0.0006589 0.0006589 0.0006589 0.15% FabArray::mult() 22 0.0006589 0.0006589 0.0006589 0.15% MLCellLinOp::prepareForSolve() 6 0.0006542 0.0006542 0.0006542 0.15% MLMG::computeMLResidual() 6 0.000623 0.000623 0.000623 0.14% Castro::check_for_nan() 10 0.0005962 0.0005962 0.0005962 0.13% MultiFab::contains_nan() 10 0.0005906 0.0005906 0.0005906 0.13% Gravity::update_max_rhs() 6 0.0004667 0.0004667 0.0004667 0.10% Amr::InitAmr() 1 0.0004513 0.0004513 0.0004513 0.10% FabArrayBase::CPC::define() 244 0.0004313 0.0004313 0.0004313 0.10% FabArrayBase::getFB() 1766 0.0003447 0.0003447 0.0003447 0.08% Castro::finalize_advance() 5 0.0002966 0.0002966 0.0002966 0.07% MLLinOp::define() 6 0.00024 0.00024 0.00024 0.05% Gravity::swapTimeLevels() 5 0.0002336 0.0002336 0.0002336 0.05% MLLinOp::defineGrids() 6 0.0002278 0.0002278 0.0002278 0.05% Castro::buildMetrics() 1 0.0001686 0.0001686 0.0001686 0.04% MLMG::MLResNormInf() 6 0.0001582 0.0001582 0.0001582 0.04% MultiFab::max() 6 0.0001412 0.0001412 0.0001412 0.03% MLMG::MLRhsNormInf() 6 0.0001222 0.0001222 0.0001222 0.03% Castro::create_source_corrector() 5 0.0001084 0.0001084 0.0001084 0.02% FabArrayBase::FB::FB() 26 6.755e-05 6.755e-05 6.755e-05 0.02% Amr::writeSmallPlotFile() 1 3.174e-05 3.174e-05 3.174e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.852e-05 2.852e-05 2.852e-05 0.01% Castro::initMFs() 1 2.839e-05 2.839e-05 2.839e-05 0.01% Castro::swap_state_time_levels() 5 2.499e-05 2.499e-05 2.499e-05 0.01% makeSFC 30 2.042e-05 2.042e-05 2.042e-05 0.00% DistributionMapping::Distribute() 31 9.446e-06 9.446e-06 9.446e-06 0.00% Amr::initSubcycle() 1 9.179e-06 9.179e-06 9.179e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 7.763e-06 7.763e-06 7.763e-06 0.00% Castro::retry_advance_ctu() 5 2.44e-06 2.44e-06 2.44e-06 0.00% Gravity::set_mass_offset() 6 2.262e-06 2.262e-06 2.262e-06 0.00% Castro::FluxRegCrseInit 5 1.581e-06 1.581e-06 1.581e-06 0.00% Castro::FluxRegFineAdd() 5 1.244e-06 1.244e-06 1.244e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.141e-06 1.141e-06 1.141e-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 187 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 171 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 961 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2663 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 6766 KiB 14 MiB MLMG::prepareForSolve() 361 361 3210 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 176 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 184 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6762 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2016 B 2048 KiB Gravity::solve_for_phi() 40 40 592 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 15 KiB 2048 KiB BndryData::define() 576 576 295 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 189 KiB 671 KiB Castro::estTimeStep() 10 10 2741 B 480 KiB VisMF::Write(FabArray) 112 112 1135 B 320 KiB Castro::normalize_species() 30 30 6178 B 320 KiB amrex::average_down 469 469 1167 B 257 KiB MLMG::addInterpCorrection() 468 468 1044 B 257 KiB amrex::Dot() 592 592 3092 B 160 KiB FabArray::norminf() 398 398 2189 B 160 KiB check_for_negative_density() 5 5 388 B 160 KiB MultiFab::max() 6 6 48 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 3120 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 247 B 9648 B MLCellLinOp::applyBC() 3892 3892 200 B 9344 B amrex::Copy() 56 56 5985 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 32 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 109 B 1472 B MLCellLinOp::defineBC() 36 36 332 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1335 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 129 KiB 8192 KiB VisMF::Write(FabArray) 120 120 280 KiB 3584 KiB VisMF::Read() 24 24 176 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3120 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 247 B 9648 B MLCellLinOp::applyBC() 1946 1946 198 B 9328 B amrex::Copy() 56 56 5986 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2683 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 32 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 508 B 1296 B amrex::average_down 37 37 227 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-29-g3291c074b67a) finalized