Initializing AMReX (23.12-17-g554b1ca3b00c)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-17-g554b1ca3b00c) initialized Starting run at 10:05:16 UTC on 2023-12-15. Successfully read inputs file ... Castro git describe: 23.12-6-g9cf0cb6b3 AMReX git describe: 23.12-17-g554b1ca3b Microphysics git describe: 23.12-1-gbdf6a18e 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.045492552 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025335652 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.051050448 [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.050739282 [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.071819338 [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.081322285 [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.064995217 [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.045001007 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.069226598 [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.073150291 [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.076127574 [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.05844933 [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.070635192 [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.043836276 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025224415 seconds Ending run at 10:05:17 UTC on 2023-12-15. Run time = 0.908847762 Run time without initialization = 0.782315113 Average number of zones advanced per microsecond: 3.351 Average number of zones advanced per microsecond per rank: 3.351 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9089 ... 0.9089 ... 0.9089 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2869 0.2869 0.2869 31.57% VisMF::Write(FabArray) 11 0.1767 0.1767 0.1767 19.44% MLCellLinOp::applyBC() 4433 0.07955 0.07955 0.07955 8.75% StateData::FillBoundary(geom) 328 0.03349 0.03349 0.03349 3.68% MLPoisson::Fsmooth() 3280 0.03322 0.03322 0.03322 3.66% FillBoundary_nowait() 4023 0.03043 0.03043 0.03043 3.35% amrex::Dot() 1114 0.02107 0.02107 0.02107 2.32% FabArray::norminf() 1061 0.01938 0.01938 0.01938 2.13% Castro::normalize_species() 62 0.01895 0.01895 0.01895 2.08% Castro::computeTemp() 63 0.01621 0.01621 0.01621 1.78% FabArray::setVal() 1144 0.01355 0.01355 0.01355 1.49% FabArray::ParallelCopy_nowait() 861 0.01343 0.01343 0.01343 1.48% FabArray::Saxpy() 1370 0.01287 0.01287 0.01287 1.42% amrex::Copy() 472 0.01076 0.01076 0.01076 1.18% MLPoisson::Fapply() 1142 0.01063 0.01063 0.01063 1.17% MLCellLinOp::defineAuxData() 11 0.0106 0.0106 0.0106 1.17% StateDataPhysBCFunct::() 41 0.01052 0.01052 0.01052 1.16% Castro::enforce_min_density() 62 0.01047 0.01047 0.01047 1.15% Gravity::fill_multipole_BCs() 11 0.009123 0.009123 0.009123 1.00% FabArray::Xpay() 821 0.008287 0.008287 0.008287 0.91% MLMG::addInterpCorrection() 410 0.00694 0.00694 0.00694 0.76% amrex::average_down 410 0.006136 0.006136 0.006136 0.68% Castro::estTimeStep() 21 0.006068 0.006068 0.006068 0.67% Amr::checkPoint() 3 0.005641 0.005641 0.005641 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005104 0.005104 0.005104 0.56% amrex::Add() 164 0.004355 0.004355 0.004355 0.48% BndryData::define() 11 0.003933 0.003933 0.003933 0.43% Castro::enforce_speed_limit() 62 0.003844 0.003844 0.003844 0.42% Castro::construct_new_gravity_source() 10 0.003387 0.003387 0.003387 0.37% Castro::construct_old_gravity_source() 10 0.002946 0.002946 0.002946 0.32% Amr::writePlotFile() 2 0.002089 0.002089 0.002089 0.23% MLCGSolver::bicgstab 82 0.00192 0.00192 0.00192 0.21% check_for_negative_density() 10 0.00183 0.00183 0.00183 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001787 0.001787 0.001787 0.20% Gravity::actual_solve_with_mlmg() 11 0.001623 0.001623 0.001623 0.18% Castro::reset_internal_energy(Fab) 504 0.001613 0.001613 0.001613 0.18% Castro::initData() 1 0.00156 0.00156 0.00156 0.17% MLCellLinOp::setLevelBC() 11 0.00154 0.00154 0.00154 0.17% FabArray::mult() 43 0.001358 0.001358 0.001358 0.15% FabArray::setDomainBndry() 41 0.00134 0.00134 0.00134 0.15% MLCellLinOp::prepareForSolve() 11 0.001314 0.001314 0.001314 0.14% MultiFab::contains_nan() 20 0.00125 0.00125 0.00125 0.14% MLCellLinOp::smooth() 1640 0.001164 0.001164 0.001164 0.13% MLCellLinOp::compGrad() 11 0.001063 0.001063 0.001063 0.12% MLMG::prepareForSolve() 11 0.0009986 0.0009986 0.0009986 0.11% FabArray::FillBoundary() 4023 0.0008645 0.0008645 0.0008645 0.10% FabArrayBase::getCPC() 1323 0.0007884 0.0007884 0.0007884 0.09% FabArrayBase::CPC::define() 454 0.000664 0.000664 0.000664 0.07% FabArrayBase::getFB() 4023 0.0006297 0.0006297 0.0006297 0.07% Gravity::get_new_grav_vector() 11 0.0006005 0.0006005 0.0006005 0.07% Amr::InitAmr() 1 0.0004918 0.0004918 0.0004918 0.05% Gravity::get_old_grav_vector() 10 0.0004804 0.0004804 0.0004804 0.05% MLCellLinOp::apply() 1142 0.0004504 0.0004504 0.0004504 0.05% Amr::coarseTimeStep() 10 0.0004295 0.0004295 0.0004295 0.05% AmrLevel::FillPatch() 41 0.0003806 0.0003806 0.0003806 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003566 0.0003566 0.0003566 0.04% MultiFab::max() 11 0.0003402 0.0003402 0.0003402 0.04% main() 1 0.0003036 0.0003036 0.0003036 0.03% MLCellLinOp::defineBC() 11 0.0002586 0.0002586 0.0002586 0.03% FabArray::ParallelCopy() 861 0.0002543 0.0002543 0.0002543 0.03% MLCellLinOp::correctionResidual() 492 0.0002286 0.0002286 0.0002286 0.03% FillPatchIterator::Initialize 41 0.0002273 0.0002273 0.0002273 0.03% Castro::subcycle_advance_ctu() 10 0.0002042 0.0002042 0.0002042 0.02% MLMG::mgVcycle() 82 0.0001951 0.0001951 0.0001951 0.02% Gravity::solve_for_phi() 10 0.0001733 0.0001733 0.0001733 0.02% Castro::create_source_corrector() 10 0.0001716 0.0001716 0.0001716 0.02% Amr::timeStep() 10 0.000166 0.000166 0.000166 0.02% MLLinOp::defineGrids() 11 0.0001627 0.0001627 0.0001627 0.02% StateData::checkPoint() 12 0.0001339 0.0001339 0.0001339 0.01% Gravity::update_max_rhs() 11 0.0001296 0.0001296 0.0001296 0.01% MLMG:computeResOfCorrection() 410 0.0001152 0.0001152 0.0001152 0.01% MLMG::actualBottomSolve() 82 9.835e-05 9.835e-05 9.835e-05 0.01% MLMG::mgVcycle_down::0 82 9.593e-05 9.593e-05 9.593e-05 0.01% FabArrayBase::FB::FB() 56 9.248e-05 9.248e-05 9.248e-05 0.01% Castro::Castro() 1 9.215e-05 9.215e-05 9.215e-05 0.01% Castro::advance() 10 8.861e-05 8.861e-05 8.861e-05 0.01% MLMG::mgVcycle_down::1 82 8.613e-05 8.613e-05 8.613e-05 0.01% MLMG::mgVcycle_down::2 82 8.404e-05 8.404e-05 8.404e-05 0.01% MLMG::mgVcycle_down::3 82 8.251e-05 8.251e-05 8.251e-05 0.01% MLMG::mgVcycle_down::4 82 8.07e-05 8.07e-05 8.07e-05 0.01% MLMG::solve() 11 8.053e-05 8.053e-05 8.053e-05 0.01% AmrLevel::checkPoint() 3 7.799e-05 7.799e-05 7.799e-05 0.01% Castro::initialize_advance() 10 7.727e-05 7.727e-05 7.727e-05 0.01% Castro::finalize_advance() 10 7.422e-05 7.422e-05 7.422e-05 0.01% Castro::clean_state() 62 7.302e-05 7.302e-05 7.302e-05 0.01% Castro::construct_new_source() 50 7.282e-05 7.282e-05 7.282e-05 0.01% Castro::enforce_consistent_e() 1 7.168e-05 7.168e-05 7.168e-05 0.01% MLMG::mgVcycle_up::4 82 6.324e-05 6.324e-05 6.324e-05 0.01% Castro::initialize_do_advance() 10 6.184e-05 6.184e-05 6.184e-05 0.01% MLMG::oneIter() 82 5.562e-05 5.562e-05 5.562e-05 0.01% Castro::do_new_sources() 10 5.515e-05 5.515e-05 5.515e-05 0.01% Castro::do_advance_ctu() 10 5.357e-05 5.357e-05 5.357e-05 0.01% Castro::finalize_do_advance() 10 5.357e-05 5.357e-05 5.357e-05 0.01% MLMG::mgVcycle_up::0 82 5.333e-05 5.333e-05 5.333e-05 0.01% MLCellLinOp::solutionResidual() 93 5.288e-05 5.288e-05 5.288e-05 0.01% MLMG::mgVcycle_up::1 82 5.174e-05 5.174e-05 5.174e-05 0.01% MLMG::mgVcycle_up::3 82 5.107e-05 5.107e-05 5.107e-05 0.01% MLMG::mgVcycle_up::2 82 5.03e-05 5.03e-05 5.03e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.76e-05 4.76e-05 4.76e-05 0.01% StateData::define() 4 4.187e-05 4.187e-05 4.187e-05 0.00% FillPatchSingleLevel 41 4.06e-05 4.06e-05 4.06e-05 0.00% MLMG::ResNormInf() 93 3.639e-05 3.639e-05 3.639e-05 0.00% Castro::swap_state_time_levels() 10 3.58e-05 3.58e-05 3.58e-05 0.00% MLMG::mgVcycle_bottom 82 3.345e-05 3.345e-05 3.345e-05 0.00% Castro::initMFs() 1 3.168e-05 3.168e-05 3.168e-05 0.00% Amr::writeSmallPlotFile() 1 3.161e-05 3.161e-05 3.161e-05 0.00% MLMG::computeResidual() 82 3.056e-05 3.056e-05 3.056e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.725e-05 2.725e-05 2.725e-05 0.00% Castro::construct_new_gravity() 10 2.666e-05 2.666e-05 2.666e-05 0.00% makeSFC 55 2.576e-05 2.576e-05 2.576e-05 0.00% Castro::buildMetrics() 1 2.428e-05 2.428e-05 2.428e-05 0.00% Amr::defBaseLevel() 1 2.375e-05 2.375e-05 2.375e-05 0.00% MLPoisson::define() 11 2.241e-05 2.241e-05 2.241e-05 0.00% Castro::do_old_sources() 10 2.19e-05 2.19e-05 2.19e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.125e-05 2.125e-05 2.125e-05 0.00% Amr::FinalizeInit() 1 1.935e-05 1.935e-05 1.935e-05 0.00% Castro::construct_old_source() 50 1.834e-05 1.834e-05 1.834e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.753e-05 1.753e-05 1.753e-05 0.00% Castro::apply_source_to_state() 20 1.67e-05 1.67e-05 1.67e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.505e-05 1.505e-05 1.505e-05 0.00% DistributionMapping::Distribute() 56 1.449e-05 1.449e-05 1.449e-05 0.00% Castro::post_init() 1 1.421e-05 1.421e-05 1.421e-05 0.00% MLMG::computeMLResidual() 11 1.393e-05 1.393e-05 1.393e-05 0.00% MLPoisson::prepareForSolve() 11 1.357e-05 1.357e-05 1.357e-05 0.00% Castro::check_for_nan() 20 1.297e-05 1.297e-05 1.297e-05 0.00% Amr::initSubcycle() 1 1.128e-05 1.128e-05 1.128e-05 0.00% Castro::construct_old_gravity() 10 1.098e-05 1.098e-05 1.098e-05 0.00% MLLinOp::define() 11 1.078e-05 1.078e-05 1.078e-05 0.00% Gravity::actual_multilevel_solve() 1 9.039e-06 9.039e-06 9.039e-06 0.00% Gravity::swapTimeLevels() 10 9.001e-06 9.001e-06 9.001e-06 0.00% Castro::post_timestep() 10 8.617e-06 8.617e-06 8.617e-06 0.00% Castro::computeNewDt() 9 7.113e-06 7.113e-06 7.113e-06 0.00% MLMG::getGradSolution() 11 6.149e-06 6.149e-06 6.149e-06 0.00% Gravity::set_mass_offset() 11 6.095e-06 6.095e-06 6.095e-06 0.00% Castro::expand_state() 10 5.302e-06 5.302e-06 5.302e-06 0.00% Amr::InitializeInit() 1 4.961e-06 4.961e-06 4.961e-06 0.00% AmrLevel::checkPointPost() 3 4.774e-06 4.774e-06 4.774e-06 0.00% Castro::retry_advance_ctu() 10 4.541e-06 4.541e-06 4.541e-06 0.00% MLMG::MLRhsNormInf() 11 4.42e-06 4.42e-06 4.42e-06 0.00% MLMG::MLResNormInf() 11 3.729e-06 3.729e-06 3.729e-06 0.00% Castro::computeInitialDt() 2 2.944e-06 2.944e-06 2.944e-06 0.00% Castro::FluxRegCrseInit 10 2.937e-06 2.937e-06 2.937e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.926e-06 2.926e-06 2.926e-06 0.00% AmrLevel::checkPointPre() 3 2.582e-06 2.582e-06 2.582e-06 0.00% Amr::init() 1 2.397e-06 2.397e-06 2.397e-06 0.00% Castro::FluxRegFineAdd() 10 2.168e-06 2.168e-06 2.168e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.035e-06 2.035e-06 2.035e-06 0.00% Castro::post_regrid() 1 1.248e-06 1.248e-06 1.248e-06 0.00% Amr::initialInit() 1 1.021e-06 1.021e-06 1.021e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9089 0.9089 0.9089 100.00% Amr::coarseTimeStep() 10 0.7569 0.7569 0.7569 83.27% Amr::timeStep() 10 0.6642 0.6642 0.6642 73.07% Castro::advance() 10 0.6539 0.6539 0.6539 71.95% Castro::subcycle_advance_ctu() 10 0.6406 0.6406 0.6406 70.48% Castro::do_advance_ctu() 10 0.6404 0.6404 0.6404 70.46% Castro::construct_ctu_hydro_source() 10 0.2976 0.2976 0.2976 32.74% Gravity::solve_phi_with_mlmg() 11 0.2934 0.2934 0.2934 32.28% Gravity::actual_solve_with_mlmg() 11 0.2838 0.2838 0.2838 31.22% Castro::construct_new_gravity() 10 0.2707 0.2707 0.2707 29.78% MLMG::solve() 11 0.2616 0.2616 0.2616 28.78% Gravity::solve_for_phi() 10 0.2478 0.2478 0.2478 27.27% MLMG::oneIter() 82 0.2465 0.2465 0.2465 27.12% MLMG::mgVcycle() 82 0.2429 0.2429 0.2429 26.72% VisMF::Write(FabArray) 11 0.1767 0.1767 0.1767 19.44% Amr::checkPoint() 3 0.1345 0.1345 0.1345 14.79% AmrLevel::checkPoint() 3 0.1288 0.1288 0.1288 14.17% StateData::checkPoint() 12 0.1287 0.1287 0.1287 14.16% Amr::init() 1 0.1259 0.1259 0.1259 13.85% MLCellLinOp::smooth() 1640 0.1192 0.1192 0.1192 13.11% MLCellLinOp::applyBC() 4433 0.1116 0.1116 0.1116 12.28% MLMG::mgVcycle_bottom 82 0.0756 0.0756 0.0756 8.32% MLMG::actualBottomSolve() 82 0.07557 0.07557 0.07557 8.31% MLCGSolver::bicgstab 82 0.07484 0.07484 0.07484 8.23% Castro::clean_state() 62 0.05536 0.05536 0.05536 6.09% Amr::initialInit() 1 0.05497 0.05497 0.05497 6.05% AmrLevel::FillPatch() 41 0.05398 0.05398 0.05398 5.94% Amr::writePlotFile() 2 0.05067 0.05067 0.05067 5.58% Amr::FinalizeInit() 1 0.04981 0.04981 0.04981 5.48% FillPatchIterator::Initialize 41 0.04969 0.04969 0.04969 5.47% Castro::post_init() 1 0.04835 0.04835 0.04835 5.32% FillPatchIterator::FillFromLevel0() 41 0.04813 0.04813 0.04813 5.30% FillPatchSingleLevel 41 0.04808 0.04808 0.04808 5.29% Gravity::multilevel_solve_for_new_phi() 1 0.04605 0.04605 0.04605 5.07% Gravity::actual_multilevel_solve() 1 0.04603 0.04603 0.04603 5.06% StateDataPhysBCFunct::() 41 0.04401 0.04401 0.04401 4.84% MLCellLinOp::apply() 1142 0.0374 0.0374 0.0374 4.11% MLMG::mgVcycle_down::0 82 0.03397 0.03397 0.03397 3.74% StateData::FillBoundary(geom) 328 0.03349 0.03349 0.03349 3.68% MLPoisson::Fsmooth() 3280 0.03322 0.03322 0.03322 3.66% FabArray::FillBoundary() 4023 0.03201 0.03201 0.03201 3.52% FillBoundary_nowait() 4023 0.03115 0.03115 0.03115 3.43% MLMG::mgVcycle_up::0 82 0.02563 0.02563 0.02563 2.82% Gravity::get_new_grav_vector() 11 0.02472 0.02472 0.02472 2.72% Castro::computeTemp() 63 0.02293 0.02293 0.02293 2.52% MLCellLinOp::correctionResidual() 492 0.02269 0.02269 0.02269 2.50% amrex::Dot() 1114 0.02107 0.02107 0.02107 2.32% Castro::initialize_do_advance() 10 0.02065 0.02065 0.02065 2.27% MLMG:computeResOfCorrection() 410 0.01998 0.01998 0.01998 2.20% FabArray::norminf() 1061 0.01938 0.01938 0.01938 2.13% Castro::do_old_sources() 10 0.01898 0.01898 0.01898 2.09% Castro::normalize_species() 62 0.01895 0.01895 0.01895 2.08% MLPoisson::define() 11 0.01749 0.01749 0.01749 1.92% MLMG::mgVcycle_down::1 82 0.01632 0.01632 0.01632 1.80% Castro::construct_old_gravity() 10 0.01535 0.01535 0.01535 1.69% Gravity::get_old_grav_vector() 10 0.01534 0.01534 0.01534 1.69% MLMG::mgVcycle_down::2 82 0.01521 0.01521 0.01521 1.67% MLMG::mgVcycle_down::3 82 0.01483 0.01483 0.01483 1.63% MLMG::mgVcycle_down::4 82 0.0146 0.0146 0.0146 1.61% FabArray::ParallelCopy() 861 0.01448 0.01448 0.01448 1.59% FabArray::ParallelCopy_nowait() 861 0.01423 0.01423 0.01423 1.57% Castro::do_new_sources() 10 0.0136 0.0136 0.0136 1.50% FabArray::setVal() 1144 0.01355 0.01355 0.01355 1.49% FabArray::Saxpy() 1370 0.01287 0.01287 0.01287 1.42% MLCGSolver::ParallelAllReduce 1832 0.01269 0.01269 0.01269 1.40% Castro::initialize_advance() 10 0.01268 0.01268 0.01268 1.39% MLMG::addInterpCorrection() 410 0.01215 0.01215 0.01215 1.34% MLCellLinOp::defineAuxData() 11 0.01202 0.01202 0.01202 1.32% MLMG::mgVcycle_up::1 82 0.01183 0.01183 0.01183 1.30% MLMG::mgVcycle_up::4 82 0.01173 0.01173 0.01173 1.29% MLMG::mgVcycle_up::2 82 0.01161 0.01161 0.01161 1.28% amrex::average_down 410 0.01138 0.01138 0.01138 1.25% MLMG::mgVcycle_up::3 82 0.01134 0.01134 0.01134 1.25% Castro::expand_state() 10 0.01128 0.01128 0.01128 1.24% amrex::Copy() 472 0.01076 0.01076 0.01076 1.18% MLPoisson::Fapply() 1142 0.01063 0.01063 0.01063 1.17% Castro::enforce_min_density() 62 0.01047 0.01047 0.01047 1.15% Castro::post_timestep() 10 0.01005 0.01005 0.01005 1.11% Gravity::fill_multipole_BCs() 11 0.009355 0.009355 0.009355 1.03% FabArray::Xpay() 821 0.008287 0.008287 0.008287 0.91% MLCellLinOp::solutionResidual() 93 0.007508 0.007508 0.007508 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006717 0.006717 0.006717 0.74% MLMG::computeResidual() 82 0.006223 0.006223 0.006223 0.68% Castro::estTimeStep() 21 0.006068 0.006068 0.006068 0.67% MLCellLinOp::defineBC() 11 0.005211 0.005211 0.005211 0.57% Amr::InitializeInit() 1 0.005155 0.005155 0.005155 0.57% Amr::defBaseLevel() 1 0.00515 0.00515 0.00515 0.57% MLMG::prepareForSolve() 11 0.005116 0.005116 0.005116 0.56% BndryData::define() 11 0.004953 0.004953 0.004953 0.54% Castro::initData() 1 0.004491 0.004491 0.004491 0.49% amrex::Add() 164 0.004355 0.004355 0.004355 0.48% Castro::enforce_speed_limit() 62 0.003844 0.003844 0.003844 0.42% Castro::construct_new_source() 50 0.00346 0.00346 0.00346 0.38% Castro::construct_new_gravity_source() 10 0.003387 0.003387 0.003387 0.37% Castro::construct_old_source() 50 0.002964 0.002964 0.002964 0.33% Castro::construct_old_gravity_source() 10 0.002946 0.002946 0.002946 0.32% Castro::computeNewDt() 9 0.00255 0.00255 0.00255 0.28% Castro::finalize_do_advance() 10 0.002494 0.002494 0.002494 0.27% MLMG::ResNormInf() 93 0.002145 0.002145 0.002145 0.24% Castro::apply_source_to_state() 20 0.001877 0.001877 0.001877 0.21% check_for_negative_density() 10 0.00183 0.00183 0.00183 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001787 0.001787 0.001787 0.20% Castro::reset_internal_energy(Fab) 504 0.001613 0.001613 0.001613 0.18% MLMG::getGradSolution() 11 0.001551 0.001551 0.001551 0.17% MLCellLinOp::compGrad() 11 0.001545 0.001545 0.001545 0.17% MLCellLinOp::setLevelBC() 11 0.00154 0.00154 0.00154 0.17% FabArrayBase::getCPC() 1323 0.001452 0.001452 0.001452 0.16% FabArray::mult() 43 0.001358 0.001358 0.001358 0.15% FabArray::setDomainBndry() 41 0.00134 0.00134 0.00134 0.15% MLMG::computeMLResidual() 11 0.00133 0.00133 0.00133 0.15% MLPoisson::prepareForSolve() 11 0.001328 0.001328 0.001328 0.15% MLCellLinOp::prepareForSolve() 11 0.001314 0.001314 0.001314 0.14% Castro::check_for_nan() 20 0.001263 0.001263 0.001263 0.14% MultiFab::contains_nan() 20 0.00125 0.00125 0.00125 0.14% Castro::post_regrid() 1 0.001139 0.001139 0.001139 0.13% Castro::computeInitialDt() 2 0.001088 0.001088 0.001088 0.12% Gravity::update_max_rhs() 11 0.0009886 0.0009886 0.0009886 0.11% FabArrayBase::getFB() 4023 0.0007222 0.0007222 0.0007222 0.08% FabArrayBase::CPC::define() 454 0.000664 0.000664 0.000664 0.07% Castro::finalize_advance() 10 0.0006128 0.0006128 0.0006128 0.07% Castro::Castro() 1 0.000572 0.000572 0.000572 0.06% Amr::InitAmr() 1 0.0005031 0.0005031 0.0005031 0.06% Gravity::swapTimeLevels() 10 0.00044 0.00044 0.00044 0.05% MultiFab::max() 11 0.0003402 0.0003402 0.0003402 0.04% MLMG::MLResNormInf() 11 0.0003381 0.0003381 0.0003381 0.04% Castro::buildMetrics() 1 0.0002774 0.0002774 0.0002774 0.03% MLLinOp::define() 11 0.0002297 0.0002297 0.0002297 0.03% MLMG::MLRhsNormInf() 11 0.0002205 0.0002205 0.0002205 0.02% MLLinOp::defineGrids() 11 0.000219 0.000219 0.000219 0.02% Castro::create_source_corrector() 10 0.0001716 0.0001716 0.0001716 0.02% FabArrayBase::FB::FB() 56 9.248e-05 9.248e-05 9.248e-05 0.01% Castro::enforce_consistent_e() 1 7.168e-05 7.168e-05 7.168e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.94e-05 5.94e-05 5.94e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.423e-05 5.423e-05 5.423e-05 0.01% StateData::define() 4 4.187e-05 4.187e-05 4.187e-05 0.00% makeSFC 55 3.918e-05 3.918e-05 3.918e-05 0.00% Castro::swap_state_time_levels() 10 3.58e-05 3.58e-05 3.58e-05 0.00% Castro::initMFs() 1 3.168e-05 3.168e-05 3.168e-05 0.00% Amr::writeSmallPlotFile() 1 3.161e-05 3.161e-05 3.161e-05 0.00% DistributionMapping::Distribute() 56 1.449e-05 1.449e-05 1.449e-05 0.00% Amr::initSubcycle() 1 1.128e-05 1.128e-05 1.128e-05 0.00% Gravity::set_mass_offset() 11 6.095e-06 6.095e-06 6.095e-06 0.00% AmrLevel::checkPointPost() 3 4.774e-06 4.774e-06 4.774e-06 0.00% Castro::retry_advance_ctu() 10 4.541e-06 4.541e-06 4.541e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.999e-06 3.999e-06 3.999e-06 0.00% Castro::FluxRegCrseInit 10 2.937e-06 2.937e-06 2.937e-06 0.00% AmrLevel::checkPointPre() 3 2.582e-06 2.582e-06 2.582e-06 0.00% Castro::FluxRegFineAdd() 10 2.168e-06 2.168e-06 2.168e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.035e-06 2.035e-06 2.035e-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 90 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 147 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1071 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1556 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3539 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 281 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2108 B 2048 KiB Gravity::solve_for_phi() 80 80 557 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 3255 B 480 KiB VisMF::Write(FabArray) 656 656 3362 B 320 KiB Castro::normalize_species() 62 62 6782 B 320 KiB amrex::average_down 1067 1067 1250 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1132 B 257 KiB amrex::Dot() 1360 1360 3422 B 160 KiB FabArray::norminf() 1143 1143 3299 B 160 KiB check_for_negative_density() 10 10 306 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3455 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 293 B 9648 B MLCellLinOp::applyBC() 8866 8866 219 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3960 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 492 492 104 B 1280 B MLCellLinOp::defineBC() 66 66 364 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 565 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 426 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3455 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 293 B 9648 B MLCellLinOp::applyBC() 4433 4433 217 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3960 B 6144 B Gravity::get_new_grav_vector() 3 3 2888 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 40 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 294 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 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): 2541 [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.12-17-g554b1ca3b00c) finalized Initializing AMReX (23.12-17-g554b1ca3b00c)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-17-g554b1ca3b00c) initialized Starting run at 10:05:18 UTC on 2023-12-15. Successfully read inputs file ... Castro git describe: 23.12-6-g9cf0cb6b3 AMReX git describe: 23.12-17-g554b1ca3b Microphysics git describe: 23.12-1-gbdf6a18e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.491498893 Restart time = 0.072635562 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.052665631 [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.051038208 [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.08265921 [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.075955948 [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.052768572 [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.02583375 seconds Ending run at 10:05:18 UTC on 2023-12-15. Run time = 0.414640464 Run time without initialization = 0.341401199 Average number of zones advanced per microsecond: 3.839 Average number of zones advanced per microsecond per rank: 3.839 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4147 ... 0.4147 ... 0.4147 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1253 0.1253 0.1253 30.21% VisMF::Read() 3 0.06107 0.06107 0.06107 14.73% MLCellLinOp::applyBC() 1946 0.03474 0.03474 0.03474 8.38% VisMF::Write(FabArray) 1 0.02439 0.02439 0.02439 5.88% MLPoisson::Fsmooth() 1440 0.01438 0.01438 0.01438 3.47% StateData::FillBoundary(geom) 160 0.01288 0.01288 0.01288 3.11% FillBoundary_nowait() 1766 0.01277 0.01277 0.01277 3.08% Castro::normalize_species() 30 0.009171 0.009171 0.009171 2.21% amrex::Dot() 484 0.009058 0.009058 0.009058 2.18% FabArray::norminf() 465 0.008757 0.008757 0.008757 2.11% Castro::computeTemp() 30 0.007382 0.007382 0.007382 1.78% FabArray::setVal() 537 0.006594 0.006594 0.006594 1.59% Castro::enforce_min_density() 30 0.00659 0.00659 0.00659 1.59% FabArray::ParallelCopy_nowait() 380 0.006074 0.006074 0.006074 1.46% MLCellLinOp::defineAuxData() 6 0.005762 0.005762 0.005762 1.39% FabArray::Saxpy() 597 0.005665 0.005665 0.005665 1.37% Gravity::fill_multipole_BCs() 6 0.005653 0.005653 0.005653 1.36% amrex::Copy() 221 0.005323 0.005323 0.005323 1.28% Amr::restart() 1 0.004753 0.004753 0.004753 1.15% MLPoisson::Fapply() 500 0.004641 0.004641 0.004641 1.12% StateDataPhysBCFunct::() 20 0.004457 0.004457 0.004457 1.07% FabArray::Xpay() 361 0.003675 0.003675 0.003675 0.89% Castro::estTimeStep() 10 0.003196 0.003196 0.003196 0.77% MLMG::addInterpCorrection() 180 0.003046 0.003046 0.003046 0.73% amrex::average_down 180 0.002707 0.002707 0.002707 0.65% BndryData::define() 6 0.002105 0.002105 0.002105 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002056 0.002056 0.002056 0.50% amrex::Add() 72 0.001891 0.001891 0.001891 0.46% Castro::construct_new_gravity_source() 5 0.001757 0.001757 0.001757 0.42% Castro::construct_old_gravity_source() 5 0.001495 0.001495 0.001495 0.36% Amr::writePlotFile() 1 0.00127 0.00127 0.00127 0.31% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009706 0.0009706 0.0009706 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008577 0.0008577 0.0008577 0.21% MLCellLinOp::setLevelBC() 6 0.0008415 0.0008415 0.0008415 0.20% check_for_negative_density() 5 0.000824 0.000824 0.000824 0.20% Castro::reset_internal_energy(Fab) 240 0.0008069 0.0008069 0.0008069 0.19% MLCGSolver::bicgstab 36 0.0007943 0.0007943 0.0007943 0.19% MLCellLinOp::prepareForSolve() 6 0.0007519 0.0007519 0.0007519 0.18% FabArray::mult() 22 0.0006785 0.0006785 0.0006785 0.16% FabArray::setDomainBndry() 20 0.0006697 0.0006697 0.0006697 0.16% MultiFab::contains_nan() 10 0.0006529 0.0006529 0.0006529 0.16% MLCellLinOp::compGrad() 6 0.0005888 0.0005888 0.0005888 0.14% MLMG::prepareForSolve() 6 0.0005458 0.0005458 0.0005458 0.13% MLCellLinOp::smooth() 720 0.0004577 0.0004577 0.0004577 0.11% Castro::enforce_speed_limit() 30 0.0004438 0.0004438 0.0004438 0.11% FabArrayBase::CPC::define() 244 0.0004106 0.0004106 0.0004106 0.10% Amr::InitAmr() 1 0.00041 0.00041 0.00041 0.10% FabArray::FillBoundary() 1766 0.0003838 0.0003838 0.0003838 0.09% FabArrayBase::getCPC() 632 0.0003726 0.0003726 0.0003726 0.09% Gravity::get_old_grav_vector() 5 0.0003132 0.0003132 0.0003132 0.08% main() 1 0.0002773 0.0002773 0.0002773 0.07% FabArrayBase::getFB() 1766 0.0002627 0.0002627 0.0002627 0.06% Gravity::get_new_grav_vector() 5 0.0002598 0.0002598 0.0002598 0.06% Amr::coarseTimeStep() 5 0.0002386 0.0002386 0.0002386 0.06% MultiFab::max() 6 0.0002027 0.0002027 0.0002027 0.05% MLCellLinOp::apply() 500 0.0001848 0.0001848 0.0001848 0.04% AmrLevel::FillPatch() 20 0.0001818 0.0001818 0.0001818 0.04% MLCGSolver::ParallelAllReduce 798 0.0001466 0.0001466 0.0001466 0.04% MLCellLinOp::defineBC() 6 0.0001366 0.0001366 0.0001366 0.03% Castro::subcycle_advance_ctu() 5 0.0001289 0.0001289 0.0001289 0.03% FabArray::ParallelCopy() 380 0.0001125 0.0001125 0.0001125 0.03% FillPatchIterator::Initialize 20 0.0001038 0.0001038 0.0001038 0.03% MLCellLinOp::correctionResidual() 216 9.431e-05 9.431e-05 9.431e-05 0.02% MLLinOp::defineGrids() 6 9.277e-05 9.277e-05 9.277e-05 0.02% Amr::timeStep() 5 8.559e-05 8.559e-05 8.559e-05 0.02% MLMG::mgVcycle() 36 8.242e-05 8.242e-05 8.242e-05 0.02% AmrLevel::restart() 1 7.931e-05 7.931e-05 7.931e-05 0.02% Castro::create_source_corrector() 5 7.855e-05 7.855e-05 7.855e-05 0.02% Gravity::solve_for_phi() 5 7.772e-05 7.772e-05 7.772e-05 0.02% Gravity::update_max_rhs() 6 7.349e-05 7.349e-05 7.349e-05 0.02% StateData::restartDoit() 4 6.774e-05 6.774e-05 6.774e-05 0.02% Castro::initialize_do_advance() 5 6.35e-05 6.35e-05 6.35e-05 0.02% Castro::do_advance_ctu() 5 6.071e-05 6.071e-05 6.071e-05 0.01% FabArrayBase::FB::FB() 26 5.97e-05 5.97e-05 5.97e-05 0.01% Castro::initialize_advance() 5 5.573e-05 5.573e-05 5.573e-05 0.01% Castro::advance() 5 5.45e-05 5.45e-05 5.45e-05 0.01% MLMG:computeResOfCorrection() 180 4.837e-05 4.837e-05 4.837e-05 0.01% MLMG::mgVcycle_down::0 36 4.432e-05 4.432e-05 4.432e-05 0.01% MLMG::actualBottomSolve() 36 4.253e-05 4.253e-05 4.253e-05 0.01% Castro::finalize_do_advance() 5 4.116e-05 4.116e-05 4.116e-05 0.01% MLMG::solve() 6 3.887e-05 3.887e-05 3.887e-05 0.01% MLMG::mgVcycle_down::1 36 3.59e-05 3.59e-05 3.59e-05 0.01% Castro::post_timestep() 5 3.464e-05 3.464e-05 3.464e-05 0.01% Castro::clean_state() 30 3.252e-05 3.252e-05 3.252e-05 0.01% MLMG::mgVcycle_down::2 36 3.223e-05 3.223e-05 3.223e-05 0.01% MLMG::mgVcycle_down::4 36 3.086e-05 3.086e-05 3.086e-05 0.01% Castro::finalize_advance() 5 3.021e-05 3.021e-05 3.021e-05 0.01% MLMG::mgVcycle_down::3 36 2.972e-05 2.972e-05 2.972e-05 0.01% Castro::post_restart() 1 2.91e-05 2.91e-05 2.91e-05 0.01% MLMG::mgVcycle_up::4 36 2.772e-05 2.772e-05 2.772e-05 0.01% Castro::construct_old_source() 25 2.72e-05 2.72e-05 2.72e-05 0.01% Amr::writeSmallPlotFile() 1 2.669e-05 2.669e-05 2.669e-05 0.01% Castro::buildMetrics() 1 2.612e-05 2.612e-05 2.612e-05 0.01% MLMG::oneIter() 36 2.6e-05 2.6e-05 2.6e-05 0.01% Castro::initMFs() 1 2.415e-05 2.415e-05 2.415e-05 0.01% Castro::swap_state_time_levels() 5 2.383e-05 2.383e-05 2.383e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.218e-05 2.218e-05 2.218e-05 0.01% MLCellLinOp::solutionResidual() 42 2.185e-05 2.185e-05 2.185e-05 0.01% MLMG::mgVcycle_up::0 36 2.148e-05 2.148e-05 2.148e-05 0.01% MLMG::mgVcycle_up::3 36 2.112e-05 2.112e-05 2.112e-05 0.01% MLMG::mgVcycle_up::2 36 1.996e-05 1.996e-05 1.996e-05 0.00% MLMG::mgVcycle_up::1 36 1.962e-05 1.962e-05 1.962e-05 0.00% MLMG::ResNormInf() 42 1.857e-05 1.857e-05 1.857e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.717e-05 1.717e-05 1.717e-05 0.00% MLMG::mgVcycle_bottom 36 1.601e-05 1.601e-05 1.601e-05 0.00% FillPatchSingleLevel 20 1.564e-05 1.564e-05 1.564e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.543e-05 1.543e-05 1.543e-05 0.00% makeSFC 30 1.519e-05 1.519e-05 1.519e-05 0.00% MLMG::computeResidual() 36 1.488e-05 1.488e-05 1.488e-05 0.00% MLPoisson::define() 6 1.452e-05 1.452e-05 1.452e-05 0.00% Castro::construct_new_gravity() 5 1.199e-05 1.199e-05 1.199e-05 0.00% Castro::do_old_sources() 5 1.11e-05 1.11e-05 1.11e-05 0.00% Castro::construct_new_source() 25 1.017e-05 1.017e-05 1.017e-05 0.00% MLPoisson::prepareForSolve() 6 1.015e-05 1.015e-05 1.015e-05 0.00% MLMG::computeMLResidual() 6 9.551e-06 9.551e-06 9.551e-06 0.00% Castro::do_new_sources() 5 9.5e-06 9.5e-06 9.5e-06 0.00% DistributionMapping::Distribute() 31 8.568e-06 8.568e-06 8.568e-06 0.00% Amr::initSubcycle() 1 8.543e-06 8.543e-06 8.543e-06 0.00% Gravity::actual_multilevel_solve() 1 8.29e-06 8.29e-06 8.29e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.924e-06 7.924e-06 7.924e-06 0.00% MLLinOp::define() 6 6.473e-06 6.473e-06 6.473e-06 0.00% Castro::construct_old_gravity() 5 6.302e-06 6.302e-06 6.302e-06 0.00% Castro::apply_source_to_state() 10 5.881e-06 5.881e-06 5.881e-06 0.00% Castro::check_for_nan() 10 5.75e-06 5.75e-06 5.75e-06 0.00% Gravity::swapTimeLevels() 5 4.301e-06 4.301e-06 4.301e-06 0.00% Castro::computeNewDt() 5 3.79e-06 3.79e-06 3.79e-06 0.00% MLMG::getGradSolution() 6 3.527e-06 3.527e-06 3.527e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.373e-06 3.373e-06 3.373e-06 0.00% Castro::expand_state() 5 2.803e-06 2.803e-06 2.803e-06 0.00% Gravity::set_mass_offset() 6 2.347e-06 2.347e-06 2.347e-06 0.00% MLMG::MLResNormInf() 6 2.313e-06 2.313e-06 2.313e-06 0.00% Castro::retry_advance_ctu() 5 2.264e-06 2.264e-06 2.264e-06 0.00% MLMG::MLRhsNormInf() 6 2.242e-06 2.242e-06 2.242e-06 0.00% Castro::FluxRegFineAdd() 5 1.422e-06 1.422e-06 1.422e-06 0.00% Castro::FluxRegCrseInit 5 1.406e-06 1.406e-06 1.406e-06 0.00% Amr::init() 1 1.242e-06 1.242e-06 1.242e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.047e-06 1.047e-06 1.047e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4147 0.4147 0.4147 100.00% Amr::coarseTimeStep() 5 0.3153 0.3153 0.3153 76.04% Amr::timeStep() 5 0.3131 0.3131 0.3131 75.50% Castro::advance() 5 0.3074 0.3074 0.3074 74.13% Castro::subcycle_advance_ctu() 5 0.3003 0.3003 0.3003 72.42% Castro::do_advance_ctu() 5 0.3002 0.3002 0.3002 72.39% Castro::construct_new_gravity() 5 0.1342 0.1342 0.1342 32.36% Gravity::solve_phi_with_mlmg() 6 0.1321 0.1321 0.1321 31.85% Castro::construct_ctu_hydro_source() 5 0.1301 0.1301 0.1301 31.37% Gravity::solve_for_phi() 5 0.1264 0.1264 0.1264 30.48% Gravity::actual_solve_with_mlmg() 6 0.1262 0.1262 0.1262 30.43% MLMG::solve() 6 0.1141 0.1141 0.1141 27.52% MLMG::oneIter() 36 0.1067 0.1067 0.1067 25.72% MLMG::mgVcycle() 36 0.1051 0.1051 0.1051 25.35% Amr::init() 1 0.0727 0.0727 0.0727 17.53% Amr::restart() 1 0.0727 0.0727 0.0727 17.53% AmrLevel::restart() 1 0.06143 0.06143 0.06143 14.82% StateData::restartDoit() 4 0.06135 0.06135 0.06135 14.80% VisMF::Read() 3 0.06107 0.06107 0.06107 14.73% MLCellLinOp::smooth() 720 0.05127 0.05127 0.05127 12.36% MLCellLinOp::applyBC() 1946 0.04822 0.04822 0.04822 11.63% MLMG::mgVcycle_bottom 36 0.0329 0.0329 0.0329 7.93% MLMG::actualBottomSolve() 36 0.03289 0.03289 0.03289 7.93% MLCGSolver::bicgstab 36 0.03257 0.03257 0.03257 7.85% Castro::clean_state() 30 0.02648 0.02648 0.02648 6.39% Amr::writePlotFile() 1 0.02591 0.02591 0.02591 6.25% VisMF::Write(FabArray) 1 0.02439 0.02439 0.02439 5.88% AmrLevel::FillPatch() 20 0.02223 0.02223 0.02223 5.36% FillPatchIterator::Initialize 20 0.02016 0.02016 0.02016 4.86% FillPatchIterator::FillFromLevel0() 20 0.01939 0.01939 0.01939 4.68% FillPatchSingleLevel 20 0.01937 0.01937 0.01937 4.67% StateDataPhysBCFunct::() 20 0.01733 0.01733 0.01733 4.18% MLCellLinOp::apply() 500 0.01634 0.01634 0.01634 3.94% MLMG::mgVcycle_down::0 36 0.01467 0.01467 0.01467 3.54% MLPoisson::Fsmooth() 1440 0.01438 0.01438 0.01438 3.47% FabArray::FillBoundary() 1766 0.01348 0.01348 0.01348 3.25% FillBoundary_nowait() 1766 0.01309 0.01309 0.01309 3.16% StateData::FillBoundary(geom) 160 0.01288 0.01288 0.01288 3.11% MLMG::mgVcycle_up::0 36 0.0109 0.0109 0.0109 2.63% Castro::initialize_do_advance() 5 0.0107 0.0107 0.0107 2.58% Castro::computeTemp() 30 0.01024 0.01024 0.01024 2.47% MLCellLinOp::correctionResidual() 216 0.009839 0.009839 0.009839 2.37% Castro::do_old_sources() 5 0.009801 0.009801 0.009801 2.36% MLPoisson::define() 6 0.009505 0.009505 0.009505 2.29% Castro::normalize_species() 30 0.009171 0.009171 0.009171 2.21% amrex::Dot() 484 0.009058 0.009058 0.009058 2.18% FabArray::norminf() 465 0.008757 0.008757 0.008757 2.11% MLMG:computeResOfCorrection() 180 0.008635 0.008635 0.008635 2.08% Gravity::get_new_grav_vector() 5 0.007681 0.007681 0.007681 1.85% Castro::construct_old_gravity() 5 0.007478 0.007478 0.007478 1.80% Gravity::get_old_grav_vector() 5 0.007472 0.007472 0.007472 1.80% MLMG::mgVcycle_down::1 36 0.007161 0.007161 0.007161 1.73% Castro::initialize_advance() 5 0.00672 0.00672 0.00672 1.62% FabArray::setVal() 537 0.006594 0.006594 0.006594 1.59% Castro::enforce_min_density() 30 0.00659 0.00659 0.00659 1.59% FabArray::ParallelCopy() 380 0.006584 0.006584 0.006584 1.59% MLMG::mgVcycle_down::2 36 0.006547 0.006547 0.006547 1.58% MLCellLinOp::defineAuxData() 6 0.006544 0.006544 0.006544 1.58% FabArray::ParallelCopy_nowait() 380 0.006471 0.006471 0.006471 1.56% MLMG::mgVcycle_down::3 36 0.006377 0.006377 0.006377 1.54% MLMG::mgVcycle_down::4 36 0.006336 0.006336 0.006336 1.53% Castro::post_restart() 1 0.006335 0.006335 0.006335 1.53% Castro::do_new_sources() 5 0.006176 0.006176 0.006176 1.49% Gravity::multilevel_solve_for_new_phi() 1 0.005947 0.005947 0.005947 1.43% Gravity::actual_multilevel_solve() 1 0.00593 0.00593 0.00593 1.43% Gravity::fill_multipole_BCs() 6 0.005776 0.005776 0.005776 1.39% Castro::expand_state() 5 0.005736 0.005736 0.005736 1.38% FabArray::Saxpy() 597 0.005665 0.005665 0.005665 1.37% Castro::post_timestep() 5 0.005606 0.005606 0.005606 1.35% MLCGSolver::ParallelAllReduce 798 0.005504 0.005504 0.005504 1.33% amrex::Copy() 221 0.005323 0.005323 0.005323 1.28% MLMG::addInterpCorrection() 180 0.005308 0.005308 0.005308 1.28% MLMG::mgVcycle_up::4 36 0.005112 0.005112 0.005112 1.23% MLMG::mgVcycle_up::1 36 0.005097 0.005097 0.005097 1.23% amrex::average_down 180 0.005014 0.005014 0.005014 1.21% MLMG::mgVcycle_up::2 36 0.00501 0.00501 0.00501 1.21% MLMG::mgVcycle_up::3 36 0.004927 0.004927 0.004927 1.19% MLPoisson::Fapply() 500 0.004641 0.004641 0.004641 1.12% FabArray::Xpay() 361 0.003675 0.003675 0.003675 0.89% MLCellLinOp::solutionResidual() 42 0.003471 0.003471 0.003471 0.84% Castro::estTimeStep() 10 0.003196 0.003196 0.003196 0.77% Castro::reset_internal_energy(MultiFab) 30 0.002862 0.002862 0.002862 0.69% MLMG::prepareForSolve() 6 0.00282 0.00282 0.00282 0.68% MLCellLinOp::defineBC() 6 0.002816 0.002816 0.002816 0.68% MLMG::computeResidual() 36 0.002718 0.002718 0.002718 0.66% BndryData::define() 6 0.002679 0.002679 0.002679 0.65% Castro::computeNewDt() 5 0.002005 0.002005 0.002005 0.48% amrex::Add() 72 0.001891 0.001891 0.001891 0.46% Castro::construct_new_source() 25 0.001767 0.001767 0.001767 0.43% Castro::construct_new_gravity_source() 5 0.001757 0.001757 0.001757 0.42% Castro::construct_old_source() 25 0.001523 0.001523 0.001523 0.37% Castro::construct_old_gravity_source() 5 0.001495 0.001495 0.001495 0.36% Castro::finalize_do_advance() 5 0.001235 0.001235 0.001235 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009706 0.0009706 0.0009706 0.23% MLMG::ResNormInf() 42 0.0009697 0.0009697 0.0009697 0.23% Castro::apply_source_to_state() 10 0.0009581 0.0009581 0.0009581 0.23% MLMG::getGradSolution() 6 0.0008661 0.0008661 0.0008661 0.21% MLCellLinOp::compGrad() 6 0.0008625 0.0008625 0.0008625 0.21% MLCellLinOp::setLevelBC() 6 0.0008415 0.0008415 0.0008415 0.20% check_for_negative_density() 5 0.000824 0.000824 0.000824 0.20% Castro::reset_internal_energy(Fab) 240 0.0008069 0.0008069 0.0008069 0.19% FabArrayBase::getCPC() 632 0.0007832 0.0007832 0.0007832 0.19% MLMG::computeMLResidual() 6 0.0007774 0.0007774 0.0007774 0.19% MLPoisson::prepareForSolve() 6 0.0007621 0.0007621 0.0007621 0.18% MLCellLinOp::prepareForSolve() 6 0.0007519 0.0007519 0.0007519 0.18% Gravity::update_max_rhs() 6 0.0007199 0.0007199 0.0007199 0.17% FabArray::mult() 22 0.0006785 0.0006785 0.0006785 0.16% FabArray::setDomainBndry() 20 0.0006697 0.0006697 0.0006697 0.16% Castro::check_for_nan() 10 0.0006587 0.0006587 0.0006587 0.16% MultiFab::contains_nan() 10 0.0006529 0.0006529 0.0006529 0.16% Castro::enforce_speed_limit() 30 0.0004438 0.0004438 0.0004438 0.11% Amr::InitAmr() 1 0.0004185 0.0004185 0.0004185 0.10% FabArrayBase::CPC::define() 244 0.0004106 0.0004106 0.0004106 0.10% FabArrayBase::getFB() 1766 0.0003224 0.0003224 0.0003224 0.08% Castro::finalize_advance() 5 0.0002944 0.0002944 0.0002944 0.07% Gravity::swapTimeLevels() 5 0.0002286 0.0002286 0.0002286 0.06% MultiFab::max() 6 0.0002027 0.0002027 0.0002027 0.05% MLMG::MLResNormInf() 6 0.0001879 0.0001879 0.0001879 0.05% Castro::buildMetrics() 1 0.0001504 0.0001504 0.0001504 0.04% MLLinOp::define() 6 0.0001306 0.0001306 0.0001306 0.03% MLLinOp::defineGrids() 6 0.0001242 0.0001242 0.0001242 0.03% MLMG::MLRhsNormInf() 6 0.0001185 0.0001185 0.0001185 0.03% Castro::create_source_corrector() 5 7.855e-05 7.855e-05 7.855e-05 0.02% FabArrayBase::FB::FB() 26 5.97e-05 5.97e-05 5.97e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.036e-05 3.036e-05 3.036e-05 0.01% Amr::writeSmallPlotFile() 1 2.669e-05 2.669e-05 2.669e-05 0.01% Castro::initMFs() 1 2.415e-05 2.415e-05 2.415e-05 0.01% Castro::swap_state_time_levels() 5 2.383e-05 2.383e-05 2.383e-05 0.01% makeSFC 30 2.243e-05 2.243e-05 2.243e-05 0.01% DistributionMapping::Distribute() 31 8.568e-06 8.568e-06 8.568e-06 0.00% Amr::initSubcycle() 1 8.543e-06 8.543e-06 8.543e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.702e-06 4.702e-06 4.702e-06 0.00% Gravity::set_mass_offset() 6 2.347e-06 2.347e-06 2.347e-06 0.00% Castro::retry_advance_ctu() 5 2.264e-06 2.264e-06 2.264e-06 0.00% Castro::FluxRegFineAdd() 5 1.422e-06 1.422e-06 1.422e-06 0.00% Castro::FluxRegCrseInit 5 1.406e-06 1.406e-06 1.406e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.047e-06 1.047e-06 1.047e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 192 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 140 MiB 692 MiB Castro::initMFs() 48 48 56 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1062 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1737 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6356 KiB 14 MiB MLMG::prepareForSolve() 361 361 3376 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 186 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 189 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6342 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3411 B 2048 KiB Gravity::solve_for_phi() 40 40 622 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 3694 B 480 KiB VisMF::Write(FabArray) 112 112 1339 B 320 KiB Castro::normalize_species() 30 30 7198 B 320 KiB amrex::average_down 469 469 1178 B 257 KiB MLMG::addInterpCorrection() 468 468 1093 B 257 KiB amrex::Dot() 592 592 3209 B 160 KiB FabArray::norminf() 501 501 3258 B 160 KiB check_for_negative_density() 5 5 272 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3274 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 267 B 9648 B MLCellLinOp::applyBC() 3892 3892 211 B 9344 B amrex::Copy() 56 56 5614 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2256 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 216 216 99 B 1280 B MLCellLinOp::defineBC() 36 36 349 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1213 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 89 KiB 8192 KiB VisMF::Write(FabArray) 120 120 165 KiB 3584 KiB VisMF::Read() 24 24 222 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3274 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 267 B 9648 B MLCellLinOp::applyBC() 1946 1946 210 B 9328 B amrex::Copy() 56 56 5614 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2486 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2256 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 506 B 1296 B amrex::average_down 37 37 209 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 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): 2541 [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.12-17-g554b1ca3b00c) finalized